Difference between revisions of "Template:Washington/Javascript"

Line 1: Line 1:
!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.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=268)}([function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){"use strict";e.exports=n(274)},function(e,t,n){e.exports=n(334)()},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){function r(e,t){if(null==e)return{};var n,r,o=i(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var i=n(290);e.exports=r},function(e,t,n){"use strict";function r(){return P||(P=(0,E.default)())}var i=n(46),o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.sheetsManager=void 0;var a=o(n(3)),s=o(n(8)),l=o(n(9)),u=o(n(10)),c=o(n(11)),d=o(n(12)),f=o(n(4)),h=o(n(1)),p=o(n(2)),m=(o(n(13)),o(n(102))),g=(o(n(103)),o(n(61)),o(n(338))),v=n(158),y=i(n(165)),b=o(n(157)),w=o(n(166)),E=o(n(97)),T=o(n(101)),_=o(n(151)),x=o(n(340)),k=o(n(167)),S=(0,v.create)((0,b.default)()),C=(0,_.default)(),O=-1e11,A=new Map;t.sheetsManager=A;var P,I={},R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var i=t.withTheme,o=void 0!==i&&i,v=t.flip,b=void 0===v?null:v,E=t.name,_=(0,f.default)(t,["withTheme","flip","name"]),P=(0,x.default)(e),R=P.themingEnabled||o||"string"===typeof E;O+=1,P.options.index=O;var N=function(e){function t(e,n){var i;(0,s.default)(this,t),i=(0,u.default)(this,(0,c.default)(t).call(this,e,n)),i.disableStylesGeneration=!1,i.jss=null,i.sheetOptions=null,i.sheetsManager=A,i.stylesCreatorSaved=null,i.theme=null,i.unsubscribeId=null,i.state={},i.jss=n[y.jss]||S;var o=n.muiThemeProviderOptions;return o&&(o.sheetsManager&&(i.sheetsManager=o.sheetsManager),i.disableStylesGeneration=o.disableStylesGeneration),i.stylesCreatorSaved=P,i.sheetOptions=(0,a.default)({generateClassName:C},n[y.sheetOptions]),i.theme=R?T.default.initial(n)||r():I,i.attach(i.theme),i.cacheClasses={value:null,lastProp:null,lastJSS:{}},i}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){var e=this;R&&(this.unsubscribeId=T.default.subscribe(this.context,function(t){var n=e.theme;e.theme=t,e.attach(e.theme),e.setState({},function(){e.detach(n)})}))}},{key:"componentDidUpdate",value:function(){this.stylesCreatorSaved,0}},{key:"componentWillUnmount",value:function(){this.detach(this.theme),null!==this.unsubscribeId&&T.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"getClasses",value:function(){var e=!1;if(!this.disableStylesGeneration){var t=this.sheetsManager.get(this.stylesCreatorSaved),r=t.get(this.theme);r.sheet.classes!==this.cacheClasses.lastJSS&&(this.cacheClasses.lastJSS=r.sheet.classes,e=!0)}return this.props.classes!==this.cacheClasses.lastProp&&(this.cacheClasses.lastProp=this.props.classes,e=!0),e&&(this.cacheClasses.value=(0,w.default)({baseClasses:this.cacheClasses.lastJSS,newClasses:this.props.classes,Component:n,noBase:this.disableStylesGeneration})),this.cacheClasses.value}},{key:"attach",value:function(e){if(!this.disableStylesGeneration){var t=this.stylesCreatorSaved,n=this.sheetsManager.get(t);n||(n=new Map,this.sheetsManager.set(t,n));var r=n.get(e);if(r||(r={refs:0,sheet:null},n.set(e,r)),0===r.refs){var i=t.create(e,E),o=E,s=this.jss.createStyleSheet(i,(0,a.default)({meta:o,classNamePrefix:o,flip:"boolean"===typeof b?b:"rtl"===e.direction,link:!1},this.sheetOptions,t.options,{name:E},_));r.sheet=s,s.attach();var l=this.context[y.sheetsRegistry];l&&l.add(s)}r.refs+=1}}},{key:"detach",value:function(e){if(!this.disableStylesGeneration){var t=this.stylesCreatorSaved,n=this.sheetsManager.get(t),r=n.get(e);if(r.refs-=1,0===r.refs){n.delete(e),this.jss.removeStyleSheet(r.sheet);var i=this.context[y.sheetsRegistry];i&&i.remove(r.sheet)}}}},{key:"render",value:function(){var e=this.props,t=(e.classes,e.innerRef),r=(0,f.default)(e,["classes","innerRef"]),i=(0,k.default)({theme:this.theme,name:E});return o&&(i.theme=this.theme),h.default.createElement(n,(0,a.default)({},i,{classes:this.getClasses(),ref:t},r))}}]),t}(h.default.Component);return N.propTypes={},N.contextTypes=(0,a.default)({muiThemeProviderOptions:p.default.object},g.default,R?T.default.contextTypes:{}),(0,m.default)(N,n),N}},N=R;t.default=N},function(e,t,n){var r,i;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=n.apply(null,r);a&&e.push(a)}else if("object"===i)for(var s in r)o.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(i=function(){return n}.apply(t,r))&&(e.exports=i))}()},function(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=n},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}e.exports=r},function(e,t,n){function r(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?o(e):t}var i=n(75),o=n(47);e.exports=r},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}var i=n(333);e.exports=r},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e,t){return Object.keys(t).every(function(n){return e.hasOwnProperty(n)&&e[n]===t[n]})}function o(e,t){for(var n=(0,u.default)(t),r=0;r<e.length;r+=1){if("function"===n&&!0===!!t(e[r],r,e))return r;if("object"===n&&i(e[r],t))return r;if(-1!==["string","number","boolean"].indexOf(n))return e.indexOf(t)}return-1}function a(e,t){var n=o(e,t);return n>-1?e[n]:void 0}function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r),t.apply(this,r)}},function(){})}var l=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=r,t.contains=i,t.findIndex=o,t.find=a,t.createChainedFunction=s;var u=l(n(75));l(n(13))},function(e,t,n){"use strict";function r(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(e){console.error(e)}}r(),e.exports=n(275)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(390))},function(e,t,n){"use strict";function r(e,t){for(var n,r,a=t.children||[],s=a.length,l=[],u=-1;++u<s;)(n=o(e,a[u],t))&&(u&&"break"===a[u-1].type&&(n.value&&(n.value=i.left(n.value)),(r=n.children&&n.children[0])&&r.value&&(r.value=i.left(r.value))),l=l.concat(n));return l}e.exports=r;var i=n(27),o=n(251)},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(345))},function(e,t,n){"use strict";function r(e){return o.test("number"===typeof e?i(e):e.charAt(0))}e.exports=r;var i=String.fromCharCode,o=/\s/},function(e,t,n){"use strict";var r=n(62);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(463)),o=r(n(466)),a=(r(n(195)),r(n(61)),function(e){var t=(0,i.default)(function(e,t){return!(0,o.default)(e,t)});return t(e)}),s=a;t.default=s},function(e,t,n){"use strict";function r(e,t){if("string"!==typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(i!==e||"undefined"===typeof i)i=e,o="";else if(o.length>=n)return o.substr(0,n);for(;n>o.length&&t>1;)1&t&&(o+=e),t>>=1,e+=e;return o+=e,o=o.substr(0,n)}var i,o="";e.exports=r},function(e,t,n){"use strict";var r=n(70);e.exports=function(e,t,n){return null!=n||"object"==typeof t&&!Array.isArray(t)||(n=t,t={}),r({},t,{type:String(e)},null!=n&&(Array.isArray(n)?{children:n}:{value:String(n)}))}},function(e,t){function n(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var i in n)r.call(n,i)&&(e[i]=n[i])}return e}e.exports=n;var r=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(343))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(393))},function(e,t){function n(e){return e.replace(/^\s*|\s*$/g,"")}t=e.exports=n,t.left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.isNumber=t.isString=t.formatMs=t.duration=t.easing=void 0;var i=r(n(4)),o=(r(n(13)),{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"});t.easing=o;var a={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};t.duration=a;var s=function(e){return"".concat(Math.round(e),"ms")};t.formatMs=s;var l=function(e){return"string"===typeof e};t.isString=l;var u=function(e){return!isNaN(parseFloat(e))};t.isNumber=u;var c={easing:o,duration:a,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?a.standard:n,l=t.easing,u=void 0===l?o.easeInOut:l,c=t.delay,d=void 0===c?0:c;(0,i.default)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map(function(e){return"".concat(e," ").concat("string"===typeof r?r:s(r)," ").concat(u," ").concat("string"===typeof d?d:s(d))}).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}};t.default=c},function(e,t,n){"use strict";function r(){return o||(o=(0,m.default)())}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=i(n(3)),s=i(n(4)),l=i(n(8)),u=i(n(9)),c=i(n(10)),d=i(n(11)),f=i(n(12)),h=i(n(1)),p=(i(n(2)),i(n(102))),m=(i(n(61)),i(n(97))),g=i(n(101)),v=function(){return function(e){var t=function(t){function n(e,t){var i;return(0,l.default)(this,n),i=(0,c.default)(this,(0,d.default)(n).call(this)),i.unsubscribeId=null,i.state={},i.state={theme:g.default.initial(t)||r()},i}return(0,f.default)(n,t),(0,u.default)(n,[{key:"componentDidMount",value:function(){var e=this;this.unsubscribeId=g.default.subscribe(this.context,function(t){e.setState({theme:t})})}},{key:"componentWillUnmount",value:function(){null!==this.unsubscribeId&&g.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"render",value:function(){var t=this.props,n=t.innerRef,r=(0,s.default)(t,["innerRef"]);return h.default.createElement(e,(0,a.default)({theme:this.state.theme,ref:n},r))}}]),n}(h.default.Component);return t.propTypes={},t.contextTypes=g.default.contextTypes,(0,p.default)(t,e),t}},y=v;t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r;t.default=i},function(e,t,n){"use strict";function r(e){return e&&"object"===typeof e&&"default"in e?e.default:e}function i(e,t,n){return Object.defineProperty(e,t,n)}function o(e){return y({},E,e)}function a(e,t,n){var r=[e,t];return r.push(w?n:n.capture),r}function s(e,t,n,r){e.addEventListener.apply(e,a(t,n,r))}function l(e,t,n,r){e.removeEventListener.apply(e,a(t,n,r))}function u(e,t){var n=(e.children,e.target,v(e,["children","target"]));Object.keys(n).forEach(function(e){if("on"===e.substring(0,2)){var r=n[e],i=g(r),a="object"===i,s="function"===i;if(a||s){var l="capture"===e.substr(-7).toLowerCase(),u=e.substring(2).toLowerCase();u=l?u.substring(0,u.length-7):u,a?t(u,r.handler,r.options):t(u,r,o({capture:l}))}}})}function c(e,t){return{handler:e,options:o(t)}}Object.defineProperty(t,"__esModule",{value:!0});var d=r(n(8)),f=r(n(9)),h=r(n(10)),p=r(n(11)),m=r(n(12)),g=r(n(75)),v=r(n(4)),y=r(n(3)),b=r(n(1)),w=(r(n(2)),r(n(13)),function(){var e=null;return function(){if(null!==e)return e;var t=!1;try{window.addEventListener("test",null,i({},"passive",{get:function(){t=!0}}))}catch(e){}return e=t,t}()}()),E={capture:!1,passive:!1},T=function(e){function t(){return d(this,t),h(this,p(t).apply(this,arguments))}return m(t,e),f(t,[{key:"componentDidMount",value:function(){this.applyListeners(s)}},{key:"componentDidUpdate",value:function(e){this.applyListeners(l,e),this.applyListeners(s)}},{key:"componentWillUnmount",value:function(){this.applyListeners(l)}},{key:"applyListeners",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props,n=t.target;if(n){var r=n;"string"===typeof n&&(r=window[n]),u(t,e.bind(null,r))}}},{key:"render",value:function(){return this.props.children||null}}]),t}(b.PureComponent);T.propTypes={},t.withOptions=c,t.default=T},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getColumnProps=t.Col=t.getRowProps=t.Row=t.Grid=void 0;var i=n(617);Object.defineProperty(t,"getRowProps",{enumerable:!0,get:function(){return i.getRowProps}});var o=n(619);Object.defineProperty(t,"getColumnProps",{enumerable:!0,get:function(){return o.getColumnProps}});var a=n(620),s=r(a),l=r(i),u=r(o);t.Grid=s.default,t.Row=l.default,t.Col=u.default},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return e<t?t:e>n?n:e}function i(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length/3,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(function(e){return e+e})),n?"rgb(".concat(n.map(function(e){return parseInt(e,16)}).join(", "),")"):""}function o(e){function t(e){var t=e.toString(16);return 1===t.length?"0".concat(t):t}if(0===e.indexOf("#"))return e;var n=a(e),r=n.values;return r=r.map(function(e){return t(e)}),"#".concat(r.join(""))}function a(e){if("#"===e.charAt(0))return a(i(e));var t=e.indexOf("("),n=e.substring(0,t),r=e.substring(t+1,e.length-1).split(",");return r=r.map(function(e){return parseFloat(e)}),{type:n,values:r}}function s(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")&&(n=n.map(function(e,t){return t<3?parseInt(e,10):e})),-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(e.type,"(").concat(n.join(", "),")")}function l(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e){var t=a(e);if(-1!==t.type.indexOf("rgb")){var n=t.values.map(function(e){return e/=255,e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)});return Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}return t.values[2]/100}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return u(e)>.5?f(e,t):h(e,t)}function d(e,t){return e?(e=a(e),t=r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,s(e)):e}function f(e,t){if(!e)return e;if(e=a(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return s(e)}function h(e,t){if(!e)return e;if(e=a(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return s(e)}var p=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.convertHexToRGB=i,t.rgbToHex=o,t.decomposeColor=a,t.recomposeColor=s,t.getContrastRatio=l,t.getLuminance=u,t.emphasize=c,t.fade=d,t.darken=f,t.lighten=h;p(n(13))},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(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)}function l(){}t.__esModule=!0,t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var u=n(65),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(u),d=n(1),f=r(d),h=n(15),p=r(h),m=n(181),g=(n(182),t.UNMOUNTED="unmounted"),v=t.EXITED="exited",y=t.ENTERING="entering",b=t.ENTERED="entered",w=t.EXITING="exiting",E=function(e){function t(n,r){o(this,t);var i=a(this,e.call(this,n,r)),s=r.transitionGroup,l=s&&!s.isMounting?n.enter:n.appear,u=void 0;return i.appearStatus=null,n.in?l?(u=v,i.appearStatus=y):u=b:u=n.unmountOnExit||n.mountOnEnter?g:v,i.state={status:u},i.nextCallback=null,i}return s(t,e),t.prototype.getChildContext=function(){return{transitionGroup:null}},t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===g?{status:v}:null},t.prototype.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.prototype.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==y&&n!==b&&(t=y):n!==y&&n!==b||(t=w)}this.updateStatus(!1,t)},t.prototype.componentWillUnmount=function(){this.cancelNextCallback()},t.prototype.getTimeouts=function(){var e=this.props.timeout,t=void 0,n=void 0,r=void 0;return t=n=r=e,null!=e&&"number"!==typeof e&&(t=e.exit,n=e.enter,r=e.appear),{exit:t,enter:n,appear:r}},t.prototype.updateStatus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];if(null!==t){this.cancelNextCallback();var n=p.default.findDOMNode(this);t===y?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===v&&this.setState({status:g})},t.prototype.performEnter=function(e,t){var n=this,r=this.props.enter,i=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,o=this.getTimeouts();if(!t&&!r)return void this.safeSetState({status:b},function(){n.props.onEntered(e)});this.props.onEnter(e,i),this.safeSetState({status:y},function(){n.props.onEntering(e,i),n.onTransitionEnd(e,o.enter,function(){n.safeSetState({status:b},function(){n.props.onEntered(e,i)})})})},t.prototype.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();if(!n)return void this.safeSetState({status:v},function(){t.props.onExited(e)});this.props.onExit(e),this.safeSetState({status:w},function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,function(){t.safeSetState({status:v},function(){t.props.onExited(e)})})})},t.prototype.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},t.prototype.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},t.prototype.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},t.prototype.onTransitionEnd=function(e,t,n){this.setNextCallback(n),e?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},t.prototype.render=function(){var e=this.state.status;if(e===g)return null;var t=this.props,n=t.children,r=i(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"===typeof n)return n(e,r);var o=f.default.Children.only(n);return f.default.cloneElement(o,r)},t}(f.default.Component);E.contextTypes={transitionGroup:c.object},E.childContextTypes={transitionGroup:function(){}},E.propTypes={},E.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:l,onEntering:l,onEntered:l,onExit:l,onExiting:l,onExited:l},E.UNMOUNTED=0,E.EXITED=1,E.ENTERING=2,E.ENTERED=3,E.EXITING=4,t.default=(0,m.polyfill)(E)},function(e,t,n){"use strict";function r(e){return e}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.specialProperty=void 0;var o=(i(n(7)),i(n(3)),"exact-prop: \u200b");t.specialProperty=o;var a=r;t.default=a},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){function n(e,t,n){function r(){var u=Date.now()-s;u<t&&u>=0?i=setTimeout(r,t-u):(i=null,n||(l=e.apply(a,o),a=o=null))}var i,o,a,s,l;null==t&&(t=100);var u=function(){a=this,o=arguments,s=Date.now();var u=n&&!i;return i||(i=setTimeout(r,t)),u&&(l=e.apply(a,o),a=o=null),l};return u.clear=function(){i&&(clearTimeout(i),i=null)},u.flush=function(){i&&(l=e.apply(a,o),a=o=null,clearTimeout(i),i=null)},u}n.debounce=n,e.exports=n},function(e,t,n){"use strict";function r(e,t){return l.default.cloneElement(e,{className:(0,u.default)(e.props.className,t)})}function i(e,t){return l.default.Children.map(e,function(e){return l.default.isValidElement(e)&&r(e,t)})}function o(e,t){return l.default.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function a(e,t){return-1!==t.indexOf(e.muiName)}var s=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.cloneElementWithClassName=r,t.cloneChildrenWithClassName=i,t.isMuiElement=o,t.isMuiComponent=a;var l=s(n(1)),u=s(n(6))},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){var n=t.distance,r=t.left,i=t.right,o=t.up,a=t.down,l=t.top,u=t.bottom,c=t.big,f=t.mirror,h=t.opposite,p=(n?n.toString():0)+((r?1:0)|(i?2:0)|(l||a?4:0)|(u||o?8:0)|(f?16:0)|(h?32:0)|(e?64:0)|(c?128:0));if(d.hasOwnProperty(p))return d[p];var m=r||i||o||a||l||u,g=void 0,v=void 0;if(m){if(!f!=!(e&&h)){var y=[i,r,u,l,a,o];r=y[0],i=y[1],l=y[2],u=y[3],o=y[4],a=y[5]}var b=n||(c?"2000px":"100%");g=r?"-"+b:i?b:"0",v=a||l?"-"+b:o||u?b:"0"}return d[p]=(0,s.animation)((e?"to":"from")+" {opacity: 0;"+(m?" transform: translate3d("+g+", "+v+", 0);":"")+"}\n    "+(e?"from":"to")+" {opacity: 1;transform: none;} "),d[p]}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.defaults,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.children,o=(e.out,e.forever),a=e.timeout,l=e.duration,c=void 0===l?s.defaults.duration:l,d=e.delay,f=void 0===d?s.defaults.delay:d,h=e.count,p=void 0===h?s.defaults.count:h,m=r(e,["children","out","forever","timeout","duration","delay","count"]),g={make:i,duration:void 0===a?c:a,delay:f,forever:o,count:p,style:{animationFillMode:"both"},reverse:m.left};return t?(0,u.default)(m,g,g,n):g}Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),s=n(135),l=n(225),u=function(e){return e&&e.__esModule?e:{default:e}}(l),c={out:a.bool,left:a.bool,right:a.bool,top:a.bool,bottom:a.bool,big:a.bool,mirror:a.bool,opposite:a.bool,duration:a.number,timeout:a.number,distance:a.string,delay:a.number,count:a.number,forever:a.bool},d={};o.propTypes=c,t.default=o,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={};r.container={background:"rgba(0, 0, 0, 0.8)",gutter:{horizontal:10,vertical:10},zIndex:2001},r.header={height:40},r.close={fill:"white"},r.footer={color:"white",count:{color:"rgba(255, 255, 255, 0.75)",fontSize:"0.85em"},height:40,gutter:{horizontal:0,vertical:5}},r.thumbnail={activeBorderColor:"white",size:50,gutter:2},r.arrow={background:"none",fill:"white",height:120},t.default=r},function(e,t,n){e.exports=n(821)},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){m&&h&&(m=!1,h.length?p=h.concat(p):g=-1,p.length&&s())}function s(){if(!m){var e=i(a);m=!0;for(var t=p.length;t;){for(h=p,p=[];++g<t;)h&&h[g].run();g=-1,t=p.length}h=null,m=!1,o(e)}}function l(e,t){this.fun=e,this.array=t}function u(){}var c,d,f=e.exports={};!function(){try{c="function"===typeof setTimeout?setTimeout:n}catch(e){c=n}try{d="function"===typeof clearTimeout?clearTimeout:r}catch(e){d=r}}();var h,p=[],m=!1,g=-1;f.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new l(e,t)),1!==p.length||m||i(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.prependListener=u,f.prependOnceListener=u,f.listeners=function(e){return[]},f.binding=function(e){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(e){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},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},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(44),u=r(l),c=n(98),d=r(c),f=n(72),h=r(f),p=function(){function e(t,n,r){i(this,e),this.type="style",this.isProcessed=!1;var o=r.sheet,a=r.Renderer,s=r.selector;this.key=t,this.options=r,this.style=n,s&&(this.selectorText=s),this.renderer=o?o.renderer:new a}return s(e,[{key:"prop",value:function(e,t){if(void 0===t)return this.style[e];if(this.style[e]===t)return this;t=this.options.jss.plugins.onChangeValue(t,e,this);var n=null==t||!1===t,r=e in this.style;if(n&&!r)return this;var i=n&&r;if(i?delete this.style[e]:this.style[e]=t,this.renderable)return i?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,t),this;var o=this.options.sheet;return o&&o.attached&&(0,u.default)(!1,'Rule is not linked. Missing sheet option "link: true".'),this}},{key:"applyTo",value:function(e){var t=this.toJSON();for(var n in t)this.renderer.setProperty(e,n,t[n]);return this}},{key:"toJSON",value:function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==("undefined"===typeof n?"undefined":a(n))?e[t]=n:Array.isArray(n)&&(e[t]=(0,h.default)(n))}return e}},{key:"toString",value:function(e){var t=this.options.sheet,n=!!t&&t.options.link,r=n?o({},e,{allowEmpty:!0}):e;return(0,d.default)(this.selector,this.style,r)}},{key:"selector",set:function(e){if(e!==this.selectorText&&(this.selectorText=e,this.renderable)){if(!this.renderer.setSelector(this.renderable,e)&&this.renderable){var t=this.renderer.replaceRule(this.renderable,this);t&&(this.renderable=t)}}},get:function(){return this.selectorText}}]),e}();t.default=p},function(e,t){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}e.exports=n},function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n},function(e,t,n){var r=n(49),i=n(79);e.exports=n(51)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(64),i=n(171),o=n(110),a=Object.defineProperty;t.f=n(51)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},function(e,t,n){e.exports=!n(78)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(358),i=n(108);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(115)("wks"),i=n(80),o=n(34).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(392))},function(e,t){function n(e){if(e&&"object"===typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"===typeof e)return a[e];var n=String(e),o=r[n.toLowerCase()];if(o)return o;var o=i[n.toLowerCase()];return o||(1===n.length?n.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"===typeof e){var n=e.which||e.keyCode||e.charCode;if(null===n||void 0===n)return!1;if("string"===typeof t){var o=r[t.toLowerCase()];if(o)return o===n;var o=i[t.toLowerCase()];if(o)return o===n}else if("number"===typeof t)return t===n;return!1}},t=e.exports=n;var r=t.code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=t.aliases={windows:91,"\u21e7":16,"\u2325":18,"\u2303":17,"\u2318":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(o=97;o<123;o++)r[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)r[o-48]=o;for(o=1;o<13;o++)r["f"+o]=o+111;for(o=0;o<10;o++)r["numpad "+o]=o+96;var a=t.names=t.title={};for(o in r)a[r[o]]=o;for(var s in i)r[s]=i[s]},function(e,t,n){"use strict";function r(e,t){var n=e.timeout,r=e.style,i=void 0===r?{}:r;return{duration:i.transitionDuration||"number"===typeof n?n:n[t.mode],delay:i.transitionDelay}}Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitionProps=r,t.reflow=void 0;var i=function(e){return e.scrollTop};t.reflow=i},function(e,t,n){"use strict";function r(e,t){var n=[],r=-1,o=e.length;for(t&&n.push(i("text","\n"));++r<o;)r&&n.push(i("text","\n")),n.push(e[r]);return t&&0!==e.length&&n.push(i("text","\n")),n}e.exports=r;var i=n(23)},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=o({},e);return Object.keys(t).forEach(function(o){"object"===i(t[o])&&t[o]&&e[o]?n[o]=r(e[o],t[o]):n[o]=t[o]}),n}Object.defineProperty(t,"__esModule",{value:!0});var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=r},function(e,t,n){"use strict";function r(e){function t(e){return"@media (min-width:".concat("number"===typeof c[e]?c[e]:e).concat(f,")")}function n(e){var n=s.indexOf(e)+1,r=c[s[n]];return n===s.length?t("xs"):"@media (max-width:".concat(("number"===typeof r&&n>0?r:e)-p/100).concat(f,")")}function r(e,n){var r=s.indexOf(n)+1;return r===s.length?t(e):"@media (min-width:".concat(c[e]).concat(f,") and ")+"(max-width:".concat(c[s[r]]-p/100).concat(f,")")}function i(e){return r(e,e)}function l(e){return c[e]}var u=e.values,c=void 0===u?{xs:0,sm:600,md:960,lg:1280,xl:1920}:u,d=e.unit,f=void 0===d?"px":d,h=e.step,p=void 0===h?5:h,m=(0,a.default)(e,["values","unit","step"]);return(0,o.default)({keys:s,values:c,up:t,down:n,between:r,only:i,width:l},m)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,t.keys=void 0;var o=i(n(3)),a=i(n(4)),s=["xs","sm","md","lg","xl"];t.keys=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(73),l=r(s),u=n(161),c=r(u),d=n(45),f=r(d),h=n(307),p=r(h),m=function(){function e(t){var n=this;i(this,e),this.map={},this.raw={},this.index=[],this.update=function(e,t){var r=n.options,i=r.jss.plugins,o=r.sheet;if("string"===typeof e)i.onUpdate(t,n.get(e),o);else for(var a=0;a<n.index.length;a++)i.onUpdate(e,n.index[a],o)},this.options=t,this.classes=t.classes}return a(e,[{key:"add",value:function(e,t,n){var r=this.options,i=r.parent,a=r.sheet,s=r.jss,u=r.Renderer,c=r.generateClassName;n=o({classes:this.classes,parent:i,sheet:a,jss:s,Renderer:u,generateClassName:c},n),!n.selector&&this.classes[e]&&(n.selector="."+(0,p.default)(this.classes[e])),this.raw[e]=t;var d=(0,l.default)(e,t,n),h=void 0;!n.selector&&d instanceof f.default&&(h=c(d,a),d.selector="."+(0,p.default)(h)),this.register(d,h);var m=void 0===n.index?this.index.length:n.index;return this.index.splice(m,0,d),d}},{key:"get",value:function(e){return this.map[e]}},{key:"remove",value:function(e){this.unregister(e),this.index.splice(this.indexOf(e),1)}},{key:"indexOf",value:function(e){return this.index.indexOf(e)}},{key:"process",value:function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)}},{key:"register",value:function(e,t){this.map[e.key]=e,e instanceof f.default&&(this.map[e.selector]=e,t&&(this.classes[e.key]=t))}},{key:"unregister",value:function(e){delete this.map[e.key],e instanceof f.default&&(delete this.map[e.selector],delete this.classes[e.key])}},{key:"link",value:function(e){for(var t=this.options.sheet.renderer.getUnescapedKeysMap(this.index),n=0;n<e.length;n++){var r=e[n],i=this.options.sheet.renderer.getKey(r);t[i]&&(i=t[i]);var o=this.map[i];o&&(0,c.default)(o,r)}}},{key:"toString",value:function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var o=this.index[i],a=o.toString(e);(a||r)&&(t&&(t+="\n"),t+=a)}return t}}]),e}();t.default=m},function(e,t,n){"use strict";var r=n(62);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(103)),o=function(e,t){return t+"("+(0,i.default)(e)+")"},a=o;t.default=a},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t){var n=e.exports={version:"2.5.5"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(50);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=n(399)()},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(132))},function(e,t,n){"use strict";(function(e){function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e){return e.split(";").map(function(e){return e.trim()}).filter(function(e){return e}).reduce(function(e,t){var n=t.indexOf(":"),i=v.camelize(t.slice(0,n)),o=t.slice(n+1).trim();return i.startsWith("webkit")?e[r(i)]=o:e[i]=o,e},{})}function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(t.children||[]).map(o.bind(null,e)),a=Object.keys(t.attributes||{}).reduce(function(e,n){var r=t.attributes[n];switch(n){case"class":e.attrs.className=r,delete t.attributes.class;break;case"style":e.attrs.style=i(r);break;default:0===n.indexOf("aria-")||0===n.indexOf("data-")?e.attrs[n.toLowerCase()]=r:e.attrs[v.camelize(n)]=r}return e},{attrs:{}}),s=n.style,l=void 0===s?{}:s,u=E(n,["style"]);return a.attrs.style=w({},a.attrs.style,l),e.apply(void 0,[t.tag,w({},a.attrs,u)].concat(T(r)))}function a(){if(!_&&console&&"function"===typeof console.error){var e;(e=console).error.apply(e,arguments)}}function s(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?b({},e,t):{}}function l(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-inverse":e.inverse,"fa-border":e.border,"fa-li":e.listItem,"fa-flip-horizontal":"horizontal"===e.flip||"both"===e.flip,"fa-flip-vertical":"vertical"===e.flip||"both"===e.flip},b(t,"fa-"+e.size,null!==e.size),b(t,"fa-rotate-"+e.rotation,null!==e.rotation),b(t,"fa-pull-"+e.pull,null!==e.pull),t);return Object.keys(n).map(function(e){return n[e]?e:null}).filter(function(e){return e})}function u(e){return null===e?null:"object"===("undefined"===typeof e?"undefined":y(e))&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"===typeof e?{prefix:"fas",iconName:e}:void 0}function c(e){var t=e.icon,n=e.mask,r=e.symbol,i=e.className,o=u(t),f=s("classes",[].concat(T(l(e)),T(i.split(" ")))),h=s("transform","string"===typeof e.transform?d.b.transform(e.transform):e.transform),p=s("mask",u(n)),m=Object(d.a)(o,w({},f,h,p,{symbol:r}));if(!m)return a("Could not find icon",o),null;var g=m.abstract,v={};return Object.keys(e).forEach(function(t){c.defaultProps.hasOwnProperty(t)||(v[t]=e[t])}),x(g[0],v)}n.d(t,"a",function(){return c});var d=n(625),f=n(2),h=n.n(f),p=n(1),m=n.n(p),g="undefined"!==typeof window?window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:{},v=function(e,t){return t={exports:{}},e(t,t.exports),t.exports}(function(e){!function(t){var n=function(e,t,r){if(!u(t)||d(t)||f(t)||h(t)||l(t))return t;var i,o=0,a=0;if(c(t))for(i=[],a=t.length;o<a;o++)i.push(n(e,t[o],r));else{i={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(i[e(s,r)]=n(e,t[s],r))}return i},r=function(e,t){t=t||{};var n=t.separator||"_",r=t.split||/(?=[A-Z])/;return e.split(r).join(n)},i=function(e){return p(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))},o=function(e){var t=i(e);return t.substr(0,1).toUpperCase()+t.substr(1)},a=function(e,t){return r(e,t).toLowerCase()},s=Object.prototype.toString,l=function(e){return"function"===typeof e},u=function(e){return e===Object(e)},c=function(e){return"[object Array]"==s.call(e)},d=function(e){return"[object Date]"==s.call(e)},f=function(e){return"[object RegExp]"==s.call(e)},h=function(e){return"[object Boolean]"==s.call(e)},p=function(e){return(e-=0)===e},m=function(e,t){var n=t&&"process"in t?t.process:t;return"function"!==typeof n?e:function(t,r){return n(t,e,r)}},g={camelize:i,decamelize:a,pascalize:o,depascalize:a,camelizeKeys:function(e,t){return n(m(i,t),e)},decamelizeKeys:function(e,t){return n(m(a,t),e,t)},pascalizeKeys:function(e,t){return n(m(o,t),e)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=g:t.humps=g}(g)}),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},b=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},T=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},_=!1;try{_=!0}catch(e){}c.displayName="FontAwesomeIcon",c.propTypes={border:h.a.bool,className:h.a.string,mask:h.a.oneOfType([h.a.object,h.a.array,h.a.string]),fixedWidth:h.a.bool,inverse:h.a.bool,flip:h.a.oneOf(["horizontal","vertical","both"]),icon:h.a.oneOfType([h.a.object,h.a.array,h.a.string]),listItem:h.a.bool,pull:h.a.oneOf(["right","left"]),pulse:h.a.bool,rotation:h.a.oneOf([90,180,270]),size:h.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:h.a.bool,symbol:h.a.oneOfType([h.a.bool,h.a.string]),transform:h.a.oneOfType([h.a.string,h.a.object])},c.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,transform:null};var x=o.bind(null,m.a.createElement)}).call(t,n(18))},function(e,t,n){"use strict";function r(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){function l(e,r,o){var l;return r=r||(o?0:null),t&&e.type!==t&&!i(t,e,r,o||null)||(l=n(e,r,o||null)),l===s?l:e.children&&l!==a&&u(e.children,e)===s?s:l}function u(e,t){for(var n,i,a=r?-1:1,u=(r?e.length:-1)+a;u>-1&&u<e.length;){if(n=e[u],(i=n&&l(n,u,t))===s)return i;u="number"===typeof i?i:u+a}return o}"function"===typeof t&&"function"!==typeof n&&(r=n,n=t,t=null),l(e)}e.exports=r;var i=n(238),o=!0,a="skip",s=!1;r.CONTINUE=o,r.SKIP=a,r.EXIT=s},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=r(e),u=1;u<arguments.length;u++){n=Object(arguments[u]);for(var c in n)o.call(n,c)&&(l[c]=n[c]);if(i){s=i(n);for(var d=0;d<s.length;d++)a.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t,n){"use strict";function r(e){return!!e&&"object"===typeof e}function i(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||o(e)}function o(e){return e.$$typeof===h}function a(e){return Array.isArray(e)?[]:{}}function s(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c(a(e),e,t):e}function l(e,t,n){return e.concat(t).map(function(e){return s(e,n)})}function u(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){r[t]=s(e[t],n)}),Object.keys(t).forEach(function(i){n.isMergeableObject(t[i])&&e[i]?r[i]=c(e[i],t[i],n):r[i]=s(t[i],n)}),r}function c(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||l,n.isMergeableObject=n.isMergeableObject||d;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):u(e,t,n):s(t,n)}Object.defineProperty(t,"__esModule",{value:!0});var d=function(e){return r(e)&&!i(e)},f="function"===typeof Symbol&&Symbol.for,h=f?Symbol.for("react.element"):60103;c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return c(e,n,t)},{})};var p=c;t.default=p},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=i(e[r]," ");else n=i(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unnamed",t=arguments[1],n=arguments[2],r=n.jss,i=(0,c.default)(t),o=r.plugins.onCreateRule(e,i,n);return o||("@"===e[0]&&(0,a.default)(!1,"[JSS] Unknown at-rule %s",e),new l.default(e,i,n))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(44),a=r(o),s=n(45),l=r(s),u=n(303),c=r(u)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"isBrowser",function(){return i});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},i="object"===("undefined"===typeof window?"undefined":r(window))&&"object"===("undefined"===typeof document?"undefined":r(document))&&9===document.nodeType;t.default=i},function(e,t){function n(e){return(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})(e)}function r(t){return"function"===typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){var r=n(34),i=n(63),o=n(170),a=n(48),s=n(37),l=function(e,t,n){var u,c,d,f=e&l.F,h=e&l.G,p=e&l.S,m=e&l.P,g=e&l.B,v=e&l.W,y=h?i:i[t]||(i[t]={}),b=y.prototype,w=h?r:p?r[t]:(r[t]||{}).prototype;h&&(n=t);for(u in n)(c=!f&&w&&void 0!==w[u])&&s(y,u)||(d=c?w[u]:n[u],y[u]=h&&"function"!=typeof w[u]?n[u]:g&&c?o(d,r):v&&w[u]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((y.virtual||(y.virtual={}))[u]=d,e&l.R&&b&&!b[u]&&a(b,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window,n=(0,o.default)(e);return n.defaultView||n.parentView||t}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(30)),a=r;t.default=a},function(e,t,n){function r(e){return i(e)||o(e)||a()}var i=n(396),o=n(397),a=n(398);e.exports=r},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"ModalManager",{enumerable:!0,get:function(){return o.default}});var i=r(n(405)),o=r(n(188))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(461))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(475))},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return o}),n.d(t,"d",function(){return a}),n.d(t,"e",function(){return s});var r={prefix:"fas",iconName:"arrow-alt-circle-right",icon:[512,512,[],"f35a","M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zM140 300h116v70.9c0 10.7 13 16.1 20.5 8.5l114.3-114.9c4.7-4.7 4.7-12.2 0-16.9l-114.3-115c-7.6-7.6-20.5-2.2-20.5 8.5V212H140c-6.6 0-12 5.4-12 12v64c0 6.6 5.4 12 12 12z"]},i={prefix:"fas",iconName:"arrow-circle-left",icon:[512,512,[],"f0a8","M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zm28.9-143.6L209.4 288H392c13.3 0 24-10.7 24-24v-16c0-13.3-10.7-24-24-24H209.4l75.5-72.4c9.7-9.3 9.9-24.8.4-34.3l-11-10.9c-9.4-9.4-24.6-9.4-33.9 0L107.7 239c-9.4 9.4-9.4 24.6 0 33.9l132.7 132.7c9.4 9.4 24.6 9.4 33.9 0l11-10.9c9.5-9.5 9.3-25-.4-34.3z"]},o={prefix:"fas",iconName:"arrow-circle-right",icon:[512,512,[],"f0a9","M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm-28.9 143.6l75.5 72.4H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h182.6l-75.5 72.4c-9.7 9.3-9.9 24.8-.4 34.3l11 10.9c9.4 9.4 24.6 9.4 33.9 0L404.3 273c9.4-9.4 9.4-24.6 0-33.9L271.6 106.3c-9.4-9.4-24.6-9.4-33.9 0l-11 10.9c-9.5 9.6-9.3 25.1.4 34.4z"]},a={prefix:"fas",iconName:"circle",icon:[512,512,[],"f111","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"]},s={prefix:"fas",iconName:"envelope",icon:[512,512,[],"f0e0","M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"]}},function(e,t,n){"use strict";var r=n(646),i=n(658),o=n(705);e.exports=r().use(i).use(o).freeze()},function(e,t,n){"use strict";function r(e,t){var n,r,o={};t||(t={});for(r in g)n=t[r],o[r]=null===n||void 0===n?g[r]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),i(e,o)}function i(e,t){function n(){return{line:ae,column:oe,offset:re+(ee.offset||0)}}function r(e,t){var r=n();r.column+=t,r.offset+=t,X.call(J,A[e],r,e)}function i(t){return e.charAt(t)}function c(){se&&(le.push(se),Y&&Y.call(Q,se,{start:U,end:n()}),se="")}var d,g,P,I,R,N,M,D,L,j,W,B,F,z,U,H,G,q,V=t.additional,K=t.nonTerminated,Y=t.text,Z=t.reference,X=t.warning,Q=t.textContext,$=t.referenceContext,J=t.warningContext,ee=t.position,te=t.indent||[],ne=e.length,re=0,ie=-1,oe=ee.column||1,ae=ee.line||1,se="",le=[];for(U=n(),M=X?r:m,re--,ne++;++re<ne;)if("\n"===I&&(oe=te[ie]||1),"&"!==(I=i(re)))"\n"===I&&(ae++,ie++,oe=0),I?(se+=I,oe++):c();else{if("\t"===(N=i(re+1))||"\n"===N||"\f"===N||" "===N||"<"===N||"&"===N||""===N||V&&N===V){se+=I,oe++;continue}for(B=re+1,W=B,q=B,"#"!==N?F=v:(q=++W,N=i(q),"x"===N||"X"===N?(F=y,q=++W):F=b),d="",j="",P="",z=E[F],q--;++q<ne&&(N=i(q),z(N));)P+=N,F===v&&h.call(l,P)&&(d=P,j=l[P]);g=";"===i(q),g&&(q++,F===v&&h.call(s,P)&&(d=P,j=s[P])),G=1+q-B,(g||K)&&(P?F===v?(g&&!j?M(S,1):(d!==P&&(q=W+d.length,G=1+q-W,g=!1),g||(D=d?T:x,t.attribute?(N=i(q),"="===N?(M(D,G),j=null):f(N)?j=null:M(D,G)):M(D,G))),R=j):(g||M(_,G),R=parseInt(P,w[F]),o(R)?(M(O,G),R="\ufffd"):R in u?(M(C,G),R=u[R]):(L="",a(R)&&M(C,G),R>65535&&(R-=65536,L+=p(R>>>10|55296),R=56320|1023&R),R=L+p(R))):F!==v&&M(k,G)),R?(c(),U=n(),re=q-1,oe+=q-B+1,le.push(R),H=n(),H.offset++,Z&&Z.call($,R,{start:U,end:H},e.slice(B-1,q)),U=H):(P=e.slice(B-1,q),se+=P,oe+=P.length,re=q-1)}return le.join("")}function o(e){return e>=55296&&e<=57343||e>1114111}function a(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535===(65535&e)||65534===(65535&e)}var s=n(664),l=n(232),u=n(665),c=n(68),d=n(233),f=n(234);e.exports=r;var h={}.hasOwnProperty,p=String.fromCharCode,m=Function.prototype,g={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},v="named",y="hexadecimal",b="decimal",w={};w[y]=16,w[b]=10;var E={};E[v]=f,E[b]=c,E[y]=d;var T=1,_=2,x=3,k=4,S=5,C=6,O=7,A={};A[T]="Named character references must be terminated by a semicolon",A[_]="Numeric character references must be terminated by a semicolon",A[x]="Named character references cannot be empty",A[k]="Numeric character references cannot be empty",A[S]="Named character references must be known",A[C]="Numeric character references cannot be disallowed",A[O]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";function r(e){function t(e,t,n){var r=u.call(m,e)?m[e]:e;return n&&-1!==c.indexOf(r)&&(n=n.filter(function(e){return"\n"!==e})),d(r,t,n)}function n(e){var n={type:"element",tagName:"div",properties:{},children:o(e,p).children};return f&&(n=a(n,h)),n=l(n),s(t,n,r.prefix)}var r=e||{},d=r.createElement||i,f=!1!==r.sanitize,h=f&&"boolean"!==typeof r.sanitize?r.sanitize:null,p=r.toHast||{},m=r.remarkReactComponents||{};this.Compiler=n}e.exports=r;var i,o=n(751),a=n(778),s=n(781),l=n(791);try{i=n(1).createElement}catch(e){}var u={}.hasOwnProperty,c=["table","thead","tbody","tfoot","tr"]},function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)r[e.charCodeAt(t)]=e[t];return r}function i(e,t,n){var o,a,s,l,u,c="";for("string"!==typeof t&&(n=t,t=i.defaultChars),"undefined"===typeof n&&(n=!0),u=r(t),o=0,a=e.length;o<a;o++)if(s=e.charCodeAt(o),n&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))c+=e.slice(o,o+3),o+=2;else if(s<128)c+=u[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){c+=encodeURIComponent(e[o]+e[o+1]),o++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[o]);return c}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},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}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length<=2||void 0===arguments[2]?function(e,t){return e+t}:arguments[2];return r({},e,["-webkit-","-moz-",""].map(function(e){return n(e,t)}))},e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n,r,o,a,s,l){if(i(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,s,l],d=0;u=new Error(t.replace(/%s/g,function(){return c[d++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}var i=function(e){};e.exports=r},function(e,t,n){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function i(e,t){if(r(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(!o.call(t,n[a])||!r(e[n[a]],t[n[a]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;e.exports=i},function(e,t,n){"use strict";function r(){function e(e){f(p[e],"delete"),delete p[e]}function t(e){return e=e||s,a(p,e)||i("no-app",{name:e}),p[e]}function n(e,t){if(void 0===t&&(t={}),"object"!==typeof t||null===t){t={name:t}}var n=t;void 0===n.name&&(n.name=s);var r=n.name;"string"===typeof r&&r||i("bad-app-name",{name:r+""}),a(p,r)&&i("duplicate-app",{name:r});var o=new u(e,n,v);return p[r]=o,f(o,"create"),o}function l(){return Object.keys(p).map(function(e){return p[e]})}function c(e,n,r,a,s){m[e]&&i("duplicate-service",{name:e}),m[e]=n,a&&(g[e]=a,l().forEach(function(e){a("create",e)}));var c=function(n){return void 0===n&&(n=t()),"function"!==typeof n[e]&&i("invalid-app-argument",{name:e}),n[e]()};return void 0!==r&&o.deepExtend(c,r),v[e]=c,u.prototype[e]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return this._getService.bind(this,e).apply(this,s?t:[])},c}function d(e){o.deepExtend(v,e)}function f(e,t){Object.keys(m).forEach(function(n){var r=h(e,n);null!==r&&g[r]&&g[r](t,e)})}function h(e,t){if("serverAuth"===t)return null;var n=t;e.options;return n}var p={},m={},g={},v={__esModule:!0,initializeApp:n,app:t,apps:null,Promise:Promise,SDK_VERSION:"5.0.4",INTERNAL:{registerService:c,createFirebaseNamespace:r,extendNamespace:d,createSubscribe:o.createSubscribe,ErrorFactory:o.ErrorFactory,removeApp:e,factories:m,useAsService:h,Promise:Promise,deepExtend:o.deepExtend}};return o.patchProperty(v,"default",v),Object.defineProperty(v,"apps",{get:l}),o.patchProperty(t,"App",u),v}function i(e,t){throw d.create(e,t)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(149),a=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s="[DEFAULT]",l=[],u=function(){function e(e,t,n){this.firebase_=n,this.isDeleted_=!1,this.services_={},this.name_=t.name,this._automaticDataCollectionEnabled=t.automaticDataCollectionEnabled||!1,this.options_=o.deepCopy(e),this.INTERNAL={getUid:function(){return null},getToken:function(){return Promise.resolve(null)},addAuthTokenListener:function(e){l.push(e),setTimeout(function(){return e(null)},0)},removeAuthTokenListener:function(e){l=l.filter(function(t){return t!==e})}}}return Object.defineProperty(e.prototype,"automaticDataCollectionEnabled",{get:function(){return this.checkDestroyed_(),this._automaticDataCollectionEnabled},set:function(e){this.checkDestroyed_(),this._automaticDataCollectionEnabled=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.checkDestroyed_(),this.name_},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this.checkDestroyed_(),this.options_},enumerable:!0,configurable:!0}),e.prototype.delete=function(){var e=this;return new Promise(function(t){e.checkDestroyed_(),t()}).then(function(){e.firebase_.INTERNAL.removeApp(e.name_);var t=[];return Object.keys(e.services_).forEach(function(n){Object.keys(e.services_[n]).forEach(function(r){t.push(e.services_[n][r])})}),Promise.all(t.map(function(e){return e.INTERNAL.delete()}))}).then(function(){e.isDeleted_=!0,e.services_={}})},e.prototype._getService=function(e,t){if(void 0===t&&(t=s),this.checkDestroyed_(),this.services_[e]||(this.services_[e]={}),!this.services_[e][t]){var n=t!==s?t:void 0,r=this.firebase_.INTERNAL.factories[e](this,this.extendApp.bind(this),n);this.services_[e][t]=r}return this.services_[e][t]},e.prototype.extendApp=function(e){var t=this;o.deepExtend(this,e),e.INTERNAL&&e.INTERNAL.addAuthTokenListener&&(l.forEach(function(e){t.INTERNAL.addAuthTokenListener(e)}),l=[])},e.prototype.checkDestroyed_=function(){this.isDeleted_&&i("app-deleted",{name:this.name_})},e}();u.prototype.name&&u.prototype.options||u.prototype.delete||console.log("dc");var c={"no-app":"No Firebase App '{$name}' has been created - call Firebase App.initializeApp()","bad-app-name":"Illegal App name: '{$name}","duplicate-app":"Firebase App named '{$name}' already exists","app-deleted":"Firebase App named '{$name}' already deleted","duplicate-service":"Firebase service named '{$name}' already registered","sa-not-supported":"Initializing the Firebase SDK with a service account is only allowed in a Node.js environment. On client devices, you should instead initialize the SDK with an api key and auth domain","invalid-app-argument":"firebase.{$name}() takes either no argument or a Firebase App instance."},d=new o.ErrorFactory("app","Firebase",c),f=r();t.firebase=f,t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createGenerateClassName",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"createMuiTheme",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"jssPreset",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"MuiThemeProvider",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"createStyles",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"withStyles",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"withTheme",{enumerable:!0,get:function(){return c.default}});var i=r(n(151)),o=r(n(97)),a=r(n(157)),s=r(n(332)),l=r(n(337)),u=r(n(5)),c=r(n(29))},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,i=void 0===r?{}:r,y=e.palette,b=void 0===y?{}:y,w=e.shadows,E=e.typography,T=void 0===E?{}:E,_=(0,a.default)(e,["breakpoints","mixins","palette","shadows","typography"]),x=(0,d.default)(b),k=(0,u.default)(n),S=(0,o.default)({breakpoints:k,direction:"ltr",mixins:(0,c.default)(k,m.default,i),overrides:{},palette:x,props:{},shadows:w||h.default,typography:(0,f.default)(x,T)},(0,s.default)({shape:p.default,spacing:m.default,transitions:g.default,zIndex:v.default},_,{isMergeableObject:l.default}));return S}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(71)),l=i(n(291)),u=(i(n(13)),i(n(59))),c=i(n(293)),d=i(n(294)),f=i(n(295)),h=i(n(296)),p=i(n(297)),m=i(n(298)),g=i(n(28)),v=i(n(299)),y=r;t.default=y},function(e,t,n){"use strict";function r(e,t){for(var n="",r=0;r<t;r++)n+="  ";return n+e}function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i="";if(!t)return i;var o=n.indent,s=void 0===o?0:o,l=t.fallbacks;if(s++,l)if(Array.isArray(l))for(var u=0;u<l.length;u++){var c=l[u];for(var d in c){var f=c[d];null!=f&&(i+="\n"+r(d+": "+(0,a.default)(f)+";",s))}}else for(var h in l){var p=l[h];null!=p&&(i+="\n"+r(h+": "+(0,a.default)(p)+";",s))}for(var m in t){var g=t[m];null!=g&&"fallbacks"!==m&&(i+="\n"+r(m+": "+(0,a.default)(g)+";",s))}return i||n.allowEmpty?(s--,i=r(e+" {"+i+"\n",s)+r("}",s)):i}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(72),a=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(159),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=new i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(74),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o="",a="";if(i.default){var s={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},l=document.createElement("p").style;for(var u in s)if(u+"Transform"in l){o=u,a=s[u];break}}t.default={js:o,css:a}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CHANNEL=void 0;var i=r(n(7)),o=r(n(2)),a="__THEMING__";t.CHANNEL=a;var s={contextTypes:(0,i.default)({},a,o.default.object),initial:function(e){return e[a]?e[a].getState():null},subscribe:function(e,t){return e[a]?e[a].subscribe(t):null},unsubscribe:function(e,t){e[a]&&e[a].unsubscribe(t)}},l=s;t.default=l},function(e,t,n){"use strict";function r(e,t,n){if("string"!==typeof t){if(d){var f=c(t);f&&f!==d&&r(e,f,n)}var h=s(t);l&&(h=h.concat(l(t)));for(var p=0;p<h.length;++p){var m=h[p];if(!i[m]&&!o[m]&&(!n||!n[m])){var g=u(t,m);try{a(e,m,g)}catch(e){}}}return e}return e}var i={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,d=c&&c(Object);e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if("string"===typeof e)return e;if(e)return e.displayName||e.name||"Component"},i=r;t.default=i},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(342))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(344))},function(e,t,n){"use strict";function r(e,t){var n=function(t){return o.default.createElement(s.default,t,e)};return n.displayName=t,n=(0,a.default)(n),n.muiName="SvgIcon",n}var i=n(76);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(1)),a=i(n(347)),s=i(n(16)),l=r;t.default=l},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t){e.exports=!0},function(e,t,n){var r=n(50);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports={}},function(e,t,n){var r=n(64),i=n(357),o=n(116),a=n(114)("IE_PROTO"),s=function(){},l=function(){var e,t=n(172)("iframe"),r=o.length;for(t.style.display="none",n(362).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(174),i=n(116);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(115)("keys"),i=n(80);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(34),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(49).f,i=n(37),o=n(53)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){t.f=n(53)},function(e,t,n){var r=n(34),i=n(63),o=n(109),a=n(118),s=n(49).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(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)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(65),c=r(u),d=n(1),f=r(d),h=n(181),p=n(401),m=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},g=(c.default.any,c.default.node,c.default.bool,c.default.bool,c.default.bool,c.default.func,{component:"div",childFactory:function(e){return e}}),v=function(e){function t(n,r){o(this,t);var i=a(this,e.call(this,n,r)),s=i.handleExited.bind(i);return i.state={handleExited:s,firstRender:!0},i}return s(t,e),t.prototype.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},t.prototype.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,p.getInitialChildMapping)(e,r):(0,p.getNextChildMapping)(e,n,r),firstRender:!1}},t.prototype.handleExited=function(e,t){var n=(0,p.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.setState(function(t){var n=l({},t.children);return delete n[e.key],{children:n}}))},t.prototype.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=i(e,["component","childFactory"]),o=m(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o:f.default.createElement(t,r,o)},t}(f.default.Component);v.childContextTypes={transitionGroup:c.default.object.isRequired},v.propTypes={},v.defaultProps=g,t.default=(0,h.polyfill)(v),e.exports=t.default},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(406))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(407))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(420))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(421))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(424))},function(e,t,n){"use strict";var r=n(426),i=(n.n(r),n(96)),o=(n.n(i),n(104)),a=(n.n(o),n(442)),s=(n.n(a),n(190)),l=(n.n(s),n(443)),u=(n.n(l),n(445)),c=(n.n(u),n(447)),d=(n.n(c),n(54)),f=(n.n(d),n(26)),h=(n.n(f),n(449)),p=(n.n(h),n(451)),m=(n.n(p),n(453)),g=(n.n(m),n(455)),v=(n.n(g),n(457)),y=(n.n(v),n(459)),b=(n.n(y),n(469)),w=(n.n(b),n(472)),E=(n.n(w),n(196)),T=(n.n(E),n(85)),_=(n.n(T),n(476)),x=(n.n(_),n(478)),k=(n.n(x),n(480)),S=(n.n(k),n(482)),C=(n.n(S),n(484)),O=(n.n(C),n(486)),A=(n.n(O),n(488)),P=(n.n(A),n(490)),I=(n.n(P),n(197)),R=(n.n(I),n(493)),N=(n.n(R),n(198)),M=(n.n(N),n(199)),D=(n.n(M),n(124)),L=(n.n(D),n(200)),j=(n.n(L),n(499)),W=(n.n(j),n(201)),B=(n.n(W),n(202)),F=(n.n(B),n(203)),z=(n.n(F),n(504)),U=(n.n(z),n(507)),H=(n.n(U),n(509)),G=(n.n(H),n(511)),q=(n.n(G),n(125)),V=(n.n(q),n(513)),K=(n.n(V),n(518)),Y=(n.n(K),n(84)),Z=n.n(Y);n.d(t,"a",function(){return Z.a});var X=n(66),Q=(n.n(X),n(520)),$=(n.n(Q),n(204)),J=(n.n($),n(205)),ee=(n.n(J),n(192)),te=n.n(ee);n.d(t,"b",function(){return te.a});var ne=n(193),re=n.n(ne);n.d(t,"c",function(){return re.a});var ie=n(524),oe=(n.n(ie),n(526)),ae=(n.n(oe),n(528)),se=(n.n(ae),n(206)),le=(n.n(se),n(531)),ue=(n.n(le),n(183)),ce=(n.n(ue),n(126)),de=(n.n(ce),n(191)),fe=(n.n(de),n(533)),he=(n.n(fe),n(83)),pe=(n.n(he),n(535)),me=(n.n(pe),n(210)),ge=(n.n(me),n(25)),ve=(n.n(ge),n(187)),ye=(n.n(ve),n(211)),be=(n.n(ye),n(123)),we=(n.n(be),n(539)),Ee=(n.n(we),n(543)),Te=(n.n(Ee),n(122)),_e=(n.n(Te),n(134)),xe=(n.n(_e),n(131)),ke=(n.n(xe),n(547)),Se=(n.n(ke),n(212)),Ce=(n.n(Se),n(550)),Oe=(n.n(Ce),n(552)),Ae=(n.n(Oe),n(215)),Pe=(n.n(Ae),n(559)),Ie=(n.n(Pe),n(214)),Re=(n.n(Ie),n(213)),Ne=(n.n(Re),n(561)),Me=(n.n(Ne),n(16)),De=(n.n(Me),n(563)),Le=n.n(De);n.d(t,"d",function(){return Le.a});var je=n(566),We=(n.n(je),n(568)),Be=(n.n(We),n(570)),Fe=(n.n(Be),n(216)),ze=(n.n(Fe),n(573)),Ue=(n.n(ze),n(575)),He=(n.n(Ue),n(577)),Ge=(n.n(He),n(581)),qe=(n.n(Ge),n(583)),Ve=(n.n(qe),n(219)),Ke=(n.n(Ve),n(220)),Ye=(n.n(Ke),n(593)),Ze=(n.n(Ye),n(105)),Xe=(n.n(Ze),n(595)),Qe=(n.n(Xe),n(19)),$e=(n.n(Qe),n(597)),Je=(n.n($e),n(133)),et=(n.n(Je),n(599));n.n(et)},function(e,t,n){"use strict";function r(e,t,n,r,i){return null}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r;t.default=i},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=r(n(2)),p=r(n(6)),m=r(n(5)),g=r(n(84)),v={root:{display:"inline-flex",alignItems:"center",transition:"none","&:hover":{backgroundColor:"transparent"}},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0}};t.styles=v;var y=function(e){function t(e){var n;return(0,s.default)(this,t),n=(0,u.default)(this,(0,c.default)(t).call(this)),n.input=null,n.isControlled=null,n.state={},n.handleFocus=function(e){n.props.onFocus&&n.props.onFocus(e);var t=n.context.muiFormControl;t&&t.onFocus&&t.onFocus(e)},n.handleBlur=function(e){n.props.onBlur&&n.props.onBlur(e);var t=n.context.muiFormControl;t&&t.onBlur&&t.onBlur(e)},n.handleInputChange=function(e){var t=e.target.checked;n.isControlled||n.setState({checked:t}),n.props.onChange&&n.props.onChange(e,t)},n.isControlled=null!=e.checked,n.isControlled||(n.state.checked=void 0!==e.defaultChecked&&e.defaultChecked),n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e,t=this.props,n=t.autoFocus,r=t.checked,s=t.checkedIcon,l=t.classes,u=t.className,c=t.disabled,d=t.icon,h=t.id,m=t.inputProps,v=t.inputRef,y=t.name,b=(t.onBlur,t.onChange,t.onFocus,t.readOnly),w=t.required,E=t.tabIndex,T=t.type,_=t.value,x=(0,a.default)(t,["autoFocus","checked","checkedIcon","classes","className","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),k=this.context.muiFormControl,S=c;k&&"undefined"===typeof S&&(S=k.disabled);var C=this.isControlled?r:this.state.checked,O="checkbox"===T||"radio"===T;return f.default.createElement(g.default,(0,i.default)({component:"span",className:(0,p.default)(l.root,(e={},(0,o.default)(e,l.checked,C),(0,o.default)(e,l.disabled,S),e),u),disabled:S,tabIndex:null,role:void 0,onFocus:this.handleFocus,onBlur:this.handleBlur},x),C?s:d,f.default.createElement("input",(0,i.default)({autoFocus:n,checked:C,className:l.input,disabled:S,id:O&&h,name:y,onChange:this.handleInputChange,readOnly:b,ref:v,required:w,tabIndex:E,type:T,value:_},m)))}}]),t}(f.default.Component);y.propTypes={},y.contextTypes={muiFormControl:h.default.object};var b=(0,m.default)(v,{name:"MuiSwitchBase"})(y);t.default=b},function(e,t,n){"use strict";function r(e){return-1!==["left","right"].indexOf(e.anchor)}function i(e){return"rtl"===e.theme.direction&&r(e)?T[e.anchor]:e.anchor}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.isHorizontal=r,t.getAnchor=i,t.default=t.styles=void 0;var a=o(n(3)),s=o(n(7)),l=o(n(4)),u=o(n(8)),c=o(n(9)),d=o(n(10)),f=o(n(11)),h=o(n(12)),p=o(n(1)),m=(o(n(2)),o(n(6))),g=o(n(83)),v=o(n(5)),y=o(n(131)),b=o(n(25)),w=n(14),E=n(28),T={left:"right",right:"left",top:"down",bottom:"up"},_=function(e){return{docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:e.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:"none"},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(e.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(e.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(e.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(e.palette.divider)},modal:{}}};t.styles=_;var x=function(e){function t(){var e,n;(0,u.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,d.default)(this,(e=(0,f.default)(t)).call.apply(e,[this].concat(i))),n.mounted=!1,n}return(0,h.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"render",value:function(){var e=this.props,t=(e.anchor,e.children),n=e.classes,r=e.className,o=e.elevation,u=e.ModalProps;u=void 0===u?{}:u;var c=u.BackdropProps,d=(0,l.default)(u,["BackdropProps"]),f=e.onClose,h=e.open,v=e.PaperProps,E=e.SlideProps,_=(e.theme,e.transitionDuration),x=e.variant,k=(0,l.default)(e,["anchor","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","theme","transitionDuration","variant"]),S=i(this.props),C=p.default.createElement(b.default,(0,a.default)({elevation:"temporary"===x?o:0,square:!0,className:(0,m.default)(n.paper,n["paperAnchor".concat((0,w.capitalize)(S))],(0,s.default)({},n["paperAnchorDocked".concat((0,w.capitalize)(S))],"temporary"!==x))},v),t);if("permanent"===x)return p.default.createElement("div",(0,a.default)({className:(0,m.default)(n.docked,r)},k),C);var O=p.default.createElement(y.default,(0,a.default)({in:h,direction:T[S],timeout:_,appear:this.mounted},E),C);return"persistent"===x?p.default.createElement("div",(0,a.default)({className:(0,m.default)(n.docked,r)},k),O):p.default.createElement(g.default,(0,a.default)({BackdropProps:(0,a.default)({},c,{transitionDuration:_}),className:(0,m.default)(n.modal,r),open:h,onClose:f},k,d),O)}}]),t}(p.default.Component);x.propTypes={},x.defaultProps={anchor:"left",elevation:16,open:!1,transitionDuration:{enter:E.duration.enteringScreen,exit:E.duration.leavingScreen},variant:"temporary"};var k=(0,v.default)(_,{name:"MuiDrawer",flip:!1,withTheme:!0})(x);t.default=k},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(491))},function(e,t,n){"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function o(e){return e.startAdornment}function a(e,t){var n=e.disabled,r=e.error,i=e.margin,o=e.required;return t&&t.muiFormControl&&("undefined"===typeof n&&(n=t.muiFormControl.disabled),"undefined"===typeof r&&(r=t.muiFormControl.error),"undefined"===typeof i&&(i=t.muiFormControl.margin),"undefined"===typeof o&&(o=t.muiFormControl.required)),{disabled:n,error:r,margin:i,required:o}}var s=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.hasValue=r,t.isFilled=i,t.isAdornedStart=o,t.default=t.styles=void 0;var l=s(n(3)),u=s(n(7)),c=s(n(4)),d=s(n(8)),f=s(n(9)),h=s(n(10)),p=s(n(11)),m=s(n(12)),g=s(n(1)),v=s(n(2)),y=s(n(6)),b=s(n(5)),w=s(n(498)),E=function(e){var t="light"===e.palette.type,n={color:"currentColor",opacity:t?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:0},i={opacity:t?.42:.5},o=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{display:"inline-flex",position:"relative",fontFamily:e.typography.fontFamily,color:e.palette.text.primary,fontSize:e.typography.pxToRem(16),lineHeight:"1.1875em","&$disabled":{color:e.palette.text.disabled}},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary[t?"dark":"light"]),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(o),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):not($focused):not($error):before":{borderBottom:"2px solid ".concat(e.palette.text.primary)},"&$disabled:before":{borderBottom:"1px dotted ".concat(o)}},error:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px")},fullWidth:{width:"100%"},input:{font:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",verticalAlign:"middle",background:"none",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,flexGrow:1,"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},"&$disabled":{opacity:1}},inputMarginDense:{paddingTop:3},inputMultiline:{resize:"none",padding:0},inputType:{height:"1.1875em"},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"}}};t.styles=E;var T=function(e){function t(e,n){var r;(0,d.default)(this,t),r=(0,h.default)(this,(0,p.default)(t).call(this,e,n)),r.isControlled=null,r.input=null,r.state={focused:!1},r.handleFocus=function(e){if(a(r.props,r.context).disabled)return void e.stopPropagation();r.setState({focused:!0}),r.props.onFocus&&r.props.onFocus(e);var t=r.context.muiFormControl;t&&t.onFocus&&t.onFocus(e)},r.handleBlur=function(e){r.setState({focused:!1}),r.props.onBlur&&r.props.onBlur(e);var t=r.context.muiFormControl;t&&t.onBlur&&t.onBlur(e)},r.handleChange=function(e){r.isControlled||r.checkDirty(r.inputRef),r.props.onChange&&r.props.onChange(e)},r.handleRefInput=function(e){r.inputRef=e;var t;r.props.inputRef?t=r.props.inputRef:r.props.inputProps&&r.props.inputProps.ref&&(t=r.props.inputProps.ref),t&&("function"===typeof t?t(e):t.current=e)},r.isControlled=null!=e.value,r.isControlled&&r.checkDirty(e);var i=function(e,t){!a(r.props,r.context).disabled&&a(e,t).disabled&&r.setState({focused:!1})},o=function(e,t,n){if(!a(r.props,r.context).disabled&&a(e,n).disabled){var i=r.context.muiFormControl;i&&i.onBlur&&i.onBlur()}};return g.default.createContext?(r.UNSAFE_componentWillReceiveProps=i,r.UNSAFE_componentWillUpdate=o):(r.componentWillReceiveProps=i,r.componentWillUpdate=o),r}return(0,m.default)(t,e),(0,f.default)(t,[{key:"getChildContext",value:function(){return{muiFormControl:null}}},{key:"componentDidMount",value:function(){this.isControlled||this.checkDirty(this.inputRef)}},{key:"componentDidUpdate",value:function(){this.isControlled&&this.checkDirty(this.props)}},{key:"checkDirty",value:function(e){var t=this.context.muiFormControl;if(i(e))return t&&t.onFilled&&t.onFilled(),void(this.props.onFilled&&this.props.onFilled());t&&t.onEmpty&&t.onEmpty(),this.props.onEmpty&&this.props.onEmpty()}},{key:"render",value:function(){var e,t,n=this.props,r=n.autoComplete,i=n.autoFocus,o=n.classes,s=n.className,d=n.defaultValue,f=(n.disabled,n.disableUnderline),h=n.endAdornment,p=(n.error,n.fullWidth),m=n.id,v=n.inputComponent,b=n.inputProps;b=void 0===b?{}:b;var E=b.className,T=(0,c.default)(b,["className"]),_=(n.inputRef,n.margin,n.multiline),x=n.name,k=(n.onBlur,n.onChange,n.onEmpty,n.onFilled,n.onFocus,n.onKeyDown),S=n.onKeyUp,C=n.placeholder,O=n.readOnly,A=n.rows,P=n.rowsMax,I=n.startAdornment,R=n.type,N=n.value,M=(0,c.default)(n,["autoComplete","autoFocus","classes","className","defaultValue","disabled","disableUnderline","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onEmpty","onFilled","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","rows","rowsMax","startAdornment","type","value"]),D=this.context.muiFormControl,L=a(this.props,this.context),j=L.disabled,W=L.error,B=L.margin,F=L.required,z=(0,y.default)(o.root,(e={},(0,u.default)(e,o.disabled,j),(0,u.default)(e,o.error,W),(0,u.default)(e,o.fullWidth,p),(0,u.default)(e,o.focused,this.state.focused),(0,u.default)(e,o.formControl,D),(0,u.default)(e,o.multiline,_),(0,u.default)(e,o.underline,!f),e),s),U=(0,y.default)(o.input,(t={},(0,u.default)(t,o.disabled,j),(0,u.default)(t,o.inputType,"text"!==R),(0,u.default)(t,o.inputTypeSearch,"search"===R),(0,u.default)(t,o.inputMultiline,_),(0,u.default)(t,o.inputMarginDense,"dense"===B),t),E),H="input",G=(0,l.default)({},T,{ref:this.handleRefInput});return v?(H=v,G=(0,l.default)({inputRef:this.handleRefInput},G,{ref:null})):_&&(A&&!P?H="textarea":(G=(0,l.default)({rowsMax:P,textareaRef:this.handleRefInput},G,{ref:null}),H=w.default)),g.default.createElement("div",(0,l.default)({className:z},M),I,g.default.createElement(H,(0,l.default)({"aria-invalid":W,autoComplete:r,autoFocus:i,className:U,defaultValue:d,disabled:j,id:m,name:x,onBlur:this.handleBlur,onChange:this.handleChange,onFocus:this.handleFocus,onKeyDown:k,onKeyUp:S,placeholder:C,readOnly:O,required:F,rows:A,type:R,value:N},G)),h)}}]),t}(g.default.Component);T.propTypes={},T.muiName="Input",T.defaultProps={disableUnderline:!1,fullWidth:!1,multiline:!1,type:"text"},T.contextTypes={muiFormControl:v.default.object},T.childContextTypes={muiFormControl:v.default.object};var _=(0,b.default)(E,{name:"MuiInput"})(T);t.default=_},function(e,t,n){"use strict";var r=n(46);Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=r(n(516));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(545))},function(e,t,n){"use strict";function r(e){try{return y.insertRule(e,y.cssRules.length)}catch(e){console.warn("react-reveal - animation failed")}}function i(e,t,n,r,i){var o=Math.log(r),a=Math.log(i),s=(a-o)/(n-t);return Math.exp(o+s*(e-t))}function o(e){if(!y)return"";var t="@keyframes "+(b+g)+"{"+e+"}",n=v[e];return n?""+b+n:(y.insertRule(t,y.cssRules.length),v[e]=g,""+b+g++)}function a(){p||(t.globalHide=p=!0,window.removeEventListener("scroll",a,!0),r("."+l+" { opacity: 0; }"),window.removeEventListener("orientationchange",a,!0),window.document.removeEventListener("visibilitychange",a))}function s(e){var n=e.ssrFadeout;t.fadeOutEnabled=h=n}Object.defineProperty(t,"__esModule",{value:!0}),t.insertRule=r,t.cascade=i,t.animation=o,t.hideAll=a,t.default=s;var l=t.namespace="react-reveal",u=(t.defaults={duration:1e3,delay:0,count:1},t.ssr=!0),c=t.observerMode=!1,d=t.raf=function(e){return window.setTimeout(e,66)},f=t.disableSsr=function(){return t.ssr=u=!1},h=t.fadeOutEnabled=!1,p=(t.ssrFadeout=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t.fadeOutEnabled=h=e},t.globalHide=!1),m=(t.ie10=!1,t.collapseend=void 0),g=1,v={},y=!1,b=l+"-"+Math.floor(1e15*Math.random())+"-";if("undefined"!=typeof window&&"nodejs"!==window.name&&window.document&&"undefined"!=typeof navigator){t.observerMode=c="IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&/\{\s*\[native code\]\s*\}/.test(""+IntersectionObserver),t.raf=d=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||d,t.ssr=u=window.document.querySelectorAll("div[data-reactroot]").length>0,-1!==navigator.appVersion.indexOf("MSIE 10")&&(t.ie10=!0),u&&"performance"in window&&"timing"in window.performance&&"domContentLoadedEventEnd"in window.performance.timing&&window.performance.timing.domLoading&&Date.now()-window.performance.timing.domLoading<300&&(t.ssr=u=!1),u&&window.setTimeout(f,1500),c||(t.collapseend=m=document.createEvent("Event"),m.initEvent("collapseend",!0,!0));var w=document.createElement("style");document.head.appendChild(w),w.sheet&&w.sheet.cssRules&&w.sheet.insertRule&&(y=w.sheet,window.addEventListener("scroll",a,!0),window.addEventListener("orientationchange",a,!0),window.document.addEventListener("visibilitychange",a))}},function(e,t,n){"use strict";function r(e){return o.default&&o.default[e]?o.default[e]:e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(618),o=function(e){return e&&e.__esModule?e:{default:e}}(i)},function(e,t,n){"use strict";function r(e,t,n){var r={};Object.keys(t).filter(function(t){return"children"===t||!e[t]}).forEach(function(e){return r[e]=t[e]});var i=n.filter(function(e){return e}).join(" ");return Object.assign({},r,{className:i})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){for(var t=String(e),n=t.length;t.charAt(--n)===i;);return t.slice(0,n+1)}e.exports=r;var i="\n"},function(e,t,n){"use strict";function r(e,t,n,r){for(var i,o,a,s,l,u,c=["pedantic","commonmark"],d=c.length,f=e.length,h=-1;++h<f;){for(i=e[h],o=i[1]||{},a=i[0],s=-1,u=!1;++s<d;)if(l=c[s],void 0!==o[l]&&o[l]!==n.options[l]){u=!0;break}if(!u&&t[a].apply(n,r))return!0}return!1}e.exports=r},function(e,t,n){"use strict";function r(e){return i(e).toLowerCase()}var i=n(241);e.exports=r},function(e,t,n){"use strict";function r(e,t){return t||0===e.length||o.test(e)||i(e,"(")!==i(e,")")?"<"+e+">":e}var i=n(739);e.exports=r;var o=/\s/},function(e,t,n){"use strict";function r(e){var t=-1===e.indexOf('"')?'"':"'";return t+e+t}e.exports=r},function(e,t,n){"use strict";function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}function i(e){for(var t=e.length,n=t,r=0,i=void 0;t>=4;)i=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24,i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16),i^=i>>>24,i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^i,t-=4,++r;switch(t){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)}return n^=n>>>13,n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16),n^=n>>>15,(n>>>0).toString(36)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}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")}}(),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(e){return Object.keys(e).map(function(t){return[t,e[t]]})};t.objectToPairs=s;var l=function(e){var t={};return e.forEach(function(e){var n=o(e,2),r=n[0],i=n[1];t[r]=i}),t},u=function(e,t){return l(s(e).map(t))};t.mapObj=u;var c=function(e){return e.reduce(function(e,t){return e.concat(t)},[])};t.flatten=c;var d=/([A-Z])/g,f=/^ms-/,h=function(e){return e.replace(d,"-$1").toLowerCase()},p=function(e){return h(e).replace(f,"-ms-")};t.kebabifyStyleName=p;var m=function e(t,n){if("object"!==typeof t)return n;var r=a({},t);return Object.keys(n).forEach(function(i){r.hasOwnProperty(i)?r[i]=e(t[i],n[i]):r[i]=n[i]}),r};t.recursiveMerge=m;var g={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},v=["Webkit","ms","Moz","O"];Object.keys(g).forEach(function(e){v.forEach(function(t){g[r(t,e)]=g[e]})});var y=function(e,t){return"number"===typeof t?g[e]?""+t:t+"px":t};t.stringifyValue=y;var b=function(e){return i(JSON.stringify(e))};t.hashObject=b;var w=/^([^:]+:.*?)( !important)?;$/,E=function(e){return e.replace(w,function(e,t,n){return t+" !important;"})};t.importantify=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Array.isArray(e)&&(e=e.join(",")),null!==e.match(/-webkit-|-moz-|-ms-/)},e.exports=t.default},function(e,t,n){"use strict";function r(){}function i(e){try{return e.then}catch(e){return v=e,y}}function o(e,t){try{return e(t)}catch(e){return v=e,y}}function a(e,t,n){try{e(t,n)}catch(e){return v=e,y}}function s(e){if("object"!==typeof this)throw new TypeError("Promises must be constructed via new");if("function"!==typeof e)throw new TypeError("Promise constructor's argument is not a function");this._75=0,this._83=0,this._18=null,this._38=null,e!==r&&m(e,this)}function l(e,t,n){return new e.constructor(function(i,o){var a=new s(r);a.then(i,o),u(e,new p(t,n,a))})}function u(e,t){for(;3===e._83;)e=e._18;if(s._47&&s._47(e),0===e._83)return 0===e._75?(e._75=1,void(e._38=t)):1===e._75?(e._75=2,void(e._38=[e._38,t])):void e._38.push(t);c(e,t)}function c(e,t){g(function(){var n=1===e._83?t.onFulfilled:t.onRejected;if(null===n)return void(1===e._83?d(t.promise,e._18):f(t.promise,e._18));var r=o(n,e._18);r===y?f(t.promise,v):d(t.promise,r)})}function d(e,t){if(t===e)return f(e,new TypeError("A promise cannot be resolved with itself."));if(t&&("object"===typeof t||"function"===typeof t)){var n=i(t);if(n===y)return f(e,v);if(n===e.then&&t instanceof s)return e._83=3,e._18=t,void h(e);if("function"===typeof n)return void m(n.bind(t),e)}e._83=1,e._18=t,h(e)}function f(e,t){e._83=2,e._18=t,s._71&&s._71(e,t),h(e)}function h(e){if(1===e._75&&(u(e,e._38),e._38=null),2===e._75){for(var t=0;t<e._38.length;t++)u(e,e._38[t]);e._38=null}}function p(e,t,n){this.onFulfilled="function"===typeof e?e:null,this.onRejected="function"===typeof t?t:null,this.promise=n}function m(e,t){var n=!1,r=a(e,function(e){n||(n=!0,d(t,e))},function(e){n||(n=!0,f(t,e))});n||r!==y||(n=!0,f(t,v))}var g=n(146),v=null,y={};e.exports=s,s._47=null,s._71=null,s._44=r,s.prototype.then=function(e,t){if(this.constructor!==s)return l(this,e,t);var n=new s(r);return u(this,new p(e,t,n)),n}},function(e,t,n){"use strict";(function(t){function n(e){a.length||(o(),s=!0),a[a.length]=e}function r(){for(;l<a.length;){var e=l;if(l+=1,a[e].call(),l>u){for(var t=0,n=a.length-l;t<n;t++)a[t]=a[t+l];a.length-=l,l=0}}a.length=0,l=0,s=!1}function i(e){return function(){function t(){clearTimeout(n),clearInterval(r),e()}var n=setTimeout(t,0),r=setInterval(t,50)}}e.exports=n;var o,a=[],s=!1,l=0,u=1024,c="undefined"!==typeof t?t:self,d=c.MutationObserver||c.WebKitMutationObserver;o="function"===typeof d?function(e){var t=1,n=new d(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}(r):i(r),n.requestFlush=o,n.makeRequestCallFromTimer=i}).call(t,n(18))},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";n(281);var r=function(e){return e&&"object"===typeof e&&"default"in e?e.default:e}(n(95));e.exports=r},function(e,t,n){"use strict";function r(e){return i(void 0,e)}function i(e,t){if(!(t instanceof Object))return t;switch(t.constructor){case Date:var n=t;return new Date(n.getTime());case Object:void 0===e&&(e={});break;case Array:e=[];break;default:return t}for(var r in t)t.hasOwnProperty(r)&&(e[r]=i(e[r],t[r]));return e}function o(e,t,n){e[t]=n}function a(e){var t=R;return R=e,t}function s(e){return JSON.parse(e)}function l(e){return JSON.stringify(e)}function u(e,t){var n=new ie(e,t);return n.subscribe.bind(n)}function c(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];Promise.resolve(!0).then(function(){e.apply(void 0,n)}).catch(function(e){t&&t(e)})}}function d(e,t){if("object"!==typeof e||null===e)return!1;for(var n=0,r=t;n<r.length;n++){var i=r[n];if(i in e&&"function"===typeof e[i])return!0}return!1}function f(){}function h(e,t,n){var r="";switch(t){case 1:r=n?"first":"First";break;case 2:r=n?"second":"Second";break;case 3:r=n?"third":"Third";break;case 4:r=n?"fourth":"Fourth";break;default:throw new Error("errorPrefix called with argumentNumber > 4.  Need to update it?")}var i=e+" failed: ";return i+=r+" argument "}function p(e,t,n,r){if((!r||n)&&"string"!==typeof n)throw new Error(h(e,t,r)+"must be a valid firebase namespace.")}function m(e,t,n,r){if((!r||n)&&"function"!==typeof n)throw new Error(h(e,t,r)+"must be a valid function.")}function g(e,t,n,r){if((!r||n)&&("object"!==typeof n||null===n))throw new Error(h(e,t,r)+"must be a valid context object.")}Object.defineProperty(t,"__esModule",{value:!0});var v=n(150),y={NODE_CLIENT:!1,NODE_ADMIN:!1,SDK_VERSION:"${JSCORE_VERSION}"},b=function(e,t){if(!e)throw w(t)},w=function(e){return new Error("Firebase Database ("+y.SDK_VERSION+") INTERNAL ASSERT FAILED: "+e)},E=function(e){for(var t=[],n=0,r=0;r<e.length;r++){var i=e.charCodeAt(r);i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):55296==(64512&i)&&r+1<e.length&&56320==(64512&e.charCodeAt(r+1))?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++r)),t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t},T=function(e){for(var t=[],n=0,r=0;n<e.length;){var i=e[n++];if(i<128)t[r++]=String.fromCharCode(i);else if(i>191&&i<224){var o=e[n++];t[r++]=String.fromCharCode((31&i)<<6|63&o)}else if(i>239&&i<365){var o=e[n++],a=e[n++],s=e[n++],l=((7&i)<<18|(63&o)<<12|(63&a)<<6|63&s)-65536;t[r++]=String.fromCharCode(55296+(l>>10)),t[r++]=String.fromCharCode(56320+(1023&l))}else{var o=e[n++],a=e[n++];t[r++]=String.fromCharCode((15&i)<<12|(63&o)<<6|63&a)}}return t.join("")},_={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"===typeof atob,encodeByteArray:function(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();for(var n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[],i=0;i<e.length;i+=3){var o=e[i],a=i+1<e.length,s=a?e[i+1]:0,l=i+2<e.length,u=l?e[i+2]:0,c=o>>2,d=(3&o)<<4|s>>4,f=(15&s)<<2|u>>6,h=63&u;l||(h=64,a||(f=64)),r.push(n[c],n[d],n[f],n[h])}return r.join("")},encodeString:function(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(E(e),t)},decodeString:function(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):T(this.decodeStringToByteArray(e,t))},decodeStringToByteArray:function(e,t){this.init_();for(var n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[],i=0;i<e.length;){var o=n[e.charAt(i++)],a=i<e.length,s=a?n[e.charAt(i)]:0;++i;var l=i<e.length,u=l?n[e.charAt(i)]:64;++i;var c=i<e.length,d=c?n[e.charAt(i)]:64;if(++i,null==o||null==s||null==u||null==d)throw Error();var f=o<<2|s>>4;if(r.push(f),64!=u){var h=s<<4&240|u>>2;if(r.push(h),64!=d){var p=u<<6&192|d;r.push(p)}}}return r},init_:function(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(var e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}},x=function(e){var t=E(e);return _.encodeByteArray(t,!0)},k=function(e){try{return _.decodeString(e,!0)}catch(e){console.error("base64Decode failed: ",e)}return null},S=function(){function e(){var e=this;this.promise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return e.prototype.wrapCallback=function(e){var t=this;return function(n,r){n?t.reject(n):t.resolve(r),"function"===typeof e&&(t.promise.catch(function(){}),1===e.length?e(n):e(n,r))}},e}(),C=function(){return"undefined"!==typeof navigator&&"string"===typeof navigator.userAgent?navigator.userAgent:""},O=function(){return"undefined"!==typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(C())},A=function(){return"object"===typeof navigator&&"ReactNative"===navigator.product},P=function(){return!0===y.NODE_CLIENT||!0===y.NODE_ADMIN},I="FirebaseError",R=Error.captureStackTrace,N=function(){function e(e,t){if(this.code=e,this.message=t,R)R(this,M.prototype.create);else try{throw Error.apply(this,arguments)}catch(e){this.name=I,Object.defineProperty(this,"stack",{get:function(){return e.stack}})}}return e}();N.prototype=Object.create(Error.prototype),N.prototype.constructor=N,N.prototype.name=I;var M=function(){function e(e,t,n){this.service=e,this.serviceName=t,this.errors=n,this.pattern=/\{\$([^}]+)}/g}return e.prototype.create=function(e,t){void 0===t&&(t={});var n,r=this.errors[e],i=this.service+"/"+e;n=void 0===r?"Error":r.replace(this.pattern,function(e,n){var r=t[n];return void 0!==r?r.toString():"<"+n+"?>"}),n=this.serviceName+": "+n+" ("+i+").";var o=new N(i,n);for(var a in t)t.hasOwnProperty(a)&&"_"!==a.slice(-1)&&(o[a]=t[a]);return o},e}(),D=function(e){var t={},n={},r={},i="";try{var o=e.split(".");t=s(k(o[0])||""),n=s(k(o[1])||""),i=o[2],r=n.d||{},delete n.d}catch(e){}return{header:t,claims:n,data:r,signature:i}},L=function(e){var t,n,r=D(e).claims,i=Math.floor((new Date).getTime()/1e3);return"object"===typeof r&&(r.hasOwnProperty("nbf")?t=r.nbf:r.hasOwnProperty("iat")&&(t=r.iat),n=r.hasOwnProperty("exp")?r.exp:t+86400),i&&t&&n&&i>=t&&i<=n},j=function(e){var t=D(e).claims;return"object"===typeof t&&t.hasOwnProperty("iat")?t.iat:null},W=function(e){var t=D(e),n=t.claims;return!!t.signature&&!!n&&"object"===typeof n&&n.hasOwnProperty("iat")},B=function(e){var t=D(e).claims;return"object"===typeof t&&!0===t.admin},F=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},z=function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]},U=function(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t(n,e[n])},H=function(e,t){return U(t,function(t,n){e[t]=n}),e},G=function(e){return H({},e)},q=function(e){return"object"===typeof e&&null!==e},V=function(e){for(var t in e)return!1;return!0},K=function(e){var t=0;for(var n in e)t++;return t},Y=function(e,t,n){var r={};for(var i in e)r[i]=t.call(n,e[i],i,e);return r},Z=function(e,t,n){for(var r in e)if(t.call(n,e[r],r,e))return r},X=function(e,t,n){var r=Z(e,t,n);return r&&e[r]},Q=function(e){for(var t in e)return t},$=function(e){var t=[],n=0;for(var r in e)t[n++]=e[r];return t},J=function(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&!t(n,e[n]))return!1;return!0},ee=function(e){var t=[];return U(e,function(e,n){Array.isArray(n)?n.forEach(function(n){t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))}):t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))}),t.length?"&"+t.join("&"):""},te=function(e){var t={};return e.replace(/^\?/,"").split("&").forEach(function(e){if(e){var n=e.split("=");t[n[0]]=n[1]}}),t},ne=function(){function e(){this.blockSize=-1}return e}(),re=function(e){function t(){var t=e.call(this)||this;t.chain_=[],t.buf_=[],t.W_=[],t.pad_=[],t.inbuf_=0,t.total_=0,t.blockSize=64,t.pad_[0]=128;for(var n=1;n<t.blockSize;++n)t.pad_[n]=0;return t.reset(),t}return v.__extends(t,e),t.prototype.reset=function(){this.chain_[0]=1732584193,this.chain_[1]=4023233417,this.chain_[2]=2562383102,this.chain_[3]=271733878,this.chain_[4]=3285377520,this.inbuf_=0,this.total_=0},t.prototype.compress_=function(e,t){t||(t=0);var n=this.W_;if("string"===typeof e)for(var r=0;r<16;r++)n[r]=e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|e.charCodeAt(t+3),t+=4;else for(var r=0;r<16;r++)n[r]=e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3],t+=4;for(var r=16;r<80;r++){var i=n[r-3]^n[r-8]^n[r-14]^n[r-16];n[r]=4294967295&(i<<1|i>>>31)}for(var o,a,s=this.chain_[0],l=this.chain_[1],u=this.chain_[2],c=this.chain_[3],d=this.chain_[4],r=0;r<80;r++){r<40?r<20?(o=c^l&(u^c),a=1518500249):(o=l^u^c,a=1859775393):r<60?(o=l&u|c&(l|u),a=2400959708):(o=l^u^c,a=3395469782);var i=(s<<5|s>>>27)+o+d+a+n[r]&4294967295;d=c,c=u,u=4294967295&(l<<30|l>>>2),l=s,s=i}this.chain_[0]=this.chain_[0]+s&4294967295,this.chain_[1]=this.chain_[1]+l&4294967295,this.chain_[2]=this.chain_[2]+u&4294967295,this.chain_[3]=this.chain_[3]+c&4294967295,this.chain_[4]=this.chain_[4]+d&4294967295},t.prototype.update=function(e,t){if(null!=e){void 0===t&&(t=e.length);for(var n=t-this.blockSize,r=0,i=this.buf_,o=this.inbuf_;r<t;){if(0==o)for(;r<=n;)this.compress_(e,r),r+=this.blockSize;if("string"===typeof e){for(;r<t;)if(i[o]=e.charCodeAt(r),++o,++r,o==this.blockSize){this.compress_(i),o=0;break}}else for(;r<t;)if(i[o]=e[r],++o,++r,o==this.blockSize){this.compress_(i),o=0;break}}this.inbuf_=o,this.total_+=t}},t.prototype.digest=function(){var e=[],t=8*this.total_;this.inbuf_<56?this.update(this.pad_,56-this.inbuf_):this.update(this.pad_,this.blockSize-(this.inbuf_-56));for(var n=this.blockSize-1;n>=56;n--)this.buf_[n]=255&t,t/=256;this.compress_(this.buf_);for(var r=0,n=0;n<5;n++)for(var i=24;i>=0;i-=8)e[r]=this.chain_[n]>>i&255,++r;return e},t}(ne),ie=function(){function e(e,t){var n=this;this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=t,this.task.then(function(){e(n)}).catch(function(e){n.error(e)})}return e.prototype.next=function(e){this.forEachObserver(function(t){t.next(e)})},e.prototype.error=function(e){this.forEachObserver(function(t){t.error(e)}),this.close(e)},e.prototype.complete=function(){this.forEachObserver(function(e){e.complete()}),this.close()},e.prototype.subscribe=function(e,t,n){var r,i=this;if(void 0===e&&void 0===t&&void 0===n)throw new Error("Missing Observer.");r=d(e,["next","error","complete"])?e:{next:e,error:t,complete:n},void 0===r.next&&(r.next=f),void 0===r.error&&(r.error=f),void 0===r.complete&&(r.complete=f);var o=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(function(){try{i.finalError?r.error(i.finalError):r.complete()}catch(e){}}),this.observers.push(r),o},e.prototype.unsubscribeOne=function(e){void 0!==this.observers&&void 0!==this.observers[e]&&(delete this.observers[e],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))},e.prototype.forEachObserver=function(e){if(!this.finalized)for(var t=0;t<this.observers.length;t++)this.sendOne(t,e)},e.prototype.sendOne=function(e,t){var n=this;this.task.then(function(){if(void 0!==n.observers&&void 0!==n.observers[e])try{t(n.observers[e])}catch(e){"undefined"!==typeof console&&console.error&&console.error(e)}})},e.prototype.close=function(e){var t=this;this.finalized||(this.finalized=!0,void 0!==e&&(this.finalError=e),this.task.then(function(){t.observers=void 0,t.onNoObservers=void 0}))},e}(),oe=function(e,t,n,r){var i;if(r<t?i="at least "+t:r>n&&(i=0===n?"none":"no more than "+n),i){var o=e+" failed: Was called with "+r+(1===r?" argument.":" arguments.")+" Expects "+i+".";throw new Error(o)}},ae=function(e){for(var t=[],n=0,r=0;r<e.length;r++){var i=e.charCodeAt(r);if(i>=55296&&i<=56319){var o=i-55296;r++,b(r<e.length,"Surrogate pair missing trail surrogate.");i=65536+(o<<10)+(e.charCodeAt(r)-56320)}i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):i<65536?(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t},se=function(e){for(var t=0,n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t++:r<2048?t+=2:r>=55296&&r<=56319?(t+=4,n++):t+=3}return t};t.assert=b,t.assertionError=w,t.base64=_,t.base64Decode=k,t.base64Encode=x,t.CONSTANTS=y,t.deepCopy=r,t.deepExtend=i,t.patchProperty=o,t.Deferred=S,t.getUA=C,t.isMobileCordova=O,t.isNodeSdk=P,t.isReactNative=A,t.ErrorFactory=M,t.FirebaseError=N,t.patchCapture=a,t.jsonEval=s,t.stringify=l,t.decode=D,t.isAdmin=B,t.issuedAtTime=j,t.isValidFormat=W,t.isValidTimestamp=L,t.clone=G,t.contains=F,t.every=J,t.extend=H,t.findKey=Z,t.findValue=X,t.forEach=U,t.getAnyKey=Q,t.getCount=K,t.getValues=$,t.isEmpty=V,t.isNonNullObject=q,t.map=Y,t.safeGet=z,t.querystring=ee,t.querystringDecode=te,t.Sha1=re,t.async=c,t.createSubscribe=u,t.errorPrefix=h,t.validateArgCount=oe,t.validateCallback=m,t.validateContextObject=g,t.validateNamespace=p,t.stringLength=se,t.stringToByteArray=ae},function(e,t,n){"use strict";function r(e,t){function n(){this.constructor=e}E(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n}function o(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function a(e,t){return function(n,r){t(n,r,e)}}function s(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(a,s)}l((r=r.apply(e,t||[])).next())})}function u(e,t){function n(e){return function(t){return r([e,t])}}function r(n){if(i)throw new TypeError("Generator is already executing.");for(;l;)try{if(i=1,o&&(a=o[2&n[0]?"return":n[0]?"throw":"next"])&&!(a=a.call(o,n[1])).done)return a;switch(o=0,a&&(n=[0,a.value]),n[0]){case 0:case 1:a=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,o=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(a=l.trys,!(a=a.length>0&&a[a.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!a||n[1]>a[0]&&n[1]<a[3])){l.label=n[1];break}if(6===n[0]&&l.label<a[1]){l.label=a[1],a=n;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(n);break}a[2]&&l.ops.pop(),l.trys.pop();continue}n=t.call(e,l)}catch(e){n=[6,e],o=0}finally{i=a=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}var i,o,a,s,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:n(0),throw:n(1),return:n(2)},"function"===typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s}function c(e,t){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}function d(e){var t="function"===typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function f(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function h(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(f(arguments[t]));return e}function p(e){return this instanceof p?(this.v=e,this):new p(e)}function m(e,t,n){function r(e){c[e]&&(u[e]=function(t){return new Promise(function(n,r){d.push([e,t,n,r])>1||i(e,t)})})}function i(e,t){try{o(c[e](t))}catch(e){l(d[0][3],e)}}function o(e){e.value instanceof p?Promise.resolve(e.value.v).then(a,s):l(d[0][2],e)}function a(e){i("next",e)}function s(e){i("throw",e)}function l(e,t){e(t),d.shift(),d.length&&i(d[0][0],d[0][1])}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u,c=n.apply(e,t||[]),d=[];return u={},r("next"),r("throw"),r("return"),u[Symbol.asyncIterator]=function(){return this},u}function g(e){function t(t,i){e[t]&&(n[t]=function(n){return(r=!r)?{value:p(e[t](n)),done:"return"===t}:i?i(n):n})}var n,r;return n={},t("next"),t("throw",function(e){throw e}),t("return"),n[Symbol.iterator]=function(){return this},n}function v(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator];return t?t.call(e):"function"===typeof d?d(e):e[Symbol.iterator]()}function y(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function b(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function w(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.__extends=r,n.d(t,"__assign",function(){return T}),t.__rest=i,t.__decorate=o,t.__param=a,t.__metadata=s,t.__awaiter=l,t.__generator=u,t.__exportStar=c,t.__values=d,t.__read=f,t.__spread=h,t.__await=p,t.__asyncGenerator=m,t.__asyncDelegator=g,t.__asyncValues=v,t.__makeTemplateObject=y,t.__importStar=b,t.__importDefault=w;var E=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])},T=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}},function(e,t,n){"use strict";(function(e){function r(e){var t=String(e);return t.replace(a,"-")}function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.dangerouslyUseGlobalCSS,i=void 0!==n&&n,o=t.productionPrefix,a=void 0===o?"jss":o,s=0;return"undefined"!==typeof window&&(e.__MUI_GENERATOR_COUNTER__+=1,e.__MUI_GENERATOR_COUNTER__>2&&console.error(["Material-UI: we have detected more than needed creation of the class name generator.","You should only use one class name generator on the client side.","If you do otherwise, you take the risk to have conflicting class names in production."].join("\n"))),function(e,t){if(s+=1,i){if(t){if(t.options.name)return"".concat(t.options.name,"-").concat(e.key);if(t.options.classNamePrefix,!1){return"".concat(r(t.options.classNamePrefix),"-").concat(e.key,"-").concat(s)}}return"".concat(a).concat(s)}return"".concat(a).concat(s)}}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;o(n(13));e.__MUI_GENERATOR_COUNTER__=0;var a=/([[\].#*$><+~=|^:(),"'`\s])/g}).call(t,n(18))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={black:"#000",white:"#fff"},i=r;t.default=i},function(e,t,n){"use strict";function r(){return{plugins:[(0,o.default)(),(0,a.default)(),(0,s.default)(),(0,l.default)(),(0,u.default)(),(0,c.default)()]}}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(300)),a=i(n(321)),s=i(n(323)),l=i(n(324)),u=i(n(326)),c=i(n(331)),d=r;t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.create=t.createGenerateClassName=t.sheets=t.RuleList=t.SheetsManager=t.SheetsRegistry=t.toCssValue=t.getDynamicStyles=void 0;var i=n(301);Object.defineProperty(t,"getDynamicStyles",{enumerable:!0,get:function(){return r(i).default}});var o=n(72);Object.defineProperty(t,"toCssValue",{enumerable:!0,get:function(){return r(o).default}});var a=n(159);Object.defineProperty(t,"SheetsRegistry",{enumerable:!0,get:function(){return r(a).default}});var s=n(302);Object.defineProperty(t,"SheetsManager",{enumerable:!0,get:function(){return r(s).default}});var l=n(60);Object.defineProperty(t,"RuleList",{enumerable:!0,get:function(){return r(l).default}});var u=n(99);Object.defineProperty(t,"sheets",{enumerable:!0,get:function(){return r(u).default}});var c=n(162);Object.defineProperty(t,"createGenerateClassName",{enumerable:!0,get:function(){return r(c).default}});var d=n(309),f=r(d),h=t.create=function(e){return new f.default(e)};t.default=h()},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){r(this,e),this.registry=[]}return i(e,[{key:"add",value:function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e)){if(0===t.length||n>=this.index)return void t.push(e);for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)}}},{key:"reset",value:function(){this.registry=[]}},{key:"remove",value:function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)}},{key:"toString",value:function(e){return this.registry.filter(function(e){return e.attached}).map(function(t){return t.toString(e)}).join("\n")}},{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(304),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){return e&&e[i.default]&&e===e[i.default]()}},function(e,t,n){"use strict";function r(e,t){e.renderable=t,e.rules&&t.cssRules&&e.rules.link(t.cssRules)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(44),o=r(i),a=n(163),s=(r(a),n(308)),l=r(s);t.default=function(){var e=0;return function(t,n){(e+=1)>1e10&&(0,o.default)(!1,"[JSS] You might have a memory leak. Rule counter is at %s.",e);var r="c",i="";return n&&(r=n.options.classNamePrefix||"c",null!=n.options.jss.id&&(i+=n.options.jss.id)),""+r+l.default+i+e}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(161),l=r(s),u=n(60),c=r(u),d=function(){function e(t,n){var r=this;i(this,e),this.update=function(e,t){return"string"===typeof e?r.rules.update(e,t):r.rules.update(e),r},this.attached=!1,this.deployed=!1,this.linked=!1,this.classes={},this.options=o({},n,{sheet:this,parent:this,classes:this.classes}),this.renderer=new n.Renderer(this),this.rules=new c.default(this.options);for(var a in t)this.rules.add(a,t[a]);this.rules.process()}return a(e,[{key:"attach",value:function(){return this.attached?this:(this.deployed||this.deploy(),this.renderer.attach(),!this.linked&&this.options.link&&this.link(),this.attached=!0,this)}},{key:"detach",value:function(){return this.attached?(this.renderer.detach(),this.attached=!1,this):this}},{key:"addRule",value:function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)}},{key:"insertRule",value:function(e){var t=this.renderer.insertRule(e);t&&this.options.link&&(0,l.default)(e,t)}},{key:"addRules",value:function(e,t){var n=[];for(var r in e)n.push(this.addRule(r,e[r],t));return n}},{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"deleteRule",value:function(e){var t=this.rules.get(e);return!!t&&(this.rules.remove(t),!this.attached||!t.renderable||this.renderer.deleteRule(t.renderable))}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"deploy",value:function(){return this.renderer.deploy(),this.deployed=!0,this}},{key:"link",value:function(){var e=this.renderer.getRules();return e&&this.rules.link(e),this.linked=!0,this}},{key:"toString",value:function(e){return this.rules.toString(e)}}]),e}();t.default=d},function(e,t,n){"use strict";function r(e){return e in a?a[e]:a[e]=e.replace(i,"-$&").toLowerCase().replace(o,"-ms-")}var i=/[A-Z]/g,o=/^ms-/,a={};e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.jss="64a55d578f856d258dc345b094a2a2b3",t.sheetsRegistry="d4bd0baacbc52bbd48bbb9eb24344ecd",t.managers="b768b78919504fba9de2c03545c5cd3a",t.sheetOptions="6fc570d6bd61383819d0f9e7407c452d"},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component,e.noBase;return n?(0,o.default)({},t,Object.keys(n).reduce(function(e,r){return n[r]&&(e[r]="".concat(t[r]," ").concat(n[r])),e},{})):t}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=(i(n(13)),i(n(103)),r);t.default=a},function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.name;return n&&t.props&&t.props[n]?t.props[n]:{}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r;t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(351),o=r(i),a=n(369),s=r(a),l="function"===typeof s.default&&"symbol"===typeof o.default?function(e){return typeof e}:function(e){return e&&"function"===typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"===typeof s.default&&"symbol"===l(o.default)?function(e){return"undefined"===typeof e?"undefined":l(e)}:function(e){return e&&"function"===typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"===typeof e?"undefined":l(e)}},function(e,t,n){"use strict";var r=n(109),i=n(77),o=n(173),a=n(48),s=n(111),l=n(356),u=n(117),c=n(363),d=n(53)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,p,m,g,v){l(n,t,p);var y,b,w,E=function(e){if(!f&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},T=t+" Iterator",_="values"==m,x=!1,k=e.prototype,S=k[d]||k["@@iterator"]||m&&k[m],C=S||E(m),O=m?_?E("entries"):C:void 0,A="Array"==t?k.entries||S:S;if(A&&(w=c(A.call(new e)))!==Object.prototype&&w.next&&(u(w,T,!0),r||"function"==typeof w[d]||a(w,d,h)),_&&S&&"values"!==S.name&&(x=!0,C=function(){return S.call(this)}),r&&!v||!f&&!x&&k[d]||a(k,d,C),s[t]=C,s[T]=h,m)if(y={values:_?C:E("values"),keys:g?C:E("keys"),entries:O},v)for(b in y)b in k||o(k,b,y[b]);else i(i.P+i.F*(f||x),t,y);return y}},function(e,t,n){var r=n(355);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){e.exports=!n(51)&&!n(78)(function(){return 7!=Object.defineProperty(n(172)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(50),i=n(34).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){e.exports=n(48)},function(e,t,n){var r=n(37),i=n(52),o=n(359)(!1),a=n(114)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(174),i=n(116).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(120),i=n(79),o=n(52),a=n(110),s=n(37),l=n(171),u=Object.getOwnPropertyDescriptor;t.f=n(51)?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(387),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=function(e){return(0,i.default)("displayName",e)};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(388),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=function(e,t){return t+"("+(0,i.default)(e)+")"};t.default=o},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function i(e){function t(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}this.setState(t.bind(this))}function o(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof e.getDerivedStateFromProps&&"function"!==typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"===typeof t.componentWillMount?n="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?s="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var l=e.displayName||e.name,u="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==a?"\n  "+a:"")+(null!==s?"\n  "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=i),"function"===typeof t.getSnapshotBeforeUpdate){if("function"!==typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;c.call(this,e,t,r)}}return e}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"polyfill",function(){return a}),r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";function r(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!==typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0,t.transitionTimeout=r;var i=n(65),o=function(e){return e&&e.__esModule?e:{default:e}}(i);t.timeoutsShape=o.default.oneOfType([o.default.number,o.default.shape({enter:o.default.number,exit:o.default.number}).isRequired]),t.classNamesShape=o.default.oneOfType([o.default.string,o.default.shape({enter:o.default.string,exit:o.default.string,active:o.default.string}),o.default.shape({enter:o.default.string,enterDone:o.default.string,enterActive:o.default.string,exit:o.default.string,exitDone:o.default.string,exitActive:o.default.string})])},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(184))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(15))),h=r(n(185)),p=r(n(5)),m=r(n(187)),g=r(n(191)),v={vertical:"top",horizontal:"right"},y={vertical:"top",horizontal:"left"},b={paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}};t.styles=b;var w=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.menuListRef=null,n.getContentAnchorEl=function(){return n.menuListRef&&n.menuListRef.selectedItemRef?f.default.findDOMNode(n.menuListRef.selectedItemRef):f.default.findDOMNode(n.menuListRef).firstChild},n.focus=function(){if(n.menuListRef&&n.menuListRef.selectedItemRef)return void f.default.findDOMNode(n.menuListRef.selectedItemRef).focus();var e=f.default.findDOMNode(n.menuListRef);e&&e.firstChild&&e.firstChild.focus()},n.handleEnter=function(e){var t=n.props,r=t.disableAutoFocusItem,i=t.theme,o=f.default.findDOMNode(n.menuListRef);if(!0!==r&&n.focus(),o&&e.clientHeight<o.clientHeight&&!o.style.width){var a="".concat((0,h.default)(),"px");o.style["rtl"===i.direction?"paddingLeft":"paddingRight"]=a,o.style.width="calc(100% + ".concat(a,")")}n.props.onEnter&&n.props.onEnter(e)},n.handleListKeyDown=function(e,t){"tab"===t&&(e.preventDefault(),n.props.onClose&&n.props.onClose(e))},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.props.open&&!0!==this.props.disableAutoFocusItem&&this.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.classes,a=(t.disableAutoFocusItem,t.MenuListProps),s=(t.onEnter,t.PaperProps),l=void 0===s?{}:s,u=t.PopoverClasses,c=t.theme,f=(0,o.default)(t,["children","classes","disableAutoFocusItem","MenuListProps","onEnter","PaperProps","PopoverClasses","theme"]);return d.default.createElement(m.default,(0,i.default)({getContentAnchorEl:this.getContentAnchorEl,classes:u,onEnter:this.handleEnter,anchorOrigin:"rtl"===c.direction?v:y,transformOrigin:"rtl"===c.direction?v:y,PaperProps:(0,i.default)({},l,{classes:(0,i.default)({},l.classes,{root:r.paper})})},f),d.default.createElement(g.default,(0,i.default)({onKeyDown:this.handleListKeyDown},a,{ref:function(t){e.menuListRef=t}}),n))}}]),t}(d.default.Component);w.propTypes={},w.defaultProps={disableAutoFocusItem:!1,transitionDuration:"auto"};var E=(0,p.default)(b,{name:"MuiMenu",withTheme:!0})(w);t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((!o&&0!==o||e)&&i.default){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),o=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return o};var r=n(186),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=void 0;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=!("undefined"===typeof window||!window.document||!window.document.createElement),e.exports=t.default},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(404))},function(e,t,n){"use strict";function r(e,t){var n=-1;return e.some(function(e,r){return!!t(e)&&(n=r,!0)}),n}function i(e){return parseInt((0,c.default)(e,"paddingRight")||0,10)}function o(e,t){var n={overflow:"hidden"};if(e.style={overflow:t.style.overflow,paddingRight:t.style.paddingRight},e.overflowing){var r=(0,d.default)();n.paddingRight="".concat(i(t)+r,"px");for(var o=(0,f.default)(t).querySelectorAll(".mui-fixed"),a=0;a<o.length;a+=1){var s=i(o[a]);e.prevPaddings.push(s),o[a].style.paddingRight="".concat(s+r,"px")}}Object.keys(n).forEach(function(e){t.style[e]=n[e]})}function a(e,t){Object.keys(e.style).forEach(function(n){t.style[n]=e.style[n]});for(var n=(0,f.default)(t).querySelectorAll(".mui-fixed"),r=0;r<n.length;r+=1)n[r].style.paddingRight="".concat(e.prevPaddings[r],"px")}var s=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=s(n(8)),u=s(n(9)),c=s(n(408)),d=s(n(185)),f=s(n(30)),h=s(n(416)),p=n(418),m=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,l.default)(this,e);var n=t.hideSiblingNodes,r=void 0===n||n,i=t.handleContainerOverflow,o=void 0===i||i;this.hideSiblingNodes=r,this.handleContainerOverflow=o,this.modals=[],this.containers=[],this.data=[]}return(0,u.default)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),this.hideSiblingNodes&&(0,p.hideSiblings)(t,e.mountNode);var r=this.containers.indexOf(t);if(-1!==r)return this.data[r].modals.push(e),n;var i={modals:[e],overflowing:(0,h.default)(t),prevPaddings:[]};return this.handleContainerOverflow&&o(i,t),this.containers.push(t),this.data.push(i),n}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=r(this.data,function(t){return-1!==t.modals.indexOf(e)}),i=this.data[n],o=this.containers[n];return i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(t,1),0===i.modals.length?(this.handleContainerOverflow&&a(i,o),this.hideSiblingNodes&&(0,p.showSiblings)(o,e.mountNode),this.containers.splice(n,1),this.data.splice(n,1)):this.hideSiblingNodes&&(0,p.ariaHidden)(!1,i.modals[i.modals.length-1].mountNode),t}},{key:"isTopModal",value:function(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}}]),e}(),g=m;t.default=g},function(e,t,n){"use strict";function r(e){return(0,o.default)(e.replace(a,"ms-"))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(409),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=/^-ms-/;e.exports=t.default},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(419))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(422))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(423))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(425))},function(e,t,n){"use strict";function r(e){var t=e.alt,n=e.children,r=e.childrenClassName,i=e.classes,c=e.className,d=e.component,f=e.imgProps,h=e.sizes,p=e.src,m=e.srcSet,g=(0,s.default)(e,["alt","children","childrenClassName","classes","className","component","imgProps","sizes","src","srcSet"]),v=(0,u.default)(i.root,(0,a.default)({},i.colorDefault,n&&!p&&!m),c),y=null;if(p||m)y=l.default.createElement("img",(0,o.default)({alt:t,src:p,srcSet:m,sizes:h,className:i.img},f));else if(r&&l.default.isValidElement(n)){var b=(0,u.default)(r,n.props.className);y=l.default.cloneElement(n,{className:b})}else y=n;return l.default.createElement(d,(0,o.default)({className:v},g),y)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover"}}};t.styles=d,r.propTypes={},r.defaultProps={component:"div"};var f=(0,c.default)(d,{name:"MuiAvatar"})(r);t.default=f},function(e,t,n){"use strict";var r=n(62);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(465)),o=function(e){return(0,i.default)("displayName",e)},a=o;t.default=a},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(474))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(492))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(495))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(496))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(497))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(501))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(502))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(503))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(522))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(523))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(530))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.IconComponent,i=e.input,u=e.inputProps,c=(0,a.default)(e,["children","classes","IconComponent","input","inputProps"]);return s.default.cloneElement(i,(0,o.default)({inputComponent:l.default,inputProps:(0,o.default)({children:t,classes:n,IconComponent:r,type:void 0},u,i?i.props.inputProps:{})},c))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(208))),u=i(n(5)),c=i(n(209)),d=i(n(66)),f=function(e){return{root:{position:"relative",width:"100%"},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",paddingRight:32,width:"calc(100% - 32px)",minWidth:16,cursor:"pointer","&:focus":{background:"light"===e.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&:-moz-focusring":{color:"transparent",textShadow:"0 0 0 #000"},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"}},selectMenu:{width:"auto",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",minHeight:"1.1875em"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",color:e.palette.action.active,"pointer-events":"none"}}};t.styles=f,r.propTypes={},r.defaultProps={IconComponent:c.default,input:s.default.createElement(d.default,null)},r.muiName="NativeSelect";var h=(0,u.default)(f,{name:"MuiNativeSelect"})(r);t.default=h},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=e.disabled,c=e.IconComponent,d=e.inputRef,f=e.name,h=e.onChange,p=e.value,m=(0,s.default)(e,["children","classes","className","disabled","IconComponent","inputRef","name","onChange","value"]);return l.default.createElement("div",{className:n.root},l.default.createElement("select",(0,o.default)({className:(0,u.default)(n.select,(0,a.default)({},n.disabled,i),r),name:f,disabled:i,onChange:h,value:p,ref:d},m),t),l.default.createElement(c,{className:n.icon}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6)));r.propTypes={};var c=r;t.default=c},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M7 10l5 5 5-5z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(536))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(537))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(549))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(554))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(555))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(558))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(572))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(586))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(592))},function(e,t,n){"use strict";var r=n(76);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(106)),a=(0,o.default)(i.default.createElement("g",null,i.default.createElement("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),"ExpandMore");t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.removeHash=t.goToAnchor=t.configureAnchors=t.goToTop=void 0;var i=n(223);Object.defineProperty(t,"goToAnchor",{enumerable:!0,get:function(){return i.updateHash}}),Object.defineProperty(t,"removeHash",{enumerable:!0,get:function(){return i.removeHash}});var o=n(611);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(o).default}});var a=n(224),s=r(a);t.goToTop=s.default.goToTop,t.configureAnchors=s.default.configure},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.getHash=function(){return decodeURI(window.location.hash.slice(1))},t.updateHash=function(e,t){t?window.location.hash=e:window.location.replace("#"+e)},t.removeHash=function(){history.replaceState("",document.title,window.location.pathname+window.location.search)}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(612),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=n(613),l=n(614),u=n(223),c={offset:0,scrollDuration:400,keepLastAnchorHash:!1},d=function e(){var t=this;r(this,e),this.addListeners=function(){window.addEventListener("scroll",t.scrollHandler,!1),window.addEventListener("hashchange",t.handleHashChange)},this.removeListeners=function(){window.removeEventListener("scroll",t.scrollHandler,!1),window.removeEventListener("hashchange",t.handleHashChange)},this.configure=function(e){t.config=i({},c,e)},this.goToTop=function(){0!==(0,l.getScrollTop)()&&(t.forcedHash=!0,window.scroll(0,0))},this.addAnchor=function(e,n){0===Object.keys(t.anchors).length&&t.addListeners(),t.forceHashUpdate(),t.anchors[e]=n},this.removeAnchor=function(e){delete t.anchors[e],0===Object.keys(t.anchors).length&&t.removeListeners()},this.handleScroll=function(){var e=t.config,n=e.offset,r=e.keepLastAnchorHash,i=(0,l.getBestAnchorGivenScrollLocation)(t.anchors,n);i&&(0,u.getHash)()!==i?(t.forcedHash=!0,(0,u.updateHash)(i,!1)):i||r||(0,u.removeHash)()},this.handleHashChange=function(e){t.forcedHash?t.forcedHash=!1:t.goToSection((0,u.getHash)())},this.goToSection=function(e){var n=t.anchors[e];n?(0,a.default)(n,{duration:t.config.scrollDuration,offset:t.config.offset}):(n=document.getElementById(e))&&(0,a.default)(n,{duration:0,offset:t.config.offset})},this.anchors={},this.forcedHash=!1,this.config=c,this.scrollHandler=(0,s.debounce)(this.handleScroll,100),this.forceHashUpdate=(0,s.debounce)(this.handleHashChange,1)};t.default=new d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n,r){return"in"in e&&(e.when=e.in),s.default.Children.count(r)<2?s.default.createElement(u.default,o({},e,{inEffect:t,outEffect:n,children:r})):(r=s.default.Children.map(r,function(r){return s.default.createElement(u.default,o({},e,{inEffect:t,outEffect:n,children:r}))}),"Fragment"in s.default?s.default.createElement(s.default.Fragment,null,r):s.default.createElement("span",null,r))}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=i;var a=n(1),s=r(a),l=n(616),u=r(l);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ViewportSizeType=t.ColumnSizeType=void 0;var r=n(2),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.ColumnSizeType=i.default.oneOfType([i.default.number,i.default.bool]),t.ViewportSizeType=i.default.oneOf(["xs","sm","md","lg","xl"])},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return o}),n.d(t,"d",function(){return a});var r={prefix:"fab",iconName:"facebook",icon:[448,512,[],"f09a","M448 56.7v398.5c0 13.7-11.1 24.7-24.7 24.7H309.1V306.5h58.2l8.7-67.6h-67v-43.2c0-19.6 5.4-32.9 33.5-32.9h35.8v-60.5c-6.2-.8-27.4-2.7-52.2-2.7-51.6 0-87 31.5-87 89.4v49.9h-58.4v67.6h58.4V480H24.7C11.1 480 0 468.9 0 455.3V56.7C0 43.1 11.1 32 24.7 32h398.5c13.7 0 24.8 11.1 24.8 24.7z"]},i={prefix:"fab",iconName:"github",icon:[496,512,[],"f09b","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]},o={prefix:"fab",iconName:"instagram",icon:[448,512,[],"f16d","M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]},a={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]}},function(e,t,n){function r(e,t,n){var r=u[t];if("undefined"===typeof r&&(r=o(t)),r){if(void 0===n)return e.style[r];e.style[r]=c(r,n)}}function i(e,t){for(var n in t)t.hasOwnProperty(n)&&r(e,n,t[n])}function o(e){var t=l(e),n=s(t);return u[t]=u[e]=u[n]=n,n}function a(){2===arguments.length?"string"===typeof arguments[1]?arguments[0].style.cssText=arguments[1]:i(arguments[0],arguments[1]):r(arguments[0],arguments[1],arguments[2])}var s=n(630),l=n(631),u={float:"cssFloat"},c=n(634);e.exports=a,e.exports.set=a,e.exports.get=function(e,t){return Array.isArray(t)?t.reduce(function(t,n){return t[n]=r(e,n||""),t},{}):r(e,t||"")}},function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var i=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,o=function(e){return i.exec(e).slice(1)};t.resolve=function(){for(var t="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,i="/"===a.charAt(0))}return t=n(r(t.split("/"),function(e){return!!e}),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){var i=t.isAbsolute(e),o="/"===a(e,-1);return e=n(r(e.split("/"),function(e){return!!e}),!i).join("/"),e||i||(e="."),e&&o&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l<a;l++)if(i[l]!==o[l]){s=l;break}for(var u=[],l=s;l<i.length;l++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){var t=o(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},t.basename=function(e,t){var n=o(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){return o(e)[3]};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(t,n(43))},function(e,t,n){"use strict";function r(e){function t(t){return e.apply(this,t)}function n(){return this instanceof n?e.apply(this,arguments):new t(arguments)}var r,a,s;o(n,e),o(t,n),r=n.prototype;for(a in r)(s=r[a])&&"object"===typeof s&&(r[a]="concat"in s?s.concat():i(s));return n}var i=n(24),o=n(659);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){function r(){function r(){i[e]=o}var i=n||this,o=i[e];return i[e]=!t,r}return r}e.exports=r},function(e,t){e.exports={AElig:"\xc6",AMP:"&",Aacute:"\xc1",Acirc:"\xc2",Agrave:"\xc0",Aring:"\xc5",Atilde:"\xc3",Auml:"\xc4",COPY:"\xa9",Ccedil:"\xc7",ETH:"\xd0",Eacute:"\xc9",Ecirc:"\xca",Egrave:"\xc8",Euml:"\xcb",GT:">",Iacute:"\xcd",Icirc:"\xce",Igrave:"\xcc",Iuml:"\xcf",LT:"<",Ntilde:"\xd1",Oacute:"\xd3",Ocirc:"\xd4",Ograve:"\xd2",Oslash:"\xd8",Otilde:"\xd5",Ouml:"\xd6",QUOT:'"',REG:"\xae",THORN:"\xde",Uacute:"\xda",Ucirc:"\xdb",Ugrave:"\xd9",Uuml:"\xdc",Yacute:"\xdd",aacute:"\xe1",acirc:"\xe2",acute:"\xb4",aelig:"\xe6",agrave:"\xe0",amp:"&",aring:"\xe5",atilde:"\xe3",auml:"\xe4",brvbar:"\xa6",ccedil:"\xe7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",ecirc:"\xea",egrave:"\xe8",eth:"\xf0",euml:"\xeb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",iacute:"\xed",icirc:"\xee",iexcl:"\xa1",igrave:"\xec",iquest:"\xbf",iuml:"\xef",laquo:"\xab",lt:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",oacute:"\xf3",ocirc:"\xf4",ograve:"\xf2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",otilde:"\xf5",ouml:"\xf6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',raquo:"\xbb",reg:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",times:"\xd7",uacute:"\xfa",ucirc:"\xfb",ugrave:"\xf9",uml:"\xa8",uuml:"\xfc",yacute:"\xfd",yen:"\xa5",yuml:"\xff"}},function(e,t,n){"use strict";function r(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}e.exports=r},function(e,t,n){"use strict";function r(e){return i(e)||o(e)}var i=n(235),o=n(68);e.exports=r},function(e,t,n){"use strict";function r(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}e.exports=r},function(e,t,n){"use strict";function r(e){var t=e||{};return t.commonmark?a:t.gfm?o:i}e.exports=r;var i=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],o=i.concat(["~","|"]),a=o.concat(["\n",'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);r.default=i,r.gfm=o,r.commonmark=a},function(e,t,n){"use strict";e.exports={position:!0,gfm:!0,commonmark:!1,footnotes:!1,pedantic:!1,blocks:n(668)}},function(e,t,n){"use strict";function r(e,t,n,o,a){var s=null!==o&&void 0!==o,l=null!==n&&void 0!==n,u=i(e);if(l&&("number"!==typeof n||n<0||n===1/0))throw new Error("Expected positive finite index or child node");if(s&&(!r(null,o)||!o.children))throw new Error("Expected parent node");if(!t||!t.type||"string"!==typeof t.type)return!1;if(s!==l)throw new Error("Expected both parent and index");return Boolean(u.call(a,t,n,o))}function i(e){if("string"===typeof e)return l(e);if(null===e||void 0===e)return u;if("object"===typeof e)return("length"in e?s:a)(e);if("function"===typeof e)return e;throw new Error("Expected function, string, or object as test")}function o(e){for(var t=[],n=e.length,r=-1;++r<n;)t[r]=i(e[r]);return t}function a(e){function t(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}return t}function s(e){function t(){for(var e=-1;++e<r;)if(n[e].apply(this,arguments))return!0;return!1}var n=o(e),r=n.length;return t}function l(e){function t(t){return Boolean(t&&t.type===e)}return t}function u(){return!0}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n=0,r=0,o=e.charAt(n),a={};o in i;)t=i[o],r+=t,t>1&&(r=Math.floor(r/t)*t),a[r]=n,o=e.charAt(++n);return{indent:r,stops:a}}e.exports=r;var i={" ":1,"\t":4}},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.openCloseTag=new RegExp("^(?:"+r+"|"+i+")"),t.tag=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Za-z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)")},function(e,t,n){"use strict";function r(e){return String(e).replace(/\s+/g," ")}e.exports=r},function(e,t,n){"use strict";function r(e,t){return e.indexOf("<",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);return-1===r?n:n<r?n:r}e.exports=r},function(e,t,n){"use strict";function r(e){return e}e.exports=r},function(e,t,n){"use strict";function r(e){return e.length}e.exports={gfm:!0,commonmark:!1,pedantic:!1,entities:"false",setext:!1,closeAtx:!1,looseTable:!1,spacedTable:!0,paddedTable:!0,stringLength:r,incrementListMarker:!0,fences:!1,fence:"`",bullet:"-",listItemIndent:"tab",rule:"*",ruleSpaces:!0,ruleRepetition:3,strong:"*",emphasis:"_"}},function(e,t,n){"use strict";function r(e){var t;return"&"!==e.charAt(0)?0:(t=e.split("&",2).join("&"),t.length-i(t).length)}var i=n(88);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n,r;for(e=e.split("\n"),n=e.length,r=i(" ",t*o);n--;)0!==e[n].length&&(e[n]=r+e[n]);return e.join("\n")}var i=n(22);e.exports=r;var o=4},function(e,t,n){"use strict";function r(e,t){var n,r,i=0,o=0;if("string"!==typeof t||1!==t.length)throw new Error("Expected character");for(e=String(e),r=e.indexOf(t),n=r;-1!==r;)i++,r===n?i>o&&(o=i):i=1,n=r+1,r=e.indexOf(t,n);return o}e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.referenceType,n="full"===t?e.identifier:"";return"shortcut"===t?n:"["+n+"]"}e.exports=r},function(e,t,n){"use strict";function r(e){function t(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:isNaN(n.offset)?null:n.offset}}return t.displayName=e,t}var i=t;i.start=r("start"),i.end=r("end")},function(e,t,n){"use strict";function r(e,t){return o(t)?e.augment(t,a("text",t.value)):e(t,"div",s(e,t))}function i(e,t,n){var i=t&&t.type,o=l.call(e.handlers,i)?e.handlers[i]:null;if(!i)throw new Error("Expected node, got `"+t+"`");return("function"===typeof o?o:r)(e,t,n)}function o(e){var t=e.data||{};return!(l.call(t,"hName")||l.call(t,"hProperties")||l.call(t,"hChildren"))&&"value"in e}e.exports=i;var a=n(23),s=n(17),l={}.hasOwnProperty},function(e,t,n){"use strict";function r(e,t){return e(t,"hr")}e.exports=r},function(e,t,n){"use strict";function r(e,t){var n={},r=t.ordered?"ol":"ul";return"number"===typeof t.start&&1!==t.start&&(n.start=t.start),e(t,r,n,i(o(e,t),!0))}e.exports=r;var i=n(57),o=n(17)},function(e,t,n){"use strict";function r(e,t){var n=t.identifier;return e(t.position,"sup",{id:"fnref-"+n},[e(t,"a",{href:"#fn-"+n,className:["footnote-ref"]},[i("text",n)])])}e.exports=r;var i=n(23)},function(e,t,n){"use strict";function r(e,t,n){var r=t.referenceType;if("collapsed"!==r&&"full"!==r&&!n)return"imageReference"===t.type?i("text","!["+t.alt+"]"):[i("text","[")].concat(o(e,t),i("text","]"))}e.exports=r;var i=n(23),o=n(17)},function(e,t,n){"use strict";var r=n(787),i=n(789),o="function"===typeof Symbol&&"symbol"===typeof Symbol(),a=Object.prototype.toString,s=function(e){return"function"===typeof e&&"[object Function]"===a.call(e)},l=Object.defineProperty&&function(){var e={};try{Object.defineProperty(e,"x",{enumerable:!1,value:e});for(var t in e)return!1;return e.x===e}catch(e){return!1}}(),u=function(e,t,n,r){(!(t in e)||s(r)&&r())&&(l?Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},c=function(e,t){var n=arguments.length>2?arguments[2]:{},a=r(t);o&&(a=a.concat(Object.getOwnPropertySymbols(t))),i(a,function(r){u(e,r,t[r],n[r])})};c.supportsDescriptors=!!l,e.exports=c},function(e,t,n){"use strict";e.exports=function(e){return e!==e}},function(e,t,n){"use strict";var r=n(257);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}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")}}(),i=n(143),o=n(260),a={create:function(e){return(0,i.mapObj)(e,function(e){var t=r(e,2),n=t[0],o=t[1];return[n,{_name:n+"_"+(0,i.hashObject)(o),_definition:o}]})},rehydrate:function(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];(0,o.addRenderedClassNames)(e)}},s={renderStatic:function(e){return(0,o.reset)(),(0,o.startBuffering)(),{html:e(),css:{content:(0,o.flushToString)(),renderedClassNames:(0,o.getRenderedClassNames)()}}}},l={suppressStyleInjection:function(){(0,o.reset)(),(0,o.startBuffering)()},clearBufferAndResumeStyleInjection:function(){(0,o.reset)()}},u=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.injectAndGetClassName)(!0,t)};t.default={StyleSheet:a,StyleSheetServer:s,StyleSheetTestUtils:l,css:u},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(801),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=n(802),a=n(143),s=null,l=function(e){if(null==s&&null==(s=document.querySelector("style[data-aphrodite]"))){var t=document.head||document.getElementsByTagName("head")[0];s=document.createElement("style"),s.type="text/css",s.setAttribute("data-aphrodite",""),t.appendChild(s)}s.styleSheet?s.styleSheet.cssText+=e:s.appendChild(document.createTextNode(e))},u={fontFamily:function e(t){return Array.isArray(t)?t.map(e).join(","):"object"===typeof t?(p(t.fontFamily,"@font-face",[t],!1),'"'+t.fontFamily+'"'):t},animationName:function(e){if("object"!==typeof e)return e;var t="keyframe_"+(0,a.hashObject)(e),n="@keyframes "+t+"{";return Object.keys(e).forEach(function(t){n+=(0,o.generateCSS)(t,[e[t]],u,!1)}),n+="}",h(t,n),t}},c={},d="",f=!1,h=function(e,t){if(!c[e]){if(!f){if("undefined"===typeof document)throw new Error("Cannot automatically buffer without a document");f=!0,(0,i.default)(y)}d+=t,c[e]=!0}},p=function(e,t,n,r){if(!c[e]){var i=(0,o.generateCSS)(t,n,u,r);h(e,i)}};t.injectStyleOnce=p;var m=function(){d="",c={},f=!1,s=null};t.reset=m;var g=function(){if(f)throw new Error("Cannot buffer while already buffering");f=!0};t.startBuffering=g;var v=function(){f=!1;var e=d;return d="",e};t.flushToString=v;var y=function(){var e=v();e.length>0&&l(e)};t.flushToStyleTag=y;var b=function(){return Object.keys(c)};t.getRenderedClassNames=b;var w=function(e){e.forEach(function(e){c[e]=!0})};t.addRenderedClassNames=w;var E=function(e,t){var n=t.filter(function(e){return e});if(0===n.length)return"";var r=n.map(function(e){return e._name}).join("-o_O-");return p(r,"."+r,n.map(function(e){return e._definition}),e),r};t.injectAndGetClassName=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={Webkit:{transform:!0,transformOrigin:!0,transformOriginX:!0,transformOriginY:!0,backfaceVisibility:!0,perspective:!0,perspectiveOrigin:!0,transformStyle:!0,transformOriginZ:!0,animation:!0,animationDelay:!0,animationDirection:!0,animationFillMode:!0,animationDuration:!0,animationIterationCount:!0,animationName:!0,animationPlayState:!0,animationTimingFunction:!0,appearance:!0,userSelect:!0,fontKerning:!0,textEmphasisPosition:!0,textEmphasis:!0,textEmphasisStyle:!0,textEmphasisColor:!0,boxDecorationBreak:!0,clipPath:!0,maskImage:!0,maskMode:!0,maskRepeat:!0,maskPosition:!0,maskClip:!0,maskOrigin:!0,maskSize:!0,maskComposite:!0,mask:!0,maskBorderSource:!0,maskBorderMode:!0,maskBorderSlice:!0,maskBorderWidth:!0,maskBorderOutset:!0,maskBorderRepeat:!0,maskBorder:!0,maskType:!0,textDecorationStyle:!0,textDecorationSkip:!0,textDecorationLine:!0,textDecorationColor:!0,filter:!0,fontFeatureSettings:!0,breakAfter:!0,breakBefore:!0,breakInside:!0,columnCount:!0,columnFill:!0,columnGap:!0,columnRule:!0,columnRuleColor:!0,columnRuleStyle:!0,columnRuleWidth:!0,columns:!0,columnSpan:!0,columnWidth:!0,flex:!0,flexBasis:!0,flexDirection:!0,flexGrow:!0,flexFlow:!0,flexShrink:!0,flexWrap:!0,alignContent:!0,alignItems:!0,alignSelf:!0,justifyContent:!0,order:!0,transition:!0,transitionDelay:!0,transitionDuration:!0,transitionProperty:!0,transitionTimingFunction:!0,backdropFilter:!0,scrollSnapType:!0,scrollSnapPointsX:!0,scrollSnapPointsY:!0,scrollSnapDestination:!0,scrollSnapCoordinate:!0,shapeImageThreshold:!0,shapeImageMargin:!0,shapeImageOutside:!0,hyphens:!0,flowInto:!0,flowFrom:!0,regionFragment:!0,textSizeAdjust:!0},Moz:{appearance:!0,userSelect:!0,boxSizing:!0,textAlignLast:!0,textDecorationStyle:!0,textDecorationSkip:!0,textDecorationLine:!0,textDecorationColor:!0,tabSize:!0,hyphens:!0,fontFeatureSettings:!0,breakAfter:!0,breakBefore:!0,breakInside:!0,columnCount:!0,columnFill:!0,columnGap:!0,columnRule:!0,columnRuleColor:!0,columnRuleStyle:!0,columnRuleWidth:!0,columns:!0,columnSpan:!0,columnWidth:!0},ms:{flex:!0,flexBasis:!1,flexDirection:!0,flexGrow:!1,flexFlow:!0,flexShrink:!1,flexWrap:!0,alignContent:!1,alignItems:!1,alignSelf:!1,justifyContent:!1,order:!1,transform:!0,transformOrigin:!0,transformOriginX:!0,transformOriginY:!0,userSelect:!0,wrapFlow:!0,wrapThrough:!0,wrapMargin:!0,scrollSnapType:!0,scrollSnapPointsX:!0,scrollSnapPointsY:!0,scrollSnapDestination:!0,scrollSnapCoordinate:!0,touchAction:!0,hyphens:!0,flowInto:!0,flowFrom:!0,breakBefore:!0,breakAfter:!0,breakInside:!0,regionFragment:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridTemplate:!0,gridAutoColumns:!0,gridAutoRows:!0,gridAutoFlow:!0,grid:!0,gridRowStart:!0,gridColumnStart:!0,gridRowEnd:!0,gridRow:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridRowGap:!0,gridArea:!0,gridGap:!0,textSizeAdjust:!0}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e.exports=t.default},function(e,t,n){var r;!function(){"use strict";var i=!("undefined"===typeof window||!window.document||!window.document.createElement),o={canUseDOM:i,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0!==(r=function(){return o}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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.defaultProps=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(1),l=(function(e){e&&e.__esModule}(s),t.defaultProps={attributes:{},styles:{}}),u=function(e){function t(){var e,n,o,a;r(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=o=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.originalAttributes={},o.originalStyles={},a=n,i(o,a)}return o(t,e),a(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.styles,i=t.target,o=void 0===i?document.body:i;o&&(this.attributeKeys=Object.keys(n),this.styleKeys=Object.keys(r),this.styleKeys.length&&this.styleKeys.forEach(function(t){e.originalStyles[t]=o.style.getPropertyValue(t),o.style.setProperty(t,r[t])}),this.attributeKeys.length&&this.attributeKeys.forEach(function(t){e.originalAttributes[t]=o.getAttribute(t)||"",o.setAttribute(t,n[t])}))}},{key:"componentWillUnmount",value:function(){var e=this,t=this.props.target,n=void 0===t?document.body:t;n&&(this.styleKeys.length&&this.styleKeys.forEach(function(t){n.style.setProperty(t,e.originalStyles[t])}),this.attributeKeys.length&&this.attributeKeys.forEach(function(t){e.originalAttributes[t]?n.setAttribute(t,e.originalAttributes[t]):n.removeAttribute(t)}))}},{key:"render",value:function(){return null}}]),t}(s.PureComponent);u.defaultProps=l,t.default=u},function(e,t,n){"use strict";function r(e){e.preventDefault()}function i(e){e.stopPropagation()}function o(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function a(){return!!window&&("ontouchstart"in window||navigator.maxTouchPoints)}function s(){if(!document||!window)return 0;var e=parseInt(document.body.paddingRight,10)||0,t=document.body?document.body.clientWidth:0;return window.innerWidth-t+e||0}function l(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if(window&&window.innerHeight)return window.innerHeight*e}function c(){if(document&&document.body)return document.body.clientHeight}function d(e){return isNaN(e)?e:e+"px"}Object.defineProperty(t,"__esModule",{value:!0}),t.preventTouchMove=r,t.allowTouchMove=i,t.preventInertiaScroll=o,t.isTouchDevice=a,t.getPadding=s,t.camelToKebab=l,t.getWindowHeight=u,t.getDocumentHeight=c,t.parse=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=t.theme,r=e.direction,o=e.icon,s=e.onClick,l=e.size,u=i(e,["direction","icon","onClick","size"]),f=d.StyleSheet.create((0,m.default)(y,n));return c.default.createElement("button",a({type:"button",className:(0,d.css)(f.arrow,f["arrow__direction__"+r],l&&f["arrow__size__"+l]),onClick:s,onTouchEnd:s},u),c.default.createElement(v.default,{fill:!!n.arrow&&n.arrow.fill||h.default.arrow.fill,type:o}))}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(2),l=r(s),u=n(1),c=r(u),d=n(42),f=n(41),h=r(f),p=n(58),m=r(p),g=n(267),v=r(g);o.propTypes={direction:l.default.oneOf(["left","right"]),icon:l.default.string,onClick:l.default.func.isRequired,size:l.default.oneOf(["medium","small"]).isRequired},o.defaultProps={size:"medium"},o.contextTypes={theme:l.default.object.isRequired};var y={arrow:{background:"none",border:"none",borderRadius:4,cursor:"pointer",outline:"none",padding:10,position:"absolute",top:"50%",WebkitTouchCallout:"none",userSelect:"none"},arrow__size__medium:{height:h.default.arrow.height,marginTop:h.default.arrow.height/-2,width:40,"@media (min-width: 768px)":{width:70}},arrow__size__small:{height:h.default.thumbnail.size,marginTop:h.default.thumbnail.size/-2,width:30,"@media (min-width: 500px)":{width:40}},arrow__direction__right:{right:h.default.container.gutter.horizontal},arrow__direction__left:{left:h.default.container.gutter.horizontal}};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(2),s=r(a),l=n(1),u=r(l),c=n(822),d=r(c),f=n(823),h=r(f),p=n(824),m=r(p),g={arrowLeft:d.default,arrowRight:h.default,close:m.default},v=function(e){var t=e.fill,n=e.type,r=i(e,["fill","type"]),a=g[n];return u.default.createElement("span",o({dangerouslySetInnerHTML:{__html:a(t)}},r))};v.propTypes={fill:s.default.string,type:s.default.oneOf(Object.keys(g))},v.defaultProps={fill:"white"},t.default=v},function(e,t,n){n(269),e.exports=n(273)},function(e,t,n){"use strict";"undefined"===typeof Promise&&(n(270).enable(),window.Promise=n(271)),n(272),Object.assign=n(70)},function(e,t,n){"use strict";function r(){u=!1,s._47=null,s._71=null}function i(e){function t(t){(e.allRejections||a(d[t].error,e.whitelist||l))&&(d[t].displayId=c++,e.onUnhandled?(d[t].logged=!0,e.onUnhandled(d[t].displayId,d[t].error)):(d[t].logged=!0,o(d[t].displayId,d[t].error)))}function n(t){d[t].logged&&(e.onHandled?e.onHandled(d[t].displayId,d[t].error):d[t].onUnhandled||(console.warn("Promise Rejection Handled (id: "+d[t].displayId+"):"),console.warn('  This means you can ignore any previous messages of the form "Possible Unhandled Promise Rejection" with id '+d[t].displayId+".")))}e=e||{},u&&r(),u=!0;var i=0,c=0,d={};s._47=function(e){2===e._83&&d[e._56]&&(d[e._56].logged?n(e._56):clearTimeout(d[e._56].timeout),delete d[e._56])},s._71=function(e,n){0===e._75&&(e._56=i++,d[e._56]={displayId:null,error:n,timeout:setTimeout(t.bind(null,e._56),a(n,l)?100:2e3),logged:!1})}}function o(e,t){console.warn("Possible Unhandled Promise Rejection (id: "+e+"):"),((t&&(t.stack||t))+"").split("\n").forEach(function(e){console.warn("  "+e)})}function a(e,t){return t.some(function(t){return e instanceof t})}var s=n(145),l=[ReferenceError,TypeError,RangeError],u=!1;t.disable=r,t.enable=i},function(e,t,n){"use strict";function r(e){var t=new i(i._44);return t._83=1,t._18=e,t}var i=n(145);e.exports=i;var o=r(!0),a=r(!1),s=r(null),l=r(void 0),u=r(0),c=r("");i.resolve=function(e){if(e instanceof i)return e;if(null===e)return s;if(void 0===e)return l;if(!0===e)return o;if(!1===e)return a;if(0===e)return u;if(""===e)return c;if("object"===typeof e||"function"===typeof e)try{var t=e.then;if("function"===typeof t)return new i(t.bind(e))}catch(e){return new i(function(t,n){n(e)})}return r(e)},i.all=function(e){var t=Array.prototype.slice.call(e);return new i(function(e,n){function r(a,s){if(s&&("object"===typeof s||"function"===typeof s)){if(s instanceof i&&s.then===i.prototype.then){for(;3===s._83;)s=s._18;return 1===s._83?r(a,s._18):(2===s._83&&n(s._18),void s.then(function(e){r(a,e)},n))}var l=s.then;if("function"===typeof l){return void new i(l.bind(s)).then(function(e){r(a,e)},n)}}t[a]=s,0===--o&&e(t)}if(0===t.length)return e([]);for(var o=t.length,a=0;a<t.length;a++)r(a,t[a])})},i.reject=function(e){return new i(function(t,n){n(e)})},i.race=function(e){return new i(function(t,n){e.forEach(function(e){i.resolve(e).then(t,n)})})},i.prototype.catch=function(e){return this.then(null,e)}},function(e,t){!function(e){"use strict";function t(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!==typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return v.iterable&&(t[Symbol.iterator]=function(){return t}),t}function i(e){this.map={},e instanceof i?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function o(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function a(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function s(e){var t=new FileReader,n=a(t);return t.readAsArrayBuffer(e),n}function l(e){var t=new FileReader,n=a(t);return t.readAsText(e),n}function u(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function c(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"===typeof e)this._bodyText=e;else if(v.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(v.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(v.arrayBuffer&&v.blob&&b(e))this._bodyArrayBuffer=c(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!v.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!w(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=c(e)}else this._bodyText="";this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},v.blob&&(this.blob=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?o(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(s)}),this.text=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return l(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(u(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},v.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(e){var t=e.toUpperCase();return E.indexOf(t)>-1?t:e}function h(e,t){t=t||{};var n=t.body;if(e instanceof h){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new i(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new i(t.headers)),this.method=f(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function m(e){var t=new i;return e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t}function g(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new i(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var v={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(v.arrayBuffer)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(e){return e&&DataView.prototype.isPrototypeOf(e)},w=ArrayBuffer.isView||function(e){return e&&y.indexOf(Object.prototype.toString.call(e))>-1};i.prototype.append=function(e,r){e=t(e),r=n(r);var i=this.map[e];this.map[e]=i?i+","+r:r},i.prototype.delete=function(e){delete this.map[t(e)]},i.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},i.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},i.prototype.set=function(e,r){this.map[t(e)]=n(r)},i.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},i.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},i.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},i.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},v.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries);var E=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];h.prototype.clone=function(){return new h(this,{body:this._bodyInit})},d.call(h.prototype),d.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},g.error=function(){var e=new g(null,{status:0,statusText:""});return e.type="error",e};var T=[301,302,303,307,308];g.redirect=function(e,t){if(-1===T.indexOf(t))throw new RangeError("Invalid status code");return new g(null,{status:t,headers:{location:e}})},e.Headers=i,e.Request=h,e.Response=g,e.fetch=function(e,t){return new Promise(function(n,r){var i=new h(e,t),o=new XMLHttpRequest;o.onload=function(){var e={status:o.status,statusText:o.statusText,headers:m(o.getAllResponseHeaders()||"")};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var t="response"in o?o.response:o.responseText;n(new g(t,e))},o.onerror=function(){r(new TypeError("Network request failed"))},o.ontimeout=function(){r(new TypeError("Network request failed"))},o.open(i.method,i.url,!0),"include"===i.credentials&&(o.withCredentials=!0),"responseType"in o&&v.blob&&(o.responseType="blob"),i.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send("undefined"===typeof i._bodyInit?null:i._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!==typeof self?self:this)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n.n(r),o=n(15),a=n.n(o),s=n(148),l=n.n(s),u=n(285),c=(n.n(u),n(286)),d=n(856),f=(n.n(d),Object(d.detect)()),h=function(e){alert(e.toUpperCase()+" is not entirely supported by Team Washington's Team Wiki. For best performance please use Firefox or Google Chrome! \n    \nYou may continue to use the site, but please note that there will be bugs and poor performance. Sorry for any inconvenience, and thank you!")};switch(document.title="Washington iGEM",f&&f.name){case"edge":case"ie":h(f.name)}var p={apiKey:"AIzaSyDCQF40jxKpF8So-kbj_uqtYKBnlGHVReA",authDomain:"wiki2018-987d7.firebaseapp.com",databaseURL:"https://wiki2018-987d7.firebaseio.com",projectId:"wiki2018-987d7",storageBucket:"wiki2018-987d7.appspot.com",messagingSenderId:"158742751002"};l.a.initializeApp(p),window.W_IGEM_VERSION="1.0.5",a.a.render(i.a.createElement(c.a,null),document.getElementById("root"))},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);y(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function i(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||R}function o(){}function a(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||R}function s(e,t,n){var r=void 0,i={},o=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(o=""+t.key),t)D.call(t,r)&&!L.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===i[r]&&(i[r]=s[r]);return{$$typeof:T,type:e,key:o,ref:a,props:i,_owner:M.current}}function l(e){return"object"===typeof e&&null!==e&&e.$$typeof===T}function u(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function c(e,t,n,r){if(W.length){var i=W.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function d(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>W.length&&W.push(e)}function f(e,t,n,i){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var a=!1;if(null===e)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case T:case _:a=!0}}if(a)return n(i,e,""===t?"."+h(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var s=0;s<e.length;s++){o=e[s];var l=t+h(o,s);a+=f(o,l,n,i)}else if(null===e||"undefined"===typeof e?l=null:(l=I&&e[I]||e["@@iterator"],l="function"===typeof l?l:null),"function"===typeof l)for(e=l.call(e),s=0;!(o=e.next()).done;)o=o.value,l=t+h(o,s++),a+=f(o,l,n,i);else"object"===o&&(n=""+e,r("31","[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return a}function h(e,t){return"object"===typeof e&&null!==e&&null!=e.key?u(e.key):t.toString(36)}function p(e,t){e.func.call(e.context,t,e.count++)}function m(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?g(e,r,n,w.thatReturnsArgument):null!=e&&(l(e)&&(t=i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+n,e={$$typeof:T,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),r.push(e))}function g(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(j,"$&/")+"/"),t=c(t,o,r,i),null==e||f(e,"",m,t),d(t)}var v=n(70),y=n(92),b=n(147),w=n(93),E="function"===typeof Symbol&&Symbol.for,T=E?Symbol.for("react.element"):60103,_=E?Symbol.for("react.portal"):60106,x=E?Symbol.for("react.fragment"):60107,k=E?Symbol.for("react.strict_mode"):60108,S=E?Symbol.for("react.profiler"):60114,C=E?Symbol.for("react.provider"):60109,O=E?Symbol.for("react.context"):60110,A=E?Symbol.for("react.async_mode"):60111,P=E?Symbol.for("react.forward_ref"):60112;E&&Symbol.for("react.timeout");var I="function"===typeof Symbol&&Symbol.iterator,R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};i.prototype.isReactComponent={},i.prototype.setState=function(e,t){"object"!==typeof e&&"function"!==typeof e&&null!=e&&r("85"),this.updater.enqueueSetState(this,e,t,"setState")},i.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=i.prototype;var N=a.prototype=new o;N.constructor=a,v(N,i.prototype),N.isPureReactComponent=!0;var M={current:null},D=Object.prototype.hasOwnProperty,L={key:!0,ref:!0,__self:!0,__source:!0},j=/\/+/g,W=[],B={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return g(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;t=c(null,null,t,n),null==e||f(e,"",p,t),d(t)},count:function(e){return null==e?0:f(e,"",w.thatReturnsNull,null)},toArray:function(e){var t=[];return g(e,t,null,w.thatReturnsArgument),t},only:function(e){return l(e)||r("143"),e}},createRef:function(){return{current:null}},Component:i,PureComponent:a,createContext:function(e,t){return void 0===t&&(t=null),e={$$typeof:O,_calculateChangedBits:t,_defaultValue:e,_currentValue:e,_currentValue2:e,_changedBits:0,_changedBits2:0,Provider:null,Consumer:null},e.Provider={$$typeof:C,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:P,render:e}},Fragment:x,StrictMode:k,unstable_AsyncMode:A,unstable_Profiler:S,createElement:s,cloneElement:function(e,t,n){(null===e||void 0===e)&&r("267",e);var i=void 0,o=v({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(s=t.ref,l=M.current),void 0!==t.key&&(a=""+t.key);var u=void 0;e.type&&e.type.defaultProps&&(u=e.type.defaultProps);for(i in t)D.call(t,i)&&!L.hasOwnProperty(i)&&(o[i]=void 0===t[i]&&void 0!==u?u[i]:t[i])}if(1===(i=arguments.length-2))o.children=n;else if(1<i){u=Array(i);for(var c=0;c<i;c++)u[c]=arguments[c+2];o.children=u}return{$$typeof:T,type:e.type,key:a,ref:s,props:o,_owner:l}},createFactory:function(e){var t=s.bind(null,e);return t.type=e,t},isValidElement:l,version:"16.4.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:M,assign:v}},F={default:B},z=F&&B||F;e.exports=z.default?z.default:z},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);Mr(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function i(e,t,n,r,i,o,a,s,l){this._hasCaughtError=!1,this._caughtError=null;var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this._caughtError=e,this._hasCaughtError=!0}}function o(){if(Hr._hasRethrowError){var e=Hr._rethrowError;throw Hr._rethrowError=null,Hr._hasRethrowError=!1,e}}function a(){if(Gr)for(var e in qr){var t=qr[e],n=Gr.indexOf(e);if(-1<n||r("96",e),!Vr[n]){t.extractEvents||r("97",e),Vr[n]=t,n=t.eventTypes;for(var i in n){var o=void 0,a=n[i],l=t,u=i;Kr.hasOwnProperty(u)&&r("99",u),Kr[u]=a;var c=a.phasedRegistrationNames;if(c){for(o in c)c.hasOwnProperty(o)&&s(c[o],l,u);o=!0}else a.registrationName?(s(a.registrationName,l,u),o=!0):o=!1;o||r("98",i,e)}}}}function s(e,t,n){Yr[e]&&r("100",e),Yr[e]=t,Zr[e]=t.eventTypes[n].dependencies}function l(e){Gr&&r("101"),Gr=Array.prototype.slice.call(e),a()}function u(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var i=e[t];qr.hasOwnProperty(t)&&qr[t]===i||(qr[t]&&r("102",t),qr[t]=i,n=!0)}n&&a()}function c(e,t,n,r){t=e.type||"unknown-event",e.currentTarget=Jr(r),Hr.invokeGuardedCallbackAndCatchFirstError(t,n,void 0,e),e.currentTarget=null}function d(e,t){return null==t&&r("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function f(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function h(e,t){if(e){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var i=0;i<n.length&&!e.isPropagationStopped();i++)c(e,t,n[i],r[i]);else n&&c(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function p(e){return h(e,!0)}function m(e){return h(e,!1)}function g(e,t){var n=e.stateNode;if(!n)return null;var i=Qr(n);if(!i)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(i=!i.disabled)||(e=e.type,i=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!i;break e;default:e=!1}return e?null:(n&&"function"!==typeof n&&r("231",t,typeof n),n)}function v(e,t){null!==e&&(ei=d(ei,e)),e=ei,ei=null,e&&(t?f(e,p):f(e,m),ei&&r("95"),Hr.rethrowCaughtError())}function y(e,t,n,r){for(var i=null,o=0;o<Vr.length;o++){var a=Vr[o];a&&(a=a.extractEvents(e,t,n,r))&&(i=d(i,a))}v(i,!1)}function b(e){if(e[ii])return e[ii];for(;!e[ii];){if(!e.parentNode)return null;e=e.parentNode}return e=e[ii],5===e.tag||6===e.tag?e:null}function w(e){if(5===e.tag||6===e.tag)return e.stateNode;r("33")}function E(e){return e[oi]||null}function T(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function _(e,t,n){for(var r=[];e;)r.push(e),e=T(e);for(e=r.length;0<e--;)t(r[e],"captured",n);for(e=0;e<r.length;e++)t(r[e],"bubbled",n)}function x(e,t,n){(t=g(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=d(n._dispatchListeners,t),n._dispatchInstances=d(n._dispatchInstances,e))}function k(e){e&&e.dispatchConfig.phasedRegistrationNames&&_(e._targetInst,x,e)}function S(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst;t=t?T(t):null,_(t,x,e)}}function C(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=g(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=d(n._dispatchListeners,t),n._dispatchInstances=d(n._dispatchInstances,e))}function O(e){e&&e.dispatchConfig.registrationName&&C(e._targetInst,null,e)}function A(e){f(e,k)}function P(e,t,n,r){if(n&&r)e:{for(var i=n,o=r,a=0,s=i;s;s=T(s))a++;s=0;for(var l=o;l;l=T(l))s++;for(;0<a-s;)i=T(i),a--;for(;0<s-a;)o=T(o),s--;for(;a--;){if(i===o||i===o.alternate)break e;i=T(i),o=T(o)}i=null}else i=null;for(o=i,i=[];n&&n!==o&&(null===(a=n.alternate)||a!==o);)i.push(n),n=T(n);for(n=[];r&&r!==o&&(null===(a=r.alternate)||a!==o);)n.push(r),r=T(r);for(r=0;r<i.length;r++)C(i[r],"bubbled",e);for(e=n.length;0<e--;)C(n[e],"captured",t)}function I(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function R(e){if(ui[e])return ui[e];if(!li[e])return e;var t,n=li[e];for(t in n)if(n.hasOwnProperty(t)&&t in ci)return ui[e]=n[t];return e}function N(){return!gi&&Lr.canUseDOM&&(gi="textContent"in document.documentElement?"textContent":"innerText"),gi}function M(){if(vi._fallbackText)return vi._fallbackText;var e,t,n=vi._startText,r=n.length,i=D(),o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return vi._fallbackText=i.slice(e,1<t?1-t:void 0),vi._fallbackText}function D(){return"value"in vi._root?vi._root.value:vi._root[N()]}function L(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface;for(var i in e)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Wr.thatReturnsTrue:Wr.thatReturnsFalse,this.isPropagationStopped=Wr.thatReturnsFalse,this}function j(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function W(e){e instanceof this||r("223"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function B(e){e.eventPool=[],e.getPooled=j,e.release=W}function F(e,t){switch(e){case"keyup":return-1!==Ti.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function z(e){return e=e.detail,"object"===typeof e&&"data"in e?e.data:null}function U(e,t){switch(e){case"compositionend":return z(t);case"keypress":return 32!==t.which?null:(Ai=!0,Ci);case"textInput":return e=t.data,e===Ci&&Ai?null:e;default:return null}}function H(e,t){if(Pi)return"compositionend"===e||!_i&&F(e,t)?(e=M(),vi._root=null,vi._startText=null,vi._fallbackText=null,Pi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Si?null:t.data;default:return null}}function G(e){if(e=$r(e)){Ri&&"function"===typeof Ri.restoreControlledState||r("194");var t=Qr(e.stateNode);Ri.restoreControlledState(e.stateNode,e.type,t)}}function q(e){Mi?Di?Di.push(e):Di=[e]:Mi=e}function V(){return null!==Mi||null!==Di}function K(){if(Mi){var e=Mi,t=Di;if(Di=Mi=null,G(e),t)for(e=0;e<t.length;e++)G(t[e])}}function Y(e,t){return e(t)}function Z(e,t,n){return e(t,n)}function X(){}function Q(e,t){if(ji)return e(t);ji=!0;try{return Y(e,t)}finally{ji=!1,V()&&(X(),K())}}function $(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wi[e.type]:"textarea"===t}function J(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ee(e,t){return!(!Lr.canUseDOM||t&&!("addEventListener"in document))&&(e="on"+e,t=e in document,t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t="function"===typeof t[e]),t)}function te(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ne(e){var t=te(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function re(e){e._valueTracker||(e._valueTracker=ne(e))}function ie(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=te(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function oe(e){return null===e||"undefined"===typeof e?null:(e=Qi&&e[Qi]||e["@@iterator"],"function"===typeof e?e:null)}function ae(e){var t=e.type;if("function"===typeof t)return t.displayName||t.name;if("string"===typeof t)return t;switch(t){case Yi:return"AsyncMode";case Ki:return"Context.Consumer";case Hi:return"ReactFragment";case Ui:return"ReactPortal";case qi:return"Profiler("+e.pendingProps.id+")";case Vi:return"Context.Provider";case Gi:return"StrictMode";case Xi:return"Timeout"}if("object"===typeof t&&null!==t)switch(t.$$typeof){case Zi:return e=t.render.displayName||t.render.name||"",""!==e?"ForwardRef("+e+")":"ForwardRef"}return null}function se(e){var t="";do{e:switch(e.tag){case 0:case 1:case 2:case 5:var n=e._debugOwner,r=e._debugSource,i=ae(e),o=null;n&&(o=ae(n)),n=r,i="\n    in "+(i||"Unknown")+(n?" (at "+n.fileName.replace(/^.*[\\\/]/,"")+":"+n.lineNumber+")":o?" (created by "+o+")":"");break e;default:i=""}t+=i,e=e.return}while(e);return t}function le(e){return!!Ji.call(to,e)||!Ji.call(eo,e)&&($i.test(e)?to[e]=!0:(eo[e]=!0,!1))}function ue(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}function ce(e,t,n,r){if(null===t||"undefined"===typeof t||ue(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function de(e,t,n,r,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t}function fe(e){return e[1].toUpperCase()}function he(e,t,n,r){var i=no.hasOwnProperty(t)?no[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(ce(t,n,i,r)&&(n=null),r||null===i?le(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(i=i.type,n=3===i||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function pe(e,t){var n=t.checked;return jr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function me(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=we(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ge(e,t){null!=(t=t.checked)&&he(e,"checked",t,!1)}function ve(e,t){ge(e,t);var n=we(t.value);null!=n&&("number"===t.type?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n)),t.hasOwnProperty("value")?be(e,t.type,n):t.hasOwnProperty("defaultValue")&&be(e,t.type,we(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ye(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){t=""+e._wrapperState.initialValue;var r=e.value;n||t===r||(e.value=t),e.defaultValue=t}n=e.name,""!==n&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,""!==n&&(e.name=n)}function be(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function we(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Ee(e,t,n){return e=L.getPooled(io.change,e,t,n),e.type="change",q(n),A(e),e}function Te(e){v(e,!1)}function _e(e){if(ie(w(e)))return e}function xe(e,t){if("change"===e)return t}function ke(){oo&&(oo.detachEvent("onpropertychange",Se),ao=oo=null)}function Se(e){"value"===e.propertyName&&_e(ao)&&(e=Ee(ao,e,J(e)),Q(Te,e))}function Ce(e,t,n){"focus"===e?(ke(),oo=t,ao=n,oo.attachEvent("onpropertychange",Se)):"blur"===e&&ke()}function Oe(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return _e(ao)}function Ae(e,t){if("click"===e)return _e(t)}function Pe(e,t){if("input"===e||"change"===e)return _e(t)}function Ie(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=co[e])&&!!t[e]}function Re(){return Ie}function Ne(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!==(2&t.effectTag))return 1;for(;t.return;)if(t=t.return,0!==(2&t.effectTag))return 1}return 3===t.tag?2:3}function Me(e){2!==Ne(e)&&r("188")}function De(e){var t=e.alternate;if(!t)return t=Ne(e),3===t&&r("188"),1===t?null:e;for(var n=e,i=t;;){var o=n.return,a=o?o.alternate:null;if(!o||!a)break;if(o.child===a.child){for(var s=o.child;s;){if(s===n)return Me(o),e;if(s===i)return Me(o),t;s=s.sibling}r("188")}if(n.return!==i.return)n=o,i=a;else{s=!1;for(var l=o.child;l;){if(l===n){s=!0,n=o,i=a;break}if(l===i){s=!0,i=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,i=o;break}if(l===i){s=!0,i=a,n=o;break}l=l.sibling}s||r("189")}}n.alternate!==i&&r("190")}return 3!==n.tag&&r("188"),n.stateNode.current===n?e:t}function Le(e){if(!(e=De(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function je(e){if(!(e=De(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child&&4!==t.tag)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function We(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Be(e,t){var n=e[0];e=e[1];var r="on"+(e[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:r,captured:r+"Capture"},dependencies:[n],isInteractive:t},Co[e]=t,Oo[n]=t}function Fe(e){var t=e.targetInst;do{if(!t){e.ancestors.push(t);break}var n;for(n=t;n.return;)n=n.return;if(!(n=3!==n.tag?null:n.stateNode.containerInfo))break;e.ancestors.push(t),t=b(n)}while(t);for(n=0;n<e.ancestors.length;n++)t=e.ancestors[n],y(e.topLevelType,t,e.nativeEvent,J(e.nativeEvent))}function ze(e){Ro=!!e}function Ue(e,t){if(!t)return null;var n=(Po(e)?Ge:qe).bind(null,e);t.addEventListener(e,n,!1)}function He(e,t){if(!t)return null;var n=(Po(e)?Ge:qe).bind(null,e);t.addEventListener(e,n,!0)}function Ge(e,t){Z(qe,e,t)}function qe(e,t){if(Ro){var n=J(t);if(n=b(n),null===n||"number"!==typeof n.tag||2===Ne(n)||(n=null),Io.length){var r=Io.pop();r.topLevelType=e,r.nativeEvent=t,r.targetInst=n,e=r}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{Q(Fe,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>Io.length&&Io.push(e)}}}function Ve(e){return Object.prototype.hasOwnProperty.call(e,Lo)||(e[Lo]=Do++,Mo[e[Lo]]={}),Mo[e[Lo]]}function Ke(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ye(e,t){var n=Ke(e);e=0;for(var r;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ke(n)}}function Ze(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Xe(e,t){if(Uo||null==Bo||Bo!==Br())return null;var n=Bo;return"selectionStart"in n&&Ze(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?(n=window.getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}):n=void 0,zo&&Fr(zo,n)?null:(zo=n,e=L.getPooled(Wo.select,Fo,e,t),e.type="select",e.target=Bo,A(e),e)}function Qe(e){var t="";return Dr.Children.forEach(e,function(e){null==e||"string"!==typeof e&&"number"!==typeof e||(t+=e)}),t}function $e(e,t){return e=jr({children:void 0},t),(t=Qe(t.children))&&(e.children=t),e}function Je(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+n,t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function et(e,t){var n=t.value;e._wrapperState={initialValue:null!=n?n:t.defaultValue,wasMultiple:!!t.multiple}}function tt(e,t){return null!=t.dangerouslySetInnerHTML&&r("91"),jr({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function nt(e,t){var n=t.value;null==n&&(n=t.defaultValue,t=t.children,null!=t&&(null!=n&&r("92"),Array.isArray(t)&&(1>=t.length||r("93"),t=t[0]),n=""+t),null==n&&(n="")),e._wrapperState={initialValue:""+n}}function rt(e,t){var n=t.value;null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)}function it(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function ot(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function at(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ot(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function st(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function lt(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=n,o=t[n];i=null==o||"boolean"===typeof o||""===o?"":r||"number"!==typeof o||0===o||ma.hasOwnProperty(i)&&ma[i]?(""+o).trim():o+"px","float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}function ut(e,t,n){t&&(va[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&r("137",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&r("60"),"object"===typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||r("61")),null!=t.style&&"object"!==typeof t.style&&r("62",n()))}function ct(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function dt(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=Ve(e);t=Zr[t];for(var r=0;r<t.length;r++){var i=t[r];if(!n.hasOwnProperty(i)||!n[i]){switch(i){case"scroll":He("scroll",e);break;case"focus":case"blur":He("focus",e),He("blur",e),n.blur=!0,n.focus=!0;break;case"cancel":case"close":ee(i,!0)&&He(i,e);break;case"invalid":case"submit":case"reset":break;default:-1===mi.indexOf(i)&&Ue(i,e)}n[i]=!0}}}function ft(e,t,n,r){return n=9===n.nodeType?n:n.ownerDocument,r===fa.html&&(r=ot(e)),r===fa.html?"script"===e?(e=n.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):e="string"===typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(r,e),e}function ht(e,t){return(9===t.nodeType?t:t.ownerDocument).createTextNode(e)}function pt(e,t,n,r){var i=ct(t,n);switch(t){case"iframe":case"object":Ue("load",e);var o=n;break;case"video":case"audio":for(o=0;o<mi.length;o++)Ue(mi[o],e);o=n;break;case"source":Ue("error",e),o=n;break;case"img":case"image":case"link":Ue("error",e),Ue("load",e),o=n;break;case"form":Ue("reset",e),Ue("submit",e),o=n;break;case"details":Ue("toggle",e),o=n;break;case"input":me(e,n),o=pe(e,n),Ue("invalid",e),dt(r,"onChange");break;case"option":o=$e(e,n);break;case"select":et(e,n),o=jr({},n,{value:void 0}),Ue("invalid",e),dt(r,"onChange");break;case"textarea":nt(e,n),o=tt(e,n),Ue("invalid",e),dt(r,"onChange");break;default:o=n}ut(t,o,ya);var a,s=o;for(a in s)if(s.hasOwnProperty(a)){var l=s[a];"style"===a?lt(e,l,ya):"dangerouslySetInnerHTML"===a?null!=(l=l?l.__html:void 0)&&pa(e,l):"children"===a?"string"===typeof l?("textarea"!==t||""!==l)&&st(e,l):"number"===typeof l&&st(e,""+l):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(Yr.hasOwnProperty(a)?null!=l&&dt(r,a):null!=l&&he(e,a,l,i))}switch(t){case"input":re(e),ye(e,n,!1);break;case"textarea":re(e),it(e,n);break;case"option":null!=n.value&&e.setAttribute("value",n.value);break;case"select":e.multiple=!!n.multiple,t=n.value,null!=t?Je(e,!!n.multiple,t,!1):null!=n.defaultValue&&Je(e,!!n.multiple,n.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Wr)}}function mt(e,t,n,r,i){var o=null;switch(t){case"input":n=pe(e,n),r=pe(e,r),o=[];break;case"option":n=$e(e,n),r=$e(e,r),o=[];break;case"select":n=jr({},n,{value:void 0}),r=jr({},r,{value:void 0}),o=[];break;case"textarea":n=tt(e,n),r=tt(e,r),o=[];break;default:"function"!==typeof n.onClick&&"function"===typeof r.onClick&&(e.onclick=Wr)}ut(t,r,ya),t=e=void 0;var a=null;for(e in n)if(!r.hasOwnProperty(e)&&n.hasOwnProperty(e)&&null!=n[e])if("style"===e){var s=n[e];for(t in s)s.hasOwnProperty(t)&&(a||(a={}),a[t]="")}else"dangerouslySetInnerHTML"!==e&&"children"!==e&&"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&"autoFocus"!==e&&(Yr.hasOwnProperty(e)?o||(o=[]):(o=o||[]).push(e,null));for(e in r){var l=r[e];if(s=null!=n?n[e]:void 0,r.hasOwnProperty(e)&&l!==s&&(null!=l||null!=s))if("style"===e)if(s){for(t in s)!s.hasOwnProperty(t)||l&&l.hasOwnProperty(t)||(a||(a={}),a[t]="");for(t in l)l.hasOwnProperty(t)&&s[t]!==l[t]&&(a||(a={}),a[t]=l[t])}else a||(o||(o=[]),o.push(e,a)),a=l;else"dangerouslySetInnerHTML"===e?(l=l?l.__html:void 0,s=s?s.__html:void 0,null!=l&&s!==l&&(o=o||[]).push(e,""+l)):"children"===e?s===l||"string"!==typeof l&&"number"!==typeof l||(o=o||[]).push(e,""+l):"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&(Yr.hasOwnProperty(e)?(null!=l&&dt(i,e),o||s===l||(o=[])):(o=o||[]).push(e,l))}return a&&(o=o||[]).push("style",a),o}function gt(e,t,n,r,i){"input"===n&&"radio"===i.type&&null!=i.name&&ge(e,i),ct(n,r),r=ct(n,i);for(var o=0;o<t.length;o+=2){var a=t[o],s=t[o+1];"style"===a?lt(e,s,ya):"dangerouslySetInnerHTML"===a?pa(e,s):"children"===a?st(e,s):he(e,a,s,r)}switch(n){case"input":ve(e,i);break;case"textarea":rt(e,i);break;case"select":e._wrapperState.initialValue=void 0,t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!i.multiple,n=i.value,null!=n?Je(e,!!i.multiple,n,!1):t!==!!i.multiple&&(null!=i.defaultValue?Je(e,!!i.multiple,i.defaultValue,!0):Je(e,!!i.multiple,i.multiple?[]:"",!1))}}function vt(e,t,n,r,i){switch(t){case"iframe":case"object":Ue("load",e);break;case"video":case"audio":for(r=0;r<mi.length;r++)Ue(mi[r],e);break;case"source":Ue("error",e);break;case"img":case"image":case"link":Ue("error",e),Ue("load",e);break;case"form":Ue("reset",e),Ue("submit",e);break;case"details":Ue("toggle",e);break;case"input":me(e,n),Ue("invalid",e),dt(i,"onChange");break;case"select":et(e,n),Ue("invalid",e),dt(i,"onChange");break;case"textarea":nt(e,n),Ue("invalid",e),dt(i,"onChange")}ut(t,n,ya),r=null;for(var o in n)if(n.hasOwnProperty(o)){var a=n[o];"children"===o?"string"===typeof a?e.textContent!==a&&(r=["children",a]):"number"===typeof a&&e.textContent!==""+a&&(r=["children",""+a]):Yr.hasOwnProperty(o)&&null!=a&&dt(i,o)}switch(t){case"input":re(e),ye(e,n,!0);break;case"textarea":re(e),it(e,n);break;case"select":case"option":break;default:"function"===typeof n.onClick&&(e.onclick=Wr)}return r}function yt(e,t){return e.nodeValue!==t}function bt(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function wt(e,t){return"textarea"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&"string"===typeof t.dangerouslySetInnerHTML.__html}function Et(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function Tt(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function _t(e){return{current:e}}function xt(e){0>Sa||(e.current=ka[Sa],ka[Sa]=null,Sa--)}function kt(e,t){Sa++,ka[Sa]=e.current,e.current=t}function St(e){return Ot(e)?Aa:Ca.current}function Ct(e,t){var n=e.type.contextTypes;if(!n)return Ur;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ot(e){return 2===e.tag&&null!=e.type.childContextTypes}function At(e){Ot(e)&&(xt(Oa,e),xt(Ca,e))}function Pt(e){xt(Oa,e),xt(Ca,e)}function It(e,t,n){Ca.current!==Ur&&r("168"),kt(Ca,t,e),kt(Oa,n,e)}function Rt(e,t){var n=e.stateNode,i=e.type.childContextTypes;if("function"!==typeof n.getChildContext)return t;n=n.getChildContext();for(var o in n)o in i||r("108",ae(e)||"Unknown",o);return jr({},t,n)}function Nt(e){if(!Ot(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Ur,Aa=Ca.current,kt(Ca,t,e),kt(Oa,Oa.current,e),!0}function Mt(e,t){var n=e.stateNode;if(n||r("169"),t){var i=Rt(e,Aa);n.__reactInternalMemoizedMergedChildContext=i,xt(Oa,e),xt(Ca,e),kt(Ca,i,e)}else xt(Oa,e);kt(Oa,t,e)}function Dt(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function Lt(e,t,n){var r=e.alternate;return null===r?(r=new Dt(e.tag,t,e.key,e.mode),r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.expirationTime=n,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function jt(e,t,n){var i=e.type,o=e.key;if(e=e.props,"function"===typeof i)var a=i.prototype&&i.prototype.isReactComponent?2:0;else if("string"===typeof i)a=5;else switch(i){case Hi:return Wt(e.children,t,n,o);case Yi:a=11,t|=3;break;case Gi:a=11,t|=2;break;case qi:return i=new Dt(15,e,o,4|t),i.type=qi,i.expirationTime=n,i;case Xi:a=16,t|=2;break;default:e:{switch("object"===typeof i&&null!==i?i.$$typeof:null){case Vi:a=13;break e;case Ki:a=12;break e;case Zi:a=14;break e;default:r("130",null==i?i:typeof i,"")}a=void 0}}return t=new Dt(a,e,o,t),t.type=i,t.expirationTime=n,t}function Wt(e,t,n,r){return e=new Dt(10,e,r,t),e.expirationTime=n,e}function Bt(e,t,n){return e=new Dt(6,e,null,t),e.expirationTime=n,e}function Ft(e,t,n){return t=new Dt(4,null!==e.children?e.children:[],e.key,t),t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zt(e,t,n){return t=new Dt(3,null,null,t?3:0),e={current:t,containerInfo:e,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,pendingCommitExpirationTime:0,finishedWork:null,context:null,pendingContext:null,hydrate:n,remainingExpirationTime:0,firstBatch:null,nextScheduledRoot:null},t.stateNode=e}function Ut(e){return function(t){try{return e(t)}catch(e){}}}function Ht(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Pa=Ut(function(e){return t.onCommitFiberRoot(n,e)}),Ia=Ut(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Gt(e){"function"===typeof Pa&&Pa(e)}function qt(e){"function"===typeof Ia&&Ia(e)}function Vt(e){return{expirationTime:0,baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Kt(e){return{expirationTime:e.expirationTime,baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Yt(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Zt(e,t,n){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t),(0===e.expirationTime||e.expirationTime>n)&&(e.expirationTime=n)}function Xt(e,t,n){var r=e.alternate;if(null===r){var i=e.updateQueue,o=null;null===i&&(i=e.updateQueue=Vt(e.memoizedState))}else i=e.updateQueue,o=r.updateQueue,null===i?null===o?(i=e.updateQueue=Vt(e.memoizedState),o=r.updateQueue=Vt(r.memoizedState)):i=e.updateQueue=Kt(o):null===o&&(o=r.updateQueue=Kt(i));null===o||i===o?Zt(i,t,n):null===i.lastUpdate||null===o.lastUpdate?(Zt(i,t,n),Zt(o,t,n)):(Zt(i,t,n),o.lastUpdate=t)}function Qt(e,t,n){var r=e.updateQueue;r=null===r?e.updateQueue=Vt(e.memoizedState):$t(e,r),null===r.lastCapturedUpdate?r.firstCapturedUpdate=r.lastCapturedUpdate=t:(r.lastCapturedUpdate.next=t,r.lastCapturedUpdate=t),(0===r.expirationTime||r.expirationTime>n)&&(r.expirationTime=n)}function $t(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Kt(t)),t}function Jt(e,t,n,r,i,o){switch(n.tag){case 1:return e=n.payload,"function"===typeof e?e.call(o,r,i):e;case 3:e.effectTag=-1025&e.effectTag|64;case 0:if(e=n.payload,null===(i="function"===typeof e?e.call(o,r,i):e)||void 0===i)break;return jr({},r,i);case 2:Ra=!0}return r}function en(e,t,n,r,i){if(Ra=!1,!(0===t.expirationTime||t.expirationTime>i)){t=$t(e,t);for(var o=t.baseState,a=null,s=0,l=t.firstUpdate,u=o;null!==l;){var c=l.expirationTime;c>i?(null===a&&(a=l,o=u),(0===s||s>c)&&(s=c)):(u=Jt(e,t,l,u,n,r),null!==l.callback&&(e.effectTag|=32,l.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=l:(t.lastEffect.nextEffect=l,t.lastEffect=l))),l=l.next}for(c=null,l=t.firstCapturedUpdate;null!==l;){var d=l.expirationTime;d>i?(null===c&&(c=l,null===a&&(o=u)),(0===s||s>d)&&(s=d)):(u=Jt(e,t,l,u,n,r),null!==l.callback&&(e.effectTag|=32,l.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=l:(t.lastCapturedEffect.nextEffect=l,t.lastCapturedEffect=l))),l=l.next}null===a&&(t.lastUpdate=null),null===c?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===c&&(o=u),t.baseState=o,t.firstUpdate=a,t.firstCapturedUpdate=c,t.expirationTime=s,e.memoizedState=u}}function tn(e,t){"function"!==typeof e&&r("191",e),e.call(t)}function nn(e,t,n){for(null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),e=t.firstEffect,t.firstEffect=t.lastEffect=null;null!==e;){var r=e.callback;null!==r&&(e.callback=null,tn(r,n)),e=e.nextEffect}for(e=t.firstCapturedEffect,t.firstCapturedEffect=t.lastCapturedEffect=null;null!==e;)t=e.callback,null!==t&&(e.callback=null,tn(t,n)),e=e.nextEffect}function rn(e,t){return{value:e,source:t,stack:se(t)}}function on(e){var t=e.type._context;kt(Da,t._changedBits,e),kt(Ma,t._currentValue,e),kt(Na,e,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode}function an(e){var t=Da.current,n=Ma.current;xt(Na,e),xt(Ma,e),xt(Da,e),e=e.type._context,e._currentValue=n,e._changedBits=t}function sn(e){return e===La&&r("174"),e}function ln(e,t){kt(Ba,t,e),kt(Wa,e,e),kt(ja,La,e);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:at(null,"");break;default:n=8===n?t.parentNode:t,t=n.namespaceURI||null,n=n.tagName,t=at(t,n)}xt(ja,e),kt(ja,t,e)}function un(e){xt(ja,e),xt(Wa,e),xt(Ba,e)}function cn(e){Wa.current===e&&(xt(ja,e),xt(Wa,e))}function dn(e,t,n){var r=e.memoizedState;t=t(n,r),r=null===t||void 0===t?r:jr({},r,t),e.memoizedState=r,null!==(e=e.updateQueue)&&0===e.expirationTime&&(e.baseState=r)}function fn(e,t,n,r,i,o){var a=e.stateNode;return e=e.type,"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(n,i,o):!e.prototype||!e.prototype.isPureReactComponent||(!Fr(t,n)||!Fr(r,i))}function hn(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Fa.enqueueReplaceState(t,t.state,null)}function pn(e,t){var n=e.type,r=e.stateNode,i=e.pendingProps,o=St(e);r.props=i,r.state=e.memoizedState,r.refs=Ur,r.context=Ct(e,o),o=e.updateQueue,null!==o&&(en(e,o,i,r,t),r.state=e.memoizedState),o=e.type.getDerivedStateFromProps,"function"===typeof o&&(dn(e,o,i),r.state=e.memoizedState),"function"===typeof n.getDerivedStateFromProps||"function"===typeof r.getSnapshotBeforeUpdate||"function"!==typeof r.UNSAFE_componentWillMount&&"function"!==typeof r.componentWillMount||(n=r.state,"function"===typeof r.componentWillMount&&r.componentWillMount(),"function"===typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),n!==r.state&&Fa.enqueueReplaceState(r,r.state,null),null!==(o=e.updateQueue)&&(en(e,o,i,r,t),r.state=e.memoizedState)),"function"===typeof r.componentDidMount&&(e.effectTag|=4)}function mn(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){n=n._owner;var i=void 0;n&&(2!==n.tag&&r("110"),i=n.stateNode),i||r("147",e);var o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=i.refs===Ur?i.refs={}:i.refs;null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}"string"!==typeof e&&r("148"),n._owner||r("254",e)}return e}function gn(e,t){"textarea"!==e.type&&r("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function vn(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function i(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t,n){return e=Lt(e,t,n),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index,r<n?(t.effectTag=2,n):r):(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?(t=Bt(n,e.mode,r),t.return=e,t):(t=o(t,n,r),t.return=e,t)}function u(e,t,n,r){return null!==t&&t.type===n.type?(r=o(t,n.props,r),r.ref=mn(e,t,n),r.return=e,r):(r=jt(n,e.mode,r),r.ref=mn(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Ft(n,e.mode,r),t.return=e,t):(t=o(t,n.children||[],r),t.return=e,t)}function d(e,t,n,r,i){return null===t||10!==t.tag?(t=Wt(n,e.mode,r,i),t.return=e,t):(t=o(t,n,r),t.return=e,t)}function f(e,t,n){if("string"===typeof t||"number"===typeof t)return t=Bt(""+t,e.mode,n),t.return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case zi:return n=jt(t,e.mode,n),n.ref=mn(e,null,t),n.return=e,n;case Ui:return t=Ft(t,e.mode,n),t.return=e,t}if(za(t)||oe(t))return t=Wt(t,e.mode,n,null),t.return=e,t;gn(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==i?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case zi:return n.key===i?n.type===Hi?d(e,t,n.props.children,r,i):u(e,t,n,r):null;case Ui:return n.key===i?c(e,t,n,r):null}if(za(n)||oe(n))return null!==i?null:d(e,t,n,r,null);gn(e,n)}return null}function p(e,t,n,r,i){if("string"===typeof r||"number"===typeof r)return e=e.get(n)||null,l(t,e,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case zi:return e=e.get(null===r.key?n:r.key)||null,r.type===Hi?d(t,e,r.props.children,i,r.key):u(t,e,r,i);case Ui:return e=e.get(null===r.key?n:r.key)||null,c(t,e,r,i)}if(za(r)||oe(r))return e=e.get(n)||null,d(t,e,r,i,null);gn(t,r)}return null}function m(r,o,s,l){for(var u=null,c=null,d=o,m=o=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=h(r,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(r,d),o=a(v,o,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===s.length)return n(r,d),u;if(null===d){for(;m<s.length;m++)(d=f(r,s[m],l))&&(o=a(d,o,m),null===c?u=d:c.sibling=d,c=d);return u}for(d=i(r,d);m<s.length;m++)(g=p(d,r,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),o=a(g,o,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(r,e)}),u}function g(o,s,l,u){var c=oe(l);"function"!==typeof c&&r("150"),null==(l=c.call(l))&&r("151");for(var d=c=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=h(o,m,y.value,u);if(null===b){m||(m=v);break}e&&m&&null===b.alternate&&t(o,m),s=a(b,s,g),null===d?c=b:d.sibling=b,d=b,m=v}if(y.done)return n(o,m),c;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=f(o,y.value,u))&&(s=a(y,s,g),null===d?c=y:d.sibling=y,d=y);return c}for(m=i(o,m);!y.done;g++,y=l.next())null!==(y=p(m,o,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=a(y,s,g),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach(function(e){return t(o,e)}),c}return function(e,i,a,l){var u="object"===typeof a&&null!==a&&a.type===Hi&&null===a.key;u&&(a=a.props.children);var c="object"===typeof a&&null!==a;if(c)switch(a.$$typeof){case zi:e:{for(c=a.key,u=i;null!==u;){if(u.key===c){if(10===u.tag?a.type===Hi:u.type===a.type){n(e,u.sibling),i=o(u,a.type===Hi?a.props.children:a.props,l),i.ref=mn(e,u,a),i.return=e,e=i;break e}n(e,u);break}t(e,u),u=u.sibling}a.type===Hi?(i=Wt(a.props.children,e.mode,l,a.key),i.return=e,e=i):(l=jt(a,e.mode,l),l.ref=mn(e,i,a),l.return=e,e=l)}return s(e);case Ui:e:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(e,i.sibling),i=o(i,a.children||[],l),i.return=e,e=i;break e}n(e,i);break}t(e,i),i=i.sibling}i=Ft(a,e.mode,l),i.return=e,e=i}return s(e)}if("string"===typeof a||"number"===typeof a)return a=""+a,null!==i&&6===i.tag?(n(e,i.sibling),i=o(i,a,l),i.return=e,e=i):(n(e,i),i=Bt(a,e.mode,l),i.return=e,e=i),s(e);if(za(a))return m(e,i,a,l);if(oe(a))return g(e,i,a,l);if(c&&gn(e,a),"undefined"===typeof a&&!u)switch(e.tag){case 2:case 1:l=e.type,r("152",l.displayName||l.name||"Component")}return n(e,i)}}function yn(e,t){var n=new Dt(5,null,null,0);n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function bn(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function wn(e){if(Va){var t=qa;if(t){var n=t;if(!bn(e,t)){if(!(t=Et(n))||!bn(e,t))return e.effectTag|=2,Va=!1,void(Ga=e);yn(Ga,n)}Ga=e,qa=Tt(t)}else e.effectTag|=2,Va=!1,Ga=e}}function En(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;Ga=e}function Tn(e){if(e!==Ga)return!1;if(!Va)return En(e),Va=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!wt(t,e.memoizedProps))for(t=qa;t;)yn(e,t),t=Et(t);return En(e),qa=Ga?Et(e.stateNode):null,!0}function _n(){qa=Ga=null,Va=!1}function xn(e,t,n){kn(e,t,n,t.expirationTime)}function kn(e,t,n,r){t.child=null===e?Ha(t,null,n,r):Ua(t,e.child,n,r)}function Sn(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Cn(e,t,n,r,i){Sn(e,t);var o=0!==(64&t.effectTag);if(!n&&!o)return r&&Mt(t,!1),In(e,t);n=t.stateNode,Bi.current=t;var a=o?null:n.render();return t.effectTag|=1,o&&(kn(e,t,null,i),t.child=null),kn(e,t,a,i),t.memoizedState=n.state,t.memoizedProps=n.props,r&&Mt(t,!0),t.child}function On(e){var t=e.stateNode;t.pendingContext?It(e,t.pendingContext,t.pendingContext!==t.context):t.context&&It(e,t.context,!1),ln(e,t.containerInfo)}function An(e,t,n,r){var i=e.child;for(null!==i&&(i.return=e);null!==i;){switch(i.tag){case 12:var o=0|i.stateNode;if(i.type===t&&0!==(o&n)){for(o=i;null!==o;){var a=o.alternate;if(0===o.expirationTime||o.expirationTime>r)o.expirationTime=r,null!==a&&(0===a.expirationTime||a.expirationTime>r)&&(a.expirationTime=r);else{if(null===a||!(0===a.expirationTime||a.expirationTime>r))break;a.expirationTime=r}o=o.return}o=null}else o=i.child;break;case 13:o=i.type===e.type?null:i.child;break;default:o=i.child}if(null!==o)o.return=i;else for(o=i;null!==o;){if(o===e){o=null;break}if(null!==(i=o.sibling)){i.return=o.return,o=i;break}o=o.return}i=o}}function Pn(e,t,n){var r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=!0;if(Oa.current)a=!1;else if(o===i)return t.stateNode=0,on(t),In(e,t);var s=i.value;if(t.memoizedProps=i,null===o)s=1073741823;else if(o.value===i.value){if(o.children===i.children&&a)return t.stateNode=0,on(t),In(e,t);s=0}else{var l=o.value;if(l===s&&(0!==l||1/l===1/s)||l!==l&&s!==s){if(o.children===i.children&&a)return t.stateNode=0,on(t),In(e,t);s=0}else if(s="function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,s):1073741823,0===(s|=0)){if(o.children===i.children&&a)return t.stateNode=0,on(t),In(e,t)}else An(t,r,s,n)}return t.stateNode=s,on(t),xn(e,t,i.children),t.child}function In(e,t){if(null!==e&&t.child!==e.child&&r("153"),null!==t.child){e=t.child;var n=Lt(e,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,n=n.sibling=Lt(e,e.pendingProps,e.expirationTime),n.return=t;n.sibling=null}return t.child}function Rn(e,t,n){if(0===t.expirationTime||t.expirationTime>n){switch(t.tag){case 3:On(t);break;case 2:Nt(t);break;case 4:ln(t,t.stateNode.containerInfo);break;case 13:on(t)}return null}switch(t.tag){case 0:null!==e&&r("155");var i=t.type,o=t.pendingProps,a=St(t);return a=Ct(t,a),i=i(o,a),t.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof?(a=t.type,t.tag=2,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,a=a.getDerivedStateFromProps,"function"===typeof a&&dn(t,a,o),o=Nt(t),i.updater=Fa,t.stateNode=i,i._reactInternalFiber=t,pn(t,n),e=Cn(e,t,!0,o,n)):(t.tag=1,xn(e,t,i),t.memoizedProps=o,e=t.child),e;case 1:return o=t.type,n=t.pendingProps,Oa.current||t.memoizedProps!==n?(i=St(t),i=Ct(t,i),o=o(n,i),t.effectTag|=1,xn(e,t,o),t.memoizedProps=n,e=t.child):e=In(e,t),e;case 2:if(o=Nt(t),null===e)if(null===t.stateNode){var s=t.pendingProps,l=t.type;i=St(t);var u=2===t.tag&&null!=t.type.contextTypes;a=u?Ct(t,i):Ur,s=new l(s,a),t.memoizedState=null!==s.state&&void 0!==s.state?s.state:null,s.updater=Fa,t.stateNode=s,s._reactInternalFiber=t,u&&(u=t.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=i,u.__reactInternalMemoizedMaskedChildContext=a),pn(t,n),i=!0}else{l=t.type,i=t.stateNode,u=t.memoizedProps,a=t.pendingProps,i.props=u;var c=i.context;s=St(t),s=Ct(t,s);var d=l.getDerivedStateFromProps;(l="function"===typeof d||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(u!==a||c!==s)&&hn(t,i,a,s),Ra=!1;var f=t.memoizedState;c=i.state=f;var h=t.updateQueue;null!==h&&(en(t,h,a,i,n),c=t.memoizedState),u!==a||f!==c||Oa.current||Ra?("function"===typeof d&&(dn(t,d,a),c=t.memoizedState),(u=Ra||fn(t,u,a,f,c,s))?(l||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||("function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"===typeof i.componentDidMount&&(t.effectTag|=4)):("function"===typeof i.componentDidMount&&(t.effectTag|=4),t.memoizedProps=a,t.memoizedState=c),i.props=a,i.state=c,i.context=s,i=u):("function"===typeof i.componentDidMount&&(t.effectTag|=4),i=!1)}else l=t.type,i=t.stateNode,a=t.memoizedProps,u=t.pendingProps,i.props=a,c=i.context,s=St(t),s=Ct(t,s),d=l.getDerivedStateFromProps,(l="function"===typeof d||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(a!==u||c!==s)&&hn(t,i,u,s),Ra=!1,c=t.memoizedState,f=i.state=c,h=t.updateQueue,null!==h&&(en(t,h,u,i,n),f=t.memoizedState),a!==u||c!==f||Oa.current||Ra?("function"===typeof d&&(dn(t,d,u),f=t.memoizedState),(d=Ra||fn(t,a,u,c,f,s))?(l||"function"!==typeof i.UNSAFE_componentWillUpdate&&"function"!==typeof i.componentWillUpdate||("function"===typeof i.componentWillUpdate&&i.componentWillUpdate(u,f,s),"function"===typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(u,f,s)),"function"===typeof i.componentDidUpdate&&(t.effectTag|=4),"function"===typeof i.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!==typeof i.componentDidUpdate||a===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!==typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=u,t.memoizedState=f),i.props=u,i.state=f,i.context=s,i=d):("function"!==typeof i.componentDidUpdate||a===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!==typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),i=!1);return Cn(e,t,i,o,n);case 3:return On(t),o=t.updateQueue,null!==o?(i=t.memoizedState,i=null!==i?i.element:null,en(t,o,t.pendingProps,null,n),(o=t.memoizedState.element)===i?(_n(),e=In(e,t)):(i=t.stateNode,(i=(null===e||null===e.child)&&i.hydrate)&&(qa=Tt(t.stateNode.containerInfo),Ga=t,i=Va=!0),i?(t.effectTag|=2,t.child=Ha(t,null,o,n)):(_n(),xn(e,t,o)),e=t.child)):(_n(),e=In(e,t)),e;case 5:return sn(Ba.current),o=sn(ja.current),i=at(o,t.type),o!==i&&(kt(Wa,t,t),kt(ja,i,t)),null===e&&wn(t),o=t.type,u=t.memoizedProps,i=t.pendingProps,a=null!==e?e.memoizedProps:null,Oa.current||u!==i||((u=1&t.mode&&!!i.hidden)&&(t.expirationTime=1073741823),u&&1073741823===n)?(u=i.children,wt(o,i)?u=null:a&&wt(o,a)&&(t.effectTag|=16),Sn(e,t),1073741823!==n&&1&t.mode&&i.hidden?(t.expirationTime=1073741823,t.memoizedProps=i,e=null):(xn(e,t,u),t.memoizedProps=i,e=t.child)):e=In(e,t),e;case 6:return null===e&&wn(t),t.memoizedProps=t.pendingProps,null;case 16:return null;case 4:return ln(t,t.stateNode.containerInfo),o=t.pendingProps,Oa.current||t.memoizedProps!==o?(null===e?t.child=Ua(t,null,o,n):xn(e,t,o),t.memoizedProps=o,e=t.child):e=In(e,t),e;case 14:return o=t.type.render,n=t.pendingProps,i=t.ref,Oa.current||t.memoizedProps!==n||i!==(null!==e?e.ref:null)?(o=o(n,i),xn(e,t,o),t.memoizedProps=n,e=t.child):e=In(e,t),e;case 10:return n=t.pendingProps,Oa.current||t.memoizedProps!==n?(xn(e,t,n),t.memoizedProps=n,e=t.child):e=In(e,t),e;case 11:return n=t.pendingProps.children,Oa.current||null!==n&&t.memoizedProps!==n?(xn(e,t,n),t.memoizedProps=n,e=t.child):e=In(e,t),e;case 15:return n=t.pendingProps,t.memoizedProps===n?e=In(e,t):(xn(e,t,n.children),t.memoizedProps=n,e=t.child),e;case 13:return Pn(e,t,n);case 12:e:if(i=t.type,a=t.pendingProps,u=t.memoizedProps,o=i._currentValue,s=i._changedBits,Oa.current||0!==s||u!==a){if(t.memoizedProps=a,l=a.unstable_observedBits,void 0!==l&&null!==l||(l=1073741823),t.stateNode=l,0!==(s&l))An(t,i,s,n);else if(u===a){e=In(e,t);break e}n=a.children,n=n(o),t.effectTag|=1,xn(e,t,n),e=t.child}else e=In(e,t);return e;default:r("156")}}function Nn(e){e.effectTag|=4}function Mn(e,t){var n=t.pendingProps;switch(t.tag){case 1:return null;case 2:return At(t),null;case 3:un(t),Pt(t);var i=t.stateNode;return i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),null!==e&&null!==e.child||(Tn(t),t.effectTag&=-3),Ka(t),null;case 5:cn(t),i=sn(Ba.current);var o=t.type;if(null!==e&&null!=t.stateNode){var a=e.memoizedProps,s=t.stateNode,l=sn(ja.current);s=mt(s,o,a,n,i),Ya(e,t,s,o,a,n,i,l),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!n)return null===t.stateNode&&r("166"),null;if(e=sn(ja.current),Tn(t))n=t.stateNode,o=t.type,a=t.memoizedProps,n[ii]=t,n[oi]=a,i=vt(n,o,a,e,i),t.updateQueue=i,null!==i&&Nn(t);else{e=ft(o,n,i,e),e[ii]=t,e[oi]=n;e:for(a=t.child;null!==a;){if(5===a.tag||6===a.tag)e.appendChild(a.stateNode);else if(4!==a.tag&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}pt(e,o,n,i),bt(o,n)&&Nn(t),t.stateNode=e}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Za(e,t,e.memoizedProps,n);else{if("string"!==typeof n)return null===t.stateNode&&r("166"),null;i=sn(Ba.current),sn(ja.current),Tn(t)?(i=t.stateNode,n=t.memoizedProps,i[ii]=t,yt(i,n)&&Nn(t)):(i=ht(n,i),i[ii]=t,t.stateNode=i)}return null;case 14:case 16:case 10:case 11:case 15:return null;case 4:return un(t),Ka(t),null;case 13:return an(t),null;case 12:return null;case 0:r("167");default:r("156")}}function Dn(e,t){var n=t.source;null===t.stack&&null!==n&&se(n),null!==n&&ae(n),t=t.value,null!==e&&2===e.tag&&ae(e);try{t&&t.suppressReactErrorLogging||console.error(t)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}}function Ln(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(t){Xn(e,t)}else t.current=null}function jn(e){switch("function"===typeof qt&&qt(e),e.tag){case 2:Ln(e);var t=e.stateNode;if("function"===typeof t.componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Xn(e,t)}break;case 5:Ln(e);break;case 4:Fn(e)}}function Wn(e){return 5===e.tag||3===e.tag||4===e.tag}function Bn(e){e:{for(var t=e.return;null!==t;){if(Wn(t)){var n=t;break e}t=t.return}r("160"),n=void 0}var i=t=void 0;switch(n.tag){case 5:t=n.stateNode,i=!1;break;case 3:case 4:t=n.stateNode.containerInfo,i=!0;break;default:r("161")}16&n.effectTag&&(st(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Wn(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var o=e;;){if(5===o.tag||6===o.tag)if(n)if(i){var a=t,s=o.stateNode,l=n;8===a.nodeType?a.parentNode.insertBefore(s,l):a.insertBefore(s,l)}else t.insertBefore(o.stateNode,n);else i?(a=t,s=o.stateNode,8===a.nodeType?a.parentNode.insertBefore(s,a):a.appendChild(s)):t.appendChild(o.stateNode);else if(4!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function Fn(e){for(var t=e,n=!1,i=void 0,o=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&r("160"),n.tag){case 5:i=n.stateNode,o=!1;break e;case 3:case 4:i=n.stateNode.containerInfo,o=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var a=t,s=a;;)if(jn(s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===a)break;for(;null===s.sibling;){if(null===s.return||s.return===a)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}o?(a=i,s=t.stateNode,8===a.nodeType?a.parentNode.removeChild(s):a.removeChild(s)):i.removeChild(t.stateNode)}else if(4===t.tag?i=t.stateNode.containerInfo:jn(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return,4===t.tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function zn(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var i=t.memoizedProps;e=null!==e?e.memoizedProps:i;var o=t.type,a=t.updateQueue;t.updateQueue=null,null!==a&&(n[oi]=i,gt(n,a,o,e,i))}break;case 6:null===t.stateNode&&r("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 15:case 16:break;default:r("163")}}function Un(e,t,n){n=Yt(n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){pr(r),Dn(e,t)},n}function Hn(e,t,n){n=Yt(n),n.tag=3;var r=e.stateNode;return null!==r&&"function"===typeof r.componentDidCatch&&(n.callback=function(){null===cs?cs=new Set([this]):cs.add(this);var n=t.value,r=t.stack;Dn(e,t),this.componentDidCatch(n,{componentStack:null!==r?r:""})}),n}function Gn(e,t,n,r,i,o){n.effectTag|=512,n.firstEffect=n.lastEffect=null,r=rn(r,n),e=t;do{switch(e.tag){case 3:return e.effectTag|=1024,r=Un(e,r,o),void Qt(e,r,o);case 2:if(t=r,n=e.stateNode,0===(64&e.effectTag)&&null!==n&&"function"===typeof n.componentDidCatch&&(null===cs||!cs.has(n)))return e.effectTag|=1024,r=Hn(e,t,o),void Qt(e,r,o)}e=e.return}while(null!==e)}function qn(e){switch(e.tag){case 2:At(e);var t=e.effectTag;return 1024&t?(e.effectTag=-1025&t|64,e):null;case 3:return un(e),Pt(e),t=e.effectTag,1024&t?(e.effectTag=-1025&t|64,e):null;case 5:return cn(e),null;case 16:return t=e.effectTag,1024&t?(e.effectTag=-1025&t|64,e):null;case 4:return un(e),null;case 13:return an(e),null;default:return null}}function Vn(){if(null!==ns)for(var e=ns.return;null!==e;){var t=e;switch(t.tag){case 2:At(t);break;case 3:un(t),Pt(t);break;case 5:cn(t);break;case 4:un(t);break;case 13:an(t)}e=e.return}rs=null,is=0,os=-1,as=!1,ns=null,us=!1}function Kn(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0===(512&e.effectTag)){t=Mn(t,e,is);var i=e;if(1073741823===is||1073741823!==i.expirationTime){var o=0;switch(i.tag){case 3:case 2:var a=i.updateQueue;null!==a&&(o=a.expirationTime)}for(a=i.child;null!==a;)0!==a.expirationTime&&(0===o||o>a.expirationTime)&&(o=a.expirationTime),a=a.sibling;i.expirationTime=o}if(null!==t)return t;if(null!==n&&0===(512&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e)),null!==r)return r;if(null===n){us=!0;break}e=n}else{if(null!==(e=qn(e,as,is)))return e.effectTag&=511,e;if(null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=512),null!==r)return r;if(null===n)break;e=n}}return null}function Yn(e){var t=Rn(e.alternate,e,is);return null===t&&(t=Kn(e)),Bi.current=null,t}function Zn(e,t,n){ts&&r("243"),ts=!0,t===is&&e===rs&&null!==ns||(Vn(),rs=e,is=t,os=-1,ns=Lt(rs.current,null,is),e.pendingCommitExpirationTime=0);var i=!1;for(as=!n||is<=Qa;;){try{if(n)for(;null!==ns&&!hr();)ns=Yn(ns);else for(;null!==ns;)ns=Yn(ns)}catch(t){if(null===ns)i=!0,pr(t);else{null===ns&&r("271"),n=ns;var o=n.return;if(null===o){i=!0,pr(t);break}Gn(e,o,n,t,as,is,$a),ns=Kn(n)}}break}if(ts=!1,i)return null;if(null===ns){if(us)return e.pendingCommitExpirationTime=t,e.current.alternate;as&&r("262"),0<=os&&setTimeout(function(){var t=e.current.expirationTime;0!==t&&(0===e.remainingExpirationTime||e.remainingExpirationTime<t)&&ir(e,t)},os),mr(e.current.expirationTime)}return null}function Xn(e,t){var n;e:{for(ts&&!ls&&r("263"),n=e.return;null!==n;){switch(n.tag){case 2:var i=n.stateNode;if("function"===typeof n.type.getDerivedStateFromCatch||"function"===typeof i.componentDidCatch&&(null===cs||!cs.has(i))){e=rn(t,e),e=Hn(n,e,1),Xt(n,e,1),Jn(n,1),n=void 0;break e}break;case 3:e=rn(t,e),e=Un(n,e,1),Xt(n,e,1),Jn(n,1),n=void 0;break e}n=n.return}3===e.tag&&(n=rn(t,e),n=Un(e,n,1),Xt(e,n,1),Jn(e,1)),n=void 0}return n}function Qn(){var e=2+25*(1+((er()-2+500)/25|0));return e<=Ja&&(e=Ja+1),Ja=e}function $n(e,t){return e=0!==es?es:ts?ls?1:is:1&t.mode?ks?2+10*(1+((e-2+15)/10|0)):2+25*(1+((e-2+500)/25|0)):1,ks&&(0===ys||e>ys)&&(ys=e),e}function Jn(e,t){for(;null!==e;){if((0===e.expirationTime||e.expirationTime>t)&&(e.expirationTime=t),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>t)&&(e.alternate.expirationTime=t),null===e.return){if(3!==e.tag)break;var n=e.stateNode;!ts&&0!==is&&t<is&&Vn();var i=n.current.expirationTime;ts&&!ls&&rs===n||ir(n,i),Os>Cs&&r("185")}e=e.return}}function er(){return $a=Ta()-Xa,Qa=2+($a/10|0)}function tr(e){var t=es;es=2+25*(1+((er()-2+500)/25|0));try{return e()}finally{es=t}}function nr(e,t,n,r,i){var o=es;es=1;try{return e(t,n,r,i)}finally{es=o}}function rr(e){if(0!==hs){if(e>hs)return;null!==ps&&xa(ps)}var t=Ta()-Xa;hs=e,ps=_a(ar,{timeout:10*(e-2)-t})}function ir(e,t){if(null===e.nextScheduledRoot)e.remainingExpirationTime=t,null===fs?(ds=fs=e,e.nextScheduledRoot=e):(fs=fs.nextScheduledRoot=e,fs.nextScheduledRoot=ds);else{var n=e.remainingExpirationTime;(0===n||t<n)&&(e.remainingExpirationTime=t)}ms||(_s?xs&&(gs=e,vs=1,dr(e,1,!1)):1===t?sr():rr(t))}function or(){var e=0,t=null;if(null!==fs)for(var n=fs,i=ds;null!==i;){var o=i.remainingExpirationTime;if(0===o){if((null===n||null===fs)&&r("244"),i===i.nextScheduledRoot){ds=fs=i.nextScheduledRoot=null;break}if(i===ds)ds=o=i.nextScheduledRoot,fs.nextScheduledRoot=o,i.nextScheduledRoot=null;else{if(i===fs){fs=n,fs.nextScheduledRoot=ds,i.nextScheduledRoot=null;break}n.nextScheduledRoot=i.nextScheduledRoot,i.nextScheduledRoot=null}i=n.nextScheduledRoot}else{if((0===e||o<e)&&(e=o,t=i),i===fs)break;n=i,i=i.nextScheduledRoot}}n=gs,null!==n&&n===t&&1===e?Os++:Os=0,gs=t,vs=e}function ar(e){lr(0,!0,e)}function sr(){lr(1,!1,null)}function lr(e,t,n){if(Ts=n,or(),t)for(;null!==gs&&0!==vs&&(0===e||e>=vs)&&(!bs||er()>=vs);)er(),dr(gs,vs,!bs),or();else for(;null!==gs&&0!==vs&&(0===e||e>=vs);)dr(gs,vs,!1),or();null!==Ts&&(hs=0,ps=null),0!==vs&&rr(vs),Ts=null,bs=!1,cr()}function ur(e,t){ms&&r("253"),gs=e,vs=t,dr(e,t,!1),sr(),cr()}function cr(){if(Os=0,null!==Ss){var e=Ss;Ss=null;for(var t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(e){ws||(ws=!0,Es=e)}}}if(ws)throw e=Es,Es=null,ws=!1,e}function dr(e,t,n){ms&&r("245"),ms=!0,n?(n=e.finishedWork,null!==n?fr(e,n,t):null!==(n=Zn(e,t,!0))&&(hr()?e.finishedWork=n:fr(e,n,t))):(n=e.finishedWork,null!==n?fr(e,n,t):null!==(n=Zn(e,t,!1))&&fr(e,n,t)),ms=!1}function fr(e,t,n){var i=e.firstBatch;if(null!==i&&i._expirationTime<=n&&(null===Ss?Ss=[i]:Ss.push(i),i._defer))return e.finishedWork=t,void(e.remainingExpirationTime=0);if(e.finishedWork=null,ls=ts=!0,n=t.stateNode,n.current===t&&r("177"),i=n.pendingCommitExpirationTime,0===i&&r("261"),n.pendingCommitExpirationTime=0,er(),Bi.current=null,1<t.effectTag)if(null!==t.lastEffect){t.lastEffect.nextEffect=t;var o=t.firstEffect}else o=t;else o=t.firstEffect;wa=Ro;var a=Br();if(Ze(a)){if("selectionStart"in a)var s={start:a.selectionStart,end:a.selectionEnd};else e:{var l=window.getSelection&&window.getSelection();if(l&&0!==l.rangeCount){s=l.anchorNode;var u=l.anchorOffset,c=l.focusNode;l=l.focusOffset;try{s.nodeType,c.nodeType}catch(e){s=null;break e}var d=0,f=-1,h=-1,p=0,m=0,g=a,v=null;t:for(;;){for(var y;g!==s||0!==u&&3!==g.nodeType||(f=d+u),g!==c||0!==l&&3!==g.nodeType||(h=d+l),3===g.nodeType&&(d+=g.nodeValue.length),null!==(y=g.firstChild);)v=g,g=y;for(;;){if(g===a)break t;if(v===s&&++p===u&&(f=d),v===c&&++m===l&&(h=d),null!==(y=g.nextSibling))break;g=v,v=g.parentNode}g=y}s=-1===f||-1===h?null:{start:f,end:h}}else s=null}s=s||{start:0,end:0}}else s=null;for(Ea={focusedElem:a,selectionRange:s},ze(!1),ss=o;null!==ss;){a=!1,s=void 0;try{for(;null!==ss;){if(256&ss.effectTag){var b=ss.alternate;switch(u=ss,u.tag){case 2:if(256&u.effectTag&&null!==b){var w=b.memoizedProps,E=b.memoizedState,T=u.stateNode;T.props=u.memoizedProps,T.state=u.memoizedState;var _=T.getSnapshotBeforeUpdate(w,E);T.__reactInternalSnapshotBeforeUpdate=_}break;case 3:case 5:case 6:case 4:break;default:r("163")}}ss=ss.nextEffect}}catch(e){a=!0,s=e}a&&(null===ss&&r("178"),Xn(ss,s),null!==ss&&(ss=ss.nextEffect))}for(ss=o;null!==ss;){b=!1,w=void 0;try{for(;null!==ss;){var x=ss.effectTag;if(16&x&&st(ss.stateNode,""),128&x){var k=ss.alternate;if(null!==k){var S=k.ref;null!==S&&("function"===typeof S?S(null):S.current=null)}}switch(14&x){case 2:Bn(ss),ss.effectTag&=-3;break;case 6:Bn(ss),ss.effectTag&=-3,zn(ss.alternate,ss);break;case 4:zn(ss.alternate,ss);break;case 8:E=ss,Fn(E),E.return=null,E.child=null,E.alternate&&(E.alternate.child=null,E.alternate.return=null)}ss=ss.nextEffect}}catch(e){b=!0,w=e}b&&(null===ss&&r("178"),Xn(ss,w),null!==ss&&(ss=ss.nextEffect))}if(S=Ea,k=Br(),x=S.focusedElem,b=S.selectionRange,k!==x&&zr(document.documentElement,x)){null!==b&&Ze(x)&&(k=b.start,S=b.end,void 0===S&&(S=k),"selectionStart"in x?(x.selectionStart=k,x.selectionEnd=Math.min(S,x.value.length)):window.getSelection&&(k=window.getSelection(),w=x[N()].length,S=Math.min(b.start,w),b=void 0===b.end?S:Math.min(b.end,w),!k.extend&&S>b&&(w=b,b=S,S=w),w=Ye(x,S),E=Ye(x,b),w&&E&&(1!==k.rangeCount||k.anchorNode!==w.node||k.anchorOffset!==w.offset||k.focusNode!==E.node||k.focusOffset!==E.offset)&&(T=document.createRange(),T.setStart(w.node,w.offset),k.removeAllRanges(),S>b?(k.addRange(T),k.extend(E.node,E.offset)):(T.setEnd(E.node,E.offset),k.addRange(T))))),k=[];for(S=x;S=S.parentNode;)1===S.nodeType&&k.push({element:S,left:S.scrollLeft,top:S.scrollTop});for("function"===typeof x.focus&&x.focus(),x=0;x<k.length;x++)S=k[x],S.element.scrollLeft=S.left,S.element.scrollTop=S.top}for(Ea=null,ze(wa),wa=null,n.current=t,ss=o;null!==ss;){o=!1,x=void 0;try{for(k=i;null!==ss;){var C=ss.effectTag;if(36&C){var O=ss.alternate;switch(S=ss,b=k,S.tag){case 2:var A=S.stateNode;if(4&S.effectTag)if(null===O)A.props=S.memoizedProps,A.state=S.memoizedState,A.componentDidMount();else{var P=O.memoizedProps,I=O.memoizedState;A.props=S.memoizedProps,A.state=S.memoizedState,A.componentDidUpdate(P,I,A.__reactInternalSnapshotBeforeUpdate)}var R=S.updateQueue;null!==R&&(A.props=S.memoizedProps,A.state=S.memoizedState,nn(S,R,A,b));break;case 3:var M=S.updateQueue;if(null!==M){if(w=null,null!==S.child)switch(S.child.tag){case 5:w=S.child.stateNode;break;case 2:w=S.child.stateNode}nn(S,M,w,b)}break;case 5:var D=S.stateNode;null===O&&4&S.effectTag&&bt(S.type,S.memoizedProps)&&D.focus();break;case 6:case 4:case 15:case 16:break;default:r("163")}}if(128&C){S=void 0;var L=ss.ref;if(null!==L){var j=ss.stateNode;switch(ss.tag){case 5:S=j;break;default:S=j}"function"===typeof L?L(S):L.current=S}}var W=ss.nextEffect;ss.nextEffect=null,ss=W}}catch(e){o=!0,x=e}o&&(null===ss&&r("178"),Xn(ss,x),null!==ss&&(ss=ss.nextEffect))}ts=ls=!1,"function"===typeof Gt&&Gt(t.stateNode),t=n.current.expirationTime,0===t&&(cs=null),e.remainingExpirationTime=t}function hr(){return!(null===Ts||Ts.timeRemaining()>As)&&(bs=!0)}function pr(e){null===gs&&r("246"),gs.remainingExpirationTime=0,ws||(ws=!0,Es=e)}function mr(e){null===gs&&r("246"),gs.remainingExpirationTime=e}function gr(e,t){var n=_s;_s=!0;try{return e(t)}finally{(_s=n)||ms||sr()}}function vr(e,t){if(_s&&!xs){xs=!0;try{return e(t)}finally{xs=!1}}return e(t)}function yr(e,t){ms&&r("187");var n=_s;_s=!0;try{return nr(e,t)}finally{_s=n,sr()}}function br(e,t,n){if(ks)return e(t,n);_s||ms||0===ys||(lr(ys,!1,null),ys=0);var r=ks,i=_s;_s=ks=!0;try{return e(t,n)}finally{ks=r,(_s=i)||ms||sr()}}function wr(e){var t=_s;_s=!0;try{nr(e)}finally{(_s=t)||ms||lr(1,!1,null)}}function Er(e,t,n,i,o){var a=t.current;if(n){n=n._reactInternalFiber;var s;e:{for(2===Ne(n)&&2===n.tag||r("170"),s=n;3!==s.tag;){if(Ot(s)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}(s=s.return)||r("171")}s=s.stateNode.context}n=Ot(n)?Rt(n,s):s}else n=Ur;return null===t.context?t.context=n:t.pendingContext=n,t=o,o=Yt(i),o.payload={element:e},t=void 0===t?null:t,null!==t&&(o.callback=t),Xt(a,o,i),Jn(a,i),i}function Tr(e){var t=e._reactInternalFiber;return void 0===t&&("function"===typeof e.render?r("188"):r("268",Object.keys(e))),e=Le(t),null===e?null:e.stateNode}function _r(e,t,n,r){var i=t.current;return i=$n(er(),i),Er(e,t,n,i,r)}function xr(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function kr(e){var t=e.findFiberByHostInstance;return Ht(jr({},e,{findHostInstanceByFiber:function(e){return e=Le(e),null===e?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}function Sr(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ui,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Cr(e){this._expirationTime=Qn(),this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Or(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Ar(e,t,n){this._internalRoot=zt(e,t,n)}function Pr(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ir(e,t){if(t||(t=e?9===e.nodeType?e.documentElement:e.firstChild:null,t=!(!t||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Ar(e,!1,t)}function Rr(e,t,n,i,o){Pr(n)||r("200");var a=n._reactRootContainer;if(a){if("function"===typeof o){var s=o;o=function(){var e=xr(a._internalRoot);s.call(e)}}null!=e?a.legacy_renderSubtreeIntoContainer(e,t,o):a.render(t,o)}else{if(a=n._reactRootContainer=Ir(n,i),"function"===typeof o){var l=o;o=function(){var e=xr(a._internalRoot);l.call(e)}}vr(function(){null!=e?a.legacy_renderSubtreeIntoContainer(e,t,o):a.render(t,o)})}return xr(a._internalRoot)}function Nr(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return Pr(t)||r("200"),Sr(e,t,null,n)}var Mr=n(92),Dr=n(1),Lr=n(276),jr=n(70),Wr=n(93),Br=n(277),Fr=n(94),zr=n(278),Ur=n(147);Dr||r("227");var Hr={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,invokeGuardedCallback:function(e,t,n,r,o,a,s,l,u){i.apply(Hr,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,r,i,o,a,s,l){if(Hr.invokeGuardedCallback.apply(this,arguments),Hr.hasCaughtError()){var u=Hr.clearCaughtError();Hr._hasRethrowError||(Hr._hasRethrowError=!0,Hr._rethrowError=u)}},rethrowCaughtError:function(){return o.apply(Hr,arguments)},hasCaughtError:function(){return Hr._hasCaughtError},clearCaughtError:function(){if(Hr._hasCaughtError){var e=Hr._caughtError;return Hr._caughtError=null,Hr._hasCaughtError=!1,e}r("198")}},Gr=null,qr={},Vr=[],Kr={},Yr={},Zr={},Xr={plugins:Vr,eventNameDispatchConfigs:Kr,registrationNameModules:Yr,registrationNameDependencies:Zr,possibleRegistrationNames:null,injectEventPluginOrder:l,injectEventPluginsByName:u},Qr=null,$r=null,Jr=null,ei=null,ti={injectEventPluginOrder:l,injectEventPluginsByName:u},ni={injection:ti,getListener:g,runEventsInBatch:v,runExtractedEventsInBatch:y},ri=Math.random().toString(36).slice(2),ii="__reactInternalInstance$"+ri,oi="__reactEventHandlers$"+ri,ai={precacheFiberNode:function(e,t){t[ii]=e},getClosestInstanceFromNode:b,getInstanceFromNode:function(e){return e=e[ii],!e||5!==e.tag&&6!==e.tag?null:e},getNodeFromInstance:w,getFiberCurrentPropsFromNode:E,updateFiberProps:function(e,t){e[oi]=t}},si={accumulateTwoPhaseDispatches:A,accumulateTwoPhaseDispatchesSkipTarget:function(e){f(e,S)},accumulateEnterLeaveDispatches:P,accumulateDirectDispatches:function(e){f(e,O)}},li={animationend:I("Animation","AnimationEnd"),animationiteration:I("Animation","AnimationIteration"),animationstart:I("Animation","AnimationStart"),transitionend:I("Transition","TransitionEnd")},ui={},ci={};Lr.canUseDOM&&(ci=document.createElement("div").style,"AnimationEvent"in window||(delete li.animationend.animation,delete li.animationiteration.animation,delete li.animationstart.animation),"TransitionEvent"in window||delete li.transitionend.transition);var di=R("animationend"),fi=R("animationiteration"),hi=R("animationstart"),pi=R("transitionend"),mi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),gi=null,vi={_root:null,_startText:null,_fallbackText:null},yi="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),bi={type:null,target:null,currentTarget:Wr.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};jr(L.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Wr.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Wr.thatReturnsTrue)},persist:function(){this.isPersistent=Wr.thatReturnsTrue},isPersistent:Wr.thatReturnsFalse,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;t<yi.length;t++)this[yi[t]]=null}}),L.Interface=bi,L.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return jr(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=jr({},r.Interface,e),n.extend=r.extend,B(n),n},B(L);var wi=L.extend({data:null}),Ei=L.extend({data:null}),Ti=[9,13,27,32],_i=Lr.canUseDOM&&"CompositionEvent"in window,xi=null;Lr.canUseDOM&&"documentMode"in document&&(xi=document.documentMode);var ki=Lr.canUseDOM&&"TextEvent"in window&&!xi,Si=Lr.canUseDOM&&(!_i||xi&&8<xi&&11>=xi),Ci=String.fromCharCode(32),Oi={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Ai=!1,Pi=!1,Ii={eventTypes:Oi,extractEvents:function(e,t,n,r){var i=void 0,o=void 0;if(_i)e:{switch(e){case"compositionstart":i=Oi.compositionStart;break e;case"compositionend":i=Oi.compositionEnd;break e;case"compositionupdate":i=Oi.compositionUpdate;break e}i=void 0}else Pi?F(e,n)&&(i=Oi.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=Oi.compositionStart);return i?(Si&&(Pi||i!==Oi.compositionStart?i===Oi.compositionEnd&&Pi&&(o=M()):(vi._root=r,vi._startText=D(),Pi=!0)),i=wi.getPooled(i,t,n,r),o?i.data=o:null!==(o=z(n))&&(i.data=o),A(i),o=i):o=null,(e=ki?U(e,n):H(e,n))?(t=Ei.getPooled(Oi.beforeInput,t,n,r),t.data=e,A(t)):t=null,null===o?t:null===t?o:[o,t]}},Ri=null,Ni={injectFiberControlledHostComponent:function(e){Ri=e}},Mi=null,Di=null,Li={injection:Ni,enqueueStateRestore:q,needsStateRestore:V,restoreStateIfNeeded:K},ji=!1,Wi={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Bi=Dr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Fi="function"===typeof Symbol&&Symbol.for,zi=Fi?Symbol.for("react.element"):60103,Ui=Fi?Symbol.for("react.portal"):60106,Hi=Fi?Symbol.for("react.fragment"):60107,Gi=Fi?Symbol.for("react.strict_mode"):60108,qi=Fi?Symbol.for("react.profiler"):60114,Vi=Fi?Symbol.for("react.provider"):60109,Ki=Fi?Symbol.for("react.context"):60110,Yi=Fi?Symbol.for("react.async_mode"):60111,Zi=Fi?Symbol.for("react.forward_ref"):60112,Xi=Fi?Symbol.for("react.timeout"):60113,Qi="function"===typeof Symbol&&Symbol.iterator,$i=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ji=Object.prototype.hasOwnProperty,eo={},to={},no={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){no[e]=new de(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];no[t]=new de(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){no[e]=new de(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){no[e]=new de(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){no[e]=new de(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){no[e]=new de(e,3,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){no[e]=new de(e,4,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){no[e]=new de(e,6,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){no[e]=new de(e,5,!1,e.toLowerCase(),null)});var ro=/[\-:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ro,fe);no[t]=new de(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ro,fe);no[t]=new de(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ro,fe);no[t]=new de(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),no.tabIndex=new de("tabIndex",1,!1,"tabindex",null);var io={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},oo=null,ao=null,so=!1;Lr.canUseDOM&&(so=ee("input")&&(!document.documentMode||9<document.documentMode));var lo={eventTypes:io,_isInputEventSupported:so,extractEvents:function(e,t,n,r){var i=t?w(t):window,o=void 0,a=void 0,s=i.nodeName&&i.nodeName.toLowerCase();if("select"===s||"input"===s&&"file"===i.type?o=xe:$(i)?so?o=Pe:(o=Oe,a=Ce):(s=i.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(o=Ae),o&&(o=o(e,t)))return Ee(o,n,r);a&&a(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&be(i,"number",i.value)}},uo=L.extend({view:null,detail:null}),co={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},fo=uo.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Re,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)}}),ho=fo.extend({pointerId:null,width:null,height:null,pressure:null,tiltX:null,tiltY:null,pointerType:null,isPrimary:null}),po={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},mo={eventTypes:po,extractEvents:function(e,t,n,r){var i="mouseover"===e||"pointerover"===e,o="mouseout"===e||"pointerout"===e;if(i&&(n.relatedTarget||n.fromElement)||!o&&!i)return null;if(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,o?(o=t,t=(t=n.relatedTarget||n.toElement)?b(t):null):o=null,o===t)return null;var a=void 0,s=void 0,l=void 0,u=void 0;return"mouseout"===e||"mouseover"===e?(a=fo,s=po.mouseLeave,l=po.mouseEnter,u="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=ho,s=po.pointerLeave,l=po.pointerEnter,u="pointer"),e=null==o?i:w(o),i=null==t?i:w(t),s=a.getPooled(s,o,n,r),s.type=u+"leave",s.target=e,s.relatedTarget=i,n=a.getPooled(l,t,n,r),n.type=u+"enter",n.target=i,n.relatedTarget=e,P(s,n,o,t),[s,n]}},go=L.extend({animationName:null,elapsedTime:null,pseudoElement:null}),vo=L.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yo=uo.extend({relatedTarget:null}),bo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wo={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Eo=uo.extend({key:function(e){if(e.key){var t=bo[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?(e=We(e),13===e?"Enter":String.fromCharCode(e)):"keydown"===e.type||"keyup"===e.type?wo[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Re,charCode:function(e){return"keypress"===e.type?We(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?We(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),To=fo.extend({dataTransfer:null}),_o=uo.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Re}),xo=L.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ko=fo.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),So=[["abort","abort"],[di,"animationEnd"],[fi,"animationIteration"],[hi,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[pi,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],Co={},Oo={};[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(e){Be(e,!0)}),So.forEach(function(e){Be(e,!1)});var Ao={eventTypes:Co,isInteractiveTopLevelEventType:function(e){return void 0!==(e=Oo[e])&&!0===e.isInteractive},extractEvents:function(e,t,n,r){var i=Oo[e];if(!i)return null;switch(e){case"keypress":if(0===We(n))return null;case"keydown":case"keyup":e=Eo;break;case"blur":case"focus":e=yo;break;case"click":if(2===n.button)return null;case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=fo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=To;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=_o;break;case di:case fi:case hi:e=go;break;case pi:e=xo;break;case"scroll":e=uo;break;case"wheel":e=ko;break;case"copy":case"cut":case"paste":e=vo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=ho;break;default:e=L}return t=e.getPooled(i,t,n,r),A(t),t}},Po=Ao.isInteractiveTopLevelEventType,Io=[],Ro=!0,No={get _enabled(){return Ro},setEnabled:ze,isEnabled:function(){return Ro},trapBubbledEvent:Ue,trapCapturedEvent:He,dispatchEvent:qe},Mo={},Do=0,Lo="_reactListenersID"+(""+Math.random()).slice(2),jo=Lr.canUseDOM&&"documentMode"in document&&11>=document.documentMode,Wo={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Bo=null,Fo=null,zo=null,Uo=!1,Ho={eventTypes:Wo,extractEvents:function(e,t,n,r){var i,o=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(i=!o)){e:{o=Ve(o),i=Zr.onSelect;for(var a=0;a<i.length;a++){var s=i[a];if(!o.hasOwnProperty(s)||!o[s]){o=!1;break e}}o=!0}i=!o}if(i)return null;switch(o=t?w(t):window,e){case"focus":($(o)||"true"===o.contentEditable)&&(Bo=o,Fo=t,zo=null);break;case"blur":zo=Fo=Bo=null;break;case"mousedown":Uo=!0;break;case"contextmenu":case"mouseup":return Uo=!1,Xe(n,r);case"selectionchange":if(jo)break;case"keydown":case"keyup":return Xe(n,r)}return null}};ti.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),Qr=ai.getFiberCurrentPropsFromNode,$r=ai.getInstanceFromNode,Jr=ai.getNodeFromInstance,ti.injectEventPluginsByName({SimpleEventPlugin:Ao,EnterLeaveEventPlugin:mo,ChangeEventPlugin:lo,SelectEventPlugin:Ho,BeforeInputEventPlugin:Ii});var Go="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,qo=Date,Vo=setTimeout,Ko=clearTimeout,Yo=void 0;if("object"===typeof performance&&"function"===typeof performance.now){var Zo=performance;Yo=function(){return Zo.now()}}else Yo=function(){return qo.now()};var Xo=void 0,Qo=void 0;if(Lr.canUseDOM){var $o="function"===typeof Go?Go:function(){r("276")},Jo=null,ea=null,ta=-1,na=!1,ra=!1,ia=0,oa=33,aa=33,sa={didTimeout:!1,timeRemaining:function(){var e=ia-Yo();return 0<e?e:0}},la=function(e,t){var n=e.scheduledCallback,r=!1;try{n(t),r=!0}finally{Qo(e),r||(na=!0,window.postMessage(ua,"*"))}},ua="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(e){if(e.source===window&&e.data===ua&&(na=!1,null!==Jo)){if(null!==Jo){var t=Yo();if(!(-1===ta||ta>t)){e=-1;for(var n=[],r=Jo;null!==r;){var i=r.timeoutTime;-1!==i&&i<=t?n.push(r):-1!==i&&(-1===e||i<e)&&(e=i),r=r.next}if(0<n.length)for(sa.didTimeout=!0,t=0,r=n.length;t<r;t++)la(n[t],sa);ta=e}}for(e=Yo();0<ia-e&&null!==Jo;)e=Jo,sa.didTimeout=!1,la(e,sa),e=Yo();null===Jo||ra||(ra=!0,$o(ca))}},!1);var ca=function(e){ra=!1;var t=e-ia+aa;t<aa&&oa<aa?(8>t&&(t=8),aa=t<oa?oa:t):oa=t,ia=e+aa,na||(na=!0,window.postMessage(ua,"*"))};Xo=function(e,t){var n=-1;return null!=t&&"number"===typeof t.timeout&&(n=Yo()+t.timeout),(-1===ta||-1!==n&&n<ta)&&(ta=n),e={scheduledCallback:e,timeoutTime:n,prev:null,next:null},null===Jo?Jo=e:null!==(t=e.prev=ea)&&(t.next=e),ea=e,ra||(ra=!0,$o(ca)),e},Qo=function(e){if(null!==e.prev||Jo===e){var t=e.next,n=e.prev;e.next=null,e.prev=null,null!==t?null!==n?(n.next=t,t.prev=n):(t.prev=null,Jo=t):null!==n?(n.next=null,ea=n):ea=Jo=null}}}else{var da=new Map;Xo=function(e){var t={scheduledCallback:e,timeoutTime:0,next:null,prev:null},n=Vo(function(){e({timeRemaining:function(){return 1/0},didTimeout:!1})});return da.set(e,n),t},Qo=function(e){var t=da.get(e.scheduledCallback);da.delete(e),Ko(t)}}var fa={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},ha=void 0,pa=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if(e.namespaceURI!==fa.svg||"innerHTML"in e)e.innerHTML=t;else{for(ha=ha||document.createElement("div"),ha.innerHTML="<svg>"+t+"</svg>",t=ha.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),ma={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ga=["Webkit","ms","Moz","O"];Object.keys(ma).forEach(function(e){ga.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ma[t]=ma[e]})});var va=jr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),ya=Wr.thatReturns(""),ba={createElement:ft,createTextNode:ht,setInitialProperties:pt,diffProperties:mt,updateProperties:gt,diffHydratedProperties:vt,diffHydratedText:yt,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(e,t,n){switch(t){case"input":if(ve(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var o=E(i);o||r("90"),ie(i),ve(i,o)}}}break;case"textarea":rt(e,n);break;case"select":null!=(t=n.value)&&Je(e,!!n.multiple,t,!1)}}},wa=null,Ea=null,Ta=Yo,_a=Xo,xa=Qo;new Set;var ka=[],Sa=-1,Ca=_t(Ur),Oa=_t(!1),Aa=Ur,Pa=null,Ia=null,Ra=!1,Na=_t(null),Ma=_t(null),Da=_t(0),La={},ja=_t(La),Wa=_t(La),Ba=_t(La),Fa={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===Ne(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=er();r=$n(r,e);var i=Yt(r);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),Xt(e,i,r),Jn(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=er();r=$n(r,e);var i=Yt(r);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),Xt(e,i,r),Jn(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=er();n=$n(n,e);var r=Yt(n);r.tag=2,void 0!==t&&null!==t&&(r.callback=t),Xt(e,r,n),Jn(e,n)}},za=Array.isArray,Ua=vn(!0),Ha=vn(!1),Ga=null,qa=null,Va=!1,Ka=void 0,Ya=void 0,Za=void 0;Ka=function(){},Ya=function(e,t,n){(t.updateQueue=n)&&Nn(t)},Za=function(e,t,n,r){n!==r&&Nn(t)};var Xa=Ta(),Qa=2,$a=Xa,Ja=0,es=0,ts=!1,ns=null,rs=null,is=0,os=-1,as=!1,ss=null,ls=!1,us=!1,cs=null,ds=null,fs=null,hs=0,ps=void 0,ms=!1,gs=null,vs=0,ys=0,bs=!1,ws=!1,Es=null,Ts=null,_s=!1,xs=!1,ks=!1,Ss=null,Cs=1e3,Os=0,As=1,Ps={updateContainerAtExpirationTime:Er,createContainer:function(e,t,n){return zt(e,t,n)},updateContainer:_r,flushRoot:ur,requestWork:ir,computeUniqueAsyncExpiration:Qn,batchedUpdates:gr,unbatchedUpdates:vr,deferredUpdates:tr,syncUpdates:nr,interactiveUpdates:br,flushInteractiveUpdates:function(){ms||0===ys||(lr(ys,!1,null),ys=0)},flushControlled:wr,flushSync:yr,getPublicRootInstance:xr,findHostInstance:Tr,findHostInstanceWithNoPortals:function(e){return e=je(e),null===e?null:e.stateNode},injectIntoDevTools:kr};Ni.injectFiberControlledHostComponent(ba),Cr.prototype.render=function(e){this._defer||r("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,i=new Or;return Er(e,t,null,n,i._onCommit),i},Cr.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Cr.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||r("251"),this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var i=null,o=t;o!==this;)i=o,o=o._next;null===i&&r("251"),i._next=o._next,this._next=t,e.firstBatch=this}this._defer=!1,ur(e,n),t=this._next,this._next=null,t=e.firstBatch=t,null!==t&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},Cr.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},Or.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Or.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!==typeof n&&r("191",n),n()}}},Ar.prototype.render=function(e,t){var n=this._internalRoot,r=new Or;return t=void 0===t?null:t,null!==t&&r.then(t),_r(e,n,null,r._onCommit),r},Ar.prototype.unmount=function(e){var t=this._internalRoot,n=new Or;return e=void 0===e?null:e,null!==e&&n.then(e),_r(null,t,null,n._onCommit),n},Ar.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var r=this._internalRoot,i=new Or;return n=void 0===n?null:n,null!==n&&i.then(n),_r(t,r,e,i._onCommit),i},Ar.prototype.createBatch=function(){var e=new Cr(this),t=e._expirationTime,n=this._internalRoot,r=n.firstBatch;if(null===r)n.firstBatch=e,e._next=null;else{for(n=null;null!==r&&r._expirationTime<=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},Y=Ps.batchedUpdates,Z=Ps.interactiveUpdates,X=Ps.flushInteractiveUpdates;var Is={createPortal:Nr,findDOMNode:function(e){return null==e?null:1===e.nodeType?e:Tr(e)},hydrate:function(e,t,n){return Rr(null,e,t,!0,n)},render:function(e,t,n){return Rr(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,i){return(null==e||void 0===e._reactInternalFiber)&&r("38"),Rr(e,t,n,!1,i)},unmountComponentAtNode:function(e){return Pr(e)||r("40"),!!e._reactRootContainer&&(vr(function(){Rr(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return Nr.apply(void 0,arguments)},unstable_batchedUpdates:gr,unstable_deferredUpdates:tr,unstable_interactiveUpdates:br,flushSync:yr,unstable_flushControlled:wr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:ni,EventPluginRegistry:Xr,EventPropagators:si,ReactControlledComponent:Li,ReactDOMComponentTree:ai,ReactDOMEventListener:No},unstable_createRoot:function(e,t){return new Ar(e,!0,null!=t&&!0===t.hydrate)}};kr({findFiberByHostInstance:b,bundleType:0,version:"16.4.2",rendererPackageName:"react-dom"});var Rs={default:Is},Ns=Rs&&Is||Rs;e.exports=Ns.default?Ns.default:Ns},function(e,t,n){"use strict";var r=!("undefined"===typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=i},function(e,t,n){"use strict";function r(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=r},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!i(e)&&(i(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var i=n(279);e.exports=r},function(e,t,n){"use strict";function r(e){return i(e)&&3==e.nodeType}var i=n(280);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"===typeof n.Node?e instanceof n.Node:"object"===typeof e&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){function r(){}function i(e,t){return function(){e.apply(t,arguments)}}function o(e){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!==typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this)}function a(e,t){for(;3===e._state;)e=e._value;if(0===e._state)return void e._deferreds.push(t);e._handled=!0,o._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null===n)return void(1===e._state?s:l)(t.promise,e._value);var r;try{r=n(e._value)}catch(e){return void l(t.promise,e)}s(t.promise,r)})}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===typeof t||"function"===typeof t)){var n=t.then;if(t instanceof o)return e._state=3,e._value=t,void u(e);if("function"===typeof n)return void d(i(n,t),e)}e._state=1,e._value=t,u(e)}catch(t){l(e,t)}}function l(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&o._immediateFn(function(){e._handled||o._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)a(e,e._deferreds[t]);e._deferreds=null}function c(e,t,n){this.onFulfilled="function"===typeof e?e:null,this.onRejected="function"===typeof t?t:null,this.promise=n}function d(e,t){var n=!1;try{e(function(e){n||(n=!0,s(t,e))},function(e){n||(n=!0,l(t,e))})}catch(e){if(n)return;n=!0,l(t,e)}}function f(e,t){return t={exports:{}},e(t,t.exports),t.exports}var h=n(284),p=(n.n(h),setTimeout);o.prototype.catch=function(e){return this.then(null,e)},o.prototype.then=function(e,t){var n=new this.constructor(r);return a(this,new c(e,t,n)),n},o.prototype.finally=function(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){return t.reject(n)})})},o.all=function(e){return new o(function(t,n){function r(e,a){try{if(a&&("object"===typeof a||"function"===typeof a)){var s=a.then;if("function"===typeof s)return void s.call(a,function(t){r(e,t)},n)}i[e]=a,0===--o&&t(i)}catch(e){n(e)}}if(!e||"undefined"===typeof e.length)throw new TypeError("Promise.all accepts an array");var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var o=i.length,a=0;a<i.length;a++)r(a,i[a])})},o.resolve=function(e){return e&&"object"===typeof e&&e.constructor===o?e:new o(function(t){t(e)})},o.reject=function(e){return new o(function(t,n){n(e)})},o.race=function(e){return new o(function(t,n){for(var r=0,i=e.length;r<i;r++)e[r].then(t,n)})},o._immediateFn="function"===typeof e&&function(t){e(t)}||function(e){p(e,0)},o._unhandledRejectionFn=function(e){"undefined"!==typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var m=function(){if("undefined"!==typeof self)return self;if("undefined"!==typeof window)return window;if("undefined"!==typeof t)return t;throw new Error("unable to locate global object")}();m.Promise||(m.Promise=o);var g=f(function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),v=f(function(e){var t=e.exports={version:"2.5.5"};"number"==typeof __e&&(__e=t)}),y=(v.version,function(e){return"object"===typeof e?null!==e:"function"===typeof e}),b=function(e){if(!y(e))throw TypeError(e+" is not an object!");return e},w=function(e){try{return!!e()}catch(e){return!0}},E=!w(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),T=g.document,_=y(T)&&y(T.createElement),x=function(e){return _?T.createElement(e):{}},k=!E&&!w(function(){return 7!=Object.defineProperty(x("div"),"a",{get:function(){return 7}}).a}),S=function(e,t){if(!y(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!y(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},C=Object.defineProperty,O=E?Object.defineProperty:function(e,t,n){if(b(e),t=S(t,!0),b(n),k)try{return C(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e},A={f:O},P=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},I=E?function(e,t,n){return A.f(e,t,P(1,n))}:function(e,t,n){return e[t]=n,e},R={}.hasOwnProperty,N=function(e,t){return R.call(e,t)},M=0,D=Math.random(),L=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++M+D).toString(36))},j=f(function(e){var t=L("src"),n=Function.toString,r=(""+n).split("toString");v.inspectSource=function(e){return n.call(e)},(e.exports=function(e,n,i,o){var a="function"==typeof i;a&&(N(i,"name")||I(i,"name",n)),e[n]!==i&&(a&&(N(i,t)||I(i,t,e[n]?""+e[n]:r.join(String(n)))),e===g?e[n]=i:o?e[n]?e[n]=i:I(e,n,i):(delete e[n],I(e,n,i)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[t]||n.call(this)})}),W=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},B=function(e,t,n){if(W(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},F=function(e,t,n){var r,i,o,a,s=e&F.F,l=e&F.G,u=e&F.S,c=e&F.P,d=e&F.B,f=l?g:u?g[t]||(g[t]={}):(g[t]||{}).prototype,h=l?v:v[t]||(v[t]={}),p=h.prototype||(h.prototype={});l&&(n=t);for(r in n)i=!s&&f&&void 0!==f[r],o=(i?f:n)[r],a=d&&i?B(o,g):c&&"function"==typeof o?B(Function.call,o):o,f&&j(f,r,o,e&F.U),h[r]!=o&&I(h,r,a),c&&p[r]!=o&&(p[r]=o)};g.core=v,F.F=1,F.G=2,F.S=4,F.P=8,F.B=16,F.W=32,F.U=64,F.R=128;var z=F,U={}.toString,H=function(e){return U.call(e).slice(8,-1)},G=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==H(e)?e.split(""):Object(e)},q=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e},V=function(e){return Object(q(e))},K=Math.ceil,Y=Math.floor,Z=function(e){return isNaN(e=+e)?0:(e>0?Y:K)(e)},X=Math.min,Q=function(e){return e>0?X(Z(e),9007199254740991):0},$=Array.isArray||function(e){return"Array"==H(e)},J=g["__core-js_shared__"]||(g["__core-js_shared__"]={}),ee=function(e){return J[e]||(J[e]={})},te=f(function(e){var t=ee("wks"),n=g.Symbol,r="function"==typeof n;(e.exports=function(e){return t[e]||(t[e]=r&&n[e]||(r?n:L)("Symbol."+e))}).store=t}),ne=te("species"),re=function(e){var t;return $(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!$(t.prototype)||(t=void 0),y(t)&&null===(t=t[ne])&&(t=void 0)),void 0===t?Array:t},ie=function(e,t){return new(re(e))(t)},oe=function(e,t){var n=1==e,r=2==e,i=3==e,o=4==e,a=6==e,s=5==e||a,l=t||ie;return function(t,u,c){for(var d,f,h=V(t),p=G(h),m=B(u,c,3),g=Q(p.length),v=0,y=n?l(t,g):r?l(t,0):void 0;g>v;v++)if((s||v in p)&&(d=p[v],f=m(d,v,h),e))if(n)y[v]=f;else if(f)switch(e){case 3:return!0;case 5:return d;case 6:return v;case 2:y.push(d)}else if(o)return!1;return a?-1:i||o?o:y}},ae=te("unscopables"),se=Array.prototype;void 0==se[ae]&&I(se,ae,{});var le=function(e){se[ae][e]=!0},ue=oe(5),ce=!0;"find"in[]&&Array(1).find(function(){ce=!1}),z(z.P+z.F*ce,"Array",{find:function(e){return ue(this,e,arguments.length>1?arguments[1]:void 0)}}),le("find");var de=(v.Array.find,oe(6)),fe=!0;"findIndex"in[]&&Array(1).findIndex(function(){fe=!1}),z(z.P+z.F*fe,"Array",{findIndex:function(e){return de(this,e,arguments.length>1?arguments[1]:void 0)}}),le("findIndex");var he=(v.Array.findIndex,function(e){return G(q(e))}),pe=Math.max,me=Math.min,ge=function(e,t){return e=Z(e),e<0?pe(e+t,0):me(e,t)},ve=ee("keys"),ye=function(e){return ve[e]||(ve[e]=L(e))},be=function(e){return function(t,n,r){var i,o=he(t),a=Q(o.length),s=ge(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}}(!1),we=ye("IE_PROTO"),Ee=function(e,t){var n,r=he(e),i=0,o=[];for(n in r)n!=we&&N(r,n)&&o.push(n);for(;t.length>i;)N(r,n=t[i++])&&(~be(o,n)||o.push(n));return o},Te="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),_e=Object.keys||function(e){return Ee(e,Te)},xe=Object.getOwnPropertySymbols,ke={f:xe},Se={}.propertyIsEnumerable,Ce={f:Se},Oe=Object.assign,Ae=!Oe||w(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=Oe({},e)[n]||Object.keys(Oe({},t)).join("")!=r})?function(e,t){for(var n=V(e),r=arguments.length,i=1,o=ke.f,a=Ce.f;r>i;)for(var s,l=G(arguments[i++]),u=o?_e(l).concat(o(l)):_e(l),c=u.length,d=0;c>d;)a.call(l,s=u[d++])&&(n[s]=l[s]);return n}:Oe;z(z.S+z.F,"Object",{assign:Ae});var Pe=(v.Object.assign,te("match")),Ie=function(e){var t;return y(e)&&(void 0!==(t=e[Pe])?!!t:"RegExp"==H(e))},Re=function(e,t,n){if(Ie(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(q(e))},Ne=te("match"),Me="".startsWith;z(z.P+z.F*function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Ne]=!1,!"/./"[e](t)}catch(e){}}return!0}("startsWith"),"String",{startsWith:function(e){var t=Re(this,e,"startsWith"),n=Q(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return Me?Me.call(t,r,n):t.slice(n,n+r.length)===r}});var De=(v.String.startsWith,function(e){var t=String(q(this)),n="",r=Z(e);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n});z(z.P,"String",{repeat:De});var Le=(v.String.repeat,f(function(e){var t=L("meta"),n=A.f,r=0,i=Object.isExtensible||function(){return!0},o=!w(function(){return i(Object.preventExtensions({}))}),a=function(e){n(e,t,{value:{i:"O"+ ++r,w:{}}})},s=function(e,n){if(!y(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!N(e,t)){if(!i(e))return"F";if(!n)return"E";a(e)}return e[t].i},l=function(e,n){if(!N(e,t)){if(!i(e))return!0;if(!n)return!1;a(e)}return e[t].w},u=function(e){return o&&c.NEED&&i(e)&&!N(e,t)&&a(e),e},c=e.exports={KEY:t,NEED:!1,fastKey:s,getWeak:l,onFreeze:u}})),je=(Le.KEY,Le.NEED,Le.fastKey,Le.getWeak,Le.onFreeze,A.f),We=te("toStringTag"),Be=function(e,t,n){e&&!N(e=n?e:e.prototype,We)&&je(e,We,{configurable:!0,value:t})},Fe=te,ze={f:Fe},Ue=A.f,He=function(e){var t=v.Symbol||(v.Symbol=g.Symbol||{});"_"==e.charAt(0)||e in t||Ue(t,e,{value:ze.f(e)})},Ge=function(e){var t=_e(e),n=ke.f;if(n)for(var r,i=n(e),o=Ce.f,a=0;i.length>a;)o.call(e,r=i[a++])&&t.push(r);return t},qe=E?Object.defineProperties:function(e,t){b(e);for(var n,r=_e(t),i=r.length,o=0;i>o;)A.f(e,n=r[o++],t[n]);return e},Ve=g.document,Ke=Ve&&Ve.documentElement,Ye=ye("IE_PROTO"),Ze=function(){},Xe=function(){var e,t=x("iframe"),n=Te.length;for(t.style.display="none",Ke.appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),Xe=e.F;n--;)delete Xe.prototype[Te[n]];return Xe()},Qe=Object.create||function(e,t){var n;return null!==e?(Ze.prototype=b(e),n=new Ze,Ze.prototype=null,n[Ye]=e):n=Xe(),void 0===t?n:qe(n,t)},$e=Te.concat("length","prototype"),Je=Object.getOwnPropertyNames||function(e){return Ee(e,$e)},et={f:Je},tt=et.f,nt={}.toString,rt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],it=function(e){try{return tt(e)}catch(e){return rt.slice()}},ot=function(e){return rt&&"[object Window]"==nt.call(e)?it(e):tt(he(e))},at={f:ot},st=Object.getOwnPropertyDescriptor,lt=E?st:function(e,t){if(e=he(e),t=S(t,!0),k)try{return st(e,t)}catch(e){}if(N(e,t))return P(!Ce.f.call(e,t),e[t])},ut={f:lt},ct=Le.KEY,dt=ut.f,ft=A.f,ht=at.f,pt=g.Symbol,mt=g.JSON,gt=mt&&mt.stringify,vt=te("_hidden"),yt=te("toPrimitive"),bt={}.propertyIsEnumerable,wt=ee("symbol-registry"),Et=ee("symbols"),Tt=ee("op-symbols"),_t=Object.prototype,xt="function"==typeof pt,kt=g.QObject,St=!kt||!kt.prototype||!kt.prototype.findChild,Ct=E&&w(function(){return 7!=Qe(ft({},"a",{get:function(){return ft(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=dt(_t,t);r&&delete _t[t],ft(e,t,n),r&&e!==_t&&ft(_t,t,r)}:ft,Ot=function(e){var t=Et[e]=Qe(pt.prototype);return t._k=e,t},At=xt&&"symbol"==typeof pt.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof pt},Pt=function(e,t,n){return e===_t&&Pt(Tt,t,n),b(e),t=S(t,!0),b(n),N(Et,t)?(n.enumerable?(N(e,vt)&&e[vt][t]&&(e[vt][t]=!1),n=Qe(n,{enumerable:P(0,!1)})):(N(e,vt)||ft(e,vt,P(1,{})),e[vt][t]=!0),Ct(e,t,n)):ft(e,t,n)},It=function(e,t){b(e);for(var n,r=Ge(t=he(t)),i=0,o=r.length;o>i;)Pt(e,n=r[i++],t[n]);return e},Rt=function(e,t){return void 0===t?Qe(e):It(Qe(e),t)},Nt=function(e){var t=bt.call(this,e=S(e,!0));return!(this===_t&&N(Et,e)&&!N(Tt,e))&&(!(t||!N(this,e)||!N(Et,e)||N(this,vt)&&this[vt][e])||t)},Mt=function(e,t){if(e=he(e),t=S(t,!0),e!==_t||!N(Et,t)||N(Tt,t)){var n=dt(e,t);return!n||!N(Et,t)||N(e,vt)&&e[vt][t]||(n.enumerable=!0),n}},Dt=function(e){for(var t,n=ht(he(e)),r=[],i=0;n.length>i;)N(Et,t=n[i++])||t==vt||t==ct||r.push(t);return r},Lt=function(e){for(var t,n=e===_t,r=ht(n?Tt:he(e)),i=[],o=0;r.length>o;)!N(Et,t=r[o++])||n&&!N(_t,t)||i.push(Et[t]);return i};xt||(pt=function(){if(this instanceof pt)throw TypeError("Symbol is not a constructor!");var e=L(arguments.length>0?arguments[0]:void 0),t=function(n){this===_t&&t.call(Tt,n),N(this,vt)&&N(this[vt],e)&&(this[vt][e]=!1),Ct(this,e,P(1,n))};return E&&St&&Ct(_t,e,{configurable:!0,set:t}),Ot(e)},j(pt.prototype,"toString",function(){return this._k}),ut.f=Mt,A.f=Pt,et.f=at.f=Dt,Ce.f=Nt,ke.f=Lt,E&&j(_t,"propertyIsEnumerable",Nt,!0),ze.f=function(e){return Ot(te(e))}),z(z.G+z.W+z.F*!xt,{Symbol:pt});for(var jt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Wt=0;jt.length>Wt;)te(jt[Wt++]);for(var Bt=_e(te.store),Ft=0;Bt.length>Ft;)He(Bt[Ft++]);z(z.S+z.F*!xt,"Symbol",{for:function(e){return N(wt,e+="")?wt[e]:wt[e]=pt(e)},keyFor:function(e){if(!At(e))throw TypeError(e+" is not a symbol!");for(var t in wt)if(wt[t]===e)return t},useSetter:function(){St=!0},useSimple:function(){St=!1}}),z(z.S+z.F*!xt,"Object",{create:Rt,defineProperty:Pt,defineProperties:It,getOwnPropertyDescriptor:Mt,getOwnPropertyNames:Dt,getOwnPropertySymbols:Lt}),mt&&z(z.S+z.F*(!xt||w(function(){var e=pt();return"[null]"!=gt([e])||"{}"!=gt({a:e})||"{}"!=gt(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!At(e))return $(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!At(t))return t}),r[1]=t,gt.apply(mt,r)}}),pt.prototype[yt]||I(pt.prototype,yt,pt.prototype.valueOf),Be(pt,"Symbol"),Be(Math,"Math",!0),Be(g.JSON,"JSON",!0);var zt=te("toStringTag"),Ut="Arguments"==H(function(){return arguments}()),Ht=function(e,t){try{return e[t]}catch(e){}},Gt=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=Ht(t=Object(e),zt))?n:Ut?H(t):"Object"==(r=H(t))&&"function"==typeof t.callee?"Arguments":r},qt={};qt[te("toStringTag")]="z",qt+""!="[object z]"&&j(Object.prototype,"toString",function(){return"[object "+Gt(this)+"]"},!0),He("asyncIterator"),He("observable");var Vt=(v.Symbol,{}),Kt={};I(Kt,te("iterator"),function(){return this});var Yt=function(e,t,n){e.prototype=Qe(Kt,{next:P(1,n)}),Be(e,t+" Iterator")},Zt=ye("IE_PROTO"),Xt=Object.prototype,Qt=Object.getPrototypeOf||function(e){return e=V(e),N(e,Zt)?e[Zt]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Xt:null},$t=te("iterator"),Jt=!([].keys&&"next"in[].keys()),en=function(){return this},tn=function(e,t,n,r,i,o,a){Yt(n,t,r);var s,l,u,c=function(e){if(!Jt&&e in p)return p[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},d=t+" Iterator",f="values"==i,h=!1,p=e.prototype,m=p[$t]||p["@@iterator"]||i&&p[i],g=m||c(i),v=i?f?c("entries"):g:void 0,y="Array"==t?p.entries||m:m;if(y&&(u=Qt(y.call(new e)))!==Object.prototype&&u.next&&(Be(u,d,!0),"function"!=typeof u[$t]&&I(u,$t,en)),f&&m&&"values"!==m.name&&(h=!0,g=function(){return m.call(this)}),(Jt||h||!p[$t])&&I(p,$t,g),Vt[t]=g,Vt[d]=en,i)if(s={values:f?g:c("values"),keys:o?g:c("keys"),entries:v},a)for(l in s)l in p||j(p,l,s[l]);else z(z.P+z.F*(Jt||h),t,s);return s},nn=function(e){return function(t,n){var r,i,o=String(q(t)),a=Z(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o.charCodeAt(a),r<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536)}}(!0);tn(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=nn(t,n),this._i+=e.length,{value:e,done:!1})});var rn=function(e,t){return{value:t,done:!!e}},on=tn(Array,"Array",function(e,t){this._t=he(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,rn(1)):"keys"==t?rn(0,n):"values"==t?rn(0,e[n]):rn(0,[n,e[n]])},"values");Vt.Arguments=Vt.Array,le("keys"),le("values"),le("entries");for(var an=te("iterator"),sn=te("toStringTag"),ln=Vt.Array,un={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},cn=_e(un),dn=0;dn<cn.length;dn++){var fn,hn=cn[dn],pn=un[hn],mn=g[hn],gn=mn&&mn.prototype;if(gn&&(gn[an]||I(gn,an,ln),gn[sn]||I(gn,sn,hn),Vt[hn]=ln,pn))for(fn in on)gn[fn]||j(gn,fn,on[fn],!0)}ze.f("iterator")}.call(t,n(282).setImmediate,n(18))},function(e,t,n){(function(e){function r(e,t){this._id=e,this._clearFn=t}var i="undefined"!==typeof e&&e||"undefined"!==typeof self&&self||window,o=Function.prototype.apply;t.setTimeout=function(){return new r(o.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(i,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(283),t.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(18))},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){"function"!==typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return u[l]=r,s(l),l++}function i(e){delete u[e]}function o(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}function a(e){if(c)setTimeout(a,0,e);else{var t=u[e];if(t){c=!0;try{o(t)}finally{i(e),c=!1}}}}if(!e.setImmediate){var s,l=1,u={},c=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?function(){s=function(e){t.nextTick(function(){a(e)})}}():function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"===typeof n.data&&0===n.data.indexOf(t)&&a(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),s=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){a(e.data)},s=function(t){e.port2.postMessage(t)}}():d&&"onreadystatechange"in d.createElement("script")?function(){var e=d.documentElement;s=function(t){var n=d.createElement("script");n.onreadystatechange=function(){a(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():function(){s=function(e){setTimeout(a,0,e)}}(),f.setImmediate=r,f.clearImmediate=i}}("undefined"===typeof self?"undefined"===typeof e?this:e:self)}).call(t,n(18),n(43))},function(e,t){!function(e){"use strict";function t(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!==typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return v.iterable&&(t[Symbol.iterator]=function(){return t}),t}function i(e){this.map={},e instanceof i?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function o(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function a(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function s(e){var t=new FileReader,n=a(t);return t.readAsArrayBuffer(e),n}function l(e){var t=new FileReader,n=a(t);return t.readAsText(e),n}function u(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function c(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"===typeof e)this._bodyText=e;else if(v.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(v.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(v.arrayBuffer&&v.blob&&b(e))this._bodyArrayBuffer=c(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!v.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!w(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=c(e)}else this._bodyText="";this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},v.blob&&(this.blob=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?o(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(s)}),this.text=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return l(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(u(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},v.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(e){var t=e.toUpperCase();return E.indexOf(t)>-1?t:e}function h(e,t){t=t||{};var n=t.body;if(e instanceof h){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new i(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new i(t.headers)),this.method=f(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function m(e){var t=new i;return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t}function g(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new i(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var v={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(v.arrayBuffer)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(e){return e&&DataView.prototype.isPrototypeOf(e)},w=ArrayBuffer.isView||function(e){return e&&y.indexOf(Object.prototype.toString.call(e))>-1};i.prototype.append=function(e,r){e=t(e),r=n(r);var i=this.map[e];this.map[e]=i?i+","+r:r},i.prototype.delete=function(e){delete this.map[t(e)]},i.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},i.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},i.prototype.set=function(e,r){this.map[t(e)]=n(r)},i.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},i.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},i.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},i.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},v.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries);var E=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];h.prototype.clone=function(){return new h(this,{body:this._bodyInit})},d.call(h.prototype),d.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},g.error=function(){var e=new g(null,{status:0,statusText:""});return e.type="error",e};var T=[301,302,303,307,308];g.redirect=function(e,t){if(-1===T.indexOf(t))throw new RangeError("Invalid status code");return new g(null,{status:t,headers:{location:e}})},e.Headers=i,e.Request=h,e.Response=g,e.fetch=function(e,t){return new Promise(function(n,r){var i=new h(e,t),o=new XMLHttpRequest;o.onload=function(){var e={status:o.status,statusText:o.statusText,headers:m(o.getAllResponseHeaders()||"")};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var t="response"in o?o.response:o.responseText;n(new g(t,e))},o.onerror=function(){r(new TypeError("Network request failed"))},o.ontimeout=function(){r(new TypeError("Network request failed"))},o.open(i.method,i.url,!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&v.blob&&(o.responseType="blob"),i.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send("undefined"===typeof i._bodyInit?null:i._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!==typeof self?self:this)},function(e,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 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 o(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)}var a=n(1),s=n.n(a),l=n(287),u=n(288),c=n(96),d=(n.n(c),n(341)),f=n(605),h=n(847),p=n(850),m=n(148),g=n.n(m),v=(n(851),n(853),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}());window.addEventListener("unload",function(){});var y=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.debugURL="/Model",n.name="https://2018.igem.org/Team:Washington",n.state={loading:!0,data:new p.a},n.displayLoadingMessage=n.displayLoadingMessage.bind(n),n.getContentData=n.getContentData.bind(n),n.setEdit=n.setEdit.bind(n),n.imgsToPrefetch=n.state.data.getImgsToPrefetch(),n}return o(t,e),v(t,[{key:"prefetchImages",value:function(){this.imgsToPrefetch.forEach(function(e){(new Image).src=e})}},{key:"componentDidMount",value:function(){this.prefetchImages()}},{key:"componentWillMount",value:function(){var e=this,t=window.location.href.split("igem");if(this.pageTitle=this.debugURL,this.debugMode=!0,2===t.length){var n=t[1].split("Team:Washington")[1];this.pageTitle=n,this.debugMode=!1}this.setState({loading:!1});var r=this.state.data.getDisplayConstants(this.pageTitle),i=Object(c.createMuiTheme)({palette:{primary:{main:r.primaryColor},secondary:{main:r.secondaryColor}},typography:{fontFamily:["Raleway"]}});this.theme=i,this.firebasePassIn=null,this.firebasePassIn=g.a,g.a.database().ref("/").on("value",function(t){e.firebaseIsSet=!0,e.setState({contentData:t.val()})})}},{key:"getContentData",value:function(){return this.firebaseIsSet&&Date.now()<153983514e4?this.state.contentData.pageData:this.state.data.getContentData()}},{key:"displayLoadingMessage",value:function(){var e=this;this.setState({loading:!0}),setTimeout(function(){e.setState({loading:!1})},500)}},{key:"setEdit",value:function(e,t){this.setState({setEditData:{page:e,index:t}})}},{key:"render",value:function(){var e=this,t=this.displayLoadingMessage,n=this.getContentData(),r="/Editor"===this.pageTitle;return s.a.createElement("div",{className:"App"},s.a.createElement(c.MuiThemeProvider,{theme:this.theme},this.debugMode&&s.a.createElement(l.a,null),s.a.createElement(d.a,{name:this.name,pageTitle:this.pageTitle,data:this.state.data,a:t}),!this.state.loading&&s.a.createElement("div",null,"/ASDFTest"===this.pageTitle&&s.a.createElement("h1",null,s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("a",{onClick:function(){return e.displayLoadingMessage()},style:{color:"white"},href:this.name+"/TempMain"},"page is asdftest")),"/ASDFTestA"===this.pageTitle&&s.a.createElement("h1",null,"Page is not asdftest"),s.a.createElement("div",{style:{minHeight:"100vh"}}," ",s.a.createElement(f.a,{setEdit:this.setEdit,setEditData:this.state.setEditData,edit:r,pageTitle:r?n[0].pageTitle:this.pageTitle,a:t,data:this.state.data,contentData:n,firebase:this.firebasePassIn})),s.a.createElement(h.a,null)),this.state.loading&&s.a.createElement(u.a,null)))}}]),t}(a.Component);t.a=y},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return u});var a=n(1),s=n.n(a),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),l(t,[{key:"render",value:function(){return s.a.createElement("div",{className:"debugheader"})}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return c});var a=n(1),s=n.n(a),l=n(289),u=(n.n(l),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),c=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),u(t,[{key:"render",value:function(){return s.a.createElement("div",null,s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("h1",null,"Page loading..."),s.a.createElement("div",{className:"sk-circle"},s.a.createElement("div",{className:"sk-circle1 sk-child"}),s.a.createElement("div",{className:"sk-circle2 sk-child"}),s.a.createElement("div",{className:"sk-circle3 sk-child"}),s.a.createElement("div",{className:"sk-circle4 sk-child"}),s.a.createElement("div",{className:"sk-circle5 sk-child"}),s.a.createElement("div",{className:"sk-circle6 sk-child"}),s.a.createElement("div",{className:"sk-circle7 sk-child"}),s.a.createElement("div",{className:"sk-circle8 sk-child"}),s.a.createElement("div",{className:"sk-circle9 sk-child"}),s.a.createElement("div",{className:"sk-circle10 sk-child"}),s.a.createElement("div",{className:"sk-circle11 sk-child"}),s.a.createElement("div",{className:"sk-circle12 sk-child"})))}}]),t}(a.Component)},function(e,t){},function(e,t){function n(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}e.exports=n},function(e,t,n){"use strict";function r(e){return!0===i(e)&&"[object Object]"===Object.prototype.toString.call(e)}var i=n(292);e.exports=function(e){var t,n;return!1!==r(e)&&("function"===typeof(t=e.constructor)&&(n=t.prototype,!1!==r(n)&&!1!==n.hasOwnProperty("isPrototypeOf")))}},function(e,t,n){"use strict";e.exports=function(e){return null!=e&&"object"===typeof e&&!1===Array.isArray(e)}},function(e,t,n){"use strict";function r(e,t,n){var r;return(0,a.default)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,a.default)({paddingLeft:2*t.unit,paddingRight:2*t.unit},n,(0,o.default)({},e.up("sm"),(0,a.default)({paddingLeft:3*t.unit,paddingRight:3*t.unit},n[e.up("sm")])))},toolbar:(r={minHeight:56},(0,o.default)(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,o.default)(r,e.up("sm"),{minHeight:64}),r)},n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=i(n(7)),a=i(n(3))},function(e,t,n){"use strict";function r(e,t,n,r){e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,p.lighten)(e.main,r):"dark"===t&&(e.dark=(0,p.darken)(e.main,1.5*r)))}function i(e){function t(e){var t=(0,p.getContrastRatio)(e,g.text.primary)>=x?g.text.primary:m.text.primary;return t}function n(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;!e.main&&e[n]&&(e.main=e[n]),r(e,"light",i,S),r(e,"dark",o,S),e.contrastText||(e.contrastText=t(e.main))}var i=e.primary,o=void 0===i?{light:u.default[300],main:u.default[500],dark:u.default[700]}:i,v=e.secondary,y=void 0===v?{light:c.default.A200,main:c.default.A400,dark:c.default.A700}:v,b=e.error,w=void 0===b?{light:f.default[300],main:f.default[500],dark:f.default[700]}:b,E=e.type,T=void 0===E?"light":E,_=e.contrastThreshold,x=void 0===_?3:_,k=e.tonalOffset,S=void 0===k?.2:k,C=(0,s.default)(e,["primary","secondary","error","type","contrastThreshold","tonalOffset"]);n(o),n(y,"A400","A200","A700"),n(w);var O={dark:g,light:m};return(0,l.default)((0,a.default)({common:h.default,type:T,primary:o,secondary:y,error:w,grey:d.default,contrastThreshold:x,getContrastText:t,augmentColor:n,tonalOffset:S},O[T]),C,{clone:!1})}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=i,t.dark=t.light=void 0;var a=o(n(3)),s=o(n(4)),l=(o(n(13)),o(n(71))),u=o(n(152)),c=o(n(153)),d=o(n(154)),f=o(n(155)),h=o(n(156)),p=n(33),m={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:h.default.white,default:d.default[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.08)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.14)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)"}};t.light=m;var g={text:{primary:h.default.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:d.default[800],default:"#303030"},action:{active:h.default.white,hover:"rgba(255, 255, 255, 0.1)",hoverOpacity:.1,selected:"rgba(255, 255, 255, 0.2)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)"}};t.dark=g},function(e,t,n){"use strict";function r(e){return Math.round(1e5*e)/1e5}function i(e,t){function n(e){return"".concat(e/b*T,"rem")}var i="function"===typeof t?t(e):t,o=i.fontFamily,u=void 0===o?'"Roboto", "Helvetica", "Arial", sans-serif':o,c=i.fontSize,d=void 0===c?14:c,f=i.fontWeightLight,h=void 0===f?300:f,p=i.fontWeightRegular,m=void 0===p?400:p,g=i.fontWeightMedium,v=void 0===g?500:g,y=i.htmlFontSize,b=void 0===y?16:y,w=i.allVariants,E=(0,s.default)(i,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","htmlFontSize","allVariants"]),T=d/14;return(0,l.default)({pxToRem:n,round:r,fontFamily:u,fontSize:d,fontWeightLight:h,fontWeightRegular:m,fontWeightMedium:v,display4:(0,a.default)({fontSize:n(112),fontWeight:h,fontFamily:u,letterSpacing:"-.04em",lineHeight:"".concat(r(128/112),"em"),marginLeft:"-.04em",color:e.text.secondary},w),display3:(0,a.default)({fontSize:n(56),fontWeight:m,fontFamily:u,letterSpacing:"-.02em",lineHeight:"".concat(r(73/56),"em"),marginLeft:"-.02em",color:e.text.secondary},w),display2:(0,a.default)({fontSize:n(45),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(51/45),"em"),marginLeft:"-.02em",color:e.text.secondary},w),display1:(0,a.default)({fontSize:n(34),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(41/34),"em"),color:e.text.secondary},w),headline:(0,a.default)({fontSize:n(24),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(32.5/24),"em"),color:e.text.primary},w),title:(0,a.default)({fontSize:n(21),fontWeight:v,fontFamily:u,lineHeight:"".concat(r(24.5/21),"em"),color:e.text.primary},w),subheading:(0,a.default)({fontSize:n(16),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(1.5),"em"),color:e.text.primary},w),body2:(0,a.default)({fontSize:n(14),fontWeight:v,fontFamily:u,lineHeight:"".concat(r(24/14),"em"),color:e.text.primary},w),body1:(0,a.default)({fontSize:n(14),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(20.5/14),"em"),color:e.text.primary},w),caption:(0,a.default)({fontSize:n(12),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(1.375),"em"),color:e.text.secondary},w),button:(0,a.default)({fontSize:n(14),textTransform:"uppercase",fontWeight:v,fontFamily:u,color:e.text.primary},w)},E,{clone:!1})}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=o(n(3)),s=o(n(4)),l=o(n(71))},function(e,t,n){"use strict";function r(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0, 0, 0, ").concat(i,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0, 0, 0, ").concat(o,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0, 0, 0, ").concat(a,")")].join(",")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=.2,o=.14,a=.12,s=["none",r(0,1,3,0,0,1,1,0,0,2,1,-1),r(0,1,5,0,0,2,2,0,0,3,1,-2),r(0,1,8,0,0,3,4,0,0,3,3,-2),r(0,2,4,-1,0,4,5,0,0,1,10,0),r(0,3,5,-1,0,5,8,0,0,1,14,0),r(0,3,5,-1,0,6,10,0,0,1,18,0),r(0,4,5,-2,0,7,10,1,0,2,16,1),r(0,5,5,-3,0,8,10,1,0,3,14,2),r(0,5,6,-3,0,9,12,1,0,3,16,2),r(0,6,6,-3,0,10,14,1,0,4,18,3),r(0,6,7,-4,0,11,15,1,0,4,20,3),r(0,7,8,-4,0,12,17,2,0,5,22,4),r(0,7,8,-4,0,13,19,2,0,5,24,4),r(0,7,9,-4,0,14,21,2,0,5,26,4),r(0,8,9,-5,0,15,22,2,0,6,28,5),r(0,8,10,-5,0,16,24,2,0,6,30,5),r(0,8,11,-5,0,17,26,2,0,6,32,5),r(0,9,11,-5,0,18,28,2,0,7,34,6),r(0,9,12,-6,0,19,29,2,0,7,36,6),r(0,10,13,-6,0,20,31,3,0,8,38,7),r(0,10,13,-6,0,21,33,3,0,8,40,7),r(0,10,14,-6,0,22,35,3,0,8,42,7),r(0,11,14,-7,0,23,36,3,0,9,44,8),r(0,11,15,-7,0,24,38,3,0,9,46,8)],l=s;t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={borderRadius:4},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={unit:8},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={mobileStepper:1e3,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},i=r;t.default=i},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=e.split(m),r="",i=0;i<n.length;i++)r+=t+" "+n[i].trim(),n[i+1]&&(r+=", ");return r}function o(e){var t=e.options,n=e.style,r=n[d];if(r){for(var o in r)t.sheet.addRule(o,r[o],l({},t,{selector:i(o,e.selector)}));delete n[d]}}function a(e){var t=e.options,n=e.style;for(var r in n)if(r.substr(0,d.length)===d){var o=i(r.substr(d.length),e.selector);t.sheet.addRule(o,n[r],l({},t,{selector:o})),delete n[r]}}function s(){function e(e,t,n){if(e===d)return new h(e,t,n);if("@"===e[0]&&e.substr(0,f.length)===f)return new p(e,t,n);var r=n.parent;return r&&("global"!==r.type&&"global"!==r.options.parent.type||(n.global=!0)),n.global&&(n.selector=e),null}function t(e){"style"===e.type&&(o(e),a(e))}return{onCreateRule:e,onProcessRule:t}}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=s;var c=n(158),d="@global",f="@global ",h=function(){function e(t,n,i){r(this,e),this.type="global",this.key=t,this.options=i,this.rules=new c.RuleList(l({},i,{parent:this}));for(var o in n)this.rules.add(o,n[o],{selector:o});this.rules.process()}return u(e,[{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"addRule",value:function(e,t,n){var r=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(r),r}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"toString",value:function(){return this.rules.toString()}}]),e}(),p=function(){function e(t,n,i){r(this,e),this.name=t,this.options=i;var o=t.substr(f.length);this.rule=i.jss.createRule(o,n,l({},i,{parent:this,selector:o}))}return u(e,[{key:"toString",value:function(e){return this.rule.toString(e)}}]),e}(),m=/\s*,\s*/g},function(e,t,n){"use strict";function r(e){var t=null;for(var n in e){var o=e[n],a="undefined"===typeof o?"undefined":i(o);if("function"===a)t||(t={}),t[n]=o;else if("object"===a&&null!==o&&!Array.isArray(o)){var s=r(o);s&&(t||(t={}),t[n]=s)}}return t}Object.defineProperty(t,"__esModule",{value:!0});var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=r},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(44),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=function(){function e(){r(this,e),this.sheets=[],this.refs=[],this.keys=[]}return i(e,[{key:"get",value:function(e){var t=this.keys.indexOf(e);return this.sheets[t]}},{key:"add",value:function(e,t){var n=this.sheets,r=this.refs,i=this.keys,o=n.indexOf(t);return-1!==o?o:(n.push(t),r.push(0),i.push(e),n.length-1)}},{key:"manage",value:function(e){var t=this.keys.indexOf(e),n=this.sheets[t];return 0===this.refs[t]&&n.attach(),this.refs[t]++,this.keys[t]||this.keys.splice(t,0,e),n}},{key:"unmanage",value:function(e){var t=this.keys.indexOf(e);if(-1===t)return void(0,a.default)(!1,"SheetsManager: can't find sheet to unmanage");this.refs[t]>0&&0===--this.refs[t]&&this.sheets[t].detach()}},{key:"size",get:function(){return this.keys.length}}]),e}();t.default=s},function(e,t,n){"use strict";function r(e){if(null==e)return e;var t="undefined"===typeof e?"undefined":i(e);if("string"===t||"number"===t||"function"===t)return e;if(s(e))return e.map(r);if((0,a.default)(e))return e;var n={};for(var o in e){var l=e[o];"object"!==("undefined"===typeof l?"undefined":i(l))?n[o]=l:n[o]=r(l)}return n}Object.defineProperty(t,"__esModule",{value:!0});var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=r;var o=n(160),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=Array.isArray},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,r){var i,o=n(306);i="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:r;var a=Object(o.a)(i);t.default=a}.call(t,n(18),n(305)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"===typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}t.a=r},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});e.CSS;t.default=function(e){return e}}).call(t,n(18))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n="2f1acc6c3a606b082e5eef5e54414ffb";null==e[n]&&(e[n]=0),t.default=e[n]++}).call(t,n(18))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(74),u=r(l),c=n(163),d=r(c),f=n(310),h=r(f),p=n(311),m=r(p),g=n(317),v=r(g),y=n(318),b=r(y),w=n(99),E=r(w),T=n(45),_=r(T),x=n(162),k=r(x),S=n(73),C=r(S),O=n(319),A=r(O),P=n(320),I=r(P),R=m.default.concat([v.default,b.default]),N=0,M=function(){function e(t){i(this,e),this.id=N++,this.version="9.8.7",this.plugins=new h.default,this.options={createGenerateClassName:k.default,Renderer:u.default?A.default:I.default,plugins:[]},this.generateClassName=(0,k.default)(),this.use.apply(this,R),this.setup(t)}return s(e,[{key:"setup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.createGenerateClassName&&(this.options.createGenerateClassName=e.createGenerateClassName,this.generateClassName=e.createGenerateClassName()),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),(e.virtual||e.Renderer)&&(this.options.Renderer=e.Renderer||(e.virtual?I.default:A.default)),e.plugins&&this.use.apply(this,e.plugins),this}},{key:"createStyleSheet",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index;"number"!==typeof n&&(n=0===E.default.index?0:E.default.index+1);var r=new d.default(e,a({},t,{jss:this,generateClassName:t.generateClassName||this.generateClassName,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r}},{key:"removeStyleSheet",value:function(e){return e.detach(),E.default.remove(e),this}},{key:"createRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"object"===("undefined"===typeof e?"undefined":o(e))&&(n=t,t=e,e=void 0);var r=n;r.jss=this,r.Renderer=this.options.Renderer,r.generateClassName||(r.generateClassName=this.generateClassName),r.classes||(r.classes={});var i=(0,C.default)(e,t,r);return!r.selector&&i instanceof _.default&&(i.selector="."+r.generateClassName(i)),this.plugins.onProcessRule(i),i}},{key:"use",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach(function(t){-1===e.options.plugins.indexOf(t)&&(e.options.plugins.push(t),e.plugins.use(t))}),this}}]),e}();t.default=M},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(44),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=function(){function e(){r(this,e),this.hooks={onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}}return i(e,[{key:"onCreateRule",value:function(e,t,n){for(var r=0;r<this.hooks.onCreateRule.length;r++){var i=this.hooks.onCreateRule[r](e,t,n);if(i)return i}return null}},{key:"onProcessRule",value:function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.hooks.onProcessRule.length;n++)this.hooks.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}}},{key:"onProcessStyle",value:function(e,t,n){for(var r=e,i=0;i<this.hooks.onProcessStyle.length;i++)r=this.hooks.onProcessStyle[i](r,t,n),t.style=r}},{key:"onProcessSheet",value:function(e){for(var t=0;t<this.hooks.onProcessSheet.length;t++)this.hooks.onProcessSheet[t](e)}},{key:"onUpdate",value:function(e,t,n){for(var r=0;r<this.hooks.onUpdate.length;r++)this.hooks.onUpdate[r](e,t,n)}},{key:"onChangeValue",value:function(e,t,n){for(var r=e,i=0;i<this.hooks.onChangeValue.length;i++)r=this.hooks.onChangeValue[i](r,t,n);return r}},{key:"use",value:function(e){for(var t in e)this.hooks[t]?this.hooks[t].push(e[t]):(0,a.default)(!1,'[JSS] Unknown hook "%s".',t)}}]),e}();t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(312),o=r(i),a=n(313),s=r(a),l=n(314),u=r(l),c=n(315),d=r(c),f=n(316),h=r(f),p={"@charset":o.default,"@import":o.default,"@namespace":o.default,"@keyframes":s.default,"@media":u.default,"@supports":u.default,"@font-face":d.default,"@viewport":h.default,"@-ms-viewport":h.default},m=Object.keys(p).map(function(e){var t=new RegExp("^"+e),n=p[e];return{onCreateRule:function(e,r,i){return t.test(e)?new n(e,r,i):null}}});t.default=m},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n,i){r(this,e),this.type="simple",this.isProcessed=!1,this.key=t,this.value=n,this.options=i}return i(e,[{key:"toString",value:function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"}}]),e}();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")}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(60),s=function(e){return e&&e.__esModule?e:{default:e}}(a),l=function(){function e(t,n,o){r(this,e),this.type="keyframes",this.isProcessed=!1,this.key=t,this.options=o,this.rules=new s.default(i({},o,{parent:this}));for(var a in n)this.rules.add(a,n[a],i({},this.options,{parent:this,selector:a}));this.rules.process()}return o(e,[{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t&&(t+="\n"),this.key+" {\n"+t+"}"}}]),e}();t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(60),s=function(e){return e&&e.__esModule?e:{default:e}}(a),l=function(){function e(t,n,o){r(this,e),this.type="conditional",this.isProcessed=!1,this.key=t,this.options=o,this.rules=new s.default(i({},o,{parent:this}));for(var a in n)this.rules.add(a,n[a]);this.rules.process()}return o(e,[{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"addRule",value:function(e,t,n){var r=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(r),r}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""}}]),e}();t.default=l},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(98),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=function(){function e(t,n,i){r(this,e),this.type="font-face",this.isProcessed=!1,this.key=t,this.style=n,this.options=i}return i(e,[{key:"toString",value:function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=(0,a.default)(this.key,this.style[n]),this.style[n+1]&&(t+="\n");return t}return(0,a.default)(this.key,this.style,e)}}]),e}();t.default=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")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(98),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=function(){function e(t,n,i){r(this,e),this.type="viewport",this.isProcessed=!1,this.key=t,this.style=n,this.options=i}return i(e,[{key:"toString",value:function(e){return(0,a.default)(this.key,this.style,e)}}]),e}();t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(45),o=r(i),a=n(73),s=r(a),l=n(160),u=r(l);t.default={onCreateRule:function(e,t,n){if(!(0,u.default)(t))return null;var r=t,i=(0,s.default)(e,{},n);return r.subscribe(function(e){for(var t in e)i.prop(t,e[t])}),i},onProcessRule:function(e){if(e instanceof o.default){var t=e,n=t.style;for(var r in n){(function(e){var r=n[e];if(!(0,u.default)(r))return"continue";delete n[e],r.subscribe({next:function(n){t.prop(e,n)}})})(r)}}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(60),o=r(i),a=n(45),s=r(a),l=n(73),u=r(l),c=Date.now(),d="fnValues"+c,f="fnStyle"+ ++c;t.default={onCreateRule:function(e,t,n){if("function"!==typeof t)return null;var r=(0,u.default)(e,{},n);return r[f]=t,r},onProcessStyle:function(e,t){var n={};for(var r in e){var i=e[r];"function"===typeof i&&(delete e[r],n[r]=i)}return t=t,t[d]=n,e},onUpdate:function(e,t){if(t.rules instanceof o.default)return void t.rules.update(e);if(t instanceof s.default){if(t=t,t[d])for(var n in t[d])t.prop(n,t[d][n](e));t=t;var r=t[f];if(r){var i=r(e);for(var a in i)t.prop(a,i[a])}}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){try{return e.style.getPropertyValue(t)}catch(e){return""}}function a(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=(0,T.default)(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.style.setProperty(t,r)}catch(e){return!1}return!0}function s(e,t){try{e.style.removeProperty(t)}catch(e){(0,g.default)(!1,'[JSS] DOMException "%s" was thrown. Tried to remove property "%s".',e.message,t)}}function l(e,t){return e.selectorText=t,e.selectorText===t}function u(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}function c(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}function d(e){for(var t=S(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}function f(e){var t=y.default.registry;if(t.length>0){var n=u(t,e);if(n)return n.renderer.element;if(n=c(t,e))return n.renderer.element.nextElementSibling}var r=e.insertionPoint;if(r&&"string"===typeof r){var i=d(r);if(i)return i.nextSibling;(0,g.default)("jss"===r,'[JSS] Insertion point "%s" not found.',r)}return null}function h(e,t){var n=t.insertionPoint,r=f(t);if(r){var i=r.parentNode;return void(i&&i.insertBefore(e,r))}if(n&&"number"===typeof n.nodeType){var o=n,a=o.parentNode;return void(a?a.insertBefore(e,o.nextSibling):(0,g.default)(!1,"[JSS] Insertion point is not in the DOM."))}S().insertBefore(e,r)}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=n(44),g=r(m),v=n(99),y=r(v),b=n(45),w=r(b),E=n(72),T=r(E),_=function(e){var t=void 0;return function(){return t||(t=e()),t}},x={STYLE_RULE:1,KEYFRAMES_RULE:7},k=function(){var e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.substr(t,e.indexOf("{")-1)};return function(t){if(t.type===x.STYLE_RULE)return t.selectorText;if(t.type===x.KEYFRAMES_RULE){var n=t.name;if(n)return"@keyframes "+n;var r=t.cssText;return"@"+e(r,r.indexOf("keyframes"))}return e(t.cssText)}}(),S=_(function(){return document.head||document.getElementsByTagName("head")[0]}),C=function(){var e=void 0,t=!1;return function(n){var r={};e||(e=document.createElement("style"));for(var i=0;i<n.length;i++){var o=n[i];if(o instanceof w.default){var a=o.selector;if(a&&-1!==a.indexOf("\\")){t||(S().appendChild(e),t=!0),e.textContent=a+" {}";var s=e,l=s.sheet;if(l){var u=l.cssRules;u&&(r[u[0].selectorText]=o.key)}}}}return t&&(S().removeChild(e),t=!1),r}}(),O=_(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),A=function(){function e(t){i(this,e),this.getPropertyValue=o,this.setProperty=a,this.removeProperty=s,this.setSelector=l,this.getKey=k,this.getUnescapedKeysMap=C,this.hasInsertedRules=!1,t&&y.default.add(t),this.sheet=t;var n=this.sheet?this.sheet.options:{},r=n.media,u=n.meta,c=n.element;this.element=c||document.createElement("style"),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),u&&this.element.setAttribute("data-meta",u);var d=O();d&&this.element.setAttribute("nonce",d)}return p(e,[{key:"attach",value:function(){!this.element.parentNode&&this.sheet&&(this.hasInsertedRules&&(this.deploy(),this.hasInsertedRules=!1),h(this.element,this.sheet.options))}},{key:"detach",value:function(){this.element.parentNode.removeChild(this.element)}},{key:"deploy",value:function(){this.sheet&&(this.element.textContent="\n"+this.sheet.toString()+"\n")}},{key:"insertRule",value:function(e,t){var n=this.element.sheet,r=n.cssRules,i=e.toString();if(t||(t=r.length),!i)return!1;try{n.insertRule(i,t)}catch(t){return(0,g.default)(!1,"[JSS] Can not insert an unsupported rule \n\r%s",e),!1}return this.hasInsertedRules=!0,r[t]}},{key:"deleteRule",value:function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),!0)}},{key:"indexOf",value:function(e){for(var t=this.element.sheet.cssRules,n=0;n<t.length;n++)if(e===t[n])return n;return-1}},{key:"replaceRule",value:function(e,t){var n=this.indexOf(e),r=this.insertRule(t,n);return this.element.sheet.deleteRule(n),r}},{key:"getRules",value:function(){return this.element.sheet.cssRules}}]),e}();t.default=A},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){r(this,e)}return i(e,[{key:"setProperty",value:function(){return!0}},{key:"getPropertyValue",value:function(){return""}},{key:"removeProperty",value:function(){}},{key:"setSelector",value:function(){return!0}},{key:"getKey",value:function(){return""}},{key:"attach",value:function(){}},{key:"detach",value:function(){}},{key:"deploy",value:function(){}},{key:"insertRule",value:function(){return!1}},{key:"deleteRule",value:function(){return!0}},{key:"replaceRule",value:function(){return!1}},{key:"getRules",value:function(){}},{key:"indexOf",value:function(){return-1}}]),e}();t.default=o},function(e,t,n){"use strict";function r(){function e(e){return function(t,n){var r=e.getRule(n);return r?r.selector:((0,a.default)(!1,"[JSS] Could not find the referenced rule %s in %s.",n,e.options.meta||e),n)}}function t(e,t){for(var n=t.split(s),r=e.split(s),i="",a=0;a<n.length;a++)for(var u=n[a],c=0;c<r.length;c++){var d=r[c];i&&(i+=", "),i+=o(d)?d.replace(l,u):u+" "+d}return i}function n(e,t,n){if(n)return i({},n,{index:n.index+1});var r=e.options.nestingLevel;return r=void 0===r?1:r+1,i({},e.options,{nestingLevel:r,index:t.indexOf(e)+1})}function r(r,a){if("style"!==a.type)return r;var s=a.options.parent,l=void 0,c=void 0;for(var d in r){var f=o(d),h="@"===d[0];if(f||h){if(l=n(a,s,l),f){var p=t(d,a.selector);c||(c=e(s)),p=p.replace(u,c),s.addRule(p,r[d],i({},l,{selector:p}))}else h&&s.addRule(d,null,l).addRule(a.key,r[d],{selector:a.selector});delete r[d]}}return r}var o=function(e){return-1!==e.indexOf("&")};return{onProcessStyle:r}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=r;var o=n(322),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=/\s*,\s*/g,l=/&/g,u=/\$([\w-]+)/g},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){var t={};for(var n in e)t[(0,a.default)(n)]=e[n];return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(r):t.fallbacks=r(e.fallbacks)),t}function i(){function e(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=r(e[t]);return e}return r(e)}function t(e,t,n){var r=(0,a.default)(t);return t===r?e:(n.prop(r,e),null)}return{onProcessStyle:e,onChangeValue:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(164),a=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t,n){"use strict";function r(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var i in e)r[i]=e[i],r[i.replace(t,n)]=e[i];return r}function i(e,t,n){if(!t)return t;var r=t,o="undefined"===typeof t?"undefined":a(t);switch("object"===o&&Array.isArray(t)&&(o="array"),o){case"object":if("fallbacks"===e){for(var s in t)t[s]=i(s,t[s],n);break}for(var l in t)t[l]=i(e+"-"+l,t[l],n);break;case"array":for(var c=0;c<t.length;c++)t[c]=i(e,t[c],n);break;case"number":0!==t&&(r=t+(n[e]||u[e]||""))}return r}function o(){function e(e,t){if("style"!==t.type)return e;for(var n in e)e[n]=i(n,e[n],o);return e}function t(e,t){return i(t,e,o)}var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=r(n);return{onProcessStyle:e,onChangeValue:t}}Object.defineProperty(t,"__esModule",{value:!0});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};t.default=o;var s=n(325),l=function(e){return e&&e.__esModule?e:{default:e}}(s),u=r(l.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"animation-delay":"ms","animation-duration":"ms","background-position":"px","background-position-x":"px","background-position-y":"px","background-size":"px",border:"px","border-bottom":"px","border-bottom-left-radius":"px","border-bottom-right-radius":"px","border-bottom-width":"px","border-left":"px","border-left-width":"px","border-radius":"px","border-right":"px","border-right-width":"px","border-spacing":"px","border-top":"px","border-top-left-radius":"px","border-top-right-radius":"px","border-top-width":"px","border-width":"px","border-after-width":"px","border-before-width":"px","border-end-width":"px","border-horizontal-spacing":"px","border-start-width":"px","border-vertical-spacing":"px",bottom:"px","box-shadow":"px","column-gap":"px","column-rule":"px","column-rule-width":"px","column-width":"px","flex-basis":"px","font-size":"px","font-size-delta":"px",height:"px",left:"px","letter-spacing":"px","logical-height":"px","logical-width":"px",margin:"px","margin-after":"px","margin-before":"px","margin-bottom":"px","margin-left":"px","margin-right":"px","margin-top":"px","max-height":"px","max-width":"px","margin-end":"px","margin-start":"px","mask-position-x":"px","mask-position-y":"px","mask-size":"px","max-logical-height":"px","max-logical-width":"px","min-height":"px","min-width":"px","min-logical-height":"px","min-logical-width":"px",motion:"px","motion-offset":"px",outline:"px","outline-offset":"px","outline-width":"px",padding:"px","padding-bottom":"px","padding-left":"px","padding-right":"px","padding-top":"px","padding-after":"px","padding-before":"px","padding-end":"px","padding-start":"px","perspective-origin-x":"%","perspective-origin-y":"%",perspective:"px",right:"px","shape-margin":"px",size:"px","text-indent":"px","text-stroke":"px","text-stroke-width":"px",top:"px","transform-origin":"%","transform-origin-x":"%","transform-origin-y":"%","transform-origin-z":"%","transition-delay":"ms","transition-duration":"ms","vertical-align":"px",width:"px","word-spacing":"px","box-shadow-x":"px","box-shadow-y":"px","box-shadow-blur":"px","box-shadow-spread":"px","font-line-height":"px","text-shadow-x":"px","text-shadow-y":"px","text-shadow-blur":"px"}},function(e,t,n){"use strict";function r(){function e(e){"keyframes"===e.type&&(e.key="@"+o.prefix.css+e.key.substr(1))}function t(e,t){if("style"!==t.type)return e;for(var n in e){var r=e[n],i=!1,a=o.supportedProperty(n);a&&a!==n&&(i=!0);var s=!1,l=o.supportedValue(a,r);l&&l!==r&&(s=!0),(i||s)&&(i&&delete e[n],e[a||n]=l||r)}return e}function n(e,t){return o.supportedValue(t,e)}return{onProcessRule:e,onProcessStyle:t,onChangeValue:n}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(327),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.supportedValue=t.supportedProperty=t.prefix=void 0;var i=n(100),o=r(i),a=n(328),s=r(a),l=n(330),u=r(l);t.default={prefix:o.default,supportedProperty:s.default,supportedValue:u.default},t.prefix=o.default,t.supportedProperty=s.default,t.supportedValue=u.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return d?null!=f[e]?f[e]:((0,c.default)(e)in d.style?f[e]=e:l.default.js+(0,c.default)("-"+e)in d.style?f[e]=l.default.css+e:f[e]=!1,f[e]):e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(74),a=r(o),s=n(100),l=r(s),u=n(329),c=r(u),d=void 0,f={};if(a.default){d=document.createElement("p");var h=window.getComputedStyle(document.documentElement,"");for(var p in h)isNaN(p)||(f[h[p]]=h[p])}},function(e,t,n){"use strict";function r(e){return e.replace(o,i)}function i(e,t){return t?t.toUpperCase():""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=/[-\s]+(.)?/g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!c)return t;if("string"!==typeof t||!isNaN(parseInt(t,10)))return t;var n=e+t;if(null!=u[n])return u[n];try{c.style[e]=t}catch(e){return u[n]=!1,!1}return""!==c.style[e]?u[n]=t:(t=l.default.css+t,"-ms-flex"===t&&(t="-ms-flexbox"),c.style[e]=t,""!==c.style[e]&&(u[n]=t)),u[n]||(u[n]=!1),c.style[e]="",u[n]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(74),a=r(o),s=n(100),l=r(s),u={},c=void 0;a.default&&(c=document.createElement("p"))},function(e,t,n){"use strict";function r(){function e(e,t){return e.length-t.length}function t(t,n){if("style"!==n.type)return t;var r={},i=Object.keys(t).sort(e);for(var o in i)r[i[o]]=t[i[o]];return r}return{onProcessStyle:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";var r=n(46),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(8)),l=i(n(9)),u=i(n(10)),c=i(n(11)),d=i(n(12)),f=i(n(1)),h=i(n(2)),p=(i(n(13)),i(n(336))),m=r(n(101)),g=(i(n(36)),function(e){function t(e,n){var r;return(0,s.default)(this,t),r=(0,u.default)(this,(0,c.default)(t).call(this)),r.broadcast=(0,p.default)(),r.unsubscribeId=null,r.outerTheme=null,r.outerTheme=m.default.initial(n),r.broadcast.setState(r.mergeOuterLocalTheme(e.theme)),r}return(0,d.default)(t,e),(0,l.default)(t,[{key:"getChildContext",value:function(){var e,t=this.props,n=t.sheetsManager,r=t.disableStylesGeneration,i=this.context.muiThemeProviderOptions||{};return void 0!==n&&(i.sheetsManager=n),void 0!==r&&(i.disableStylesGeneration=r),e={},(0,a.default)(e,m.CHANNEL,this.broadcast),(0,a.default)(e,"muiThemeProviderOptions",i),e}},{key:"componentDidMount",value:function(){var e=this;this.unsubscribeId=m.default.subscribe(this.context,function(t){e.outerTheme=t,e.broadcast.setState(e.mergeOuterLocalTheme(e.props.theme))})}},{key:"componentDidUpdate",value:function(e){this.props.theme!==e.theme&&this.broadcast.setState(this.mergeOuterLocalTheme(this.props.theme))}},{key:"componentWillUnmount",value:function(){null!==this.unsubscribeId&&m.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"mergeOuterLocalTheme",value:function(e){return"function"===typeof e?e(this.outerTheme):this.outerTheme?(0,o.default)({},this.outerTheme,e):e}},{key:"render",value:function(){return this.props.children}}]),t}(f.default.Component));g.propTypes={},g.propTypes={},g.childContextTypes=(0,o.default)({},m.default.contextTypes,{muiThemeProviderOptions:h.default.object}),g.contextTypes=(0,o.default)({},m.default.contextTypes,{muiThemeProviderOptions:h.default.object});var v=g;t.default=v},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";var r=n(93),i=n(92),o=n(335);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e){function t(){return s}function n(e){s=e;for(var t=Object.keys(o),n=0,r=t.length;n<r;n++)o[t[n]]&&o[t[n]](e)}function r(e){if("function"!==typeof e)throw new Error("listener must be a function.");var t=a;return o[t]=e,a+=1,t}function i(e){o[e]=void 0}var o={},a=1,s=e;return{getState:t,setState:n,subscribe:r,unsubscribe:i}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},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}Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(2),a=n(165),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(a),l=n(339),u=function(e){return e&&e.__esModule?e:{default:e}}(l);t.default=(i={},r(i,s.jss,u.default.jss),r(i,s.sheetOptions,o.object),r(i,s.sheetsRegistry,u.default.registry),r(i,s.managers,o.object),i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);t.default={jss:(0,r.shape)({options:(0,r.shape)({createGenerateClassName:r.func.isRequired}).isRequired,createStyleSheet:r.func.isRequired,removeStyleSheet:r.func.isRequired}),registry:(0,r.shape)({add:r.func.isRequired,toString:r.func.isRequired})}},function(e,t,n){"use strict";function r(e,t){return t}function i(e){function t(t,i){var o=n?e(t):e;if(!i||!t.overrides||!t.overrides[i])return o;var l=t.overrides[i],u=(0,a.default)({},o);return Object.keys(l).forEach(function(e){u[e]=(0,s.default)(u[e],l[e],{arrayMerge:r})}),u}var n="function"===typeof e;return{create:t,options:{},themingEnabled:n}}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(3)),s=(o(n(75)),o(n(13)),o(n(71))),l=i;t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return E});var a=n(1),s=n.n(a),l=n(104),u=n.n(l),c=n(105),d=n.n(c),f=n(19),h=n.n(f),p=n(346),m=n.n(p),g=n(391),v=n(127),y=n(601),b=n(604),w=(n.n(b),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),E=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setHovered=function(){},n.removeHovered=function(){},n.setPageTop=function(){},n.removePageTop=function(){},n.state={sidebarEnabled:!1,minimized:!1,drawerOpen:!1,hovered:!1,pageTop:!0},n.updateDim=n.updateDim.bind(n),n.toggleDrawer=n.toggleDrawer.bind(n),n.appbarStyle={flexGrow:1,paddingTop:"2px"},n.logoStyle={flex:1,textAlign:"left",marginBottom:-5},n.logoHeight=30,n.minWidth=768,n.hoveredColor="#420dab",n.pageTopThresHeight=300,n}return o(t,e),w(t,[{key:"componentWillMount",value:function(){window.addEventListener("resize",this.updateDim),window.innerWidth<=this.minWidth&&this.setState({minimized:!0}),this.hamburgerStyle={paddingTop:this.props.data.getButtonHeight()}}},{key:"updateDim",value:function(){window.innerWidth<=this.minWidth&&!this.state.minimized?this.setState({minimized:!0}):window.innerWidth>this.minWidth&&this.state.minimized&&this.setState({minimized:!1,drawerOpen:!1})}},{key:"toggleDrawer",value:function(){this.setState({drawerOpen:!this.state.drawerOpen})}},{key:"render",value:function(){var e=this,t=this.props.a;return s.a.createElement("div",{style:Object.assign({},this.appbarStyle)},s.a.createElement(u.a,{className:"navHov",style:{backgroundColor:this.state.pageTop||this.state.hovered?this.hoveredColor:this.notHoveredColor,boxShadow:"none"},onMouseEnter:this.setHovered,onMouseLeave:this.removeHovered},s.a.createElement(d.a,null,s.a.createElement(h.a,{style:this.logoStyle,variant:"title",color:"primary"},s.a.createElement("a",{href:"https://2018.igem.org/Team:Washington"},s.a.createElement("svg",{style:{color:"white"},height:this.logoHeight,viewBox:"0 0 116.25 80"},s.a.createElement("g",null,s.a.createElement("path",{style:{fill:"white",stroke:"none",strokeWidth:4},d:"M84.384,3.819c0,0.858,0,12.238,0,13.098c0.856,0,9.206,0,9.206,0\r L83.311,55.168c0,0-12.577-50.636-12.756-51.349c-0.687,0-12.626,0-13.303,0c-0.188,0.696-13.796,51.352-13.796,51.352\r l-9.466-38.254c0,0,8.726,0,9.585,0c0-0.859,0-12.239,0-13.098c-0.919,0-37.532,0-38.451,0c0,0.858,0,12.238,0,13.098\r c0.851,0,8.52,0,8.52,0s14.703,58.809,14.88,59.523c0.708,0,19.942,0,20.639,0c0.183-0.697,9.852-37.454,9.852-37.454\r s9.187,36.747,9.364,37.454c0.707,0,19.941,0,20.639,0c0.186-0.702,15.656-59.523,15.656-59.523s7.6,0,8.449,0\r c0-0.859,0-12.239,0-13.098C112.217,3.819,85.292,3.819,84.384,3.819z"}))))),!this.state.minimized&&this.props.data.getNavbarData().map(function(n,r){return s.a.createElement(g.a,{a:t,data:e.props.data,name:e.props.name,pageTitle:e.props.pageTitle,nav:n,key:"abmL-"+r,hovered:e.state.hovered,removeHovered:e.removeHovered})}),this.state.minimized&&s.a.createElement("div",{style:this.hamburgerStyle},s.a.createElement(v.a,{color:"inherit","aria-label":"open drawer",onClick:function(){return e.toggleDrawer()}},s.a.createElement(m.a,null)),s.a.createElement(y.a,{drawerOpen:this.state.drawerOpen,toggleDrawer:this.toggleDrawer,data:this.props.data,side:"right",name:this.props.name,title:this.props.pageTitle,a:t})))))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.classes,i=e.className,c=e.color,h=e.position,p=(0,s.default)(e,["children","classes","className","color","position"]),m=(0,u.default)(r.root,r["position".concat((0,d.capitalize)(h))],(t={},(0,a.default)(t,r["color".concat((0,d.capitalize)(c))],"inherit"!==c),(0,a.default)(t,"mui-fixed","fixed"===h),t),i);return l.default.createElement(f.default,(0,o.default)({square:!0,component:"header",elevation:4,className:m},p),n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=i(n(25)),h=function(e){var t="light"===e.palette.type?e.palette.grey[100]:e.palette.grey[900];return{root:{display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",zIndex:e.zIndex.appBar,flexShrink:0},positionFixed:{position:"fixed",top:0,left:"auto",right:0},positionAbsolute:{position:"absolute",top:0,left:"auto",right:0},positionSticky:{position:"sticky",top:0,left:"auto",right:0},positionStatic:{position:"static"},colorDefault:{backgroundColor:t,color:e.palette.getContrastText(t)},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText}}};t.styles=h,r.propTypes={},r.defaultProps={color:"primary",position:"fixed"};var p=(0,c.default)(h,{name:"MuiAppBar"})(r);t.default=p},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.component,i=e.square,c=e.elevation,d=(0,a.default)(e,["classes","className","component","square","elevation"]),f=(0,u.default)(t.root,t["elevation".concat(c)],(0,o.default)({},t.rounded,!i),n);return l.default.createElement(r,(0,s.default)({className:f},d))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(4)),s=i(n(3)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=(i(n(13)),i(n(5))),d=function(e){var t={};return e.shadows.forEach(function(e,n){t["elevation".concat(n)]={boxShadow:e}}),(0,s.default)({root:{backgroundColor:e.palette.background.paper},rounded:{borderRadius:e.shape.borderRadius}},t)};t.styles=d,r.propTypes={},r.defaultProps={component:"div",elevation:2,square:!1};var f=(0,c.default)(d,{name:"MuiPaper"})(r);t.default=f},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=e.disableGutters,c=e.variant,d=(0,s.default)(e,["children","classes","className","disableGutters","variant"]),f=(0,u.default)(n.root,n[c],(0,a.default)({},n.gutters,!i),r);return l.default.createElement("div",(0,o.default)({className:f},d),t)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=function(e){return{root:{position:"relative",display:"flex",alignItems:"center"},gutters:e.mixins.gutters(),regular:e.mixins.toolbar,dense:{minHeight:48}}};t.styles=d,r.propTypes={},r.defaultProps={disableGutters:!1,variant:"regular"};var f=(0,c.default)(d,{name:"MuiToolbar"})(r);t.default=f},function(e,t,n){"use strict";function r(e){var t,n=e.align,r=e.classes,i=e.className,c=e.color,f=e.component,h=e.gutterBottom,p=e.headlineMapping,m=e.noWrap,g=e.paragraph,v=e.variant,y=(0,s.default)(e,["align","classes","className","color","component","gutterBottom","headlineMapping","noWrap","paragraph","variant"]),b=(0,u.default)(r.root,r[v],(t={},(0,a.default)(t,r["color".concat((0,d.capitalize)(c))],"default"!==c),(0,a.default)(t,r.noWrap,m),(0,a.default)(t,r.gutterBottom,h),(0,a.default)(t,r.paragraph,g),(0,a.default)(t,r["align".concat((0,d.capitalize)(n))],"inherit"!==n),t),i),w=f||(g?"p":p[v])||"span";return l.default.createElement(w,(0,o.default)({className:b},y))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=function(e){return{root:{display:"block",margin:0},display4:e.typography.display4,display3:e.typography.display3,display2:e.typography.display2,display1:e.typography.display1,headline:e.typography.headline,title:e.typography.title,subheading:e.typography.subheading,body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main}}};t.styles=f,r.propTypes={},r.defaultProps={align:"inherit",color:"default",gutterBottom:!1,headlineMapping:{display4:"h1",display3:"h1",display2:"h1",display1:"h1",headline:"h1",title:"h2",subheading:"h3",body2:"aside",body1:"p"},noWrap:!1,paragraph:!1,variant:"body1"};var h=(0,c.default)(f,{name:"MuiTypography"})(r);t.default=h},function(e,t,n){"use strict";var r=n(76);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(106)),a=(0,o.default)(i.default.createElement("g",null,i.default.createElement("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"})),"Menu");t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(348),o=r(i),a=n(389),s=r(a),l=n(179),u=(r(l),n(180)),c=(r(u),function(e){var t=(0,o.default)(function(e,t){return!(0,s.default)(e,t)});return t(e)});t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(349),o=r(i),a=n(350),s=r(a),l=n(379),u=r(l),c=n(1),d=n(179),f=(r(d),n(180)),h=(r(f),function(e){return function(t){var n=(0,c.createFactory)(t),r=function(t){function r(){return(0,o.default)(this,r),(0,s.default)(this,t.apply(this,arguments))}return(0,u.default)(r,t),r.prototype.shouldComponentUpdate=function(t){return e(this.props,t)},r.prototype.render=function(){return n(this.props)},r}(c.Component);return r}});t.default=h},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(168),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"===typeof t?"undefined":(0,i.default)(t))&&"function"!==typeof t?e:t}},function(e,t,n){e.exports={default:n(352),__esModule:!0}},function(e,t,n){n(353),n(365),e.exports=n(118).f("iterator")},function(e,t,n){"use strict";var r=n(354)(!0);n(169)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(107),i=n(108);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(112),i=n(79),o=n(117),a={};n(48)(a,n(53)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(49),i=n(64),o=n(113);e.exports=n(51)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(175);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(52),i=n(360),o=n(361);e.exports=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(107),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(107),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(34).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(37),i=n(364),o=n(114)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(108);e.exports=function(e){return Object(r(e))}},function(e,t,n){n(366);for(var r=n(34),i=n(48),o=n(111),a=n(53)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=r[u],d=c&&c.prototype;d&&!d[a]&&i(d,a,u),o[u]=o.Array}},function(e,t,n){"use strict";var r=n(367),i=n(368),o=n(111),a=n(52);e.exports=n(169)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(370),__esModule:!0}},function(e,t,n){n(371),n(376),n(377),n(378),e.exports=n(63).Symbol},function(e,t,n){"use strict";var r=n(34),i=n(37),o=n(51),a=n(77),s=n(173),l=n(372).KEY,u=n(78),c=n(115),d=n(117),f=n(80),h=n(53),p=n(118),m=n(119),g=n(373),v=n(374),y=n(64),b=n(50),w=n(52),E=n(110),T=n(79),_=n(112),x=n(375),k=n(178),S=n(49),C=n(113),O=k.f,A=S.f,P=x.f,I=r.Symbol,R=r.JSON,N=R&&R.stringify,M=h("_hidden"),D=h("toPrimitive"),L={}.propertyIsEnumerable,j=c("symbol-registry"),W=c("symbols"),B=c("op-symbols"),F=Object.prototype,z="function"==typeof I,U=r.QObject,H=!U||!U.prototype||!U.prototype.findChild,G=o&&u(function(){return 7!=_(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(F,t);r&&delete F[t],A(e,t,n),r&&e!==F&&A(F,t,r)}:A,q=function(e){var t=W[e]=_(I.prototype);return t._k=e,t},V=z&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},K=function(e,t,n){return e===F&&K(B,t,n),y(e),t=E(t,!0),y(n),i(W,t)?(n.enumerable?(i(e,M)&&e[M][t]&&(e[M][t]=!1),n=_(n,{enumerable:T(0,!1)})):(i(e,M)||A(e,M,T(1,{})),e[M][t]=!0),G(e,t,n)):A(e,t,n)},Y=function(e,t){y(e);for(var n,r=g(t=w(t)),i=0,o=r.length;o>i;)K(e,n=r[i++],t[n]);return e},Z=function(e,t){return void 0===t?_(e):Y(_(e),t)},X=function(e){var t=L.call(this,e=E(e,!0));return!(this===F&&i(W,e)&&!i(B,e))&&(!(t||!i(this,e)||!i(W,e)||i(this,M)&&this[M][e])||t)},Q=function(e,t){if(e=w(e),t=E(t,!0),e!==F||!i(W,t)||i(B,t)){var n=O(e,t);return!n||!i(W,t)||i(e,M)&&e[M][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=P(w(e)),r=[],o=0;n.length>o;)i(W,t=n[o++])||t==M||t==l||r.push(t);return r},J=function(e){for(var t,n=e===F,r=P(n?B:w(e)),o=[],a=0;r.length>a;)!i(W,t=r[a++])||n&&!i(F,t)||o.push(W[t]);return o};z||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(B,n),i(this,M)&&i(this[M],e)&&(this[M][e]=!1),G(this,e,T(1,n))};return o&&H&&G(F,e,{configurable:!0,set:t}),q(e)},s(I.prototype,"toString",function(){return this._k}),k.f=Q,S.f=K,n(177).f=x.f=$,n(120).f=X,n(176).f=J,o&&!n(109)&&s(F,"propertyIsEnumerable",X,!0),p.f=function(e){return q(h(e))}),a(a.G+a.W+a.F*!z,{Symbol:I});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)h(ee[te++]);for(var ne=C(h.store),re=0;ne.length>re;)m(ne[re++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return i(j,e+="")?j[e]:j[e]=I(e)},keyFor:function(e){if(!V(e))throw TypeError(e+" is not a symbol!");for(var t in j)if(j[t]===e)return t},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!z,"Object",{create:Z,defineProperty:K,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:$,getOwnPropertySymbols:J}),R&&a(a.S+a.F*(!z||u(function(){var e=I();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!V(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!V(t))return t}),r[1]=t,N.apply(R,r)}}),I.prototype[D]||n(48)(I.prototype,D,I.prototype.valueOf),d(I,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(80)("meta"),i=n(50),o=n(37),a=n(49).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(78)(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},f=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},h=function(e){return u&&p.NEED&&l(e)&&!o(e,r)&&c(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:f,onFreeze:h}},function(e,t,n){var r=n(113),i=n(176),o=n(120);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,n){var r=n(175);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(52),i=n(177).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},function(e,t){},function(e,t,n){n(119)("asyncIterator")},function(e,t,n){n(119)("observable")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(380),o=r(i),a=n(384),s=r(a),l=n(168),u=r(l);t.default=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof t?"undefined":(0,u.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(o.default?(0,o.default)(e,t):e.__proto__=t)}},function(e,t,n){e.exports={default:n(381),__esModule:!0}},function(e,t,n){n(382),e.exports=n(63).Object.setPrototypeOf},function(e,t,n){var r=n(77);r(r.S,"Object",{setPrototypeOf:n(383).set})},function(e,t,n){var r=n(50),i=n(64),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(170)(Function.call,n(178).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){e.exports={default:n(385),__esModule:!0}},function(e,t,n){n(386);var r=n(63).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(77);r(r.S,"Object",{create:n(112)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){return function(n){return n[e]=t,n}};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if("string"===typeof e)return e;if(e)return e.displayName||e.name||"Component"};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(94),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=i.default},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.classes,i=e.className,c=e.color,f=e.component,h=e.fontSize,p=e.nativeColor,m=e.titleAccess,g=e.viewBox,v=(0,s.default)(e,["children","classes","className","color","component","fontSize","nativeColor","titleAccess","viewBox"]),y=(0,u.default)(r.root,(t={},(0,a.default)(t,r.fontSizeInherit,"inherit"===h),(0,a.default)(t,r["color".concat((0,d.capitalize)(c))],"inherit"!==c),t),i);return l.default.createElement(f,(0,o.default)({className:y,focusable:"false",viewBox:g,color:p,"aria-hidden":m?"false":"true"},v),n,m?l.default.createElement("title",null,m):null)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:24,transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"}}};t.styles=f,r.propTypes={},r.defaultProps={color:"inherit",component:"svg",fontSize:"default",viewBox:"0 0 24 24"},r.muiName="SvgIcon";var h=(0,c.default)(f,{name:"MuiSvgIcon"})(r);t.default=h},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return m});var a=n(1),s=n.n(a),l=n(54),u=n.n(l),c=n(183),d=n.n(c),f=n(126),h=n.n(f),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClick=function(e){n.setState({anchorEl:e.currentTarget})},n.handleClose=function(){n.setState({anchorEl:null}),n.props.removeHovered()},n.handleLink=function(){n.a(),n.handleClose()},n.state={anchorEl:null},n.getLink=n.getLink.bind(n),n.buttonStyle={margin:"2px",textTransform:"none",fontFamily:"RalewayBold",marginLeft:15},n.anchorElSpacing=45,n.buttonVariant="text",n.menuItemStyles={color:"#000000",textDecoration:"none",fontFamily:"RalewayBold"},n}return o(t,e),p(t,[{key:"componentWillMount",value:function(){this.appbarStyle={paddingTop:this.props.data.getButtonHeight()},this.a=this.props.a}},{key:"getLink",value:function(e){var t=""+this.props.name+this.props.nav.links[e];return"Home"===this.props.nav.title&&(t=this.props.nav.links[e]),t}},{key:"render",value:function(){var e=this,t=this.state.anchorEl;return s.a.createElement("div",{style:this.appbarStyle},s.a.createElement(u.a,{variant:this.buttonVariant,"aria-owns":t?"simple-menu":null,"aria-haspopup":"true",onClick:this.handleClick,color:"inherit",style:this.buttonStyle},this.props.nav.title),s.a.createElement(d.a,{id:"simple-menu",anchorEl:t,open:Boolean(t),onClose:this.handleClose,anchorOrigin:{vertical:this.anchorElSpacing,horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},getContentAnchorEl:null},this.props.nav.names.map(function(t,n){return s.a.createElement(h.a,{style:e.menuItemStyles,component:"a",href:e.getLink(n),disabled:e.props.pageTitle===e.props.nav.links[n],key:t+"-"+n,onClick:e.handleLink,value:n},t)})))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.classes,i=e.className,c=e.color,d=e.disabled,p=e.disableFocusRipple,m=e.fullWidth,g=e.focusVisibleClassName,v=e.mini,y=e.size,b=e.variant,w=(0,a.default)(e,["children","classes","className","color","disabled","disableFocusRipple","fullWidth","focusVisibleClassName","mini","size","variant"]),E="fab"===b||"extendedFab"===b,T="contained"===b||"raised"===b,_="text"===b||"flat"===b||"outlined"===b,x=(0,u.default)(r.root,(t={},(0,o.default)(t,r.fab,E),(0,o.default)(t,r.mini,E&&v),(0,o.default)(t,r.extendedFab,"extendedFab"===b),(0,o.default)(t,r.text,_),(0,o.default)(t,r.textPrimary,_&&"primary"===c),(0,o.default)(t,r.textSecondary,_&&"secondary"===c),(0,o.default)(t,r.flat,"text"===b||"flat"===b),(0,o.default)(t,r.flatPrimary,("text"===b||"flat"===b)&&"primary"===c),(0,o.default)(t,r.flatSecondary,("text"===b||"flat"===b)&&"secondary"===c),(0,o.default)(t,r.contained,T||E),(0,o.default)(t,r.containedPrimary,(T||E)&&"primary"===c),(0,o.default)(t,r.containedSecondary,(T||E)&&"secondary"===c),(0,o.default)(t,r.raised,T||E),(0,o.default)(t,r.raisedPrimary,(T||E)&&"primary"===c),(0,o.default)(t,r.raisedSecondary,(T||E)&&"secondary"===c),(0,o.default)(t,r.outlined,"outlined"===b),(0,o.default)(t,r.outlinedPrimary,"outlined"===b&&"primary"===c),(0,o.default)(t,r.outlinedSecondary,"outlined"===b&&"secondary"===c),(0,o.default)(t,r["size".concat((0,h.capitalize)(y))],"medium"!==y),(0,o.default)(t,r.disabled,d),(0,o.default)(t,r.fullWidth,m),(0,o.default)(t,r.colorInherit,"inherit"===c),t),i);return l.default.createElement(f.default,(0,s.default)({className:x,disabled:d,focusRipple:!p,focusVisibleClassName:(0,u.default)(r.focusVisible,g)},w),l.default.createElement("span",{className:r.label},n))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(4)),s=i(n(3)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(33),f=i(n(26)),h=n(14),p=function(e){return{root:(0,s.default)({},e.typography.button,{lineHeight:"1.4em",boxSizing:"border-box",minWidth:64,minHeight:36,padding:"8px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:(0,d.fade)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,d.fade)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,d.fade)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},flat:{},flatPrimary:{},flatSecondary:{},outlined:{border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},outlinedPrimary:{border:"1px solid ".concat((0,d.fade)(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main)}},outlinedSecondary:{border:"1px solid ".concat((0,d.fade)(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground},"&:hover":{backgroundColor:e.palette.grey.A100,"@media (hover: none)":{backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},raised:{},raisedPrimary:{},raisedSecondary:{},fab:{borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,boxShadow:e.shadows[6],"&:active":{boxShadow:e.shadows[12]}},extendedFab:{borderRadius:24,padding:"0 16px",width:"auto",minWidth:48,height:48},focusVisible:{},disabled:{},colorInherit:{color:"inherit"},mini:{width:40,height:40},sizeSmall:{padding:"7px 8px",minWidth:64,minHeight:32,fontSize:e.typography.pxToRem(13)},sizeLarge:{padding:"8px 24px",minWidth:112,minHeight:40,fontSize:e.typography.pxToRem(15)},fullWidth:{width:"100%"}}};t.styles=p,r.propTypes={},r.defaultProps={color:"default",component:"button",disabled:!1,disableFocusRipple:!1,fullWidth:!1,mini:!1,size:"medium",type:"button",variant:"text"};var m=(0,c.default)(p,{name:"MuiButton"})(r);t.default=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(47)),h=r(n(1)),p=(r(n(2)),r(n(15))),m=r(n(6)),g=r(n(55)),v=r(n(81)),y=r(n(5)),b=n(394),w=r(n(395)),E=r(n(403)),T={root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:"none",border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"}},disabled:{},focusVisible:{}};t.styles=T;var _=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.ripple=null,n.keyDown=!1,n.button=null,n.focusVisibleTimeout=null,n.focusVisibleCheckTime=50,n.focusVisibleMaxCheckTimes=5,n.handleMouseDown=(0,E.default)((0,f.default)((0,f.default)(n)),"MouseDown","start",function(){clearTimeout(n.focusVisibleTimeout),n.state.focusVisible&&n.setState({focusVisible:!1})}),n.handleMouseUp=(0,E.default)((0,f.default)((0,f.default)(n)),"MouseUp","stop"),n.handleMouseLeave=(0,E.default)((0,f.default)((0,f.default)(n)),"MouseLeave","stop",function(e){n.state.focusVisible&&e.preventDefault()}),n.handleTouchStart=(0,E.default)((0,f.default)((0,f.default)(n)),"TouchStart","start"),n.handleTouchEnd=(0,E.default)((0,f.default)((0,f.default)(n)),"TouchEnd","stop"),n.handleTouchMove=(0,E.default)((0,f.default)((0,f.default)(n)),"TouchMove","stop"),n.handleBlur=(0,E.default)((0,f.default)((0,f.default)(n)),"Blur","stop",function(){clearTimeout(n.focusVisibleTimeout),n.state.focusVisible&&n.setState({focusVisible:!1})}),n.state={},n.onRippleRef=function(e){n.ripple=e},n.onFocusVisibleHandler=function(e){n.keyDown=!1,n.setState({focusVisible:!0}),n.props.onFocusVisible&&n.props.onFocusVisible(e)},n.handleKeyDown=function(e){var t=n.props,r=t.component,i=t.focusRipple,o=t.onKeyDown,a=t.onClick,s=(0,g.default)(e);i&&!n.keyDown&&n.state.focusVisible&&n.ripple&&"space"===s&&(n.keyDown=!0,e.persist(),n.ripple.stop(e,function(){n.ripple.start(e)})),o&&o(e),e.target!==e.currentTarget||!r||"button"===r||"space"!==s&&"enter"!==s||"A"===n.button.tagName&&n.button.href||(e.preventDefault(),a&&a(e))},n.handleKeyUp=function(e){n.props.focusRipple&&"space"===(0,g.default)(e)&&n.ripple&&n.state.focusVisible&&(n.keyDown=!1,e.persist(),n.ripple.stop(e,function(){n.ripple.pulsate(e)})),n.props.onKeyUp&&n.props.onKeyUp(e)},n.handleFocus=function(e){n.props.disabled||(n.button||(n.button=e.currentTarget),e.persist(),(0,b.detectFocusVisible)((0,f.default)((0,f.default)(n)),n.button,function(){n.onFocusVisibleHandler(e)}),n.props.onFocus&&n.props.onFocus(e))},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){var e=this;this.button=p.default.findDOMNode(this),(0,b.listenForFocusKeys)((0,v.default)(this.button)),this.props.action&&this.props.action({focusVisible:function(){e.setState({focusVisible:!0}),e.button.focus()}})}},{key:"componentDidUpdate",value:function(e,t){this.props.focusRipple&&!this.props.disableRipple&&!t.focusVisible&&this.state.focusVisible&&this.ripple.pulsate()}},{key:"componentWillUnmount",value:function(){this.button=null,clearTimeout(this.focusVisibleTimeout)}},{key:"render",value:function(){var e,t=this.props,n=(t.action,t.buttonRef),r=t.centerRipple,s=t.children,l=t.classes,u=t.className,c=t.component,d=t.disabled,f=t.disableRipple,p=(t.disableTouchRipple,t.focusRipple,t.focusVisibleClassName),g=(t.onBlur,t.onFocus,t.onFocusVisible,t.onKeyDown,t.onKeyUp,t.onMouseDown,t.onMouseLeave,t.onMouseUp,t.onTouchEnd,t.onTouchMove,t.onTouchStart,t.tabIndex),v=t.TouchRippleProps,y=t.type,b=(0,a.default)(t,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","type"]),E=(0,m.default)(l.root,(e={},(0,o.default)(e,l.disabled,d),(0,o.default)(e,l.focusVisible,this.state.focusVisible),(0,o.default)(e,p,this.state.focusVisible),e),u),T={},_=c;return"button"===_&&b.href&&(_="a"),"button"===_?(T.type=y||"button",T.disabled=d):T.role="button",h.default.createElement(_,(0,i.default)({onBlur:this.handleBlur,onFocus:this.handleFocus,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onMouseDown:this.handleMouseDown,onMouseLeave:this.handleMouseLeave,onMouseUp:this.handleMouseUp,onTouchEnd:this.handleTouchEnd,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,tabIndex:d?"-1":g,className:E,ref:n},T,b),s,f||d?null:h.default.createElement(w.default,(0,i.default)({innerRef:this.onRippleRef,center:r},v)))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return"undefined"===typeof t.focusVisible?{focusVisible:!1,lastDisabled:e.disabled}:!t.prevState&&e.disabled&&t.focusVisible?{focusVisible:!1,lastDisabled:e.disabled}:{lastDisabled:e.disabled}}}]),t}(h.default.Component);_.propTypes={},_.defaultProps={centerRipple:!1,component:"button",disableRipple:!1,disableTouchRipple:!1,focusRipple:!1,tabIndex:"0",type:"button"};var x=(0,y.default)(T,{name:"MuiButtonBase"})(_);t.default=x},function(e,t,n){"use strict";function r(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;e.focusVisibleTimeout=setTimeout(function(){var o=(0,l.default)(t);u.focusKeyPressed&&(o.activeElement===t||t.contains(o.activeElement))?n():i<e.focusVisibleMaxCheckTimes&&r(e,t,n,i+1)},e.focusVisibleCheckTime)}function i(e){return c.indexOf((0,s.default)(e))>-1}function o(e){e.addEventListener("keyup",d)}var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.detectFocusVisible=r,t.listenForFocusKeys=o;var s=a(n(55)),l=(a(n(13)),a(n(30))),u={focusKeyPressed:!1,keyUpEventTimeout:-1},c=["tab","enter","space","esc","up","down","left","right"],d=function(e){i(e)&&(u.focusKeyPressed=!0,clearTimeout(u.keyUpEventTimeout),u.keyUpEventTimeout=setTimeout(function(){u.focusKeyPressed=!1},1e3))}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=t.DELAY_RIPPLE=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(82)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(47)),h=r(n(1)),p=(r(n(2)),r(n(15))),m=r(n(121)),g=r(n(6)),v=r(n(5)),y=r(n(402)),b=550,w=80;t.DELAY_RIPPLE=w;var E=function(e){return{root:{display:"block",position:"absolute",overflow:"hidden",borderRadius:"inherit",width:"100%",height:"100%",left:0,top:0,pointerEvents:"none",zIndex:0},ripple:{width:50,height:50,left:0,top:0,opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"mui-ripple-enter ".concat(b,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"mui-ripple-exit ".concat(b,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"mui-ripple-pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes mui-ripple-enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes mui-ripple-exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes mui-ripple-pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}};t.styles=E;var T=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.ignoringMouseDown=!1,n.startTimer=null,n.startTimerCommit=null,n.state={nextKey:0,ripples:[]},n.pulsate=function(){n.start({},{pulsate:!0})},n.start=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=t.pulsate,o=void 0!==i&&i,a=t.center,s=void 0===a?n.props.center||t.pulsate:a,l=t.fakeElement,u=void 0!==l&&l;if("mousedown"===e.type&&n.ignoringMouseDown)return void(n.ignoringMouseDown=!1);"touchstart"===e.type&&(n.ignoringMouseDown=!0);var c,d,h,m=u?null:p.default.findDOMNode((0,f.default)((0,f.default)(n))),g=m?m.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(g.width/2),d=Math.round(g.height/2);else{var v=e.clientX?e.clientX:e.touches[0].clientX,y=e.clientY?e.clientY:e.touches[0].clientY;c=Math.round(v-g.left),d=Math.round(y-g.top)}if(s)(h=Math.sqrt((2*Math.pow(g.width,2)+Math.pow(g.height,2))/3))%2===0&&(h+=1);else{var b=2*Math.max(Math.abs((m?m.clientWidth:0)-c),c)+2,E=2*Math.max(Math.abs((m?m.clientHeight:0)-d),d)+2;h=Math.sqrt(Math.pow(b,2)+Math.pow(E,2))}e.touches?(n.startTimerCommit=function(){n.startCommit({pulsate:o,rippleX:c,rippleY:d,rippleSize:h,cb:r})},n.startTimer=setTimeout(function(){n.startTimerCommit&&(n.startTimerCommit(),n.startTimerCommit=null)},w)):n.startCommit({pulsate:o,rippleX:c,rippleY:d,rippleSize:h,cb:r})},n.startCommit=function(e){var t=e.pulsate,r=e.rippleX,i=e.rippleY,o=e.rippleSize,s=e.cb;n.setState(function(e){return{nextKey:e.nextKey+1,ripples:(0,a.default)(e.ripples).concat([h.default.createElement(y.default,{key:e.nextKey,classes:n.props.classes,timeout:{exit:b,enter:b},pulsate:t,rippleX:r,rippleY:i,rippleSize:o})])}},s)},n.stop=function(e,t){clearTimeout(n.startTimer);var r=n.state.ripples;if("touchend"===e.type&&n.startTimerCommit)return e.persist(),n.startTimerCommit(),n.startTimerCommit=null,void(n.startTimer=setTimeout(function(){n.stop(e,t)},0));n.startTimerCommit=null,r&&r.length&&n.setState({ripples:r.slice(1)},t)},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.startTimer)}},{key:"render",value:function(){var e=this.props,t=(e.center,e.classes),n=e.className,r=(0,o.default)(e,["center","classes","className"]);return h.default.createElement(m.default,(0,i.default)({component:"span",enter:!0,exit:!0,className:(0,g.default)(t.root,n)},r),this.state.ripples)}}]),t}(h.default.PureComponent);T.propTypes={},T.defaultProps={center:!1};var _=(0,v.default)(E,{flip:!1,name:"MuiTouchRipple"})(T);t.default=_},function(e,t){function n(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}e.exports=n},function(e,t){function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}e.exports=n},function(e,t){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance")}e.exports=n},function(e,t,n){"use strict";function r(){}var i=n(400);e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e,t){var n=function(e){return t&&(0,l.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&l.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function i(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var a=void 0,s={};for(var l in t){if(r[l])for(a=0;a<r[l].length;a++){var u=r[l][a];s[r[l][a]]=n(u)}s[l]=n(l)}for(a=0;a<i.length;a++)s[i[a]]=n(i[a]);return s}function o(e,t,n){return null!=n[t]?n[t]:e.props[t]}function a(e,t){return r(e.children,function(n){return(0,l.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:o(n,"appear",e),enter:o(n,"enter",e),exit:o(n,"exit",e)})})}function s(e,t,n){var a=r(e.children),s=i(t,a);return Object.keys(s).forEach(function(r){var i=s[r];if((0,l.isValidElement)(i)){var u=r in t,c=r in a,d=t[r],f=(0,l.isValidElement)(d)&&!d.props.in;!c||u&&!f?c||!u||f?c&&u&&(0,l.isValidElement)(d)&&(s[r]=(0,l.cloneElement)(i,{onExited:n.bind(null,i),in:d.props.in,exit:o(i,"exit",e),enter:o(i,"enter",e)})):s[r]=(0,l.cloneElement)(i,{in:!1}):s[r]=(0,l.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:o(i,"exit",e),enter:o(i,"enter",e)})}}),s}t.__esModule=!0,t.getChildMapping=r,t.mergeChildMappings=i,t.getInitialChildMapping=a,t.getNextChildMapping=s;var l=n(1)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(35)),m=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.state={visible:!1,leaving:!1},n.handleEnter=function(){n.setState({visible:!0})},n.handleExit=function(){n.setState({leaving:!0})},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e,t,n=this.props,r=n.classes,s=n.className,l=n.pulsate,u=n.rippleX,c=n.rippleY,d=n.rippleSize,m=(0,a.default)(n,["classes","className","pulsate","rippleX","rippleY","rippleSize"]),g=this.state,v=g.visible,y=g.leaving,b=(0,h.default)(r.ripple,(e={},(0,o.default)(e,r.rippleVisible,v),(0,o.default)(e,r.ripplePulsate,l),e),s),w={width:d,height:d,top:-d/2+c,left:-d/2+u},E=(0,h.default)(r.child,(t={},(0,o.default)(t,r.childLeaving,y),(0,o.default)(t,r.childPulsate,l),t));return f.default.createElement(p.default,(0,i.default)({onEnter:this.handleEnter,onExit:this.handleExit},m),f.default.createElement("span",{className:b,style:w},f.default.createElement("span",{className:E})))}}]),t}(f.default.Component);m.propTypes={},m.defaultProps={pulsate:!1};var g=m;t.default=g},function(e,t,n){"use strict";function r(e,t,n,r){return function(i){r&&r.call(e,i);var o=!1;return i.defaultPrevented&&(o=!0),e.props.disableTouchRipple&&"Blur"!==t&&(o=!0),!o&&e.ripple&&e.ripple[n](i),"function"===typeof e.props["on".concat(t)]&&e.props["on".concat(t)](i),!0}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r;t.default=i},function(e,t,n){"use strict";function r(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function i(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function o(e){return[e.horizontal,e.vertical].map(function(e){return"number"===typeof e?"".concat(e,"px"):e}).join(" ")}function a(e,t){for(var n=t,r=0;n&&n!==e;)n=n.parentNode,r+=n.scrollTop;return r}function s(e){return"function"===typeof e?e():e}var l=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var u=l(n(3)),c=l(n(4)),d=l(n(8)),f=l(n(9)),h=l(n(10)),p=l(n(11)),m=l(n(12)),g=l(n(1)),v=(l(n(2)),l(n(15))),y=(l(n(13)),l(n(38))),b=l(n(31)),w=l(n(30)),E=l(n(81)),T=l(n(5)),_=l(n(83)),x=l(n(125)),k=l(n(25)),S={paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:"none"}};t.styles=S;var C=function(e){function t(){var e,n;(0,d.default)(this,t);for(var a=arguments.length,l=new Array(a),u=0;u<a;u++)l[u]=arguments[u];return n=(0,h.default)(this,(e=(0,p.default)(t)).call.apply(e,[this].concat(l))),n.paperRef=null,n.handleGetOffsetTop=r,n.handleGetOffsetLeft=i,n.handleResize=(0,y.default)(function(){n.setPositioningStyles(n.paperRef)},166),n.componentWillUnmount=function(){n.handleResize.clear()},n.setPositioningStyles=function(e){if(e&&e.style){var t=n.getPositioningStyle(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}},n.getPositioningStyle=function(e){var t=n.props,r=t.anchorEl,i=t.anchorReference,a=t.marginThreshold,l=n.getContentAnchorOffset(e),u={width:e.clientWidth,height:e.clientHeight},c=n.getTransformOrigin(u,l);if("none"===i)return{top:null,left:null,transformOrigin:o(c)};var d=n.getAnchorOffset(l),f=d.top-c.vertical,h=d.left-c.horizontal,p=f+u.height,m=h+u.width,g=(0,E.default)(s(r)),v=g.innerHeight-a,y=g.innerWidth-a;if(f<a){var b=f-a;f-=b,c.vertical+=b}else if(p>v){var w=p-v;f-=w,c.vertical+=w}if(h<a){var T=h-a;h-=T,c.horizontal+=T}else if(m>y){var _=m-y;h-=_,c.horizontal+=_}return{top:"".concat(f,"px"),left:"".concat(h,"px"),transformOrigin:o(c)}},n.handleEnter=function(e){n.props.onEnter&&n.props.onEnter(e),n.setPositioningStyles(e)},n}return(0,m.default)(t,e),(0,f.default)(t,[{key:"componentDidMount",value:function(){this.props.action&&this.props.action({updatePosition:this.handleResize})}},{key:"getAnchorOffset",value:function(e){var t=this.props,n=t.anchorEl,r=t.anchorOrigin,i=t.anchorReference,o=t.anchorPosition;if("anchorPosition"===i)return o;var a=s(n)||(0,w.default)(this.paperRef).body,l=a.getBoundingClientRect(),u=0===e?r.vertical:"center";return{top:l.top+this.handleGetOffsetTop(l,u),left:l.left+this.handleGetOffsetLeft(l,r.horizontal)}}},{key:"getContentAnchorOffset",value:function(e){var t=this.props,n=t.getContentAnchorEl,r=t.anchorReference,i=0;if(n&&"anchorEl"===r){var o=n(e);if(o&&e.contains(o)){var s=a(e,o);i=o.offsetTop+o.clientHeight/2-s||0}}return i}},{key:"getTransformOrigin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.props.transformOrigin;return{vertical:this.handleGetOffsetTop(e,n.vertical)+t,horizontal:this.handleGetOffsetLeft(e,n.horizontal)}}},{key:"render",value:function(){var e=this,t=this.props,n=(t.action,t.anchorEl),r=(t.anchorOrigin,t.anchorPosition,t.anchorReference,t.children),i=t.classes,o=t.container,a=t.elevation,l=(t.getContentAnchorEl,t.marginThreshold,t.ModalClasses),d=(t.onEnter,t.onEntered),f=t.onEntering,h=t.onExit,p=t.onExited,m=t.onExiting,y=t.open,E=t.PaperProps,T=t.role,x=(t.transformOrigin,t.TransitionComponent),S=t.transitionDuration,C=t.TransitionProps,O=(0,c.default)(t,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","container","elevation","getContentAnchorEl","marginThreshold","ModalClasses","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","role","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),A=S;"auto"!==S||x.muiSupportAuto||(A=void 0);var P=o||(n?(0,w.default)(s(n)).body:void 0);return g.default.createElement(_.default,(0,u.default)({classes:l,container:P,open:y,BackdropProps:{invisible:!0}},O),g.default.createElement(x,(0,u.default)({appear:!0,in:y,onEnter:this.handleEnter,onEntered:d,onEntering:f,onExit:h,onExited:p,onExiting:m,role:T,timeout:A},C),g.default.createElement(k.default,(0,u.default)({className:i.paper,elevation:a,ref:function(t){e.paperRef=v.default.findDOMNode(t)}},E),g.default.createElement(b.default,{target:"window",onResize:this.handleResize}),r)))}}]),t}(g.default.Component);C.propTypes={},C.defaultProps={anchorReference:"anchorEl",anchorOrigin:{vertical:"top",horizontal:"left"},elevation:8,marginThreshold:16,transformOrigin:{vertical:"top",horizontal:"left"},TransitionComponent:x.default,transitionDuration:"auto"};var O=(0,T.default)(S,{name:"MuiPopover"})(C);t.default=O},function(e,t,n){"use strict";function r(e,t){return e="function"===typeof e?e():e,g.default.findDOMNode(e)||t}function i(e){return!!e.children&&e.children.props.hasOwnProperty("in")}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var a=o(n(3)),s=o(n(7)),l=o(n(4)),u=o(n(8)),c=o(n(9)),d=o(n(10)),f=o(n(11)),h=o(n(12)),p=o(n(47)),m=o(n(1)),g=o(n(15)),v=(o(n(2)),o(n(6))),y=(o(n(13)),o(n(55))),b=o(n(30)),w=o(n(122)),E=o(n(123)),T=n(14),_=o(n(5)),x=o(n(188)),k=o(n(190)),S=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}};t.styles=S;var C=function(e){function t(e){var n;return(0,u.default)(this,t),n=(0,d.default)(this,(0,f.default)(t).call(this)),n.mountNode=null,n.modalRef=null,n.dialogRef=null,n.mounted=!1,n.handleRendered=function(){n.autoFocus(),n.modalRef.scrollTop=0,n.props.onRendered&&n.props.onRendered()},n.handleOpen=function(){var e=(0,b.default)(n.mountNode),t=r(n.props.container,e.body);n.props.manager.add((0,p.default)((0,p.default)(n)),t),e.addEventListener("keydown",n.handleDocumentKeyDown),e.addEventListener("focus",n.enforceFocus,!0)},n.handleClose=function(){n.props.manager.remove((0,p.default)((0,p.default)(n)));var e=(0,b.default)(n.mountNode);e.removeEventListener("keydown",n.handleDocumentKeyDown),e.removeEventListener("focus",n.enforceFocus,!0),n.restoreLastFocus()},n.handleExited=function(){n.setState({exited:!0}),n.handleClose()},n.handleBackdropClick=function(e){e.target===e.currentTarget&&(n.props.onBackdropClick&&n.props.onBackdropClick(e),!n.props.disableBackdropClick&&n.props.onClose&&n.props.onClose(e,"backdropClick"))},n.handleDocumentKeyDown=function(e){n.isTopModal()&&"esc"===(0,y.default)(e)&&(e.defaultPrevented||(n.props.onEscapeKeyDown&&n.props.onEscapeKeyDown(e),!n.props.disableEscapeKeyDown&&n.props.onClose&&n.props.onClose(e,"escapeKeyDown")))},n.checkForFocus=function(){n.lastFocus=(0,b.default)(n.mountNode).activeElement},n.enforceFocus=function(){if(!n.props.disableEnforceFocus&&n.mounted&&n.isTopModal()){var e=(0,b.default)(n.mountNode).activeElement;n.dialogRef&&!n.dialogRef.contains(e)&&n.dialogRef.focus()}},n.state={exited:!e.open},n}return(0,h.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.props.open&&this.handleOpen()}},{key:"componentDidUpdate",value:function(e){!e.open&&this.props.open&&this.checkForFocus(),!e.open||this.props.open||i(this.props)?!e.open&&this.props.open&&this.handleOpen():this.handleClose()}},{key:"componentWillUnmount",value:function(){this.mounted=!1,(this.props.open||i(this.props)&&!this.state.exited)&&this.handleClose()}},{key:"autoFocus",value:function(){if(!this.props.disableAutoFocus){var e=(0,b.default)(this.mountNode).activeElement;this.dialogRef&&!this.dialogRef.contains(e)&&(this.lastFocus=e,this.dialogRef.hasAttribute("tabIndex")||this.dialogRef.setAttribute("tabIndex",-1),this.dialogRef.focus())}}},{key:"restoreLastFocus",value:function(){this.props.disableRestoreFocus||this.lastFocus&&(this.lastFocus.focus&&this.lastFocus.focus(),this.lastFocus=null)}},{key:"isTopModal",value:function(){return this.props.manager.isTopModal(this)}},{key:"render",value:function(){var e=this,t=this.props,n=t.BackdropComponent,r=t.BackdropProps,o=t.children,u=t.classes,c=t.className,d=t.container,f=(t.disableAutoFocus,t.disableBackdropClick,t.disableEnforceFocus,t.disableEscapeKeyDown,t.disablePortal),h=(t.disableRestoreFocus,t.hideBackdrop),p=t.keepMounted,g=(t.manager,t.onBackdropClick,t.onClose,t.onEscapeKeyDown,t.onRendered,t.open),y=(0,l.default)(t,["BackdropComponent","BackdropProps","children","classes","className","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),b=this.state.exited,_=i(this.props),x={};return p||g||_&&!b?(_&&(x.onExited=(0,T.createChainedFunction)(this.handleExited,o.props.onExited)),void 0===o.props.role&&(x.role=o.props.role||"document"),void 0===o.props.tabIndex&&(x.tabIndex=o.props.tabIndex||"-1"),m.default.createElement(E.default,{ref:function(t){e.mountNode=t?t.getMountNode():t},container:d,disablePortal:f,onRendered:this.handleRendered},m.default.createElement("div",(0,a.default)({ref:function(t){e.modalRef=t},className:(0,v.default)(u.root,c,(0,s.default)({},u.hidden,b))},y),h?null:m.default.createElement(n,(0,a.default)({open:g,onClick:this.handleBackdropClick},r)),m.default.createElement(w.default,{rootRef:function(t){e.dialogRef=t}},m.default.cloneElement(o,x))))):null}}],[{key:"getDerivedStateFromProps",value:function(e){return e.open?{exited:!1}:i(e)?null:{exited:!0}}}]),t}(m.default.Component);C.propTypes={},C.defaultProps={disableAutoFocus:!1,disableBackdropClick:!1,disableEnforceFocus:!1,disableEscapeKeyDown:!1,disablePortal:!1,disableRestoreFocus:!1,hideBackdrop:!1,keepMounted:!1,manager:new x.default,BackdropComponent:k.default};var O=(0,_.default)(S,{flip:!1,name:"MuiModal"})(C);t.default=O},function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(8)),a=i(n(9)),s=i(n(10)),l=i(n(11)),u=i(n(12)),c=i(n(1)),d=i(n(15)),f=(i(n(2)),i(n(36)),function(e){function t(){return(0,o.default)(this,t),(0,s.default)(this,(0,l.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){r(this.props.rootRef,d.default.findDOMNode(this))}},{key:"componentDidUpdate",value:function(e){e.rootRef!==this.props.rootRef&&(r(e.rootRef,null),r(this.props.rootRef,d.default.findDOMNode(this)))}},{key:"componentWillUnmount",value:function(){r(this.props.rootRef,null)}},{key:"render",value:function(){return this.props.children}}]),t}(c.default.Component));f.propTypes={},f.propTypes={};var h=f;t.default=h},function(e,t,n){"use strict";function r(e,t){return e="function"===typeof e?e():e,f.default.findDOMNode(e)||t}function i(e){return(0,h.default)(f.default.findDOMNode(e))}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(8)),s=o(n(9)),l=o(n(10)),u=o(n(11)),c=o(n(12)),d=o(n(1)),f=o(n(15)),h=(o(n(2)),o(n(30))),p=(o(n(36)),function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.getMountNode=function(){return n.mountNode},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.setMountNode(this.props.container),this.props.disablePortal||this.forceUpdate(this.props.onRendered)}},{key:"componentDidUpdate",value:function(e){e.container===this.props.container&&e.disablePortal===this.props.disablePortal||(this.setMountNode(this.props.container),this.props.disablePortal||this.forceUpdate(this.props.onRendered))}},{key:"componentWillUnmount",value:function(){this.mountNode=null}},{key:"setMountNode",value:function(e){if(this.props.disablePortal)return void(this.mountNode=f.default.findDOMNode(this).parentElement);this.mountNode=r(e,i(this).body)}},{key:"render",value:function(){var e=this.props,t=e.children;return e.disablePortal?t:this.mountNode?f.default.createPortal(t,this.mountNode):null}}]),t}(d.default.Component));p.propTypes={},p.defaultProps={disablePortal:!1},p.propTypes={};var m=p;t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){var r="",i="",o=t;if("string"===typeof t){if(void 0===n)return e.style[(0,a.default)(t)]||(0,c.default)(e).getPropertyValue((0,l.default)(t));(o={})[t]=n}Object.keys(o).forEach(function(t){var n=o[t];n||0===n?(0,m.default)(t)?i+=t+"("+n+") ":r+=(0,l.default)(t)+": "+n+";":(0,f.default)(e,(0,l.default)(t))}),i&&(r+=h.transform+": "+i+";"),e.style.cssText+=";"+r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(189),a=r(o),s=n(410),l=r(s),u=n(412),c=r(u),d=n(413),f=r(d),h=n(414),p=n(415),m=r(p);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e.replace(i,function(e,t){return t.toUpperCase()})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=/-(.)/g;e.exports=t.default},function(e,t,n){"use strict";function r(e){return(0,o.default)(e).replace(a,"-ms-")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(411),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=/^ms-/;e.exports=t.default},function(e,t,n){"use strict";function r(e){return e.replace(i,"-$1").toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=/([A-Z])/g;e.exports=t.default},function(e,t,n){"use strict";function r(e){if(!e)throw new TypeError("No Element passed to `getComputedStyle()`");var t=e.ownerDocument;return"defaultView"in t?t.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):{getPropertyValue:function(t){var n=e.style;"float"==(t=(0,o.default)(t))&&(t="styleFloat");var r=e.currentStyle[t]||null;if(null==r&&n&&n[t]&&(r=n[t]),s.test(r)&&!a.test(t)){var i=n.left,l=e.runtimeStyle,u=l&&l.left;u&&(l.left=e.currentStyle.left),n.left="fontSize"===t?"1em":r,r=n.pixelLeft+"px",n.left=i,u&&(l.left=u)}return r}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(189),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=/^(top|right|bottom|left)$/,s=/^([+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/i;e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return"removeProperty"in e.style?e.style.removeProperty(t):e.style.removeAttribute(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var r=n(186),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o="transform",a=void 0,s=void 0,l=void 0,u=void 0,c=void 0,d=void 0,f=void 0,h=void 0,p=void 0,m=void 0,g=void 0;if(i.default){var v=function(){for(var e=document.createElement("div").style,t={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},n=Object.keys(t),r=void 0,i=void 0,o="",a=0;a<n.length;a++){var s=n[a];if(s+"TransitionProperty"in e){o="-"+s.toLowerCase(),r=t[s]("TransitionEnd"),i=t[s]("AnimationEnd");break}}return!r&&"transitionProperty"in e&&(r="transitionend"),!i&&"animationName"in e&&(i="animationend"),e=null,{animationEnd:i,transitionEnd:r,prefix:o}}();a=v.prefix,t.transitionEnd=s=v.transitionEnd,t.animationEnd=l=v.animationEnd,t.transform=o=a+"-"+o,t.transitionProperty=u=a+"-transition-property",t.transitionDuration=c=a+"-transition-duration",t.transitionDelay=f=a+"-transition-delay",t.transitionTiming=d=a+"-transition-timing-function",t.animationName=h=a+"-animation-name",t.animationDuration=p=a+"-animation-duration",t.animationTiming=m=a+"-animation-delay",t.animationDelay=g=a+"-animation-timing-function"}t.transform=o,t.transitionProperty=u,t.transitionTiming=d,t.transitionDelay=f,t.transitionDuration=c,t.transitionEnd=s,t.animationName=h,t.animationDuration=p,t.animationTiming=m,t.animationDelay=g,t.animationEnd=l,t.default={transform:o,end:s,property:u,timing:d,delay:f,duration:c}},function(e,t,n){"use strict";function r(e){return!(!e||!i.test(e))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&"body"===e.tagName.toLowerCase()}function i(e){var t=(0,s.default)(e),n=(0,l.default)(t);if(!(0,a.default)(t)&&!r(e))return e.scrollHeight>e.clientHeight;var i=n.getComputedStyle(t.body),o=parseInt(i.getPropertyValue("margin-left"),10),u=parseInt(i.getPropertyValue("margin-right"),10);return o+t.body.clientWidth+u<n.innerWidth}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.isBody=r,t.default=i;var a=o(n(417)),s=o(n(30)),l=o(n(81))},function(e,t,n){"use strict";function r(e){return e===e.window?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e){return 1===e.nodeType&&-1===l.indexOf(e.tagName.toLowerCase())}function i(e,t,n){t=[].concat(t),[].forEach.call(e.children,function(e){-1===t.indexOf(e)&&r(e)&&n(e)})}function o(e,t){t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))}function a(e,t){i(e,t,function(e){return o(!0,e)})}function s(e,t){i(e,t,function(e){return o(!1,e)})}Object.defineProperty(t,"__esModule",{value:!0}),t.ariaHidden=o,t.hideSiblings=a,t.showSiblings=s;var l=["template","script","style"]},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.invisible,i=e.open,c=e.transitionDuration,f=(0,s.default)(e,["classes","className","invisible","open","transitionDuration"]);return l.default.createElement(d.default,(0,o.default)({appear:!0,in:i,timeout:c},f),l.default.createElement("div",{className:(0,u.default)(t.root,(0,a.default)({},t.invisible,r),n),"aria-hidden":"true"}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(124)),f={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",touchAction:"none"},invisible:{backgroundColor:"transparent"}};t.styles=f,r.propTypes={},r.defaultProps={invisible:!1};var h=(0,c.default)(f,{name:"MuiBackdrop"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(35))),h=n(28),p=r(n(29)),m=n(56),g={entering:{opacity:1},entered:{opacity:1}},v=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.handleEnter=function(e){var t=n.props.theme;(0,m.reflow)(e);var r=(0,m.getTransitionProps)(n.props,{mode:"enter"});e.style.webkitTransition=t.transitions.create("opacity",r),e.style.transition=t.transitions.create("opacity",r),n.props.onEnter&&n.props.onEnter(e)},n.handleExit=function(e){var t=n.props.theme,r=(0,m.getTransitionProps)(n.props,{mode:"exit"});e.style.webkitTransition=t.transitions.create("opacity",r),e.style.transition=t.transitions.create("opacity",r),n.props.onExit&&n.props.onExit(e)},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=(e.onEnter,e.onExit,e.style),r=(e.theme,(0,o.default)(e,["children","onEnter","onExit","style","theme"])),a=(0,i.default)({},n,d.default.isValidElement(t)?t.props.style:{});return d.default.createElement(f.default,(0,i.default)({appear:!0,onEnter:this.handleEnter,onExit:this.handleExit},r),function(e,n){return d.default.cloneElement(t,(0,i.default)({style:(0,i.default)({opacity:0,willChange:"opacity"},g[e],a)},n))})}}]),t}(d.default.Component);v.propTypes={},v.defaultProps={timeout:{enter:h.duration.enteringScreen,exit:h.duration.leavingScreen}};var y=(0,p.default)()(v);t.default=y},function(e,t,n){"use strict";function r(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(8)),l=i(n(9)),u=i(n(10)),c=i(n(11)),d=i(n(12)),f=i(n(1)),h=(i(n(2)),i(n(35))),p=i(n(29)),m=n(56),g={entering:{opacity:1,transform:r(1)},entered:{opacity:1,transform:"".concat(r(1)," translateZ(0)")}},v=function(e){function t(){var e,n;(0,s.default)(this,t);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(o))),n.autoTimeout=null,n.timer=null,n.handleEnter=function(e){var t=n.props,r=t.theme,i=t.timeout;(0,m.reflow)(e);var o=(0,m.getTransitionProps)(n.props,{mode:"enter"}),a=o.duration,s=o.delay,l=0;"auto"===i?(l=r.transitions.getAutoHeightDuration(e.clientHeight),n.autoTimeout=l):l=a,e.style.transition=[r.transitions.create("opacity",{duration:l,delay:s}),r.transitions.create("transform",{duration:.666*l,delay:s})].join(","),n.props.onEnter&&n.props.onEnter(e)},n.handleExit=function(e){var t=n.props,i=t.theme,o=t.timeout,a=0,s=(0,m.getTransitionProps)(n.props,{mode:"exit"}),l=s.duration,u=s.delay;"auto"===o?(a=i.transitions.getAutoHeightDuration(e.clientHeight),n.autoTimeout=a):a=l,e.style.transition=[i.transitions.create("opacity",{duration:a,delay:u}),i.transitions.create("transform",{duration:.666*a,delay:u||.333*a})].join(","),e.style.opacity="0",e.style.transform=r(.75),n.props.onExit&&n.props.onExit(e)},n.addEndListener=function(e,t){"auto"===n.props.timeout&&(n.timer=setTimeout(t,n.autoTimeout||0))},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.timer)}},{key:"render",value:function(){var e=this.props,t=e.children,n=(e.onEnter,e.onExit,e.style),i=(e.theme,e.timeout),s=(0,a.default)(e,["children","onEnter","onExit","style","theme","timeout"]),l=(0,o.default)({},n,f.default.isValidElement(t)?t.props.style:{});return f.default.createElement(h.default,(0,o.default)({appear:!0,onEnter:this.handleEnter,onExit:this.handleExit,addEndListener:this.addEndListener,timeout:"auto"===i?null:i},s),function(e,n){return f.default.cloneElement(t,(0,o.default)({style:(0,o.default)({opacity:0,transform:r(.75)},g[e],l)},n))})}}]),t}(f.default.Component);v.propTypes={},v.defaultProps={timeout:"auto"},v.muiSupportAuto=!0;var y=(0,p.default)()(v);t.default=y},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(15))),h=r(n(55)),p=(r(n(13)),r(n(30))),m=r(n(192)),g=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.listRef=null,n.selectedItemRef=null,n.blurTimer=null,n.state={currentTabIndex:null},n.handleBlur=function(e){n.blurTimer=setTimeout(function(){if(n.listRef){var e=n.listRef,t=(0,p.default)(e).activeElement;e.contains(t)||n.resetTabIndex()}},30),n.props.onBlur&&n.props.onBlur(e)},n.handleKeyDown=function(e){var t=n.listRef,r=(0,h.default)(e),i=(0,p.default)(t).activeElement;"up"!==r&&"down"!==r||i&&(!i||t.contains(i))?"down"===r?(e.preventDefault(),i.nextElementSibling&&i.nextElementSibling.focus()):"up"===r&&(e.preventDefault(),i.previousElementSibling&&i.previousElementSibling.focus()):n.selectedItemRef?n.selectedItemRef.focus():t.firstChild.focus(),n.props.onKeyDown&&n.props.onKeyDown(e,r)},n.handleItemFocus=function(e){var t=n.listRef;if(t)for(var r=0;r<t.children.length;r+=1)if(t.children[r]===e.currentTarget){n.setTabIndex(r);break}},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.resetTabIndex()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.blurTimer)}},{key:"setTabIndex",value:function(e){this.setState({currentTabIndex:e})}},{key:"focus",value:function(){var e=this.state.currentTabIndex,t=this.listRef;t&&t.children&&t.firstChild&&(e&&e>=0?t.children[e].focus():t.firstChild.focus())}},{key:"resetTabIndex",value:function(){for(var e=this.listRef,t=(0,p.default)(e).activeElement,n=[],r=0;r<e.children.length;r+=1)n.push(e.children[r]);var i=n.indexOf(t);return-1!==i?this.setTabIndex(i):this.selectedItemRef?this.setTabIndex(n.indexOf(this.selectedItemRef)):this.setTabIndex(0)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.className,a=(t.onBlur,t.onKeyDown,(0,o.default)(t,["children","className","onBlur","onKeyDown"]));return d.default.createElement(m.default,(0,i.default)({role:"menu",ref:function(t){e.listRef=f.default.findDOMNode(t)},className:r,onKeyDown:this.handleKeyDown,onBlur:this.handleBlur},a),d.default.Children.map(n,function(t,n){return d.default.isValidElement(t)?d.default.cloneElement(t,{tabIndex:n===e.state.currentTabIndex?0:-1,ref:t.props.selected?function(t){e.selectedItemRef=f.default.findDOMNode(t)}:void 0,onFocus:e.handleItemFocus}):null}))}}]),t}(d.default.Component);g.propTypes={};var v=g;t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=r(n(2)),p=r(n(6)),m=r(n(5)),g={root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{paddingTop:4,paddingBottom:4},subheader:{paddingTop:0}};t.styles=g;var v=function(e){function t(){return(0,s.default)(this,t),(0,u.default)(this,(0,c.default)(t).apply(this,arguments))}return(0,d.default)(t,e),(0,l.default)(t,[{key:"getChildContext",value:function(){return{dense:this.props.dense}}},{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.classes,s=t.className,l=t.component,u=t.dense,c=t.disablePadding,d=t.subheader,h=(0,a.default)(t,["children","classes","className","component","dense","disablePadding","subheader"]),m=(0,p.default)(r.root,(e={},(0,o.default)(e,r.dense,u&&!c),(0,o.default)(e,r.padding,!c),(0,o.default)(e,r.subheader,d),e),s);return f.default.createElement(l,(0,i.default)({className:m},h),d,n)}}]),t}(f.default.Component);v.propTypes={},v.defaultProps={component:"ul",dense:!1,disablePadding:!1},v.childContextTypes={dense:h.default.bool};var y=(0,m.default)(g,{name:"MuiList"})(v);t.default=y},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.component,i=e.selected,c=e.role,f=(0,a.default)(e,["classes","className","component","selected","role"]);return l.default.createElement(d.default,(0,s.default)({button:!0,role:c,tabIndex:-1,className:(0,u.default)(t.root,(0,o.default)({},t.selected,i),n),component:r},f))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(4)),s=i(n(3)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(193)),f=function(e){return{root:(0,s.default)({},e.typography.subheading,{height:24,boxSizing:"content-box",width:"auto",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",paddingLeft:16,paddingRight:16,"&$selected":{backgroundColor:e.palette.action.selected}}),selected:{}}};t.styles=f,r.propTypes={},r.defaultProps={component:"li",role:"menuitem",selected:!1};var h=(0,c.default)(f,{name:"MuiMenuItem"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=r(n(2)),p=r(n(6)),m=r(n(5)),g=r(n(26)),v=n(39),y=function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:12,paddingBottom:12},container:{position:"relative"},focusVisible:{backgroundColor:e.palette.action.hover},default:{},dense:{paddingTop:8,paddingBottom:8},disabled:{opacity:.5},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:e.mixins.gutters(),button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:32}}};t.styles=y;var b=function(e){function t(){return(0,s.default)(this,t),(0,u.default)(this,(0,c.default)(t).apply(this,arguments))}return(0,d.default)(t,e),(0,l.default)(t,[{key:"getChildContext",value:function(){return{dense:this.props.dense||this.context.dense||!1}}},{key:"render",value:function(){var e,t=this.props,n=t.button,r=t.children,s=t.classes,l=t.className,u=t.component,c=t.ContainerComponent,d=t.ContainerProps;d=void 0===d?{}:d;var h=d.className,m=(0,a.default)(d,["className"]),y=t.dense,b=t.disabled,w=t.disableGutters,E=t.divider,T=t.focusVisibleClassName,_=(0,a.default)(t,["button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName"]),x=y||this.context.dense||!1,k=f.default.Children.toArray(r),S=k.some(function(e){return(0,v.isMuiElement)(e,["ListItemAvatar"])}),C=k.length&&(0,v.isMuiElement)(k[k.length-1],["ListItemSecondaryAction"]),O=(0,p.default)(s.root,s.default,(e={},(0,o.default)(e,s.dense,x||S),(0,o.default)(e,s.gutters,!w),(0,o.default)(e,s.divider,E),(0,o.default)(e,s.disabled,b),(0,o.default)(e,s.button,n),(0,o.default)(e,s.secondaryAction,C),e),l),A=(0,i.default)({className:O,disabled:b},_),P=u||"li";return n&&(A.component=u||"div",A.focusVisibleClassName=(0,p.default)(s.focusVisible,T),P=g.default),C?(P=A.component||u?P:"div","li"===c&&("li"===P?P="div":"li"===A.component&&(A.component="div")),f.default.createElement(c,(0,i.default)({className:(0,p.default)(s.container,h)},m),f.default.createElement(P,A,k),k.pop())):f.default.createElement(P,A,k)}}]),t}(f.default.Component);b.propTypes={},b.defaultProps={button:!1,ContainerComponent:"li",dense:!1,disabled:!1,disableGutters:!1,divider:!1},b.contextTypes={dense:h.default.bool},b.childContextTypes={dense:h.default.bool};var w=(0,m.default)(y,{name:"MuiListItem"})(b);t.default=w},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"common",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"red",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"pink",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"purple",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"deepPurple",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"indigo",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"blue",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"lightBlue",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"cyan",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"teal",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"green",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"lightGreen",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"lime",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"yellow",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"amber",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"orange",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"deepOrange",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"brown",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"grey",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"blueGrey",{enumerable:!0,get:function(){return _.default}});var i=r(n(156)),o=r(n(155)),a=r(n(153)),s=r(n(427)),l=r(n(428)),u=r(n(152)),c=r(n(429)),d=r(n(430)),f=r(n(431)),h=r(n(432)),p=r(n(433)),m=r(n(434)),g=r(n(435)),v=r(n(436)),y=r(n(437)),b=r(n(438)),w=r(n(439)),E=r(n(440)),T=r(n(154)),_=r(n(441))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"},i=r;t.default=i},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(194))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(444))},function(e,t,n){"use strict";function r(e){var t=e.badgeContent,n=e.children,r=e.classes,i=e.className,c=e.color,f=e.component,h=(0,s.default)(e,["badgeContent","children","classes","className","color","component"]),p=(0,u.default)(r.badge,(0,a.default)({},r["color".concat((0,d.capitalize)(c))],"default"!==c));return l.default.createElement(f,(0,o.default)({className:(0,u.default)(r.root,i)},h),n,l.default.createElement("span",{className:p},t))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=function(e){return{root:{position:"relative",display:"inline-flex",verticalAlign:"middle"},badge:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",top:-11,right:-11,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeight,fontSize:e.typography.pxToRem(12),width:22,height:22,borderRadius:"50%",backgroundColor:e.palette.color,color:e.palette.textColor,zIndex:1},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},colorError:{backgroundColor:e.palette.error.main,color:e.palette.error.contrastText}}};t.styles=f,r.propTypes={},r.defaultProps={color:"default",component:"span"};var h=(0,c.default)(f,{name:"MuiBadge"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(446))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=e.onChange,u=e.showLabels,c=e.value,d=(0,a.default)(e,["children","classes","className","onChange","showLabels","value"]),f=(0,l.default)(n.root,r),h=s.default.Children.map(t,function(e,t){if(!s.default.isValidElement(e))return null;var n=void 0===e.props.value?t:e.props.value;return s.default.cloneElement(e,{selected:n===c,showLabel:void 0!==e.props.showLabel?e.props.showLabel:u,value:n,onChange:i})});return s.default.createElement("div",(0,o.default)({className:f},d),h)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=(i(n(13)),i(n(5))),c=function(e){return{root:{display:"flex",justifyContent:"center",height:56,backgroundColor:e.palette.background.paper}}};t.styles=c,r.propTypes={},r.defaultProps={showLabels:!1};var d=(0,u.default)(c,{name:"MuiBottomNavigation"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(448))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(5)),m=r(n(26)),g=(r(n(128)),function(e){return{root:{transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),paddingTop:8,paddingBottom:10,paddingLeft:12,paddingRight:12,minWidth:80,maxWidth:168,color:e.palette.text.secondary,flex:"1","&$iconOnly":{paddingTop:16},"&$selected":{paddingTop:6,color:e.palette.primary.main}},selected:{},iconOnly:{},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"},label:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s","&$iconOnly":{opacity:0,transitionDelay:"0s"},"&$selected":{fontSize:e.typography.pxToRem(14)}}}});t.styles=g;var v=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.handleChange=function(e){var t=n.props,r=t.onChange,i=t.value,o=t.onClick;r&&r(e,i),o&&o(e)},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e,t,n=this.props,r=n.classes,s=n.className,l=n.icon,u=n.label,c=(n.onChange,n.onClick,n.selected),d=n.showLabel,p=(n.value,(0,a.default)(n,["classes","className","icon","label","onChange","onClick","selected","showLabel","value"])),g=(0,h.default)(r.root,(e={},(0,o.default)(e,r.selected,c),(0,o.default)(e,r.iconOnly,!d&&!c),e),s),v=(0,h.default)(r.label,(t={},(0,o.default)(t,r.selected,c),(0,o.default)(t,r.iconOnly,!d&&!c),t));return f.default.createElement(m.default,(0,i.default)({className:g,focusRipple:!0,onClick:this.handleChange},p),f.default.createElement("span",{className:r.wrapper},l,f.default.createElement("span",{className:v},u)))}}]),t}(f.default.Component);v.propTypes={};var y=(0,p.default)(g,{name:"MuiBottomNavigationAction"})(v);t.default=y},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(450))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.raised,i=(0,a.default)(e,["classes","className","raised"]);return s.default.createElement(u.default,(0,o.default)({className:(0,l.default)(t.root,n),elevation:r?8:1},i))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(25)),c=i(n(5)),d={root:{overflow:"hidden"}};t.styles=d,r.propTypes={},r.defaultProps={raised:!1};var f=(0,c.default)(d,{name:"MuiCard"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(452))},function(e,t,n){"use strict";function r(e){var t=e.disableActionSpacing,n=e.children,r=e.classes,i=e.className,s=(0,a.default)(e,["disableActionSpacing","children","classes","className"]);return l.default.createElement("div",(0,o.default)({className:(0,u.default)(r.root,i)},s),t?n:(0,d.cloneChildrenWithClassName)(n,r.action))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(7)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(39);n(54);var f=function(e){return{root:(0,s.default)({display:"flex",alignItems:"center",boxSizing:"border-box",padding:"8px 4px"},e.breakpoints.up("sm"),{padding:"8px 12px"}),action:{margin:"0 4px"}}};t.styles=f,r.propTypes={},r.defaultProps={disableActionSpacing:!1};var h=(0,c.default)(f,{name:"MuiCardActions"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(454))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.component,i=(0,a.default)(e,["classes","className","component"]);return s.default.createElement(r,(0,o.default)({className:(0,l.default)(t.root,n)},i))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=function(e){return{root:e.mixins.gutters({paddingTop:16,paddingBottom:16,"&:last-child":{paddingBottom:24}})}};t.styles=c,r.propTypes={},r.defaultProps={component:"div"};var d=(0,u.default)(c,{name:"MuiCardContent"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(456))},function(e,t,n){"use strict";function r(e){var t=e.action,n=e.avatar,r=e.classes,i=e.className,s=e.component,c=e.disableTypography,f=e.subheader,h=e.subheaderTypographyProps,p=e.title,m=e.titleTypographyProps,g=(0,a.default)(e,["action","avatar","classes","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"]),v=p;null==v||v.type===d.default||c||(v=l.default.createElement(d.default,(0,o.default)({variant:n?"body2":"headline",className:r.title,component:"span"},m),v));var y=f;return null==y||y.type===d.default||c||(y=l.default.createElement(d.default,(0,o.default)({variant:n?"body2":"body1",className:r.subheader,color:"textSecondary",component:"span"},h),y)),l.default.createElement(s,(0,o.default)({className:(0,u.default)(r.root,i)},g),n&&l.default.createElement("div",{className:r.avatar},n),l.default.createElement("div",{className:r.content},v,y),t&&l.default.createElement("div",{className:r.action},t))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(7)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(19)),f=function(e){return{root:e.mixins.gutters({display:"flex",alignItems:"center",paddingTop:16,paddingBottom:16}),avatar:{flex:"0 0 auto",marginRight:16},action:(0,s.default)({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-8,marginRight:-12},e.breakpoints.up("sm"),{marginRight:-20}),content:{flex:"1 1 auto"},title:{},subheader:{}}};t.styles=f,r.propTypes={},r.defaultProps={component:"div",disableTypography:!1};var h=(0,c.default)(f,{name:"MuiCardHeader"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(458))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.component,i=e.image,c=e.src,d=e.style,h=(0,s.default)(e,["classes","className","component","image","src","style"]),p=-1!==f.indexOf(r),m=!p&&i?(0,a.default)({backgroundImage:'url("'.concat(i,'")')},d):d;return l.default.createElement(r,(0,a.default)({className:(0,u.default)(t.root,(0,o.default)({},t.media,p),n),style:m,src:p?i||c:void 0},h))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(3)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=(i(n(13)),i(n(5))),d={root:{display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},media:{width:"100%"}};t.styles=d;var f=["video","audio","picture","iframe","img"];r.propTypes={},r.defaultProps={component:"div"};var h=(0,c.default)(d,{name:"MuiCardMedia"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(460))},function(e,t,n){"use strict";function r(e){var t=e.checkedIcon,n=e.classes,r=e.color,i=e.icon,c=e.indeterminate,d=e.indeterminateIcon,f=(0,a.default)(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon"]);return s.default.createElement(u.default,(0,o.default)({type:"checkbox",checkedIcon:c?d:t,classes:{root:(0,l.default)(n.root,n["color".concat((0,h.capitalize)(r))]),checked:n.checked,disabled:n.disabled},icon:c?d:i},f))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(129)),c=i(n(462)),d=i(n(467)),f=i(n(468)),h=n(14),p=i(n(5)),m=function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:e.palette.primary.main},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.action.disabled}}}};t.styles=m,r.propTypes={},r.defaultProps={checkedIcon:s.default.createElement(d.default,null),color:"secondary",icon:s.default.createElement(c.default,null),indeterminate:!1,indeterminateIcon:s.default.createElement(f.default,null)};var g=(0,p.default)(m,{name:"MuiCheckbox"})(r);t.default=g},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.classes,i=e.className,c=e.color,d=e.disabled,p=(0,s.default)(e,["children","classes","className","color","disabled"]);return l.default.createElement(f.default,(0,o.default)({className:(0,u.default)(r.root,(t={},(0,a.default)(t,r["color".concat((0,h.capitalize)(c))],"default"!==c),(0,a.default)(t,r.disabled,d),t),i),centerRipple:!0,focusRipple:!0,disabled:d},p),l.default.createElement("span",{className:r.label},n))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(33),f=i(n(26)),h=n(14),p=function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),width:48,height:48,padding:0,borderRadius:"50%",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:(0,d.fade)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,d.fade)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,d.fade)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}};t.styles=p,r.propTypes={},r.defaultProps={color:"default",disabled:!1};var m=(0,c.default)(p,{name:"MuiIconButton"})(r);t.default=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(62);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(464)),o=n(1),a=(r(n(195)),r(n(61)),function(e){return function(t){var n=(0,o.createFactory)(t),r=function(t){function r(){return t.apply(this,arguments)||this}(0,i.default)(r,t);var o=r.prototype;return o.shouldComponentUpdate=function(t){return e(this.props,t)},o.render=function(){return n(this.props)},r}(o.Component);return r}}),s=a;t.default=s},function(e,t){function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){return function(n){return n[e]=t,n}},i=r;t.default=i},function(e,t,n){"use strict";var r=n(62);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(94)),o=i.default;t.default=o},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(470))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(55)),m=r(n(471)),g=r(n(5)),v=n(33),y=(r(n(128)),n(14));n(194);var b=function(e){var t="light"===e.palette.type?e.palette.grey[300]:e.palette.grey[700],n=(0,v.fade)(e.palette.text.primary,.26);return{root:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:e.palette.getContrastText(t),backgroundColor:t,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:"none",textDecoration:"none",border:"none",padding:0},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},clickable:{WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover, &:focus":{backgroundColor:(0,v.emphasize)(t,.08)},"&:active":{boxShadow:e.shadows[1],backgroundColor:(0,v.emphasize)(t,.12)}},clickableColorPrimary:{"&:hover, &:focus":{backgroundColor:(0,v.emphasize)(e.palette.primary.main,.08)},"&:active":{backgroundColor:(0,v.emphasize)(e.palette.primary.main,.12)}},clickableColorSecondary:{"&:hover, &:focus":{backgroundColor:(0,v.emphasize)(e.palette.secondary.main,.08)},"&:active":{backgroundColor:(0,v.emphasize)(e.palette.secondary.main,.12)}},deletable:{"&:focus":{backgroundColor:(0,v.emphasize)(t,.08)}},deletableColorPrimary:{"&:focus":{backgroundColor:(0,v.emphasize)(e.palette.primary.main,.2)}},deletableColorSecondary:{"&:focus":{backgroundColor:(0,v.emphasize)(e.palette.secondary.main,.2)}},avatar:{marginRight:-4,width:32,height:32,color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],fontSize:e.typography.pxToRem(16)},avatarColorPrimary:{color:(0,v.darken)(e.palette.primary.contrastText,.1),backgroundColor:e.palette.primary.dark},avatarColorSecondary:{color:(0,v.darken)(e.palette.secondary.contrastText,.1),backgroundColor:e.palette.secondary.dark},avatarChildren:{width:19,height:19},label:{display:"flex",alignItems:"center",paddingLeft:12,paddingRight:12,userSelect:"none",whiteSpace:"nowrap",cursor:"inherit"},deleteIcon:{WebkitTapHighlightColor:"transparent",color:n,cursor:"pointer",height:"auto",margin:"0 4px 0 -8px","&:hover":{color:(0,v.fade)(n,.4)}},deleteIconColorPrimary:{color:(0,v.fade)(e.palette.primary.contrastText,.65),"&:hover, &:active":{color:e.palette.primary.contrastText}},deleteIconColorSecondary:{color:(0,v.fade)(e.palette.primary.contrastText,.65),"&:hover, &:active":{color:e.palette.primary.contrastText}}}};t.styles=b;var w=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.chipRef=null,n.handleDeleteIconClick=function(e){e.stopPropagation();var t=n.props.onDelete;t&&t(e)},n.handleKeyDown=function(e){if(e.currentTarget===e.target){var t=n.props,r=t.onClick,i=t.onDelete,o=t.onKeyDown,a=(0,p.default)(e);!r||"space"!==a&&"enter"!==a?i&&"backspace"===a?(e.preventDefault(),i(e)):"esc"===a&&(e.preventDefault(),n.chipRef&&n.chipRef.blur()):(e.preventDefault(),r(e)),o&&o(e)}},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.avatar,r=t.classes,s=t.className,l=t.clickable,u=t.color,c=t.component,d=t.deleteIcon,p=t.label,g=t.onClick,v=t.onDelete,b=(t.onKeyDown,t.tabIndex),w=(0,a.default)(t,["avatar","classes","className","clickable","color","component","deleteIcon","label","onClick","onDelete","onKeyDown","tabIndex"]),E=(0,h.default)(r.root,(0,o.default)({},r["color".concat((0,y.capitalize)(u))],"default"!==u),(0,o.default)({},r.clickable,g||l),(0,o.default)({},r["clickableColor".concat((0,y.capitalize)(u))],(g||l)&&"default"!==u),(0,o.default)({},r.deletable,v),(0,o.default)({},r["deletableColor".concat((0,y.capitalize)(u))],v&&"default"!==u),s),T=null;v&&(T=d&&f.default.isValidElement(d)?f.default.cloneElement(d,{className:(0,h.default)(d.props.className,r.deleteIcon,(0,o.default)({},r["deleteIconColor".concat((0,y.capitalize)(u))],"default"!==u)),onClick:this.handleDeleteIconClick}):f.default.createElement(m.default,{className:(0,h.default)(r.deleteIcon,(0,o.default)({},r["deleteIconColor".concat((0,y.capitalize)(u))],"default"!==u)),onClick:this.handleDeleteIconClick}));var _=null;n&&f.default.isValidElement(n)&&(_=f.default.cloneElement(n,{className:(0,h.default)(r.avatar,n.props.className,(0,o.default)({},r["avatarColor".concat((0,y.capitalize)(u))],"default"!==u)),childrenClassName:(0,h.default)(r.avatarChildren,n.props.childrenClassName)}));var x=b;return x||(x=g||v||l?0:-1),f.default.createElement(c,(0,i.default)({role:"button",className:E,tabIndex:x,onClick:g,onKeyDown:this.handleKeyDown,ref:function(t){e.chipRef=t}},w),_,f.default.createElement("span",{className:r.label},p),T)}}]),t}(f.default.Component);w.propTypes={},w.defaultProps={clickable:!1,component:"div",color:"default"};var E=(0,g.default)(b,{name:"MuiChip"})(w);t.default=E},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(473))},function(e,t,n){"use strict";function r(e,t,n){return(Math.min(Math.max(t,e),n)-t)/(n-t)}function i(e){return e=r(e,0,1),e=(e-=1)*e*e+1}function o(e){return e*e}function a(e){var t,n,r=e.classes,a=e.className,s=e.color,h=e.size,g=e.style,v=e.thickness,y=e.value,b=e.variant,w=(0,c.default)(e,["classes","className","color","size","style","thickness","value","variant"]),E={},T={},_={};if("determinate"===b||"static"===b){var x=2*Math.PI*((m-v)/2);E.strokeDasharray=x.toFixed(3),_["aria-valuenow"]=Math.round(y),"static"===b?(E.strokeDashoffset="".concat(((100-y)/100*x).toFixed(3),"px"),T.transform="rotate(-90deg)"):(E.strokeDashoffset="".concat((o((100-y)/100)*x).toFixed(3),"px"),T.transform="rotate(".concat((270*i(y/70)).toFixed(3),"deg)"))}return d.default.createElement("div",(0,l.default)({className:(0,f.default)(r.root,(t={},(0,u.default)(t,r["color".concat((0,p.capitalize)(s))],"inherit"!==s),(0,u.default)(t,r.indeterminate,"indeterminate"===b),(0,u.default)(t,r.static,"static"===b),t),a),style:(0,l.default)({width:h,height:h},T,g),role:"progressbar"},_,w),d.default.createElement("svg",{className:r.svg,viewBox:"".concat(m/2," ").concat(m/2," ").concat(m," ").concat(m)},d.default.createElement("circle",{className:(0,f.default)(r.circle,(n={},(0,u.default)(n,r.circleIndeterminate,"indeterminate"===b),(0,u.default)(n,r.circleStatic,"static"===b),n)),style:E,cx:m,cy:m,r:(m-v)/2,fill:"none",strokeWidth:v})))}var s=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var l=s(n(3)),u=s(n(7)),c=s(n(4)),d=s(n(1)),f=(s(n(2)),s(n(6))),h=s(n(5)),p=n(14),m=44,g=function(e){return{root:{display:"inline-block",lineHeight:1},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"mui-progress-circular-rotate 1.4s linear infinite"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"mui-progress-circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},"@keyframes mui-progress-circular-rotate":{"100%":{transform:"rotate(360deg)"}},"@keyframes mui-progress-circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-120px"}}}};t.styles=g,a.propTypes={},a.defaultProps={color:"primary",size:40,thickness:3.6,value:0,variant:"indeterminate"};var v=(0,h.default)(g,{name:"MuiCircularProgress",flip:!1})(a);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=r(n(15)),h=(r(n(2)),r(n(31))),p=r(n(30)),m=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.node=null,n.mounted=null,n.handleClickAway=function(e){if(!e.defaultPrevented&&n.mounted&&n.node){var t=(0,p.default)(n.node);t.documentElement&&t.documentElement.contains(e.target)&&!n.node.contains(e.target)&&n.props.onClickAway(e)}},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.node=f.default.findDOMNode(this),this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.mouseEvent,r=e.touchEvent,a=(e.onClickAway,(0,o.default)(e,["children","mouseEvent","touchEvent","onClickAway"])),s={};return!1!==n&&(s[n]=this.handleClickAway),!1!==r&&(s[r]=this.handleClickAway),d.default.createElement(h.default,(0,i.default)({target:"document"},s,a),t)}}]),t}(d.default.Component);m.propTypes={},m.defaultProps={mouseEvent:"onMouseUp",touchEvent:"onTouchEnd"};var g=m;t.default=g},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=r(n(6)),p=(r(n(2)),r(n(35))),m=r(n(5)),g=n(28),v=n(56),y=function(e){return{container:{height:0,overflow:"hidden",transition:e.transitions.create("height")},entered:{height:"auto"},wrapper:{display:"flex"},wrapperInner:{width:"100%"}}};t.styles=y;var b=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.wrapper=null,n.autoTransitionDuration=null,n.timer=null,n.handleEnter=function(e){e.style.height=n.props.collapsedHeight,n.props.onEnter&&n.props.onEnter(e)},n.handleEntering=function(e){var t=n.props,r=t.timeout,i=t.theme,o=n.wrapperRef?n.wrapperRef.clientHeight:0,a=(0,v.getTransitionProps)(n.props,{mode:"enter"}),s=a.duration;if("auto"===r){var l=i.transitions.getAutoHeightDuration(o);e.style.transitionDuration="".concat(l,"ms"),n.autoTransitionDuration=l}else e.style.transitionDuration="string"===typeof s?s:"".concat(s,"ms");e.style.height="".concat(o,"px"),n.props.onEntering&&n.props.onEntering(e)},n.handleEntered=function(e){e.style.height="auto",n.props.onEntered&&n.props.onEntered(e)},n.handleExit=function(e){var t=n.wrapperRef?n.wrapperRef.clientHeight:0;e.style.height="".concat(t,"px"),n.props.onExit&&n.props.onExit(e)},n.handleExiting=function(e){var t=n.props,r=t.timeout,i=t.theme,o=n.wrapperRef?n.wrapperRef.clientHeight:0,a=(0,v.getTransitionProps)(n.props,{mode:"exit"}),s=a.duration;if("auto"===r){var l=i.transitions.getAutoHeightDuration(o);e.style.transitionDuration="".concat(l,"ms"),n.autoTransitionDuration=l}else e.style.transitionDuration="string"===typeof s?s:"".concat(s,"ms");e.style.height=n.props.collapsedHeight,n.props.onExiting&&n.props.onExiting(e)},n.addEndListener=function(e,t){"auto"===n.props.timeout&&(n.timer=setTimeout(t,n.autoTransitionDuration||0))},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.timer)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.classes,s=t.className,l=t.collapsedHeight,u=t.component,c=(t.onEnter,t.onEntered,t.onEntering,t.onExit,t.onExiting,t.style),d=(t.theme,t.timeout),m=(0,a.default)(t,["children","classes","className","collapsedHeight","component","onEnter","onEntered","onEntering","onExit","onExiting","style","theme","timeout"]);return f.default.createElement(p.default,(0,i.default)({onEnter:this.handleEnter,onEntered:this.handleEntered,onEntering:this.handleEntering,onExit:this.handleExit,onExiting:this.handleExiting,addEndListener:this.addEndListener,timeout:"auto"===d?null:d},m),function(t,a){return f.default.createElement(u,(0,i.default)({className:(0,h.default)(r.container,(0,o.default)({},r.entered,"entered"===t),s),style:(0,i.default)({},c,{minHeight:l})},a),f.default.createElement("div",{className:r.wrapper,ref:function(t){e.wrapperRef=t}},f.default.createElement("div",{className:r.wrapperInner},n)))})}}]),t}(f.default.Component);b.propTypes={},b.defaultProps={collapsedHeight:"0px",component:"div",timeout:g.duration.standard},b.muiSupportAuto=!0;var w=(0,m.default)(y,{withTheme:!0,name:"MuiCollapse"})(b);t.default=w},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(477))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(8)),o=r(n(9)),a=r(n(10)),s=r(n(11)),l=r(n(12)),u=r(n(1)),c=(r(n(2)),n(96)),d=(r(n(36)),function(e){return{"@global":{html:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box"},"*, *::before, *::after":{boxSizing:"inherit"},body:{margin:0,backgroundColor:e.palette.background.default,"@media print":{backgroundColor:e.palette.common.white}}}}}),f=function(e){function t(){return(0,i.default)(this,t),(0,a.default)(this,(0,s.default)(t).apply(this,arguments))}return(0,l.default)(t,e),(0,o.default)(t,[{key:"render",value:function(){return this.props.children}}]),t}(u.default.Component);f.propTypes={},f.propTypes={},f.defaultProps={children:null};var h=(0,c.withStyles)(d,{name:"MuiCssBaseline"})(f);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(479))},function(e,t,n){"use strict";function r(e){var t,n=e.BackdropProps,r=e.children,i=e.classes,c=e.className,h=e.disableBackdropClick,p=e.disableEscapeKeyDown,g=e.fullScreen,v=e.fullWidth,y=e.maxWidth,b=e.onBackdropClick,w=e.onClose,E=e.onEnter,T=e.onEntered,_=e.onEntering,x=e.onEscapeKeyDown,k=e.onExit,S=e.onExited,C=e.onExiting,O=e.open,A=e.PaperProps,P=e.scroll,I=e.TransitionComponent,R=e.transitionDuration,N=e.TransitionProps,M=(0,a.default)(e,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"]);return l.default.createElement(f.default,(0,o.default)({className:(0,u.default)(i.root,i["scroll".concat((0,d.capitalize)(P))],c),BackdropProps:(0,o.default)({transitionDuration:R},n),disableBackdropClick:h,disableEscapeKeyDown:p,onBackdropClick:b,onEscapeKeyDown:x,onClose:w,open:O,role:"dialog"},M),l.default.createElement(I,(0,o.default)({appear:!0,in:O,timeout:R,onEnter:E,onEntering:_,onEntered:T,onExit:k,onExiting:C,onExited:S},N),l.default.createElement(m.default,(0,o.default)({elevation:24,className:(0,u.default)(i.paper,i["paperScroll".concat((0,d.capitalize)(P))],(t={},(0,s.default)(t,i["paperWidth".concat(y?(0,d.capitalize)(y):"")],y),(0,s.default)(t,i.paperFullScreen,g),(0,s.default)(t,i.paperFullWidth,v),t))},A),r)))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(7)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=i(n(83)),h=i(n(124)),p=n(28),m=i(n(25)),g=function(e){return{root:{},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden"},paper:{display:"flex",flexDirection:"column",margin:48,position:"relative",overflowY:"auto",outline:"none"},paperScrollPaper:{flex:"0 1 auto",maxHeight:"calc(100% - 96px)"},paperScrollBody:{margin:"48px auto"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,360),"&$paperScrollBody":(0,s.default)({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,360)+96),{margin:48})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,"&$paperScrollBody":(0,s.default)({},e.breakpoints.down(e.breakpoints.values.sm+96),{margin:48})},paperWidthMd:{maxWidth:e.breakpoints.values.md,"&$paperScrollBody":(0,s.default)({},e.breakpoints.down(e.breakpoints.values.md+96),{margin:48})},paperFullWidth:{width:"100%"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0}}};t.styles=g,r.propTypes={},r.defaultProps={disableBackdropClick:!1,disableEscapeKeyDown:!1,fullScreen:!1,fullWidth:!1,maxWidth:"sm",scroll:"paper",TransitionComponent:h.default,transitionDuration:{enter:p.duration.enteringScreen,exit:p.duration.leavingScreen}};var v=(0,c.default)(g,{name:"MuiDialog"})(r);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(481))},function(e,t,n){"use strict";function r(e){var t=e.disableActionSpacing,n=e.children,r=e.classes,i=e.className,u=(0,a.default)(e,["disableActionSpacing","children","classes","className"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(r.root,i)},u),t?n:(0,c.cloneChildrenWithClassName)(n,r.action))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=n(39);n(54);var d={root:{display:"flex",alignItems:"center",justifyContent:"flex-end",flex:"0 0 auto",margin:"8px 4px"},action:{margin:"0 4px"}};t.styles=d,r.propTypes={},r.defaultProps={disableActionSpacing:!1};var f=(0,u.default)(d,{name:"MuiDialogActions"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(483))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.children,r=e.className,i=(0,a.default)(e,["classes","children","className"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(t.root,r)},i),n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c={root:{flex:"1 1 auto",overflowY:"auto",WebkitOverflowScrolling:"touch",padding:"0 24px 24px","&:first-child":{paddingTop:24}}};t.styles=c,r.propTypes={};var d=(0,u.default)(c,{name:"MuiDialogContent"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(485))},function(e,t,n){"use strict";function r(e){return a.default.createElement(l.default,(0,o.default)({component:"p",variant:"subheading",color:"textSecondary"},e))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(1)),s=(i(n(2)),i(n(5))),l=i(n(19)),u={root:{}};t.styles=u,r.propTypes={};var c=(0,s.default)(u,{name:"MuiDialogContentText"})(r);t.default=c},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(487))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=e.disableTypography,u=(0,a.default)(e,["children","classes","className","disableTypography"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(n.root,r)},u),i?t:s.default.createElement(c.default,{variant:"title"},t))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=i(n(19)),d={root:{margin:0,padding:"24px 24px 20px",flex:"0 0 auto"}};t.styles=d,r.propTypes={},r.defaultProps={disableTypography:!1};var f=(0,u.default)(d,{name:"MuiDialogTitle"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(489))},function(e,t,n){"use strict";function r(e){var t,n=e.absolute,r=e.classes,i=e.className,c=e.component,d=e.inset,f=e.light,h=(0,s.default)(e,["absolute","classes","className","component","inset","light"]),p=(0,u.default)(r.root,(t={},(0,a.default)(t,r.absolute,n),(0,a.default)(t,r.inset,d),(0,a.default)(t,r.light,f),t),i);return l.default.createElement(c,(0,o.default)({className:p},h))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(33),f=function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:(0,d.fade)(e.palette.divider,.08)}}};t.styles=f,r.propTypes={},r.defaultProps={absolute:!1,component:"hr",inset:!1,light:!1};var h=(0,c.default)(f,{name:"MuiDivider"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(130))},function(e,t,n){"use strict";function r(e,t){var n,r=e.direction,i=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var o=(0,y.default)(t).getComputedStyle(t);n=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var a=0,s=0;if(n&&"none"!==n&&"string"===typeof n){var l=n.split("(")[1].split(")")[0].split(",");a=parseInt(l[4],10),s=parseInt(l[5],10)}return"left"===r?"translateX(100vw) translateX(-".concat(i.left-a,"px)"):"right"===r?"translateX(-".concat(i.left+i.width+T-a,"px)"):"up"===r?"translateY(100vh) translateY(-".concat(i.top-s,"px)"):"translateY(-".concat(i.top+i.height+T-s,"px)")}function i(e,t){var n=r(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.setTranslateValue=i,t.default=void 0;var a=o(n(4)),s=o(n(3)),l=o(n(8)),u=o(n(9)),c=o(n(10)),d=o(n(11)),f=o(n(12)),h=o(n(1)),p=(o(n(2)),o(n(15))),m=o(n(31)),g=o(n(38)),v=o(n(35)),y=o(n(81)),b=o(n(29)),w=n(28),E=n(56),T=24,_=function(e){function t(){var e,n;(0,l.default)(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=(0,c.default)(this,(e=(0,d.default)(t)).call.apply(e,[this].concat(o))),n.mounted=!1,n.transition=null,n.handleResize=(0,g.default)(function(){n.props.in||"down"===n.props.direction||"right"===n.props.direction||n.transitionRef&&i(n.props,n.transitionRef)},166),n.handleEnter=function(e){i(n.props,e),(0,E.reflow)(e),n.props.onEnter&&n.props.onEnter(e)},n.handleEntering=function(e){var t=n.props.theme,r=(0,E.getTransitionProps)(n.props,{mode:"enter"});e.style.webkitTransition=t.transitions.create("-webkit-transform",(0,s.default)({},r,{easing:t.transitions.easing.easeOut})),e.style.transition=t.transitions.create("transform",(0,s.default)({},r,{easing:t.transitions.easing.easeOut})),e.style.webkitTransform="translate(0, 0)",e.style.transform="translate(0, 0)",n.props.onEntering&&n.props.onEntering(e)},n.handleExit=function(e){var t=n.props.theme,r=(0,E.getTransitionProps)(n.props,{mode:"exit"});e.style.webkitTransition=t.transitions.create("-webkit-transform",(0,s.default)({},r,{easing:t.transitions.easing.sharp})),e.style.transition=t.transitions.create("transform",(0,s.default)({},r,{easing:t.transitions.easing.sharp})),i(n.props,e),n.props.onExit&&n.props.onExit(e)},n.handleExited=function(e){e.style.webkitTransition="",e.style.transition="",n.props.onExited&&n.props.onExited(e)},n}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){this.props.in||this.updatePosition(),this.mounted=!0}},{key:"componentDidUpdate",value:function(e){e.direction===this.props.direction||this.props.in||this.updatePosition()}},{key:"componentWillUnmount",value:function(){this.handleResize.clear()}},{key:"updatePosition",value:function(){this.transitionRef&&(this.transitionRef.style.visibility="inherit",i(this.props,this.transitionRef))}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=(t.onEnter,t.onEntering,t.onExit,t.onExited,t.style),i=(t.theme,(0,a.default)(t,["children","onEnter","onEntering","onExit","onExited","style","theme"])),o={};return this.props.in||this.mounted||(o.visibility="hidden"),o=(0,s.default)({},o,r,h.default.isValidElement(n)?n.props.style:{}),h.default.createElement(m.default,{target:"window",onResize:this.handleResize},h.default.createElement(v.default,(0,s.default)({onEnter:this.handleEnter,onEntering:this.handleEntering,onExit:this.handleExit,onExited:this.handleExited,appear:!0,style:o,ref:function(t){e.transitionRef=p.default.findDOMNode(t)}},i),n))}}]),t}(h.default.Component);_.propTypes={},_.defaultProps={direction:"down",timeout:{enter:w.duration.enteringScreen,exit:w.duration.leavingScreen}};var x=(0,b.default)()(_);t.default=x},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(7)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(3)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=(r(n(13)),r(n(85))),m=r(n(25)),g=r(n(5)),v=n(39),y="undefined"!==typeof window&&/jsdom/.test(window.navigator.userAgent)?{}:{"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}},b=function(e){var t={duration:e.transitions.duration.shortest};return{root:{position:"relative",transition:e.transitions.create(["margin"],t),"&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:e.palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-child":{borderTopLeftRadius:2,borderTopRightRadius:2,"&:before":{display:"none"}},"&:last-child":(0,d.default)({borderBottomLeftRadius:2,borderBottomRightRadius:2},y),"&$expanded + &":{"&:before":{display:"none"}}},expanded:{margin:"16px 0","&:first-child":{marginTop:0},"&:last-child":{marginBottom:0},"&:before":{opacity:0}},disabled:{backgroundColor:e.palette.action.disabledBackground}}};t.styles=b;var w=function(e){function t(e){var n;return(0,a.default)(this,t),n=(0,l.default)(this,(0,u.default)(t).call(this)),n.isControlled=null,n.state={},n.handleChange=function(e){var t=n.isControlled?n.props.expanded:n.state.expanded;n.isControlled||n.setState({expanded:!t}),n.props.onChange&&n.props.onChange(e,!t)},n.isControlled=null!=e.expanded,n.isControlled||(n.state.expanded=void 0!==e.defaultExpanded&&e.defaultExpanded),n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e,t=this,n=this.props,r=n.children,a=n.classes,s=n.className,l=n.CollapseProps,u=(n.defaultExpanded,n.disabled),c=n.expanded,g=(n.onChange,(0,o.default)(n,["children","classes","className","CollapseProps","defaultExpanded","disabled","expanded","onChange"])),y=this.isControlled?c:this.state.expanded,b=(0,h.default)(a.root,(e={},(0,i.default)(e,a.expanded,y),(0,i.default)(e,a.disabled,u),e),s),w=null,E=f.default.Children.map(r,function(e){return f.default.isValidElement(e)?(0,v.isMuiElement)(e,["ExpansionPanelSummary"])?(w=f.default.cloneElement(e,{disabled:u,expanded:y,onChange:t.handleChange}),null):e:null}),T=y?null:{"aria-hidden":"true"};return f.default.createElement(m.default,(0,d.default)({className:b,elevation:1,square:!0},g),w,f.default.createElement(p.default,(0,d.default)({in:y,timeout:"auto"},T,l),E))}}]),t}(f.default.Component);w.propTypes={},w.defaultProps={defaultExpanded:!1,disabled:!1};var E=(0,g.default)(b,{name:"MuiExpansionPanel"})(w);t.default=E},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(494))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=(0,a.default)(e,["children","classes","className"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(n.root,r)},i),(0,c.cloneChildrenWithClassName)(t,n.action))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=n(39);n(54);var d={root:{display:"flex",alignItems:"center",justifyContent:"flex-end",padding:"16px 8px"},action:{marginLeft:8}};t.styles=d,r.propTypes={};var f=(0,u.default)(d,{name:"MuiExpansionPanelActions"})(r);t.default=f},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.children,r=e.className,i=(0,a.default)(e,["classes","children","className"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(t.root,r)},i),n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c={root:{display:"flex",padding:"8px 24px 24px"}};t.styles=c,r.propTypes={};var d=(0,u.default)(c,{name:"MuiExpansionPanelDetails"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(26)),m=r(n(84)),g=r(n(5)),v=function(e){var t={duration:e.transitions.duration.shortest};return{root:{display:"flex",minHeight:48,transition:e.transitions.create(["min-height","background-color"],t),padding:"0 24px 0 24px","&:hover:not($disabled)":{cursor:"pointer"},"&$expanded":{minHeight:64},"&$focused":{backgroundColor:e.palette.grey[300]},"&$disabled":{opacity:.38}},expanded:{},focused:{},disabled:{},content:{display:"flex",flexGrow:1,transition:e.transitions.create(["margin"],t),margin:"12px 0","& > :last-child":{paddingRight:32},"&$expanded":{margin:"20px 0"}},expandIcon:{position:"absolute",top:"50%",right:8,transform:"translateY(-50%) rotate(0deg)",transition:e.transitions.create("transform",t),"&:hover":{backgroundColor:"transparent"},"&$expanded":{transform:"translateY(-50%) rotate(180deg)"}}}};t.styles=v;var y=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.state={focused:!1},n.handleFocus=function(){n.setState({focused:!0})},n.handleBlur=function(){n.setState({focused:!1})},n.handleChange=function(e){var t=n.props,r=t.onChange,i=t.onClick;r&&r(e),i&&i(e)},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.classes,s=t.className,l=t.disabled,u=t.expanded,c=t.expandIcon,d=t.IconButtonProps,g=(t.onChange,(0,a.default)(t,["children","classes","className","disabled","expanded","expandIcon","IconButtonProps","onChange"])),v=this.state.focused;return f.default.createElement(p.default,(0,i.default)({focusRipple:!1,disableRipple:!0,disabled:l,component:"div","aria-expanded":u,className:(0,h.default)(r.root,(e={},(0,o.default)(e,r.disabled,l),(0,o.default)(e,r.expanded,u),(0,o.default)(e,r.focused,v),e),s)},g,{onFocusVisible:this.handleFocus,onBlur:this.handleBlur,onClick:this.handleChange}),f.default.createElement("div",{className:(0,h.default)(r.content,(0,o.default)({},r.expanded,u))},n),c&&f.default.createElement(m.default,(0,i.default)({disabled:l,className:(0,h.default)(r.expandIcon,(0,o.default)({},r.expanded,u)),component:"div",tabIndex:-1,"aria-hidden":"true"},d),c))}}]),t}(f.default.Component);y.propTypes={},y.defaultProps={disabled:!1},y.muiName="ExpansionPanelSummary";var b=(0,g.default)(v,{name:"MuiExpansionPanelSummary"})(y);t.default=b},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=r(n(2)),p=r(n(6)),m=r(n(5)),g=n(132),v=n(14),y=n(39),b={root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}};t.styles=b;var w=function(e){function t(e){var n;(0,s.default)(this,t),n=(0,u.default)(this,(0,c.default)(t).call(this)),n.state={adornedStart:!1,filled:!1,focused:!1},n.handleFocus=function(){n.setState(function(e){return e.focused?null:{focused:!0}})},n.handleBlur=function(){n.setState(function(e){return e.focused?{focused:!1}:null})},n.handleDirty=function(){n.state.filled||n.setState({filled:!0})},n.handleClean=function(){n.state.filled&&n.setState({filled:!1})};var r=e.children;return r&&f.default.Children.forEach(r,function(e){if((0,y.isMuiElement)(e,["Input","Select","NativeSelect"])){(0,g.isFilled)(e.props,!0)&&(n.state.filled=!0);var t=(0,y.isMuiElement)(e,["Select","NativeSelect"])?e.props.input:e;t&&(0,g.isAdornedStart)(t.props)&&(n.state.adornedStart=!0)}}),n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"getChildContext",value:function(){var e=this.props,t=e.disabled,n=e.error,r=e.required,i=e.margin,o=this.state;return{muiFormControl:{adornedStart:o.adornedStart,disabled:t,error:n,filled:o.filled,focused:o.focused,margin:i,onBlur:this.handleBlur,onEmpty:this.handleClean,onFilled:this.handleDirty,onFocus:this.handleFocus,required:r}}}},{key:"render",value:function(){var e,t=this.props,n=t.classes,r=t.className,s=t.component,l=(t.disabled,t.error,t.fullWidth),u=t.margin,c=(t.required,(0,a.default)(t,["classes","className","component","disabled","error","fullWidth","margin","required"]));return f.default.createElement(s,(0,i.default)({className:(0,p.default)(n.root,(e={},(0,o.default)(e,n["margin".concat((0,v.capitalize)(u))],"none"!==u),(0,o.default)(e,n.fullWidth,l),e),r)},c))}}]),t}(f.default.Component);w.propTypes={},w.defaultProps={component:"div",disabled:!1,error:!1,fullWidth:!1,margin:"none",required:!1},w.childContextTypes={muiFormControl:h.default.object};var E=(0,m.default)(b,{name:"MuiFormControl"})(w);t.default=E},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(6))),h=r(n(38)),p=r(n(31)),m=r(n(5)),g=19,v={root:{position:"relative",width:"100%"},textarea:{width:"100%",height:"100%",resize:"none",font:"inherit",padding:0,cursor:"inherit",boxSizing:"border-box",lineHeight:"inherit",border:"none",outline:"none",background:"transparent"},shadow:{overflow:"hidden",visibility:"hidden",position:"absolute",height:"auto",whiteSpace:"pre-wrap"}};t.styles=v;var y=function(e){function t(e){var n;return(0,a.default)(this,t),n=(0,l.default)(this,(0,u.default)(t).call(this)),n.isControlled=null,n.shadowRef=null,n.singlelineShadowRef=null,n.inputRef=null,n.value=null,n.handleResize=(0,h.default)(function(){n.syncHeightWithShadow()},166),n.state={height:null},n.handleRefInput=function(e){n.inputRef=e;var t=n.props.textareaRef;t&&("function"===typeof t?t(e):t.current=e)},n.handleRefSinglelineShadow=function(e){n.singlelineShadowRef=e},n.handleRefShadow=function(e){n.shadowRef=e},n.handleChange=function(e){n.value=e.target.value,n.isControlled||(n.shadowRef.value=n.value,n.syncHeightWithShadow()),n.props.onChange&&n.props.onChange(e)},n.isControlled=null!=e.value,n.value=e.value||e.defaultValue||"",n.state={height:Number(e.rows)*g},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.syncHeightWithShadow()}},{key:"componentDidUpdate",value:function(){this.syncHeightWithShadow()}},{key:"componentWillUnmount",value:function(){this.handleResize.clear()}},{key:"syncHeightWithShadow",value:function(){var e=this.props;if(this.shadowRef){this.isControlled&&(this.shadowRef.value=null==e.value?"":String(e.value));var t=this.singlelineShadowRef.scrollHeight,n=this.shadowRef.scrollHeight;void 0!==n&&(Number(e.rowsMax)>=Number(e.rows)&&(n=Math.min(Number(e.rowsMax)*t,n)),n=Math.max(n,t),Math.abs(this.state.height-n)>1&&this.setState({height:n}))}}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.className,r=e.defaultValue,a=(e.onChange,e.rows),s=(e.rowsMax,e.textareaRef,e.value),l=(0,o.default)(e,["classes","className","defaultValue","onChange","rows","rowsMax","textareaRef","value"]);return d.default.createElement("div",{className:t.root,style:{height:this.state.height}},d.default.createElement(p.default,{target:"window",onResize:this.handleResize}),d.default.createElement("textarea",{"aria-hidden":"true",className:(0,f.default)(t.textarea,t.shadow),readOnly:!0,ref:this.handleRefSinglelineShadow,rows:"1",tabIndex:-1,value:""}),d.default.createElement("textarea",{"aria-hidden":"true",className:(0,f.default)(t.textarea,t.shadow),defaultValue:r,readOnly:!0,ref:this.handleRefShadow,rows:a,tabIndex:-1,value:s}),d.default.createElement("textarea",(0,i.default)({rows:a,className:(0,f.default)(t.textarea,n),defaultValue:r,value:s,onChange:this.handleChange,ref:this.handleRefInput},l)))}}]),t}(d.default.Component);y.propTypes={},y.defaultProps={rows:1};var b=(0,m.default)(v)(y);t.default=b},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(500))},function(e,t,n){"use strict";function r(e,t){var n,r=(e.checked,e.classes),i=e.className,u=e.control,d=e.disabled,h=(e.inputRef,e.label),p=e.labelPlacement,m=(e.name,e.onChange,e.value,(0,s.default)(e,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"])),g=t.muiFormControl,v=d;"undefined"===typeof v&&"undefined"!==typeof u.props.disabled&&(v=u.props.disabled),"undefined"===typeof v&&g&&(v=g.disabled);var y={disabled:v};return["checked","name","onChange","value","inputRef"].forEach(function(t){"undefined"===typeof u.props[t]&&"undefined"!==typeof e[t]&&(y[t]=e[t])}),l.default.createElement("label",(0,o.default)({className:(0,c.default)(r.root,(n={},(0,a.default)(n,r.labelPlacementStart,"start"===p),(0,a.default)(n,r.disabled,v),n),i)},m),l.default.cloneElement(u,y),l.default.createElement(f.default,{component:"span",className:(0,c.default)(r.label,(0,a.default)({},r.disabled,v))},h))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=i(n(19)),h=function(e){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-14,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse"},disabled:{},label:{"&$disabled":{color:e.palette.text.disabled}}}};t.styles=h,r.propTypes={},r.defaultProps={labelPlacement:"end"},r.contextTypes={muiFormControl:u.default.object};var p=(0,d.default)(h,{name:"MuiFormControlLabel"})(r);t.default=p},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.children,i=e.row,c=(0,s.default)(e,["classes","className","children","row"]);return l.default.createElement("div",(0,o.default)({className:(0,u.default)(t.root,(0,a.default)({},t.row,i),n)},c),r)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d={root:{display:"flex",flexDirection:"column",flexWrap:"wrap"},row:{flexDirection:"row"}};t.styles=d,r.propTypes={},r.defaultProps={row:!1};var f=(0,c.default)(d,{name:"MuiFormGroup"})(r);t.default=f},function(e,t,n){"use strict";function r(e,t){var n,r=e.classes,i=e.className,u=e.component,d=e.disabled,f=e.error,h=e.filled,p=e.focused,m=e.margin,g=e.required,v=(0,s.default)(e,["classes","className","component","disabled","error","filled","focused","margin","required"]),y=t.muiFormControl,b=d,w=f,E=h,T=p,_=m,x=g;y&&("undefined"===typeof b&&(b=y.disabled),"undefined"===typeof w&&(w=y.error),"undefined"===typeof _&&(_=y.margin),"undefined"===typeof x&&(x=y.required),"undefined"===typeof T&&(T=y.focused),"undefined"===typeof E&&(E=y.filled));var k=(0,c.default)(r.root,(n={},(0,a.default)(n,r.disabled,b),(0,a.default)(n,r.error,w),(0,a.default)(n,r.filled,E),(0,a.default)(n,r.focused,T),(0,a.default)(n,r.marginDense,"dense"===_),(0,a.default)(n,r.required,x),n),i);return l.default.createElement(u,(0,o.default)({className:k},v))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=function(e){return{root:{color:e.palette.text.secondary,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),textAlign:"left",marginTop:8,lineHeight:"1em",minHeight:"1em",margin:0,"&$error":{color:e.palette.error.main},"&$disabled":{color:e.palette.text.disabled}},error:{},disabled:{},marginDense:{marginTop:4},focused:{},filled:{},required:{}}};t.styles=f,r.propTypes={},r.defaultProps={component:"p"},r.contextTypes={muiFormControl:u.default.object};var h=(0,d.default)(f,{name:"MuiFormHelperText"})(r);t.default=h},function(e,t,n){"use strict";function r(e,t){var n,r=e.children,i=e.classes,u=e.className,d=e.component,f=e.disabled,h=e.error,p=e.filled,m=e.focused,g=e.required,v=(0,s.default)(e,["children","classes","className","component","disabled","error","filled","focused","required"]),y=t.muiFormControl,b=f,w=h,E=p,T=m,_=g;y&&("undefined"===typeof _&&(_=y.required),"undefined"===typeof T&&(T=y.focused),"undefined"===typeof b&&(b=y.disabled),"undefined"===typeof w&&(w=y.error),"undefined"===typeof E&&(E=y.filled));var x=(0,c.default)(i.root,(n={},(0,a.default)(n,i.disabled,b),(0,a.default)(n,i.error,w),(0,a.default)(n,i.filled,E),(0,a.default)(n,i.focused,T),(0,a.default)(n,i.required,_),n),u);return l.default.createElement(d,(0,o.default)({className:x},v),r,_&&l.default.createElement("span",{className:(0,c.default)(i.asterisk,(0,a.default)({},i.error,w))},"\u2009*"))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=function(e){return{root:{fontFamily:e.typography.fontFamily,color:e.palette.text.secondary,fontSize:e.typography.pxToRem(16),lineHeight:1,padding:0,"&$focused":{color:e.palette.primary["light"===e.palette.type?"dark":"light"]},"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:e.palette.error.main}}}};t.styles=f,r.propTypes={},r.defaultProps={component:"label"},r.contextTypes={muiFormControl:u.default.object};var h=(0,d.default)(f,{name:"MuiFormLabel"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(505))},function(e,t,n){"use strict";function r(e,t,n){var r={};m.forEach(function(e){var t="grid-".concat(n,"-").concat(e);if(!0===e)return void(r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"});if("auto"===e)return void(r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"});var i="".concat(Math.round(e/12*1e7)/1e5,"%");r[t]={flexBasis:i,flexGrow:0,maxWidth:i}}),"xs"===n?(0,u.default)(e,r):e[t.breakpoints.up(n)]=r}function i(e,t){var n={};return p.forEach(function(e,r){0!==r&&(n["spacing-".concat(t,"-").concat(e)]={margin:-e/2,width:"calc(100% + ".concat(e,"px)"),"& > $item":{padding:e/2}})}),n}function o(e){var t,n=e.alignContent,r=e.alignItems,i=e.classes,a=e.className,f=e.component,h=e.container,p=e.direction,m=e.item,g=e.justify,v=e.lg,y=e.md,b=e.sm,w=e.spacing,E=e.wrap,T=e.xl,_=e.xs,x=e.zeroMinWidth,k=(0,l.default)(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),S=(0,d.default)((t={},(0,s.default)(t,i.container,h),(0,s.default)(t,i.item,m),(0,s.default)(t,i.zeroMinWidth,x),(0,s.default)(t,i["spacing-xs-".concat(String(w))],h&&0!==w),(0,s.default)(t,i["direction-xs-".concat(String(p))],p!==o.defaultProps.direction),(0,s.default)(t,i["wrap-xs-".concat(String(E))],E!==o.defaultProps.wrap),(0,s.default)(t,i["align-items-xs-".concat(String(r))],r!==o.defaultProps.alignItems),(0,s.default)(t,i["align-content-xs-".concat(String(n))],n!==o.defaultProps.alignContent),(0,s.default)(t,i["justify-xs-".concat(String(g))],g!==o.defaultProps.justify),(0,s.default)(t,i["grid-xs-".concat(String(_))],!1!==_),(0,s.default)(t,i["grid-sm-".concat(String(b))],!1!==b),(0,s.default)(t,i["grid-md-".concat(String(y))],!1!==y),(0,s.default)(t,i["grid-lg-".concat(String(v))],!1!==v),(0,s.default)(t,i["grid-xl-".concat(String(T))],!1!==T),t),a);return c.default.createElement(f,(0,u.default)({className:S},k))}var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var s=a(n(7)),l=a(n(4)),u=a(n(3)),c=a(n(1)),d=(a(n(2)),a(n(6))),f=a(n(5)),h=n(59),p=(a(n(506)),[0,8,16,24,32,40]),m=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],g=function(e){return(0,u.default)({container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-xs-center":{justifyContent:"center"},"justify-xs-flex-end":{justifyContent:"flex-end"},"justify-xs-space-between":{justifyContent:"space-between"},"justify-xs-space-around":{justifyContent:"space-around"},"justify-xs-space-evenly":{justifyContent:"space-evenly"}},i(e,"xs"),h.keys.reduce(function(t,n){return r(t,e,n),t},{}))};t.styles=g,o.propTypes={},o.defaultProps={alignContent:"stretch",alignItems:"stretch",component:"div",container:!1,direction:"row",item:!1,justify:"flex-start",lg:!1,md:!1,sm:!1,spacing:0,wrap:"wrap",xl:!1,xs:!1,zeroMinWidth:!1};var v=(0,f.default)(g,{name:"MuiGrid"})(o),y=v;t.default=y},function(e,t,n){"use strict";function r(e){return function(){return null}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r;t.default=i},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(508))},function(e,t,n){"use strict";function r(e){var t=e.cellHeight,n=e.children,r=e.classes,i=e.className,u=e.cols,c=e.component,d=e.spacing,f=e.style,h=(0,a.default)(e,["cellHeight","children","classes","className","cols","component","spacing","style"]);return s.default.createElement(c,(0,o.default)({className:(0,l.default)(r.root,i),style:(0,o.default)({margin:-d/2},f)},h),s.default.Children.map(n,function(e){if(!s.default.isValidElement(e))return null;var n=e.props.cols||1,r=e.props.rows||1;return s.default.cloneElement(e,{style:(0,o.default)({width:"".concat(100/u*n,"%"),height:"auto"===t?"auto":t*r+d,padding:d/2},e.props.style)})}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=(i(n(13)),i(n(5))),c={root:{display:"flex",flexWrap:"wrap",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch"}};t.styles=c,r.propTypes={},r.defaultProps={cellHeight:180,cols:2,component:"ul",spacing:4};var d=(0,u.default)(c,{name:"MuiGridList"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(510))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(82)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(31)),m=r(n(38)),g=r(n(5)),v={root:{boxSizing:"border-box",flexShrink:0},tile:{position:"relative",display:"block",height:"100%",overflow:"hidden"},imgFullHeight:{height:"100%",transform:"translateX(-50%)",position:"relative",left:"50%"},imgFullWidth:{width:"100%",position:"relative",transform:"translateY(-50%)",top:"50%"}};t.styles=v;var y=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.imgElement=null,n.handleResize=(0,m.default)(function(){n.fit()},166),n.fit=function(){var e=n.imgElement;if(e&&e.complete){if(e.width/e.height>e.parentNode.offsetWidth/e.parentNode.offsetHeight){var t,r;(t=e.classList).remove.apply(t,(0,a.default)(n.props.classes.imgFullWidth.split(" "))),(r=e.classList).add.apply(r,(0,a.default)(n.props.classes.imgFullHeight.split(" ")))}else{var i,o;(i=e.classList).remove.apply(i,(0,a.default)(n.props.classes.imgFullHeight.split(" "))),(o=e.classList).add.apply(o,(0,a.default)(n.props.classes.imgFullWidth.split(" ")))}e.removeEventListener("load",n.fit)}},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.ensureImageCover()}},{key:"componentDidUpdate",value:function(){this.ensureImageCover()}},{key:"componentWillUnmount",value:function(){this.handleResize.clear()}},{key:"ensureImageCover",value:function(){this.imgElement&&(this.imgElement.complete?this.fit():this.imgElement.addEventListener("load",this.fit))}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.classes,a=t.className,s=(t.cols,t.component),l=(t.rows,(0,o.default)(t,["children","classes","className","cols","component","rows"]));return f.default.createElement(s,(0,i.default)({className:(0,h.default)(r.root,a)},l),f.default.createElement(p.default,{target:"window",onResize:this.handleResize}),f.default.createElement("div",{className:r.tile},f.default.Children.map(n,function(t){return f.default.isValidElement(t)?"img"===t.type?f.default.cloneElement(t,{ref:function(t){e.imgElement=t}}):t:null})))}}]),t}(f.default.Component);y.propTypes={},y.defaultProps={cols:1,component:"li",rows:1};var b=(0,g.default)(v,{name:"MuiGridListTile"})(y);t.default=b},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(512))},function(e,t,n){"use strict";function r(e){var t,n,r=e.actionIcon,i=e.actionPosition,c=e.classes,d=e.className,f=e.subtitle,h=e.title,p=e.titlePosition,m=(0,s.default)(e,["actionIcon","actionPosition","classes","className","subtitle","title","titlePosition"]),g=r&&i,v=(0,u.default)(c.root,(t={},(0,a.default)(t,c.titlePositionBottom,"bottom"===p),(0,a.default)(t,c.titlePositionTop,"top"===p),(0,a.default)(t,c.rootSubtitle,f),t),d),y=(0,u.default)(c.titleWrap,(n={},(0,a.default)(n,c.titleWrapActionPosLeft,"left"===g),(0,a.default)(n,c.titleWrapActionPosRight,"right"===g),n));return l.default.createElement("div",(0,o.default)({className:v},m),l.default.createElement("div",{className:y},l.default.createElement("div",{className:c.title},h),f?l.default.createElement("div",{className:c.subtitle},f):null),r?l.default.createElement("div",{className:(0,u.default)(c.actionIcon,(0,a.default)({},c.actionIconActionPosLeft,"left"===g))},r):null)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=function(e){return{root:{position:"absolute",left:0,right:0,height:48,background:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",fontFamily:e.typography.fontFamily},titlePositionBottom:{bottom:0},titlePositionTop:{top:0},rootSubtitle:{height:68},titleWrap:{flexGrow:1,marginLeft:e.mixins.gutters().paddingLeft,marginRight:e.mixins.gutters().paddingRight,color:e.palette.common.white,overflow:"hidden"},titleWrapActionPosLeft:{marginLeft:0},titleWrapActionPosRight:{marginRight:0},title:{fontSize:e.typography.pxToRem(16),lineHeight:"24px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},subtitle:{fontSize:e.typography.pxToRem(12),lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},actionIcon:{},actionIconActionPosLeft:{order:-1}}};t.styles=d,r.propTypes={},r.defaultProps={actionPosition:"right",titlePosition:"bottom"};var f=(0,c.default)(d,{name:"MuiGridListTileBar"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(514))},function(e,t,n){"use strict";function r(e){var t=e.implementation,n=(0,o.default)(e,["implementation"]);return"js"===t?a.default.createElement(s.default,n):a.default.createElement(l.default,n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(4)),a=i(n(1)),s=(i(n(2)),i(n(515))),l=i(n(517));r.propTypes={},r.defaultProps={implementation:"js",lgDown:!1,lgUp:!1,mdDown:!1,mdUp:!1,smDown:!1,smUp:!1,xlDown:!1,xlUp:!1,xsDown:!1,xsUp:!1};var u=r;t.default=u},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.only,r=e.width,i=!0;if(n)if(Array.isArray(n))for(var o=0;o<n.length;o+=1){var a=n[o];if(r===a){i=!1;break}}else n&&r===n&&(i=!1);if(i)for(var u=0;u<s.keys.length;u+=1){var c=s.keys[u],d=e["".concat(c,"Up")],f=e["".concat(c,"Down")];if(d&&(0,l.isWidthUp)(c,r)||f&&(0,l.isWidthDown)(c,r)){i=!1;break}}return i?t:null}var i=n(46),o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(2)),s=n(59),l=i(n(133)),u=o(n(36));r.propTypes={children:a.default.node,className:a.default.string,implementation:a.default.oneOf(["js","css"]),initialWidth:a.default.oneOf(["xs","sm","md","lg","xl"]),lgDown:a.default.bool,lgUp:a.default.bool,mdDown:a.default.bool,mdUp:a.default.bool,only:a.default.oneOfType([a.default.oneOf(["xs","sm","md","lg","xl"]),a.default.arrayOf(a.default.oneOf(["xs","sm","md","lg","xl"]))]),smDown:a.default.bool,smUp:a.default.bool,width:a.default.string.isRequired,xlDown:a.default.bool,xlUp:a.default.bool,xsDown:a.default.bool,xsUp:a.default.bool},r.propTypes=(0,u.default)(r.propTypes);var c=(0,l.default)()(r);t.default=c},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.isWidthDown=t.isWidthUp=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(31))),h=r(n(38)),p=(r(n(61)),r(n(102))),m=r(n(29)),g=n(59),v=r(n(167)),y=function(e,t){return arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?g.keys.indexOf(e)<g.keys.indexOf(t):g.keys.indexOf(e)<=g.keys.indexOf(t)};t.isWidthUp=y;var b=function(e,t){return arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?g.keys.indexOf(t)<g.keys.indexOf(e):g.keys.indexOf(t)<=g.keys.indexOf(e)};t.isWidthDown=b;var w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=e.withTheme,r=void 0!==n&&n,y=e.noSSR,b=void 0!==y&&y,w=e.initialWidth,E=e.resizeInterval,T=void 0===E?166:E,_=function(e){function n(e){var t;return(0,a.default)(this,n),t=(0,l.default)(this,(0,u.default)(n).call(this,e)),t.handleResize=(0,h.default)(function(){var e=t.getWidth();e!==t.state.width&&t.setState({width:e})},T),t.state={width:void 0},b&&(t.state.width=t.getWidth()),t}return(0,c.default)(n,e),(0,s.default)(n,[{key:"componentDidMount",value:function(){var e=this.getWidth();e!==this.state.width&&this.setState({width:e})}},{key:"componentWillUnmount",value:function(){this.handleResize.clear()}},{key:"getWidth",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.innerWidth,t=this.props.theme.breakpoints,n=null,r=1;null===n&&r<g.keys.length;){var i=g.keys[r];if(e<t.values[i]){n=g.keys[r-1];break}r+=1}return n=n||"xl"}},{key:"render",value:function(){var e=this.props,n=e.initialWidth,a=e.theme,s=e.width,l=(0,o.default)(e,["initialWidth","theme","width"]),u=(0,i.default)({width:s||this.state.width||n||w||(0,v.default)({theme:a,name:"MuiWithWidth"}).initialWidth},l),c={};return r&&(c.theme=a),void 0===u.width?null:d.default.createElement(f.default,{target:"window",onResize:this.handleResize},d.default.createElement(t,(0,i.default)({},c,u)))}}]),n}(d.default.Component);return _.propTypes={},(0,p.default)(_,t),(0,m.default)()(_)}},E=w;t.default=E},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=(e.lgDown,e.lgUp,e.mdDown,e.mdUp,e.only),a=(e.smDown,e.smUp,e.xlDown,e.xlUp,e.xsDown,e.xsUp,(0,o.default)(e,["children","classes","className","lgDown","lgUp","mdDown","mdUp","only","smDown","smUp","xlDown","xlUp","xsDown","xsUp"]),[]);r&&a.push(r);for(var c=0;c<l.keys.length;c+=1){var d=l.keys[c],f=e["".concat(d,"Up")],h=e["".concat(d,"Down")];f&&a.push(n["".concat(d,"Up")]),h&&a.push(n["".concat(d,"Down")])}if(i){(Array.isArray(i)?i:[i]).forEach(function(e){a.push(n["only".concat((0,u.capitalize)(e))])})}return s.default.createElement("div",{className:a.join(" ")},t)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(4)),a=i(n(7)),s=i(n(1)),l=(i(n(2)),i(n(13)),n(59)),u=n(14),c=i(n(5)),d=function(e){var t={display:"none"};return l.keys.reduce(function(n,r){return n["only".concat((0,u.capitalize)(r))]=(0,a.default)({},e.breakpoints.only(r),t),n["".concat(r,"Up")]=(0,a.default)({},e.breakpoints.up(r),t),n["".concat(r,"Down")]=(0,a.default)({},e.breakpoints.down(r),t),n},{})};r.propTypes={};var f=(0,c.default)(d)(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(519))},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.classes,i=e.className,c=e.color,f=e.fontSize,h=(0,s.default)(e,["children","classes","className","color","fontSize"]);return l.default.createElement("span",(0,o.default)({className:(0,u.default)("material-icons",r.root,(t={},(0,a.default)(t,r["color".concat((0,d.capitalize)(c))],"inherit"!==c),(0,a.default)(t,r["fontSize".concat((0,d.capitalize)(f))],"default"!==f),t),i),"aria-hidden":"true"},h),n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=function(e){return{root:{userSelect:"none",fontSize:24,width:"1em",height:"1em",overflow:"hidden",flexShrink:0},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"}}};t.styles=f,r.propTypes={},r.defaultProps={color:"inherit",fontSize:"default"},r.muiName="Icon";var h=(0,c.default)(f,{name:"MuiIcon"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(521))},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.component,i=e.classes,d=e.className,f=e.disableTypography,h=e.position,p=(0,s.default)(e,["children","component","classes","className","disableTypography","position"]);return l.default.createElement(r,(0,o.default)({className:(0,u.default)(i.root,(t={},(0,a.default)(t,i.positionStart,"start"===h),(0,a.default)(t,i.positionEnd,"end"===h),t),d)},p),"string"!==typeof n||f?n:l.default.createElement(c.default,{color:"textSecondary"},n))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(19)),d=i(n(5)),f={root:{display:"flex",maxHeight:"2em",alignItems:"center"},positionStart:{marginRight:8},positionEnd:{marginLeft:8}};t.styles=f,r.propTypes={},r.defaultProps={component:"div",disableTypography:!1};var h=(0,d.default)(f,{name:"MuiInputAdornment"})(r);t.default=h},function(e,t,n){"use strict";function r(e,t){var n,r=e.children,i=e.classes,u=e.className,d=e.disableAnimation,h=e.FormLabelClasses,p=e.margin,m=e.shrink,g=(0,s.default)(e,["children","classes","className","disableAnimation","FormLabelClasses","margin","shrink"]),v=t.muiFormControl,y=m;"undefined"===typeof y&&v&&(y=v.filled||v.focused||v.adornedStart);var b=p;"undefined"===typeof b&&v&&(b=v.margin);var w=(0,c.default)(i.root,(n={},(0,a.default)(n,i.formControl,v),(0,a.default)(n,i.animated,!d),(0,a.default)(n,i.shrink,y),(0,a.default)(n,i.marginDense,"dense"===b),n),u);return l.default.createElement(f.default,(0,o.default)({"data-shrink":y,className:w,classes:h},g),r)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=i(n(203)),h=function(e){return{root:{transformOrigin:"top left"},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}}};t.styles=h,r.propTypes={},r.defaultProps={disableAnimation:!1},r.contextTypes={muiFormControl:u.default.object};var p=(0,d.default)(h,{name:"MuiInputLabel"})(r);t.default=p},function(e,t,n){"use strict";function r(e){var t,n,r,i,c=e.classes,d=e.className,f=e.color,h=e.value,p=e.valueBuffer,m=e.variant,g=(0,s.default)(e,["classes","className","color","value","valueBuffer","variant"]),v=(0,u.default)(c.root,(t={},(0,a.default)(t,c.colorPrimary,"primary"===f),(0,a.default)(t,c.colorSecondary,"secondary"===f),(0,a.default)(t,c.buffer,"buffer"===m),(0,a.default)(t,c.query,"query"===m),t),d),y=(0,u.default)(c.dashed,(n={},(0,a.default)(n,c.dashedColorPrimary,"primary"===f),(0,a.default)(n,c.dashedColorSecondary,"secondary"===f),n)),b=(0,u.default)(c.bar,(r={},(0,a.default)(r,c.barColorPrimary,"primary"===f),(0,a.default)(r,c.barColorSecondary,"secondary"===f),(0,a.default)(r,c.bar1Indeterminate,"indeterminate"===m||"query"===m),(0,a.default)(r,c.bar1Determinate,"determinate"===m),(0,a.default)(r,c.bar1Buffer,"buffer"===m),r)),w=(0,u.default)(c.bar,(i={},(0,a.default)(i,c.barColorPrimary,"primary"===f&&"buffer"!==m),(0,a.default)(i,c.colorPrimary,"primary"===f&&"buffer"===m),(0,a.default)(i,c.barColorSecondary,"secondary"===f&&"buffer"!==m),(0,a.default)(i,c.colorSecondary,"secondary"===f&&"buffer"===m),(0,a.default)(i,c.bar2Indeterminate,"indeterminate"===m||"query"===m),(0,a.default)(i,c.bar2Determinate,"determinate"===m),(0,a.default)(i,c.bar2Buffer,"buffer"===m),i)),E={},T={bar1:{},bar2:{}};return"determinate"!==m&&"buffer"!==m||void 0!==h&&(E["aria-valuenow"]=Math.round(h),T.bar1.transform="scaleX(".concat(h/100,")")),"buffer"===m&&void 0!==p&&(T.bar2.transform="scaleX(".concat((p||0)/100,")")),l.default.createElement("div",(0,o.default)({className:v,role:"progressbar"},E,g),"buffer"===m?l.default.createElement("div",{className:y}):null,l.default.createElement("div",{className:b,style:T.bar1}),"determinate"===m?null:l.default.createElement("div",{className:w,style:T.bar2}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=(i(n(13)),i(n(5))),d=n(33),f=function(e){return{root:{position:"relative",overflow:"hidden",height:5},colorPrimary:{backgroundColor:(0,d.lighten)(e.palette.primary.light,.6)},colorSecondary:{backgroundColor:(0,d.lighten)(e.palette.secondary.light,.4)},buffer:{backgroundColor:"transparent"},query:{transform:"rotate(180deg)"},dashed:{position:"absolute",marginTop:0,height:"100%",width:"100%",animation:"buffer 3s infinite linear"},dashedColorPrimary:{backgroundImage:"radial-gradient(".concat((0,d.lighten)(e.palette.primary.light,.6)," 0%, ").concat((0,d.lighten)(e.palette.primary.light,.6)," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0px -23px"},dashedColorSecondary:{backgroundImage:"radial-gradient(".concat((0,d.lighten)(e.palette.secondary.light,.4)," 0%, ").concat((0,d.lighten)(e.palette.secondary.light,.6)," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0px -23px"},bar:{width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},barColorPrimary:{backgroundColor:e.palette.primary.main},barColorSecondary:{backgroundColor:e.palette.secondary.main},bar1Indeterminate:{width:"auto",willChange:"left, right",animation:"mui-indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite"},bar1Determinate:{willChange:"transform",transition:"transform .".concat(4,"s linear")},bar1Buffer:{zIndex:1,transition:"transform .".concat(4,"s linear")},bar2Indeterminate:{width:"auto",willChange:"left, right",animation:"mui-indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite",animationDelay:"1.15s"},bar2Determinate:{},bar2Buffer:{transition:"transform .".concat(4,"s linear")},"@keyframes mui-indeterminate1":{"0%":{left:"-35%",right:"100%"},"60%":{left:"100%",right:"-90%"},"100%":{left:"100%",right:"-90%"}},"@keyframes mui-indeterminate2":{"0%":{left:"-200%",right:"100%"},"60%":{left:"107%",right:"-8%"},"100%":{left:"107%",right:"-8%"}},"@keyframes buffer":{"0%":{opacity:1,backgroundPosition:"0px -23px"},"50%":{opacity:0,backgroundPosition:"0px -23px"},"100%":{opacity:1,backgroundPosition:"-200px -23px"}}}};t.styles=f,r.propTypes={},r.defaultProps={color:"primary",variant:"indeterminate"};var h=(0,c.default)(f,{name:"MuiLinearProgress"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(525))},function(e,t,n){"use strict";function r(e,t){var n=e.children,r=e.classes,i=e.className,u=(0,s.default)(e,["children","classes","className"]);return void 0===t.dense?e.children:l.default.cloneElement(n,(0,a.default)({className:(0,c.default)((0,o.default)({},r.root,t.dense),i,n.props.className),childrenClassName:(0,c.default)((0,o.default)({},r.icon,t.dense),n.props.childrenClassName)},u))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(3)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=(i(n(13)),i(n(5))),f=function(e){return{root:{width:36,height:36,fontSize:e.typography.pxToRem(18),marginRight:4},icon:{width:20,height:20,fontSize:e.typography.pxToRem(20)}}};t.styles=f,r.propTypes={},r.contextTypes={dense:u.default.bool},r.muiName="ListItemAvatar";var h=(0,d.default)(f,{name:"MuiListItemAvatar"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(527))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=(0,a.default)(e,["children","classes","className"]);return s.default.cloneElement(t,(0,o.default)({className:(0,l.default)(n.root,r,t.props.className)},i))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=function(e){return{root:{marginRight:16,color:e.palette.action.active,flexShrink:0}}};t.styles=c,r.propTypes={};var d=(0,u.default)(c,{name:"MuiListItemIcon"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(529))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=(0,a.default)(e,["children","classes","className"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(n.root,r)},i),t)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c={root:{position:"absolute",right:4,top:"50%",transform:"translateY(-50%)"}};t.styles=c,r.propTypes={},r.muiName="ListItemSecondaryAction";var d=(0,u.default)(c,{name:"MuiListItemSecondaryAction"})(r);t.default=d},function(e,t,n){"use strict";function r(e,t){var n,r=e.children,i=e.classes,u=e.className,d=e.disableTypography,h=e.inset,p=e.primary,m=e.primaryTypographyProps,g=e.secondary,v=e.secondaryTypographyProps,y=(0,s.default)(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),b=t.dense,w=null!=p?p:r;null==w||w.type===f.default||d||(w=l.default.createElement(f.default,(0,o.default)({variant:"subheading",className:(0,c.default)(i.primary,(0,a.default)({},i.textDense,b)),component:"span"},m),w));var E=g;return null==E||E.type===f.default||d||(E=l.default.createElement(f.default,(0,o.default)({variant:"body1",className:(0,c.default)(i.secondary,(0,a.default)({},i.textDense,b)),color:"textSecondary"},v),E)),l.default.createElement("div",(0,o.default)({className:(0,c.default)(i.root,(n={},(0,a.default)(n,i.dense,b),(0,a.default)(n,i.inset,h),n),u)},y),w,E)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=i(n(19)),h=function(e){return{root:{flex:"1 1 auto",minWidth:0,padding:"0 16px","&:first-child":{paddingLeft:0}},inset:{"&:first-child":{paddingLeft:56}},dense:{fontSize:e.typography.pxToRem(13)},primary:{"&$textDense":{fontSize:"inherit"}},secondary:{"&$textDense":{fontSize:"inherit"}},textDense:{}}};t.styles=h,r.propTypes={},r.defaultProps={disableTypography:!1,inset:!1},r.contextTypes={dense:u.default.bool};var p=(0,d.default)(h,{name:"MuiListItemText"})(r);t.default=p},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(532))},function(e,t,n){"use strict";function r(e){var t,n=e.classes,r=e.className,i=e.color,c=e.component,f=e.disableGutters,h=e.disableSticky,p=e.inset,m=(0,s.default)(e,["classes","className","color","component","disableGutters","disableSticky","inset"]);return l.default.createElement(c,(0,o.default)({className:(0,u.default)(n.root,(t={},(0,a.default)(t,n["color".concat((0,d.capitalize)(i))],"default"!==i),(0,a.default)(t,n.inset,p),(0,a.default)(t,n.sticky,!h),(0,a.default)(t,n.gutters,!f),t),r)},m))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=function(e){return{root:{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:e.palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},colorPrimary:{color:e.palette.primary.main},colorInherit:{color:"inherit"},gutters:e.mixins.gutters(),inset:{paddingLeft:72},sticky:{position:"sticky",top:0,zIndex:1,backgroundColor:"inherit"}}};t.styles=f,r.propTypes={},r.defaultProps={color:"default",component:"li",disableGutters:!1,disableSticky:!1,inset:!1},r.muiName="ListSubheader";var h=(0,c.default)(f,{name:"MuiListSubheader"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(534))},function(e,t,n){"use strict";function r(e){var t=e.activeStep,n=e.backButton,r=e.classes,i=e.className,d=e.LinearProgressProps,m=e.nextButton,g=e.position,v=e.steps,y=e.variant,b=(0,l.default)(e,["activeStep","backButton","classes","className","LinearProgressProps","nextButton","position","steps","variant"]),w=(0,c.default)(r.root,r["position".concat((0,h.capitalize)(g))],i);return u.default.createElement(f.default,(0,o.default)({square:!0,elevation:0,className:w},b),n,"dots"===y&&u.default.createElement("div",{className:r.dots},(0,s.default)(new Array(v)).map(function(e,n){var i=(0,c.default)(r.dot,(0,a.default)({},r.dotActive,n===t));return u.default.createElement("div",{key:n,className:i})})),"progress"===y&&u.default.createElement(p.default,(0,o.default)({className:r.progress,variant:"determinate",value:Math.ceil(t/(v-1)*100)},d)),m)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(82)),l=i(n(4)),u=i(n(1)),c=(i(n(2)),i(n(6))),d=i(n(5)),f=i(n(25)),h=n(14),p=i(n(205)),m=function(e){return{root:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:e.palette.background.default,padding:8},positionBottom:{position:"fixed",bottom:0,left:0,right:0,zIndex:e.zIndex.mobileStepper},positionTop:{position:"fixed",top:0,left:0,right:0,zIndex:e.zIndex.mobileStepper},positionStatic:{},dots:{display:"flex",flexDirection:"row"},dot:{backgroundColor:e.palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"},dotActive:{backgroundColor:e.palette.primary.main},progress:{width:"50%"}}};t.styles=m,r.propTypes={},r.defaultProps={activeStep:0,position:"bottom",variant:"dots"};var g=(0,d.default)(m,{name:"MuiMobileStepper"})(r);t.default=g},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(207))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(8)),o=r(n(9)),a=r(n(10)),s=r(n(11)),l=r(n(12)),u=r(n(1)),c=(r(n(2)),r(n(36)),function(e){function t(){var e,n;(0,i.default)(this,t);for(var r=arguments.length,o=new Array(r),l=0;l<r;l++)o[l]=arguments[l];return n=(0,a.default)(this,(e=(0,s.default)(t)).call.apply(e,[this].concat(o))),n.state={mounted:!1},n}return(0,l.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){var e=this;this.mounted=!0,this.props.defer?requestAnimationFrame(function(){requestAnimationFrame(function(){e.mounted&&e.setState({mounted:!0})})}):this.setState({mounted:!0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.fallback;return this.state.mounted?t:n}}]),t}(u.default.Component));c.propTypes={},c.propTypes={},c.defaultProps={defer:!1,fallback:null};var d=c;t.default=d},function(e,t,n){"use strict";function r(e,t){if("rtl"!==e.direction)return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}function i(e){return"function"===typeof e?e():e}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(4)),s=o(n(3)),l=o(n(8)),u=o(n(9)),c=o(n(10)),d=o(n(11)),f=o(n(12)),h=o(n(47)),p=o(n(1)),m=o(n(15)),g=(o(n(2)),o(n(538))),v=o(n(29)),y=o(n(123)),b=function(e){function t(e){var n;return(0,l.default)(this,t),n=(0,c.default)(this,(0,d.default)(t).call(this)),n.popper=null,n.handleOpen=function(){var e=n.props,t=e.anchorEl,o=e.modifiers,a=e.open,l=e.placement,u=e.popperOptions,c=void 0===u?{}:u,d=e.theme,f=e.disablePortal,p=m.default.findDOMNode((0,h.default)((0,h.default)(n)));p&&t&&a&&(n.popper&&(n.popper.destroy(),n.popper=null),n.popper=new g.default(i(t),p,(0,s.default)({placement:r(d,l)},c,{modifiers:(0,s.default)({},f?{}:{preventOverflow:{boundariesElement:"window"}},o,c.modifiers),onCreate:n.handlePopperUpdate,onUpdate:n.handlePopperUpdate})))},n.handlePopperUpdate=function(e){e.placement!==n.state.placement&&n.setState({placement:e.placement})},n.handleExited=function(){n.setState({exited:!0}),n.handleClose()},n.handleClose=function(){n.popper&&(n.popper.destroy(),n.popper=null)},n.state={exited:!e.open},n}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentDidUpdate",value:function(e){e.open===this.props.open||this.props.open||this.props.transition||this.handleClose(),e.open===this.props.open&&e.anchorEl===this.props.anchorEl&&e.popperOptions===this.props.popperOptions&&e.modifiers===this.props.modifiers&&e.disablePortal===this.props.disablePortal&&e.placement===this.props.placement||this.handleOpen()}},{key:"componentWillUnmount",value:function(){this.handleClose()}},{key:"render",value:function(){var e=this.props,t=(e.anchorEl,e.children),n=e.container,i=e.disablePortal,o=e.keepMounted,l=(e.modifiers,e.open),u=e.placement,c=(e.popperOptions,e.theme),d=e.transition,f=(0,a.default)(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","theme","transition"]),h=this.state,m=h.exited,g=h.placement;if(!o&&!l&&(!d||m))return null;var v={placement:g||r(c,u)};return d&&(v.TransitionProps={in:l,onExited:this.handleExited}),p.default.createElement(y.default,{onRendered:this.handleOpen,disablePortal:i,container:n},p.default.createElement("div",(0,s.default)({role:"tooltip",style:{position:"absolute"}},f),"function"===typeof t?t(v):t))}}],[{key:"getDerivedStateFromProps",value:function(e){return e.open?{exited:!1}:e.transition?null:{exited:!0}}}]),t}(p.default.Component);b.propTypes={},b.defaultProps={disablePortal:!1,placement:"bottom",transition:!1};var w=(0,v.default)()(b);t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){function n(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function r(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},de))}}function i(e){var t={};return e&&"[object Function]"===t.toString.call(e)}function o(e,t){if(1!==e.nodeType)return[];var n=getComputedStyle(e,null);return t?n[t]:n}function a(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function s(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=o(e),n=t.overflow,r=t.overflowX;return/(auto|scroll|overlay)/.test(n+t.overflowY+r)?e:s(a(e))}function l(e){return 11===e?me:10===e?ge:me||ge}function u(e){if(!e)return document.documentElement;for(var t=l(10)?document.body:null,n=e.offsetParent;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===o(n,"position")?u(n):n:e?e.ownerDocument.documentElement:document.documentElement}function c(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||u(e.firstElementChild)===e)}function d(e){return null!==e.parentNode?d(e.parentNode):e}function f(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(e!==a&&t!==a||r.contains(i))return c(a)?a:u(a);var s=d(e);return s.host?f(s.host,t):f(e,d(t).host)}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[n]}return e[n]}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h(t,"top"),i=h(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}function m(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function g(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],l(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function v(e){var t=e.body,n=e.documentElement,r=l(10)&&getComputedStyle(n);return{height:g("Height",t,n,r),width:g("Width",t,n,r)}}function y(e){return we({},e,{right:e.left+e.width,bottom:e.top+e.height})}function b(e){var t={};try{if(l(10)){t=e.getBoundingClientRect();var n=h(e,"top"),r=h(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?v(e.ownerDocument):{},s=a.width||e.clientWidth||i.right-i.left,u=a.height||e.clientHeight||i.bottom-i.top,c=e.offsetWidth-s,d=e.offsetHeight-u;if(c||d){var f=o(e);c-=m(f,"x"),d-=m(f,"y"),i.width-=c,i.height-=d}return y(i)}function w(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=l(10),i="HTML"===t.nodeName,a=b(e),u=b(t),c=s(e),d=o(t),f=parseFloat(d.borderTopWidth,10),h=parseFloat(d.borderLeftWidth,10);n&&i&&(u.top=Math.max(u.top,0),u.left=Math.max(u.left,0));var m=y({top:a.top-u.top-f,left:a.left-u.left-h,width:a.width,height:a.height});if(m.marginTop=0,m.marginLeft=0,!r&&i){var g=parseFloat(d.marginTop,10),v=parseFloat(d.marginLeft,10);m.top-=f-g,m.bottom-=f-g,m.left-=h-v,m.right-=h-v,m.marginTop=g,m.marginLeft=v}return(r&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(m=p(m,t)),m}function E(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=w(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:h(n),s=t?0:h(n,"left");return y({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o})}function T(e){var t=e.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===o(e,"position")||T(a(e)))}function _(e){if(!e||!e.parentElement||l())return document.documentElement;for(var t=e.parentElement;t&&"none"===o(t,"transform");)t=t.parentElement;return t||document.documentElement}function x(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},l=i?_(e):f(e,t);if("viewport"===r)o=E(l,i);else{var u=void 0;"scrollParent"===r?(u=s(a(t)),"BODY"===u.nodeName&&(u=e.ownerDocument.documentElement)):u="window"===r?e.ownerDocument.documentElement:r;var c=w(u,l,i);if("HTML"!==u.nodeName||T(l))o=c;else{var d=v(e.ownerDocument),h=d.height,p=d.width;o.top+=c.top-c.marginTop,o.bottom=h+c.top,o.left+=c.left-c.marginLeft,o.right=p+c.left}}n=n||0;var m="number"===typeof n;return o.left+=m?n:n.left||0,o.top+=m?n:n.top||0,o.right-=m?n:n.right||0,o.bottom-=m?n:n.bottom||0,o}function k(e){return e.width*e.height}function S(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=x(n,r,o,i),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){return we({key:e},s[e],{area:k(s[e])})}).sort(function(e,t){return t.area-e.area}),u=l.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,d=e.split("-")[1];return c+(d?"-"+d:"")}function C(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return w(n,r?_(t):f(t,n),r)}function O(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function A(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function P(e,t,n){n=n.split("-")[0];var r=O(e),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return i[a]=t[a]+t[l]/2-r[l]/2,i[s]=n===s?t[s]-r[u]:t[A(s)],i}function I(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function R(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var r=I(e,function(e){return e[t]===n});return e.indexOf(r)}function N(e,t,n){return(void 0===n?e:e.slice(0,R(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=y(t.offsets.popper),t.offsets.reference=y(t.offsets.reference),t=n(t,e))}),t}function M(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=C(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=S(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=P(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=N(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function D(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function L(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],o=i?""+i+n:e;if("undefined"!==typeof document.body.style[o])return o}return null}function j(){return this.state.isDestroyed=!0,D(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[L("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function W(e){var t=e.ownerDocument;return t?t.defaultView:window}function B(e,t,n,r){var i="BODY"===e.nodeName,o=i?e.ownerDocument.defaultView:e;o.addEventListener(t,n,{passive:!0}),i||B(s(o.parentNode),t,n,r),r.push(o)}function F(e,t,n,r){n.updateBound=r,W(e).addEventListener("resize",n.updateBound,{passive:!0});var i=s(e);return B(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function z(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}function U(e,t){return W(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function H(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=U(this.reference,this.state))}function G(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function q(e,t){Object.keys(t).forEach(function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&G(t[n])&&(r="px"),e.style[n]=t[n]+r})}function V(e,t){Object.keys(t).forEach(function(n){!1!==t[n]?e.setAttribute(n,t[n]):e.removeAttribute(n)})}function K(e){return q(e.instance.popper,e.styles),V(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&q(e.arrowElement,e.arrowStyles),e}function Y(e,t,n,r,i){var o=C(i,t,e,n.positionFixed),a=S(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),q(t,{position:n.positionFixed?"fixed":"absolute"}),n}function Z(e,t){var n=t.x,r=t.y,i=e.offsets.popper,o=I(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:t.gpuAcceleration,s=u(e.instance.popper),l=b(s),c={position:i.position},d={left:Math.floor(i.left),top:Math.round(i.top),bottom:Math.round(i.bottom),right:Math.floor(i.right)},f="bottom"===n?"top":"bottom",h="right"===r?"left":"right",p=L("transform"),m=void 0,g=void 0;if(g="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+d.bottom:-l.height+d.bottom:d.top,m="right"===h?"HTML"===s.nodeName?-s.clientWidth+d.right:-l.width+d.right:d.left,a&&p)c[p]="translate3d("+m+"px, "+g+"px, 0)",c[f]=0,c[h]=0,c.willChange="transform";else{var v="bottom"===f?-1:1,y="right"===h?-1:1;c[f]=g*v,c[h]=m*y,c.willChange=f+", "+h}var w={"x-placement":e.placement};return e.attributes=we({},w,e.attributes),e.styles=we({},c,e.styles),e.arrowStyles=we({},e.offsets.arrow,e.arrowStyles),e}function X(e,t,n){var r=I(e,function(e){return e.name===t}),i=!!r&&e.some(function(e){return e.name===n&&e.enabled&&e.order<r.order});if(!i){var o="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}function Q(e,t){var n;if(!X(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"===typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],a=e.offsets,s=a.popper,l=a.reference,u=-1!==["left","right"].indexOf(i),c=u?"height":"width",d=u?"Top":"Left",f=d.toLowerCase(),h=u?"left":"top",p=u?"bottom":"right",m=O(r)[c];l[p]-m<s[f]&&(e.offsets.popper[f]-=s[f]-(l[p]-m)),l[f]+m>s[p]&&(e.offsets.popper[f]+=l[f]+m-s[p]),e.offsets.popper=y(e.offsets.popper);var g=l[f]+l[c]/2-m/2,v=o(e.instance.popper),b=parseFloat(v["margin"+d],10),w=parseFloat(v["border"+d+"Width"],10),E=g-e.offsets.popper[f]-b-w;return E=Math.max(Math.min(s[c]-m,E),0),e.arrowElement=r,e.offsets.arrow=(n={},be(n,f,Math.round(E)),be(n,h,""),n),e}function $(e){return"end"===e?"start":"start"===e?"end":e}function J(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Te.indexOf(e),r=Te.slice(n+1).concat(Te.slice(0,n));return t?r.reverse():r}function ee(e,t){if(D(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=x(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=A(r),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case _e.FLIP:a=[r,i];break;case _e.CLOCKWISE:a=J(r);break;case _e.COUNTERCLOCKWISE:a=J(r,!0);break;default:a=t.behavior}return a.forEach(function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],i=A(r);var u=e.offsets.popper,c=e.offsets.reference,d=Math.floor,f="left"===r&&d(u.right)>d(c.left)||"right"===r&&d(u.left)<d(c.right)||"top"===r&&d(u.bottom)>d(c.top)||"bottom"===r&&d(u.top)<d(c.bottom),h=d(u.left)<d(n.left),p=d(u.right)>d(n.right),m=d(u.top)<d(n.top),g=d(u.bottom)>d(n.bottom),v="left"===r&&h||"right"===r&&p||"top"===r&&m||"bottom"===r&&g,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===o&&h||y&&"end"===o&&p||!y&&"start"===o&&m||!y&&"end"===o&&g);(f||v||b)&&(e.flipped=!0,(f||v)&&(r=a[l+1]),b&&(o=$(o)),e.placement=r+(o?"-"+o:""),e.offsets.popper=we({},e.offsets.popper,P(e.instance.popper,e.offsets.reference,e.placement)),e=N(e.instance.modifiers,e,"flip"))}),e}function te(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]<o(r[l])&&(e.offsets.popper[l]=o(r[l])-n[u]),n[l]>o(r[s])&&(e.offsets.popper[l]=o(r[s])),e}function ne(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return y(s)[t]/100*o}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}return o}function re(e,t,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(I(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return u=u.map(function(e,r){var i=(1===r?!o:o)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return ne(e,i,t,n)})}),u.forEach(function(e,t){e.forEach(function(n,r){G(n)&&(i[t]+=n*("-"===e[r-1]?-1:1))})}),i}function ie(e,t){var n=t.offset,r=e.placement,i=e.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],l=void 0;return l=G(+n)?[+n,0]:re(n,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),e.popper=o,e}function oe(e,t){var n=t.boundariesElement||u(e.instance.popper);e.instance.reference===n&&(n=u(n));var r=L("transform"),i=e.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var l=x(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=o,i.left=a,i[r]=s,t.boundaries=l;var c=t.priority,d=e.offsets.popper,f={primary:function(e){var n=d[e];return d[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(d[e],l[e])),be({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=d[n];return d[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(d[n],l[e]-("right"===e?d.width:d.height))),be({},n,r)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";d=we({},d,f[t](e))}),e.offsets.popper=d,e}function ae(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",c={start:be({},l,o[l]),end:be({},l,o[l]+o[u]-a[u])};e.offsets.popper=we({},a,c[r])}return e}function se(e){if(!X(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=I(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}function le(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),e.placement=A(t),e.offsets.popper=y(i),e}for(var ue="undefined"!==typeof window&&"undefined"!==typeof document,ce=["Edge","Trident","Firefox"],de=0,fe=0;fe<ce.length;fe+=1)if(ue&&navigator.userAgent.indexOf(ce[fe])>=0){de=1;break}var he=ue&&window.Promise,pe=he?n:r,me=ue&&!(!window.MSInputMethodContext||!document.documentMode),ge=ue&&/MSIE 10/.test(navigator.userAgent),ve=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},ye=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),be=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},we=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ee=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Te=Ee.slice(3),_e={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},xe={shift:{order:100,enabled:!0,fn:ae},offset:{order:200,enabled:!0,fn:ie,offset:0},preventOverflow:{order:300,enabled:!0,fn:oe,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:te},arrow:{order:500,enabled:!0,fn:Q,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:ee,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:le},hide:{order:800,enabled:!0,fn:se},computeStyle:{order:850,enabled:!0,fn:Z,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:K,onLoad:Y,gpuAcceleration:void 0}},ke={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:xe},Se=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ve(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=pe(this.update.bind(this)),this.options=we({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(we({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){r.options.modifiers[t]=we({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return we({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&i(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return ye(e,[{key:"update",value:function(){return M.call(this)}},{key:"destroy",value:function(){return j.call(this)}},{key:"enableEventListeners",value:function(){return z.call(this)}},{key:"disableEventListeners",value:function(){return H.call(this)}}]),e}();Se.Utils=("undefined"!==typeof window?window:e).PopperUtils,Se.placements=Ee,Se.Defaults=ke,t.default=Se}.call(t,n(18))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(540))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.color,r=(0,a.default)(e,["classes","color"]);return s.default.createElement(u.default,(0,o.default)({type:"radio",icon:m,checkedIcon:g,classes:{root:(0,l.default)(t.root,t["color".concat((0,f.capitalize)(n))]),checked:t.checked,disabled:t.disabled}},r))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(129)),c=i(n(541)),d=i(n(542)),f=n(14),h=i(n(5)),p=function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:e.palette.primary.main},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.action.disabled}}}};t.styles=p;var m=s.default.createElement(c.default,null),g=s.default.createElement(d.default,null);r.propTypes={},r.defaultProps={color:"secondary"};var v=(0,h.default)(p,{name:"MuiRadio"})(r);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(544))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(13)),r(n(201))),h=n(14),p=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.radios=[],n.focus=function(){if(n.radios&&n.radios.length){var e=n.radios.filter(function(e){return!e.disabled});if(e.length){var t=(0,h.find)(e,function(e){return e.checked});if(t)return void t.focus();e[0].focus()}}},n.handleRadioChange=function(e,t){t&&n.props.onChange&&n.props.onChange(e,e.target.value)},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.name,a=t.value,s=(t.onChange,(0,o.default)(t,["children","name","value","onChange"]));return this.radios=[],d.default.createElement(f.default,(0,i.default)({role:"radiogroup"},s),d.default.Children.map(n,function(t){return d.default.isValidElement(t)?d.default.cloneElement(t,{name:r,inputRef:function(t){t&&e.radios.push(t)},checked:a===t.props.value,onChange:(0,h.createChainedFunction)(t.props.onChange,e.handleRadioChange)}):null}))}}]),t}(d.default.Component);p.propTypes={};var m=p;t.default=m},function(e,t,n){"use strict";function r(e){var t=e.autoWidth,n=e.children,i=e.classes,u=e.displayEmpty,d=e.IconComponent,f=e.input,h=e.inputProps,m=e.MenuProps,g=e.multiple,v=e.native,y=e.onClose,b=e.onOpen,w=e.open,E=e.renderValue,T=e.SelectDisplayProps,_=(0,a.default)(e,["autoWidth","children","classes","displayEmpty","IconComponent","input","inputProps","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps"]),x=v?p.default:l.default;return s.default.cloneElement(f,(0,o.default)({inputComponent:x,inputProps:(0,o.default)({children:n,IconComponent:d,type:void 0},v?{}:{autoWidth:t,displayEmpty:u,MenuProps:m,multiple:g,onClose:y,onOpen:b,open:w,renderValue:E,SelectDisplayProps:T},h,{classes:h?(0,c.default)({baseClasses:i,newClasses:h.classes,Component:r}):i},f?f.props.inputProps:{})},_))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(546))),u=i(n(5)),c=i(n(166)),d=i(n(209)),f=i(n(66)),h=n(207),p=i(n(208)),m=h.styles;t.styles=m,r.propTypes={},r.defaultProps={autoWidth:!1,displayEmpty:!1,IconComponent:d.default,input:s.default.createElement(f.default,null),multiple:!1,native:!1},r.muiName="Select";var g=(0,u.default)(h.styles,{name:"MuiSelect"})(r);t.default=g},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(82)),l=r(n(8)),u=r(n(9)),c=r(n(10)),d=r(n(11)),f=r(n(12)),h=r(n(1)),p=(r(n(2)),r(n(6))),m=r(n(55)),g=(r(n(13)),r(n(184))),v=n(132),y=function(e){function t(){var e,n;(0,l.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,c.default)(this,(e=(0,d.default)(t)).call.apply(e,[this].concat(i))),n.ignoreNextBlur=!1,n.displayRef=null,n.isOpenControlled=void 0!==n.props.open,n.state={menuMinWidth:null,open:!1},n.update=function(e){var t=e.event,r=e.open;if(n.isOpenControlled)return void(r?n.props.onOpen(t):n.props.onClose(t));n.setState({menuMinWidth:n.props.autoWidth?null:n.displayRef.clientWidth,open:r})},n.handleClick=function(e){n.ignoreNextBlur=!0,n.update({open:!0,event:e})},n.handleClose=function(e){n.update({open:!1,event:e})},n.handleItemClick=function(e){return function(t){n.props.multiple||n.update({open:!1,event:t});var r=n.props,i=r.onChange,o=r.name;if(i){var a;if(n.props.multiple){a=Array.isArray(n.props.value)?(0,s.default)(n.props.value):[];var l=a.indexOf(e.props.value);-1===l?a.push(e.props.value):a.splice(l,1)}else a=e.props.value;t.persist(),t.target={value:a,name:o},i(t,e)}}},n.handleBlur=function(e){if(!0===n.ignoreNextBlur)return e.stopPropagation(),void(n.ignoreNextBlur=!1);if(n.props.onBlur){var t=n.props,r=t.value,i=t.name;e.persist(),e.target={value:r,name:i},n.props.onBlur(e)}},n.handleKeyDown=function(e){n.props.readOnly||-1!==["space","up","down"].indexOf((0,m.default)(e))&&(e.preventDefault(),n.ignoreNextBlur=!0,n.update({open:!0,event:e}))},n.handleDisplayRef=function(e){n.displayRef=e},n.handleInputRef=function(e){var t=n.props.inputRef;if(t){var r={node:e,value:n.props.value};"function"===typeof t?t(r):t.current=r}},n}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){this.isOpenControlled&&this.props.open&&(this.displayRef.focus(),this.forceUpdate()),this.props.autoFocus&&this.displayRef.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.autoWidth,r=t.children,s=t.classes,l=t.className,u=t.disabled,c=t.displayEmpty,d=t.IconComponent,f=(t.inputRef,t.MenuProps),m=void 0===f?{}:f,y=t.multiple,b=t.name,w=(t.onBlur,t.onChange,t.onClose,t.onFocus),E=(t.onOpen,t.open),T=t.readOnly,_=t.renderValue,x=(t.required,t.SelectDisplayProps),k=t.tabIndex,S=t.type,C=void 0===S?"hidden":S,O=t.value,A=(0,a.default)(t,["autoWidth","children","classes","className","disabled","displayEmpty","IconComponent","inputRef","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","required","SelectDisplayProps","tabIndex","type","value"]),P=this.isOpenControlled&&this.displayRef?E:this.state.open;delete A["aria-invalid"];var I,R="",N=[],M=!1;((0,v.isFilled)(this.props)||c)&&(_?I=_(O):M=!0);var D=h.default.Children.map(r,function(t){if(!h.default.isValidElement(t))return null;var n;if(y){if(!Array.isArray(O))throw new Error("Material-UI: the `value` property must be an array when using the `Select` component with `multiple`.");n=-1!==O.indexOf(t.props.value),n&&M&&N.push(t.props.children)}else(n=O===t.props.value)&&M&&(R=t.props.children);return h.default.cloneElement(t,{onClick:e.handleItemClick(t),role:"option",selected:n,value:void 0,"data-value":t.props.value})});M&&(I=y?N.join(", "):R);var L=this.state.menuMinWidth;!n&&this.isOpenControlled&&this.displayRef&&(L=this.displayRef.clientWidth);var j;return j="undefined"!==typeof k?k:u?null:0,h.default.createElement("div",{className:s.root},h.default.createElement("div",(0,i.default)({className:(0,p.default)(s.select,s.selectMenu,(0,o.default)({},s.disabled,u),l),ref:this.handleDisplayRef,"aria-pressed":P?"true":"false",tabIndex:j,role:"button","aria-owns":P?"menu-".concat(b||""):null,"aria-haspopup":"true",onKeyDown:this.handleKeyDown,onBlur:this.handleBlur,onClick:u||T?null:this.handleClick,onFocus:w},x),I||h.default.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})),h.default.createElement("input",(0,i.default)({value:Array.isArray(O)?O.join(","):O,name:b,ref:this.handleInputRef,type:C},A)),h.default.createElement(d,{className:s.icon}),h.default.createElement(g.default,(0,i.default)({id:"menu-".concat(b||""),anchorEl:this.displayRef,open:P,onClose:this.handleClose},m,{MenuListProps:(0,i.default)({role:"listbox"},m.MenuListProps),PaperProps:(0,i.default)({},m.PaperProps,{style:(0,i.default)({minWidth:L},null!=m.PaperProps?m.PaperProps.style:null)})}),D))}}]),t}(h.default.Component);y.propTypes={};var b=y;t.default=b},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(548))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(4)),o=r(n(8)),a=r(n(9)),s=r(n(10)),l=r(n(11)),u=r(n(12)),c=r(n(7)),d=r(n(3)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(31)),m=r(n(5)),g=n(28),v=r(n(196)),y=n(14),b=r(n(131)),w=r(n(212)),E=function(e){var t={top:0},n={bottom:0},r={justifyContent:"flex-end"},i={justifyContent:"flex-start"},o={top:24},a={bottom:24},s={right:24},l={left:24},u={left:"50%",right:"auto",transform:"translateX(-50%)"};return{root:{zIndex:e.zIndex.snackbar,position:"fixed",display:"flex",left:0,right:0,justifyContent:"center",alignItems:"center"},anchorOriginTopCenter:(0,d.default)({},t,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({},u))),anchorOriginBottomCenter:(0,d.default)({},n,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({},u))),anchorOriginTopRight:(0,d.default)({},t,r,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({left:"auto"},o,s))),anchorOriginBottomRight:(0,d.default)({},n,r,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({left:"auto"},a,s))),anchorOriginTopLeft:(0,d.default)({},t,i,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({right:"auto"},o,l))),anchorOriginBottomLeft:(0,d.default)({},n,i,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({right:"auto"},a,l)))}};t.styles=E;var T=function(e){function t(){var e,n;(0,o.default)(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=(0,s.default)(this,(e=(0,l.default)(t)).call.apply(e,[this].concat(i))),n.timerAutoHide=null,n.state={},n.handleMouseEnter=function(e){n.props.onMouseEnter&&n.props.onMouseEnter(e),n.handlePause()},n.handleMouseLeave=function(e){n.props.onMouseLeave&&n.props.onMouseLeave(e),n.handleResume()},n.handleClickAway=function(e){n.props.onClose&&n.props.onClose(e,"clickaway")},n.handlePause=function(){clearTimeout(n.timerAutoHide)},n.handleResume=function(){if(null!=n.props.autoHideDuration){if(null!=n.props.resumeHideDuration)return void n.setAutoHideTimer(n.props.resumeHideDuration);n.setAutoHideTimer(.5*n.props.autoHideDuration)}},n.handleExited=function(){n.setState({exited:!0})},n}return(0,u.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){this.props.open&&this.setAutoHideTimer()}},{key:"componentDidUpdate",value:function(e){e.open!==this.props.open&&(this.props.open?this.setAutoHideTimer():clearTimeout(this.timerAutoHide))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timerAutoHide)}},{key:"setAutoHideTimer",value:function(e){var t=this,n=null!=e?e:this.props.autoHideDuration;this.props.onClose&&null!=n&&(clearTimeout(this.timerAutoHide),this.timerAutoHide=setTimeout(function(){var n=null!=e?e:t.props.autoHideDuration;t.props.onClose&&null!=n&&t.props.onClose(null,"timeout")},n))}},{key:"render",value:function(){var e=this.props,t=e.action,n=e.anchorOrigin,r=n.vertical,o=n.horizontal,a=(e.autoHideDuration,e.children),s=e.classes,l=e.className,u=e.ContentProps,c=e.disableWindowBlurListener,m=e.message,g=(e.onClose,e.onEnter),b=e.onEntered,E=e.onEntering,T=e.onExit,_=e.onExited,x=e.onExiting,k=(e.onMouseEnter,e.onMouseLeave,e.open),S=(e.resumeHideDuration,e.TransitionComponent),C=e.transitionDuration,O=e.TransitionProps,A=(0,i.default)(e,["action","anchorOrigin","autoHideDuration","children","classes","className","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]);return!k&&this.state.exited?null:f.default.createElement(v.default,{onClickAway:this.handleClickAway},f.default.createElement("div",(0,d.default)({className:(0,h.default)(s.root,s["anchorOrigin".concat((0,y.capitalize)(r)).concat((0,y.capitalize)(o))],l),onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},A),f.default.createElement(p.default,{target:"window",onFocus:c?void 0:this.handleResume,onBlur:c?void 0:this.handlePause}),f.default.createElement(S,(0,d.default)({appear:!0,in:k,onEnter:g,onEntered:b,onEntering:E,onExit:T,onExited:(0,y.createChainedFunction)(this.handleExited,_),onExiting:x,timeout:C,direction:"top"===r?"down":"up"},O),a||f.default.createElement(w.default,(0,d.default)({message:m,action:t},u)))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return"undefined"===typeof t.exited?{exited:!e.open}:e.open?{exited:!1}:null}}]),t}(f.default.Component);T.propTypes={},T.defaultProps={anchorOrigin:{vertical:"bottom",horizontal:"center"},disableWindowBlurListener:!1,TransitionComponent:b.default,transitionDuration:{enter:g.duration.enteringScreen,exit:g.duration.leavingScreen}};var _=(0,m.default)(E,{flip:!1,name:"MuiSnackbar"})(T);t.default=_},function(e,t,n){"use strict";function r(e){var t=e.action,n=e.classes,r=e.className,i=e.message,s=(0,a.default)(e,["action","classes","className","message"]);return l.default.createElement(d.default,(0,o.default)({component:f.default,headlineMapping:{body1:"div"},role:"alertdialog",square:!0,elevation:6,className:(0,u.default)(n.root,r)},s),l.default.createElement("div",{className:n.message},i),t?l.default.createElement("div",{className:n.action},t):null)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(7)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(25)),f=i(n(19)),h=n(33),p=function(e){var t,n="light"===e.palette.type?.8:.98,r=(0,h.emphasize)(e.palette.background.default,n);return{root:(t={color:e.palette.getContrastText(r),backgroundColor:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 24px"},(0,s.default)(t,e.breakpoints.up("md"),{minWidth:288,maxWidth:568,borderRadius:e.shape.borderRadius}),(0,s.default)(t,e.breakpoints.down("sm"),{flexGrow:1}),t),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:24,marginRight:-8}}};t.styles=p,r.propTypes={};var m=(0,c.default)(p,{name:"MuiSnackbarContent"})(r);t.default=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(551))},function(e,t,n){"use strict";function r(e){var t,n=e.active,r=e.alternativeLabel,i=e.children,c=e.classes,d=e.className,f=e.completed,h=e.connector,p=e.disabled,m=e.index,g=e.last,v=e.orientation,y=(0,s.default)(e,["active","alternativeLabel","children","classes","className","completed","connector","disabled","index","last","orientation"]),b=(0,u.default)(c.root,c[v],(t={},(0,a.default)(t,c.alternativeLabel,r),(0,a.default)(t,c.completed,f),t),d);return l.default.createElement("div",(0,o.default)({className:b},y),l.default.Children.map(i,function(e){return l.default.isValidElement(e)?l.default.cloneElement(e,(0,o.default)({active:n,alternativeLabel:r,completed:f,disabled:p,icon:m+1,last:g,orientation:v},e.props)):null}),h&&r&&!g&&l.default.cloneElement(h,{orientation:v,alternativeLabel:r}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=(i(n(13)),i(n(5))),d={root:{},horizontal:{paddingLeft:8,paddingRight:8,"&:first-child":{paddingLeft:0},"&:last-child":{paddingRight:0}},vertical:{},alternativeLabel:{flex:1,position:"relative"},completed:{}};t.styles=d,r.propTypes={},r.defaultProps={active:!1,completed:!1,disabled:!1};var f=(0,c.default)(d,{name:"MuiStep"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(553))},function(e,t,n){"use strict";function r(e){var t=e.active,n=e.alternativeLabel,r=e.children,i=e.classes,u=e.className,h=e.completed,p=e.disabled,m=e.icon,g=(e.last,e.optional),v=e.orientation,y=(0,a.default)(e,["active","alternativeLabel","children","classes","className","completed","disabled","icon","last","optional","orientation"]),b={active:t,alternativeLabel:n,completed:h,disabled:p,icon:m,optional:g,orientation:v},w=(0,f.isMuiElement)(r,["StepLabel"])?s.default.cloneElement(r,b):s.default.createElement(d.default,b,r);return s.default.createElement(c.default,(0,o.default)({disabled:p,TouchRippleProps:{className:i.touchRipple},className:(0,l.default)(i.root,i[v],u)},y),w)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=i(n(26)),d=i(n(213)),f=n(39),h={root:{width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},horizontal:{},vertical:{justifyContent:"flex-start"},touchRipple:{color:"rgba(0, 0, 0, 0.3)"}};t.styles=h,r.propTypes={};var p=(0,u.default)(h,{name:"MuiStepButton"})(r);t.default=p},function(e,t,n){"use strict";function r(e){var t,n,r=e.active,i=e.alternativeLabel,c=e.children,h=e.classes,p=e.className,m=e.completed,g=e.disabled,v=e.error,y=e.icon,b=(e.last,e.optional),w=e.orientation,E=e.StepIconProps,T=(0,s.default)(e,["active","alternativeLabel","children","classes","className","completed","disabled","error","icon","last","optional","orientation","StepIconProps"]);return l.default.createElement("span",(0,o.default)({className:(0,u.default)(h.root,h[w],(t={},(0,a.default)(t,h.disabled,g),(0,a.default)(t,h.alternativeLabel,i),(0,a.default)(t,h.error,v),t),p)},T),y&&l.default.createElement("span",{className:(0,u.default)(h.iconContainer,(0,a.default)({},h.alternativeLabel,i))},l.default.createElement(f.default,(0,o.default)({completed:m,active:r,error:v,icon:y},E))),l.default.createElement("span",{className:h.labelContainer},l.default.createElement(d.default,{variant:"body1",component:"span",className:(0,u.default)(h.label,(n={},(0,a.default)(n,h.alternativeLabel,i),(0,a.default)(n,h.completed,m),(0,a.default)(n,h.active,r),(0,a.default)(n,h.error,v),n))},c),b))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(19)),f=i(n(214)),h=function(e){return{root:{display:"flex",alignItems:"center","&$alternativeLabel":{flexDirection:"column"},"&$disabled":{cursor:"default"}},horizontal:{},vertical:{},label:{color:e.palette.text.secondary,"&$active":{color:e.palette.text.primary,fontWeight:500},"&$completed":{color:e.palette.text.primary,fontWeight:500},"&$alternativeLabel":{textAlign:"center",marginTop:16},"&$error":{color:e.palette.error.main}},active:{},completed:{},error:{},disabled:{},iconContainer:{paddingRight:8,"&$alternativeLabel":{paddingRight:0}},alternativeLabel:{},labelContainer:{width:"100%"}}};t.styles=h,r.propTypes={},r.defaultProps={active:!1,alternativeLabel:!1,completed:!1,disabled:!1,error:!1,last:!1,orientation:"horizontal"},r.muiName="StepLabel";var p=(0,c.default)(h,{name:"MuiStepLabel"})(r);t.default=p},function(e,t,n){"use strict";function r(e){var t=e.completed,n=e.icon,r=e.active,i=e.error,c=e.classes;return"number"===typeof n||"string"===typeof n?i?a.default.createElement(u.default,{className:(0,s.default)(c.root,c.error)}):t?a.default.createElement(l.default,{className:(0,s.default)(c.root,c.completed)}):a.default.createElement(d.default,{className:(0,s.default)(c.root,(0,o.default)({},c.active,r))},h,a.default.createElement("text",{className:c.text,x:"12",y:"16",textAnchor:"middle"},n)):n}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(1)),s=(i(n(2)),i(n(6))),l=i(n(556)),u=i(n(557)),c=i(n(5)),d=i(n(16)),f=function(e){return{root:{display:"block",color:e.palette.text.disabled,"&$active":{color:e.palette.primary.main},"&$completed":{color:e.palette.primary.main},"&$error":{color:e.palette.error.main}},text:{fill:e.palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily},active:{},completed:{},error:{}}};t.styles=f;var h=a.default.createElement("circle",{cx:"12",cy:"12",r:"12"});r.propTypes={},r.defaultProps={active:!1,completed:!1,error:!1};var p=(0,c.default)(f,{name:"MuiStepIcon"})(r);t.default=p},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";function r(e){var t,n=e.alternativeLabel,r=e.className,i=e.classes,c=e.orientation,d=(0,s.default)(e,["alternativeLabel","className","classes","orientation"]),f=(0,u.default)(i.root,i[c],(0,a.default)({},i.alternativeLabel,n),r),h=(0,u.default)(i.line,(t={},(0,a.default)(t,i.lineHorizontal,"horizontal"===c),(0,a.default)(t,i.lineVertical,"vertical"===c),t));return l.default.createElement("div",(0,o.default)({className:f},d),l.default.createElement("span",{className:h}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=function(e){return{root:{flex:"1 1 auto"},horizontal:{},vertical:{marginLeft:12,padding:"0 0 8px"},alternativeLabel:{position:"absolute",top:12,left:"calc(50% + 20px)",right:"calc(-50% + 20px)"},line:{display:"block",borderColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},lineHorizontal:{borderTopStyle:"solid",borderTopWidth:1},lineVertical:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}};t.styles=d,r.propTypes={},r.defaultProps={alternativeLabel:!1,orientation:"horizontal"};var f=(0,c.default)(d,{name:"MuiStepConnector"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(560))},function(e,t,n){"use strict";function r(e){var t=e.active,n=(e.alternativeLabel,e.children),r=e.classes,i=e.className,c=(e.completed,e.last),d=(e.optional,e.orientation,e.TransitionComponent),f=e.transitionDuration,h=e.TransitionProps,p=(0,s.default)(e,["active","alternativeLabel","children","classes","className","completed","last","optional","orientation","TransitionComponent","transitionDuration","TransitionProps"]),m=f;return"auto"!==f||d.muiSupportAuto||(m=void 0),l.default.createElement("div",(0,o.default)({className:(0,u.default)(r.root,(0,a.default)({},r.last,c),i)},p),l.default.createElement(d,(0,o.default)({in:t,className:r.transition,timeout:m,unmountOnExit:!0},h),n))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(13)),i(n(6))),c=i(n(85)),d=i(n(5)),f=function(e){return{root:{marginTop:8,marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:"1px solid ".concat("light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600])},last:{borderLeft:"none"},transition:{}}};t.styles=f,r.propTypes={},r.defaultProps={TransitionComponent:c.default,transitionDuration:"auto"};var h=(0,d.default)(f,{name:"MuiStepContent"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(562))},function(e,t,n){"use strict";function r(e){var t=e.activeStep,n=e.alternativeLabel,r=e.children,i=e.classes,c=e.className,f=e.connector,h=e.nonLinear,p=e.orientation,m=(0,s.default)(e,["activeStep","alternativeLabel","children","classes","className","connector","nonLinear","orientation"]),g=(0,u.default)(i.root,i[p],(0,a.default)({},i.alternativeLabel,n),c),v=l.default.isValidElement(f)?l.default.cloneElement(f,{orientation:p}):null,y=l.default.Children.toArray(r),b=y.map(function(e,r){var i={index:r,orientation:p,active:!1,completed:!1,disabled:!1,last:r+1===y.length,alternativeLabel:n,connector:f};return t===r?i.active=!0:!h&&t>r?i.completed=!0:!h&&t<r&&(i.disabled=!0),[!n&&v&&r>0&&l.default.cloneElement(v,{key:r}),l.default.cloneElement(e,(0,o.default)({},i,e.props))]});return l.default.createElement(d.default,(0,o.default)({square:!0,elevation:0,className:g},m),b)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(25)),f=i(n(215)),h={root:{display:"flex",padding:24},horizontal:{flexDirection:"row",alignItems:"center"},vertical:{flexDirection:"column"},alternativeLabel:{alignItems:"flex-start"}};t.styles=h,r.propTypes={},r.defaultProps={activeStep:0,alternativeLabel:!1,connector:l.default.createElement(f.default,null),nonLinear:!1,orientation:"horizontal"},r.muiName="Stepper";var p=(0,c.default)(h,{name:"MuiStepper"})(r);t.default=p},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(564))},function(e,t,n){"use strict";function r(){_=null}var i=n(46),o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.reset=r,t.default=void 0;var a=o(n(3)),s=o(n(4)),l=o(n(8)),u=o(n(9)),c=o(n(10)),d=o(n(11)),f=o(n(12)),h=o(n(47)),p=o(n(1)),m=(o(n(2)),o(n(15))),g=i(n(130)),v=n(28),y=o(n(29)),b=n(56),w=o(n(210)),E=o(n(565)),T=3,_=null,x=function(e){function t(){var e,n;(0,l.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,c.default)(this,(e=(0,d.default)(t)).call.apply(e,[this].concat(i))),n.backdrop=null,n.paper=null,n.isSwiping=null,n.startX=null,n.startY=null,n.state={},n.handleBodyTouchStart=function(e){if(null===_||_===(0,h.default)((0,h.default)(n))){var t=n.props,r=t.disableDiscovery,i=t.disableSwipeToOpen,o=t.open,a=t.swipeAreaWidth,s=(0,g.getAnchor)(n.props),l="right"===s?document.body.offsetWidth-e.touches[0].pageX:e.touches[0].pageX,u="bottom"===s?window.innerHeight-e.touches[0].clientY:e.touches[0].clientY;if(!o){if(i)return;if((0,g.isHorizontal)(n.props)){if(l>a)return}else if(u>a)return}_=(0,h.default)((0,h.default)(n)),n.startX=l,n.startY=u,n.setState({maybeSwiping:!0}),!o&&n.paper&&n.setPosition(n.getMaxTranslate()+(r?20:-a),{changeTransition:!1}),document.body.addEventListener("touchmove",n.handleBodyTouchMove,{passive:!1}),document.body.addEventListener("touchend",n.handleBodyTouchEnd),document.body.addEventListener("touchcancel",n.handleBodyTouchEnd)}},n.handleBodyTouchMove=function(e){if(n.paper){var t=(0,g.getAnchor)(n.props),r=(0,g.isHorizontal)(n.props),i="right"===t?document.body.offsetWidth-e.touches[0].pageX:e.touches[0].pageX,o="bottom"===t?window.innerHeight-e.touches[0].clientY:e.touches[0].clientY;if(null==n.isSwiping){var a=Math.abs(i-n.startX),s=Math.abs(o-n.startY);a>s&&e.preventDefault();var l=r?a>s&&a>T:s>a&&s>T;if(!0===l||(r?s>T:a>T)){if(n.isSwiping=l,!l)return void n.handleBodyTouchEnd(e);n.startX=i,n.startY=o,n.props.disableDiscovery||n.props.open||(r?n.startX-=n.props.swipeAreaWidth:n.startY-=n.props.swipeAreaWidth)}}n.isSwiping&&(e.preventDefault(),n.setPosition(n.getTranslate(r?i:o)))}},n.handleBodyTouchEnd=function(e){if(_=null,n.removeBodyTouchListeners(),n.setState({maybeSwiping:!1}),!n.isSwiping)return void(n.isSwiping=null);var t,r=(0,g.getAnchor)(n.props);t=(0,g.isHorizontal)(n.props)?"right"===r?document.body.offsetWidth-e.changedTouches[0].pageX:e.changedTouches[0].pageX:"bottom"===r?window.innerHeight-e.changedTouches[0].clientY:e.changedTouches[0].clientY,n.getTranslate(t)/n.getMaxTranslate()>.5?n.isSwiping&&!n.props.open?n.setPosition(n.getMaxTranslate(),{mode:"enter"}):n.props.onClose():n.isSwiping&&!n.props.open?n.props.onOpen():n.setPosition(0,{mode:"exit"}),n.isSwiping=null},n.handleBackdropRef=function(e){n.backdrop=e?m.default.findDOMNode(e):null},n.handlePaperRef=function(e){n.paper=e?m.default.findDOMNode(e):null},n}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){"temporary"===this.props.variant&&this.listenTouchStart()}},{key:"componentDidUpdate",value:function(e){var t=this.props.variant,n=e.variant;t!==n&&("temporary"===t?this.listenTouchStart():"temporary"===n&&this.removeTouchStart())}},{key:"componentWillUnmount",value:function(){this.removeTouchStart(),this.removeBodyTouchListeners(),_===this&&(_=null)}},{key:"getMaxTranslate",value:function(){return(0,g.isHorizontal)(this.props)?this.paper.clientWidth:this.paper.clientHeight}},{key:"getTranslate",value:function(e){var t=(0,g.isHorizontal)(this.props)?this.startX:this.startY;return Math.min(Math.max(this.props.open?t-e:this.getMaxTranslate()+t-e,0),this.getMaxTranslate())}},{key:"setPosition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.mode,r=void 0===n?null:n,i=t.changeTransition,o=void 0===i||i,a=(0,g.getAnchor)(this.props),s=-1!==["right","bottom"].indexOf(a)?1:-1,l=(0,g.isHorizontal)(this.props)?"translate(".concat(s*e,"px, 0)"):"translate(0, ".concat(s*e,"px)"),u=this.paper.style;u.webkitTransform=l,u.transform=l;var c="";if(r&&(c=this.props.theme.transitions.create("all",(0,b.getTransitionProps)({timeout:this.props.transitionDuration},{mode:r}))),o&&(u.webkitTransition=c,u.transition=c),!this.props.disableBackdropTransition){var d=this.backdrop.style;d.opacity=1-e/this.getMaxTranslate(),o&&(d.webkitTransition=c,d.transition=c)}}},{key:"listenTouchStart",value:function(){document.body.addEventListener("touchstart",this.handleBodyTouchStart)}},{key:"removeTouchStart",value:function(){document.body.removeEventListener("touchstart",this.handleBodyTouchStart)}},{key:"removeBodyTouchListeners",value:function(){document.body.removeEventListener("touchmove",this.handleBodyTouchMove,{passive:!1}),document.body.removeEventListener("touchend",this.handleBodyTouchEnd),document.body.removeEventListener("touchcancel",this.handleBodyTouchEnd)}},{key:"render",value:function(){var e=this.props,t=e.anchor,n=(e.disableBackdropTransition,e.disableDiscovery),r=e.disableSwipeToOpen,i=e.ModalProps;i=void 0===i?{}:i;var o=i.BackdropProps,l=(0,s.default)(i,["BackdropProps"]),u=(e.onOpen,e.open),c=e.PaperProps,d=void 0===c?{}:c,f=e.swipeAreaWidth,h=e.variant,m=(0,s.default)(e,["anchor","disableBackdropTransition","disableDiscovery","disableSwipeToOpen","ModalProps","onOpen","open","PaperProps","swipeAreaWidth","variant"]),v=this.state.maybeSwiping;return p.default.createElement(p.default.Fragment,null,p.default.createElement(g.default,(0,a.default)({open:!("temporary"!==h||!v)||u,variant:h,ModalProps:(0,a.default)({BackdropProps:(0,a.default)({},o,{ref:this.handleBackdropRef})},l),PaperProps:(0,a.default)({},d,{style:(0,a.default)({pointerEvents:"temporary"!==h||u?"":"none"},d.style),ref:this.handlePaperRef}),anchor:t},m)),!n&&!r&&"temporary"===h&&p.default.createElement(w.default,null,p.default.createElement(E.default,{anchor:t,width:f})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return"undefined"===typeof t.maybeSwiping?{maybeSwiping:!1,open:e.open}:!e.open&&t.open?{maybeSwiping:!1,open:e.open}:{open:e.open}}}]),t}(p.default.Component);x.propTypes={},x.defaultProps={anchor:"left",disableBackdropTransition:!1,disableDiscovery:!1,disableSwipeToOpen:"undefined"!==typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent),swipeAreaWidth:20,transitionDuration:{enter:v.duration.enteringScreen,exit:v.duration.leavingScreen},variant:"temporary"};var k=(0,y.default)()(x);t.default=k},function(e,t,n){"use strict";function r(e){var t=e.anchor,n=e.classes,r=e.width,i=(0,s.default)(e,["anchor","classes","width"]);return l.default.createElement("div",(0,o.default)({className:(0,u.default)(n.root,n["anchor".concat((0,d.capitalize)(t))]),style:(0,a.default)({},(0,f.isHorizontal)(e)?"width":"height",r)},i))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=n(130),h=function(e){return{root:{position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1},anchorLeft:{right:"auto"},anchorRight:{left:"auto",right:0},anchorTop:{bottom:"auto",right:0},anchorBottom:{top:"auto",bottom:0,right:0}}};t.styles=h,r.propTypes={};var p=(0,c.default)(h)(r);t.default=p},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(567))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.color,i=(0,a.default)(e,["classes","className","color"]);return s.default.createElement("span",{className:(0,l.default)(t.root,n)},s.default.createElement(d.default,(0,o.default)({type:"checkbox",icon:s.default.createElement("span",{className:t.icon}),classes:{root:(0,l.default)(t.switchBase,t["color".concat((0,c.capitalize)(r))]),checked:t.checked,disabled:t.disabled},checkedIcon:s.default.createElement("span",{className:(0,l.default)(t.icon,t.iconChecked)})},i)),s.default.createElement("span",{className:t.bar}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=n(14),d=i(n(129)),f=function(e){return{root:{display:"inline-flex",width:62,position:"relative",flexShrink:0,verticalAlign:"middle"},icon:{boxShadow:e.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"},iconChecked:{boxShadow:e.shadows[2]},switchBase:{zIndex:1,color:"light"===e.palette.type?e.palette.grey[50]:e.palette.grey[400],transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest})},checked:{transform:"translateX(14px)","& + $bar":{opacity:.5}},colorPrimary:{"&$checked":{color:e.palette.primary.main,"& + $bar":{backgroundColor:e.palette.primary.main}}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"& + $bar":{backgroundColor:e.palette.secondary.main}}},disabled:{"& + $bar":{opacity:"light"===e.palette.type?.12:.1},"& $icon":{boxShadow:e.shadows[1]},"&$switchBase":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800],"& + $bar":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}}},bar:{borderRadius:7,display:"block",position:"absolute",width:34,height:14,top:"50%",left:"50%",marginTop:-7,marginLeft:-17,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.type?.38:.3}}};t.styles=f,r.propTypes={},r.defaultProps={color:"secondary"};var h=(0,u.default)(f,{name:"MuiSwitch"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(569))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=r(n(2)),h=r(n(6)),p=r(n(5)),m=function(e){return{root:{display:"table",fontFamily:e.typography.fontFamily,width:"100%",borderCollapse:"collapse",borderSpacing:0}}};t.styles=m;var g=function(e){function t(){return(0,a.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"getChildContext",value:function(){return{table:{padding:this.props.padding}}}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.className,r=e.component,a=(e.padding,(0,o.default)(e,["classes","className","component","padding"]));return d.default.createElement(r,(0,i.default)({className:(0,h.default)(t.root,n)},a))}}]),t}(d.default.Component);g.propTypes={},g.defaultProps={component:"table",padding:"default"},g.childContextTypes={table:f.default.object};var v=(0,p.default)(m,{name:"MuiTable"})(g);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(571))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=r(n(2)),h=r(n(6)),p=r(n(5)),m={root:{display:"table-row-group"}};t.styles=m;var g=function(e){function t(){return(0,a.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"getChildContext",value:function(){return{tablelvl2:{variant:"body"}}}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.className,r=e.component,a=(0,o.default)(e,["classes","className","component"]);return d.default.createElement(r,(0,i.default)({className:(0,h.default)(t.root,n)},a))}}]),t}(d.default.Component);g.propTypes={},g.defaultProps={component:"tbody"},g.childContextTypes={tablelvl2:f.default.object};var v=(0,p.default)(m,{name:"MuiTableBody"})(g);t.default=v},function(e,t,n){"use strict";function r(e,t){var n,r,i=e.children,u=e.classes,d=e.className,h=e.component,p=e.sortDirection,m=e.numeric,g=e.padding,v=e.scope,y=e.variant,b=(0,s.default)(e,["children","classes","className","component","sortDirection","numeric","padding","scope","variant"]),w=t.table,E=t.tablelvl2;r=h||(E&&"head"===E.variant?"th":"td");var T=v;!T&&E&&"head"===E.variant&&(T="col");var _=g||(w&&w.padding?w.padding:"default"),x=(0,c.default)(u.root,(n={},(0,a.default)(n,u.head,y?"head"===y:E&&"head"===E.variant),(0,a.default)(n,u.body,y?"body"===y:E&&"body"===E.variant),(0,a.default)(n,u.footer,y?"footer"===y:E&&"footer"===E.variant),(0,a.default)(n,u.numeric,m),(0,a.default)(n,u["padding".concat((0,f.capitalize)(_))],"default"!==_),n),d),k=null;return p&&(k="asc"===p?"ascending":"descending"),l.default.createElement(r,(0,o.default)({className:x,"aria-sort":k,scope:T},b),i)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=n(14),h=n(33),p=function(e){return{root:{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n    ".concat("light"===e.palette.type?(0,h.lighten)((0,h.fade)(e.palette.divider,1),.88):(0,h.darken)((0,h.fade)(e.palette.divider,1),.8)),textAlign:"left",padding:"4px 56px 4px 24px","&:last-child":{paddingRight:24}},head:{color:e.palette.text.secondary,fontSize:e.typography.pxToRem(12),fontWeight:e.typography.fontWeightMedium},body:{color:e.palette.text.primary,fontSize:e.typography.pxToRem(13),fontWeight:e.typography.fontWeightRegular},footer:{borderBottom:0,color:e.palette.text.secondary,fontSize:e.typography.pxToRem(12)},numeric:{textAlign:"right",flexDirection:"row-reverse"},paddingDense:{paddingRight:24},paddingCheckbox:{padding:"0 12px","&:last-child":{paddingRight:12}},paddingNone:{padding:0,"&:last-child":{padding:0}}}};t.styles=p,r.propTypes={},r.defaultProps={numeric:!1},r.contextTypes={table:u.default.object,tablelvl2:u.default.object};var m=(0,d.default)(p,{name:"MuiTableCell"})(r);t.default=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(574))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=r(n(2)),h=r(n(6)),p=r(n(5)),m={root:{display:"table-footer-group"}};t.styles=m;var g=function(e){function t(){return(0,a.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"getChildContext",value:function(){return{tablelvl2:{variant:"footer"}}}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.className,r=e.component,a=(0,o.default)(e,["classes","className","component"]);return d.default.createElement(r,(0,i.default)({className:(0,h.default)(t.root,n)},a))}}]),t}(d.default.Component);g.propTypes={},g.defaultProps={component:"tfoot"},g.childContextTypes={tablelvl2:f.default.object};var v=(0,p.default)(m,{name:"MuiTableFooter"})(g);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(576))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=r(n(2)),h=r(n(6)),p=r(n(5)),m={root:{display:"table-header-group"}};t.styles=m;var g=function(e){function t(){return(0,a.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"getChildContext",value:function(){return{tablelvl2:{variant:"head"}}}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.className,r=e.component,a=(0,o.default)(e,["classes","className","component"]);return d.default.createElement(r,(0,i.default)({className:(0,h.default)(t.root,n)},a))}}]),t}(d.default.Component);g.propTypes={},g.defaultProps={component:"thead"},g.childContextTypes={tablelvl2:f.default.object};var v=(0,p.default)(m,{name:"MuiTableHead"})(g);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(578))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(5))),h=r(n(66)),p=r(n(126)),m=r(n(134)),g=r(n(216)),v=r(n(105)),y=r(n(19)),b=r(n(579)),w=function(e){return{root:{fontSize:e.typography.pxToRem(12),"&:last-child":{padding:0}},toolbar:{height:56,minHeight:56,paddingRight:2},spacer:{flex:"1 1 100%"},caption:{flexShrink:0},selectRoot:{marginRight:32,marginLeft:8,color:e.palette.text.secondary},select:{paddingLeft:8,paddingRight:16},selectIcon:{top:1},input:{fontSize:"inherit",flexShrink:0},menuItem:{},actions:{flexShrink:0,color:e.palette.text.secondary,marginLeft:20}}};t.styles=w;var E=function(e){function t(){return(0,a.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.count,n=e.onChangePage,r=e.page,i=e.rowsPerPage,o=Math.max(0,Math.ceil(t/i)-1);r>o&&n(null,o)}},{key:"render",value:function(){var e,t=this.props,n=t.ActionsComponent,r=t.backIconButtonProps,a=t.classes,s=t.colSpan,l=t.component,u=t.count,c=t.labelDisplayedRows,f=t.labelRowsPerPage,b=t.nextIconButtonProps,w=t.onChangePage,E=t.onChangeRowsPerPage,T=t.page,_=t.rowsPerPage,x=t.rowsPerPageOptions,k=t.SelectProps,S=(0,o.default)(t,["ActionsComponent","backIconButtonProps","classes","colSpan","component","count","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onChangePage","onChangeRowsPerPage","page","rowsPerPage","rowsPerPageOptions","SelectProps"]);return l!==g.default&&"td"!==l||(e=s||1e3),d.default.createElement(l,(0,i.default)({className:a.root,colSpan:e},S),d.default.createElement(v.default,{className:a.toolbar},d.default.createElement("div",{className:a.spacer}),x.length>1&&d.default.createElement(y.default,{variant:"caption",className:a.caption},f),x.length>1&&d.default.createElement(m.default,(0,i.default)({classes:{root:a.selectRoot,select:a.select,icon:a.selectIcon},input:d.default.createElement(h.default,{className:a.input,disableUnderline:!0}),value:_,onChange:E},k),x.map(function(e){return d.default.createElement(p.default,{className:a.menuItem,key:e,value:e},e)})),d.default.createElement(y.default,{variant:"caption",className:a.caption},c({from:0===u?0:T*_+1,to:Math.min(u,(T+1)*_),count:u,page:T})),d.default.createElement(n,{className:a.actions,backIconButtonProps:r,count:u,nextIconButtonProps:b,onChangePage:w,page:T,rowsPerPage:_})))}}]),t}(d.default.Component);E.propTypes={},E.defaultProps={ActionsComponent:b.default,component:g.default,labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," of ").concat(r)},labelRowsPerPage:"Rows per page:",rowsPerPageOptions:[5,10,25]};var T=(0,f.default)(w,{name:"MuiTablePagination"})(E);t.default=T},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(580))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(217))),h=r(n(218)),p=r(n(29)),m=r(n(84)),g=d.default.createElement(h.default,null),v=d.default.createElement(f.default,null),y=d.default.createElement(f.default,null),b=d.default.createElement(h.default,null),w=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.handleBackButtonClick=function(e){n.props.onChangePage(e,n.props.page-1)},n.handleNextButtonClick=function(e){n.props.onChangePage(e,n.props.page+1)},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e=this.props,t=e.backIconButtonProps,n=e.count,r=e.nextIconButtonProps,a=(e.onChangePage,e.page),s=e.rowsPerPage,l=e.theme,u=(0,o.default)(e,["backIconButtonProps","count","nextIconButtonProps","onChangePage","page","rowsPerPage","theme"]);return d.default.createElement("div",u,d.default.createElement(m.default,(0,i.default)({onClick:this.handleBackButtonClick,disabled:0===a},t),"rtl"===l.direction?g:v),d.default.createElement(m.default,(0,i.default)({onClick:this.handleNextButtonClick,disabled:a>=Math.ceil(n/s)-1},r),"rtl"===l.direction?y:b))}}]),t}(d.default.Component);w.propTypes={};var E=(0,p.default)()(w);t.default=E},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(582))},function(e,t,n){"use strict";function r(e,t){var n,r=e.classes,i=e.className,u=e.component,d=e.hover,f=e.selected,h=(0,s.default)(e,["classes","className","component","hover","selected"]),p=t.tablelvl2,m=(0,c.default)(r.root,(n={},(0,a.default)(n,r.head,p&&"head"===p.variant),(0,a.default)(n,r.footer,p&&"footer"===p.variant),(0,a.default)(n,r.hover,d),(0,a.default)(n,r.selected,f),n),i);return l.default.createElement(u,(0,o.default)({className:m},h))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=function(e){return{root:{color:"inherit",display:"table-row",height:48,verticalAlign:"middle",outline:"none","&$selected":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.04)":"rgba(255, 255, 255, 0.08)"},"&$hover:hover":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.07)":"rgba(255, 255, 255, 0.14)"}},selected:{},hover:{},head:{height:56},footer:{height:56}}};t.styles=f,r.propTypes={},r.defaultProps={component:"tr",hover:!1,selected:!1},r.contextTypes={tablelvl2:u.default.object};var h=(0,d.default)(f,{name:"MuiTableRow"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(584))},function(e,t,n){"use strict";function r(e){var t=e.active,n=e.classes,r=e.className,i=e.children,d=e.direction,p=(0,s.default)(e,["active","classes","className","children","direction"]);return l.default.createElement(f.default,(0,o.default)({className:(0,u.default)(n.root,(0,a.default)({},n.active,t),r),component:"span",disableRipple:!0},p),i,l.default.createElement(c.default,{className:(0,u.default)(n.icon,n["iconDirection".concat((0,h.capitalize)(d))])}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(585)),d=i(n(5)),f=i(n(26)),h=n(14),p=function(e){return{root:{cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:hover":{color:e.palette.text.primary},"&:focus":{color:e.palette.text.primary}},active:{color:e.palette.text.primary,"& $icon":{opacity:1}},icon:{height:16,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none",width:16},iconDirectionDesc:{transform:"rotate(0deg)"},iconDirectionAsc:{transform:"rotate(180deg)"}}};t.styles=p,r.propTypes={},r.defaultProps={active:!1,direction:"desc"};var m=(0,d.default)(p,{name:"MuiTableSortLabel"})(r);t.default=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(7)),f=r(n(1)),h=(r(n(2)),r(n(13)),r(n(6))),p=r(n(31)),m=r(n(38)),g=n(587),v=r(n(588)),y=r(n(589)),b=r(n(5)),w=r(n(590)),E=r(n(591)),T=function(e){return{root:{overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch"},flexContainer:{display:"flex"},centered:{justifyContent:"center"},scroller:{position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},fixed:{overflowX:"hidden",width:"100%"},scrollable:{overflowX:"scroll"},scrollButtons:{},scrollButtonsAuto:(0,d.default)({},e.breakpoints.down("xs"),{display:"none"}),indicator:{}}};t.styles=T;var _=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.tabs=null,n.valueToIndex=new Map,n.handleResize=(0,m.default)(function(){n.updateIndicatorState(n.props),n.updateScrollButtonState()},166),n.handleTabsScroll=(0,m.default)(function(){n.updateScrollButtonState()},166),n.state={indicatorStyle:{},scrollerStyle:{marginBottom:0},showLeftScroll:!1,showRightScroll:!1,mounted:!1},n.getConditionalElements=function(){var e=n.props,t=e.classes,r=e.scrollable,i=e.ScrollButtonComponent,o=e.scrollButtons,a=e.theme,s={};s.scrollbarSizeListener=r?f.default.createElement(y.default,{onLoad:n.handleScrollbarSizeChange,onChange:n.handleScrollbarSizeChange}):null;var l=r&&("auto"===o||"on"===o);return s.scrollButtonLeft=l?f.default.createElement(i,{direction:a&&"rtl"===a.direction?"right":"left",onClick:n.handleLeftScrollClick,visible:n.state.showLeftScroll,className:(0,h.default)(t.scrollButtons,(0,d.default)({},t.scrollButtonsAuto,"auto"===o))}):null,s.scrollButtonRight=l?f.default.createElement(i,{direction:a&&"rtl"===a.direction?"left":"right",onClick:n.handleRightScrollClick,visible:n.state.showRightScroll,className:(0,h.default)(t.scrollButtons,(0,d.default)({},t.scrollButtonsAuto,"auto"===o))}):null,s},n.getTabsMeta=function(e,t){var r;if(n.tabsRef){var i=n.tabsRef.getBoundingClientRect();r={clientWidth:n.tabsRef.clientWidth,scrollLeft:n.tabsRef.scrollLeft,scrollLeftNormalized:(0,g.getNormalizedScrollLeft)(n.tabsRef,t),scrollWidth:n.tabsRef.scrollWidth,left:i.left,right:i.right}}var o;if(n.tabsRef&&!1!==e){var a=n.tabsRef.children[0].children;if(a.length>0){var s=a[n.valueToIndex.get(e)];o=s?s.getBoundingClientRect():null}}return{tabsMeta:r,tabMeta:o}},n.handleLeftScrollClick=function(){n.moveTabsScroll(-n.tabsRef.clientWidth)},n.handleRightScrollClick=function(){n.moveTabsScroll(n.tabsRef.clientWidth)},n.handleScrollbarSizeChange=function(e){var t=e.scrollbarHeight;n.setState({scrollerStyle:{marginBottom:-t}})},n.moveTabsScroll=function(e){var t=n.props.theme,r="rtl"===t.direction?-1:1,i=n.tabsRef.scrollLeft+e*r,o="rtl"===t.direction&&"reverse"===(0,g.detectScrollType)()?-1:1;n.scroll(o*i)},n.scrollSelectedIntoView=function(){var e=n.props,t=e.theme,r=e.value,i=n.getTabsMeta(r,t.direction),o=i.tabsMeta,a=i.tabMeta;if(a&&o)if(a.left<o.left){var s=o.scrollLeft+(a.left-o.left);n.scroll(s)}else if(a.right>o.right){var l=o.scrollLeft+(a.right-o.right);n.scroll(l)}},n.scroll=function(e){(0,v.default)("scrollLeft",n.tabsRef,e)},n.updateScrollButtonState=function(){var e=n.props,t=e.scrollable,r=e.scrollButtons,i=e.theme;if(t&&"off"!==r){var o=n.tabsRef,a=o.scrollWidth,s=o.clientWidth,l=(0,g.getNormalizedScrollLeft)(n.tabsRef,i.direction),u="rtl"===i.direction?a>s+l:l>0,c="rtl"===i.direction?l>0:a>s+l;u===n.state.showLeftScroll&&c===n.state.showRightScroll||n.setState({showLeftScroll:u,showRightScroll:c})}},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.setState({mounted:!0}),this.updateIndicatorState(this.props),this.updateScrollButtonState(),this.props.action&&this.props.action({updateIndicator:this.handleResize})}},{key:"componentDidUpdate",value:function(e,t){this.updateIndicatorState(this.props),this.updateScrollButtonState(),this.state.indicatorStyle!==t.indicatorStyle&&this.scrollSelectedIntoView()}},{key:"componentWillUnmount",value:function(){this.handleResize.clear(),this.handleTabsScroll.clear()}},{key:"updateIndicatorState",value:function(e){var t=e.theme,n=e.value,r=this.getTabsMeta(n,t.direction),i=r.tabsMeta,o=r.tabMeta,a=0;if(o&&i){var s="rtl"===t.direction?i.scrollLeftNormalized+i.clientWidth-i.scrollWidth:i.scrollLeft;a=Math.round(o.left-i.left+s)}var l={left:a,width:o?Math.round(o.width):0};l.left===this.state.indicatorStyle.left&&l.width===this.state.indicatorStyle.width||isNaN(l.left)||isNaN(l.width)||this.setState({indicatorStyle:l})}},{key:"render",value:function(){var e,t=this,n=this.props,r=(n.action,n.centered),a=n.children,s=n.classes,l=n.className,u=n.component,c=n.fullWidth,m=n.indicatorColor,g=n.onChange,v=n.scrollable,y=(n.ScrollButtonComponent,n.scrollButtons,n.TabIndicatorProps),b=void 0===y?{}:y,E=n.textColor,T=(n.theme,n.value),_=(0,o.default)(n,["action","centered","children","classes","className","component","fullWidth","indicatorColor","onChange","scrollable","ScrollButtonComponent","scrollButtons","TabIndicatorProps","textColor","theme","value"]),x=(0,h.default)(s.root,l),k=(0,h.default)(s.flexContainer,(0,d.default)({},s.centered,r&&!v)),S=(0,h.default)(s.scroller,(e={},(0,d.default)(e,s.fixed,!v),(0,d.default)(e,s.scrollable,v),e)),C=f.default.createElement(w.default,(0,i.default)({className:s.indicator,color:m},b,{style:(0,i.default)({},this.state.indicatorStyle,b.style)}));this.valueToIndex=new Map;var O=0,A=f.default.Children.map(a,function(e){if(!f.default.isValidElement(e))return null;var n=void 0===e.props.value?O:e.props.value;t.valueToIndex.set(n,O);var r=n===T;return O+=1,f.default.cloneElement(e,{fullWidth:c,indicator:r&&!t.state.mounted&&C,selected:r,onChange:g,textColor:E,value:n})}),P=this.getConditionalElements();return f.default.createElement(u,(0,i.default)({className:x},_),f.default.createElement(p.default,{target:"window",onResize:this.handleResize}),P.scrollbarSizeListener,f.default.createElement("div",{className:s.flexContainer},P.scrollButtonLeft,f.default.createElement("div",{className:S,style:this.state.scrollerStyle,ref:function(e){t.tabsRef=e},role:"tablist",onScroll:this.handleTabsScroll},f.default.createElement("div",{className:k},A),this.state.mounted&&C),P.scrollButtonRight))}}]),t}(f.default.Component);_.propTypes={},_.defaultProps={centered:!1,component:"div",fullWidth:!1,indicatorColor:"secondary",scrollable:!1,ScrollButtonComponent:E.default,scrollButtons:"auto",textColor:"inherit"};var x=(0,b.default)(T,{name:"MuiTabs",withTheme:!0})(_);t.default=x},function(e,t,n){"use strict";function r(e){s=e}function i(){if(s)return s;if(!l||!window.document.body)return"indeterminate";var e=window.document.createElement("div");return e.appendChild(document.createTextNode("ABCD")),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),s="reverse",e.scrollLeft>0?s="default":(e.scrollLeft=1,0===e.scrollLeft&&(s="negative")),document.body.removeChild(e),s}function o(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;var r=i();if("indeterminate"===r)return Number.NaN;switch(r){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n}return n}function a(e,t,n){if("rtl"!==n)return void(e.scrollLeft=t);var r=i();if("indeterminate"!==r)switch(r){case"negative":e.scrollLeft=e.clientWidth-e.scrollWidth+t;break;case"reverse":e.scrollLeft=e.scrollWidth-e.clientWidth-t;break;default:e.scrollLeft=t}}Object.defineProperty(t,"__esModule",{value:!0});var s,l=!("undefined"===typeof window||!window.document||!window.document.createElement);t._setScrollType=r,t.detectScrollType=i,t.getNormalizedScrollLeft=o,t.setNormalizedScrollLeft=a},function(e,t,n){"use strict";function r(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function i(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},a=i.ease,s=void 0===a?r:a,l=i.duration,u=void 0===l?300:l,c=null,d=t[e],f=!1,h=function(){f=!0},p=function r(i){if(f)return void o(new Error("Animation cancelled"));null===c&&(c=i);var a=Math.min(1,(i-c)/u);if(t[e]=s(a)*(n-d)+d,a>=1)return void requestAnimationFrame(function(){o(null)});requestAnimationFrame(r)};return d===n?(o(new Error("Element already at target position")),h):(requestAnimationFrame(p),h)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i;t.default=o},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(8)),o=r(n(9)),a=r(n(10)),s=r(n(11)),l=r(n(12)),u=r(n(1)),c=(r(n(2)),r(n(31))),d=r(n(38)),f={width:100,height:100,position:"absolute",top:-1e4,overflow:"scroll",msOverflowStyle:"scrollbar"},h=function(e){function t(){var e,n;(0,i.default)(this,t);for(var r=arguments.length,o=new Array(r),l=0;l<r;l++)o[l]=arguments[l];return n=(0,a.default)(this,(e=(0,s.default)(t)).call.apply(e,[this].concat(o))),n.handleResize=(0,d.default)(function(){var e=n.props.onChange,t=n.scrollbarHeight,r=n.scrollbarWidth;n.setMeasurements(),t===n.scrollbarHeight&&r===n.scrollbarWidth||e({scrollbarHeight:n.scrollbarHeight,scrollbarWidth:n.scrollbarWidth})},166),n.setMeasurements=function(){var e=n.nodeRef;e&&(n.scrollbarHeight=e.offsetHeight-e.clientHeight,n.scrollbarWidth=e.offsetWidth-e.clientWidth)},n}return(0,l.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){this.setMeasurements(),this.props.onLoad({scrollbarHeight:this.scrollbarHeight,scrollbarWidth:this.scrollbarWidth})}},{key:"componentWillUnmount",value:function(){this.handleResize.clear()}},{key:"render",value:function(){var e=this,t=this.props.onChange;return u.default.createElement("div",null,t?u.default.createElement(c.default,{target:"window",onResize:this.handleResize}):null,u.default.createElement("div",{style:f,ref:function(t){e.nodeRef=t}}))}}]),t}(u.default.Component);h.propTypes={};var p=h;t.default=p},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.color,i=(0,a.default)(e,["classes","className","color"]);return s.default.createElement("span",(0,o.default)({className:(0,l.default)(t.root,t["color".concat((0,c.capitalize)(r))],n)},i))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=n(14),d=function(e){return{root:{position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),willChange:"left, width"},colorPrimary:{backgroundColor:e.palette.primary.main},colorSecondary:{backgroundColor:e.palette.secondary.main}}};t.styles=d,r.propTypes={};var f=(0,u.default)(d)(r);t.default=f},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.direction,i=e.onClick,u=e.visible,c=(0,a.default)(e,["classes","className","direction","onClick","visible"]),d=(0,l.default)(t.root,n);return u?s.default.createElement(f.default,(0,o.default)({className:d,onClick:i,tabIndex:-1},c),"left"===r?p:m):s.default.createElement("div",{className:d})}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(217)),c=i(n(218)),d=i(n(5)),f=i(n(26)),h={root:{color:"inherit",flex:"0 0 56px"}};t.styles=h;var p=s.default.createElement(u.default,null),m=s.default.createElement(c.default,null);r.propTypes={},r.defaultProps={visible:!0};var g=(0,d.default)(h,{name:"MuiTabScrollButton"})(r);t.default=g},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(4)),o=r(n(8)),a=r(n(9)),s=r(n(10)),l=r(n(11)),u=r(n(12)),c=r(n(7)),d=r(n(3)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(5)),m=r(n(26)),g=n(14),v=(r(n(128)),function(e){return{root:(0,d.default)({},e.typography.button,(0,c.default)({maxWidth:264,position:"relative",minWidth:72,padding:0,minHeight:48,flexShrink:0,overflow:"hidden"},e.breakpoints.up("md"),{minWidth:160})),labelIcon:{minHeight:72},textColorInherit:{color:"inherit",opacity:.7,"&$selected":{opacity:1},"&$disabled":{opacity:.4}},textColorPrimary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled}},textColorSecondary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.text.disabled}},selected:{},disabled:{},fullWidth:{flexShrink:1,flexGrow:1,maxWidth:"none"},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"},labelContainer:(0,c.default)({paddingTop:6,paddingBottom:6,paddingLeft:12,paddingRight:12},e.breakpoints.up("md"),{paddingLeft:24,paddingRight:24}),label:(0,c.default)({fontSize:e.typography.pxToRem(14),whiteSpace:"normal"},e.breakpoints.up("md"),{fontSize:e.typography.pxToRem(13)}),labelWrapped:(0,c.default)({},e.breakpoints.down("sm"),{fontSize:e.typography.pxToRem(12)})}});t.styles=v;var y=function(e){function t(){var e,n;(0,o.default)(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=(0,s.default)(this,(e=(0,l.default)(t)).call.apply(e,[this].concat(i))),n.label=null,n.state={labelWrapped:!1},n.handleChange=function(e){var t=n.props,r=t.onChange,i=t.value,o=t.onClick;r&&r(e,i),o&&o(e)},n.checkTextWrap=function(){if(n.labelRef){var e=n.labelRef.getClientRects().length>1;n.state.labelWrapped!==e&&n.setState({labelWrapped:e})}},n}return(0,u.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){this.checkTextWrap()}},{key:"componentDidUpdate",value:function(e,t){this.state.labelWrapped===t.labelWrapped&&this.checkTextWrap()}},{key:"render",value:function(){var e,t,n=this,r=this.props,o=r.classes,a=r.className,s=r.disabled,l=r.fullWidth,u=r.icon,p=r.indicator,v=r.label,y=(r.onChange,r.selected),b=r.textColor,w=(r.value,(0,i.default)(r,["classes","className","disabled","fullWidth","icon","indicator","label","onChange","selected","textColor","value"]));void 0!==v&&(t=f.default.createElement("span",{className:o.labelContainer},f.default.createElement("span",{className:(0,h.default)(o.label,(0,c.default)({},o.labelWrapped,this.state.labelWrapped)),ref:function(e){n.labelRef=e}},v)));var E=(0,h.default)(o.root,o["textColor".concat((0,g.capitalize)(b))],(e={},(0,c.default)(e,o.disabled,s),(0,c.default)(e,o.selected,y),(0,c.default)(e,o.labelIcon,u&&t),(0,c.default)(e,o.fullWidth,l),e),a);return f.default.createElement(m.default,(0,d.default)({focusRipple:!0,className:E,role:"tab","aria-selected":y,disabled:s},w,{onClick:this.handleChange}),f.default.createElement("span",{className:o.wrapper},u,t),p)}}]),t}(f.default.Component);y.propTypes={},y.defaultProps={disabled:!1,textColor:"inherit"};var b=(0,p.default)(v,{name:"MuiTab"})(y);t.default=b},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(594))},function(e,t,n){"use strict";function r(e){var t=e.autoComplete,n=e.autoFocus,r=e.children,i=e.className,h=e.defaultValue,p=e.error,m=e.FormHelperTextProps,g=e.fullWidth,v=e.helperText,y=e.id,b=e.InputLabelProps,w=e.inputProps,E=e.InputProps,T=e.inputRef,_=e.label,x=e.multiline,k=e.name,S=e.onBlur,C=e.onChange,O=e.onFocus,A=e.placeholder,P=e.required,I=e.rows,R=e.rowsMax,N=e.select,M=e.SelectProps,D=e.type,L=e.value,j=(0,a.default)(e,["autoComplete","autoFocus","children","className","defaultValue","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","select","SelectProps","type","value"]),W=v&&y?"".concat(y,"-helper-text"):void 0,B=s.default.createElement(l.default,(0,o.default)({autoComplete:t,autoFocus:n,defaultValue:h,fullWidth:g,multiline:x,name:k,rows:I,rowsMax:R,type:D,value:L,id:y,inputRef:T,onBlur:S,onChange:C,onFocus:O,placeholder:A,inputProps:w},E));return s.default.createElement(c.default,(0,o.default)({"aria-describedby":W,className:i,error:p,fullWidth:g,required:P},j),_&&s.default.createElement(u.default,(0,o.default)({htmlFor:y},b),_),N?s.default.createElement(f.default,(0,o.default)({value:L,input:B},M),r):B,v&&s.default.createElement(d.default,(0,o.default)({id:W},m),v))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(13)),i(n(2)),i(n(66))),u=i(n(204)),c=i(n(200)),d=i(n(202)),f=i(n(134));r.propTypes={},r.defaultProps={required:!1,select:!1};var h=r;t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(596))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(8)),a=r(n(9)),s=r(n(10)),l=r(n(11)),u=r(n(12)),c=r(n(7)),d=r(n(1)),f=(r(n(2)),r(n(13)),r(n(6))),h=r(n(122)),p=r(n(5)),m=n(14),g=(r(n(36)),r(n(125))),v=r(n(211)),y=function(e){return{popper:{zIndex:e.zIndex.tooltip,opacity:.9},tooltip:{backgroundColor:e.palette.grey[700],borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat(e.typography.round(1.4),"em"),maxWidth:300},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat(e.typography.round(16/14),"em")},tooltipPlacementLeft:(0,c.default)({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:(0,c.default)({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:(0,c.default)({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:(0,c.default)({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}};t.styles=y;var b=function(e){function t(e){var n;return(0,o.default)(this,t),n=(0,s.default)(this,(0,l.default)(t).call(this)),n.childrenRef=null,n.closeTimer=null,n.defaultId=null,n.enterTimer=null,n.focusTimer=null,n.ignoreNonTouchEvents=!1,n.isControlled=null,n.leaveTimer=null,n.touchTimer=null,n.onRootRef=function(e){n.childrenRef=e},n.handleFocus=function(e){e.persist(),n.focusTimer=setTimeout(function(){n.handleEnter(e)})},n.handleEnter=function(e){var t=n.props,r=t.children,i=t.enterDelay,o=r.props;"focus"===e.type&&o.onFocus&&o.onFocus(e),"mouseover"===e.type&&o.onMouseOver&&o.onMouseOver(e),n.ignoreNonTouchEvents&&"touchstart"!==e.type||(n.childrenRef.setAttribute("title",""),clearTimeout(n.enterTimer),clearTimeout(n.leaveTimer),i?(e.persist(),n.enterTimer=setTimeout(function(){n.handleOpen(e)},i)):n.handleOpen(e))},n.handleOpen=function(e){n.isControlled||n.state.open||n.setState({open:!0}),n.props.onOpen&&n.props.onOpen(e)},n.handleLeave=function(e){var t=n.props,r=t.children,i=t.leaveDelay,o=r.props;"blur"===e.type&&o.onBlur&&o.onBlur(e),"mouseleave"===e.type&&o.onMouseLeave&&o.onMouseLeave(e),clearTimeout(n.enterTimer),clearTimeout(n.leaveTimer),i?(e.persist(),n.leaveTimer=setTimeout(function(){n.handleClose(e)},i)):n.handleClose(e)},n.handleClose=function(e){n.isControlled||n.setState({open:!1}),n.props.onClose&&n.props.onClose(e),clearTimeout(n.closeTimer),n.closeTimer=setTimeout(function(){n.ignoreNonTouchEvents=!1},n.props.theme.transitions.duration.shortest)},n.handleTouchStart=function(e){n.ignoreNonTouchEvents=!0;var t=n.props,r=t.children,i=t.enterTouchDelay;r.props.onTouchStart&&r.props.onTouchStart(e),clearTimeout(n.leaveTimer),clearTimeout(n.closeTimer),clearTimeout(n.touchTimer),e.persist(),n.touchTimer=setTimeout(function(){n.handleEnter(e)},i)},n.handleTouchEnd=function(e){var t=n.props,r=t.children,i=t.leaveTouchDelay;r.props.onTouchEnd&&r.props.onTouchEnd(e),clearTimeout(n.touchTimer),clearTimeout(n.leaveTimer),e.persist(),n.leaveTimer=setTimeout(function(){n.handleClose(e)},i)},n.isControlled=null!=e.open,n.state={open:null},n.isControlled||(n.state.open=!1),n}return(0,u.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){this.defaultId="mui-tooltip-".concat(Math.round(1e5*Math.random())),this.props.open&&this.forceUpdate()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.closeTimer),clearTimeout(this.enterTimer),clearTimeout(this.focusTimer),clearTimeout(this.leaveTimer),clearTimeout(this.touchTimer)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.classes,o=t.disableFocusListener,a=t.disableHoverListener,s=t.disableTouchListener,l=t.id,u=t.open,p=t.placement,g=t.PopperProps,y=t.theme,b=t.title,w=t.TransitionComponent,E=t.TransitionProps,T=this.isControlled?u:this.state.open;""===b&&(T=!1);var _={"aria-describedby":T?l||this.defaultId:null,title:T||"string"!==typeof b?null:b};return s||(_.onTouchStart=this.handleTouchStart,_.onTouchEnd=this.handleTouchEnd),a||(_.onMouseOver=this.handleEnter,_.onMouseLeave=this.handleLeave),o||(_.onFocus=this.handleFocus,_.onBlur=this.handleLeave),d.default.createElement(d.default.Fragment,null,d.default.createElement(h.default,{rootRef:this.onRootRef},d.default.cloneElement(n,_)),d.default.createElement(v.default,(0,i.default)({className:r.popper,placement:p,anchorEl:this.childrenRef,open:T,id:_["aria-describedby"],transition:!0},g),function(t){var n=t.placement,o=t.TransitionProps;return d.default.createElement(w,(0,i.default)({timeout:y.transitions.duration.shorter},o,E),d.default.createElement("div",{className:(0,f.default)(r.tooltip,(0,c.default)({},r.touch,e.ignoreNonTouchEvents),r["tooltipPlacement".concat((0,m.capitalize)(n.split("-")[0]))])},b))}))}}]),t}(d.default.Component);b.propTypes={},b.propTypes={},b.defaultProps={disableFocusListener:!1,disableHoverListener:!1,disableTouchListener:!1,enterDelay:0,enterTouchDelay:1e3,leaveDelay:0,leaveTouchDelay:1500,placement:"bottom",TransitionComponent:g.default};var w=(0,p.default)(y,{name:"MuiTooltip",withTheme:!0})(b);t.default=w},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(598))},function(e,t,n){"use strict";var r=n(46),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(1)),s=(i(n(2)),r(n(133))),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){function n(e){return a.default.createElement(t,(0,o.default)({fullScreen:(0,s.isWidthDown)(i,e.width)},e))}var r=e.breakpoint,i=void 0===r?"sm":r;return n.propTypes={},(0,s.default)()(n)}},u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(600))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(35))),h=n(28),p=r(n(29)),m=n(56),g={entering:{transform:"scale(1)"},entered:{transform:"scale(1)"}},v=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.handleEnter=function(e){var t=n.props.theme;(0,m.reflow)(e);var r=(0,m.getTransitionProps)(n.props,{mode:"enter"});e.style.webkitTransition=t.transitions.create("transform",r),e.style.transition=t.transitions.create("transform",r),n.props.onEnter&&n.props.onEnter(e)},n.handleExit=function(e){var t=n.props.theme,r=(0,m.getTransitionProps)(n.props,{mode:"exit"});e.style.webkitTransition=t.transitions.create("transform",r),e.style.transition=t.transitions.create("transform",r),n.props.onExit&&n.props.onExit(e)},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=(e.onEnter,e.onExit,e.style),r=(e.theme,(0,o.default)(e,["children","onEnter","onExit","style","theme"])),a=(0,i.default)({},n,d.default.isValidElement(t)?t.props.style:{});return d.default.createElement(f.default,(0,i.default)({appear:!0,onEnter:this.handleEnter,onExit:this.handleExit},r),function(e,n){return d.default.cloneElement(t,(0,i.default)({style:(0,i.default)({transform:"scale(0)",willChange:"transform"},g[e],a)},n))})}}]),t}(d.default.Component);v.propTypes={},v.defaultProps={timeout:{enter:h.duration.enteringScreen,exit:h.duration.leavingScreen}};var y=(0,p.default)()(v);t.default=y},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return d});var a=n(1),s=n.n(a),l=n(127),u=n(602),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={drawerOpen:!1},n.drawerWidth=250,n}return o(t,e),c(t,[{key:"componentWillMount",value:function(){this.setState({drawerOpen:this.props.drawerOpen})}},{key:"componentWillReceiveProps",value:function(e){this.setState({drawerOpen:e.drawerOpen})}},{key:"render",value:function(){var e=this,t=this.props.a;return s.a.createElement(l.d,{anchor:this.props.side,open:this.state.drawerOpen,onClose:function(){return e.props.toggleDrawer()},onOpen:function(){return e.props.toggleDrawer()}},s.a.createElement("div",{tabIndex:0,role:"button"},s.a.createElement("div",{style:{width:this.drawerWidth}},s.a.createElement(l.b,{style:{paddingTop:this.props.data.getButtonHeight()}},this.props.data.getNavbarData().map(function(n,r){return s.a.createElement(u.a,{data:e.props.data,name:e.props.name,pageTitle:e.props.pageTitle,nav:n,key:"sbit-"+r,a:t})})))))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return y});var a=n(1),s=n.n(a),l=n(127),u=n(206),c=n.n(u),d=n(85),f=n.n(d),h=n(603),p=n.n(h),m=n(221),g=n.n(m),v=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),y=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={open:!1},n.handleClick=n.handleClick.bind(n),n.handleLinkClick=n.handleLinkClick.bind(n),n.getLink=n.getLink.bind(n),n.firstPadding="15px",n.secondPadding="30px",n}return o(t,e),v(t,[{key:"handleClick",value:function(){this.setState({open:!this.state.open})}},{key:"handleLinkClick",value:function(e){if(window){var t=""+this.props.name+this.props.nav.links[e];"Home"===this.props.nav.title&&(t=this.props.nav.links[e]),window.location.href=t}}},{key:"getLink",value:function(e){var t=""+this.props.name+this.props.nav.links[e];return"Home"===this.props.nav.title&&(t=this.props.nav.links[e]),t}},{key:"render",value:function(){var e=this,t=this.props.a;return s.a.createElement("div",null,s.a.createElement(l.c,{button:!0,onClick:this.handleClick},s.a.createElement(c.a,{style:{paddingLeft:this.firstPadding},primary:this.props.nav.title}),this.state.open?s.a.createElement(p.a,null):s.a.createElement(g.a,null)),s.a.createElement(f.a,{in:this.state.open,timeout:"auto",unmountOnExit:!0},s.a.createElement(l.b,{component:"div"},this.props.nav.names.map(function(n,r){return s.a.createElement(l.c,{button:!0,key:n+"-"+r,component:"a",href:e.getLink(r),onClick:t},s.a.createElement(c.a,{style:{paddingLeft:e.secondPadding},primary:n,disabled:e.props.pageTitle===e.props.nav.links[r],key:n+"-li-"+r}))}))))}}]),t}(a.Component)},function(e,t,n){"use strict";var r=n(76);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(106)),a=(0,o.default)(i.default.createElement("g",null,i.default.createElement("path",{d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"})),"ExpandLess");t.default=a},function(e,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 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 o(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)}n.d(t,"a",function(){return j});var a=n(1),s=n.n(a),l=n(606),u=(n.n(l),n(607)),c=(n.n(u),n(609)),d=(n.n(c),n(610)),f=n(621),h=n(622),p=n(624),m=n(643),g=n(644),v=n(87),y=n.n(v),b=n(89),w=n.n(b),E=n(40),T=n.n(E),_=n(222),x=n.n(_),k=n(15),S=n.n(k),C=n(32),O=(n.n(C),n(792)),A=n(794),P=n(796),I=n(797),R=n(841),N=n(842),M=n(844),D=n(845),L=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();Object(_.configureAnchors)({offset:-64,scrollDuration:1e3});var j=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.updateDim=function(){window.innerWidth<=n.minWidth&&!n.state.minimized?n.setState({minimized:!0}):window.innerWidth>n.minWidth&&n.state.minimized&&n.setState({minimized:!1});var e=Object.keys(n.refs);if(e.length>0){var t=n.state.initPositions;e.forEach(function(e){var r=S.a.findDOMNode(n.refs[e]);r&&(t[e]=r.getBoundingClientRect().top+window.scrollY)}),n.setState({initPositions:t})}},n.state={contentData:null,setEditData:null,firebase:null,tempEditType:"",tempEditContent:"",canEdit:!1,currentEmail:"",pageTitle:"",newPage:"",isContent:!1,spyPositions:{},initPositions:{}},n.possibleTypes=["MARKDOWN","LATEX","IMAGE","SPECIAL"],window.scrollTo(0,0),window.addEventListener("scroll",function(){var e=n.state.initPositions,t=Object.keys(e);if(t.length>0){var r=n.state.spyPositions,i=window.scrollY;t.forEach(function(t){r[t]=e[t]-i}),n.setState({spyPositions:r})}});var o=window.setInterval(function(){var e=Object.keys(n.refs);if(e.length>0){var t=n.state.initPositions;e.forEach(function(e){var r=S.a.findDOMNode(n.refs[e]);r&&(t[e]=r.getBoundingClientRect().top)}),n.setState({initPositions:t}),window.clearInterval(o)}},20);return n.minWidth=1e3,window.addEventListener("resize",n.updateDim),n}return o(t,e),L(t,[{key:"componentWillMount",value:function(){var e=this;this.setState({contentData:this.props.contentData,setEditData:this.props.setEditData,firebase:this.props.firebase,pageTitle:this.props.pageTitle}),this.props.edit&&this.props.firebase.auth().onAuthStateChanged(function(t){if(t)e.setState({canEdit:!0,currentEmail:t.email});else{var n=new e.props.firebase.auth.GoogleAuthProvider;e.props.firebase.auth().signInWithPopup(n).then(function(t){var n=t.user,r=n.email.split("@")[1];"uw.edu"===r||"washington.edu"===r||"u.washington.edu"===r?e.setState({canEdit:!0,currentEmail:n.email}):(alert("email not allowed, your email has been logged and will be reported to igem administration"),e.props.firebase.database().ref("evilPeople").push(n.email))}).catch(function(e){var t=e.code,n=e.message,r=e.email,i=e.credential;console.log(t,n,r,i,"error, email did not work")})}}),window.innerWidth<=this.minWidth&&this.setState({minimized:!0})}},{key:"componentWillReceiveProps",value:function(e){this.setState({contentData:e.contentData,setEditData:e.setEditData,firebase:this.props.firebase})}},{key:"filterToPage",value:function(){if(this.state.contentData){var e=0,t=!0,n=!1,r=void 0;try{for(var i,o=this.state.contentData[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=i.value;if(a.pageTitle===this.state.pageTitle)return this.pageIndex=e,a;e++}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}return null}},{key:"storeWhoEdit",value:function(){var e=this,t=this.state.currentEmail,n=this.state.tempEditContent,r=this.state.pageTitle,i=this.props.firebase.auth().currentUser?this.props.firebase.auth().currentUser:null,o=i?i.uid:"",a=i&&i.displayName?i.displayName:"",s={email:t,tempEditContent:n,uid:o,displayName:a};this.props.firebase.database().ref("editData/"+r).push(Object.assign({},s,{timestamp:this.props.firebase.database.ServerValue.TIMESTAMP}),function(){e.setState({setEditData:null,tempEditContent:null,tempEditType:null})})}},{key:"createSpecial",value:function(e){var t=null,n=e.split("\n");switch(n[0].trim()){case"HOMEPAGE":var r=n.slice(1),i={};r.forEach(function(e){var t=e.split("="),n=t[0].trim(),r=t[1].trim();i[n]=r}),t=s.a.createElement("div",null,s.a.createElement(d.a,{params:i}));break;case"CRAFTY":t=s.a.createElement("div",null,s.a.createElement(h.a,{text:n.slice(1).join()}));break;case"SECTION":var o=n[1];t=s.a.createElement("div",{id:"spy-"+o,ref:"spy-"+o},s.a.createElement(x.a,{id:o},s.a.createElement("div",null)));break;case"HEADER":var a=n.slice(1),l={};a.forEach(function(e){var t=e.split("="),n=t[0].trim(),r=t[1].trim();l[n]=r}),t=s.a.createElement("div",null,s.a.createElement(m.a,{params:l}));break;case"TEAM":var u=n.slice(1),c=[];u.forEach(function(e){var t=e.split(";"),n={};t.forEach(function(e){var t=e.split("="),r=t[0].trim(),i=t[1].trim();n[r]=i}),c.push(n)}),t=s.a.createElement("div",null,s.a.createElement(p.a,{data:c}));break;case"SPONSORS":var f=n.slice(1),v=[];f.forEach(function(e){var t=e.split(";"),n={};t.forEach(function(e){var t=e.split("="),r=t[0].trim(),i=t[1].trim();n[r]=i}),v.push(n)}),t=s.a.createElement("div",null,s.a.createElement(R.a,{data:v}));break;case"SUBIMAGES":var y=Number(n[1].split("=")[1].trim()),b=n.slice(2),w=[];b.forEach(function(e){var t=e.split(";"),n={};t.forEach(function(e){var t=e.split("="),r=t[0].trim(),i=t[1].trim();n[r]=i}),w.push(n)}),t=s.a.createElement("div",null,s.a.createElement(g.a,{maxImagesPerRow:y,data:w}));break;case"SEP":t=s.a.createElement("div",{style:{margin:"auto",marginTop:30,marginBottom:5,width:"33%",height:5,backgroundColor:"#420dab"}}," ");break;case"TAB":var E=e.split("===").slice(1),T=E.map(function(e){var t=e.split("\n");return{title:t[1],data:t.slice(2).join("\n")}});t=s.a.createElement("div",null,s.a.createElement(A.a,{tabObjs:T,updateDim:this.updateDim}));break;case"ACCORDION":var _=e.split("===").slice(1),k=_.map(function(e){var t=e.split("\n");return{title:t[1],data:t.slice(2).join("\n")}});t=s.a.createElement("div",null,s.a.createElement(N.a,{accObjs:k}));break;case"PDF":var S=n[1];t=s.a.createElement("div",{style:{margin:"0",textAlign:"center"}},s.a.createElement(P.a,{pdfLink:S}));break;case"GALLERY":var C=n.slice(1),O=[];C.forEach(function(e){var t=e.split(";"),n={};t.forEach(function(e){var t=e.split("="),r=t[0].trim(),i=t[1].trim();"width"!==r&&"height"!==r||(i=Number(i)),n[r]=i}),O.push(n)}),t=s.a.createElement("div",null,s.a.createElement(I.a,{photos:O}));break;case"SPLITVIEW":var L=e.split("===").slice(1),j=L.map(function(e){var t=e.split("\n");return{title:t[1],data:t.slice(2).join("\n")}});t=s.a.createElement("div",null,s.a.createElement(M.a,{spObjs:j}));break;case"NAVIGATION":var W=n.slice(1),B={};W.forEach(function(e){e.split(";").forEach(function(e){var t=e.split("="),n=t[0].trim(),r=t[1].trim();B[n]=r})}),t=s.a.createElement("div",null,s.a.createElement(D.a,{navParams:B}));break;case"VIDEO":var F=n[1];t=s.a.createElement("div",{style:{marginTop:20,marginBottom:20,textAlign:"center"}},s.a.createElement("video",{width:"95%",height:"auto",controls:!0,style:{margin:"auto",boxShadow:"5px 5px 10px gray"}},s.a.createElement("source",{src:F,type:"video/mp4"}),"Your browser does not support the video tag."));break;default:t=s.a.createElement("div",{className:"stub-div"})}return t}},{key:"generateSegment",value:function(e,t,n){var r=this,i=null;switch(e.type){case"MARKDOWN":i=s.a.createElement("div",{style:{marginLeft:"5%",marginRight:"5%"},className:"md"},s.a.createElement(T.a,{clear:!0,cascade:!0,duration:500},y()().use(w.a).processSync(e.data).contents));break;case"LATEX":i=s.a.createElement(u.BlockMath,{style:{marginLeft:"5%",marginRight:"5%"}},e.data);break;case"IMAGE":var o=e.data.split(","),a=o.slice(2),l=a.map(function(e){var t=e.split(":");return{K:t[0].trim(),V:t[1].trim()}});i=s.a.createElement(f.a,{style:{marginLeft:"5%",marginRight:"5%"},imageUrl:o[0].trim(),alt:o[1].trim(),params:l});break;case"SPECIAL":i=this.createSpecial(e.data);break;default:i=s.a.createElement("div",null,"stub div")}var c=!1;return this.props.edit&&this.state.setEditData&&this.state.setEditData.index===t&&(c=!0),s.a.createElement("div",{key:"segment"+t,className:(this.props.edit?"editBorder":"")+" "+(c?"greenBorder":"")},i,this.props.edit&&s.a.createElement("div",null,!c&&s.a.createElement("div",null,s.a.createElement("button",{onClick:function(){r.props.setEdit(r.state.pageTitle,t),r.setState({tempEditContent:null,tempEditType:null})}},"edit"),s.a.createElement("button",{style:{margin:10},onClick:function(){var e=n;e.content.splice(t,0,{type:"MARKDOWN",data:"Insert text"}),r.props.firebase.database().ref("pageData/"+r.pageIndex).set(e),r.props.setEdit(r.props.pageTitle,t),r.setState({setEditData:null,tempEditContent:null,tempEditType:null})}},"insert before"),s.a.createElement("button",{style:{margin:10},onClick:function(){var e=n;e.content.splice(t+1,0,{type:"MARKDOWN",data:"Insert text"}),r.props.firebase.database().ref("pageData/"+r.pageIndex).set(e),r.props.setEdit(r.props.pageTitle,t+1),r.setState({setEditData:null,tempEditContent:null,tempEditType:null})}},"insert after"),s.a.createElement("button",{onClick:function(){var e=n;e.content.splice(t,1),r.props.firebase.database().ref("pageData/"+r.pageIndex).set(e),r.setState({setEditData:null,tempEditContent:null,tempEditType:null})}},"delete")),c&&s.a.createElement("div",null,s.a.createElement("select",{value:null!==this.state.tempEditType?this.state.tempEditType:e.type,onChange:function(e){r.setState({tempEditType:e.target.value})}},this.possibleTypes.map(function(e){return s.a.createElement("option",{value:e,key:e},e)})),s.a.createElement("button",{onClick:function(){var i=n;i.content[t]={data:null!==r.state.tempEditContent?r.state.tempEditContent:e.data,type:null!==r.state.tempEditType?r.state.tempEditType:e.type},"/Team"===r.state.pageTitle&&-1===r.state.currentEmail.indexOf("wkwok16")||r.props.firebase.database().ref("pageData/"+r.pageIndex).set(i),r.storeWhoEdit()}},"submit"),s.a.createElement("button",{onClick:function(){r.setState({setEditData:null,tempEditContent:null,tempEditType:null})}},"cancel"),s.a.createElement("br",null),s.a.createElement("textarea",{style:{margin:"auto"},cols:100,rows:30,value:null!==this.state.tempEditContent?this.state.tempEditContent:e.data,onChange:function(e){r.setState({tempEditContent:e.target.value})}}))))}},{key:"submitNewPage",value:function(){var e=this;if(this.state.newPage&&"/"===this.state.newPage[0]){var t={pageTitle:this.state.newPage,isContent:this.state.isContent},n=this.state.contentData;n.push(t),this.props.firebase.database().ref("pageData").set(n,function(){e.setState({newPage:"",pageTitle:e.state.newPage,isContent:!1})})}else alert("error, invalid string")}},{key:"render",value:function(){var e=this,t=this.filterToPage(),n=[],r=this.state.contentData?this.state.contentData.reduce(function(e,t){return e.push(t.pageTitle),e},[]):[];if(t&&!t.content&&(t.content=[]),t&&!t.isContent||this.state.minimized)n=t.content.map(function(n,r){return e.generateSegment(n,r,t)});else if(t){var i=[];t.content.forEach(function(e,t){"SPECIAL"===e.type&&"SECTION"===e.data.split("\n")[0]&&i.push(e)}),n=s.a.createElement("div",null,this.generateSegment(t.content[0],0,t),s.a.createElement(C.Grid,{fluid:!0},s.a.createElement(C.Row,null,s.a.createElement(C.Col,{md:3},s.a.createElement(O.a,{spyArr:i,positions:this.state.spyPositions,updateDim:this.updateDim})),s.a.createElement(C.Col,{md:8},t.content.map(function(n,r){return r>0?e.generateSegment(n,r,t):s.a.createElement("div",{key:"blank"+r})})))))}return s.a.createElement("div",{style:{marginTop:0,marginBottom:50}}," ",(this.props.edit&&this.state.canEdit||!this.props.edit)&&s.a.createElement("div",null,this.props.edit&&s.a.createElement("div",{style:{marginTop:80}},s.a.createElement("h1",null,"Choose a page to edit:"),s.a.createElement("select",{value:this.state.pageTitle?this.state.pageTitle:this.props.pageTitle,onChange:function(t){e.setState({pageTitle:t.target.value})}},r.map(function(e){return s.a.createElement("option",{value:e,key:e},e)})),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("h1",null,"Create new page"),s.a.createElement("p",null,"Must have / before it, and correct capitalization"),s.a.createElement("input",{value:this.state.newPage,onChange:function(t){e.setState({newPage:t.target.value})}}),s.a.createElement("br",null),s.a.createElement("input",{type:"checkbox",checked:this.state.isContent,onChange:function(t){e.setState({isContent:!e.state.isContent})}}),"Is content",s.a.createElement("br",null),s.a.createElement("button",{onClick:function(){e.submitNewPage()}},"submit new page"),s.a.createElement("br",null),s.a.createElement("br",null)),n&&n,this.props.edit&&s.a.createElement("div",null,s.a.createElement("button",{style:{margin:10},onClick:function(){var n=t;n.content.push({type:"MARKDOWN",data:"Insert text"}),e.props.firebase.database().ref("pageData/"+e.pageIndex).set(n),e.setState({setEditData:null,tempEditContent:null,tempEditType:null})}},"insert after"),s.a.createElement("button",{onClick:function(){e.props.firebase.auth().signOut()}},"sign out"))))}}]),t}(a.Component)},function(e,t){},function(e,t,n){!function(e,r){r(t,n(1),n(2),n(608))}(0,function(e,t,n,r){"use strict";t=t&&"default"in t?t.default:t,n=n&&"default"in n?n.default:n,r=r&&"default"in r?r.default:r;var i=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},s=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},l=function(e,l){var u=l.displayMode,c=function(n){function l(e){i(this,l);var t=s(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return t.usedProp=e.math?"math":"children",t.state=t.createNewState(null,e),t}return a(l,n),o(l,[{key:"componentWillReceiveProps",value:function(){this.setState(this.createNewState)}},{key:"shouldComponentUpdate",value:function(e){return e[this.usedProp]!==this.props[this.usedProp]}},{key:"createNewState",value:function(e,t){try{return{html:this.generateHtml(t),error:void 0}}catch(e){if(e instanceof r.ParseError||e instanceof TypeError)return{error:e};throw e}}},{key:"generateHtml",value:function(e){var t=e.errorColor,n=e.renderError;return r.renderToString(e[this.usedProp],{displayMode:u,errorColor:t,throwOnError:!!n})}},{key:"render",value:function(){var n=this.state,r=n.error,i=n.html,o=this.props.renderError;return r?o?o(r):t.createElement(e,{html:""+r.message}):t.createElement(e,{html:i})}}]),l}(t.Component);return c.propTypes={children:n.string,errorColor:n.string,math:n.string,renderError:n.func},c},u=function(e){var n=e.html;return t.createElement("span",{dangerouslySetInnerHTML:{__html:n}})};u.propTypes={html:n.string.isRequired};var c=l(u,{displayMode:!1}),d=function(e){var n=e.html;return t.createElement("div",{dangerouslySetInnerHTML:{__html:n}})};d.propTypes={html:n.string.isRequired};var f=l(d,{displayMode:!0});e.InlineMath=c,e.BlockMath=f,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){!function(t,n){e.exports=n()}(0,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.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=63)}([function(e,t,n){"use strict";var r=n(57),i=n.n(r),o=n(18),a=n.n(o),s=n(12),l=n(30),u=n(28),c=n(5),d=n(13),f=n(19),h=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xa3"],p=function(e,t,n){return u.a[n][e]&&u.a[n][e].replace&&(e=u.a[n][e].replace),{value:e,metrics:l.a.getCharacterMetrics(e,t,n)}},m=function(e,t,n,r,i){var o=p(e,t,n),a=o.metrics;e=o.value;var l=void 0;if(a){var u=a.italic;"text"===n&&(u=0),l=new s.a.symbolNode(e,a.height,a.depth,u,a.skew,a.width,i)}else"undefined"!==typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"'"),l=new s.a.symbolNode(e,0,0,0,0,0,i);if(r){l.maxFontSize=r.sizeMultiplier,r.style.isTight()&&l.classes.push("mtight");var c=r.getColor();c&&(l.style.color=c)}return l},g=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return n&&n.fontFamily&&"boldsymbol"===n.fontFamily&&p(e,"Main-Bold",t).metrics?m(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===u.a[t][e].font?m(e,"Main-Regular",t,n,r):m(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},v=function(e,t,n,r,i){if("mathord"===i){var o=y(e,t,n,r);return m(e,o.fontName,t,n,r.concat([o.fontClass]))}if("textord"===i){if("ams"===(u.a[t][e]&&u.a[t][e].font)){var a=I("amsrm",n.fontWeight,n.fontShape);return m(e,a,t,n,r.concat("amsrm",n.fontWeight,n.fontShape))}var s=I("textrm",n.fontWeight,n.fontShape);return m(e,s,t,n,r.concat(n.fontWeight,n.fontShape))}throw new Error("unexpected type: "+i+" in mathDefault")},y=function(e,t,n,r){return/[0-9]/.test(e.charAt(0))||c.a.contains(h,e)?{fontName:"Main-Italic",fontClass:"mainit"}:{fontName:"Math-Italic",fontClass:"mathit"}},b=function(e,t,n,r){return p(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},w=function(e,t,n){var r=e.mode,i=e.value,o=["mord"],a=t.fontFamily;if(a){var s=void 0,l=void 0;if("boldsymbol"===a){var u=b(i,r);s=u.fontName,l=[u.fontClass]}else if("mathit"===a||c.a.contains(h,i)){var d=y(i,r,t,o);s=d.fontName,l=[d.fontClass]}else-1!==a.indexOf("math")||"math"===r?(s=D[a].fontName,l=[a]):(s=I(a,t.fontWeight,t.fontShape),l=[a,t.fontWeight,t.fontShape]);return p(i,s,r).metrics?m(i,s,r,t,o.concat(l)):v(i,r,t,o,n)}return v(i,r,t,o,n)},E=function(e){for(var t=0;t<e.length-1;t++)e[t].tryCombine(e[t+1])&&(e.splice(t+1,1),t--);return e},T=function(e){var t=0,n=0,r=0,i=!0,o=!1,s=void 0;try{for(var l,u=a()(e.children);!(i=(l=u.next()).done);i=!0){var c=l.value;c.height>t&&(t=c.height),c.depth>n&&(n=c.depth),c.maxFontSize>r&&(r=c.maxFontSize)}}catch(e){o=!0,s=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw s}}e.height=t,e.depth=n,e.maxFontSize=r},_=function(e,t,n,r){var i=new s.a.span(e,t,n,r);return T(i),i},x=function(e,t){var n=t.fontMetrics().defaultRuleThickness,r=d.a.ruleSpan(e,n,t);return r.height=n,r.style.height=5*r.height+"em",r.maxFontSize=1,r},k=function(e,t,n,r){var i=new s.a.anchor(e,t,n,r);return T(i),i},S=function(e){var t=new s.a.documentFragment(e);return T(t),t},C=function(e){if("individualShift"===e.positionType){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,i=r,o=1;o<t.length;o++){var s=-t[o].shift-i-t[o].elem.depth,l=s-(t[o-1].elem.height+t[o-1].elem.depth);i+=s,n.push({type:"kern",size:l}),n.push(t[o])}return{children:n,depth:r}}var u=void 0;if("top"===e.positionType){var c=e.positionData,d=!0,f=!1,h=void 0;try{for(var p,m=a()(e.children);!(d=(p=m.next()).done);d=!0){var g=p.value;c-="kern"===g.type?g.size:g.elem.height+g.elem.depth}}catch(e){f=!0,h=e}finally{try{!d&&m.return&&m.return()}finally{if(f)throw h}}u=c}else if("bottom"===e.positionType)u=-e.positionData;else{var v=e.children[0];if("elem"!==v.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)u=-v.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");u=-v.elem.depth}}return{children:e.children,depth:u}},O=function(e,t){var n=C(e),r=n.children,i=n.depth,o=0,l=!0,u=!1,c=void 0;try{for(var d,f=a()(r);!(l=(d=f.next()).done);l=!0){var h=d.value;if("elem"===h.type){var p=h.elem;o=Math.max(o,p.maxFontSize,p.height)}}}catch(e){u=!0,c=e}finally{try{!l&&f.return&&f.return()}finally{if(u)throw c}}o+=2;var m=_(["pstrut"],[]);m.style.height=o+"em";var g=[],v=i,y=i,b=i,w=!0,E=!1,T=void 0;try{for(var x,k=a()(r);!(w=(x=k.next()).done);w=!0){var S=x.value;if("kern"===S.type)b+=S.size;else{var O=S.elem,A=S.wrapperClasses||[],P=S.wrapperStyle||{},I=_(A,[m,O],void 0,P);I.style.top=-o-b-O.depth+"em",S.marginLeft&&(I.style.marginLeft=S.marginLeft),S.marginRight&&(I.style.marginRight=S.marginRight),g.push(I),b+=O.height+O.depth}v=Math.min(v,b),y=Math.max(y,b)}}catch(e){E=!0,T=e}finally{try{!w&&k.return&&k.return()}finally{if(E)throw T}}var R=_(["vlist"],g);R.style.height=y+"em";var N=void 0;if(v<0){var M=_(["vlist"],[]);M.style.height=-v+"em";var D=_(["vlist-s"],[new s.a.symbolNode("\u200b")]);N=[_(["vlist-r"],[R,D]),_(["vlist-r"],[M])]}else N=[_(["vlist-r"],[R])];var L=_(["vlist-t"],N);return 2===N.length&&L.classes.push("vlist-t2"),L.height=y,L.depth=-v,L},A=function(e,t){var n=e.value.body;return n=e.value.star?n.replace(/ /g,"\u2423"):n.replace(/ /g,"\xa0")},P=function(e,t){var n=_(["mord","rule"],[],t),r=Object(f.a)(e,t);return n.style.marginRight=r+"em",n},I=function(e,t,n){return R(e)+"-"+N(t,n)},R=function(e){var t="";switch(e){case"amsrm":t="AMS";break;case"textrm":t="Main";break;case"textsf":t="SansSerif";break;case"texttt":t="Typewriter";break;default:throw new Error("Invalid font provided: "+e)}return t},N=function(e,t){var n="";return"textbf"===e&&(n+="Bold"),"textit"===t&&(n+="Italic"),n||"Regular"},M={"\\qquad":{size:"2em",className:"qquad"},"\\quad":{size:"1em",className:"quad"},"\\enspace":{size:"0.5em",className:"enspace"},"\\;":{size:"0.277778em",className:"thickspace"},"\\:":{size:"0.22222em",className:"mediumspace"},"\\,":{size:"0.16667em",className:"thinspace"},"\\!":{size:"-0.16667em",className:"negativethinspace"}},D={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},L={vec:["vec",.471,.714]},j=function(e,t){var n=i()(L[e],3),r=n[0],o=n[1],a=n[2],l=new s.a.pathNode(r),u=new s.a.svgNode([l],{width:o+"em",height:a+"em",style:"width:"+o+"em",viewBox:"0 0 "+1e3*o+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),c=_(["overlay"],[u],t);return c.height=a,c.style.height=a+"em",c.style.width=o+"em",c};t.a={fontMap:D,makeSymbol:m,mathsym:g,makeSpan:_,makeLineSpan:x,makeAnchor:k,makeFragment:S,makeVList:O,makeOrd:w,makeVerb:A,makeGlue:P,staticSvg:j,svgData:L,tryCombineChars:E,spacingFunctions:M}},function(e,t,n){"use strict";var r=n(18),i=n.n(r),o=n(7),a=n.n(o),s=n(10),l=n.n(s),u=n(5),c=function(){function e(t,n){a()(this,e),this.type=t,this.attributes={},this.children=n||[]}return l()(e,[{key:"setAttribute",value:function(e,t){this.attributes[e]=t}},{key:"toNode",value:function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);var n=!0,r=!1,o=void 0;try{for(var a,s=i()(this.children);!(n=(a=s.next()).done);n=!0){var l=a.value;e.appendChild(l.toNode())}}catch(e){r=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return e}},{key:"toMarkup",value:function(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=u.a.escape(this.attributes[t]),e+='"');e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</"+this.type+">"}},{key:"toText",value:function(){return"mspace"===this.type?"0.16667em"===this.attributes.width?"\u2006":" ":this.children.map(function(e){return e.toText()}).join("")}}]),e}(),d=function(){function e(t){a()(this,e),this.text=t}return l()(e,[{key:"toNode",value:function(){return document.createTextNode(this.text)}},{key:"toMarkup",value:function(){return u.a.escape(this.text)}},{key:"toText",value:function(){return this.text}}]),e}();t.a={MathNode:c,TextNode:d}},function(e,t,n){"use strict";function r(e,t,n){var r=g(e,n),o=new a.a.MathNode("mrow",r),s=new a.a.MathNode("annotation",[new a.a.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new a.a.MathNode("semantics",[o,s]),u=new a.a.MathNode("math",[l]);return i.a.makeSpan(["katex-mathml"],[u])}n.d(t,"e",function(){return f}),n.d(t,"d",function(){return p}),n.d(t,"a",function(){return g}),n.d(t,"b",function(){return v}),t.c=r;var i=n(0),o=n(30),a=n(1),s=n(6),l=n(9),u=n(28),c=n(5),d=n(13),f=function(e,t){return u.a[t][e]&&u.a[t][e].replace&&(e=u.a[t][e].replace),new a.a.TextNode(e)},h=function(e,t){var n=t.fontFamily;if(!n)return null;var r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"bold-italic";var a=e.value;if(c.a.contains(["\\imath","\\jmath"],a))return null;u.a[r][a]&&u.a[r][a].replace&&(a=u.a[r][a].replace);var s=i.a.fontMap[n].fontName;return o.a.getCharacterMetrics(a,s,r)?i.a.fontMap[n].variant:null},p={},m={mi:"italic",mn:"normal",mtext:"normal"};p.mathord=function(e,t){var n=new a.a.MathNode("mi",[f(e.value,e.mode)]),r=h(e,t)||"italic";return r!==m[n.type]&&n.setAttribute("mathvariant",r),n},p.textord=function(e,t){var n=f(e.value,e.mode),r=h(e,t)||"normal",i=void 0;return i="text"===e.mode?new a.a.MathNode("mtext",[n]):/[0-9]/.test(e.value)?new a.a.MathNode("mn",[n]):"\\prime"===e.value?new a.a.MathNode("mo",[n]):new a.a.MathNode("mi",[n]),r!==m[i.type]&&i.setAttribute("mathvariant",r),i},p.bin=function(e,t){var n=new a.a.MathNode("mo",[f(e.value,e.mode)]),r=h(e,t);return"bold-italic"===r&&n.setAttribute("mathvariant",r),n},p.rel=function(e){return new a.a.MathNode("mo",[f(e.value,e.mode)])},p.open=function(e){return new a.a.MathNode("mo",[f(e.value,e.mode)])},p.close=function(e){return new a.a.MathNode("mo",[f(e.value,e.mode)])},p.inner=function(e){return new a.a.MathNode("mo",[f(e.value,e.mode)])},p.punct=function(e){var t=new a.a.MathNode("mo",[f(e.value,e.mode)]);return t.setAttribute("separator","true"),t},p.ordgroup=function(e,t){var n=g(e.value,t);return new a.a.MathNode("mrow",n)},p.supsub=function(e,t){var n=!1,r=void 0;e.value.base&&"horizBrace"===e.value.base.value.type&&!!e.value.sup===e.value.base.value.isOver&&(n=!0,r=e.value.base.value.isOver);var i=[v(e.value.base,t,!0)];e.value.sub&&i.push(v(e.value.sub,t,!0)),e.value.sup&&i.push(v(e.value.sup,t,!0));var o=void 0;if(n)o=r?"mover":"munder";else if(e.value.sub)if(e.value.sup){var s=e.value.base;o=s&&s.value.limits&&t.style===l.a.DISPLAY?"munderover":"msubsup"}else{var u=e.value.base;o=u&&u.value.limits&&t.style===l.a.DISPLAY?"munder":"msub"}else{var c=e.value.base;o=c&&c.value.limits&&t.style===l.a.DISPLAY?"mover":"msup"}return new a.a.MathNode(o,i)},p.spacing=function(e){var t=void 0;return"\\ "===e.value||"\\space"===e.value||" "===e.value||"~"===e.value?t=new a.a.MathNode("mtext",[new a.a.TextNode("\xa0")]):(t=new a.a.MathNode("mspace"),t.setAttribute("width",i.a.spacingFunctions[e.value].size)),t},p.horizBrace=function(e,t){var n=d.a.mathMLnode(e.value.label);return new a.a.MathNode(e.value.isOver?"mover":"munder",[v(e.value.base,t),n])},p.xArrow=function(e,t){var n=d.a.mathMLnode(e.value.label),r=void 0,i=void 0;if(e.value.body){var o=v(e.value.body,t);e.value.below?(i=v(e.value.below,t),r=new a.a.MathNode("munderover",[n,i,o])):r=new a.a.MathNode("mover",[n,o])}else e.value.below?(i=v(e.value.below,t),r=new a.a.MathNode("munder",[n,i])):r=new a.a.MathNode("mover",[n]);return r},p.mclass=function(e,t){var n=g(e.value.value,t);return new a.a.MathNode("mstyle",n)},p.raisebox=function(e,t){var n=new a.a.MathNode("mpadded",[v(e.value.body,t)]),r=e.value.dy.value.number+e.value.dy.value.unit;return n.setAttribute("voffset",r),n};var g=function(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r];n.push(v(i,t))}return n},v=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return new a.a.MathNode("mrow");if(p[e.type]){var r=p[e.type](e,t);return n&&"mrow"===r.type&&1===r.children.length?r.children[0]:r}throw new s.a("Got group of unknown type: '"+e.type+"'")}},function(e,t,n){"use strict";function r(e){for(var t=e.type,n=e.names,r=e.props,s=e.handler,l=e.htmlBuilder,u=e.mathmlBuilder,c={numArgs:r.numArgs,argTypes:r.argTypes,greediness:void 0===r.greediness?1:r.greediness,allowedInText:!!r.allowedInText,allowedInMath:void 0===r.allowedInMath||r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,handler:s},d=0;d<n.length;++d)a[n[d]]=c;t&&(l&&(i.d[t]=l),u&&(o.d[t]=u))}n.d(t,"a",function(){return a}),t.b=r,n.d(t,"c",function(){return s});var i=n(4),o=n(2),a={},s=function(e){return"ordgroup"===e.type?e.value:[e]}},function(e,t,n){"use strict";function r(e,t){e=JSON.parse(o()(e));var n=w(e,t,!0),r=g(["base"],n,t),i=g(["strut"]),a=g(["strut","bottom"]);i.style.height=r.height+"em",a.style.height=r.height+r.depth+"em",a.style.verticalAlign=-r.depth+"em";var s=g(["katex-html"],[i,a,r]);return s.setAttribute("aria-hidden","true"),s}n.d(t,"a",function(){return w}),n.d(t,"e",function(){return k}),n.d(t,"d",function(){return S}),n.d(t,"b",function(){return C}),t.c=r;var i=n(77),o=n.n(i),a=n(35),s=n.n(a),l=n(6),u=n(9),c=n(0),d=n(12),f=n(19),h=n(5),p=n(13),m=n(112),g=c.a.makeSpan,v=function(e,t){return e?h.a.contains(["mbin","mopen","mrel","mop","mpunct"],T(e,"right")):t},y=function(e,t){return e?h.a.contains(["mrel","mclose","mpunct"],T(e,"left")):t},b={display:u.a.DISPLAY,text:u.a.TEXT,script:u.a.SCRIPT,scriptscript:u.a.SCRIPTSCRIPT},w=function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[null,null],i=[],o=0;o<e.length;o++){var a=e[o],l=C(a,t);l instanceof d.a.documentFragment?i.push.apply(i,s()(l.children)):i.push(l)}for(var u=[r[0]&&g([r[0]],[],t)].concat(s()(i.filter(function(e){return e&&"mspace"!==e.classes[0]})),[r[1]&&g([r[1]],[],t)]),f=1;f<u.length-1;f++){var h=E(u[f],"left");"mbin"===h.classes[0]&&v(u[f-1],n)&&(h.classes[0]="mord");var p=E(u[f],"right");"mbin"===p.classes[0]&&y(u[f+1],n)&&(p.classes[0]="mord")}for(var w=[],x=0,k=0;k<i.length;k++)if(w.push(i[k]),"mspace"!==i[k].classes[0]&&x<u.length-1){0===x&&(w.pop(),k--);var S=T(u[x],"right"),O=T(u[x+1],"left");if(S&&O&&n){var A=_(u[x+1])?m.b[S][O]:m.a[S][O];if(A){var P=t;1===e.length&&("sizing"===e[0].type?P=t.havingSize(e[0].value.size):"styling"===e[0].type&&(P=t.havingStyle(b[e[0].value.style]))),w.push(c.a.makeGlue(A,P))}}x++}for(var I=0;I<w.length;I++)"\u0338"===w[I].value&&(w[I].style.position="absolute",w[I].style.paddingLeft="0.8em");return w},E=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";if((t instanceof d.a.documentFragment||t instanceof d.a.anchor)&&t.children.length){if("right"===n)return e(t.children[t.children.length-1]);if("left"===n)return e(t.children[0])}return t},T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";return e?(e=E(e,t),h.a.contains(["mord","mop","mbin","mrel","mopen","mclose","mpunct","minner"],e.classes[0])?e.classes[0]:null):null},_=function(e){return e=E(e,"left"),h.a.contains(e.classes,"mtight")},x=function(e,t){if(e.value.base){var n=e.value.base;if("op"===n.type)return n.value.limits&&(t.style.size===u.a.DISPLAY.size||n.value.alwaysHandleSupSub);if("accent"===n.type)return h.a.isCharacterBox(n.value.base);if("horizBrace"===n.type){return!e.value.sub===n.value.isOver}return null}return!1},k=function(e,t){var n=["nulldelimiter"].concat(e.baseSizingClasses());return g(t.concat(n))},S={};S.mathord=function(e,t){return c.a.makeOrd(e,t,"mathord")},S.textord=function(e,t){return c.a.makeOrd(e,t,"textord")},S.bin=function(e,t){return c.a.mathsym(e.value,e.mode,t,["mbin"])},S.rel=function(e,t){return c.a.mathsym(e.value,e.mode,t,["mrel"])},S.open=function(e,t){return c.a.mathsym(e.value,e.mode,t,["mopen"])},S.close=function(e,t){return c.a.mathsym(e.value,e.mode,t,["mclose"])},S.inner=function(e,t){return c.a.mathsym(e.value,e.mode,t,["minner"])},S.punct=function(e,t){return c.a.mathsym(e.value,e.mode,t,["mpunct"])},S.ordgroup=function(e,t){return g(["mord"],w(e.value,t,!0),t)},S.supsub=function(e,t){if(x(e,t))return S[e.value.base.type](e,t);var n=C(e.value.base,t),r=void 0,i=void 0,o=t.fontMetrics(),a=void 0,s=0,l=0;e.value.sup&&(a=t.havingStyle(t.style.sup()),r=C(e.value.sup,a,t),h.a.isCharacterBox(e.value.base)||(s=n.height-a.fontMetrics().supDrop*a.sizeMultiplier/t.sizeMultiplier)),e.value.sub&&(a=t.havingStyle(t.style.sub()),i=C(e.value.sub,a,t),h.a.isCharacterBox(e.value.base)||(l=n.depth+a.fontMetrics().subDrop*a.sizeMultiplier/t.sizeMultiplier));var f=void 0;f=t.style===u.a.DISPLAY?o.sup1:t.style.cramped?o.sup3:o.sup2;var p=t.sizeMultiplier,m=.5/o.ptPerEm/p+"em",v=void 0;if(e.value.sup)if(e.value.sub){s=Math.max(s,f,r.depth+.25*o.xHeight),l=Math.max(l,o.sub2);var y=o.defaultRuleThickness;if(s-r.depth-(i.height-l)<4*y){l=4*y-(s-r.depth)+i.height;var b=.8*o.xHeight-(s-r.depth);b>0&&(s+=b,l-=b)}var w=[{type:"elem",elem:i,shift:l,marginRight:m},{type:"elem",elem:r,shift:-s,marginRight:m}];n instanceof d.a.symbolNode&&(w[0].marginLeft=-n.italic+"em"),v=c.a.makeVList({positionType:"individualShift",children:w},t)}else s=Math.max(s,f,r.depth+.25*o.xHeight),v=c.a.makeVList({positionType:"shift",positionData:-s,children:[{type:"elem",elem:r,marginRight:m}]},t);else{l=Math.max(l,o.sub1,i.height-.8*o.xHeight);var E=[{type:"elem",elem:i,marginRight:m}];n instanceof d.a.symbolNode&&(E[0].marginLeft=-n.italic+"em"),v=c.a.makeVList({positionType:"shift",positionData:l,children:E},t)}var _=T(n)||"mord";return g([_],[n,g(["msupsub"],[v])],t)},S.spacing=function(e,t){return"\\ "===e.value||"\\space"===e.value||" "===e.value||"~"===e.value?"text"===e.mode?c.a.makeOrd(e,t,"textord"):g(["mspace"],[c.a.mathsym(e.value,e.mode,t)],t):g(["mspace",c.a.spacingFunctions[e.value].className],[],t)},S.horizBrace=function(e,t){var n=t.style,r="supsub"===e.type,i=void 0,o=void 0;r&&(e.value.sup?(o=t.havingStyle(n.sup()),i=C(e.value.sup,o,t)):(o=t.havingStyle(n.sub()),i=C(e.value.sub,o,t)),e=e.value.base);var a=C(e.value.base,t.havingBaseStyle(u.a.DISPLAY)),s=p.a.svgSpan(e,t),l=void 0;if(e.value.isOver?(l=c.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t),l.children[0].children[0].children[1].classes.push("svg-align")):(l=c.a.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t),l.children[0].children[0].children[0].classes.push("svg-align")),r){var d=g(["mord",e.value.isOver?"mover":"munder"],[l],t);l=e.value.isOver?c.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:d},{type:"kern",size:.2},{type:"elem",elem:i}]},t):c.a.makeVList({positionType:"bottom",positionData:d.depth+.2+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.2},{type:"elem",elem:d}]},t)}return g(["mord",e.value.isOver?"mover":"munder"],[l],t)},S.xArrow=function(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=C(e.value.body,r,t);i.classes.push("x-arrow-pad");var o=void 0;e.value.below&&(r=t.havingStyle(n.sub()),o=C(e.value.below,r,t),o.classes.push("x-arrow-pad"));var a=p.a.svgSpan(e,t),s=-t.fontMetrics().axisHeight+.5*a.height,l=-t.fontMetrics().axisHeight-.5*a.height-.111;"\\xleftequilibrium"===e.value.label&&(l-=i.depth);var u=void 0;if(e.value.below){var d=-t.fontMetrics().axisHeight+o.height+.5*a.height+.111;u=c.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:l},{type:"elem",elem:a,shift:s},{type:"elem",elem:o,shift:d}]},t)}else u=c.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:l},{type:"elem",elem:a,shift:s}]},t);return u.children[0].children[0].children[1].classes.push("svg-align"),g(["mrel","x-arrow"],[u],t)},S.mclass=function(e,t){var n=w(e.value.value,t,!0);return g([e.value.mclass],n,t)},S.raisebox=function(e,t){var n=S.sizing({value:{value:[{type:"text",value:{body:e.value.value,font:"mathrm"}}],size:6}},t),r=Object(f.a)(e.value.dy.value,t);return c.a.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)};var C=function(e,t,n){if(!e)return g();if(S[e.type]){var r=S[e.type](e,t);if(n&&t.size!==n.size){r=g(t.sizingClasses(n),[r],t);var i=t.sizeMultiplier/n.sizeMultiplier;r.height*=i,r.depth*=i}return r}throw new l.a("Got group of unknown type: '"+e.type+"'")}},function(e,t,n){"use strict";function r(e){return String(e).replace(f,function(e){return d[e]})}function i(e){h(e,"")}var o=Array.prototype.indexOf,a=function(e,t){if(null==e)return-1;if(o&&e.indexOf===o)return e.indexOf(t);for(var n=e.length,r=0;r<n;r++)if(e[r]===t)return r;return-1},s=function(e,t){return-1!==a(e,t)},l=function(e,t){return void 0===e?t:e},u=/([A-Z])/g,c=function(e){return e.replace(u,"-$1").toLowerCase()},d={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},f=/[&><"']/g,h=void 0;if("undefined"!==typeof document){var p=document.createElement("span");h="textContent"in p?function(e,t){e.textContent=t}:function(e,t){e.innerText=t}}var m=function e(t){return!!t&&("ordgroup"===t.type?1===t.value.length?e(t.value[0]):t:"color"===t.type?1===t.value.value.length?e(t.value.value[0]):t:"font"===t.type?e(t.value.body):t)},g=function(e){var t=m(e);return"mathord"===t.type||"textord"===t.type||"bin"===t.type||"rel"===t.type||"inner"===t.type||"open"===t.type||"close"===t.type||"punct"===t.type};t.a={contains:s,deflt:l,escape:r,hyphenate:c,indexOf:a,setTextContent:h,clearNode:i,getBaseElem:m,isCharacterBox:g}},function(e,t,n){"use strict";var r=n(7),i=n.n(r),o=(n(14),n(27),function e(t,n){i()(this,e);var r="KaTeX parse error: "+t,o=void 0,a=n&&n.loc;if(a&&a.start<=a.end){var s=a.lexer.input;o=a.start;var l=a.end;o===s.length?r+=" at end of input: ":r+=" at position "+(o+1)+": ";var u=s.slice(o,l).replace(/[^]/g,"$&\u0332"),c=void 0;c=o>15?"\u2026"+s.slice(o-15,o):s.slice(0,o);var d=void 0;d=l+15<s.length?s.slice(l,l+15)+"\u2026":s.slice(l),r+=c+u+d}var f=new Error(r);return f.name="ParseError",f.__proto__=e.prototype,f.position=o,f});o.prototype.__proto__=Error.prototype,t.a=o},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";var r=n(7),i=n.n(r),o=n(10),a=n.n(o),s=function(){function e(t,n,r){i()(this,e),this.id=t,this.size=n,this.cramped=r}return a()(e,[{key:"sup",value:function(){return l[u[this.id]]}},{key:"sub",value:function(){return l[c[this.id]]}},{key:"fracNum",value:function(){return l[d[this.id]]}},{key:"fracDen",value:function(){return l[f[this.id]]}},{key:"cramp",value:function(){return l[h[this.id]]}},{key:"text",value:function(){return l[p[this.id]]}},{key:"isTight",value:function(){return this.size>=2}}]),e}(),l=[new s(0,0,!1),new s(1,0,!0),new s(2,1,!1),new s(3,1,!0),new s(4,2,!1),new s(5,2,!0),new s(6,3,!1),new s(7,3,!0)],u=[4,5,4,5,6,7,6,7],c=[5,5,5,5,7,7,7,7],d=[2,3,4,5,6,7,6,7],f=[3,3,5,5,7,7,7,7],h=[1,1,3,3,5,5,7,7],p=[0,1,2,3,2,3,2,3];t.a={DISPLAY:l[0],TEXT:l[2],SCRIPT:l[4],SCRIPTSCRIPT:l[6]}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(73),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){var r=n(52)("wks"),i=n(32),o=n(16).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r=n(18),i=n.n(r),o=n(105),a=n.n(o),s=n(7),l=n.n(s),u=n(10),c=n.n(u),d=n(42),f=n(5),h=n(111),p=function(e){e=e.slice();for(var t=e.length-1;t>=0;t--)e[t]||e.splice(t,1);return e.join(" ")},m=function(){function e(t,n,r,i){if(l()(this,e),this.classes=t||[],this.children=n||[],this.height=0,this.depth=0,this.maxFontSize=0,this.style=a()({},i),this.attributes={},r){r.style.isTight()&&this.classes.push("mtight");var o=r.getColor();o&&(this.style.color=o)}}return c()(e,[{key:"setAttribute",value:function(e,t){this.attributes[e]=t}},{key:"tryCombine",value:function(e){return!1}},{key:"toNode",value:function(){var e=document.createElement("span");e.className=p(this.classes);for(var t in this.style)Object.prototype.hasOwnProperty.call(this.style,t)&&(e.style[t]=this.style[t]);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}},{key:"toMarkup",value:function(){var e="<span";this.classes.length&&(e+=' class="',e+=f.a.escape(p(this.classes)),e+='"');var t="";for(var n in this.style)this.style.hasOwnProperty(n)&&(t+=f.a.hyphenate(n)+":"+this.style[n]+";");t&&(e+=' style="'+f.a.escape(t)+'"');for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="',e+=f.a.escape(this.attributes[r]),e+='"');e+=">";for(var i=0;i<this.children.length;i++)e+=this.children[i].toMarkup();return e+="</span>"}}]),e}(),g=function(){function e(t,n,r,i){l()(this,e),this.href=t,this.classes=n,this.children=r,this.height=0,this.depth=0,this.maxFontSize=0,this.style={},this.attributes={},i.style.isTight()&&this.classes.push("mtight");var o=i.getColor();o&&(this.style.color=o)}return c()(e,[{key:"setAttribute",value:function(e,t){this.attributes[e]=t}},{key:"tryCombine",value:function(e){return!1}},{key:"toNode",value:function(){var e=document.createElement("a");e.setAttribute("href",this.href),this.classes.length&&(e.className=p(this.classes));for(var t in this.style)Object.prototype.hasOwnProperty.call(this.style,t)&&(e.style[t]=this.style[t]);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}},{key:"toMarkup",value:function(){var e="<a";e+='href="'+(e+=f.a.escape(this.href))+'"',this.classes.length&&(e+=' class="'+f.a.escape(p(this.classes))+'"');var t="";for(var n in this.style)this.style.hasOwnProperty(n)&&(t+=f.a.hyphenate(n)+":"+this.style[n]+";");t&&(e+=' style="'+f.a.escape(t)+'"');for(var r in this.attributes)"href"!==r&&Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="'+f.a.escape(this.attributes[r])+'"');e+=">";var o=!0,a=!1,s=void 0;try{for(var l,u=i()(this.children);!(o=(l=u.next()).done);o=!0){e+=l.value.toMarkup()}}catch(e){a=!0,s=e}finally{try{!o&&u.return&&u.return()}finally{if(a)throw s}}return e+="</a>"}}]),e}(),v=function(){function e(t){l()(this,e),this.children=t||[],this.height=0,this.depth=0,this.maxFontSize=0}return c()(e,[{key:"toNode",value:function(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}},{key:"toMarkup",value:function(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}}]),e}(),y={"\xee":"\u0131\u0302","\xef":"\u0131\u0308","\xed":"\u0131\u0301","\xec":"\u0131\u0300"},b=function(){function e(t,n,r,i,o,s,u,c){l()(this,e),this.value=t,this.height=n||0,this.depth=r||0,this.italic=i||0,this.skew=o||0,this.width=s||0,this.classes=u||[],this.style=a()({},c),this.maxFontSize=0;var f=Object(d.a)(this.value.charCodeAt(0));f&&this.classes.push(f+"_fallback"),/[\xee\xef\xed\xec]/.test(this.value)&&(this.value=y[this.value])}return c()(e,[{key:"tryCombine",value:function(t){if(!t||!(t instanceof e)||this.italic>0||p(this.classes)!==p(t.classes)||this.skew!==t.skew||this.maxFontSize!==t.maxFontSize)return!1;for(var n in this.style)if(this.style.hasOwnProperty(n)&&this.style[n]!==t.style[n])return!1;for(var r in t.style)if(t.style.hasOwnProperty(r)&&this.style[r]!==t.style[r])return!1;return this.value+=t.value,this.height=Math.max(this.height,t.height),this.depth=Math.max(this.depth,t.depth),this.italic=t.italic,!0}},{key:"toNode",value:function(){var e=document.createTextNode(this.value),t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=this.italic+"em"),this.classes.length>0&&(t=t||document.createElement("span"),t.className=p(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e}},{key:"toMarkup",value:function(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=f.a.escape(p(this.classes)),t+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=f.a.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+f.a.escape(n)+'"');var i=f.a.escape(this.value);return e?(t+=">",t+=i,t+="</span>"):i}}]),e}(),w=function(){function e(t,n){l()(this,e),this.children=t||[],this.attributes=n||{},this.height=0,this.depth=0,this.maxFontSize=0}return c()(e,[{key:"toNode",value:function(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}},{key:"toMarkup",value:function(){var e="<svg";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</svg>"}}]),e}(),E=function(){function e(t,n){l()(this,e),this.pathName=t,this.alternate=n}return c()(e,[{key:"toNode",value:function(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",h.a.path[this.pathName]),e}},{key:"toMarkup",value:function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+h.a.path[this.pathName]+"'/>"}}]),e}(),T=function(){function e(t){l()(this,e),this.attributes=t||{}}return c()(e,[{key:"toNode",value:function(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}},{key:"toMarkup",value:function(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");return e+="/>"}}]),e}();t.a={span:m,anchor:g,documentFragment:v,symbolNode:b,svgNode:w,pathNode:E,lineNode:T}},function(e,t,n){"use strict";var r=n(57),i=n.n(r),o=n(12),a=n(0),s=n(1),l=n(5),u={widehat:"^",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23b5",overbrace:"\u23de",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21d2",xRightarrow:"\u21d2",overleftharpoon:"\u21bc",xleftharpoonup:"\u21bc",overrightharpoon:"\u21c0",xrightharpoonup:"\u21c0",xLeftarrow:"\u21d0",xLeftrightarrow:"\u21d4",xhookleftarrow:"\u21a9",xhookrightarrow:"\u21aa",xmapsto:"\u21a6",xrightharpoondown:"\u21c1",xleftharpoondown:"\u21bd",xrightleftharpoons:"\u21cc",xleftrightharpoons:"\u21cb",xtwoheadleftarrow:"\u219e",xtwoheadrightarrow:"\u21a0",xlongequal:"=",xtofrom:"\u21c4",xrightleftarrows:"\u21c4",xrightequilibrium:"\u21cc",xleftequilibrium:"\u21cb"},c=function(e){var t=new s.a.MathNode("mo",[new s.a.TextNode(u[e.substr(1)])]);return t.setAttribute("stretchy","true"),t},d={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,667],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},f=function(e){return"ordgroup"===e.type?e.value.length:1},h=function(e,t){var n=function(){var n=4e5,r=e.value.label.substr(1);if(l.a.contains(["widehat","widetilde","utilde"],r)){var s=f(e.value.base),u=void 0,c=void 0,h=void 0;if(s>5)u="widehat"===r?420:312,n="widehat"===r?2364:2340,h="widehat"===r?.42:.34,c=("widehat"===r?"widehat":"tilde")+"4";else{var p=[1,1,2,2,3,3][s];"widehat"===r?(n=[0,1062,2364,2364,2364][p],u=[0,239,300,360,420][p],h=[0,.24,.3,.3,.36,.42][p],c="widehat"+p):(n=[0,600,1033,2339,2340][p],u=[0,260,286,306,312][p],h=[0,.26,.286,.3,.306,.34][p],c="tilde"+p)}var m=new o.a.pathNode(c),g=new o.a.svgNode([m],{width:"100%",height:h+"em",viewBox:"0 0 "+n+" "+u,preserveAspectRatio:"none"});return{span:a.a.makeSpan([],[g],t),minWidth:0,height:h}}var v=[],y=i()(d[r],4),b=y[0],w=y[1],E=y[2],T=y[3],_=E/1e3,x=b.length,k=void 0,S=void 0;if(1===x)k=["hide-tail"],S=[T];else if(2===x)k=["halfarrow-left","halfarrow-right"],S=["xMinYMin","xMaxYMin"];else{if(3!==x)throw new Error("Correct katexImagesData or update code here to support\n                    "+x+" children.");k=["brace-left","brace-center","brace-right"],S=["xMinYMin","xMidYMin","xMaxYMin"]}for(var C=0;C<x;C++){var O=new o.a.pathNode(b[C]),A=new o.a.svgNode([O],{width:"400em",height:_+"em",viewBox:"0 0 "+n+" "+E,preserveAspectRatio:S[C]+" slice"}),P=a.a.makeSpan([k[C]],[A],t);if(1===x)return{span:P,minWidth:w,height:_};P.style.height=_+"em",v.push(P)}return{span:a.a.makeSpan(["stretchy"],v,t),minWidth:w,height:_}}(),r=n.span,s=n.minWidth,u=n.height;return r.height=u,r.style.height=u+"em",s>0&&(r.style.minWidth=s+"em"),r},p=function(e,t,n,r){var i=void 0,s=e.height+e.depth+2*n;if(/fbox|color/.test(t)){if(i=a.a.makeSpan(["stretchy",t],[],r),"fbox"===t){var l=r.color&&r.getColor();l&&(i.style.borderColor=l)}}else{var u=[];/^[bx]cancel$/.test(t)&&u.push(new o.a.lineNode({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&u.push(new o.a.lineNode({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new o.a.svgNode(u,{width:"100%",height:s+"em"});i=a.a.makeSpan([],[c],r)}return i.height=s,i.style.height=s+"em",i},m=function(e,t,n){var r=void 0,i=void 0,s="stretchy";return"vertical-separator"===e?(r=new o.a.pathNode("vertSeparator"),i=new o.a.svgNode([r],{width:"0.25em",height:"400em",viewBox:"0 0 250 400000",preserveAspectRatio:"xMinYMin slice"}),s="vertical-separator"):(r=new o.a.pathNode("stdHorizRule"),i=new o.a.svgNode([r],{width:"400em",height:5*t+"em",viewBox:"0 0 400000 200",preserveAspectRatio:"xMinYMin slice"})),a.a.makeSpan([s],[i],n)};t.a={encloseSpan:p,mathMLnode:c,ruleSpan:m,svgSpan:h}},function(e,t,n){"use strict";var r=n(7),i=n.n(r),o=n(31),a=function e(t,n,r,a,s){i()(this,e),this.type=t,this.value=n,this.mode=r,this.loc=o.a.range(a,s)};t.a=a},function(e,t,n){var r=n(22),i=n(70),o=n(71),a=Object.defineProperty;t.f=n(23)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports={}},function(e,t,n){e.exports={default:n(103),__esModule:!0}},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return s});var r=n(6),i=(n(43),{pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375}),o={ex:!0,em:!0,mu:!0},a=function(e){return"string"!==typeof e&&(e=e.unit),e in i||e in o||"ex"===e},s=function(e,t){var n=void 0;if(e.unit in i)n=i[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{var o=void 0;if(o=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=o.fontMetrics().xHeight;else{if("em"!==e.unit)throw new r.a("Invalid unit: '"+e.unit+"'");n=o.fontMetrics().quad}o!==t&&(n*=o.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)}},function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(20);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(16),i=n(8),o=n(47),a=n(26),s=function(e,t,n){var l,u,c,d=e&s.F,f=e&s.G,h=e&s.S,p=e&s.P,m=e&s.B,g=e&s.W,v=f?i:i[t]||(i[t]={}),y=v.prototype,b=f?r:h?r[t]:(r[t]||{}).prototype;f&&(n=t);for(l in n)(u=!d&&b&&void 0!==b[l])&&l in v||(c=u?b[l]:n[l],v[l]=f&&"function"!=typeof b[l]?n[l]:m&&u?o(c,r):g&&b[l]==c?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(c):p&&"function"==typeof c?o(Function.call,c):c,p&&((v.virtual||(v.virtual={}))[l]=c,e&s.R&&y&&!y[l]&&a(y,l,c)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,n){var r=n(15),i=n(33);e.exports=n(23)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(7),i=n.n(r),o=n(10),a=n.n(o),s=n(31),l=function(){function e(t,n){i()(this,e),this.text=t,this.loc=n}return a()(e,[{key:"range",value:function(t,n){return new e(n,s.a.range(this,t))}}]),e}()},function(e,t,n){"use strict";function r(e,t,n,r,o,a){i[e][o]={font:t,group:n,replace:r},a&&r&&(i[e][r]=i[e][o])}var i={math:{},text:{}};t.a=i;var o="math",a="text",s="main",l="ams",u="accent",c="bin",d="close",f="mathord",h="op",p="open",m="rel",g="spacing",v="textord";r(o,s,m,"\u2261","\\equiv",!0),r(o,s,m,"\u227a","\\prec",!0),r(o,s,m,"\u227b","\\succ",!0),r(o,s,m,"\u223c","\\sim",!0),r(o,s,m,"\u22a5","\\perp"),r(o,s,m,"\u2aaf","\\preceq",!0),r(o,s,m,"\u2ab0","\\succeq",!0),r(o,s,m,"\u2243","\\simeq",!0),r(o,s,m,"\u2223","\\mid",!0),r(o,s,m,"\u226a","\\ll"),r(o,s,m,"\u226b","\\gg",!0),r(o,s,m,"\u224d","\\asymp",!0),r(o,s,m,"\u2225","\\parallel"),r(o,s,m,"\u22c8","\\bowtie",!0),r(o,s,m,"\u2323","\\smile",!0),r(o,s,m,"\u2291","\\sqsubseteq",!0),r(o,s,m,"\u2292","\\sqsupseteq",!0),r(o,s,m,"\u2250","\\doteq",!0),r(o,s,m,"\u2322","\\frown",!0),r(o,s,m,"\u220b","\\ni",!0),r(o,s,m,"\u221d","\\propto",!0),r(o,s,m,"\u22a2","\\vdash",!0),r(o,s,m,"\u22a3","\\dashv",!0),r(o,s,m,"\u220b","\\owns"),r(o,s,"punct",".","\\ldotp"),r(o,s,"punct","\u22c5","\\cdotp"),r(o,s,v,"#","\\#"),r(a,s,v,"#","\\#"),r(o,s,v,"&","\\&"),r(a,s,v,"&","\\&"),r(o,s,v,"\u2135","\\aleph",!0),r(o,s,v,"\u2200","\\forall",!0),r(o,s,v,"\u210f","\\hbar"),r(o,s,v,"\u2203","\\exists",!0),r(o,s,v,"\u2207","\\nabla",!0),r(o,s,v,"\u266d","\\flat",!0),r(o,s,v,"\u2113","\\ell",!0),r(o,s,v,"\u266e","\\natural",!0),r(o,s,v,"\u2663","\\clubsuit",!0),r(o,s,v,"\u2118","\\wp",!0),r(o,s,v,"\u266f","\\sharp",!0),r(o,s,v,"\u2662","\\diamondsuit",!0),r(o,s,v,"\u211c","\\Re",!0),r(o,s,v,"\u2661","\\heartsuit",!0),r(o,s,v,"\u2111","\\Im",!0),r(o,s,v,"\u2660","\\spadesuit",!0),r(a,s,v,"\xa7","\\S",!0),r(a,s,v,"\xb6","\\P",!0),r(o,s,v,"\u2020","\\dag"),r(a,s,v,"\u2020","\\dag"),r(a,s,v,"\u2020","\\textdagger"),r(o,s,v,"\u2021","\\ddag"),r(a,s,v,"\u2021","\\ddag"),r(a,s,v,"\u2020","\\textdaggerdbl"),r(o,s,d,"\u23b1","\\rmoustache"),r(o,s,p,"\u23b0","\\lmoustache"),r(o,s,d,"\u27ef","\\rgroup"),r(o,s,p,"\u27ee","\\lgroup"),r(o,s,c,"\u2213","\\mp",!0),r(o,s,c,"\u2296","\\ominus",!0),r(o,s,c,"\u228e","\\uplus",!0),r(o,s,c,"\u2293","\\sqcap",!0),r(o,s,c,"\u2217","\\ast"),r(o,s,c,"\u2294","\\sqcup",!0),r(o,s,c,"\u25ef","\\bigcirc"),r(o,s,c,"\u2219","\\bullet"),r(o,s,c,"\u2021","\\ddagger"),r(o,s,c,"\u2240","\\wr",!0),r(o,s,c,"\u2a3f","\\amalg"),r(o,s,c,"&","\\And"),r(o,s,m,"\u27f5","\\longleftarrow",!0),r(o,s,m,"\u21d0","\\Leftarrow",!0),r(o,s,m,"\u27f8","\\Longleftarrow",!0),r(o,s,m,"\u27f6","\\longrightarrow",!0),r(o,s,m,"\u21d2","\\Rightarrow",!0),r(o,s,m,"\u27f9","\\Longrightarrow",!0),r(o,s,m,"\u2194","\\leftrightarrow",!0),r(o,s,m,"\u27f7","\\longleftrightarrow",!0),r(o,s,m,"\u21d4","\\Leftrightarrow",!0),r(o,s,m,"\u27fa","\\Longleftrightarrow",!0),r(o,s,m,"\u21a6","\\mapsto",!0),r(o,s,m,"\u27fc","\\longmapsto",!0),r(o,s,m,"\u2197","\\nearrow",!0),r(o,s,m,"\u21a9","\\hookleftarrow",!0),r(o,s,m,"\u21aa","\\hookrightarrow",!0),r(o,s,m,"\u2198","\\searrow",!0),r(o,s,m,"\u21bc","\\leftharpoonup",!0),r(o,s,m,"\u21c0","\\rightharpoonup",!0),r(o,s,m,"\u2199","\\swarrow",!0),r(o,s,m,"\u21bd","\\leftharpoondown",!0),r(o,s,m,"\u21c1","\\rightharpoondown",!0),r(o,s,m,"\u2196","\\nwarrow",!0),r(o,s,m,"\u21cc","\\rightleftharpoons",!0),r(o,l,m,"\u226e","\\nless",!0),r(o,l,m,"\ue010","\\nleqslant"),r(o,l,m,"\ue011","\\nleqq"),r(o,l,m,"\u2a87","\\lneq",!0),r(o,l,m,"\u2268","\\lneqq",!0),r(o,l,m,"\ue00c","\\lvertneqq"),r(o,l,m,"\u22e6","\\lnsim",!0),r(o,l,m,"\u2a89","\\lnapprox",!0),r(o,l,m,"\u2280","\\nprec",!0),r(o,l,m,"\u22e0","\\npreceq",!0),r(o,l,m,"\u22e8","\\precnsim",!0),r(o,l,m,"\u2ab9","\\precnapprox",!0),r(o,l,m,"\u2241","\\nsim",!0),r(o,l,m,"\ue006","\\nshortmid"),r(o,l,m,"\u2224","\\nmid",!0),r(o,l,m,"\u22ac","\\nvdash",!0),r(o,l,m,"\u22ad","\\nvDash",!0),r(o,l,m,"\u22ea","\\ntriangleleft"),r(o,l,m,"\u22ec","\\ntrianglelefteq",!0),r(o,l,m,"\u228a","\\subsetneq",!0),r(o,l,m,"\ue01a","\\varsubsetneq"),r(o,l,m,"\u2acb","\\subsetneqq",!0),r(o,l,m,"\ue017","\\varsubsetneqq"),r(o,l,m,"\u226f","\\ngtr",!0),r(o,l,m,"\ue00f","\\ngeqslant"),r(o,l,m,"\ue00e","\\ngeqq"),r(o,l,m,"\u2a88","\\gneq",!0),r(o,l,m,"\u2269","\\gneqq",!0),r(o,l,m,"\ue00d","\\gvertneqq"),r(o,l,m,"\u22e7","\\gnsim",!0),r(o,l,m,"\u2a8a","\\gnapprox",!0),r(o,l,m,"\u2281","\\nsucc",!0),r(o,l,m,"\u22e1","\\nsucceq",!0),r(o,l,m,"\u22e9","\\succnsim",!0),r(o,l,m,"\u2aba","\\succnapprox",!0),r(o,l,m,"\u2246","\\ncong",!0),r(o,l,m,"\ue007","\\nshortparallel"),r(o,l,m,"\u2226","\\nparallel",!0),r(o,l,m,"\u22af","\\nVDash",!0),r(o,l,m,"\u22eb","\\ntriangleright"),r(o,l,m,"\u22ed","\\ntrianglerighteq",!0),r(o,l,m,"\ue018","\\nsupseteqq"),r(o,l,m,"\u228b","\\supsetneq",!0),r(o,l,m,"\ue01b","\\varsupsetneq"),r(o,l,m,"\u2acc","\\supsetneqq",!0),r(o,l,m,"\ue019","\\varsupsetneqq"),r(o,l,m,"\u22ae","\\nVdash",!0),r(o,l,m,"\u2ab5","\\precneqq",!0),r(o,l,m,"\u2ab6","\\succneqq",!0),r(o,l,m,"\ue016","\\nsubseteqq"),r(o,l,c,"\u22b4","\\unlhd"),r(o,l,c,"\u22b5","\\unrhd"),r(o,l,m,"\u219a","\\nleftarrow",!0),r(o,l,m,"\u219b","\\nrightarrow",!0),r(o,l,m,"\u21cd","\\nLeftarrow",!0),r(o,l,m,"\u21cf","\\nRightarrow",!0),r(o,l,m,"\u21ae","\\nleftrightarrow",!0),r(o,l,m,"\u21ce","\\nLeftrightarrow",!0),r(o,l,m,"\u25b3","\\vartriangle"),r(o,l,v,"\u210f","\\hslash"),r(o,l,v,"\u25bd","\\triangledown"),r(o,l,v,"\u25ca","\\lozenge"),r(o,l,v,"\u24c8","\\circledS"),r(o,l,v,"\xae","\\circledR"),r(a,l,v,"\xae","\\circledR"),r(o,l,v,"\u2221","\\measuredangle",!0),r(o,l,v,"\u2204","\\nexists"),r(o,l,v,"\u2127","\\mho"),r(o,l,v,"\u2132","\\Finv",!0),r(o,l,v,"\u2141","\\Game",!0),r(o,l,v,"k","\\Bbbk"),r(o,l,v,"\u2035","\\backprime"),r(o,l,v,"\u25b2","\\blacktriangle"),r(o,l,v,"\u25bc","\\blacktriangledown"),r(o,l,v,"\u25a0","\\blacksquare"),r(o,l,v,"\u29eb","\\blacklozenge"),r(o,l,v,"\u2605","\\bigstar"),r(o,l,v,"\u2222","\\sphericalangle",!0),r(o,l,v,"\u2201","\\complement",!0),r(o,l,v,"\xf0","\\eth",!0),r(o,l,v,"\u2571","\\diagup"),r(o,l,v,"\u2572","\\diagdown"),r(o,l,v,"\u25a1","\\square"),r(o,l,v,"\u25a1","\\Box"),r(o,l,v,"\u25ca","\\Diamond"),r(o,l,v,"\xa5","\\yen",!0),r(o,l,v,"\u2713","\\checkmark",!0),r(a,l,v,"\u2713","\\checkmark"),r(o,l,v,"\u2136","\\beth",!0),r(o,l,v,"\u2138","\\daleth",!0),r(o,l,v,"\u2137","\\gimel",!0),r(o,l,v,"\u03dd","\\digamma"),r(o,l,v,"\u03f0","\\varkappa"),r(o,l,p,"\u250c","\\ulcorner"),r(o,l,d,"\u2510","\\urcorner"),r(o,l,p,"\u2514","\\llcorner"),r(o,l,d,"\u2518","\\lrcorner"),r(o,l,m,"\u2266","\\leqq",!0),r(o,l,m,"\u2a7d","\\leqslant"),r(o,l,m,"\u2a95","\\eqslantless",!0),r(o,l,m,"\u2272","\\lesssim"),r(o,l,m,"\u2a85","\\lessapprox"),r(o,l,m,"\u224a","\\approxeq",!0),r(o,l,c,"\u22d6","\\lessdot"),r(o,l,m,"\u22d8","\\lll"),r(o,l,m,"\u2276","\\lessgtr"),r(o,l,m,"\u22da","\\lesseqgtr");r(o,l,m,"\u2a8b","\\lesseqqgtr"),r(o,l,m,"\u2251","\\doteqdot"),r(o,l,m,"\u2253","\\risingdotseq",!0),r(o,l,m,"\u2252","\\fallingdotseq",!0),r(o,l,m,"\u223d","\\backsim",!0),r(o,l,m,"\u22cd","\\backsimeq",!0),r(o,l,m,"\u2ac5","\\subseteqq",!0),r(o,l,m,"\u22d0","\\Subset",!0),r(o,l,m,"\u228f","\\sqsubset",!0),r(o,l,m,"\u227c","\\preccurlyeq",!0),r(o,l,m,"\u22de","\\curlyeqprec",!0),r(o,l,m,"\u227e","\\precsim",!0),r(o,l,m,"\u2ab7","\\precapprox",!0),r(o,l,m,"\u22b2","\\vartriangleleft"),r(o,l,m,"\u22b4","\\trianglelefteq"),r(o,l,m,"\u22a8","\\vDash"),r(o,l,m,"\u22aa","\\Vvdash",!0),r(o,l,m,"\u2323","\\smallsmile"),r(o,l,m,"\u2322","\\smallfrown"),r(o,l,m,"\u224f","\\bumpeq",!0),r(o,l,m,"\u224e","\\Bumpeq",!0),r(o,l,m,"\u2267","\\geqq",!0),r(o,l,m,"\u2a7e","\\geqslant",!0),r(o,l,m,"\u2a96","\\eqslantgtr",!0),r(o,l,m,"\u2273","\\gtrsim",!0),r(o,l,m,"\u2a86","\\gtrapprox",!0),r(o,l,c,"\u22d7","\\gtrdot"),r(o,l,m,"\u22d9","\\ggg",!0),r(o,l,m,"\u2277","\\gtrless",!0),r(o,l,m,"\u22db","\\gtreqless",!0),r(o,l,m,"\u2a8c","\\gtreqqless",!0),r(o,l,m,"\u2256","\\eqcirc",!0),r(o,l,m,"\u2257","\\circeq",!0),r(o,l,m,"\u225c","\\triangleq",!0),r(o,l,m,"\u223c","\\thicksim"),r(o,l,m,"\u2248","\\thickapprox"),r(o,l,m,"\u2ac6","\\supseteqq",!0),r(o,l,m,"\u22d1","\\Supset",!0),r(o,l,m,"\u2290","\\sqsupset",!0),r(o,l,m,"\u227d","\\succcurlyeq",!0),r(o,l,m,"\u22df","\\curlyeqsucc",!0),r(o,l,m,"\u227f","\\succsim",!0),r(o,l,m,"\u2ab8","\\succapprox",!0),r(o,l,m,"\u22b3","\\vartriangleright"),r(o,l,m,"\u22b5","\\trianglerighteq"),r(o,l,m,"\u22a9","\\Vdash",!0),r(o,l,m,"\u2223","\\shortmid"),r(o,l,m,"\u2225","\\shortparallel"),r(o,l,m,"\u226c","\\between",!0),r(o,l,m,"\u22d4","\\pitchfork",!0),r(o,l,m,"\u221d","\\varpropto"),r(o,l,m,"\u25c0","\\blacktriangleleft"),r(o,l,m,"\u2234","\\therefore",!0),r(o,l,m,"\u220d","\\backepsilon"),r(o,l,m,"\u25b6","\\blacktriangleright"),r(o,l,m,"\u2235","\\because",!0),r(o,l,m,"\u22d8","\\llless"),r(o,l,m,"\u22d9","\\gggtr"),r(o,l,c,"\u22b2","\\lhd"),r(o,l,c,"\u22b3","\\rhd"),r(o,l,m,"\u2242","\\eqsim",!0),r(o,s,m,"\u22c8","\\Join"),r(o,l,m,"\u2251","\\Doteq",!0),r(o,l,c,"\u2214","\\dotplus",!0),r(o,l,c,"\u2216","\\smallsetminus"),r(o,l,c,"\u22d2","\\Cap",!0),r(o,l,c,"\u22d3","\\Cup",!0),r(o,l,c,"\u2a5e","\\doublebarwedge",!0),r(o,l,c,"\u229f","\\boxminus",!0),r(o,l,c,"\u229e","\\boxplus",!0),r(o,l,c,"\u22c7","\\divideontimes",!0),r(o,l,c,"\u22c9","\\ltimes",!0),r(o,l,c,"\u22ca","\\rtimes",!0),r(o,l,c,"\u22cb","\\leftthreetimes",!0),r(o,l,c,"\u22cc","\\rightthreetimes",!0),r(o,l,c,"\u22cf","\\curlywedge",!0),r(o,l,c,"\u22ce","\\curlyvee",!0),r(o,l,c,"\u229d","\\circleddash",!0),r(o,l,c,"\u229b","\\circledast",!0),r(o,l,c,"\u22c5","\\centerdot"),r(o,l,c,"\u22ba","\\intercal",!0),r(o,l,c,"\u22d2","\\doublecap"),r(o,l,c,"\u22d3","\\doublecup"),r(o,l,c,"\u22a0","\\boxtimes",!0),r(o,l,m,"\u21e2","\\dashrightarrow",!0),r(o,l,m,"\u21e0","\\dashleftarrow",!0),r(o,l,m,"\u21c7","\\leftleftarrows",!0),r(o,l,m,"\u21c6","\\leftrightarrows",!0),r(o,l,m,"\u21da","\\Lleftarrow",!0),r(o,l,m,"\u219e","\\twoheadleftarrow",!0),r(o,l,m,"\u21a2","\\leftarrowtail",!0),r(o,l,m,"\u21ab","\\looparrowleft",!0),r(o,l,m,"\u21cb","\\leftrightharpoons",!0),r(o,l,m,"\u21b6","\\curvearrowleft",!0),r(o,l,m,"\u21ba","\\circlearrowleft",!0),r(o,l,m,"\u21b0","\\Lsh",!0),r(o,l,m,"\u21c8","\\upuparrows",!0),r(o,l,m,"\u21bf","\\upharpoonleft",!0),r(o,l,m,"\u21c3","\\downharpoonleft",!0),r(o,l,m,"\u22b8","\\multimap",!0),r(o,l,m,"\u21ad","\\leftrightsquigarrow",!0),r(o,l,m,"\u21c9","\\rightrightarrows",!0),r(o,l,m,"\u21c4","\\rightleftarrows",!0),r(o,l,m,"\u21a0","\\twoheadrightarrow",!0),r(o,l,m,"\u21a3","\\rightarrowtail",!0),r(o,l,m,"\u21ac","\\looparrowright",!0),r(o,l,m,"\u21b7","\\curvearrowright",!0),r(o,l,m,"\u21bb","\\circlearrowright",!0),r(o,l,m,"\u21b1","\\Rsh",!0),r(o,l,m,"\u21ca","\\downdownarrows",!0),r(o,l,m,"\u21be","\\upharpoonright",!0),r(o,l,m,"\u21c2","\\downharpoonright",!0),r(o,l,m,"\u21dd","\\rightsquigarrow",!0),r(o,l,m,"\u21dd","\\leadsto"),r(o,l,m,"\u21db","\\Rrightarrow",!0),r(o,l,m,"\u21be","\\restriction"),r(o,s,v,"\u2018","`"),r(o,s,v,"$","\\$"),r(a,s,v,"$","\\$"),r(a,s,v,"$","\\textdollar"),r(o,s,v,"%","\\%"),r(a,s,v,"%","\\%"),r(o,s,v,"_","\\_"),r(a,s,v,"_","\\_"),r(a,s,v,"_","\\textunderscore"),r(o,s,v,"\u2220","\\angle",!0),r(o,s,v,"\u221e","\\infty",!0),r(o,s,v,"\u2032","\\prime"),r(o,s,v,"\u25b3","\\triangle"),r(o,s,v,"\u0393","\\Gamma",!0),r(o,s,v,"\u0394","\\Delta",!0),r(o,s,v,"\u0398","\\Theta",!0),r(o,s,v,"\u039b","\\Lambda",!0),r(o,s,v,"\u039e","\\Xi",!0),r(o,s,v,"\u03a0","\\Pi",!0),r(o,s,v,"\u03a3","\\Sigma",!0),r(o,s,v,"\u03a5","\\Upsilon",!0),r(o,s,v,"\u03a6","\\Phi",!0),r(o,s,v,"\u03a8","\\Psi",!0),r(o,s,v,"\u03a9","\\Omega",!0),r(o,s,v,"\xac","\\neg"),r(o,s,v,"\xac","\\lnot"),r(o,s,v,"\u22a4","\\top"),r(o,s,v,"\u22a5","\\bot"),r(o,s,v,"\u2205","\\emptyset"),r(o,l,v,"\u2205","\\varnothing"),r(o,s,f,"\u03b1","\\alpha",!0),r(o,s,f,"\u03b2","\\beta",!0),r(o,s,f,"\u03b3","\\gamma",!0),r(o,s,f,"\u03b4","\\delta",!0),r(o,s,f,"\u03f5","\\epsilon",!0),r(o,s,f,"\u03b6","\\zeta",!0),r(o,s,f,"\u03b7","\\eta",!0),r(o,s,f,"\u03b8","\\theta",!0),r(o,s,f,"\u03b9","\\iota",!0),r(o,s,f,"\u03ba","\\kappa",!0),r(o,s,f,"\u03bb","\\lambda",!0),r(o,s,f,"\u03bc","\\mu",!0),r(o,s,f,"\u03bd","\\nu",!0),r(o,s,f,"\u03be","\\xi",!0),r(o,s,f,"\u03bf","\\omicron",!0),r(o,s,f,"\u03c0","\\pi",!0),r(o,s,f,"\u03c1","\\rho",!0),r(o,s,f,"\u03c3","\\sigma",!0),r(o,s,f,"\u03c4","\\tau",!0),r(o,s,f,"\u03c5","\\upsilon",!0),r(o,s,f,"\u03d5","\\phi",!0),r(o,s,f,"\u03c7","\\chi",!0),r(o,s,f,"\u03c8","\\psi",!0),r(o,s,f,"\u03c9","\\omega",!0),r(o,s,f,"\u03b5","\\varepsilon",!0),r(o,s,f,"\u03d1","\\vartheta",!0),r(o,s,f,"\u03d6","\\varpi",!0),r(o,s,f,"\u03f1","\\varrho",!0),r(o,s,f,"\u03c2","\\varsigma",!0),r(o,s,f,"\u03c6","\\varphi",!0),r(o,s,c,"\u2217","*"),r(o,s,c,"+","+"),r(o,s,c,"\u2212","-"),r(o,s,c,"\u22c5","\\cdot",!0),r(o,s,c,"\u2218","\\circ"),r(o,s,c,"\xf7","\\div",!0),r(o,s,c,"\xb1","\\pm",!0),r(o,s,c,"\xd7","\\times",!0),r(o,s,c,"\u2229","\\cap",!0),r(o,s,c,"\u222a","\\cup",!0),r(o,s,c,"\u2216","\\setminus"),r(o,s,c,"\u2227","\\land"),r(o,s,c,"\u2228","\\lor"),r(o,s,c,"\u2227","\\wedge",!0),r(o,s,c,"\u2228","\\vee",!0),r(o,s,v,"\u221a","\\surd"),r(o,s,p,"(","("),r(o,s,p,"[","["),r(o,s,p,"\u27e8","\\langle",!0),r(o,s,p,"\u2223","\\lvert"),r(o,s,p,"\u2225","\\lVert"),r(o,s,d,")",")"),r(o,s,d,"]","]"),r(o,s,d,"?","?");r(o,s,d,"!","!"),r(o,s,d,"\u27e9","\\rangle",!0),r(o,s,d,"\u2223","\\rvert"),r(o,s,d,"\u2225","\\rVert"),r(o,s,m,"=","="),r(o,s,m,"<","<"),r(o,s,m,">",">"),r(o,s,m,":",":"),r(o,s,m,"\u2248","\\approx",!0),r(o,s,m,"\u2245","\\cong",!0),r(o,s,m,"\u2265","\\ge"),r(o,s,m,"\u2265","\\geq",!0),r(o,s,m,"\u2190","\\gets"),r(o,s,m,">","\\gt"),r(o,s,m,"\u2208","\\in",!0),r(o,s,m,"\u2209","\\notin",!0),r(o,s,m,"\u0338","\\not"),r(o,s,m,"\u2282","\\subset",!0),r(o,s,m,"\u2283","\\supset",!0),r(o,s,m,"\u2286","\\subseteq",!0),r(o,s,m,"\u2287","\\supseteq",!0),r(o,l,m,"\u2288","\\nsubseteq",!0),r(o,l,m,"\u2289","\\nsupseteq",!0),r(o,s,m,"\u22a8","\\models"),r(o,s,m,"\u2190","\\leftarrow",!0),r(o,s,m,"\u2264","\\le"),r(o,s,m,"\u2264","\\leq",!0),r(o,s,m,"<","\\lt"),r(o,s,m,"\u2260","\\ne",!0),r(o,s,m,"\u2260","\\neq"),r(o,s,m,"\u2192","\\rightarrow",!0),r(o,s,m,"\u2192","\\to"),r(o,l,m,"\u2271","\\ngeq",!0),r(o,l,m,"\u2270","\\nleq",!0),r(o,s,g,null,"\\!"),r(o,s,g,"\xa0","\\ "),r(o,s,g,"\xa0","~"),r(o,s,g,null,"\\,"),r(o,s,g,null,"\\:"),r(o,s,g,null,"\\;"),r(o,s,g,null,"\\enspace"),r(o,s,g,null,"\\qquad"),r(o,s,g,null,"\\quad"),r(o,s,g,"\xa0","\\space"),r(o,s,g,"\xa0","\\nobreakspace"),r(a,s,g,null,"\\!"),r(a,s,g,"\xa0","\\ "),r(a,s,g,"\xa0","~"),r(a,s,g,null,"\\,"),r(a,s,g,null,"\\:"),r(a,s,g,null,"\\;"),r(a,s,g,null,"\\enspace"),r(a,s,g,null,"\\qquad"),r(a,s,g,null,"\\quad"),r(a,s,g,"\xa0","\\space"),r(a,s,g,"\xa0","\\nobreakspace"),r(o,s,"punct",",",","),r(o,s,"punct",";",";"),r(o,s,"punct",":","\\colon"),r(o,l,c,"\u22bc","\\barwedge",!0),r(o,l,c,"\u22bb","\\veebar",!0),r(o,s,c,"\u2299","\\odot",!0),r(o,s,c,"\u2295","\\oplus",!0),r(o,s,c,"\u2297","\\otimes",!0),r(o,s,v,"\u2202","\\partial",!0),r(o,s,c,"\u2298","\\oslash",!0),r(o,l,c,"\u229a","\\circledcirc",!0),r(o,l,c,"\u22a1","\\boxdot",!0),r(o,s,c,"\u25b3","\\bigtriangleup"),r(o,s,c,"\u25bd","\\bigtriangledown"),r(o,s,c,"\u2020","\\dagger"),r(o,s,c,"\u22c4","\\diamond"),r(o,s,c,"\u22c6","\\star"),r(o,s,c,"\u25c3","\\triangleleft"),r(o,s,c,"\u25b9","\\triangleright"),r(o,s,p,"{","\\{"),r(a,s,v,"{","\\{"),r(a,s,v,"{","\\textbraceleft"),r(o,s,d,"}","\\}"),r(a,s,v,"}","\\}"),r(a,s,v,"}","\\textbraceright"),r(o,s,p,"{","\\lbrace"),r(o,s,d,"}","\\rbrace"),r(o,s,p,"[","\\lbrack"),r(o,s,d,"]","\\rbrack"),r(a,s,v,"<","\\textless"),r(a,s,v,">","\\textgreater"),r(o,s,p,"\u230a","\\lfloor"),r(o,s,d,"\u230b","\\rfloor"),r(o,s,p,"\u2308","\\lceil"),r(o,s,d,"\u2309","\\rceil"),r(o,s,v,"\\","\\backslash"),r(o,s,v,"\u2223","|"),r(o,s,v,"\u2223","\\vert"),r(a,s,v,"|","\\textbar"),r(o,s,v,"\u2225","\\|"),r(o,s,v,"\u2225","\\Vert"),r(a,s,v,"\u2225","\\textbardbl"),r(o,s,m,"\u2191","\\uparrow",!0),r(o,s,m,"\u21d1","\\Uparrow",!0),r(o,s,m,"\u2193","\\downarrow",!0),r(o,s,m,"\u21d3","\\Downarrow",!0),r(o,s,m,"\u2195","\\updownarrow",!0),r(o,s,m,"\u21d5","\\Updownarrow",!0),r(o,s,h,"\u2210","\\coprod"),r(o,s,h,"\u22c1","\\bigvee"),r(o,s,h,"\u22c0","\\bigwedge"),r(o,s,h,"\u2a04","\\biguplus"),r(o,s,h,"\u22c2","\\bigcap"),r(o,s,h,"\u22c3","\\bigcup"),r(o,s,h,"\u222b","\\int"),r(o,s,h,"\u222b","\\intop"),r(o,s,h,"\u222c","\\iint"),r(o,s,h,"\u222d","\\iiint"),r(o,s,h,"\u220f","\\prod"),r(o,s,h,"\u2211","\\sum"),r(o,s,h,"\u2a02","\\bigotimes"),r(o,s,h,"\u2a01","\\bigoplus"),r(o,s,h,"\u2a00","\\bigodot"),r(o,s,h,"\u222e","\\oint"),r(o,s,h,"\u2a06","\\bigsqcup"),r(o,s,h,"\u222b","\\smallint"),r(a,s,"inner","\u2026","\\textellipsis"),r(o,s,"inner","\u2026","\\mathellipsis"),r(a,s,"inner","\u2026","\\ldots",!0),r(o,s,"inner","\u2026","\\ldots",!0),r(o,s,"inner","\u22ef","\\@cdots",!0),r(o,s,"inner","\u22f1","\\ddots",!0),r(o,s,v,"\u22ee","\\vdots",!0),r(o,s,u,"\u02ca","\\acute"),r(o,s,u,"\u02cb","\\grave"),r(o,s,u,"\xa8","\\ddot"),r(o,s,u,"~","\\tilde"),r(o,s,u,"\u02c9","\\bar"),r(o,s,u,"\u02d8","\\breve"),r(o,s,u,"\u02c7","\\check"),r(o,s,u,"^","\\hat"),r(o,s,u,"\u20d7","\\vec"),r(o,s,u,"\u02d9","\\dot"),r(o,s,u,"\u02da","\\mathring"),r(o,s,f,"\u0131","\\imath",!0),r(o,s,f,"\u0237","\\jmath",!0),r(a,s,v,"\u0131","\\i",!0),r(a,s,v,"\u0237","\\j",!0),r(a,s,v,"\xdf","\\ss",!0),r(a,s,v,"\xe6","\\ae",!0),r(a,s,v,"\xe6","\\ae",!0),r(a,s,v,"\u0153","\\oe",!0),r(a,s,v,"\xf8","\\o",!0),r(a,s,v,"\xc6","\\AE",!0),r(a,s,v,"\u0152","\\OE",!0),r(a,s,v,"\xd8","\\O",!0),r(a,s,u,"\u02ca","\\'"),r(a,s,u,"\u02cb","\\`"),r(a,s,u,"\u02c6","\\^"),r(a,s,u,"\u02dc","\\~"),r(a,s,u,"\u02c9","\\="),r(a,s,u,"\u02d8","\\u"),r(a,s,u,"\u02d9","\\."),r(a,s,u,"\u02da","\\r"),r(a,s,u,"\u02c7","\\v"),r(a,s,u,"\xa8",'\\"'),r(a,s,u,"\u02dd","\\H"),r(a,s,v,"\u2013","--"),r(a,s,v,"\u2013","\\textendash"),r(a,s,v,"\u2014","---"),r(a,s,v,"\u2014","\\textemdash"),r(a,s,v,"\u2018","`"),r(a,s,v,"\u2018","\\textquoteleft"),r(a,s,v,"\u2019","'"),r(a,s,v,"\u2019","\\textquoteright"),r(a,s,v,"\u201c","``"),r(a,s,v,"\u201c","\\textquotedblleft"),r(a,s,v,"\u201d","''"),r(a,s,v,"\u201d","\\textquotedblright"),r(o,s,v,"\xb0","\\degree"),r(a,s,v,"\xb0","\\degree"),r(o,s,f,"\xa3","\\pounds"),r(o,s,f,"\xa3","\\mathsterling",!0),r(a,s,f,"\xa3","\\pounds"),r(a,s,f,"\xa3","\\textsterling",!0),r(o,l,v,"\u2720","\\maltese"),r(a,l,v,"\u2720","\\maltese"),r(a,s,g,"\xa0","\\ "),r(a,s,g,"\xa0"," "),r(a,s,g,"\xa0","~");for(var y='0123456789/@."',b=0;b<y.length;b++){var w=y.charAt(b);r(o,s,v,w,w)}for(var E='0123456789!@*()-=+[]<>|";:?/.,',T=0;T<E.length;T++){var _=E.charAt(T);r(a,s,v,_,_)}for(var x="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",k=0;k<x.length;k++){var S=x.charAt(k);r(o,s,f,S,S),r(a,s,v,S,S)}for(var C="\xc7\xd0\xde\xe7\xfe",O=0;O<C.length;O++){var A=C.charAt(O);r(o,s,f,A,A),r(a,s,v,A,A)}r(a,s,v,"\xf0","\xf0"),r(a,s,v,"\u2013","\u2013"),r(a,s,v,"\u2014","\u2014"),r(a,s,v,"\u2018","\u2018"),r(a,s,v,"\u2019","\u2019"),r(a,s,v,"\u201c","\u201c"),r(a,s,v,"\u201d","\u201d")},function(e,t,n){var r=n(38);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(42),i=n(59),o={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2]},a={"\xc5":"A","\xc7":"C","\xd0":"D","\xde":"o","\xe5":"a","\xe7":"c","\xf0":"d","\xfe":"o","\u0410":"A","\u0411":"B","\u0412":"B","\u0413":"F","\u0414":"A","\u0415":"E","\u0416":"K","\u0417":"3","\u0418":"N","\u0419":"N","\u041a":"K","\u041b":"N","\u041c":"M","\u041d":"H","\u041e":"O","\u041f":"N","\u0420":"P","\u0421":"C","\u0422":"T","\u0423":"y","\u0424":"O","\u0425":"X","\u0426":"U","\u0427":"h","\u0428":"W","\u0429":"W","\u042a":"B","\u042b":"X","\u042c":"B","\u042d":"3","\u042e":"X","\u042f":"R","\u0430":"a","\u0431":"b","\u0432":"a","\u0433":"r","\u0434":"y","\u0435":"e","\u0436":"m","\u0437":"e","\u0438":"n","\u0439":"n","\u043a":"n","\u043b":"n","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"n","\u0440":"p","\u0441":"c","\u0442":"o","\u0443":"y","\u0444":"b","\u0445":"x","\u0446":"n","\u0447":"n","\u0448":"w","\u0449":"w","\u044a":"a","\u044b":"m","\u044c":"a","\u044d":"e","\u044e":"m","\u044f":"r"},s=function(e,t,n){if(!i.a[t])throw new Error("Font metrics not found for font: "+t+".");var o=e.charCodeAt(0);e[0]in a&&(o=a[e[0]].charCodeAt(0));var s=i.a[t][o];if(s||"text"!==n||Object(r.b)(o)&&(s=i.a[t][77]),s)return{depth:s[0],height:s[1],italic:s[2],skew:s[3],width:s[4]}},l={},u=function(e){var t=void 0;if(t=e>=5?0:e>=3?1:2,!l[t]){var n=l[t]={cssEmPerMu:o.quad[t]/18};for(var r in o)o.hasOwnProperty(r)&&(n[r]=o[r][t])}return l[t]};t.a={getFontMetrics:u,getCharacterMetrics:s}},function(e,t,n){"use strict";var r=n(66),i=n.n(r),o=n(7),a=n.n(o),s=n(10),l=n.n(s),u=function(){function e(t,n,r){a()(this,e),this.lexer=t,this.start=n,this.end=r,i()(this)}return l()(e,null,[{key:"range",value:function(t,n){return n?t&&t.loc&&n.loc&&t.loc.lexer===n.loc.lexer?new e(t.loc.lexer,t.loc.start,n.loc.end):null:t&&t.loc}}]),e}();t.a=u},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var r=n(7),i=n.n(r),o=n(5),a=function e(t){i()(this,e),t=t||{},this.displayMode=o.a.deflt(t.displayMode,!1),this.throwOnError=o.a.deflt(t.throwOnError,!0),this.errorColor=o.a.deflt(t.errorColor,"#cc0000"),this.macros=t.macros||{},this.colorIsTextColor=o.a.deflt(t.colorIsTextColor,!1),this.maxSize=Math.max(0,o.a.deflt(t.maxSize,1/0))};t.a=a},function(e,t,n){"use strict";t.__esModule=!0;var r=n(79),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},function(e,t,n){"use strict";var r=n(81)(!0);n(48)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){var r=n(87),i=n(53);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(49),i=n(38);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(52)("keys"),i=n(32);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){"use strict";function r(e){var t=!0,n=!1,r=void 0;try{for(var i,o=l()(u);!(t=(i=o.next()).done);t=!0){var a=i.value,s=!0,c=!1,d=void 0;try{for(var f,h=l()(a.blocks);!(s=(f=h.next()).done);s=!0){var p=f.value;if(e>=p[0]&&e<=p[1])return a.name}}catch(e){c=!0,d=e}finally{try{!s&&h.return&&h.return()}finally{if(c)throw d}}}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}return null}function i(e){for(var t=0;t<c.length;t+=2)if(e>=c[t]&&e<=c[t+1])return!0;return!1}t.a=r,t.b=i;var o=n(35),a=n.n(o),s=n(18),l=n.n(s),u=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],c=[];u.forEach(function(e){return e.blocks.forEach(function(e){return c.push.apply(c,a()(e))})})},function(e,t,n){"use strict";var r=n(7),i=n.n(r),o=n(10),a=n.n(o),s=n(30),l=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],u=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],c=function(e,t){return t.size<2?e:l[e-1][t.size-1]},d=function(){function e(t){i()(this,e),this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.fontFamily=t.fontFamily,this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=u[this.size-1],this.maxSize=t.maxSize,this._fontMetrics=void 0}return a()(e,[{key:"extend",value:function(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new e(n)}},{key:"havingStyle",value:function(e){return this.style===e?this:this.extend({style:e,size:c(this.textSize,e)})}},{key:"havingCrampedStyle",value:function(){return this.havingStyle(this.style.cramp())}},{key:"havingSize",value:function(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:u[e-1]})}},{key:"havingBaseStyle",value:function(t){t=t||this.style.text();var n=c(e.BASESIZE,t);return this.size===n&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}},{key:"withColor",value:function(e){return this.extend({color:e})}},{key:"withPhantom",value:function(){return this.extend({phantom:!0})}},{key:"withFontFamily",value:function(e){return this.extend({fontFamily:e||this.fontFamily})}},{key:"withFontWeight",value:function(e){return this.extend({fontWeight:e})}},{key:"withFontShape",value:function(e){return this.extend({fontShape:e})}},{key:"sizingClasses",value:function(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}},{key:"baseSizingClasses",value:function(){return this.size!==e.BASESIZE?["sizing","reset-size"+this.size,"size"+e.BASESIZE]:[]}},{key:"fontMetrics",value:function(){return this._fontMetrics||(this._fontMetrics=s.a.getFontMetrics(this.size)),this._fontMetrics}},{key:"getColor",value:function(){return this.phantom?"transparent":null!=this.color&&e.colorMap.hasOwnProperty(this.color)?e.colorMap[this.color]:this.color}}]),e}();d.BASESIZE=6,d.colorMap={"katex-blue":"#6495ed","katex-orange":"#ffa500","katex-pink":"#ff00af","katex-red":"#df0030","katex-green":"#28ae7b","katex-gray":"gray","katex-purple":"#9d38bd","katex-blueA":"#ccfaff","katex-blueB":"#80f6ff","katex-blueC":"#63d9ea","katex-blueD":"#11accd","katex-blueE":"#0c7f99","katex-tealA":"#94fff5","katex-tealB":"#26edd5","katex-tealC":"#01d1c1","katex-tealD":"#01a995","katex-tealE":"#208170","katex-greenA":"#b6ffb0","katex-greenB":"#8af281","katex-greenC":"#74cf70","katex-greenD":"#1fab54","katex-greenE":"#0d923f","katex-goldA":"#ffd0a9","katex-goldB":"#ffbb71","katex-goldC":"#ff9c39","katex-goldD":"#e07d10","katex-goldE":"#a75a05","katex-redA":"#fca9a9","katex-redB":"#ff8482","katex-redC":"#f9685d","katex-redD":"#e84d39","katex-redE":"#bc2612","katex-maroonA":"#ffbde0","katex-maroonB":"#ff92c6","katex-maroonC":"#ed5fa6","katex-maroonD":"#ca337c","katex-maroonE":"#9e034e","katex-purpleA":"#ddd7ff","katex-purpleB":"#c6b9fc","katex-purpleC":"#aa87ff","katex-purpleD":"#7854ab","katex-purpleE":"#543b78","katex-mintA":"#f5f9e8","katex-mintB":"#edf2df","katex-mintC":"#e0e5cc","katex-grayA":"#f6f7f7","katex-grayB":"#f0f1f2","katex-grayC":"#e3e5e6","katex-grayD":"#d6d8da","katex-grayE":"#babec2","katex-grayF":"#888d93","katex-grayG":"#626569","katex-grayH":"#3b3e40","katex-grayI":"#21242c","katex-kaBlue":"#314453","katex-kaGreen":"#71B307"},t.a=d},function(e,t,n){"use strict";var r=n(6),i=n(9),o=n(12),a=n(0),s=n(30),l=n(28),u=n(5),c=function(e,t,n){return l.a.math[e]&&l.a.math[e].replace?s.a.getCharacterMetrics(l.a.math[e].replace,t,n):s.a.getCharacterMetrics(e,t,n)},d=function(e,t,n,r){var i=n.havingBaseStyle(t),o=a.a.makeSpan((r||[]).concat(i.sizingClasses(n)),[e],n);return o.delimSizeMultiplier=i.sizeMultiplier/n.sizeMultiplier,o.height*=o.delimSizeMultiplier,o.depth*=o.delimSizeMultiplier,o.maxFontSize=i.sizeMultiplier,o},f=function(e,t,n){var r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=i+"em",e.height-=i,e.depth+=i},h=function(e,t,n,r,i,o){var s=a.a.makeSymbol(e,"Main-Regular",i,r),l=d(s,t,r,o);return n&&f(l,r,t),l},p=function(e,t,n,r){return a.a.makeSymbol(e,"Size"+t+"-Regular",n,r)},m=function(e,t,n,r,o,s){var l=p(e,t,o,r),u=d(a.a.makeSpan(["delimsizing","size"+t],[l],r),i.a.TEXT,r,s);return n&&f(u,r,i.a.TEXT),u},g=function(e,t,n){var r=void 0;return"Size1-Regular"===t?r="delim-size1":"Size4-Regular"===t&&(r="delim-size4"),{type:"elem",elem:a.a.makeSpan(["delimsizinginner",r],[a.a.makeSpan([],[a.a.makeSymbol(e,t,n)])])}},v=function(e,t,n,r,o,s){var l=void 0,u=void 0,f=void 0,h=void 0;l=f=h=e,u=null;var p="Size1-Regular";"\\uparrow"===e?f=h="\u23d0":"\\Uparrow"===e?f=h="\u2016":"\\downarrow"===e?l=f="\u23d0":"\\Downarrow"===e?l=f="\u2016":"\\updownarrow"===e?(l="\\uparrow",f="\u23d0",h="\\downarrow"):"\\Updownarrow"===e?(l="\\Uparrow",f="\u2016",h="\\Downarrow"):"["===e||"\\lbrack"===e?(l="\u23a1",f="\u23a2",h="\u23a3",p="Size4-Regular"):"]"===e||"\\rbrack"===e?(l="\u23a4",f="\u23a5",h="\u23a6",p="Size4-Regular"):"\\lfloor"===e?(f=l="\u23a2",h="\u23a3",p="Size4-Regular"):"\\lceil"===e?(l="\u23a1",f=h="\u23a2",p="Size4-Regular"):"\\rfloor"===e?(f=l="\u23a5",h="\u23a6",p="Size4-Regular"):"\\rceil"===e?(l="\u23a4",f=h="\u23a5",p="Size4-Regular"):"("===e?(l="\u239b",f="\u239c",h="\u239d",p="Size4-Regular"):")"===e?(l="\u239e",f="\u239f",h="\u23a0",p="Size4-Regular"):"\\{"===e||"\\lbrace"===e?(l="\u23a7",u="\u23a8",h="\u23a9",f="\u23aa",p="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(l="\u23ab",u="\u23ac",h="\u23ad",f="\u23aa",p="Size4-Regular"):"\\lgroup"===e?(l="\u23a7",h="\u23a9",f="\u23aa",p="Size4-Regular"):"\\rgroup"===e?(l="\u23ab",h="\u23ad",f="\u23aa",p="Size4-Regular"):"\\lmoustache"===e?(l="\u23a7",h="\u23ad",f="\u23aa",p="Size4-Regular"):"\\rmoustache"===e&&(l="\u23ab",h="\u23a9",f="\u23aa",p="Size4-Regular");var m=c(l,p,o),v=m.height+m.depth,y=c(f,p,o),b=y.height+y.depth,w=c(h,p,o),E=w.height+w.depth,T=0,_=1;if(null!==u){var x=c(u,p,o);T=x.height+x.depth,_=2}var k=v+E+T,S=Math.ceil((t-k)/(_*b)),C=k+S*_*b,O=r.fontMetrics().axisHeight;n&&(O*=r.sizeMultiplier);var A=C/2-O,P=[];if(P.push(g(h,p,o)),null===u)for(var I=0;I<S;I++)P.push(g(f,p,o));else{for(var R=0;R<S;R++)P.push(g(f,p,o));P.push(g(u,p,o));for(var N=0;N<S;N++)P.push(g(f,p,o))}P.push(g(l,p,o));var M=r.havingBaseStyle(i.a.TEXT),D=a.a.makeVList({positionType:"bottom",positionData:A,children:P},M);return d(a.a.makeSpan(["delimsizing","mult"],[D],M),i.a.TEXT,r,s)},y=function(e,t,n,r){var i=void 0;if("sqrtTall"===e){i="M702 80H400000v40H742v"+(n-54-80)+"l-4 4-4 4c-.667.7\n-2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1h-12l-28-84c-16.667-52-96.667\n-294.333-240-727l-212 -643 -85 170c-4-3.333-8.333-7.667-13 -13l-13-13l77-155\n 77-156c66 199.333 139 419.667 219 661 l218 661zM702 80H400000v40H742z"}var s=new o.a.pathNode(e,i),l=new o.a.svgNode([s],{width:"400em",height:t+"em",viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return a.a.makeSpan(["hide-tail"],[l],r)},b=function(e,t){var n=A("\\surd",e,C,t),r=void 0,i=t.sizeMultiplier,o=0,a=0,s=0;if("small"===n.type){s=1080;i=t.havingBaseStyle(n.style).sizeMultiplier/t.sizeMultiplier,o=1.08*i,a=1*i,r=y("sqrtMain",o,s,t),r.style.minWidth="0.853em",r.advanceWidth=.833*i}else"large"===n.type?(s=1080*_[n.size],a=_[n.size]/i,o=(_[n.size]+.08)/i,r=y("sqrtSize"+n.size,o,s,t),r.style.minWidth="1.02em",r.advanceWidth=1/i):(o=e/i+.08,a=e/i,s=Math.floor(1e3*e)+80,r=y("sqrtTall",o,s,t),r.style.minWidth="0.742em",r.advanceWidth=1.056/i);return r.height=a,r.style.height=o+"em",{span:r,ruleWidth:t.fontMetrics().sqrtRuleThickness*i}},w=["(",")","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd"],E=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache"],T=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],_=[0,1.2,1.8,2.4,3],x=function(e,t,n,i,o){if("<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),u.a.contains(w,e)||u.a.contains(T,e))return m(e,t,!1,n,i,o);if(u.a.contains(E,e))return v(e,_[t],!1,n,i,o);throw new r.a("Illegal delimiter: '"+e+"'")},k=[{type:"small",style:i.a.SCRIPTSCRIPT},{type:"small",style:i.a.SCRIPT},{type:"small",style:i.a.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],S=[{type:"small",style:i.a.SCRIPTSCRIPT},{type:"small",style:i.a.SCRIPT},{type:"small",style:i.a.TEXT},{type:"stack"}],C=[{type:"small",style:i.a.SCRIPTSCRIPT},{type:"small",style:i.a.SCRIPT},{type:"small",style:i.a.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],O=function(e){return"small"===e.type?"Main-Regular":"large"===e.type?"Size"+e.size+"-Regular":"stack"===e.type?"Size4-Regular":void 0},A=function(e,t,n,r){for(var i=Math.min(2,3-r.style.size),o=i;o<n.length&&"stack"!==n[o].type;o++){var a=c(e,O(n[o]),"math"),s=a.height+a.depth;if("small"===n[o].type){s*=r.havingBaseStyle(n[o].style).sizeMultiplier}if(s>t)return n[o]}return n[n.length-1]},P=function(e,t,n,r,i,o){"<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle");var a=void 0;a=u.a.contains(T,e)?k:u.a.contains(w,e)?C:S;var s=A(e,t,a,r);return"small"===s.type?h(e,s.style,n,r,i,o):"large"===s.type?m(e,s.size,n,r,i,o):v(e,t,n,r,i,o)},I=function(e,t,n,r,i,o){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,s=5/r.fontMetrics().ptPerEm,l=Math.max(t-a,n+a),u=Math.max(l/500*901,2*l-s);return P(e,u,!0,r,i,o)};t.a={sqrtImage:b,sizedDelim:x,customSizedDelim:P,leftRightDelim:I}},function(e,t,n){var r=n(20),i=n(16).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(25),i=n(8),o=n(24);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(e,t,n){var r=n(72);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";var r=n(82),i=n(25),o=n(83),a=n(26),s=n(21),l=n(17),u=n(84),c=n(54),d=n(91),f=n(11)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,m,g,v,y){u(n,t,m);var b,w,E,T=function(e){if(!h&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",x="values"==g,k=!1,S=e.prototype,C=S[f]||S["@@iterator"]||g&&S[g],O=C||T(g),A=g?x?T("entries"):O:void 0,P="Array"==t?S.entries||C:C;if(P&&(E=d(P.call(new e)))!==Object.prototype&&(c(E,_,!0),r||s(E,f)||a(E,f,p)),x&&C&&"values"!==C.name&&(k=!0,O=function(){return C.call(this)}),r&&!y||!h&&!k&&S[f]||a(S,f,O),l[t]=O,l[_]=p,g)if(b={values:x?O:T("values"),keys:v?O:T("keys"),entries:A},y)for(w in b)w in S||o(S,w,b[w]);else i(i.P+i.F*(h||k),t,b);return b}},function(e,t,n){var r=n(50);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(37),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(16),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(15).f,i=n(21),o=n(11)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(56),i=n(11)("iterator"),o=n(17);e.exports=n(8).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(50),i=n(11)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(97),o=r(i),a=n(18),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,l=(0,s.default)(e);!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,o.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){n(99);for(var r=n(16),i=n(26),o=n(17),a=n(11)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],l=0;l<5;l++){var u=s[l],c=r[u],d=c&&c.prototype;d&&!d[a]&&i(d,a,u),o[u]=o.Array}},function(e,t,n){"use strict";t.a={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1187],8674:[-.064,.437,0,0,1167],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],824:[.19444,.69444,0,0,0],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,0],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,0],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],824:[.19444,.69444,0,0,0],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1015],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,889],8617:[.011,.511,0,0,1015],8618:[.011,.511,0,0,1015],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,889],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,667],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,666],8800:[.215,.716,0,0,666],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,692],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,847],8942:[.03,.9,0,0,121],8943:[-.19,.31,0,0,1015],8945:[-.1,.82,0,0,1015],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,301],9137:[.244,.744,0,0,301],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,184],10223:[.244,.744,0,0,184],10229:[.011,.511,0,0,1470],10230:[.011,.511,0,0,1469],10231:[.011,.511,0,0,1748],10232:[.024,.525,0,0,1497],10233:[.024,.525,0,0,1526],10234:[.024,.525,0,0,1746],10236:[.011,.511,0,0,1498],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778]},"Math-BoldItalic":{47:[.19444,.69444,0,0,0],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{47:[.19444,.69444,0,0,0],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],176:[0,.69444,0,0,.66667],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],733:[0,.69444,0,0,.5],771:[0,.67659,0,0,.5],776:[0,.67937,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],176:[0,.61111,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}}},function(e,t,n){"use strict";function r(e,t,n){for(var r=l.a(e,t,!1),o=t.sizeMultiplier/n.sizeMultiplier,a=0;a<r.length;a++){var u=s.a.indexOf(r[a].classes,"sizing");u<0?Array.prototype.push.apply(r[a].classes,t.sizingClasses(n)):r[a].classes[u+1]==="reset-size"+t.size&&(r[a].classes[u+1]="reset-size"+n.size),r[a].height*=o,r[a].depth*=o}return i.a.makeFragment(r)}t.a=r;var i=n(0),o=n(3),a=n(1),s=n(5),l=n(4),u=n(2),c=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Object(o.b)({type:"sizing",names:c,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser;i.consumeSpaces();var o=i.parseExpression(!1,n);return{type:"sizing",size:s.a.indexOf(c,r)+1,value:o}},htmlBuilder:function(e,t){var n=t.havingSize(e.value.size);return r(e.value.value,n,t)},mathmlBuilder:function(e,t){var n=t.havingSize(e.value.size),r=u.a(e.value.value,n),i=new a.a.MathNode("mstyle",r);return i.setAttribute("mathsize",n.sizeMultiplier+"em"),i}})},function(e,t,n){"use strict";function r(e){for(var t=e.type,n=e.names,r=e.props,s=e.handler,l=e.htmlBuilder,u=e.mathmlBuilder,c={numArgs:r.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:s},d=0;d<n.length;++d)a[n[d]]=c;l&&(i.d[t]=l),u&&(o.d[t]=u)}n.d(t,"a",function(){return a}),t.b=r;var i=n(4),o=n(2),a=(n(43),n(14),{})},function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return p});var r=n(7),i=n.n(r),o=n(10),a=n.n(o),s=n(145),l=n.n(s),u=n(6),c=n(31),d=n(27),f=new RegExp("[\u0300-\u036f]+$"),h=new RegExp("([ \r\n\t]+)|(%[^\n]*[\n]|[!-\\[\\]-\u2027\u202a-\ud7ff\uf900-\uffff][\u0300-\u036f]*|[\ud800-\udbff][\udc00-\udfff][\u0300-\u036f]*|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\[a-zA-Z@]+|\\\\[^\ud800-\udfff])"),p=new RegExp("^\\\\[a-zA-Z@]+"),m=new RegExp("^%[^\n]*[\n]"),g=function(){function e(t){i()(this,e),this.input=t,this.pos=0}return a()(e,[{key:"lex",value:function(){var e=this.input,t=this.pos;if(t===e.length)return new d.a("EOF",new c.a(this,t,t));var n=l()(h,e,t);if(null===n)throw new u.a("Unexpected character: '"+e[t]+"'",new d.a(e[t],new c.a(this,t,t+1)));var r=n[2]||" ",i=this.pos;this.pos+=n[0].length;var o=this.pos;return m.test(r)?this.lex():new d.a(r,new c.a(this,i,o))}}]),e}();t.c=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64),i=(n.n(r),n(65));t.default=i.a},function(e,t){},function(e,t,n){"use strict";var r=n(6),i=n(34),o=n(76),a=n(113),s=n(5),l=function(e,t,n){s.a.clearNode(t);var r=d(e,n).toNode();t.appendChild(r)};"undefined"!==typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!==typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),l=function(){throw new r.a("KaTeX doesn't work in quirks mode.")});var u=function(e,t){return d(e,t).toMarkup()},c=function(e,t){var n=new i.a(t);return Object(a.a)(e,n)},d=function(e,t){var n=new i.a(t),r=Object(a.a)(e,n);return Object(o.b)(r,e,n)},f=function(e,t){var n=new i.a(t),r=Object(a.a)(e,n);return Object(o.a)(r,e,n)};t.a={render:l,renderToString:u,ParseError:r.a,__parse:c,__renderToDomTree:d,__renderToHTMLTree:f}},function(e,t,n){e.exports={default:n(67),__esModule:!0}},function(e,t,n){n(68),e.exports=n(8).Object.freeze},function(e,t,n){var r=n(20),i=n(69).onFreeze;n(46)("freeze",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(32)("meta"),i=n(20),o=n(21),a=n(15).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(24)(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},f=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},h=function(e){return u&&p.NEED&&l(e)&&!o(e,r)&&c(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:f,onFreeze:h}},function(e,t,n){e.exports=!n(23)&&!n(24)(function(){return 7!=Object.defineProperty(n(45)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(20);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){e.exports={default:n(74),__esModule:!0}},function(e,t,n){n(75);var r=n(8).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(25);r(r.S+r.F*!n(23),"Object",{defineProperty:n(15).f})},function(e,t,n){"use strict";n.d(t,"b",function(){return u}),n.d(t,"a",function(){return c});var r=n(4),i=n(2),o=n(0),a=n(43),s=(n(34),n(9)),l=function(e){return new a.a({style:e.displayMode?s.a.DISPLAY:s.a.TEXT,maxSize:e.maxSize})},u=function(e,t,n){var a=l(n),s=Object(i.c)(e,t,a),u=Object(r.c)(e,a),c=o.a.makeSpan(["katex"],[s,u]);return n.displayMode?o.a.makeSpan(["katex-display"],[c]):c},c=function(e,t,n){var i=l(n),a=Object(r.c)(e,i),s=o.a.makeSpan(["katex"],[a]);return n.displayMode?o.a.makeSpan(["katex-display"],[s]):s}},function(e,t,n){e.exports={default:n(78),__esModule:!0}},function(e,t,n){var r=n(8),i=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return i.stringify.apply(i,arguments)}},function(e,t,n){e.exports={default:n(80),__esModule:!0}},function(e,t,n){n(36),n(92),e.exports=n(8).Array.from},function(e,t,n){var r=n(37),i=n(38);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},function(e,t){e.exports=!0},function(e,t,n){e.exports=n(26)},function(e,t,n){"use strict";var r=n(85),i=n(33),o=n(54),a={};n(26)(a,n(11)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(22),i=n(86),o=n(53),a=n(41)("IE_PROTO"),s=function(){},l=function(){var e,t=n(45)("iframe"),r=o.length;for(t.style.display="none",n(90).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(15),i=n(22),o=n(39);e.exports=n(23)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(21),i=n(40),o=n(88)(!1),a=n(41)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},function(e,t,n){var r=n(40),i=n(51),o=n(89);e.exports=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(37),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){e.exports=n(16).document&&document.documentElement},function(e,t,n){var r=n(21),i=n(29),o=n(41)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";var r=n(47),i=n(25),o=n(29),a=n(93),s=n(94),l=n(51),u=n(95),c=n(55);i(i.S+i.F*!n(96)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,d,f=o(e),h="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,v=0,y=c(f);if(g&&(m=r(m,p>2?arguments[2]:void 0,2)),void 0==y||h==Array&&s(y))for(t=l(f.length),n=new h(t);t>v;v++)u(n,v,g?m(f[v],v):f[v]);else for(d=y.call(f),n=new h;!(i=d.next()).done;v++)u(n,v,g?a(d,m,[i.value,v],!0):i.value);return n.length=v,n}})},function(e,t,n){var r=n(22);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(17),i=n(11)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(15),i=n(33);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(11)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},function(e,t,n){e.exports={default:n(98),__esModule:!0}},function(e,t,n){n(58),n(36),e.exports=n(102)},function(e,t,n){"use strict";var r=n(100),i=n(101),o=n(17),a=n(40);e.exports=n(48)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(56),i=n(11)("iterator"),o=n(17);e.exports=n(8).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||o.hasOwnProperty(r(t))}},function(e,t,n){n(58),n(36),e.exports=n(104)},function(e,t,n){var r=n(22),i=n(55);e.exports=n(8).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){e.exports={default:n(106),__esModule:!0}},function(e,t,n){n(107),e.exports=n(8).Object.assign},function(e,t,n){var r=n(25);r(r.S+r.F,"Object",{assign:n(108)})},function(e,t,n){"use strict";var r=n(39),i=n(109),o=n(110),a=n(29),s=n(49),l=Object.assign;e.exports=!l||n(24)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=a(e),l=arguments.length,u=1,c=i.f,d=o.f;l>u;)for(var f,h=s(arguments[u++]),p=c?r(h).concat(c(h)):r(h),m=p.length,g=0;m>g;)d.call(h,f=p[g++])&&(n[f]=h[f]);return n}:l},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r={stdHorizRule:"M0 80H400000 v40H0z M0 80H400000 v40H0z",vertSeparator:"M100 0h50V400000h-50zM100 0h50V400000h-50z",sqrtMain:"M95,702c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,\n-10,-9.5,-14c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54c44.2,-33.3,65.8,\n-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10s173,378,173,378c0.7,0,\n35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429c69,-144,104.5,-217.7,106.5,\n-221c5.3,-9.3,12,-14,20,-14H400000v40H845.2724s-225.272,467,-225.272,467\ns-235,486,-235,486c-2.7,4.7,-9,7,-19,7c-6,0,-10,-1,-12,-3s-194,-422,-194,-422\ns-65,47,-65,47z M834 80H400000v40H845z",sqrtSize1:"M263,681c0.7,0,18,39.7,52,119c34,79.3,68.167,\n158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120c340,-704.7,510.7,-1060.3,512,-1067\nc4.7,-7.3,11,-11,19,-11H40000v40H1012.3s-271.3,567,-271.3,567c-38.7,80.7,-84,\n175,-136,283c-52,108,-89.167,185.3,-111.5,232c-22.3,46.7,-33.8,70.3,-34.5,71\nc-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1s-109,-253,-109,-253c-72.7,-168,-109.3,\n-252,-110,-252c-10.7,8,-22,16.7,-34,26c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26\ns76,-59,76,-59s76,-60,76,-60z M1001 80H40000v40H1012z",sqrtSize2:"M1001,80H400000v40H1013.1s-83.4,268,-264.1,840c-180.7,\n572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,\n-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744c-10,12,-21,25,-33,39s-32,39,-32,39\nc-6,-5.3,-15,-14,-27,-26s25,-30,25,-30c26.7,-32.7,52,-63,76,-91s52,-60,52,-60\ns208,722,208,722c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,\n-658.5c53.7,-170.3,84.5,-266.8,92.5,-289.5c4,-6.7,10,-10,18,-10z\nM1001 80H400000v40H1013z",sqrtSize3:"M424,2478c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,\n-342,-109.8,-513.3,-110.5,-514c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,\n25c-5.7,9.3,-9.8,16,-12.5,20s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,\n-13s76,-122,76,-122s77,-121,77,-121s209,968,209,968c0,-2,84.7,-361.7,254,-1079\nc169.3,-717.3,254.7,-1077.7,256,-1081c4,-6.7,10,-10,18,-10H400000v40H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M1001 80H400000v40H1014z",sqrtSize4:"M473,2793c339.3,-1799.3,509.3,-2700,510,-2702\nc3.3,-7.3,9.3,-11,18,-11H400000v40H1017.7s-90.5,478,-276.2,1466c-185.7,988,\n-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,\n-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200c0,-1.3,-5.3,8.7,-16,30c-10.7,\n21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26s76,-153,76,-153s77,-151,\n77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,606z\nM1001 80H400000v40H1017z",doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",baraboveleftarrow:"M1 500c30.67-18 59-41.833 85-71.5s45-61.17 57-94.5h23\nc15.33 0 23 .33 23 1 0 .67-5.33 12.67-16 36-16.67 34.67-39 67.33-67 98l-10 11\nh39904v40H96l9 10c27.33 30.67 50.67 65 70 103l14 33c0 .67-7.67 1-23 1h-22\nC116.67 596.33 69 540.67 1 500z M96 480 H400000 v40 H96z\nM1 147 H399905 v40  H1z M0 147 H399905 v40  H0z",rightarrowabovebar:"M400000 167c-70.67 42-118 97.67-142 167h-23c-15.33 0\n-23-.33-23-1 0-1.33 5.33-13.67 16-37 18-35.33 41.33-69 70-101l7-8h-39905\nv-40h39905c-389 0 0 0 0 0l-7-8c-28.67-32-52-65.67-70-101-10.67-23.33-16-35.67\n-16-37 0-.67 7.67-1 23-1h23c11.33 33.33 30 64.833 56 94.5s54.67 53.83 86 72.5z\nM0 147 H399905 v40  H0z M96 480 H400000 v40 H0z M96 480 H400000 v40 H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};t.a={path:r}},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s});var r={number:3,unit:"mu"},i={number:4,unit:"mu"},o={number:5,unit:"mu"},a={mord:{mop:r,mbin:i,mrel:o,minner:r},mop:{mord:r,mop:r,mrel:o,minner:r},mbin:{mord:i,mop:i,mopen:i,minner:i},mrel:{mord:o,mop:o,mopen:o,minner:o},mopen:{},mclose:{mop:r,mbin:i,mrel:o,minner:r},mpunct:{mord:r,mop:r,mrel:o,mopen:r,mclose:r,mpunct:r,minner:r},minner:{mord:r,mop:r,mbin:i,mrel:o,mopen:r,mpunct:r,minner:r}},s={mord:{mop:r},mop:{mord:r,mop:r},mbin:{},mrel:{},mopen:{},mclose:{mop:r},mpunct:{},minner:{mop:r}}},function(e,t,n){"use strict";var r=n(114),i=function(e,t){if(!("string"===typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");return new r.a(e,t).parse()};t.a=i},function(e,t,n){"use strict";function r(e,t){return{type:"arg",result:e,token:t}}function i(e){return{type:"fn",result:e.text,token:e}}function o(e){return{type:"$",result:"$",token:e}}function a(e){if("$"===e.type)throw new E.a("Unexpected $",e.token);return e}var s=n(7),l=n.n(s),u=n(10),c=n.n(u),d=n(115),f=n(142),h=n(144),p=n(28),m=n(19),g=n(42),v=n(148),y=n.n(v),b=n(149),w=n(14),E=n(6),T=n(62),_=(n(34),n(27),function(){function e(t,n){l()(this,e),this.mode="math",this.gullet=new h.a(t,n.macros,this.mode),n.colorIsTextColor&&(this.gullet.macros["\\color"]="\\textcolor"),this.settings=n,this.leftrightDepth=0}return c()(e,[{key:"expect",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.nextToken.text!==e)throw new E.a("Expected '"+e+"', got '"+this.nextToken.text+"'",this.nextToken);t&&this.consume()}},{key:"consume",value:function(){this.nextToken=this.gullet.expandNextToken()}},{key:"switchMode",value:function(e){this.mode=e,this.gullet.switchMode(e)}},{key:"parse",value:function(){return this.consume(),this.parseInput()}},{key:"parseInput",value:function(){var e=this.parseExpression(!1);return this.expect("EOF",!1),e}},{key:"parseExpression",value:function(t,n){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var i=this.nextToken;if(-1!==e.endOfExpression.indexOf(i.text))break;if(n&&i.text===n)break;if(t&&d.a[i.text]&&d.a[i.text].infix)break;var o=this.parseAtom(n);if(!o){if(!this.settings.throwOnError&&"\\"===i.text[0]){var a=this.handleUnsupportedCmd();r.push(a);continue}break}r.push(o)}return this.handleInfixNodes(r)}},{key:"handleInfixNodes",value:function(e){for(var t=-1,n=void 0,r=0;r<e.length;r++){var i=e[r];if("infix"===i.type){if(-1!==t)throw new E.a("only one infix operator per group",i.value.token);t=r,n=i.value.replaceWith}}if(-1!==t&&n){var o=void 0,a=void 0,s=e.slice(0,t),l=e.slice(t+1);o=1===s.length&&"ordgroup"===s[0].type?s[0]:new w.a("ordgroup",s,this.mode),a=1===l.length&&"ordgroup"===l[0].type?l[0]:new w.a("ordgroup",l,this.mode);var u=this.callFunction(n,[o,a],[]);return[new w.a(u.type,u,this.mode)]}return e}},{key:"handleSupSubscript",value:function(t){var n=this.nextToken,r=n.text;this.consume(),this.consumeSpaces();var i=this.parseGroup();if(!i){if(this.settings.throwOnError||"\\"!==this.nextToken.text[0])throw new E.a("Expected group after '"+r+"'",n);return this.handleUnsupportedCmd()}var o=a(i);if("fn"===o.type){if(d.a[o.result].greediness>e.SUPSUB_GREEDINESS)return this.parseGivenFunction(i);throw new E.a("Got function '"+o.result+"' with no arguments as "+t,n)}return o.result}},{key:"handleUnsupportedCmd",value:function(){for(var e=this.nextToken.text,t=[],n=0;n<e.length;n++)t.push(new w.a("textord",e[n],"text"));var r=new w.a("text",{body:t,type:"text"},this.mode),i=new w.a("color",{color:this.settings.errorColor,value:[r],type:"color"},this.mode);return this.consume(),i}},{key:"parseAtom",value:function(e){var t=this.parseImplicitGroup(e);if("text"===this.mode)return t;for(var n=void 0,r=void 0;;){this.consumeSpaces();var i=this.nextToken;if("\\limits"===i.text||"\\nolimits"===i.text){if(!t||"op"!==t.type)throw new E.a("Limit controls must follow a math operator",i);var o="\\limits"===i.text;t.value.limits=o,t.value.alwaysHandleSupSub=!0,this.consume()}else if("^"===i.text){if(n)throw new E.a("Double superscript",i);n=this.handleSupSubscript("superscript")}else if("_"===i.text){if(r)throw new E.a("Double subscript",i);r=this.handleSupSubscript("subscript")}else{if("'"!==i.text)break;if(n)throw new E.a("Double superscript",i);var a=new w.a("textord","\\prime",this.mode),s=[a];for(this.consume();"'"===this.nextToken.text;)s.push(a),this.consume();"^"===this.nextToken.text&&s.push(this.handleSupSubscript("superscript")),n=new w.a("ordgroup",s,this.mode)}}return n||r?new w.a("supsub",{base:t,sup:n,sub:r},this.mode):t}},{key:"parseImplicitGroup",value:function(e){var t=this.parseSymbol();if(null==t)return this.parseFunction();if("arg"===t.type)return this.parseGivenFunction(t);var n=t.result;if("$"===n){if("math"===this.mode)throw new E.a("$ within math mode");var r=this.mode;this.switchMode("math"),this.consume();var i=this.parseExpression(!1,"$");return this.expect("$",!1),this.switchMode(r),this.consume(),new w.a("styling",{style:"text",value:i},"math")}if("\\begin"===n){var o=this.parseGivenFunction(t),a=o.value.name;if(!f.a.hasOwnProperty(a))throw new E.a("No such environment: "+a,o.value.nameGroup);var s=f.a[a],l=this.parseArguments("\\begin{"+a+"}",s),u=l.args,c=l.optArgs,d={mode:this.mode,envName:a,parser:this},h=s.handler(d,u,c);this.expect("\\end",!1);var p=this.nextToken,m=this.parseFunction();if(!m)throw new E.a("failed to parse function after \\end");if(m.value.name!==a)throw new E.a("Mismatch: \\begin{"+a+"} matched by \\end{"+m.value.name+"}",p);return h}return this.parseGivenFunction(t,e)}},{key:"parseFunction",value:function(){var e=this.parseGroup();return e?this.parseGivenFunction(e):null}},{key:"parseGivenFunction",value:function(e,t){if(e=a(e),"fn"===e.type){var n=e.result,r=d.a[n];if("text"===this.mode&&!r.allowedInText)throw new E.a("Can't use function '"+n+"' in text mode",e.token);if("math"===this.mode&&!1===r.allowedInMath)throw new E.a("Can't use function '"+n+"' in math mode",e.token);var i=this.parseArguments(n,r),o=i.args,s=i.optArgs,l=e.token,u=this.callFunction(n,o,s,l,t);return new w.a(u.type,u,this.mode)}return e.result}},{key:"callFunction",value:function(e,t,n,r,i){var o={funcName:e,parser:this,token:r,breakOnTokenText:i},a=d.a[e];if(a&&a.handler)return a.handler(o,t,n);throw new E.a("No function handler for "+e)}},{key:"parseArguments",value:function(e,t){var n=t.numArgs+t.numOptionalArgs;if(0===n)return{args:[],optArgs:[]};for(var i=t.greediness,o=[],s=[],l=0;l<n;l++){var u=t.argTypes&&t.argTypes[l],c=l<t.numOptionalArgs;l>0&&!c&&this.consumeSpaces(),0!==l||c||"math"!==this.mode||this.consumeSpaces();var f=this.nextToken,h=u?this.parseGroupOfType(u,c):this.parseGroup(c);if(!h){if(c){s.push(null);continue}if(this.settings.throwOnError||"\\"!==this.nextToken.text[0])throw new E.a("Expected group after '"+e+"'",f);h=r(this.handleUnsupportedCmd(),f)}var p=void 0;if(h=a(h),"fn"===h.type){if(!(d.a[h.result].greediness>i))throw new E.a("Got function '"+h.result+"' as argument to '"+e+"'",f);p=this.parseGivenFunction(h)}else p=h.result;(c?s:o).push(p)}return{args:o,optArgs:s}}},{key:"parseGroupOfType",value:function(e,t){return"original"===e&&(e=this.mode),"color"===e?this.parseColorGroup(t):"size"===e?this.parseSizeGroup(t):"url"===e?this.parseUrlGroup(t):this.parseGroup(t,e)}},{key:"consumeSpaces",value:function(){for(;" "===this.nextToken.text;)this.consume()}},{key:"parseStringGroup",value:function(e,t){if(t&&"["!==this.nextToken.text)return null;var n=this.mode;this.mode="text",this.expect(t?"[":"{");for(var r="",i=this.nextToken,o=i;this.nextToken.text!==(t?"]":"}");){if("EOF"===this.nextToken.text)throw new E.a("Unexpected end of input in "+e,i.range(this.nextToken,r));o=this.nextToken,r+=o.text,this.consume()}return this.mode=n,this.expect(t?"]":"}"),i.range(o,r)}},{key:"parseStringGroupWithBalancedBraces",value:function(e,t){if(t&&"["!==this.nextToken.text)return null;var n=this.mode;this.mode="text",this.expect(t?"[":"{");for(var r="",i=0,o=this.nextToken,a=o;i>0||this.nextToken.text!==(t?"]":"}");){if("EOF"===this.nextToken.text)throw new E.a("Unexpected end of input in "+e,o.range(this.nextToken,r));if(a=this.nextToken,r+=a.text,"{"===a.text)i+=1;else if("}"===a.text){if(i<=0)throw new E.a("Unbalanced brace of input in "+e,o.range(this.nextToken,r));i-=1}this.consume()}return this.mode=n,this.expect(t?"]":"}"),o.range(a,r)}},{key:"parseRegexGroup",value:function(e,t){var n=this.mode;this.mode="text";for(var r=this.nextToken,i=r,o="";"EOF"!==this.nextToken.text&&e.test(o+this.nextToken.text);)i=this.nextToken,o+=i.text,this.consume();if(""===o)throw new E.a("Invalid "+t+": '"+r.text+"'",r);return this.mode=n,r.range(i,o)}},{key:"parseColorGroup",value:function(e){var t=this.parseStringGroup("color",e);if(!t)return null;var n=/^(#[a-f0-9]{3}|#[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new E.a("Invalid color: '"+t.text+"'",t);return r(new w.a("color",n[0],this.mode),t)}},{key:"parseUrlGroup",value:function(e){var t=this.parseStringGroupWithBalancedBraces("url",e);if(!t)return null;var n=t.text,i=n.replace(/\\([#$%&~_^{}])/g,"$1");return r(new w.a("url",i,this.mode),t)}},{key:"parseSizeGroup",value:function(e){var t=void 0;if(!(t=e||"{"===this.nextToken.text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!n)throw new E.a("Invalid size: '"+t.text+"'",t);var i={number:+(n[1]+n[2]),unit:n[3]};if(!Object(m.b)(i))throw new E.a("Invalid unit: '"+i.unit+"'",t);return r(new w.a("size",i,this.mode),t)}},{key:"parseGroup",value:function(e,t){var n=this.mode,i=this.nextToken;if(this.nextToken.text===(e?"[":"{")){t&&this.switchMode(t),this.consume();var o=this.parseExpression(!1,e?"]":"}"),a=this.nextToken;return t&&this.switchMode(n),this.expect(e?"]":"}"),"text"===t&&this.formLigatures(o),r(new w.a("ordgroup",o,this.mode,i,a),i.range(a,i.text))}t&&this.switchMode(t);var s=e?null:this.parseSymbol();return t&&this.switchMode(n),s}},{key:"formLigatures",value:function(e){for(var t=e.length-1,n=0;n<t;++n){var r=e[n],i=r.value;"-"===i&&"-"===e[n+1].value&&(n+1<t&&"-"===e[n+2].value?(e.splice(n,3,new w.a("textord","---","text",r,e[n+2])),t-=2):(e.splice(n,2,new w.a("textord","--","text",r,e[n+1])),t-=1)),"'"!==i&&"`"!==i||e[n+1].value!==i||(e.splice(n,2,new w.a("textord",i+i,"text",r,e[n+1])),t-=1)}}},{key:"parseSymbol",value:function(){var e=this.nextToken,t=e.text;if(d.a[t])return this.consume(),i(e);if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var n=t.slice(5),a="*"===n.charAt(0);if(a&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new E.a("\\verb assertion failed --\n                    please report what input caused this bug");return n=n.slice(1,-1),r(new w.a("verb",{body:n,star:a},"text"),e)}if("$"===t)return o(e);b.a.hasOwnProperty(t[0])&&!p.a[this.mode][t[0]]&&(t=b.a[t[0]]+t.substr(1));var s=T.a.exec(t);s&&(t=t.substring(0,s.index),"i"===t?t="\u0131":"j"===t&&(t="\u0237"));var l=null;if(p.a[this.mode][t])l=new w.a(p.a[this.mode][t].group,t,this.mode,e);else{if("text"!==this.mode||!Object(g.b)(t.charCodeAt(0)))return null;l=new w.a("textord",t,this.mode,e)}if(this.consume(),s)for(var u=0;u<s[0].length;u++){var c=s[0][u];if(!y.a[c])throw new E.a("Unknown accent ' "+c+"'",e);var f=y.a[c][this.mode];if(!f)throw new E.a("Accent "+c+" unsupported in "+this.mode+" mode",e);l=new w.a("accent",{type:"accent",label:f,isStretchy:!1,isShifty:!0,base:l},this.mode,e)}return r(l,e)}}]),e}());_.endOfExpression=["}","\\end","\\right","&","\\\\","\\cr"],_.SUPSUB_GREEDINESS=1,t.a=_},function(e,t,n){"use strict";var r=n(6),i=n(14),o=n(3),a=(n(116),n(117),n(118),n(119),n(120),n(121),n(122),n(123),n(124),n(125),n(126),n(127),n(128),n(129),n(130),n(131),n(60),n(132),n(133),n(137),n(138),n(139),n(140),n(141),o.a);t.a=a;var s=function(e,t,n){Object(o.b)({names:e,props:t,handler:n})};s(["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],{numArgs:1},function(e,t){var n=t[0];return{type:"mclass",mclass:"m"+e.funcName.substr(5),value:Object(o.c)(n)}}),s(["\\stackrel"],{numArgs:2},function(e,t){var n=t[0],r=t[1],a=new i.a("op",{type:"op",limits:!0,alwaysHandleSupSub:!0,symbol:!1,value:Object(o.c)(r)},r.mode);return{type:"mclass",mclass:"mrel",value:[new i.a("supsub",{base:a,sup:n,sub:null},n.mode)]}});var l={"\u222b":"\\int","\u222c":"\\iint","\u222d":"\\iiint","\u222e":"\\oint"};s(["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],{numArgs:0},function(e){return{type:"op",limits:!1,symbol:!1,body:e.funcName}}),s(["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],{numArgs:0},function(e){return{type:"op",limits:!0,symbol:!1,body:e.funcName}}),s(["\\int","\\iint","\\iiint","\\oint","\u222b","\u222c","\u222d","\u222e"],{numArgs:0},function(e){var t=e.funcName;return 1===t.length&&(t=l[t]),{type:"op",limits:!1,symbol:!0,body:t}}),s(["\\overbrace","\\underbrace"],{numArgs:1},function(e,t){var n=t[0];return{type:"horizBrace",label:e.funcName,isOver:/^\\over/.test(e.funcName),base:n}}),s(["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],{numArgs:1,numOptionalArgs:1},function(e,t,n){var r=n[0],i=t[0];return{type:"xArrow",label:e.funcName,body:i,below:r}}),s(["\\over","\\choose","\\atop"],{numArgs:0,infix:!0},function(e){var t=void 0;switch(e.funcName){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",replaceWith:t,token:e.token}}),s(["\\\\","\\cr"],{numArgs:0,numOptionalArgs:1,argTypes:["size"]},function(e,t,n){return{type:"cr",size:n[0]}}),s(["\\begin","\\end"],{numArgs:1,argTypes:["text"]},function(e,t){var n=t[0];if("ordgroup"!==n.type)throw new r.a("Invalid environment name",n);for(var i="",o=0;o<n.value.length;++o)i+=n.value[o].value;return{type:"environment",name:i,nameGroup:n}}),s(["\\raisebox"],{numArgs:2,argTypes:["size","text"],allowedInText:!0},function(e,t){var n=t[0],r=t[1];return{type:"raisebox",dy:n,body:r,value:Object(o.c)(r)}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(12),a=n(1),s=n(44),l=n(9),u=n(4),c=n(2);Object(r.b)({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,n){var r=n[0];return{type:"sqrt",body:t[0],index:r}},htmlBuilder:function(e,t){var n=u.b(e.value.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n instanceof o.a.documentFragment&&(n=i.a.makeSpan([],[n],t));var r=t.fontMetrics(),a=r.defaultRuleThickness,c=a;t.style.id<l.a.TEXT.id&&(c=t.fontMetrics().xHeight);var d=a+c/4,f=(n.height+n.depth+d+a)*t.sizeMultiplier,h=s.a.sqrtImage(f,t),p=h.span,m=h.ruleWidth,g=p.height-m;g>n.height+n.depth+d&&(d=(d+g-n.height-n.depth)/2);var v=p.height-n.height-d-m;n.style.paddingLeft=p.advanceWidth+"em";var y=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+v)},{type:"elem",elem:p},{type:"kern",size:m}]},t);if(e.value.index){var b=t.havingStyle(l.a.SCRIPTSCRIPT),w=u.b(e.value.index,b,t),E=.6*(y.height-y.depth),T=i.a.makeVList({positionType:"shift",positionData:-E,children:[{type:"elem",elem:w}]},t),_=i.a.makeSpan(["root"],[T]);return i.a.makeSpan(["mord","sqrt"],[_,y],t)}return i.a.makeSpan(["mord","sqrt"],[y],t)},mathmlBuilder:function(e,t){return e.value.index?new a.a.MathNode("mroot",[c.b(e.value.body,t),c.b(e.value.index,t)]):new a.a.MathNode("msqrt",[c.b(e.value.body,t)])}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(6),s=n(4),l=n(2),u=function(e,t){var n=s.a(e.value.value,t.withColor(e.value.color),!1);return new i.a.makeFragment(n)},c=function(e,t){var n=l.a(e.value.value,t),r=new o.a.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.value.color),r};Object(r.b)({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(e,t){var n=t[0],i=t[1];return{type:"color",color:n.value,value:Object(r.c)(i)}},htmlBuilder:u,mathmlBuilder:c}),Object(r.b)({type:"color",names:["\\blue","\\orange","\\pink","\\red","\\green","\\gray","\\purple","\\blueA","\\blueB","\\blueC","\\blueD","\\blueE","\\tealA","\\tealB","\\tealC","\\tealD","\\tealE","\\greenA","\\greenB","\\greenC","\\greenD","\\greenE","\\goldA","\\goldB","\\goldC","\\goldD","\\goldE","\\redA","\\redB","\\redC","\\redD","\\redE","\\maroonA","\\maroonB","\\maroonC","\\maroonD","\\maroonE","\\purpleA","\\purpleB","\\purpleC","\\purpleD","\\purpleE","\\mintA","\\mintB","\\mintC","\\grayA","\\grayB","\\grayC","\\grayD","\\grayE","\\grayF","\\grayG","\\grayH","\\grayI","\\kaBlue","\\kaGreen"],props:{numArgs:1,allowedInText:!0,greediness:3},handler:function(e,t){var n=t[0];return{type:"color",color:"katex-"+e.funcName.slice(1),value:Object(r.c)(n)}},htmlBuilder:u,mathmlBuilder:c}),Object(r.b)({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(e,t){var n=e.parser,r=e.breakOnTokenText,i=t[0];if(!i)throw new a.a("\\color not followed by color");var o=n.parseExpression(!0,r);return{type:"color",color:i.value,value:o}},htmlBuilder:u,mathmlBuilder:c})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2),l={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},u={"\\textbf":"textbf"},c={"\\textit":"textit"};Object(r.b)({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textit"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(e,t){var n=t[0];return{type:"text",body:Object(r.c)(n),font:e.funcName}},htmlBuilder:function(e,t){var n=e.value.font,r=void 0;r=l[n]?t.withFontFamily(l[n]):u[n]?t.withFontWeight(u[n]):t.withFontShape(c[n]);var o=a.a(e.value.body,r,!0);return i.a.tryCombineChars(o),i.a.makeSpan(["mord","text"],o,r)},mathmlBuilder:function(e,t){for(var n=e.value.body,r=[],i=null,a=0;a<n.length;a++){var l=s.b(n[a],t);"mtext"===l.type&&null!=i?Array.prototype.push.apply(i.children,l.children):(r.push(l),"mtext"===l.type&&(i=l))}return 1===r.length?r[0]:new o.a.MathNode("mrow",r)}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(5),s=n(13),l=n(4),u=n(2),c=function(e,t){var n=l.b(e.value.body,t),r=e.value.label.substr(1),o=t.sizeMultiplier,u=void 0,c=0,d=/color/.test(r);if("sout"===r)u=i.a.makeSpan(["stretchy","sout"]),u.height=t.fontMetrics().defaultRuleThickness/o,c=-.5*t.fontMetrics().xHeight;else{n.classes.push(/cancel/.test(r)?"cancel-pad":"boxpad");var f=0;f=/box/.test(r)?"colorbox"===r?.3:.34:a.a.isCharacterBox(e.value.body)?.2:0,u=s.a.encloseSpan(n,r,f,t),c=n.depth+f,d&&(u.style.backgroundColor=e.value.backgroundColor.value,"fcolorbox"===r&&(u.style.borderColor=e.value.borderColor.value))}var h=void 0;return h=d?i.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:c},{type:"elem",elem:n,shift:0}]},t):i.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:u,shift:c,wrapperClasses:/cancel/.test(r)?["svg-align"]:[]}]},t),/cancel/.test(r)?i.a.makeSpan(["mord","cancel-lap"],[h],t):i.a.makeSpan(["mord"],[h],t)},d=function(e,t){var n=new o.a.MathNode("menclose",[u.b(e.value.body,t)]);switch(e.value.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\colorbox":n.setAttribute("mathbackground",e.value.backgroundColor.value);break;case"\\fcolorbox":n.setAttribute("mathbackground",e.value.backgroundColor.value),n.setAttribute("notation","box");break;default:n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return n};Object(r.b)({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(e,t,n){var r=t[0],i=t[1];return{type:"enclose",label:e.funcName,backgroundColor:r,body:i}},htmlBuilder:c,mathmlBuilder:d}),Object(r.b)({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(e,t,n){var r=t[0],i=t[1],o=t[2];return{type:"enclose",label:e.funcName,backgroundColor:i,borderColor:r,body:o}},htmlBuilder:c,mathmlBuilder:d}),Object(r.b)({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\fbox"],props:{numArgs:1},handler:function(e,t,n){var r=t[0];return{type:"enclose",label:e.funcName,body:r}},htmlBuilder:c,mathmlBuilder:d})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(e,t){return{type:"overline",body:t[0]}},htmlBuilder:function(e,t){var n=a.b(e.value.body,t.havingCrampedStyle()),r=i.a.makeLineSpan("overline-line",t),o=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:r.height},{type:"elem",elem:r}]},t);return i.a.makeSpan(["mord","overline"],[o],t)},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mo",[new o.a.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new o.a.MathNode("mover",[s.b(e.value.body,t),n]);return r.setAttribute("accent","true"),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){return{type:"underline",body:t[0]}},htmlBuilder:function(e,t){var n=a.b(e.value.body,t),r=i.a.makeLineSpan("underline-line",t),o=i.a.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r},{type:"kern",size:5*r.height},{type:"elem",elem:n}]},t);return i.a.makeSpan(["mord","underline"],[o],t)},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mo",[new o.a.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new o.a.MathNode("munder",[s.b(e.value.body,t),n]);return r.setAttribute("accentunder","true"),r}})},function(e,t,n){"use strict";var r=n(0),i=n(3),o=n(1),a=n(19);Object(i.b)({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(e,t,n){var r=n[0],i=t[0],o=t[1];return{type:"rule",shift:r&&r.value,width:i.value,height:o.value}},htmlBuilder:function(e,t){var n=r.a.makeSpan(["mord","rule"],[],t),i=0;e.value.shift&&(i=Object(a.a)(e.value.shift,t));var o=Object(a.a)(e.value.width,t),s=Object(a.a)(e.value.height,t);return n.style.borderRightWidth=o+"em",n.style.borderTopWidth=s+"em",n.style.bottom=i+"em",n.width=o,n.height=s+i,n.depth=-i,n.maxFontSize=1.125*s*t.sizeMultiplier,n},mathmlBuilder:function(e,t){return new o.a.MathNode("mrow")}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(19),s=n(6);Object(r.b)({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t){var n="m"===e.funcName[1],r="mu"===t[0].value.unit;if(n){if(r||"undefined"!==typeof console&&console.warn("In LaTeX, "+e.funcName+" supports only mu units, not "+t[0].value.unit+" units"),"math"!==e.parser.mode)throw new s.a("Can't use function '"+e.funcName+"' in text mode")}else r&&"undefined"!==typeof console&&console.warn("In LaTeX, "+e.funcName+" does not support mu units");return{type:"kern",dimension:t[0].value}},htmlBuilder:function(e,t){return i.a.makeGlue(e.value.dimension,t)},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mspace"),r=Object(a.a)(e.value.dimension,t);return n.setAttribute("width",r+"em"),n}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"phantom",names:["\\phantom"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"phantom",value:Object(r.c)(n)}},htmlBuilder:function(e,t){var n=a.a(e.value.value,t.withPhantom(),!1);return new i.a.makeFragment(n)},mathmlBuilder:function(e,t){var n=s.a(e.value.value,t);return new o.a.MathNode("mphantom",n)}}),Object(r.b)({type:"hphantom",names:["\\hphantom"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"hphantom",value:Object(r.c)(n),body:n}},htmlBuilder:function(e,t){var n=i.a.makeSpan([],[a.b(e.value.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(e,t){var n=s.a(e.value.value,t),r=new o.a.MathNode("mphantom",n);return r.setAttribute("height","0px"),r}}),Object(r.b)({type:"vphantom",names:["\\vphantom"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"vphantom",value:Object(r.c)(n),body:n}},htmlBuilder:function(e,t){var n=i.a.makeSpan(["inner"],[a.b(e.value.body,t.withPhantom())]),r=i.a.makeSpan(["fix"],[]);return i.a.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:function(e,t){var n=s.a(e.value.value,t),r=new o.a.MathNode("mphantom",n);return r.setAttribute("width","0px"),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(9),s=n(4),l=n(2),u=function(e,t){var n=[];if("bmod"===e.value.modType?t.style.isTight()?n.push(i.a.makeSpan(["mspace","thickspace"],[],t)):n.push(i.a.makeSpan(["mspace","muspace"],[],t)):t.style.size===a.a.DISPLAY.size?n.push(i.a.makeSpan(["mspace","quad"],[],t)):"mod"===e.value.modType?n.push(i.a.makeSpan(["mspace","twelvemuspace"],[],t)):n.push(i.a.makeSpan(["mspace","eightmuspace"],[],t)),"pod"!==e.value.modType&&"pmod"!==e.value.modType||n.push(i.a.mathsym("(",e.mode)),"pod"!==e.value.modType){var r=[i.a.mathsym("m",e.mode),i.a.mathsym("o",e.mode),i.a.mathsym("d",e.mode)];"bmod"===e.value.modType?(n.push(i.a.makeSpan(["mbin"],r,t)),t.style.isTight()?n.push(i.a.makeSpan(["mspace","thickspace"],[],t)):n.push(i.a.makeSpan(["mspace","muspace"],[],t))):(Array.prototype.push.apply(n,r),n.push(i.a.makeSpan(["mspace","sixmuspace"],[],t)))}return e.value.value&&Array.prototype.push.apply(n,s.a(e.value.value,t,!1)),"pod"!==e.value.modType&&"pmod"!==e.value.modType||n.push(i.a.mathsym(")",e.mode)),i.a.makeFragment(n)},c=function(e,t){var n=[];if("pod"!==e.value.modType&&"pmod"!==e.value.modType||n.push(new o.a.MathNode("mo",[l.e("(",e.mode)])),"pod"!==e.value.modType&&n.push(new o.a.MathNode("mo",[l.e("mod",e.mode)])),e.value.value){var r=new o.a.MathNode("mspace");r.setAttribute("width","0.333333em"),n.push(r),n=n.concat(l.a(e.value.value,t))}return"pod"!==e.value.modType&&"pmod"!==e.value.modType||n.push(new o.a.MathNode("mo",[l.e(")",e.mode)])),new o.a.MathNode("mo",n)};Object(r.b)({type:"mod",names:["\\bmod"],props:{numArgs:0},handler:function(e,t){return{type:"mod",modType:"bmod",value:null}},htmlBuilder:u,mathmlBuilder:c}),Object(r.b)({type:"mod",names:["\\pod","\\pmod","\\mod"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"mod",modType:e.funcName.substr(1),value:Object(r.c)(n)}},htmlBuilder:u,mathmlBuilder:c})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(12),a=n(1),s=n(5),l=n(9),u=n(4),c=n(2),d=function(e,t){var n=void 0,r=void 0,a=!1;"supsub"===e.type&&(n=e.value.sup,r=e.value.sub,e=e.value.base,a=!0);var c=t.style,d=["\\smallint"],f=!1;c.size===l.a.DISPLAY.size&&e.value.symbol&&!s.a.contains(d,e.value.body)&&(f=!0);var h=void 0;if(e.value.symbol){var p=f?"Size2-Regular":"Size1-Regular";h=i.a.makeSymbol(e.value.body,p,"math",t,["mop","op-symbol",f?"large-op":"small-op"])}else if(e.value.value){var m=u.a(e.value.value,t,!0);1===m.length&&m[0]instanceof o.a.symbolNode?(h=m[0],h.classes[0]="mop"):h=i.a.makeSpan(["mop"],m,t)}else{for(var g=[],v=1;v<e.value.body.length;v++)g.push(i.a.mathsym(e.value.body[v],e.mode));h=i.a.makeSpan(["mop"],g,t)}var y=0,b=0;if(h instanceof o.a.symbolNode&&(y=(h.height-h.depth)/2-t.fontMetrics().axisHeight,b=h.italic),a){h=i.a.makeSpan([],[h]);var w=void 0,E=void 0;if(n){var T=u.b(n,t.havingStyle(c.sup()),t);E={elem:T,kern:Math.max(t.fontMetrics().bigOpSpacing1,t.fontMetrics().bigOpSpacing3-T.depth)}}if(r){var _=u.b(r,t.havingStyle(c.sub()),t);w={elem:_,kern:Math.max(t.fontMetrics().bigOpSpacing2,t.fontMetrics().bigOpSpacing4-_.height)}}var x=void 0;if(E&&w){var k=t.fontMetrics().bigOpSpacing5+w.elem.height+w.elem.depth+w.kern+h.depth+y;x=i.a.makeVList({positionType:"bottom",positionData:k,children:[{type:"kern",size:t.fontMetrics().bigOpSpacing5},{type:"elem",elem:w.elem,marginLeft:-b+"em"},{type:"kern",size:w.kern},{type:"elem",elem:h},{type:"kern",size:E.kern},{type:"elem",elem:E.elem,marginLeft:b+"em"},{type:"kern",size:t.fontMetrics().bigOpSpacing5}]},t)}else if(w){var S=h.height-y;x=i.a.makeVList({positionType:"top",positionData:S,children:[{type:"kern",size:t.fontMetrics().bigOpSpacing5},{type:"elem",elem:w.elem,marginLeft:-b+"em"},{type:"kern",size:w.kern},{type:"elem",elem:h}]},t)}else{if(!E)return h;var C=h.depth+y;x=i.a.makeVList({positionType:"bottom",positionData:C,children:[{type:"elem",elem:h},{type:"kern",size:E.kern},{type:"elem",elem:E.elem,marginLeft:b+"em"},{type:"kern",size:t.fontMetrics().bigOpSpacing5}]},t)}return i.a.makeSpan(["mop","op-limits"],[x],t)}return y&&(h.style.position="relative",h.style.top=y+"em"),h},f=function(e,t){var n=void 0;if(e.value.symbol)n=new a.a.MathNode("mo",[c.e(e.value.body,e.mode)]);else{if(!e.value.value){n=new a.a.MathNode("mi",[new a.a.TextNode(e.value.body.slice(1))]);var r=new a.a.MathNode("mo",[c.e("\u2061","text")]);return new o.a.documentFragment([n,r])}n=new a.a.MathNode("mo",c.a(e.value.value,t))}return n},h={"\u220f":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22c0":"\\bigwedge","\u22c1":"\\bigvee","\u22c2":"\\bigcap","\u22c3":"\\bigcap","\u2a00":"\\bigodot","\u2a01":"\\bigoplus","\u2a02":"\\bigotimes","\u2a04":"\\biguplus","\u2a06":"\\bigsqcup"};Object(r.b)({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220f","\u2210","\u2211","\u22c0","\u22c1","\u22c2","\u22c3","\u2a00","\u2a01","\u2a02","\u2a04","\u2a06"],props:{numArgs:0},handler:function(e,t){var n=e.funcName;return 1===n.length&&(n=h[n]),{type:"op",limits:!0,symbol:!0,body:n}},htmlBuilder:d,mathmlBuilder:f}),Object(r.b)({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"op",limits:!1,symbol:!1,value:Object(r.c)(n)}},htmlBuilder:d,mathmlBuilder:f})},function(e,t,n){"use strict";var r=n(18),i=n.n(r),o=n(3),a=n(0),s=n(1),l=n(12),u=n(4),c=n(2);Object(o.b)({type:"operatorname",names:["\\operatorname"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"operatorname",value:Object(o.c)(n)}},htmlBuilder:function(e,t){var n=[];if(e.value.value.length>0){var r="",o="",s=!0,c=!1,d=void 0;try{for(var f,h=i()(e.value.value);!(s=(f=h.next()).done);s=!0){var p=f.value;-1!=="*-/:".indexOf(p.value)&&(p.type="textord")}}catch(e){c=!0,d=e}finally{try{!s&&h.return&&h.return()}finally{if(c)throw d}}var m=u.a(e.value.value,t.withFontFamily("mathrm"),!0),g=!0,v=!1,y=void 0;try{for(var b,w=i()(m);!(g=(b=w.next()).done);g=!0){var E=b.value;E instanceof l.a.symbolNode?(r=E.value,r=r.replace(/\u2212/,"-"),r=r.replace(/\u2217/,"*"),o=/[\u0391-\u03D7]/.test(r)?"math":"text",n.push(a.a.mathsym(r,o))):n.push(E)}}catch(e){v=!0,y=e}finally{try{!g&&w.return&&w.return()}finally{if(v)throw y}}}return a.a.makeSpan(["mop"],n,t)},mathmlBuilder:function(e,t){var n=[];if(e.value.value.length>0){var r=c.a(e.value.value,t.withFontFamily("mathrm")),i=r.map(function(e){return e.toText()}).join("");i=i.replace(/\u2212/g,"-"),i=i.replace(/\u2217/g,"*"),n=[new s.a.TextNode(i)]}var o=new s.a.MathNode("mi",n);o.setAttribute("mathvariant","normal");var a=new s.a.MathNode("mo",[c.e("\u2061","text")]);return new l.a.documentFragment([o,a])}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(44),a=n(1),s=n(9),l=n(4),u=n(2);Object(r.b)({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac"],props:{numArgs:2,greediness:2},handler:function(e,t){var n=t[0],r=t[1],i=void 0,o=null,a=null,s="auto";switch(e.funcName){case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,o="(",a=")";break;default:throw new Error("Unrecognized genfrac command")}switch(e.funcName){case"\\dfrac":case"\\dbinom":s="display";break;case"\\tfrac":case"\\tbinom":s="text"}return{type:"genfrac",numer:n,denom:r,hasBarLine:i,leftDelim:o,rightDelim:a,size:s}},htmlBuilder:function(e,t){var n=t.style;"display"===e.value.size?n=s.a.DISPLAY:"text"===e.value.size&&(n=s.a.TEXT);var r=n.fracNum(),a=n.fracDen(),u=void 0;u=t.havingStyle(r);var c=l.b(e.value.numer,u,t);u=t.havingStyle(a);var d=l.b(e.value.denom,u,t),f=void 0,h=void 0,p=void 0;e.value.hasBarLine?(f=i.a.makeLineSpan("frac-line",t),h=f.height,p=f.height):(f=null,h=0,p=t.fontMetrics().defaultRuleThickness);var m=void 0,g=void 0,v=void 0;n.size===s.a.DISPLAY.size?(m=t.fontMetrics().num1,g=h>0?3*p:7*p,v=t.fontMetrics().denom1):(h>0?(m=t.fontMetrics().num2,g=p):(m=t.fontMetrics().num3,g=3*p),v=t.fontMetrics().denom2);var y=void 0;if(f){var b=t.fontMetrics().axisHeight;m-c.depth-(b+.5*h)<g&&(m+=g-(m-c.depth-(b+.5*h))),b-.5*h-(d.height-v)<g&&(v+=g-(b-.5*h-(d.height-v)));var w=-(b-.5*h);y=i.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:d,shift:v},{type:"elem",elem:f,shift:w+2*h},{type:"elem",elem:c,shift:-m}]},t)}else{var E=m-c.depth-(d.height-v);E<g&&(m+=.5*(g-E),v+=.5*(g-E)),y=i.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:d,shift:v},{type:"elem",elem:c,shift:-m}]},t)}u=t.havingStyle(n),y.height*=u.sizeMultiplier/t.sizeMultiplier,y.depth*=u.sizeMultiplier/t.sizeMultiplier;var T=void 0;T=n.size===s.a.DISPLAY.size?t.fontMetrics().delim1:t.fontMetrics().delim2;var _=void 0,x=void 0;return _=null==e.value.leftDelim?l.e(t,["mopen"]):o.a.customSizedDelim(e.value.leftDelim,T,!0,t.havingStyle(n),e.mode,["mopen"]),x=null==e.value.rightDelim?l.e(t,["mclose"]):o.a.customSizedDelim(e.value.rightDelim,T,!0,t.havingStyle(n),e.mode,["mclose"]),i.a.makeSpan(["mord"].concat(u.sizingClasses(t)),[_,i.a.makeSpan(["mfrac"],[y]),x],t)},mathmlBuilder:function(e,t){var n=new a.a.MathNode("mfrac",[u.b(e.value.numer,t),u.b(e.value.denom,t)]);if(e.value.hasBarLine||n.setAttribute("linethickness","0px"),null!=e.value.leftDelim||null!=e.value.rightDelim){var r=[];if(null!=e.value.leftDelim){var i=new a.a.MathNode("mo",[new a.a.TextNode(e.value.leftDelim)]);i.setAttribute("fence","true"),r.push(i)}if(r.push(n),null!=e.value.rightDelim){var o=new a.a.MathNode("mo",[new a.a.TextNode(e.value.rightDelim)]);o.setAttribute("fence","true"),r.push(o)}return new a.a.MathNode("mrow",r)}return n}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=t[0];return{type:"lap",alignment:e.funcName.slice(5),body:n}},htmlBuilder:function(e,t){var n=void 0;"clap"===e.value.alignment?(n=i.a.makeSpan([],[a.b(e.value.body,t)]),n=i.a.makeSpan(["inner"],[n],t)):n=i.a.makeSpan(["inner"],[a.b(e.value.body,t)]);var r=i.a.makeSpan(["fix"],[]);return i.a.makeSpan(["mord",e.value.alignment],[n,r],t)},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mpadded",[s.b(e.value.body,t)]);if("rlap"!==e.value.alignment){var r="llap"===e.value.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,n){var r=!1,i=!1,o=n[0];if(o)for(var a="",s=0;s<o.value.length;++s)if("t"===(a=o.value[s].value))r=!0;else{if("b"!==a){r=!1,i=!1;break}i=!0}else r=!0,i=!0;return{type:"smash",body:t[0],smashHeight:r,smashDepth:i}},htmlBuilder:function(e,t){var n=i.a.makeSpan(["mord"],[a.b(e.value.body,t)]);if(!e.value.smashHeight&&!e.value.smashDepth)return n;if(e.value.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(e.value.smashDepth&&(n.depth=0,n.children))for(var o=0;o<n.children.length;o++)n.children[o].depth=0;return i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mpadded",[s.b(e.value.body,t)]);return e.value.smashHeight&&n.setAttribute("height","0px"),e.value.smashDepth&&n.setAttribute("depth","0px"),n}})},function(e,t,n){"use strict";function r(e,t){if(u.a.contains(h,e.value))return e;throw new l.a("Invalid delimiter: '"+e.value+"' after '"+t.funcName+"'",e)}var i=n(0),o=n(3),a=n(44),s=n(1),l=n(6),u=n(5),c=n(4),d=n(2),f={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},h=["(",")","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","<",">","\\langle","\u27e8","\\rangle","\u27e9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];Object(o.b)({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(e,t){var n=r(t[0],e);return{type:"delimsizing",size:f[e.funcName].size,mclass:f[e.funcName].mclass,value:n.value}},htmlBuilder:function(e,t){var n=e.value.value;return"."===n?i.a.makeSpan([e.value.mclass]):a.a.sizedDelim(n,e.value.size,t,e.mode,[e.value.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.value.value&&t.push(d.e(e.value.value,e.mode));var n=new s.a.MathNode("mo",t);return"mopen"===e.value.mclass||"mclose"===e.value.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n}}),Object(o.b)({type:"leftright",names:["\\left","\\right"],props:{numArgs:1},handler:function(e,t){var n=r(t[0],e);if("\\left"===e.funcName){var i=e.parser;++i.leftrightDepth;var o=i.parseExpression(!1);--i.leftrightDepth,i.expect("\\right",!1);var a=i.parseFunction();if(!a)throw new l.a("failed to parse function after \\right");return{type:"leftright",body:o,left:n.value,right:a.value.value}}return{type:"leftright",value:n.value}},htmlBuilder:function(e,t){for(var n=c.a(e.value.body,t,!0,[null,"mclose"]),r=0,o=0,s=!1,l=0;l<n.length;l++)n[l].isMiddle?s=!0:(r=Math.max(n[l].height,r),o=Math.max(n[l].depth,o));r*=t.sizeMultiplier,o*=t.sizeMultiplier;var u=void 0;if(u="."===e.value.left?c.e(t,["mopen"]):a.a.leftRightDelim(e.value.left,r,o,t,e.mode,["mopen"]),n.unshift(u),s)for(var d=1;d<n.length;d++){var f=n[d];f.isMiddle&&(n[d]=a.a.leftRightDelim(f.isMiddle.value,r,o,f.isMiddle.options,e.mode,[]))}var h=void 0;return h="."===e.value.right?c.e(t,["mclose"]):a.a.leftRightDelim(e.value.right,r,o,t,e.mode,["mclose"]),n.push(h),i.a.makeSpan(["minner"],n,t)},mathmlBuilder:function(e,t){var n=d.a(e.value.body,t);if("."!==e.value.left){var r=new s.a.MathNode("mo",[d.e(e.value.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if("."!==e.value.right){var i=new s.a.MathNode("mo",[d.e(e.value.right,e.mode)]);i.setAttribute("fence","true"),n.push(i)}return new s.a.MathNode("mrow",n)}}),Object(o.b)({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(e,t){var n=r(t[0],e);if(!e.parser.leftrightDepth)throw new l.a("\\middle without preceding \\left",n);return{type:"middle",value:n.value}},htmlBuilder:function(e,t){var n=void 0;return"."===e.value.value?n=c.e(t,[]):(n=a.a.sizedDelim(e.value.value,1,t,e.mode,[]),n.isMiddle={value:e.value.value,options:t}),n},mathmlBuilder:function(e,t){var n=new s.a.MathNode("mo",[d.e(e.value.middle,e.mode)]);return n.setAttribute("fence","true"),n}})},function(e,t,n){"use strict";var r=n(3),i=n(1),o=n(9),a=n(60),s=n(2),l={display:o.a.DISPLAY,text:o.a.TEXT,script:o.a.SCRIPT,scriptscript:o.a.SCRIPTSCRIPT};Object(r.b)({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser;i.consumeSpaces();var o=i.parseExpression(!0,n);return{type:"styling",style:r.slice(1,r.length-5),value:o}},htmlBuilder:function(e,t){var n=l[e.value.style],r=t.havingStyle(n);return Object(a.a)(e.value.value,r,t)},mathmlBuilder:function(e,t){var n={display:o.a.DISPLAY,text:o.a.TEXT,script:o.a.SCRIPT,scriptscript:o.a.SCRIPTSCRIPT},r=n[e.value.style],a=t.havingStyle(r),l=s.a(e.value.value,a),u=new i.a.MathNode("mstyle",l),c={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},d=c[e.value.style];return u.setAttribute("scriptlevel",d[0]),u.setAttribute("displaystyle",d[1]),u}})},function(e,t,n){"use strict";var r=n(134),i=n.n(r),o=n(3),a=n(14),s=n(4),l=n(2),u=function(e,t){var n=e.value.font;return s.b(e.value.body,t.withFontFamily(n))},c=function(e,t){var n=e.value.font;return l.b(e.value.body,t.withFontFamily(n))},d={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Object(o.b)({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\boldsymbol","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak","\\bm"],props:{numArgs:1,greediness:2},handler:function(e,t){var n=t[0],r=e.funcName;return r in d&&(r=d[r]),{type:"font",font:r.slice(1),body:n}},htmlBuilder:u,mathmlBuilder:c});var f={"\\rm":"mathrm","\\sf":"mathsf","\\tt":"mathtt","\\bf":"mathbf","\\it":"mathit"};Object(o.b)({type:"font",names:i()(f),props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=e.breakOnTokenText;n.consumeSpaces();var o=n.parseExpression(!0,i);return{type:"font",font:f[r],body:new a.a("ordgroup",o,n.mode)}},htmlBuilder:u,mathmlBuilder:c})},function(e,t,n){e.exports={default:n(135),__esModule:!0}},function(e,t,n){n(136),e.exports=n(8).Object.keys},function(e,t,n){var r=n(29),i=n(39);n(46)("keys",function(){return function(e){return i(r(e))}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(5),s=n(13),l=n(4),u=n(2),c=function(e,t){var n=e.value.base,r=void 0;if("supsub"===e.type){var o=e;e=o.value.base,n=e.value.base,o.value.base=n,r=l.b(o,t)}var u=l.b(n,t.havingCrampedStyle()),c=e.value.isShifty&&a.a.isCharacterBox(n),d=0;if(c){var f=a.a.getBaseElem(n);d=l.b(f,t.havingCrampedStyle()).skew}var h=Math.min(u.height,t.fontMetrics().xHeight),p=void 0;if(e.value.isStretchy)p=s.a.svgSpan(e,t),p=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"elem",elem:p,wrapperClasses:["svg-align"],wrapperStyle:d>0?{width:"calc(100% - "+2*d+"em)",marginLeft:2*d+"em"}:void 0}]},t);else{var m=void 0,g=void 0;"\\vec"===e.value.label?(m=i.a.staticSvg("vec",t),g=i.a.svgData.vec[1]):(m=i.a.makeSymbol(e.value.label,"Main-Regular",e.mode,t),m.italic=0,g=m.width),p=i.a.makeSpan(["accent-body"],[m]);var v=-g/2;v+=d,p.style.left=v+"em",p=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:-h},{type:"elem",elem:p}]},t)}var y=i.a.makeSpan(["mord","accent"],[p],t);return r?(r.children[0]=y,r.height=Math.max(y.height,r.height),r.classes[0]="mord",r):y},d=function(e,t){var n=void 0;n=e.value.isStretchy?s.a.mathMLnode(e.value.label):new o.a.MathNode("mo",[u.e(e.value.label,e.mode)]);var r=new o.a.MathNode("mover",[u.b(e.value.base,t),n]);return r.setAttribute("accent","true"),r},f=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(e){return"\\"+e}).join("|"));Object(r.b)({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(e,t){var n=t[0],r=!f.test(e.funcName),i=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName;return{type:"accent",label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:c,mathmlBuilder:d}),Object(r.b)({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=t[0];return{type:"accent",label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:c,mathmlBuilder:d})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(13),s=n(4),l=n(2);Object(r.b)({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"accentUnder",label:e.funcName,base:n}},htmlBuilder:function(e,t){var n=s.b(e.value.base,t),r=a.a.svgSpan(e,t),o="\\utilde"===e.value.label?.12:0,l=i.a.makeVList({positionType:"bottom",positionData:r.height+o,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:n}]},t);return i.a.makeSpan(["mord","accentunder"],[l],t)},mathmlBuilder:function(e,t){var n=a.a.mathMLnode(e.value.label),r=new o.a.MathNode("munder",[l.b(e.value.body,t),n]);return r.setAttribute("accentunder","true"),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(6);Object(r.b)({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,n){throw new a.a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var n=i.a.makeVerb(e,t),r=[],o=t.havingStyle(t.style.text()),a=0;a<n.length;a++)if("\xa0"===n[a]){var s=i.a.makeSpan(["mord","rule"],[],o);s.style.marginLeft="0.525em",r.push(s)}else r.push(i.a.makeSymbol(n[a],"Typewriter-Regular",e.mode,o,["mathtt"]));return i.a.tryCombineChars(r),i.a.makeSpan(["mord","text"].concat(o.sizingClasses(t)),r,o)},mathmlBuilder:function(e,t){var n=new o.a.TextNode(i.a.makeVerb(e,t)),r=new o.a.MathNode("mtext",[n]);return r.setAttribute("mathvariant",i.a.fontMap.mathtt.variant),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"]},handler:function(e,t){var n=t[1];return{type:"href",href:t[0].value,body:Object(r.c)(n)}},htmlBuilder:function(e,t){var n=a.a(e.value.body,t,!1),r=e.value.href;return new i.a.makeAnchor(r,[],n,t)},mathmlBuilder:function(e,t){var n=s.a(e.value.body,t),r=new o.a.MathNode("mrow",n);return r.setAttribute("href",e.value.href),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(9),s=n(4),l=n(2),u=function(e,t){var n=t.style;return n.size===a.a.DISPLAY.size?e.value.display:n.size===a.a.TEXT.size?e.value.text:n.size===a.a.SCRIPT.size?e.value.script:n.size===a.a.SCRIPTSCRIPT.size?e.value.scriptscript:e.value.text};Object(r.b)({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(e,t){return{type:"mathchoice",display:Object(r.c)(t[0]),text:Object(r.c)(t[1]),script:Object(r.c)(t[2]),scriptscript:Object(r.c)(t[3])}},htmlBuilder:function(e,t){var n=u(e,t),r=s.a(n,t,!1);return new i.a.makeFragment(r)},mathmlBuilder:function(e,t){var n=u(e,t),r=l.a(n,t,!1);return new o.a.MathNode("mrow",r)}})},function(e,t,n){"use strict";var r=n(61),i=(n(143),r.a);t.a=i},function(e,t,n){"use strict";function r(e,t,n){for(var r=[],i=[r],o=[];;){var a=e.parseExpression(!1,void 0);a=new u.a("ordgroup",a,e.mode),n&&(a=new u.a("styling",{style:n,value:[a]},e.mode)),r.push(a);var s=e.nextToken.text;if("&"===s)e.consume();else{if("\\end"===s){var c=i[i.length-1];i.length>1&&1===c.length&&0===c[0].value.value[0].value.length&&i.pop();break}if("\\\\"!==s&&"\\cr"!==s)throw new l.a("Expected & or \\\\ or \\end",e.nextToken);var d=e.parseFunction();if(!d)throw new l.a("Failed to parse function after "+s);o.push(d.value.size),r=[],i.push(r)}}return t.body=i,t.rowGaps=o,new u.a(t.type,t,e.mode)}function i(e){return"d"===e.substr(0,1)?"display":"text"}var o=n(0),a=n(61),s=n(1),l=n(6),u=n(14),c=n(19),d=n(5),f=n(13),h=n(4),p=n(2),m=function(e,t){var n=void 0,r=void 0,i=e.value.body.length,a=0,s=new Array(i),u=1/t.fontMetrics().ptPerEm,p=5*u,m=12*u,g=3*u,v=d.a.deflt(e.value.arraystretch,1),y=v*m,b=.7*y,w=.3*y,E=0;for(n=0;n<e.value.body.length;++n){var T=e.value.body[n],_=b,x=w;a<T.length&&(a=T.length);var k=new Array(T.length);for(r=0;r<T.length;++r){var S=h.b(T[r],t);x<S.depth&&(x=S.depth),_<S.height&&(_=S.height),k[r]=S}var C=0;e.value.rowGaps[n]&&(C=Object(c.a)(e.value.rowGaps[n].value,t))>0&&(C+=w,x<C&&(x=C),C=0),e.value.addJot&&(x+=g),k.height=_,k.depth=x,E+=_,k.pos=E,E+=x+C,s[n]=k}var O=E/2+t.fontMetrics().axisHeight,A=e.value.cols||[],P=[],I=void 0,R=void 0;for(r=0,R=0;r<a||R<A.length;++r,++R){for(var N=A[R]||{},M=!0;"separator"===N.type;){if(M||(I=o.a.makeSpan(["arraycolsep"],[]),I.style.width=t.fontMetrics().doubleRuleSep+"em",P.push(I)),"|"!==N.separator)throw new l.a("Invalid separator type: "+N.separator);var D=f.a.ruleSpan("vertical-separator",.05,t);D.style.height=E+"em",D.style.verticalAlign=-(E-O)+"em",P.push(D),R++,N=A[R]||{},M=!1}if(!(r>=a)){var L=void 0;(r>0||e.value.hskipBeforeAndAfter)&&0!==(L=d.a.deflt(N.pregap,p))&&(I=o.a.makeSpan(["arraycolsep"],[]),I.style.width=L+"em",P.push(I));var j=[];for(n=0;n<i;++n){var W=s[n],B=W[r];if(B){var F=W.pos-O;B.depth=W.depth,B.height=W.height,j.push({type:"elem",elem:B,shift:F})}}j=o.a.makeVList({positionType:"individualShift",children:j},t),j=o.a.makeSpan(["col-align-"+(N.align||"c")],[j]),P.push(j),(r<a-1||e.value.hskipBeforeAndAfter)&&0!==(L=d.a.deflt(N.postgap,p))&&(I=o.a.makeSpan(["arraycolsep"],[]),I.style.width=L+"em",P.push(I))}}return s=o.a.makeSpan(["mtable"],P),o.a.makeSpan(["mord"],[s],t)},g=function(e,t){return new s.a.MathNode("mtable",e.value.body.map(function(e){return new s.a.MathNode("mtr",e.map(function(e){return new s.a.MathNode("mtd",[p.b(e,t)])}))}))},v=function(e,t){var n={type:"array",cols:[],addJot:!0};n=r(e.parser,n,"display");var i=void 0,o=0,a=new u.a("ordgroup",[],e.mode);if(t[0]&&t[0].value){for(var s="",c=0;c<t[0].value.length;c++)s+=t[0].value[c].value;i=Number(s),o=2*i}var d=!o;n.value.body.forEach(function(e){for(var t=1;t<e.length;t+=2){e[t].value.value[0].value.unshift(a)}if(d)o<e.length&&(o=e.length);else{var n=e.length/2;if(i<n)throw new l.a("Too many math in a row: expected "+i+", but got "+n,e)}});for(var f=0;f<o;++f){var h="r",p=0;f%2===1?h="l":f>0&&d&&(p=1),n.value.cols[f]={type:"align",align:h,pregap:p,postgap:0}}return n};Object(a.b)({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var n=t[0];n=n.value.map?n.value:[n];var o=n.map(function(e){var t=e.value;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};throw new l.a("Unknown column alignment: "+e.value,e)}),a={type:"array",cols:o,hskipBeforeAndAfter:!0};return a=r(e.parser,a,i(e.envName))},htmlBuilder:m,mathmlBuilder:g}),Object(a.b)({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName],n={type:"array",hskipBeforeAndAfter:!1};return n=r(e.parser,n,i(e.envName)),t&&(n=new u.a("leftright",{body:[n],left:t[0],right:t[1]},e.mode)),n},htmlBuilder:m,mathmlBuilder:g}),Object(a.b)({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(e){var t={type:"array",arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]};return t=r(e.parser,t,i(e.envName)),t=new u.a("leftright",{body:[t],left:"\\{",right:"."},e.mode)},htmlBuilder:m,mathmlBuilder:g}),Object(a.b)({type:"array",names:["aligned"],props:{numArgs:0},handler:v,htmlBuilder:m,mathmlBuilder:g}),Object(a.b)({type:"array",names:["gathered"],props:{numArgs:0},handler:function(e){var t={type:"array",cols:[{type:"align",align:"c"}],addJot:!0};return t=r(e.parser,t,"display")},htmlBuilder:m,mathmlBuilder:g}),Object(a.b)({type:"array",names:["alignedat"],props:{numArgs:1},handler:v,htmlBuilder:m,mathmlBuilder:g})},function(e,t,n){"use strict";var r=n(35),i=n.n(r),o=n(7),a=n.n(o),s=n(10),l=n.n(s),u=n(62),c=n(27),d=n(146),f=n(6),h=n(147),p=n.n(h),m=function(){function e(t,n,r){a()(this,e),this.lexer=new u.c(t),this.macros=p()({},d.a,n),this.mode=r,this.stack=[]}return l()(e,[{key:"switchMode",value:function(e){this.mode=e}},{key:"future",value:function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}},{key:"popToken",value:function(){return this.future(),this.stack.pop()}},{key:"pushToken",value:function(e){this.stack.push(e)}},{key:"pushTokens",value:function(e){var t;(t=this.stack).push.apply(t,i()(e))}},{key:"consumeSpaces",value:function(){for(;;){if(" "!==this.future().text)break;this.stack.pop()}}},{key:"consumeArgs",value:function(e){for(var t=[],n=0;n<e;++n){this.consumeSpaces();var r=this.popToken();if("{"===r.text){for(var i=[],o=1;0!==o;){var a=this.popToken();if(i.push(a),"{"===a.text)++o;else if("}"===a.text)--o;else if("EOF"===a.text)throw new f.a("End of input in macro argument",r)}i.pop(),i.reverse(),t[n]=i}else{if("EOF"===r.text)throw new f.a("End of input expecting macro argument");t[n]=[r]}}return t}},{key:"expandOnce",value:function(){var e=this.popToken(),t=e.text;if("\\"===t.charAt(0)&&u.b.test(t)&&this.consumeSpaces(),!this.macros.hasOwnProperty(t))return this.pushToken(e),e;var n=this._getExpansion(t),r=n.tokens,o=n.numArgs,a=r;if(o){var s=this.consumeArgs(o);a=a.slice();for(var l=a.length-1;l>=0;--l){var c=a[l];if("#"===c.text){if(0===l)throw new f.a("Incomplete placeholder at end of macro body",c);if(c=a[--l],"#"===c.text)a.splice(l+1,1);else{if(!/^[1-9]$/.test(c.text))throw new f.a("Not a valid argument number",c);var d;(d=a).splice.apply(d,[l,2].concat(i()(s[+c.text-1])))}}}}return this.pushTokens(a),a}},{key:"expandAfterFuture",value:function(){return this.expandOnce(),this.future()}},{key:"expandNextToken",value:function(){for(;;){var e=this.expandOnce();if(e instanceof c.a){if("\\relax"!==e.text)return this.stack.pop();this.stack.pop()}}throw new Error}},{key:"_getExpansion",value:function(e){var t=this.macros[e],n="function"===typeof t?t(this):t;if("string"===typeof n){var r=0;if(-1!==n.indexOf("#"))for(var i=n.replace(/##/g,"");-1!==i.indexOf("#"+(r+1));)++r;for(var o=new u.c(n),a=[],s=o.lex();"EOF"!==s.text;)a.push(s),s=o.lex();a.reverse();var l={tokens:a,numArgs:r};return"function"!==typeof t&&(this.macros[e]=l),l}return n}}]),e}();t.a=m},function(e,t){function n(e){if(!e.__matchAtRelocatable){var t=e.source+"|()",n="g"+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"");e.__matchAtRelocatable=new RegExp(t,n)}return e.__matchAtRelocatable}function r(e,t,r){if(e.global||e.sticky)throw new Error("matchAt(...): Only non-global regexes are supported");var i=n(e);i.lastIndex=r;var o=i.exec(t);return null==o[o.length-1]?(o.length=o.length-1,o):null}e.exports=r},function(e,t,n){"use strict";function r(e,t){s[e]=t}var i=n(59),o=n(28),a=n(5),s=(n(27),{});t.a=s,r("\\@firstoftwo",function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),r("\\@secondoftwo",function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),r("\\@ifnextchar",function(e){var t=e.consumeArgs(3),n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),r("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),r("\\TextOrMath",function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}),r("\\bgroup","{"),r("\\egroup","}"),r("\\begingroup","{"),r("\\endgroup","}"),r("\\lq","`"),r("\\rq","'"),r("\\lbrack","["),r("\\rbrack","]"),r("\\aa","\\r a"),r("\\AA","\\r A"),r("\u2102","\\mathbb{C}"),r("\u210d","\\mathbb{H}"),r("\u2115","\\mathbb{N}"),r("\u2119","\\mathbb{P}"),r("\u211a","\\mathbb{Q}"),r("\u211d","\\mathbb{R}"),r("\u2124","\\mathbb{Z}"),r("\xb7","\\cdotp"),r("\\llap","\\mathllap{\\textrm{#1}}"),r("\\rlap","\\mathrlap{\\textrm{#1}}"),r("\\clap","\\mathclap{\\textrm{#1}}"),r("\\varGamma","\\mathit{\\Gamma}"),r("\\varDelta","\\mathit{\\Delta}"),r("\\varTheta","\\mathit{\\Theta}"),r("\\varLambda","\\mathit{\\Lambda}"),r("\\varXi","\\mathit{\\Xi}"),r("\\varPi","\\mathit{\\Pi}"),r("\\varSigma","\\mathit{\\Sigma}"),r("\\varUpsilon","\\mathit{\\Upsilon}"),r("\\varPhi","\\mathit{\\Phi}"),r("\\varPsi","\\mathit{\\Psi}"),r("\\varOmega","\\mathit{\\Omega}"),r("\\overset","\\mathop{#2}\\limits^{#1}"),r("\\underset","\\mathop{#2}\\limits_{#1}"),r("\\boxed","\\fbox{\\displaystyle{#1}}"),r("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),r("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),r("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var l={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\implies":"\\dotsb","\\impliedby":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\iff":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\bmod":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};r("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in l?t=l[n]:"\\not"===n.substr(0,4)?t="\\dotsb":n in o.a.math&&a.a.contains(["bin","rel"],o.a.math[n].group)&&(t="\\dotsb"),t});var u={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};r("\\dotso",function(e){return e.future().text in u?"\\ldots\\,":"\\ldots"}),r("\\dotsc",function(e){var t=e.future().text;return t in u&&","!==t?"\\ldots\\,":"\\ldots"}),r("\\cdots",function(e){return e.future().text in u?"\\@cdots\\,":"\\@cdots"}),r("\\dotsb","\\cdots"),r("\\dotsm","\\cdots"),r("\\dotsi","\\!\\cdots"),r("\\dotsx","\\ldots\\,"),r("\\DOTSI","\\relax"),r("\\DOTSB","\\relax"),r("\\DOTSX","\\relax"),r("\\thinspace","\\,"),r("\\medspace","\\:"),r("\\thickspace","\\;"),r("\\TeX","\\textrm{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}");var c=i.a["Main-Regular"]["T".charCodeAt(0)][1]-.7*i.a["Main-Regular"]["A".charCodeAt(0)][1]+"em";r("\\LaTeX","\\textrm{L\\kern-.36em\\raisebox{"+c+"}{\\scriptsize A}\\kern-.15em\\TeX}"),r("\\KaTeX","\\textrm{K\\kern-.17em\\raisebox{"+c+"}{\\scriptsize A}\\kern-.15em\\TeX}"),r("\\hspace","\\@ifstar\\kern\\kern"),r("\\ordinarycolon",":"),r("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),r("\\dblcolon","\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon"),r("\\coloneqq","\\vcentcolon\\mathrel{\\mkern-1.2mu}="),r("\\Coloneqq","\\dblcolon\\mathrel{\\mkern-1.2mu}="),r("\\coloneq","\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}"),r("\\Coloneq","\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}"),r("\\eqqcolon","=\\mathrel{\\mkern-1.2mu}\\vcentcolon"),r("\\Eqqcolon","=\\mathrel{\\mkern-1.2mu}\\dblcolon"),r("\\eqcolon","\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon"),r("\\Eqcolon","\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon"),r("\\colonapprox","\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx"),r("\\Colonapprox","\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx"),r("\\colonsim","\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim"),r("\\Colonsim","\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim"),r("\u2254","\\coloneqq"),r("\u2255","\\eqqcolon"),r("\u2a74","\\Coloneqq"),r("\\ratio","\\vcentcolon"),r("\\coloncolon","\\dblcolon"),r("\\colonequals","\\coloneqq"),r("\\coloncolonequals","\\Coloneqq"),r("\\equalscolon","\\eqqcolon"),r("\\equalscoloncolon","\\Eqqcolon"),r("\\colonminus","\\coloneq"),r("\\coloncolonminus","\\Coloneq"),r("\\minuscolon","\\eqcolon"),r("\\minuscoloncolon","\\Eqcolon"),r("\\coloncolonapprox","\\Colonapprox"),r("\\coloncolonsim","\\Colonsim"),r("\\simcolon","\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon"),r("\\simcoloncolon","\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon"),r("\\approxcolon","\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon"),r("\\approxcoloncolon","\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon"),r("\\notni","\\not\\ni"),r("\\limsup","\\DOTSB\\mathop{\\operatorname{lim\\,sup}}\\limits"),r("\\liminf","\\DOTSB\\mathop{\\operatorname{lim\\,inf}}\\limits")},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=r(e),u=1;u<arguments.length;u++){n=Object(arguments[u]);for(var c in n)o.call(n,c)&&(l[c]=n[c]);if(i){s=i(n);for(var d=0;d<s.length;d++)a.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t){e.exports={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030c":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030a":{text:"\\r",math:"\\mathring"},"\u030b":{text:"\\H"}}},function(e,t,n){"use strict";t.a={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308","\u01df":"a\u0308\u0304","\xe3":"a\u0303","\u0101":"a\u0304","\u0103":"a\u0306","\u1eaf":"a\u0306\u0301","\u1eb1":"a\u0306\u0300","\u1eb5":"a\u0306\u0303","\u01ce":"a\u030c","\xe2":"a\u0302","\u1ea5":"a\u0302\u0301","\u1ea7":"a\u0302\u0300","\u1eab":"a\u0302\u0303","\u0227":"a\u0307","\u01e1":"a\u0307\u0304","\xe5":"a\u030a","\u01fb":"a\u030a\u0301","\u1e03":"b\u0307","\u0107":"c\u0301","\u010d":"c\u030c","\u0109":"c\u0302","\u010b":"c\u0307","\u010f":"d\u030c","\u1e0b":"d\u0307","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308","\u1ebd":"e\u0303","\u0113":"e\u0304","\u1e17":"e\u0304\u0301","\u1e15":"e\u0304\u0300","\u0115":"e\u0306","\u011b":"e\u030c","\xea":"e\u0302","\u1ebf":"e\u0302\u0301","\u1ec1":"e\u0302\u0300","\u1ec5":"e\u0302\u0303","\u0117":"e\u0307","\u1e1f":"f\u0307","\u01f5":"g\u0301","\u1e21":"g\u0304","\u011f":"g\u0306","\u01e7":"g\u030c","\u011d":"g\u0302","\u0121":"g\u0307","\u1e27":"h\u0308","\u021f":"h\u030c","\u0125":"h\u0302","\u1e23":"h\u0307","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308","\u1e2f":"i\u0308\u0301","\u0129":"i\u0303","\u012b":"i\u0304","\u012d":"i\u0306","\u01d0":"i\u030c","\xee":"i\u0302","\u01f0":"j\u030c","\u0135":"j\u0302","\u1e31":"k\u0301","\u01e9":"k\u030c","\u013a":"l\u0301","\u013e":"l\u030c","\u1e3f":"m\u0301","\u1e41":"m\u0307","\u0144":"n\u0301","\u01f9":"n\u0300","\xf1":"n\u0303","\u0148":"n\u030c","\u1e45":"n\u0307","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308","\u022b":"o\u0308\u0304","\xf5":"o\u0303","\u1e4d":"o\u0303\u0301","\u1e4f":"o\u0303\u0308","\u022d":"o\u0303\u0304","\u014d":"o\u0304","\u1e53":"o\u0304\u0301","\u1e51":"o\u0304\u0300","\u014f":"o\u0306","\u01d2":"o\u030c","\xf4":"o\u0302","\u1ed1":"o\u0302\u0301","\u1ed3":"o\u0302\u0300","\u1ed7":"o\u0302\u0303","\u022f":"o\u0307","\u0231":"o\u0307\u0304","\u0151":"o\u030b","\u1e55":"p\u0301","\u1e57":"p\u0307","\u0155":"r\u0301","\u0159":"r\u030c","\u1e59":"r\u0307","\u015b":"s\u0301","\u1e65":"s\u0301\u0307","\u0161":"s\u030c","\u1e67":"s\u030c\u0307","\u015d":"s\u0302","\u1e61":"s\u0307","\u1e97":"t\u0308","\u0165":"t\u030c","\u1e6b":"t\u0307","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308","\u01d8":"u\u0308\u0301","\u01dc":"u\u0308\u0300","\u01d6":"u\u0308\u0304","\u01da":"u\u0308\u030c","\u0169":"u\u0303","\u1e79":"u\u0303\u0301","\u016b":"u\u0304","\u1e7b":"u\u0304\u0308","\u016d":"u\u0306","\u01d4":"u\u030c","\xfb":"u\u0302","\u016f":"u\u030a","\u0171":"u\u030b","\u1e7d":"v\u0303","\u1e83":"w\u0301","\u1e81":"w\u0300","\u1e85":"w\u0308","\u0175":"w\u0302","\u1e87":"w\u0307","\u1e98":"w\u030a","\u1e8d":"x\u0308","\u1e8b":"x\u0307","\xfd":"y\u0301","\u1ef3":"y\u0300","\xff":"y\u0308","\u1ef9":"y\u0303","\u0233":"y\u0304","\u0177":"y\u0302","\u1e8f":"y\u0307","\u1e99":"y\u030a","\u017a":"z\u0301","\u017e":"z\u030c","\u1e91":"z\u0302","\u017c":"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308","\u01de":"A\u0308\u0304","\xc3":"A\u0303","\u0100":"A\u0304","\u0102":"A\u0306","\u1eae":"A\u0306\u0301","\u1eb0":"A\u0306\u0300","\u1eb4":"A\u0306\u0303","\u01cd":"A\u030c","\xc2":"A\u0302","\u1ea4":"A\u0302\u0301","\u1ea6":"A\u0302\u0300","\u1eaa":"A\u0302\u0303","\u0226":"A\u0307","\u01e0":"A\u0307\u0304","\xc5":"A\u030a","\u01fa":"A\u030a\u0301","\u1e02":"B\u0307","\u0106":"C\u0301","\u010c":"C\u030c","\u0108":"C\u0302","\u010a":"C\u0307","\u010e":"D\u030c","\u1e0a":"D\u0307","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308","\u1ebc":"E\u0303","\u0112":"E\u0304","\u1e16":"E\u0304\u0301","\u1e14":"E\u0304\u0300","\u0114":"E\u0306","\u011a":"E\u030c","\xca":"E\u0302","\u1ebe":"E\u0302\u0301","\u1ec0":"E\u0302\u0300","\u1ec4":"E\u0302\u0303","\u0116":"E\u0307","\u1e1e":"F\u0307","\u01f4":"G\u0301","\u1e20":"G\u0304","\u011e":"G\u0306","\u01e6":"G\u030c","\u011c":"G\u0302","\u0120":"G\u0307","\u1e26":"H\u0308","\u021e":"H\u030c","\u0124":"H\u0302","\u1e22":"H\u0307","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308","\u1e2e":"I\u0308\u0301","\u0128":"I\u0303","\u012a":"I\u0304","\u012c":"I\u0306","\u01cf":"I\u030c","\xce":"I\u0302","\u0130":"I\u0307","\u0134":"J\u0302","\u1e30":"K\u0301","\u01e8":"K\u030c","\u0139":"L\u0301","\u013d":"L\u030c","\u1e3e":"M\u0301","\u1e40":"M\u0307","\u0143":"N\u0301","\u01f8":"N\u0300","\xd1":"N\u0303","\u0147":"N\u030c","\u1e44":"N\u0307","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308","\u022a":"O\u0308\u0304","\xd5":"O\u0303","\u1e4c":"O\u0303\u0301","\u1e4e":"O\u0303\u0308","\u022c":"O\u0303\u0304","\u014c":"O\u0304","\u1e52":"O\u0304\u0301","\u1e50":"O\u0304\u0300","\u014e":"O\u0306","\u01d1":"O\u030c","\xd4":"O\u0302","\u1ed0":"O\u0302\u0301","\u1ed2":"O\u0302\u0300","\u1ed6":"O\u0302\u0303","\u022e":"O\u0307","\u0230":"O\u0307\u0304","\u0150":"O\u030b","\u1e54":"P\u0301","\u1e56":"P\u0307","\u0154":"R\u0301","\u0158":"R\u030c","\u1e58":"R\u0307","\u015a":"S\u0301","\u1e64":"S\u0301\u0307","\u0160":"S\u030c","\u1e66":"S\u030c\u0307","\u015c":"S\u0302","\u1e60":"S\u0307","\u0164":"T\u030c","\u1e6a":"T\u0307","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308","\u01d7":"U\u0308\u0301","\u01db":"U\u0308\u0300","\u01d5":"U\u0308\u0304","\u01d9":"U\u0308\u030c","\u0168":"U\u0303","\u1e78":"U\u0303\u0301","\u016a":"U\u0304","\u1e7a":"U\u0304\u0308","\u016c":"U\u0306","\u01d3":"U\u030c","\xdb":"U\u0302","\u016e":"U\u030a","\u0170":"U\u030b","\u1e7c":"V\u0303","\u1e82":"W\u0301","\u1e80":"W\u0300","\u1e84":"W\u0308","\u0174":"W\u0302","\u1e86":"W\u0307","\u1e8c":"X\u0308","\u1e8a":"X\u0307","\xdd":"Y\u0301","\u1ef2":"Y\u0300","\u0178":"Y\u0308","\u1ef8":"Y\u0303","\u0232":"Y\u0304","\u0176":"Y\u0302","\u1e8e":"Y\u0307","\u0179":"Z\u0301","\u017d":"Z\u030c","\u1e90":"Z\u0302","\u017b":"Z\u0307","\u03ac":"\u03b1\u0301","\u1f70":"\u03b1\u0300","\u1fb1":"\u03b1\u0304","\u1fb0":"\u03b1\u0306","\u03ad":"\u03b5\u0301","\u1f72":"\u03b5\u0300","\u03ae":"\u03b7\u0301","\u1f74":"\u03b7\u0300","\u03af":"\u03b9\u0301","\u1f76":"\u03b9\u0300","\u03ca":"\u03b9\u0308","\u0390":"\u03b9\u0308\u0301","\u1fd2":"\u03b9\u0308\u0300","\u1fd1":"\u03b9\u0304","\u1fd0":"\u03b9\u0306","\u03cc":"\u03bf\u0301","\u1f78":"\u03bf\u0300","\u03cd":"\u03c5\u0301","\u1f7a":"\u03c5\u0300","\u03cb":"\u03c5\u0308","\u03b0":"\u03c5\u0308\u0301","\u1fe2":"\u03c5\u0308\u0300","\u1fe1":"\u03c5\u0304","\u1fe0":"\u03c5\u0306","\u03ce":"\u03c9\u0301","\u1f7c":"\u03c9\u0300","\u038e":"\u03a5\u0301","\u1fea":"\u03a5\u0300","\u03ab":"\u03a5\u0308","\u1fe9":"\u03a5\u0304","\u1fe8":"\u03a5\u0306","\u038f":"\u03a9\u0301","\u1ffa":"\u03a9\u0300"}}]).default})},function(e,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 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 o(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)}n.d(t,"a",function(){return v});var a=n(1),s=n.n(a),l=n(222),u=n.n(l),c=n(54),d=n.n(c),f=n(615),h=(n.n(f),n(40)),p=n.n(h),m=n(32),g=(n.n(m),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}());Object(l.configureAnchors)({offset:-18,scrollDuration:1e3});var v=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.updateDim=function(){window.innerWidth<=n.minWidth&&!n.state.minimized?n.setState({minimized:!0}):window.innerWidth>n.minWidth&&n.state.minimized&&n.setState({minimized:!1,drawerOpen:!1}),n.setState({innerHeight:window.innerHeight})},n.imageLoaded=function(){n.setState({imageLoaded:!0})},n.componentWillMount=function(){window.innerWidth<=n.minWidth&&n.setState({minimized:!0})},n.moveBackground=function(){if(window.pageYOffset<n.state.innerHeight&&!n.state.minimized){n.x+=(n.lFollowX-n.x)*n.friction,n.y+=(n.lFollowY-n.y)*n.friction,n.tX+=(n.lFollowX-n.x)*n.friction*2,n.tY+=(n.lFollowY-n.y)*n.friction*2;var e="translate("+n.x+"px, "+n.y+"px) scale(1.1)",t="translate("+n.tX+"px, "+n.tY+"px) scale(1.0)";n.setState({translate:e,translateText:t})}},n.moveBackgroundEvent=function(e){},n.state={imageLoaded:!1,translate:"scale(1.1)",translateText:"scale(1.0)",minimized:!1,innerHeight:window.innerHeight},n.defaultImage="https://static.igem.org/mediawiki/2018/5/58/T--Washington--MB.jpg";var o=new Image;return o.src=n.props.params.BACKGROUND?n.props.params.BACKGROUND:n.defaultImage,o.onload=n.imageLoaded,n.x=0,n.y=0,n.tX=0,n.tY=0,n.lFollowX=0,n.lFollowY=0,n.friction=1/30,n.minWidth=1054,window.addEventListener("resize",n.updateDim),n}return o(t,e),g(t,[{key:"render",value:function(){var e=this.props.params,t=e.BACKGROUNDLIGHTNESS?e.BACKGROUNDLIGHTNESS:0,n=e.BACKGROUND?e.BACKGROUND:this.defaultImage,r=e.BACKGROUNDOPACITY?e.BACKGROUNDOPACITY:.6,i=e.TITLEHEIGHT?e.TITLEHEIGHT:12,o=e.SUBTITLEHEIGHT?e.SUBTITLEHEIGHT:7,a=e.TITLE?e.TITLE:"Stronger Together",l=e.SUBTITLE?e.SUBTITLE:"",c=e.BUTTONTEXT?e.BUTTONTEXT:"Overview",f=(e.CONTENTTITLE&&e.CONTENTTITLE,e.CONTENTSUBTITLE&&e.CONTENTSUBTITLE,e.CONTENT&&e.CONTENT.split(";"),e.BLUR?e.BLUR:5);return s.a.createElement("div",null,s.a.createElement(p.a,{when:this.state.imageLoaded},s.a.createElement("div",{style:{width:"100%",height:window.innerHeight+18,textAlign:"center",margin:"auto",overflow:"hidden",position:"relative"}},s.a.createElement("div",{style:{width:"100%",height:"100%",backgroundAttachment:"fixed",background:"url("+n+") no-repeat center center",backgroundColor:"hsla(0,0%,"+t+"%,"+r+")",backgroundBlendMode:"overlay",backgroundSize:"cover",position:"absolute",filter:"blur("+f+"px)",top:0,left:0,WebkitTransform:this.state.translate,transform:this.state.translate,msTransform:this.state.translate,OTransform:this.state.translate,MozTransform:this.state.translate}}),s.a.createElement("div",{style:{paddingTop:this.state.minimized?"20vh":"30vh",WebkitTransform:this.state.translateText,transform:this.state.translateText,msTransform:this.state.translateText,OTransform:this.state.translateText,MozTransform:this.state.translateText}},s.a.createElement("div",{style:{color:"white",fontSize:i+"vh",fontFamily:"Leixo"}},s.a.createElement(m.Grid,{fluid:!0,style:{padding:0,margin:0}},s.a.createElement(m.Row,null,s.a.createElement(m.Col,{md:this.state.minimized?12:6,style:{width:this.state.minimized?"100%":"50%",textAlign:this.state.minimized?"center":"right",paddingRight:this.state.minimized?0:10}},s.a.createElement(p.a,{left:!0,duration:700,when:this.state.imageLoaded,style:{display:"inline"}},a.split(" ")[0])),s.a.createElement(m.Col,{md:this.state.minimized?12:6,style:{width:this.state.minimized?"100%":"50%",textAlign:this.state.minimized?"center":"left",paddingLeft:this.state.minimized?0:10}},s.a.createElement(p.a,{right:!0,duration:2e3,when:this.state.imageLoaded,style:{display:"inline"}},a.split(" ")[1]))))),s.a.createElement(p.a,{clear:!0,duration:1500,when:this.state.imageLoaded},s.a.createElement("div",{style:{color:"white",fontSize:o+"vh"}},l)),s.a.createElement(p.a,{clear:!0,duration:2e3,when:this.state.imageLoaded},s.a.createElement(d.a,{variant:"contained",color:"primary",href:"#overview",style:{textDecoration:"none",color:"white",marginTop:20}},c)))),s.a.createElement(u.a,{id:"overview"},s.a.createElement("div",{id:"overview-spy"}))))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),u=r(l),c=n(15),d=r(c),f=n(2),h=r(f),p=n(224),m=r(p),g=function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.id=e.id||e.children.ref,n}return a(t,e),s(t,[{key:"componentDidMount",value:function(){var e=d.default.findDOMNode(this.refs[Object.keys(this.refs)[0]]);m.default.addAnchor(this.id,e)}},{key:"componentWillUnmount",value:function(){m.default.removeAnchor(this.id)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.id;return u.default.cloneElement(t,{ref:t.ref||n})}}]),t}(l.Component);g.propTypes={children:h.default.node,id:h.default.string},t.default=g},function(e,t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";var e=function(e,t,n,r){return e/=r/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)},t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};return function(){function n(){return window.scrollY||window.pageYOffset}function r(e){return e.getBoundingClientRect().top+l}function i(e){m||(m=e),g=e-m,v=d(g,l,h,p),window.scrollTo(0,v),g<p?requestAnimationFrame(i):o()}function o(){window.scrollTo(0,l+h),s&&f&&(s.setAttribute("tabindex","-1"),s.focus()),"function"==typeof y&&y(),m=!1}function a(o){var a=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];switch(p=a.duration||1e3,c=a.offset||0,y=a.callback,d=a.easing||e,f=a.a11y||!1,l=n(),"undefined"==typeof o?"undefined":t(o)){case"number":s=void 0,f=!1,u=l+o;break;case"object":s=o,u=r(s);break;case"string":s=document.querySelector(o),u=r(s)}switch(h=u-l+c,t(a.duration)){case"number":p=a.duration;break;case"function":p=a.duration(h)}requestAnimationFrame(i)}var s=void 0,l=void 0,u=void 0,c=void 0,d=void 0,f=void 0,h=void 0,p=void 0,m=void 0,g=void 0,v=void 0,y=void 0;return a}()})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=arguments;t.debounce=function(e,t,n){var i=void 0;return function(){var o=r,a=function(){i=null,n||e.apply(void 0,o)},s=n&&!i;clearTimeout(i),i=setTimeout(a,t),s&&e.apply(void 0,o)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.getScrollTop=function(){return document.body.scrollTop||document.documentElement.scrollTop},i=t.getElementOffset=function(e){var t=r(),n=e.getBoundingClientRect(),i=n.top,o=n.bottom;return{top:Math.floor(i+t),bottom:Math.floor(o+t)}},o=t.doesElementContainScrollTop=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=r(),o=i(e).top+t;return n>=o&&n<o+e.offsetHeight},a=t.checkLocationRelevance=function(e,t){var n=i(e),r=n.top,o=n.bottom,a=i(t),s=a.top,l=a.bottom;return r===s?o===l?e<t:l<o:s>r},s=t.checkElementRelevance=function(e,t){return!!e.contains(t)||!(t.contains(e)||!a(e,t))};t.getBestAnchorGivenScrollLocation=function(e,t){var n=void 0,r=void 0;return Object.keys(e).forEach(function(i){var a=e[i];o(a,t)&&(r&&!s(r,a)||(r=a,n=i))}),n}},function(e,t){},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,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 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="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},l=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}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")}}(),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=n(1),f=function(e){return e&&e.__esModule?e:{default:e}}(d),h=n(2),p=n(135),m=(0,h.shape)({make:h.func,duration:h.number.isRequired,delay:h.number.isRequired,forever:h.bool,count:h.number.isRequired,style:h.object.isRequired,reverse:h.bool}),g={collapse:h.bool,collapseEl:h.element,cascade:h.bool,wait:h.number,force:h.bool,disabled:h.bool,appear:h.bool,enter:h.bool,exit:h.bool,fraction:h.number,refProp:h.string,innerRef:h.func,onReveal:h.func,unmountOnExit:h.bool,mountOnEnter:h.bool,inEffect:m.isRequired,outEffect:(0,h.oneOfType)([m,(0,h.oneOf)([!1])]).isRequired,ssrReveal:h.bool,collapseOnly:h.bool,ssrFadeout:h.bool},v={fraction:.2,refProp:"ref"},y={transitionGroup:h.object},b=function(e){function t(e,n){i(this,t);var r=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.isOn=void 0===e.when||!!e.when,r.state={collapse:e.collapse?t.getInitialCollapseStyle(e):void 0,style:{opacity:r.isOn&&!e.ssrReveal||!e.outEffect?void 0:0}},r.savedChild=!1,r.isShown=!1,p.observerMode?r.handleObserve=r.handleObserve.bind(r):(r.revealHandler=r.makeHandler(r.reveal),r.resizeHandler=r.makeHandler(r.resize)),r.saveRef=r.saveRef.bind(r),r}return a(t,e),c(t,[{key:"saveRef",value:function(e){this.childRef&&this.childRef(e),this.props.innerRef&&this.props.innerRef(e),this.el!==e&&(this.el=e&&"offsetHeight"in e?e:void 0,this.observe(this.props,!0))}},{key:"invisible",value:function(){this&&this.el&&(this.savedChild=!1,this.isShown||(this.setState({hasExited:!0,collapse:this.props.collapse?u({},this.state.collapse,{visibility:"hidden"}):null,style:{opacity:0}}),!p.observerMode&&this.props.collapse&&window.document.dispatchEvent(p.collapseend)))}},{key:"animationEnd",value:function(e,t,n){var r=this,i=n.forever,o=n.count,a=n.delay,s=n.duration;if(!i){var l=function(){r&&r.el&&(r.animationEndTimeout=void 0,e.call(r))};this.animationEndTimeout=window.setTimeout(l,a+(s+(t?s:0)*o))}}},{key:"getDimensionValue",value:function(){return this.el.offsetHeight+parseInt(window.getComputedStyle(this.el,null).getPropertyValue("margin-top"),10)+parseInt(window.getComputedStyle(this.el,null).getPropertyValue("margin-bottom"),10)}},{key:"collapse",value:function(e,t,n){var r=n.duration+(t.cascade?n.duration:0),i=this.isOn?this.getDimensionValue():0,o=void 0,a=void 0;if(t.collapseOnly)o=n.duration/3,a=n.delay;else{var s=r>>2,l=s>>1;o=s,a=n.delay+(this.isOn?0:r-s-l),e.style.animationDuration=r-s+(this.isOn?l:-l)+"ms",e.style.animationDelay=n.delay+(this.isOn?s-l:0)+"ms"}return e.collapse={height:i,transition:"height "+o+"ms ease "+a+"ms",overflow:t.collapseOnly?"hidden":void 0},e}},{key:"animate",value:function(e){if(this&&this.el&&(this.unlisten(),this.isShown!==this.isOn)){this.isShown=this.isOn;var t=!this.isOn&&e.outEffect,n=e[t?"outEffect":"inEffect"],r="style"in n&&n.style.animationName||void 0,i=void 0;e.collapseOnly?i={hasAppeared:!0,hasExited:!1,style:{opacity:1}}:((e.outEffect||this.isOn)&&n.make&&(r=n.make),i={hasAppeared:!0,hasExited:!1,collapse:void 0,style:u({},n.style,{animationDuration:n.duration+"ms",animationDelay:n.delay+"ms",animationIterationCount:n.forever?"infinite":n.count,opacity:1,animationName:r}),className:n.className}),this.setState(e.collapse?this.collapse(i,e,n):i),t?(this.savedChild=f.default.cloneElement(this.getChild()),this.animationEnd(this.invisible,e.cascade,n)):this.savedChild=!1,this.onReveal(e)}}},{key:"onReveal",value:function(e){e.onReveal&&this.isOn&&(this.onRevealTimeout&&(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)),e.wait?this.onRevealTimeout=window.setTimeout(e.onReveal,e.wait):e.onReveal())}},{key:"componentWillUnmount",value:function(){this.unlisten(),p.ssr&&(0,p.disableSsr)()}},{key:"handleObserve",value:function(e,t){l(e,1)[0].intersectionRatio>0&&(t.disconnect(),this.observer=null,this.reveal(this.props,!0))}},{key:"observe",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.el&&p.observerMode){if(this.observer){if(!t)return;this.observer.disconnect()}else if(t)return;this.observer=new IntersectionObserver(this.handleObserve,{threshold:e.fraction}),this.observer.observe(this.el)}}},{key:"reveal",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];p.globalHide||(0,p.hideAll)(),this&&this.el&&(e||(e=this.props),p.ssr&&(0,p.disableSsr)(),this.isOn&&this.isShown&&void 0!==e.spy?(this.isShown=!1,this.setState({style:{}}),window.setTimeout(function(){return t.reveal(e)},200)):n||this.inViewport(e)||e.force?this.animate(e):p.observerMode?this.observe(e):this.listen())}},{key:"componentDidMount",value:function(){var e=this;if(this.el&&!this.props.disabled){this.props.collapseOnly||("make"in this.props.inEffect&&this.props.inEffect.make(!1,this.props),void 0!==this.props.when&&this.props.outEffect&&"make"in this.props.outEffect&&this.props.outEffect.make(!0,this.props));var n=this.context.transitionGroup,r=n&&!n.isMounting?!("enter"in this.props&&!1===this.props.enter):this.props.appear;return this.isOn&&((void 0!==this.props.when||void 0!==this.props.spy)&&!r||p.ssr&&!p.fadeOutEnabled&&!this.props.ssrFadeout&&this.props.outEffect&&!this.props.ssrReveal&&t.getTop(this.el)<window.pageYOffset+window.innerHeight)?(this.isShown=!0,this.setState({hasAppeared:!0,collapse:this.props.collapse?{height:this.getDimensionValue()}:this.state.collapse,style:{opacity:1}}),void this.onReveal(this.props)):p.ssr&&(p.fadeOutEnabled||this.props.ssrFadeout)&&this.props.outEffect&&t.getTop(this.el)<window.pageYOffset+window.innerHeight?(this.setState({style:{opacity:0,transition:"opacity 1000ms 1000ms"}}),void window.setTimeout(function(){return e.reveal(e.props,!0)},2e3)):void(this.isOn&&(this.props.force?this.animate(this.props):this.reveal(this.props)))}}},{key:"cascade",value:function(e){var t=this,n=void 0;n="string"==typeof e?e.split("").map(function(e,t){return f.default.createElement("span",{key:t,style:{display:"inline-block",whiteSpace:"pre"}},e)}):f.default.Children.toArray(e);var r=this.props[this.isOn||!this.props.outEffect?"inEffect":"outEffect"],i=r.duration,o=r.reverse,a=n.length,l=2*i;this.props.collapse&&(l=parseInt(this.state.style.animationDuration,10),i=l/2);var c=o?a:0;return n=n.map(function(e){return"object"===(void 0===e?"undefined":s(e))&&e?f.default.cloneElement(e,{style:u({},e.props.style,t.state.style,{animationDuration:Math.round((0,p.cascade)(o?c--:c++,0,a,i,l))+"ms"})}):e})}},{key:"componentWillReceiveProps",value:function(e){if(void 0!==e.when&&(this.isOn=!!e.when),e.fraction!==this.props.fraction&&this.observe(e,!0),!this.isOn&&e.onExited&&"exit"in e&&!1===e.exit)return void e.onExited();e.disabled||(e.collapse&&!this.props.collapse&&(this.setState({style:{},collapse:t.getInitialCollapseStyle(e)}),this.isShown=!1),e.when===this.props.when&&e.spy===this.props.spy||this.reveal(e),this.onRevealTimeout&&!this.isOn&&(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)))}},{key:"getChild",value:function(){if(this.savedChild&&!this.props.disabled)return this.savedChild;if("object"===s(this.props.children)){var e=f.default.Children.only(this.props.children);return"type"in e&&"string"==typeof e.type||"ref"!==this.props.refProp?e:f.default.createElement("div",null,e)}return f.default.createElement("div",null,this.props.children)}},{key:"render",value:function(){var e=void 0;e=this.state.hasAppeared?!this.props.unmountOnExit||!this.state.hasExited||this.isOn:!this.props.mountOnEnter||this.isOn;var t=this.getChild();"function"==typeof t.ref&&(this.childRef=t.ref);var n=!1,i=t.props,o=i.style,a=i.className,s=i.children,l=this.props.disabled?a:(this.props.outEffect?p.namespace:"")+(this.state.className?" "+this.state.className:"")+(a?" "+a:"")||void 0,c=void 0;"function"==typeof this.state.style.animationName&&(this.state.style.animationName=this.state.style.animationName(!this.isOn,this.props)),this.props.cascade&&!this.props.disabled&&s&&this.state.style.animationName?(n=this.cascade(s),c=u({},o,{opacity:1})):c=this.props.disabled?o:u({},o,this.state.style);var d=u({},this.props.props,r({className:l,style:c},this.props.refProp,this.saveRef)),h=f.default.cloneElement(t,d,e?n||s:void 0);return void 0!==this.props.collapse?this.props.collapseEl?f.default.cloneElement(this.props.collapseEl,{style:u({},this.props.collapseEl.style,this.props.disabled?void 0:this.state.collapse),children:h}):f.default.createElement("div",{style:this.props.disabled?void 0:this.state.collapse,children:h}):h}},{key:"makeHandler",value:function(e){var t=this,n=function(){e.call(t,t.props),t.ticking=!1};return function(){t.ticking||((0,p.raf)(n),t.ticking=!0)}}},{key:"inViewport",value:function(e){if(!this.el||window.document.hidden)return!1;var n=this.el.offsetHeight,r=window.pageYOffset-t.getTop(this.el),i=Math.min(n,window.innerHeight)*(p.globalHide?e.fraction:0);return r>i-window.innerHeight&&r<n-i}},{key:"resize",value:function(e){this&&this.el&&this.isOn&&this.inViewport(e)&&(this.unlisten(),this.isShown=this.isOn,this.setState({hasExited:!this.isOn,hasAppeared:!0,collapse:void 0,style:{opacity:this.isOn||!e.outEffect?1:0}}),this.onReveal(e))}},{key:"listen",value:function(){p.observerMode||this.isListener||(this.isListener=!0,window.addEventListener("scroll",this.revealHandler,{passive:!0}),window.addEventListener("orientationchange",this.revealHandler,{passive:!0}),window.document.addEventListener("visibilitychange",this.revealHandler,{passive:!0}),window.document.addEventListener("collapseend",this.revealHandler,{passive:!0}),window.addEventListener("resize",this.resizeHandler,{passive:!0}))}},{key:"unlisten",value:function(){!p.observerMode&&this.isListener&&(window.removeEventListener("scroll",this.revealHandler,{passive:!0}),window.removeEventListener("orientationchange",this.revealHandler,{passive:!0}),window.document.removeEventListener("visibilitychange",this.revealHandler,{passive:!0}),window.document.removeEventListener("collapseend",this.revealHandler,{passive:!0}),window.removeEventListener("resize",this.resizeHandler,{passive:!0}),this.isListener=!1),this.onRevealTimeout&&(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)),this.animationEndTimeout&&(this.animationEndTimeout=window.clearTimeout(this.animationEndTimeout))}}],[{key:"getInitialCollapseStyle",value:function(e){return{height:0,visibility:e.when?void 0:"hidden"}}},{key:"getTop",value:function(e){for(;void 0===e.offsetTop;)e=e.parentNode;for(var t=e.offsetTop;e.offsetParent;t+=e.offsetTop)e=e.offsetParent;return t}}]),t}(f.default.Component);b.propTypes=g,b.defaultProps=v,b.contextTypes=y,b.displayName="RevealBase",t.default=b,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){for(var t=[e.className,(0,l.default)("row")],n=0;n<g.length;++n){var r=g[n],i=e[r];i&&t.push((0,l.default)(r+"-"+i))}return e.reverse&&t.push((0,l.default)("reverse")),t}function o(e){return(0,p.default)(v,e,i(e))}function a(e){return c.default.createElement(e.tagName||"div",o(e))}Object.defineProperty(t,"__esModule",{value:!0}),t.getRowProps=o,t.default=a;var s=n(136),l=r(s),u=n(1),c=r(u),d=n(2),f=r(d),h=n(137),p=r(h),m=n(226),g=["start","center","end","top","middle","bottom","around","between"],v={reverse:f.default.bool,start:m.ViewportSizeType,center:m.ViewportSizeType,end:m.ViewportSizeType,top:m.ViewportSizeType,middle:m.ViewportSizeType,bottom:m.ViewportSizeType,around:m.ViewportSizeType,between:m.ViewportSizeType,className:f.default.string,tagName:f.default.string,children:f.default.node};a.propTypes=v},function(e,t){},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e}function a(e){var t=[];return e.className&&t.push(e.className),e.first&&t.push((0,g.default)("first-"+e.first)),e.last&&t.push((0,g.default)("last-"+e.last)),Object.keys(e).filter(function(e){return b[e]}).map(function(t){return(0,g.default)(o(e[t])?b[t]+"-"+e[t]:b[t])}).concat(t)}function s(e){return(0,p.default)(y,e,a(e))}function l(e){var t=e.tagName,n=i(e,["tagName"]);return c.default.createElement(t||"div",s(n))}Object.defineProperty(t,"__esModule",{value:!0}),t.getColumnProps=s,t.default=l;var u=n(1),c=r(u),d=n(2),f=r(d),h=n(137),p=r(h),m=n(136),g=r(m),v=n(226),y={xs:v.ColumnSizeType,sm:v.ColumnSizeType,md:v.ColumnSizeType,lg:v.ColumnSizeType,xl:v.ColumnSizeType,xsOffset:f.default.number,smOffset:f.default.number,mdOffset:f.default.number,lgOffset:f.default.number,xlOffset:f.default.number,first:v.ViewportSizeType,last:v.ViewportSizeType,className:f.default.string,tagName:f.default.string,children:f.default.node},b={xs:"col-xs",sm:"col-sm",md:"col-md",lg:"col-lg",xl:"col-xl",xsOffset:"col-xs-offset",smOffset:"col-sm-offset",mdOffset:"col-md-offset",lgOffset:"col-lg-offset",xlOffset:"col-xl-offset"};l.propTypes=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=(0,f.default)(e.fluid?"container-fluid":"container"),n=[e.className,t];return a.default.createElement(e.tagName||"div",(0,c.default)(h,e,n))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(1),a=r(o),s=n(2),l=r(s),u=n(137),c=r(u),d=n(136),f=r(d),h={fluid:l.default.bool,className:l.default.string,tagName:l.default.string,children:l.default.node};i.propTypes=h},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return u});var a=n(1),s=n.n(a),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.parseStyles=function(t){var n={};t.params.forEach(function(e){var t={},r=e.V;isNaN(Number(e.V))||(r=Number(e.V)),t[e.K]=r,n=Object.assign({},n,t)}),e.setState({styles:n})},e.state={styles:{}},e}return o(t,e),l(t,[{key:"componentWillMount",value:function(){this.parseStyles(this.props)}},{key:"componentWillReceiveProps",value:function(e){this.parseStyles(e)}},{key:"render",value:function(){return s.a.createElement("div",{style:{marginTop:20,marginBottom:20,width:"100%",textAlign:"center"}},s.a.createElement("a",{href:this.props.imageUrl,target:"_blank"},s.a.createElement("img",{src:this.props.imageUrl,alt:this.props.alt,style:this.state.styles})))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return c});var a=n(1),s=n.n(a),l=n(623),u=(n.n(l),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),c=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),u(t,[{key:"render",value:function(){return s.a.createElement("div",{className:"crafty"},this.props.text)}}]),t}(a.Component)},function(e,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 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 o(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)}n.d(t,"a",function(){return g});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(40)),c=n.n(u),d=n(67),f=n(227),h=n(626),p=(n.n(h),n(642)),m=(n.n(p),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),g=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.updateDim=function(){(window.innerWidth<n.minminThres||window.innerWidth<=n.maxThres&&window.innerWidth>n.minThres)&&!n.state.smallerCardBody?n.setState({smallerCardBody:!0,cardBody:n.minBody}):window.innerWidth>=n.minminThres&&(window.innerWidth>n.maxThres||window.innerWidth<=n.minThres)&&n.state.smallerCardBody&&n.setState({smallerCardBody:!1,cardBody:n.maxBody})},n.toggleExpand=function(e){var t=n.state.expanded;t[e]=!t[e],n.setState({expanded:t})},n.hover=function(e){var t=n.state.hover;t[e]=!0,n.setState({hover:t})},n.removeHover=function(e){var t=n.state.hover;t[e]=!1,n.setState({hover:t})},n.setLoaded=function(e){if(!n.state.loaded[e]){var t=n.state.loaded;t[e]=!0,n.setState({loaded:t})}},n.state={expanded:[],hover:[],data:[],loaded:[],filterTo:"All",cardBody:80},n.filteredCategories=["All","Drylab","Wetlab","Outreach","Business","Design","Adviser","Leadership","Collaborations","Presenters","PIs"],window.addEventListener("resize",n.updateDim),n.maxThres=1400,n.minThres=768,n.minminThres=380,n.mainColor="#420dab",n.sections=["Leadership","Members","Advisers","PIs"],n.minBody=70,n.maxBody=75,n}return o(t,e),m(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;this.setState({data:e.data}),e.data.forEach(function(e,n){var r=new Image;r.src=e.PICTURE,r.onload=function(){return t.setLoaded(n)}})}},{key:"componentWillMount",value:function(){var e=this;this.setState({data:this.props.data}),this.props.data.forEach(function(t,n){var r=new Image;r.src=t.PICTURE,r.onload=function(){return e.setLoaded(n)}}),window.innerWidth<this.minminThres||window.innerWidth<=this.maxThres&&window.innerWidth>this.minThres?this.setState({smallerCardBody:!0,cardBody:this.minBody}):window.innerWidth>=this.minminThres&&(window.innerWidth>this.maxThres||window.innerWidth<=this.minThres)&&this.setState({smallerCardBody:!1,cardBody:this.maxBody})}},{key:"render",value:function(){var e=this,t=this.state.data.sort(function(e,t){return e.NAME<t.NAME?-1:t.NAME<e.NAME?1:0});return s.a.createElement("div",null,s.a.createElement(l.Grid,{fluid:!0,style:{padding:0,margin:20,marginTop:30,marginBottom:20}},s.a.createElement(c.a,{clear:!0,cascade:!0},s.a.createElement(l.Row,{style:{padding:0,margin:"auto",textAlign:"center"}},this.filteredCategories.sort().map(function(t,n){return s.a.createElement(l.Col,{xs:!0,key:"selector"+n},s.a.createElement("div",{onClick:function(){e.setState({filterTo:t})},style:{cursor:"pointer",fontStyle:"italic",borderBottom:e.state.filterTo===t?"3px solid black":"",transition:"border 0.2s"},className:"filterButton"},t))})))),this.sections.map(function(n,r){return s.a.createElement("div",{key:"sect"+r,style:{marginBottom:20}},s.a.createElement("div",{style:{margin:"auto",width:"100%",textAlign:"center",fontSize:50}},n),s.a.createElement(l.Grid,{fluid:!0,style:{padding:0,margin:0}},s.a.createElement(l.Row,{style:{padding:0,margin:0},center:"xs"},t&&t.map(function(t,r){var i=void 0;switch(n){case"Leadership":i=t.FILTER&&-1===t.FILTER.indexOf(n);break;case"Members":i=t.FILTER&&(-1!==t.FILTER.indexOf("Adviser")||-1!==t.FILTER.indexOf("Leadership")||-1!==t.FILTER.indexOf("PIs"));break;case"Advisers":i=t.FILTER&&-1===t.FILTER.indexOf("Adviser");break;case"PIs":i=t.FILTER&&-1===t.FILTER.indexOf("PIs");break;default:i=t.FILTER&&(-1!==t.FILTER.indexOf("Adviser")||-1!==t.FILTER.indexOf("Leadership"))}if(i)return null;var o=t.XPOS?t.XPOS:50,a=t.YPOS?t.YPOS:20,u=t.CUSTSIZE?t.CUSTSIZE:100;return s.a.createElement(l.Col,{md:3,key:"subimg"+r,style:{textAlign:"center",margin:10,transition:"height 0.5s",maxWidth:380,minWidth:280}},s.a.createElement("div",{style:{width:"100%",maxWidth:380,minWidth:280,height:"auto",minHeight:380,backgroundColor:"https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png"===t.PICTURE&&e.state.loaded[r]?"lightgray":"white",margin:"auto",borderRadius:20,overflow:"hidden",cursor:""===t.BIO?"normal":"pointer",position:"relative",filter:t.FILTER&&-1!==t.FILTER.indexOf(e.state.filterTo)||"All"===e.state.filterTo?"":"blur(5px)",boxShadow:"5px 5px 5px #999999",transition:"filter 0.2s, background-color: 0.2s"},onClick:function(){""!==t.BIO&&e.toggleExpand(r)},onMouseEnter:function(){return e.hover(r)},onMouseLeave:function(){return e.removeHover(r)}},s.a.createElement(c.a,{when:!0===e.state.loaded[r]},s.a.createElement("div",{style:{position:"absolute",width:"100%",top:0,left:0,height:e.state.cardBody+"%",backgroundColor:"white",background:"url("+t.PICTURE+") "+o+"% "+a+"% no-repeat",backgroundSize:(u||100)+"%"}})),s.a.createElement("div",{style:{position:"absolute",width:"100%",bottom:0,left:0,height:e.state.expanded[r]?"100%":100-e.state.cardBody+"%",backgroundColor:e.state.hover[r]||e.state.expanded[r]?e.mainColor:"white",transition:"height 0.5s, background-color 0.5s, color 0.5s",color:e.state.hover[r]||e.state.expanded[r]?"white":"black"},className:"scrollBox"},s.a.createElement(h.Scrollbars,{style:{position:"absolute",margin:"auto",left:0,right:0,textAlign:"center",height:"100%",opacity:e.state.expanded[r]?1:0}},s.a.createElement(c.a,{duration:500,clear:!0,when:!0===e.state.expanded[r]},s.a.createElement("div",{style:{padding:20,fontSize:16}},t.BIO.split("\\n").map(function(e,n){return s.a.createElement("p",{key:t.NAME+"spl"+n,style:{marginTop:10}},e.trim())}),s.a.createElement("div",{style:{color:"white",padding:0,marginTop:10}},t.GITHUB&&s.a.createElement("a",{href:t.GITHUB,target:"_blank",className:"icon"},s.a.createElement(d.a,{icon:f.b,size:"2x"})),t.LINKEDIN&&s.a.createElement("a",{href:t.LINKEDIN,target:"_blank",className:"icon"},s.a.createElement(d.a,{icon:f.d,size:"2x"})))))),s.a.createElement(c.a,{duration:500,clear:!0,when:!0!==e.state.expanded[r]},s.a.createElement("div",{style:{position:"absolute",textAlign:"center",margin:"auto",left:0,right:0}},s.a.createElement("div",{style:{textTransform:"uppercase",marginTop:10,fontWeight:"bold",fontSize:20,letterSpacing:3,textOverflow:"ellipsis",overflow:"hidden"}},t.NAME),s.a.createElement("div",{style:{marginTop:10}},t.ROLE))))))}))))}))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e){var t=A.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function i(e){return""===e||"false"!==e&&("true"===e||e)}function o(e){if(e&&I){var t=A.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=A.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i];["STYLE","LINK"].indexOf((o.tagName||"").toUpperCase())>-1&&(r=o)}return A.head.insertBefore(t,r),e}}function a(){return++Z}function s(e){return(""+e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function l(e){return Object.keys(e||{}).reduce(function(t,n){return t+(n+'="')+s(e[n])+'" '},"").trim()}function u(e){return Object.keys(e||{}).reduce(function(t,n){return t+(n+": ")+e[n]+";"},"")}function c(e){return e.size!==Y.size||e.x!==Y.x||e.y!==Y.y||e.rotate!==Y.rotate||e.flipX||e.flipY}function d(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth;return{outer:{transform:"translate("+n/2+" 256)"},inner:{transform:"translate("+32*t.x+", "+32*t.y+")  scale("+t.size/16*(t.flipX?-1:1)+", "+t.size/16*(t.flipY?-1:1)+")  rotate("+t.rotate+" 0 0)"},path:{transform:"translate("+r/2*-1+" -256)"}}}function f(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,s=e.transform,l=e.symbol,u=e.title,c=e.extra,d=e.watchable,f=void 0!==d&&d,h=r.found?r:n,p=h.width,m=h.height,g="fa-w-"+Math.ceil(p/m*16),v=[U.replacementClass,o?U.familyPrefix+"-"+o:"",g].filter(function(e){return-1===c.classes.indexOf(e)}).concat(c.classes).join(" "),y={children:[],attributes:W({},c.attributes,{"data-prefix":i,"data-icon":o,class:v,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 "+p+" "+m})};f&&(y.attributes[N]=""),u&&y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-"+a()},children:[u]});var b=W({},y,{prefix:i,iconName:o,main:n,mask:r,transform:s,symbol:l,styles:c.styles}),w=r.found&&n.found?Q(b):$(b),E=w.children,T=w.attributes;return b.children=E,b.attributes=T,l?ee(b):J(b)}function h(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function p(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"===typeof e?s(e):"<"+t+" "+l(r)+">"+o.map(p).join("")+"</"+t+">"}function m(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}function g(e,t){var n=Object.keys(t).reduce(function(e,n){var r=t[n];return!r.icon?e[n]=r:e[r.iconName]=r.icon,e},{});"function"===typeof G.hooks.addPack?G.hooks.addPack(e,n):G.styles[e]=W({},G.styles[e]||{},n),"fas"===e&&g("fa",t)}function v(e){return{found:!0,width:e[0],height:e[1],icon:{tag:"path",attributes:{fill:"currentColor",d:e.slice(4)[0]}}}}function y(){U.autoAddCss&&!ve&&(o(pe()),ve=!0)}function b(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return p(e)})}}),Object.defineProperty(e,"node",{get:function(){if(I){var t=A.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function w(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return h(ge.definitions,n,r)||h(G.styles,n,r)}n.d(t,"a",function(){return be}),n.d(t,"b",function(){return ye});var E=function(){},T={},_={},x={mark:E,measure:E};try{"undefined"!==typeof window&&(T=window),"undefined"!==typeof document&&(_=document),"undefined"!==typeof MutationObserver&&MutationObserver,"undefined"!==typeof performance&&(x=performance)}catch(e){}var k=T.navigator||{},S=k.userAgent,C=void 0===S?"":S,O=T,A=_,P=x,I=!!A.documentElement&&!!A.head&&"function"===typeof A.addEventListener&&"function"===typeof A.createElement,R=(~C.indexOf("MSIE")||C.indexOf("Trident/"),16),N="data-fa-i2svg",M=(function(){try{}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),D=M.concat([11,12,13,14,15,16,17,18,19,20]),L=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter"].concat(M.map(function(e){return e+"x"})).concat(D.map(function(e){return"w-"+e})),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),j=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}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")}}(),F=O.FontAwesomeConfig||{};if(A&&"function"===typeof A.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(e){var t=B(e,2),n=t[0],o=t[1],a=i(r(n));void 0!==a&&null!==a&&(F[o]=a)})}var z=W({familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},F);z.autoReplaceSvg||(z.observeMutations=!1);var U=W({},z);O.FontAwesomeConfig=U;var H=O||{};H.___FONT_AWESOME___||(H.___FONT_AWESOME___={}),H.___FONT_AWESOME___.styles||(H.___FONT_AWESOME___.styles={}),H.___FONT_AWESOME___.hooks||(H.___FONT_AWESOME___.hooks={}),H.___FONT_AWESOME___.shims||(H.___FONT_AWESOME___.shims=[]);var G=H.___FONT_AWESOME___,q=[],V=function e(){A.removeEventListener("DOMContentLoaded",e),K=1,q.map(function(e){return e()})},K=!1;I&&((K=(A.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(A.readyState))||A.addEventListener("DOMContentLoaded",V));var Y={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Z=0,X={x:0,y:0,width:"100%",height:"100%"},Q=function(e){var t=e.children,n=e.attributes,r=e.main,i=e.mask,o=e.transform,s=r.width,l=r.icon,u=i.width,c=i.icon,f=d({transform:o,containerWidth:u,iconWidth:s}),h={tag:"rect",attributes:W({},X,{fill:"white"})},p={tag:"g",attributes:W({},f.inner),children:[{tag:"path",attributes:W({},l.attributes,f.path,{fill:"black"})}]},m={tag:"g",attributes:W({},f.outer),children:[p]},g="mask-"+a(),v="clip-"+a(),y={tag:"mask",attributes:W({},X,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,m]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:[c]},y]};return t.push(b,{tag:"rect",attributes:W({fill:"currentColor","clip-path":"url(#"+v+")",mask:"url(#"+g+")"},X)}),{children:t,attributes:n}},$=function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,o=e.styles,a=u(o);if(a.length>0&&(n.style=a),c(i)){var s=d({transform:i,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:W({},s.outer),children:[{tag:"g",attributes:W({},s.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:W({},r.icon.attributes,s.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}},J=function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(c(a)&&n.found&&!r.found){var s=n.width,l=n.height,d={x:s/l/2,y:.5};i.style=u(W({},o,{"transform-origin":d.x+a.x/16+"em "+(d.y+a.y/16)+"em"}))}return[{tag:"svg",attributes:i,children:t}]},ee=function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol,a=!0===o?t+"-"+U.familyPrefix+"-"+n:o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:W({},i,{id:a}),children:r}]}]},te=function(){},ne=(U.measurePerformance&&P&&P.mark&&P.measure,function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}),re=function(e,t,n,r){var i,o,a,s=Object.keys(e),l=s.length,u=void 0!==r?ne(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<l;i++)o=s[i],a=u(a,e[o],o,e);return a},ie=G.styles,oe=G.shims,ae={},se={},le={},ue=function(){var e=function(e){return re(ie,function(t,n,r){return t[r]=re(n,e,{}),t},{})};ae=e(function(e,t,n){return e[t[3]]=n,e}),se=e(function(e,t,n){var r=t[2];return e[n]=n,r.forEach(function(t){e[t]=n}),e});var t="far"in ie;le=re(oe,function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),e[r]={prefix:i,iconName:o},e},{})};ue();var ce=(G.styles,function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce(function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e},t):t});m.prototype=Object.create(Error.prototype),m.prototype.constructor=m;var de={fill:"currentColor"},fe={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},he=(W({},de,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),W({},fe,{attributeName:"opacity"})),pe=(W({},de,{cx:"256",cy:"364",r:"28"}),W({},fe,{attributeName:"r",values:"28;14;28;28;14;28;"}),W({},he,{values:"1;0;1;1;0;1;"}),W({},de,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),W({},he,{values:"1;0;0;0;0;1;"}),W({},de,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),W({},he,{values:"0;0;1;1;0;0;"}),G.styles,function(){var e="svg-inline--fa",t=U.familyPrefix,n=U.replacementClass,r='svg:not(:root).svg-inline--fa {\n  overflow: visible; }\n\n.svg-inline--fa {\n  display: inline-block;\n  font-size: inherit;\n  height: 1em;\n  overflow: visible;\n  vertical-align: -.125em; }\n  .svg-inline--fa.fa-lg {\n    vertical-align: -.225em; }\n  .svg-inline--fa.fa-w-1 {\n    width: 0.0625em; }\n  .svg-inline--fa.fa-w-2 {\n    width: 0.125em; }\n  .svg-inline--fa.fa-w-3 {\n    width: 0.1875em; }\n  .svg-inline--fa.fa-w-4 {\n    width: 0.25em; }\n  .svg-inline--fa.fa-w-5 {\n    width: 0.3125em; }\n  .svg-inline--fa.fa-w-6 {\n    width: 0.375em; }\n  .svg-inline--fa.fa-w-7 {\n    width: 0.4375em; }\n  .svg-inline--fa.fa-w-8 {\n    width: 0.5em; }\n  .svg-inline--fa.fa-w-9 {\n    width: 0.5625em; }\n  .svg-inline--fa.fa-w-10 {\n    width: 0.625em; }\n  .svg-inline--fa.fa-w-11 {\n    width: 0.6875em; }\n  .svg-inline--fa.fa-w-12 {\n    width: 0.75em; }\n  .svg-inline--fa.fa-w-13 {\n    width: 0.8125em; }\n  .svg-inline--fa.fa-w-14 {\n    width: 0.875em; }\n  .svg-inline--fa.fa-w-15 {\n    width: 0.9375em; }\n  .svg-inline--fa.fa-w-16 {\n    width: 1em; }\n  .svg-inline--fa.fa-w-17 {\n    width: 1.0625em; }\n  .svg-inline--fa.fa-w-18 {\n    width: 1.125em; }\n  .svg-inline--fa.fa-w-19 {\n    width: 1.1875em; }\n  .svg-inline--fa.fa-w-20 {\n    width: 1.25em; }\n  .svg-inline--fa.fa-pull-left {\n    margin-right: .3em;\n    width: auto; }\n  .svg-inline--fa.fa-pull-right {\n    margin-left: .3em;\n    width: auto; }\n  .svg-inline--fa.fa-border {\n    height: 1.5em; }\n  .svg-inline--fa.fa-li {\n    width: 2em; }\n  .svg-inline--fa.fa-fw {\n    width: 1.25em; }\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0; }\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -.125em;\n  width: 1em; }\n  .fa-layers svg.svg-inline--fa {\n    -webkit-transform-origin: center center;\n            transform-origin: center center; }\n\n.fa-layers-text, .fa-layers-counter {\n  display: inline-block;\n  position: absolute;\n  text-align: center; }\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center; }\n\n.fa-layers-counter {\n  background-color: #ff253a;\n  border-radius: 1em;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  color: #fff;\n  height: 1.5em;\n  line-height: 1;\n  max-width: 5em;\n  min-width: 1.5em;\n  overflow: hidden;\n  padding: .25em;\n  right: 0;\n  text-overflow: ellipsis;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right; }\n\n.fa-layers-bottom-right {\n  bottom: 0;\n  right: 0;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right; }\n\n.fa-layers-bottom-left {\n  bottom: 0;\n  left: 0;\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left; }\n\n.fa-layers-top-right {\n  right: 0;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right; }\n\n.fa-layers-top-left {\n  left: 0;\n  right: auto;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top left;\n          transform-origin: top left; }\n\n.fa-lg {\n  font-size: 1.33333em;\n  line-height: 0.75em;\n  vertical-align: -.0667em; }\n\n.fa-xs {\n  font-size: .75em; }\n\n.fa-sm {\n  font-size: .875em; }\n\n.fa-1x {\n  font-size: 1em; }\n\n.fa-2x {\n  font-size: 2em; }\n\n.fa-3x {\n  font-size: 3em; }\n\n.fa-4x {\n  font-size: 4em; }\n\n.fa-5x {\n  font-size: 5em; }\n\n.fa-6x {\n  font-size: 6em; }\n\n.fa-7x {\n  font-size: 7em; }\n\n.fa-8x {\n  font-size: 8em; }\n\n.fa-9x {\n  font-size: 9em; }\n\n.fa-10x {\n  font-size: 10em; }\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em; }\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: 2.5em;\n  padding-left: 0; }\n  .fa-ul > li {\n    position: relative; }\n\n.fa-li {\n  left: -2em;\n  position: absolute;\n  text-align: center;\n  width: 2em;\n  line-height: inherit; }\n\n.fa-border {\n  border: solid 0.08em #eee;\n  border-radius: .1em;\n  padding: .2em .25em .15em; }\n\n.fa-pull-left {\n  float: left; }\n\n.fa-pull-right {\n  float: right; }\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n  margin-right: .3em; }\n\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n  margin-left: .3em; }\n\n.fa-spin {\n  -webkit-animation: fa-spin 2s infinite linear;\n          animation: fa-spin 2s infinite linear; }\n\n.fa-pulse {\n  -webkit-animation: fa-spin 1s infinite steps(8);\n          animation: fa-spin 1s infinite steps(8); }\n\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg); }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg); } }\n\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg); }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg); } }\n\n.fa-rotate-90 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg); }\n\n.fa-rotate-180 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg); }\n\n.fa-rotate-270 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg); }\n\n.fa-flip-horizontal {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1); }\n\n.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1); }\n\n.fa-flip-horizontal.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1); }\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical {\n  -webkit-filter: none;\n          filter: none; }\n\n.fa-stack {\n  display: inline-block;\n  height: 2em;\n  position: relative;\n  width: 2em; }\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0; }\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1em; }\n\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2em; }\n\n.fa-inverse {\n  color: #fff; }\n\n.sr-only {\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\n.sr-only-focusable:active, .sr-only-focusable:focus {\n  clip: auto;\n  height: auto;\n  margin: 0;\n  overflow: visible;\n  position: static;\n  width: auto; }\n';if("fa"!==t||n!==e){var i=new RegExp("\\.fa\\-","g"),o=new RegExp("\\."+e,"g");r=r.replace(i,"."+t+"-").replace(o,"."+n)}return r}),me=function(){function e(){L(this,e),this.definitions={}}return j(e,[{key:"add",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach(function(t){e.definitions[t]=W({},e.definitions[t]||{},i[t]),g(t,i[t]),ue()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map(function(t){var r=n[t],i=r.prefix,o=r.iconName,a=r.icon;e[i]||(e[i]={}),e[i][o]=a}),e}}]),e}(),ge=new me,ve=!1,ye={transform:function(e){return ce(e)}},be=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:w(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:w(i||{})),e(r,W({},n,{mask:i}))}}(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Y:n,i=t.symbol,o=void 0!==i&&i,s=t.mask,l=void 0===s?null:s,u=t.title,c=void 0===u?null:u,d=t.classes,h=void 0===d?[]:d,p=t.attributes,m=void 0===p?{}:p,g=t.styles,w=void 0===g?{}:g;if(e){var E=e.prefix,T=e.iconName,_=e.icon;return b(W({type:"icon"},e),function(){return y(),U.autoA11y&&(c?m["aria-labelledby"]=U.replacementClass+"-title-"+a():m["aria-hidden"]="true"),f({icons:{main:v(_),mask:l?v(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:T,transform:W({},Y,r),symbol:o,title:c,extra:{attributes:m,styles:w,classes:h}})})}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scrollbars=void 0;var r=n(627),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=i.default,t.Scrollbars=i.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(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});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(628),d=r(c),f=n(228),h=r(f),p=n(1),m=n(2),g=r(m),v=n(635),y=r(v),b=n(636),w=r(b),E=n(637),T=r(E),_=n(638),x=r(_),k=n(639),S=r(k),C=n(640),O=n(641),A=function(e){function t(e){var n;o(this,t);for(var r=arguments.length,i=Array(r>1?r-1:0),s=1;s<r;s++)i[s-1]=arguments[s];var l=a(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this,e].concat(i)));return l.getScrollLeft=l.getScrollLeft.bind(l),l.getScrollTop=l.getScrollTop.bind(l),l.getScrollWidth=l.getScrollWidth.bind(l),l.getScrollHeight=l.getScrollHeight.bind(l),l.getClientWidth=l.getClientWidth.bind(l),l.getClientHeight=l.getClientHeight.bind(l),l.getValues=l.getValues.bind(l),l.getThumbHorizontalWidth=l.getThumbHorizontalWidth.bind(l),l.getThumbVerticalHeight=l.getThumbVerticalHeight.bind(l),l.getScrollLeftForOffset=l.getScrollLeftForOffset.bind(l),l.getScrollTopForOffset=l.getScrollTopForOffset.bind(l),l.scrollLeft=l.scrollLeft.bind(l),l.scrollTop=l.scrollTop.bind(l),l.scrollToLeft=l.scrollToLeft.bind(l),l.scrollToTop=l.scrollToTop.bind(l),l.scrollToRight=l.scrollToRight.bind(l),l.scrollToBottom=l.scrollToBottom.bind(l),l.handleTrackMouseEnter=l.handleTrackMouseEnter.bind(l),l.handleTrackMouseLeave=l.handleTrackMouseLeave.bind(l),l.handleHorizontalTrackMouseDown=l.handleHorizontalTrackMouseDown.bind(l),l.handleVerticalTrackMouseDown=l.handleVerticalTrackMouseDown.bind(l),l.handleHorizontalThumbMouseDown=l.handleHorizontalThumbMouseDown.bind(l),l.handleVerticalThumbMouseDown=l.handleVerticalThumbMouseDown.bind(l),l.handleWindowResize=l.handleWindowResize.bind(l),l.handleScroll=l.handleScroll.bind(l),l.handleDrag=l.handleDrag.bind(l),l.handleDragEnd=l.handleDragEnd.bind(l),l.state={didMountUniversal:!1},l}return s(t,e),u(t,[{key:"componentDidMount",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){this.props.universal&&this.setState({didMountUniversal:!0})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"componentWillUnmount",value:function(){this.removeListeners(),(0,c.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:"getScrollLeft",value:function(){return this.view?this.view.scrollLeft:0}},{key:"getScrollTop",value:function(){return this.view?this.view.scrollTop:0}},{key:"getScrollWidth",value:function(){return this.view?this.view.scrollWidth:0}},{key:"getScrollHeight",value:function(){return this.view?this.view.scrollHeight:0}},{key:"getClientWidth",value:function(){return this.view?this.view.clientWidth:0}},{key:"getClientHeight",value:function(){return this.view?this.view.clientHeight:0}},{key:"getValues",value:function(){var e=this.view||{},t=e.scrollLeft,n=void 0===t?0:t,r=e.scrollTop,i=void 0===r?0:r,o=e.scrollWidth,a=void 0===o?0:o,s=e.scrollHeight,l=void 0===s?0:s,u=e.clientWidth,c=void 0===u?0:u,d=e.clientHeight,f=void 0===d?0:d;return{left:n/(a-c)||0,top:i/(l-f)||0,scrollLeft:n,scrollTop:i,scrollWidth:a,scrollHeight:l,clientWidth:c,clientHeight:f}}},{key:"getThumbHorizontalWidth",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,r=this.view,i=r.scrollWidth,o=r.clientWidth,a=(0,x.default)(this.trackHorizontal),s=Math.ceil(o/i*a);return a===s?0:t||Math.max(s,n)}},{key:"getThumbVerticalHeight",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,r=this.view,i=r.scrollHeight,o=r.clientHeight,a=(0,S.default)(this.trackVertical),s=Math.ceil(o/i*a);return a===s?0:t||Math.max(s,n)}},{key:"getScrollLeftForOffset",value:function(e){var t=this.view,n=t.scrollWidth,r=t.clientWidth;return e/((0,x.default)(this.trackHorizontal)-this.getThumbHorizontalWidth())*(n-r)}},{key:"getScrollTopForOffset",value:function(e){var t=this.view,n=t.scrollHeight,r=t.clientHeight;return e/((0,S.default)(this.trackVertical)-this.getThumbVerticalHeight())*(n-r)}},{key:"scrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollLeft=e)}},{key:"scrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollTop=e)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if("undefined"!==typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,i=this.thumbVertical;e.addEventListener("scroll",this.handleScroll),(0,w.default)()&&(t.addEventListener("mouseenter",this.handleTrackMouseEnter),t.addEventListener("mouseleave",this.handleTrackMouseLeave),t.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.addEventListener("mouseenter",this.handleTrackMouseEnter),n.addEventListener("mouseleave",this.handleTrackMouseLeave),n.addEventListener("mousedown",this.handleVerticalTrackMouseDown),r.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),i.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if("undefined"!==typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,i=this.thumbVertical;e.removeEventListener("scroll",this.handleScroll),(0,w.default)()&&(t.removeEventListener("mouseenter",this.handleTrackMouseEnter),t.removeEventListener("mouseleave",this.handleTrackMouseLeave),t.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.removeEventListener("mouseenter",this.handleTrackMouseEnter),n.removeEventListener("mouseleave",this.handleTrackMouseLeave),n.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),r.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),i.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(e){var t=this,n=this.props,r=n.onScroll,i=n.onScrollFrame;r&&r(e),this.update(function(e){var n=e.scrollLeft,r=e.scrollTop;t.viewScrollLeft=n,t.viewScrollTop=r,i&&i(e)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var e=this.props.onScrollStart;e&&e(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleScrollStop",value:function(){var e=this.props.onScrollStop;e&&e(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientX,r=t.getBoundingClientRect(),i=r.left,o=this.getThumbHorizontalWidth(),a=Math.abs(i-n)-o/2;this.view.scrollLeft=this.getScrollLeftForOffset(a)}},{key:"handleVerticalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientY,r=t.getBoundingClientRect(),i=r.top,o=this.getThumbVerticalHeight(),a=Math.abs(i-n)-o/2;this.view.scrollTop=this.getScrollTopForOffset(a)}},{key:"handleHorizontalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientX,r=t.offsetWidth,i=t.getBoundingClientRect(),o=i.left;this.prevPageX=r-(n-o)}},{key:"handleVerticalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientY,r=t.offsetHeight,i=t.getBoundingClientRect(),o=i.top;this.prevPageY=r-(n-o)}},{key:"setupDragging",value:function(){(0,h.default)(document.body,C.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=T.default}},{key:"teardownDragging",value:function(){(0,h.default)(document.body,C.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(e){this.dragging=!0,e.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(e){if(this.prevPageX){var t=e.clientX,n=this.trackHorizontal.getBoundingClientRect(),r=n.left,i=this.getThumbHorizontalWidth(),o=i-this.prevPageX,a=-r+t-o;this.view.scrollLeft=this.getScrollLeftForOffset(a)}if(this.prevPageY){var s=e.clientY,l=this.trackVertical.getBoundingClientRect(),u=l.top,c=this.getThumbVerticalHeight(),d=c-this.prevPageY,f=-u+s-d;this.view.scrollTop=this.getScrollTopForOffset(f)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,h.default)(this.trackHorizontal,{opacity:1}),(0,h.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var e=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var t=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,h.default)(e.trackHorizontal,{opacity:0}),(0,h.default)(e.trackVertical,{opacity:0})},t)}}},{key:"detectScrolling",value:function(){var e=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){e.lastViewScrollLeft===e.viewScrollLeft&&e.lastViewScrollTop===e.viewScrollTop&&(clearInterval(e.detectScrollingInterval),e.scrolling=!1,e.handleScrollStop()),e.lastViewScrollLeft=e.viewScrollLeft,e.lastViewScrollTop=e.viewScrollTop},100))}},{key:"raf",value:function(e){var t=this;this.requestFrame&&d.default.cancel(this.requestFrame),this.requestFrame=(0,d.default)(function(){t.requestFrame=void 0,e()})}},{key:"update",value:function(e){var t=this;this.raf(function(){return t._update(e)})}},{key:"_update",value:function(e){var t=this.props,n=t.onUpdate,r=t.hideTracksWhenNotNeeded,i=this.getValues();if((0,w.default)()){var o=i.scrollLeft,a=i.clientWidth,s=i.scrollWidth,l=(0,x.default)(this.trackHorizontal),u=this.getThumbHorizontalWidth(),c=o/(s-a)*(l-u),d={width:u,transform:"translateX("+c+"px)"},f=i.scrollTop,p=i.clientHeight,m=i.scrollHeight,g=(0,S.default)(this.trackVertical),v=this.getThumbVerticalHeight(),y=f/(m-p)*(g-v),b={height:v,transform:"translateY("+y+"px)"};if(r){var E={visibility:s>a?"visible":"hidden"},T={visibility:m>p?"visible":"hidden"};(0,h.default)(this.trackHorizontal,E),(0,h.default)(this.trackVertical,T)}(0,h.default)(this.thumbHorizontal,d),(0,h.default)(this.thumbVertical,b)}n&&n(i),"function"===typeof e&&e(i)}},{key:"render",value:function(){var e=this,t=(0,w.default)(),n=this.props,r=(n.onScroll,n.onScrollFrame,n.onScrollStart,n.onScrollStop,n.onUpdate,n.renderView),o=n.renderTrackHorizontal,a=n.renderTrackVertical,s=n.renderThumbHorizontal,u=n.renderThumbVertical,c=n.tagName,d=(n.hideTracksWhenNotNeeded,n.autoHide),f=(n.autoHideTimeout,n.autoHideDuration),h=(n.thumbSize,n.thumbMinSize,n.universal),m=n.autoHeight,g=n.autoHeightMin,v=n.autoHeightMax,b=n.style,E=n.children,T=i(n,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),_=this.state.didMountUniversal,x=l({},C.containerStyleDefault,m&&l({},C.containerStyleAutoHeight,{minHeight:g,maxHeight:v}),b),k=l({},C.viewStyleDefault,{marginRight:t?-t:0,marginBottom:t?-t:0},m&&l({},C.viewStyleAutoHeight,{minHeight:(0,y.default)(g)?"calc("+g+" + "+t+"px)":g+t,maxHeight:(0,y.default)(v)?"calc("+v+" + "+t+"px)":v+t}),m&&h&&!_&&{minHeight:g,maxHeight:v},h&&!_&&C.viewStyleUniversalInitial),S={transition:"opacity "+f+"ms",opacity:0},O=l({},C.trackHorizontalStyleDefault,d&&S,(!t||h&&!_)&&{display:"none"}),A=l({},C.trackVerticalStyleDefault,d&&S,(!t||h&&!_)&&{display:"none"});return(0,p.createElement)(c,l({},T,{style:x,ref:function(t){e.container=t}}),[(0,p.cloneElement)(r({style:k}),{key:"view",ref:function(t){e.view=t}},E),(0,p.cloneElement)(o({style:O}),{key:"trackHorizontal",ref:function(t){e.trackHorizontal=t}},(0,p.cloneElement)(s({style:C.thumbHorizontalStyleDefault}),{ref:function(t){e.thumbHorizontal=t}})),(0,p.cloneElement)(a({style:A}),{key:"trackVertical",ref:function(t){e.trackVertical=t}},(0,p.cloneElement)(u({style:C.thumbVerticalStyleDefault}),{ref:function(t){e.thumbVertical=t}}))])}}]),t}(p.Component);t.default=A,A.propTypes={onScroll:g.default.func,onScrollFrame:g.default.func,onScrollStart:g.default.func,onScrollStop:g.default.func,onUpdate:g.default.func,renderView:g.default.func,renderTrackHorizontal:g.default.func,renderTrackVertical:g.default.func,renderThumbHorizontal:g.default.func,renderThumbVertical:g.default.func,tagName:g.default.string,thumbSize:g.default.number,thumbMinSize:g.default.number,hideTracksWhenNotNeeded:g.default.bool,autoHide:g.default.bool,autoHideTimeout:g.default.number,autoHideDuration:g.default.number,autoHeight:g.default.bool,autoHeightMin:g.default.oneOfType([g.default.number,g.default.string]),autoHeightMax:g.default.oneOfType([g.default.number,g.default.string]),universal:g.default.bool,style:g.default.object,children:g.default.node},A.defaultProps={renderView:O.renderViewDefault,renderTrackHorizontal:O.renderTrackHorizontalDefault,renderTrackVertical:O.renderTrackVerticalDefault,renderThumbHorizontal:O.renderThumbHorizontalDefault,renderThumbVertical:O.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},function(e,t,n){(function(t){for(var r=n(629),i="undefined"===typeof window?t:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],l=i["cancel"+a]||i["cancelRequest"+a],u=0;!s&&u<o.length;u++)s=i[o[u]+"Request"+a],l=i[o[u]+"Cancel"+a]||i[o[u]+"CancelRequest"+a];if(!s||!l){var c=0,d=0,f=[];s=function(e){if(0===f.length){var t=r(),n=Math.max(0,1e3/60-(t-c));c=n+t,setTimeout(function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout(function(){throw e},0)}},Math.round(n))}return f.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return s.call(i,e)},e.exports.cancel=function(){l.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=s,e.cancelAnimationFrame=l}}).call(t,n(18))},function(e,t,n){(function(t){(function(){var n,r,i,o,a,s;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,n=function(){var e;return e=r(),1e9*e[0]+e[1]},o=n(),s=1e9*t.uptime(),a=o-s):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(t,n(43))},function(e,t){var n=null,r=["Webkit","Moz","O","ms"];e.exports=function(e){n||(n=document.createElement("div"));var t=n.style;if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),o=r.length;o>=0;o--){var a=r[o]+i;if(a in t)return a}return!1}},function(e,t,n){function r(e){return i(e).replace(/\s(\w)/g,function(e,t){return t.toUpperCase()})}var i=n(632);e.exports=r},function(e,t,n){function r(e){return i(e).replace(/[\W_]+(.|$)/g,function(e,t){return t?" "+t:""}).trim()}var i=n(633);e.exports=r},function(e,t){function n(e){return o.test(e)?e.toLowerCase():a.test(e)?(r(e)||e).toLowerCase():s.test(e)?i(e).toLowerCase():e.toLowerCase()}function r(e){return e.replace(l,function(e,t){return t?" "+t:""})}function i(e){return e.replace(u,function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")})}e.exports=n;var o=/\s/,a=/(_|-|\.|:)/,s=/([a-z][A-Z]|[A-Z][a-z])/,l=/[\W_]+(.|$)/g,u=/(.)([A-Z]+)/g},function(e,t){var n={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};e.exports=function(e,t){return"number"!==typeof t||n[e]?t:t+"px"}},function(e,t,n){"use strict";function r(e){return"string"===typeof e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(){if(!1!==a)return a;if("undefined"!==typeof document){var e=document.createElement("div");(0,o.default)(e,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(e),a=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}else a=0;return a||0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(228),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=!1},function(e,t,n){"use strict";function r(){return!1}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){var t=e.clientWidth,n=getComputedStyle(e),r=n.paddingLeft,i=n.paddingRight;return t-parseFloat(r)-parseFloat(i)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){var t=e.clientHeight,n=getComputedStyle(e),r=n.paddingTop,i=n.paddingBottom;return t-parseFloat(r)-parseFloat(i)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},t.containerStyleAutoHeight={height:"auto"},t.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},t.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},t.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},t.trackHorizontalStyleDefault={position:"absolute",height:6},t.trackVerticalStyleDefault={position:"absolute",width:6},t.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},t.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},t.disableSelectStyle={userSelect:"none"},t.disableSelectStyleReset={userSelect:""}},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return d.default.createElement("div",e)}function o(e){var t=e.style,n=r(e,["style"]),i=u({},t,{right:2,bottom:2,left:2,borderRadius:3});return d.default.createElement("div",u({style:i},n))}function a(e){var t=e.style,n=r(e,["style"]),i=u({},t,{right:2,bottom:2,top:2,borderRadius:3});return d.default.createElement("div",u({style:i},n))}function s(e){var t=e.style,n=r(e,["style"]),i=u({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return d.default.createElement("div",u({style:i},n))}function l(e){var t=e.style,n=r(e,["style"]),i=u({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return d.default.createElement("div",u({style:i},n))}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.renderViewDefault=i,t.renderTrackHorizontalDefault=o,t.renderTrackVerticalDefault=a,t.renderThumbHorizontalDefault=s,t.renderThumbVerticalDefault=l;var c=n(1),d=function(e){return e&&e.__esModule?e:{default:e}}(c)},function(e,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 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 o(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)}n.d(t,"a",function(){return d});var a=n(1),s=n.n(a),l=n(40),u=n.n(l),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.updateDim=function(){n.mounted&&(window.innerWidth<=n.minWidth&&!n.state.minimized?n.setState({minimized:!0}):window.innerWidth>n.minWidth&&n.state.minimized&&n.setState({minimized:!1,drawerOpen:!1}),n.setState({innerHeight:window.innerHeight}))},n.imageLoaded=function(){n.setState({imageLoaded:!0})},n.componentWillMount=function(){window.innerWidth<=n.minWidth&&n.setState({minimized:!0}),n.mounted=!0},n.moveBackground=function(){},n.moveBackgroundEvent=function(e){},n.state={imageLoaded:!1,translate:"scale(1.1)",translateText:"scale(1.0)",minimized:!1,innerHeight:window.innerHeight},n.defaultImage="https://static.igem.org/mediawiki/2018/5/58/T--Washington--MB.jpg";var o=new Image;return o.src=n.props.params.BACKGROUND?n.props.params.BACKGROUND:n.defaultImage,o.onload=n.imageLoaded,n.x=0,n.y=0,n.tX=0,n.tY=0,n.lFollowX=0,n.lFollowY=0,n.friction=1/30,n.minWidth=850,n.headerBarPercentage=.3,window.addEventListener("resize",n.updateDim),n}return o(t,e),c(t,[{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"render",value:function(){var e=this.props.params,t=e.BACKGROUNDLIGHTNESS?e.BACKGROUNDLIGHTNESS:0,n=e.BACKGROUND?e.BACKGROUND:this.defaultImage,r=e.BACKGROUNDOPACITY?e.BACKGROUNDOPACITY:.6,i=e.TEXTHEIGHT?e.TEXTHEIGHT:12,o=e.TEXT?e.TEXT:"",a=e.BLUR?e.BLUR:5,l=e.MINTITLEHEIGHT?e.MINTITLEHEIGHT:8,c=e.MINPADDINGTOP?e.MINPADDINGTOP:80,d=e.PADDINGTOP?e.PADDINGTOP:120,f=e.XPOS?e.XPOS:50,h=e.YPOS?e.YPOS:50;return s.a.createElement("div",null,s.a.createElement(u.a,{when:this.state.imageLoaded},s.a.createElement("div",{style:{width:"100%",height:this.headerBarPercentage*window.innerHeight+18,textAlign:"center",margin:"auto",overflow:"hidden",position:"relative"}},s.a.createElement("div",{style:{width:"100%",height:"100%",backgroundAttachment:"fixed",background:"url("+n+") "+f+"% "+h+"%",backgroundColor:"hsla(0,0%,"+t+"%,"+r+")",backgroundBlendMode:"overlay",backgroundSize:"cover",position:"absolute",filter:"blur("+a+"px)",top:18,left:0,WebkitTransform:this.state.translate,transform:this.state.translate,msTransform:this.state.translate,OTransform:this.state.translate,MozTransform:this.state.translate}}),s.a.createElement("div",{style:{paddingTop:this.state.minimized?c+"px":d+"px",WebkitTransform:this.state.translateText,transform:this.state.translateText,msTransform:this.state.translateText,OTransform:this.state.translateText,MozTransform:this.state.translateText}},s.a.createElement("div",{style:{color:"white",fontSize:(this.state.minimized?l:i)+"vh",textAlign:"center",fontFamily:"Leixo"}},s.a.createElement(u.a,{clear:!0,duration:500,when:this.state.imageLoaded},o))))))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return m});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(40)),c=n.n(u),d=n(645),f=(n.n(d),n(67)),h=n(86),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setLoaded=function(e){if(!n.state.loaded[e]){var t=n.state.loaded;t[e]=!0,n.setState({loaded:t})}},n.state={loaded:[],data:[],hover:[]},n.cardBody=71,n}return o(t,e),p(t,[{key:"componentWillMount",value:function(){var e=this;this.setState({data:this.props.data,maxImagesPerRow:this.props.maxImagesPerRow}),this.props.data.forEach(function(t,n){var r=new Image;r.src=t.PICTURE,r.onload=function(){return e.setLoaded(n)}})}},{key:"componentWillReceiveProps",value:function(e){var t=e.data,n=e.maxImagesPerRow;this.setState({data:t,maxImagesPerRow:n})}},{key:"render",value:function(){var e=this,t=this.state.data;return s.a.createElement("div",{style:{margin:30,textAlign:"center"}},s.a.createElement(l.Grid,{fluid:!0,style:{padding:0,margin:0}},s.a.createElement(c.a,{clear:!0,cascade:!0},s.a.createElement(l.Row,{style:{padding:0,margin:0},center:"xs"},t&&t.map(function(t,n){var r=t.XPOS?t.XPOS:50,i=t.YPOS?t.YPOS:50;return s.a.createElement(l.Col,{md:Math.round(12/e.state.maxImagesPerRow),key:"img"+n,style:{marginTop:10}},s.a.createElement(c.a,{when:e.state.loaded[n]},s.a.createElement("div",null,t.LINK&&s.a.createElement("a",{href:t.LINK,target:"_blank",style:{textDecoration:"none"},className:"linkSubImageTotal"},s.a.createElement("div",{style:{width:"100%",maxWidth:402,minWidth:180,height:"auto",minHeight:280,margin:"auto",backgroundColor:"white",background:"url("+t.PICTURE+") no-repeat "+r+"% "+i+"%",backgroundSize:"cover",cursor:"pointer",boxShadow:"5px 5px 10px gray",marginBottom:10},className:"linkSubImage"}),t.TITLE&&s.a.createElement("div",{style:{padding:5,fontSize:"16pt"}},t.TITLE," ",s.a.createElement(f.a,{icon:h.a})),s.a.createElement("div",{style:{padding:5,fontSize:"11pt"}},t.DESCRIPTION)),!t.LINK&&s.a.createElement("div",null,s.a.createElement("div",{style:{width:"100%",maxWidth:402,minWidth:180,height:"auto",minHeight:280,margin:"auto",backgroundColor:"white",background:"url("+t.PICTURE+") no-repeat "+r+"% "+i+"%",backgroundSize:"cover",boxShadow:"5px 5px 10px gray",marginBottom:10}}),t.TITLE&&s.a.createElement("div",{style:{padding:5,fontSize:"16pt"}},t.TITLE),s.a.createElement("div",{style:{padding:5,fontSize:"11pt"}},t.DESCRIPTION)))))})))))}}]),t}(a.Component)},function(e,t){},function(e,t,n){"use strict";function r(e,t){t.tree=e.parse(t.file)}function i(e,t,n){function r(e,r,i){e?n(e):(t.tree=r,t.file=i,n())}e.run(t.tree,t.file,r)}function o(e,t){t.file.contents=e.stringify(t.tree,t.file)}function a(){function e(){for(var e=a(),t=C.length,n=-1;++n<t;)e.use.apply(null,C[n]);return e.data(p(!0,{},A)),e}function t(){var t,n,r,i;if(P)return e;for(;++I<C.length;)t=C[I],n=t[0],r=t[1],i=null,!1!==r&&(!0===r&&(t[1]=void 0),"function"===typeof(i=n.apply(e,t.slice(1)))&&O.use(i));return P=!0,I=1/0,e}function n(t,n){return y(t)?2===arguments.length?(d("data",P),A[t]=n,e):E.call(A,t)&&A[t]||null:t?(d("data",P),A=t,e):A}function r(t){function n(e){o(e.plugins),e.settings&&(s=p(s||{},e.settings))}function r(e){if("function"===typeof e)a(e);else{if("object"!==typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?a.apply(null,e):n(e)}}function o(e){var t,n;if(null===e||void 0===e);else{if(!("object"===typeof e&&"length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(t=e.length,n=-1;++n<t;)r(e[n])}}function a(e,t){var n=i(e);n?(b(n[1])&&b(t)&&(t=p(n[1],t)),n[1]=t):C.push(w.call(arguments))}var s;if(d("use",P),null===t||void 0===t);else if("function"===typeof t)a.apply(null,arguments);else{if("object"!==typeof t)throw new Error("Expected usable value, not `"+t+"`");"length"in t?o(t):n(t)}return s&&(A.settings=p(A.settings||{},s)),e}function i(e){for(var t,n=C.length,r=-1;++r<n;)if(t=C[r],t[0]===e)return t}function o(n){var r,i=g(n);return t(),r=e.Parser,u("parse",r),s(r)?new r(String(i),i).parse():r(String(i),i)}function l(e,n,r){function i(t,i){function o(n,o,a){o=o||e,n?i(n):t?t(o):r(null,o,a)}O.run(e,g(n),o)}if(f(e),t(),r||"function"!==typeof n||(r=n,n=null),!r)return new Promise(i);i(null,r)}function _(e,t){function n(e,t){i=!0,m(e),r=t}var r,i=!1;return l(e,t,n),h("runSync","run",i),r}function x(n,r){var i,o=g(r);return t(),i=e.Compiler,c("stringify",i),f(n),s(i)?new i(n,o).compile():i(n,o)}function k(n,r){function i(t,i){function o(e){e?i(e):t?t(a):r(null,a)}var a=g(n);T.run(e,{file:a},o)}if(t(),u("process",e.Parser),c("process",e.Compiler),!r)return new Promise(i);i(null,r)}function S(n){function r(e){o=!0,m(e)}var i,o=!1;return t(),u("processSync",e.Parser),c("processSync",e.Compiler),i=g(n),k(i,r),h("processSync","process",o),i}var C=[],O=v(),A={},P=!1,I=-1;return e.data=n,e.freeze=t,e.attachers=C,e.use=r,e.parse=o,e.stringify=x,e.run=l,e.runSync=_,e.process=k,e.processSync=S,e}function s(e){return"function"===typeof e&&l(e.prototype)}function l(e){var t;for(t in e)return!0;return!1}function u(e,t){if("function"!==typeof t)throw new Error("Cannot `"+e+"` without `Parser`")}function c(e,t){if("function"!==typeof t)throw new Error("Cannot `"+e+"` without `Compiler`")}function d(e,t){if(t)throw new Error(["Cannot invoke `"+e+"` on a frozen processor.\nCreate a new ","processor first, by invoking it: use `processor()` instead of ","`processor`."].join(""))}function f(e){if(!e||!y(e.type))throw new Error("Expected node, got `"+e+"`")}function h(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}var p=n(647),m=n(648),g=n(649),v=n(655),y=n(656),b=n(657);e.exports=a().freeze();var w=[].slice,E={}.hasOwnProperty,T=v().use(r).use(i).use(o)},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},a=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t=r.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!t&&!n)return!1;var o;for(o in e);return"undefined"===typeof o||r.call(e,o)};e.exports=function e(){var t,n,r,i,s,l,u=arguments[0],c=1,d=arguments.length,f=!1;for("boolean"===typeof u&&(f=u,u=arguments[1]||{},c=2),(null==u||"object"!==typeof u&&"function"!==typeof u)&&(u={});c<d;++c)if(null!=(t=arguments[c]))for(n in t)r=u[n],i=t[n],u!==i&&(f&&i&&(a(i)||(s=o(i)))?(s?(s=!1,l=r&&o(r)?r:[]):l=r&&a(r)?r:{},u[n]=e(f,l,i)):"undefined"!==typeof i&&(u[n]=i));return u}},function(e,t,n){"use strict";function r(e){if(e)throw e}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=this.path,i=new a(e,t,n);return r&&(i.name=r+":"+i.name,i.file=r),i.fatal=!1,this.messages.push(i),i}function i(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}function o(){var e=this.message.apply(this,arguments);return e.fatal=null,e}var a=n(650),s=n(652);e.exports=s;var l=s.prototype;l.message=r,l.info=o,l.fail=i,l.warn=r},function(e,t,n){"use strict";function r(){}function i(e,t,n){var r,i,s;"string"===typeof t&&(n=t,t=null),r=o(n),i=a(t)||"1:1",s={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(s=t,t=t.start):s.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=i,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=s,this.source=r[0],this.ruleId=r[1]}function o(e){var t,n=[null,null];return"string"===typeof e&&(t=e.indexOf(":"),-1===t?n[1]=e:(n[0]=e.slice(0,t),n[1]=e.slice(t+1))),n}var a=n(651);e.exports=i,r.prototype=Error.prototype,i.prototype=new r;var s=i.prototype;s.file="",s.name="",s.reason="",s.message="",s.stack="",s.fatal=null,s.column=null,s.line=null},function(e,t,n){"use strict";function r(e){return e&&"object"===typeof e?s.call(e,"position")||s.call(e,"type")?o(e.position):s.call(e,"start")||s.call(e,"end")?o(e):s.call(e,"line")||s.call(e,"column")?i(e):null:null}function i(e){return e&&"object"===typeof e||(e={}),a(e.line)+":"+a(e.column)}function o(e){return e&&"object"===typeof e||(e={}),i(e.start)+"-"+i(e.end)}function a(e){return e&&"number"===typeof e?e:1}var s={}.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";(function(t){function r(e){var n,i,o;if(e){if("string"===typeof e||c(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof r))return new r(e);for(this.data={},this.messages=[],this.history=[],this.cwd=t.cwd(),i=-1,o=h.length;++i<o;)n=h[i],d.call(e,n)&&(this[n]=e[n]);for(n in e)-1===h.indexOf(n)&&(this[n]=e[n])}function i(e){var t=this.contents||"";return c(t)?t.toString(e):String(t)}function o(e,t){if(-1!==e.indexOf(l.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+l.sep+"`")}function a(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function s(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}var l=n(229),u=n(653),c=n(654);e.exports=r;var d={}.hasOwnProperty,f=r.prototype;f.toString=i;var h=["history","path","basename","stem","extname","dirname"];Object.defineProperty(f,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){a(e,"path"),e!==this.path&&this.history.push(e)}}),Object.defineProperty(f,"dirname",{get:function(){return"string"===typeof this.path?l.dirname(this.path):void 0},set:function(e){s(this.path,"dirname"),this.path=l.join(e||"",this.basename)}}),Object.defineProperty(f,"basename",{get:function(){return"string"===typeof this.path?l.basename(this.path):void 0},set:function(e){a(e,"basename"),o(e,"basename"),this.path=l.join(this.dirname||"",e)}}),Object.defineProperty(f,"extname",{get:function(){return"string"===typeof this.path?l.extname(this.path):void 0},set:function(e){var t=e||"";if(o(t,"extname"),s(this.path,"extname"),t){if("."!==t.charAt(0))throw new Error("`extname` must start with `.`");if(-1!==t.indexOf(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=u(this.path,t)}}),Object.defineProperty(f,"stem",{get:function(){return"string"===typeof this.path?l.basename(this.path,this.extname):void 0},set:function(e){a(e,"stem"),o(e,"stem"),this.path=l.join(this.dirname||"",e+(this.extname||""))}})}).call(t,n(43))},function(e,t,n){"use strict";function r(e,t){if("string"!==typeof e)return e;if(0===e.length)return e;var n=i.basename(e,i.extname(e))+t;return i.join(i.dirname(e),n)}var i=n(229);e.exports=r},function(e,t){function n(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&n(e.slice(0,0))}e.exports=function(e){return null!=e&&(n(e)||r(e)||!!e._isBuffer)}},function(e,t,n){"use strict";function r(){function e(){function e(s){var l=n[++t],u=o.call(arguments,0),c=u.slice(1),d=r.length,f=-1;if(s)return void a(s);for(;++f<d;)null!==c[f]&&void 0!==c[f]||(c[f]=r[f]);r=c,l?i(l,e).apply(null,r):a.apply(null,[null].concat(r))}var t=-1,r=o.call(arguments,0,-1),a=arguments[arguments.length-1];if("function"!==typeof a)throw new Error("Expected function as last argument, not "+a);e.apply(null,[null].concat(r))}function t(e){if("function"!==typeof e)throw new Error("Expected `fn` to be a function, not "+e);return n.push(e),r}var n=[],r={};return r.run=e,r.use=t,r}function i(e,t){function n(){var t,n=o.call(arguments,0),s=e.length>n.length;s&&n.push(r);try{t=e.apply(null,n)}catch(e){if(s&&a)throw e;return r(e)}s||(t&&"function"===typeof t.then?t.then(i,r):t instanceof Error?r(t):i(t))}function r(){a||(a=!0,t.apply(null,arguments))}function i(e){r(null,e)}var a;return n}e.exports=r;var o=[].slice},function(e,t){function n(e){return"[object String]"===r.call(e)}var r=Object.prototype.toString;e.exports=n},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t;return"[object Object]"===r.call(e)&&(null===(t=Object.getPrototypeOf(e))||t===Object.getPrototypeOf({}))}},function(e,t,n){"use strict";function r(e){var t=i(a);t.prototype.options=o(t.prototype.options,this.data("settings"),e),this.Parser=t}var i=n(230),o=n(24),a=n(660);e.exports=r,r.Parser=a},function(e,t){"function"===typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){"use strict";function r(e,t){this.file=t,this.offset={},this.options=o(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=s(t).toOffset,this.unescape=l(this,"escape"),this.decode=u(this)}function i(e){var t,n=[];for(t in e)n.push(t);return n}var o=n(24),a=n(231),s=n(661),l=n(662),u=n(663),c=n(666);e.exports=r;var d=r.prototype;d.setOptions=n(667),d.parse=n(669),d.options=n(237),d.exitStart=a("atStart",!0),d.enterList=a("inList",!1),d.enterLink=a("inLink",!1),d.enterBlock=a("inBlock",!1),d.interruptParagraph=[["thematicBreak"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],d.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],d.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],d.blockTokenizers={newline:n(671),indentedCode:n(672),fencedCode:n(673),blockquote:n(674),atxHeading:n(675),thematicBreak:n(676),list:n(677),setextHeading:n(679),html:n(680),footnote:n(681),definition:n(682),table:n(683),paragraph:n(684)},d.inlineTokenizers={escape:n(685),autoLink:n(687),url:n(688),html:n(690),link:n(691),reference:n(692),strong:n(693),emphasis:n(695),deletion:n(698),code:n(700),break:n(702),text:n(704)},d.blockMethods=i(d.blockTokenizers),d.inlineMethods=i(d.inlineTokenizers),d.tokenizeBlock=c("block"),d.tokenizeInline=c("inline"),d.tokenizeFactory=c},function(e,t,n){"use strict";function r(e){var t=a(String(e));return{toPosition:i(t),toOffset:o(t)}}function i(e){function t(t){var n=-1,r=e.length;if(t<0)return{};for(;++n<r;)if(e[n]>t)return{line:n+1,column:t-(e[n-1]||0)+1,offset:t};return{}}return t}function o(e){function t(t){var n=t&&t.line,r=t&&t.column;return!isNaN(n)&&!isNaN(r)&&n-1 in e?(e[n-2]||0)+r-1||0:-1}return t}function a(e){for(var t=[],n=e.indexOf("\n");-1!==n;)t.push(n+1),n=e.indexOf("\n",n+1);return t.push(e.length+1),t}e.exports=r},function(e,t,n){"use strict";function r(e,t){function n(n){for(var r,i=0,o=n.indexOf("\\"),a=e[t],s=[];-1!==o;)s.push(n.slice(i,o)),i=o+1,r=n.charAt(i),r&&-1!==a.indexOf(r)||s.push("\\"),o=n.indexOf("\\",i);return s.push(n.slice(i)),s.join("")}return n}e.exports=r},function(e,t,n){"use strict";function r(e){function t(t){for(var n=e.offset,r=t.line,i=[];++r&&r in n;)i.push((n[r]||0)+1);return{start:t,indent:i}}function n(t,n,r){3!==r&&e.file.message(t,n)}function r(r,i,a){o(r,{position:t(i),warning:n,text:a,reference:a,textContext:e,referenceContext:e})}function a(e,r,a){return o(e,i(a,{position:t(r),warning:n}))}return r.raw=a,r}var i=n(24),o=n(88);e.exports=r},function(e,t){e.exports={AEli:"\xc6",AElig:"\xc6",AM:"&",AMP:"&",Aacut:"\xc1",Aacute:"\xc1",Abreve:"\u0102",Acir:"\xc2",Acirc:"\xc2",Acy:"\u0410",Afr:"\ud835\udd04",Agrav:"\xc0",Agrave:"\xc0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2a53",Aogon:"\u0104",Aopf:"\ud835\udd38",ApplyFunction:"\u2061",Arin:"\xc5",Aring:"\xc5",Ascr:"\ud835\udc9c",Assign:"\u2254",Atild:"\xc3",Atilde:"\xc3",Aum:"\xc4",Auml:"\xc4",Backslash:"\u2216",Barv:"\u2ae7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212c",Beta:"\u0392",Bfr:"\ud835\udd05",Bopf:"\ud835\udd39",Breve:"\u02d8",Bscr:"\u212c",Bumpeq:"\u224e",CHcy:"\u0427",COP:"\xa9",COPY:"\xa9",Cacute:"\u0106",Cap:"\u22d2",CapitalDifferentialD:"\u2145",Cayleys:"\u212d",Ccaron:"\u010c",Ccedi:"\xc7",Ccedil:"\xc7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010a",Cedilla:"\xb8",CenterDot:"\xb7",Cfr:"\u212d",Chi:"\u03a7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2a74",Congruent:"\u2261",Conint:"\u222f",ContourIntegral:"\u222e",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2a2f",Cscr:"\ud835\udc9e",Cup:"\u22d3",CupCap:"\u224d",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040f",Dagger:"\u2021",Darr:"\u21a1",Dashv:"\u2ae4",Dcaron:"\u010e",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\ud835\udd07",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",Diamond:"\u22c4",DifferentialD:"\u2146",Dopf:"\ud835\udd3b",Dot:"\xa8",DotDot:"\u20dc",DotEqual:"\u2250",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",Downarrow:"\u21d3",Dscr:"\ud835\udc9f",Dstrok:"\u0110",ENG:"\u014a",ET:"\xd0",ETH:"\xd0",Eacut:"\xc9",Eacute:"\xc9",Ecaron:"\u011a",Ecir:"\xca",Ecirc:"\xca",Ecy:"\u042d",Edot:"\u0116",Efr:"\ud835\udd08",Egrav:"\xc8",Egrave:"\xc8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25fb",EmptyVerySmallSquare:"\u25ab",Eogon:"\u0118",Eopf:"\ud835\udd3c",Epsilon:"\u0395",Equal:"\u2a75",EqualTilde:"\u2242",Equilibrium:"\u21cc",Escr:"\u2130",Esim:"\u2a73",Eta:"\u0397",Eum:"\xcb",Euml:"\xcb",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\ud835\udd09",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",Fopf:"\ud835\udd3d",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",G:">",GT:">",Gamma:"\u0393",Gammad:"\u03dc",Gbreve:"\u011e",Gcedil:"\u0122",Gcirc:"\u011c",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\ud835\udd0a",Gg:"\u22d9",Gopf:"\ud835\udd3e",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",Gt:"\u226b",HARDcy:"\u042a",Hacek:"\u02c7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210c",HilbertSpace:"\u210b",Hopf:"\u210d",HorizontalLine:"\u2500",Hscr:"\u210b",Hstrok:"\u0126",HumpDownHump:"\u224e",HumpEqual:"\u224f",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacut:"\xcd",Iacute:"\xcd",Icir:"\xce",Icirc:"\xce",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrav:"\xcc",Igrave:"\xcc",Im:"\u2111",Imacr:"\u012a",ImaginaryI:"\u2148",Implies:"\u21d2",Int:"\u222c",Integral:"\u222b",Intersection:"\u22c2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012e",Iopf:"\ud835\udd40",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Ium:"\xcf",Iuml:"\xcf",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\ud835\udd0d",Jopf:"\ud835\udd41",Jscr:"\ud835\udca5",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040c",Kappa:"\u039a",Kcedil:"\u0136",Kcy:"\u041a",Kfr:"\ud835\udd0e",Kopf:"\ud835\udd42",Kscr:"\ud835\udca6",LJcy:"\u0409",L:"<",LT:"<",Lacute:"\u0139",Lambda:"\u039b",Lang:"\u27ea",Laplacetrf:"\u2112",Larr:"\u219e",Lcaron:"\u013d",Lcedil:"\u013b",Lcy:"\u041b",LeftAngleBracket:"\u27e8",LeftArrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",LeftRightArrow:"\u2194",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",Leftarrow:"\u21d0",Leftrightarrow:"\u21d4",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2aa1",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",Lfr:"\ud835\udd0f",Ll:"\u22d8",Lleftarrow:"\u21da",Lmidot:"\u013f",LongLeftArrow:"\u27f5",LongLeftRightArrow:"\u27f7",LongRightArrow:"\u27f6",Longleftarrow:"\u27f8",Longleftrightarrow:"\u27fa",Longrightarrow:"\u27f9",Lopf:"\ud835\udd43",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21b0",Lstrok:"\u0141",Lt:"\u226a",Map:"\u2905",Mcy:"\u041c",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",MinusPlus:"\u2213",Mopf:"\ud835\udd44",Mscr:"\u2133",Mu:"\u039c",NJcy:"\u040a",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041d",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",Nfr:"\ud835\udd11",NoBreak:"\u2060",NonBreakingSpace:"\xa0",Nopf:"\u2115",Not:"\u2aec",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\ud835\udca9",Ntild:"\xd1",Ntilde:"\xd1",Nu:"\u039d",OElig:"\u0152",Oacut:"\xd3",Oacute:"\xd3",Ocir:"\xd4",Ocirc:"\xd4",Ocy:"\u041e",Odblac:"\u0150",Ofr:"\ud835\udd12",Ograv:"\xd2",Ograve:"\xd2",Omacr:"\u014c",Omega:"\u03a9",Omicron:"\u039f",Oopf:"\ud835\udd46",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",Or:"\u2a54",Oscr:"\ud835\udcaa",Oslas:"\xd8",Oslash:"\xd8",Otild:"\xd5",Otilde:"\xd5",Otimes:"\u2a37",Oum:"\xd6",Ouml:"\xd6",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",PartialD:"\u2202",Pcy:"\u041f",Pfr:"\ud835\udd13",Phi:"\u03a6",Pi:"\u03a0",PlusMinus:"\xb1",Poincareplane:"\u210c",Popf:"\u2119",Pr:"\u2abb",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",Prime:"\u2033",Product:"\u220f",Proportion:"\u2237",Proportional:"\u221d",Pscr:"\ud835\udcab",Psi:"\u03a8",QUO:'"',QUOT:'"',Qfr:"\ud835\udd14",Qopf:"\u211a",Qscr:"\ud835\udcac",RBarr:"\u2910",RE:"\xae",REG:"\xae",Racute:"\u0154",Rang:"\u27eb",Rarr:"\u21a0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211c",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",Rfr:"\u211c",Rho:"\u03a1",RightAngleBracket:"\u27e9",RightArrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",Rightarrow:"\u21d2",Ropf:"\u211d",RoundImplies:"\u2970",Rrightarrow:"\u21db",Rscr:"\u211b",Rsh:"\u21b1",RuleDelayed:"\u29f4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042c",Sacute:"\u015a",Sc:"\u2abc",Scaron:"\u0160",Scedil:"\u015e",Scirc:"\u015c",Scy:"\u0421",Sfr:"\ud835\udd16",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03a3",SmallCircle:"\u2218",Sopf:"\ud835\udd4a",Sqrt:"\u221a",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\ud835\udcae",Star:"\u22c6",Sub:"\u22d0",Subset:"\u22d0",SubsetEqual:"\u2286",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",SuchThat:"\u220b",Sum:"\u2211",Sup:"\u22d1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22d1",THOR:"\xde",THORN:"\xde",TRADE:"\u2122",TSHcy:"\u040b",TScy:"\u0426",Tab:"\t",Tau:"\u03a4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\ud835\udd17",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\ud835\udd4b",TripleDot:"\u20db",Tscr:"\ud835\udcaf",Tstrok:"\u0166",Uacut:"\xda",Uacute:"\xda",Uarr:"\u219f",Uarrocir:"\u2949",Ubrcy:"\u040e",Ubreve:"\u016c",Ucir:"\xdb",Ucirc:"\xdb",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\ud835\udd18",Ugrav:"\xd9",Ugrave:"\xd9",Umacr:"\u016a",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",Uopf:"\ud835\udd4c",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",UpDownArrow:"\u2195",UpEquilibrium:"\u296e",UpTee:"\u22a5",UpTeeArrow:"\u21a5",Uparrow:"\u21d1",Updownarrow:"\u21d5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03d2",Upsilon:"\u03a5",Uring:"\u016e",Uscr:"\ud835\udcb0",Utilde:"\u0168",Uum:"\xdc",Uuml:"\xdc",VDash:"\u22ab",Vbar:"\u2aeb",Vcy:"\u0412",Vdash:"\u22a9",Vdashl:"\u2ae6",Vee:"\u22c1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",Vopf:"\ud835\udd4d",Vscr:"\ud835\udcb1",Vvdash:"\u22aa",Wcirc:"\u0174",Wedge:"\u22c0",Wfr:"\ud835\udd1a",Wopf:"\ud835\udd4e",Wscr:"\ud835\udcb2",Xfr:"\ud835\udd1b",Xi:"\u039e",Xopf:"\ud835\udd4f",Xscr:"\ud835\udcb3",YAcy:"\u042f",YIcy:"\u0407",YUcy:"\u042e",Yacut:"\xdd",Yacute:"\xdd",Ycirc:"\u0176",Ycy:"\u042b",Yfr:"\ud835\udd1c",Yopf:"\ud835\udd50",Yscr:"\ud835\udcb4",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017d",Zcy:"\u0417",Zdot:"\u017b",ZeroWidthSpace:"\u200b",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\ud835\udcb5",aacut:"\xe1",aacute:"\xe1",abreve:"\u0103",ac:"\u223e",acE:"\u223e\u0333",acd:"\u223f",acir:"\xe2",acirc:"\xe2",acut:"\xb4",acute:"\xb4",acy:"\u0430",aeli:"\xe6",aelig:"\xe6",af:"\u2061",afr:"\ud835\udd1e",agrav:"\xe0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",amacr:"\u0101",amalg:"\u2a3f",am:"&",amp:"&",and:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",aopf:"\ud835\udd52",ap:"\u2248",apE:"\u2a70",apacir:"\u2a6f",ape:"\u224a",apid:"\u224b",apos:"'",approx:"\u2248",approxeq:"\u224a",arin:"\xe5",aring:"\xe5",ascr:"\ud835\udcb6",ast:"*",asymp:"\u2248",asympeq:"\u224d",atild:"\xe3",atilde:"\xe3",aum:"\xe4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",bNot:"\u2aed",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",barvee:"\u22bd",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",beta:"\u03b2",beth:"\u2136",between:"\u226c",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255d",boxUR:"\u255a",boxUl:"\u255c",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256c",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256b",boxVl:"\u2562",boxVr:"\u255f",boxbox:"\u29c9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250c",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252c",boxhu:"\u2534",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxuL:"\u255b",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256a",boxvL:"\u2561",boxvR:"\u255e",boxvh:"\u253c",boxvl:"\u2524",boxvr:"\u251c",bprime:"\u2035",breve:"\u02d8",brvba:"\xa6",brvbar:"\xa6",bscr:"\ud835\udcb7",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",bumpeq:"\u224f",cacute:"\u0107",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",ccaps:"\u2a4d",ccaron:"\u010d",ccedi:"\xe7",ccedil:"\xe7",ccirc:"\u0109",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",cedi:"\xb8",cedil:"\xb8",cemptyv:"\u29b2",cen:"\xa2",cent:"\xa2",centerdot:"\xb7",cfr:"\ud835\udd20",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",cir:"\u25cb",cirE:"\u29c3",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledR:"\xae",circledS:"\u24c8",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",conint:"\u222e",copf:"\ud835\udd54",coprod:"\u2210",cop:"\xa9",copy:"\xa9",copysr:"\u2117",crarr:"\u21b5",cross:"\u2717",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cup:"\u222a",cupbrcap:"\u2a48",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curre:"\xa4",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dArr:"\u21d3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21ca",ddotseq:"\u2a77",de:"\xb0",deg:"\xb0",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\ud835\udd21",dharl:"\u21c3",dharr:"\u21c2",diam:"\u22c4",diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divid:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\ud835\udd55",dot:"\u02d9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscr:"\ud835\udcb9",dscy:"\u0455",dsol:"\u29f6",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",dzigrarr:"\u27ff",eDDot:"\u2a77",eDot:"\u2251",eacut:"\xe9",eacute:"\xe9",easter:"\u2a6e",ecaron:"\u011b",ecir:"\xea",ecirc:"\xea",ecolon:"\u2255",ecy:"\u044d",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\ud835\udd22",eg:"\u2a9a",egrav:"\xe8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014b",ensp:"\u2002",eogon:"\u0119",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",equals:"=",equest:"\u225f",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erDot:"\u2253",erarr:"\u2971",escr:"\u212f",esdot:"\u2250",esim:"\u2242",eta:"\u03b7",et:"\xf0",eth:"\xf0",eum:"\xeb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\ud835\udd23",filig:"\ufb01",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\ud835\udd57",forall:"\u2200",fork:"\u22d4",forkv:"\u2ad9",fpartint:"\u2a0d",frac1:"\xbc",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac3:"\xbe",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",gE:"\u2267",gEl:"\u2a8c",gacute:"\u01f5",gamma:"\u03b3",gammad:"\u03dd",gap:"\u2a86",gbreve:"\u011f",gcirc:"\u011d",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\ud835\udd24",gg:"\u226b",ggg:"\u22d9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2a92",gla:"\u2aa5",glj:"\u2aa4",gnE:"\u2269",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",gopf:"\ud835\udd58",grave:"`",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",g:">",gt:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",hArr:"\u21d4",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",hardcy:"\u044a",harr:"\u2194",harrcir:"\u2948",harrw:"\u21ad",hbar:"\u210f",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",horbar:"\u2015",hscr:"\ud835\udcbd",hslash:"\u210f",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacut:"\xed",iacute:"\xed",ic:"\u2063",icir:"\xee",icirc:"\xee",icy:"\u0438",iecy:"\u0435",iexc:"\xa1",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",igrav:"\xec",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012b",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",intcal:"\u22ba",integers:"\u2124",intercal:"\u22ba",intlarhk:"\u2a17",intprod:"\u2a3c",iocy:"\u0451",iogon:"\u012f",iopf:"\ud835\udd5a",iota:"\u03b9",iprod:"\u2a3c",iques:"\xbf",iquest:"\xbf",iscr:"\ud835\udcbe",isin:"\u2208",isinE:"\u22f9",isindot:"\u22f5",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",ium:"\xef",iuml:"\xef",jcirc:"\u0135",jcy:"\u0439",jfr:"\ud835\udd27",jmath:"\u0237",jopf:"\ud835\udd5b",jscr:"\ud835\udcbf",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03ba",kappav:"\u03f0",kcedil:"\u0137",kcy:"\u043a",kfr:"\ud835\udd28",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045c",kopf:"\ud835\udd5c",kscr:"\ud835\udcc0",lAarr:"\u21da",lArr:"\u21d0",lAtail:"\u291b",lBarr:"\u290e",lE:"\u2266",lEg:"\u2a8b",lHar:"\u2962",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",lambda:"\u03bb",lang:"\u27e8",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",laqu:"\xab",laquo:"\xab",larr:"\u2190",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",lcedil:"\u013c",lceil:"\u2308",lcub:"{",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21a2",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",leftthreetimes:"\u22cb",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297c",lfloor:"\u230a",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226a",llarr:"\u21c7",llcorner:"\u231e",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnE:"\u2268",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",longleftrightarrow:"\u27f7",longmapsto:"\u27fc",longrightarrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",lstrok:"\u0142",l:"<",lt:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltrPar:"\u2996",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",mDDot:"\u223a",mac:"\xaf",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",mdash:"\u2014",measuredangle:"\u2221",mfr:"\ud835\udd2a",mho:"\u2127",micr:"\xb5",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middo:"\xb7",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",mstpos:"\u223e",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nGg:"\u22d9\u0338",nGt:"\u226b\u20d2",nGtv:"\u226b\u0338",nLeftarrow:"\u21cd",nLeftrightarrow:"\u21ce",nLl:"\u22d8\u0338",nLt:"\u226a\u20d2",nLtv:"\u226a\u0338",nRightarrow:"\u21cf",nVDash:"\u22af",nVdash:"\u22ae",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbs:"\xa0",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",ndash:"\u2013",ne:"\u2260",neArr:"\u21d7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",ngsim:"\u2275",ngt:"\u226f",ngtr:"\u226f",nhArr:"\u21ce",nharr:"\u21ae",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",nlArr:"\u21cd",nlE:"\u2266\u0338",nlarr:"\u219a",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219a",nleftrightarrow:"\u21ae",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nlsim:"\u2274",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nmid:"\u2224",nopf:"\ud835\udd5f",no:"\xac",not:"\xac",notin:"\u2209",notinE:"\u22f9\u0338",notindot:"\u22f5\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrArr:"\u21cf",nrarr:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntild:"\xf1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22ad",nvHarr:"\u2904",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwArr:"\u21d6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24c8",oacut:"\xf3",oacute:"\xf3",oast:"\u229b",ocir:"\xf4",ocirc:"\xf4",ocy:"\u043e",odash:"\u229d",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",ofcir:"\u29bf",ofr:"\ud835\udd2c",ogon:"\u02db",ograv:"\xf2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",omega:"\u03c9",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",oopf:"\ud835\udd60",opar:"\u29b7",operp:"\u29b9",oplus:"\u2295",or:"\u2228",orarr:"\u21bb",ord:"\xba",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oscr:"\u2134",oslas:"\xf8",oslash:"\xf8",osol:"\u2298",otild:"\xf5",otilde:"\xf5",otimes:"\u2297",otimesas:"\u2a36",oum:"\xf6",ouml:"\xf6",ovbar:"\u233d",par:"\xb6",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",pfr:"\ud835\udd2d",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",plusm:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",pointint:"\u2a15",popf:"\ud835\udd61",poun:"\xa3",pound:"\xa3",pr:"\u227a",prE:"\u2ab3",prap:"\u2ab7",prcue:"\u227c",pre:"\u2aaf",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",prime:"\u2032",primes:"\u2119",prnE:"\u2ab5",prnap:"\u2ab9",prnsim:"\u22e8",prod:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",pscr:"\ud835\udcc5",psi:"\u03c8",puncsp:"\u2008",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",qprime:"\u2057",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quo:'"',quot:'"',rAarr:"\u21db",rArr:"\u21d2",rAtail:"\u291c",rBarr:"\u290f",rHar:"\u2964",race:"\u223d\u0331",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raqu:"\xbb",raquo:"\xbb",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",re:"\xae",reg:"\xae",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",rho:"\u03c1",rhov:"\u03f1",rightarrow:"\u2192",rightarrowtail:"\u21a3",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",rightthreetimes:"\u22cc",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",roplus:"\u2a2e",rotimes:"\u2a35",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",rsaquo:"\u203a",rscr:"\ud835\udcc7",rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",sbquo:"\u201a",sc:"\u227b",scE:"\u2ab4",scap:"\u2ab8",scaron:"\u0161",sccue:"\u227d",sce:"\u2ab0",scedil:"\u015f",scirc:"\u015d",scnE:"\u2ab6",scnap:"\u2aba",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",seArr:"\u21d8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sec:"\xa7",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",sh:"\xad",shy:"\xad",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",square:"\u25a1",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",subE:"\u2ac5",subdot:"\u2abd",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2ac5",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",sum:"\u2211",sung:"\u266a",sup:"\u2283",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supE:"\u2ac6",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supedot:"\u2ac4",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swArr:"\u21d9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292a",szli:"\xdf",szlig:"\xdf",target:"\u2316",tau:"\u03c4",tbrk:"\u23b4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",thor:"\xfe",thorn:"\xfe",tilde:"\u02dc",time:"\xd7",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\ud835\udcc9",tscy:"\u0446",tshcy:"\u045b",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",uArr:"\u21d1",uHar:"\u2963",uacut:"\xfa",uacute:"\xfa",uarr:"\u2191",ubrcy:"\u045e",ubreve:"\u016d",ucir:"\xfb",ucirc:"\xfb",ucy:"\u0443",udarr:"\u21c5",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",ufr:"\ud835\udd32",ugrav:"\xf9",ugrave:"\xf9",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",um:"\xa8",uml:"\xa8",uogon:"\u0173",uopf:"\ud835\udd66",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",upsi:"\u03c5",upsih:"\u03d2",upsilon:"\u03c5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",urtri:"\u25f9",uscr:"\ud835\udcca",utdot:"\u22f0",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uum:"\xfc",uuml:"\xfc",uwangle:"\u29a7",vArr:"\u21d5",vBar:"\u2ae8",vBarv:"\u2ae9",vDash:"\u22a8",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vcy:"\u0432",vdash:"\u22a2",vee:"\u2228",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",vert:"|",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",vzigzag:"\u299a",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\ud835\udd34",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xfr:"\ud835\udd35",xhArr:"\u27fa",xharr:"\u27f7",xi:"\u03be",xlArr:"\u27f8",xlarr:"\u27f5",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrArr:"\u27f9",xrarr:"\u27f6",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",yacut:"\xfd",yacute:"\xfd",yacy:"\u044f",ycirc:"\u0177",ycy:"\u044b",ye:"\xa5",yen:"\xa5",yfr:"\ud835\udd36",yicy:"\u0457",yopf:"\ud835\udd6a",yscr:"\ud835\udcce",yucy:"\u044e",yum:"\xff",yuml:"\xff",zacute:"\u017a",zcaron:"\u017e",zcy:"\u0437",zdot:"\u017c",zeetrf:"\u2128",zeta:"\u03b6",zfr:"\ud835\udd37",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"}},function(e,t){e.exports={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"}},function(e,t,n){"use strict";function r(e){var t,n;return"text"!==e.type||!e.position||(t=e.position.start,n=e.position.end,t.line!==n.line||n.column-t.column===e.value.length)}function i(e,t){return e.value+=t.value,e}function o(e,t){return this.options.commonmark?t:(e.children=e.children.concat(t.children),e)}function a(e){function t(t,n){function i(e){for(var t=-1,n=e.indexOf("\n");-1!==n;)x++,t=n,n=e.indexOf("\n",n+1);-1===t?k+=e.length:k=e.length-t,x in w&&(-1!==t?k+=w[x]:k<=w[x]&&(k=w[x]+1))}function o(){var e=[],t=x+1;return function(){for(var n=x+1;t<n;)e.push((w[t]||0)+1),t++;return e}}function a(){var e={line:x,column:k};return e.offset=b.toOffset(e),e}function l(e){this.start=e,this.end=a()}function u(e){t.substring(0,e.length)!==e&&b.file.fail(new Error("Incorrectly eaten value: please report this warning on http://git.io/vg5Ft"),a())}function c(){function e(e,n){var r=e.position,i=r?r.start:t,o=[],a=r&&r.end.line,s=t.line;if(e.position=new l(i),r&&n&&r.indent){if(o=r.indent,a<s){for(;++a<s;)o.push((w[a]||0)+1);o.push(t.column)}n=o.concat(n)}return e.position.indent=n||[],e}var t=a();return e}function d(e,t){var n=t?t.children:E,i=n[n.length-1];return i&&e.type===i.type&&e.type in s&&r(i)&&r(e)&&(e=s[e.type].call(b,i,e)),e!==i&&n.push(e),b.atStart&&0!==E.length&&b.exitStart(),e}function f(e){function n(e,t){return f(d(f(e),t),l)}function r(){var r=n.apply(null,arguments);return x=h.line,k=h.column,t=e+t,r}function s(){var n=f({});return x=h.line,k=h.column,t=e+t,n.position}var l=o(),f=c(),h=a();return u(e),n.reset=r,r.test=s,n.test=s,t=t.substring(e.length),i(e),l=l(),n}var h,p,m,g,v,y,b=this,w=b.offset,E=[],T=b[e+"Methods"],_=b[e+"Tokenizers"],x=n.line,k=n.column;if(!t)return E;for(f.now=a,f.file=b.file,i("");t;){for(h=-1,p=T.length,v=!1;++h<p&&(g=T[h],!(m=_[g])||m.onlyAtStart&&!b.atStart||m.notInList&&b.inList||m.notInBlock&&b.inBlock||m.notInLink&&b.inLink||(y=t.length,m.apply(b,[f,t]),!(v=y!==t.length))););v||b.file.fail(new Error("Infinite loop"),f.now())}return b.eof=a(),E}return t}e.exports=a;var s={text:i,blockquote:o}},function(e,t,n){"use strict";function r(e){var t,n,r=this,s=r.options;if(null==e)e={};else{if("object"!==typeof e)throw new Error("Invalid value `"+e+"` for setting `options`");e=i(e)}for(t in a){if(n=e[t],null==n&&(n=s[t]),"blocks"!==t&&"boolean"!==typeof n||"blocks"===t&&"object"!==typeof n)throw new Error("Invalid value `"+n+"` for setting `options."+t+"`");e[t]=n}return r.options=e,r.escape=o(e),r}var i=n(24),o=n(236),a=n(237);e.exports=r},function(e,t){e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,n){"use strict";function r(){var e,t=this,n=String(t.file),r={line:1,column:1,offset:0},l=i(r);return n=n.replace(s,a),65279===n.charCodeAt(0)&&(n=n.slice(1),l.column++,l.offset++),e={type:"root",children:t.tokenizeBlock(n,l),position:{start:r,end:t.eof||i(r)}},t.options.position||o(e,!0),e}var i=n(24),o=n(670);e.exports=r;var a="\n",s=/\r\n|\r/g},function(e,t,n){"use strict";function r(e,t){return a(e,t?i:o),e}function i(e){delete e.position}function o(e){e.position=void 0}var a=n(69);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,o,a,s,l=t.charAt(0);if("\n"===l){if(n)return!0;for(s=1,r=t.length,o=l,a="";s<r&&(l=t.charAt(s),i(l));)a+=l,"\n"===l&&(o+=a,a=""),s++;e(o)}}var i=n(20);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){for(var r,i,c,d=-1,f=t.length,h="",p="",m="",g="";++d<f;)if(r=t.charAt(d),c)if(c=!1,h+=m,p+=g,m="",g="",r===a)m=r,g=r;else for(h+=r,p+=r;++d<f;){if(!(r=t.charAt(d))||r===a){g=r,m=r;break}h+=r,p+=r}else if(r===l&&t.charAt(d+1)===r&&t.charAt(d+2)===r&&t.charAt(d+3)===r)m+=u,d+=3,c=!0;else if(r===s)m+=r,c=!0;else{for(i="";r===s||r===l;)i+=r,r=t.charAt(++d);if(r!==a)break;m+=i+r,g+=r}if(p)return!!n||e(h)({type:"code",lang:null,value:o(p)})}var i=n(22),o=n(138);e.exports=r;var a="\n",s="\t",l=" ",u=i(l,4)},function(e,t,n){"use strict";function r(e,t,n){var r,f,h,p,m,g,v,y,b,w,E,T=this,_=T.options,x=t.length+1,k=0,S="";if(_.gfm){for(;k<x&&((h=t.charAt(k))===s||h===a);)S+=h,k++;if(w=k,(h=t.charAt(k))===l||h===u){for(k++,f=h,r=1,S+=h;k<x&&(h=t.charAt(k))===f;)S+=h,r++,k++;if(!(r<c)){for(;k<x&&((h=t.charAt(k))===s||h===a);)S+=h,k++;for(p="",m="";k<x&&(h=t.charAt(k))!==o&&h!==l&&h!==u;)h===s||h===a?m+=h:(p+=m+h,m=""),k++;if(!(h=t.charAt(k))||h===o){if(n)return!0;for(E=e.now(),E.column+=S.length,E.offset+=S.length,S+=p,p=T.decode.raw(T.unescape(p),E),m&&(S+=m),m="",y="",b="",g="",v="";k<x;)if(h=t.charAt(k),g+=y,v+=b,y="",b="",h===o){for(g?(y+=h,b+=h):S+=h,m="",k++;k<x&&(h=t.charAt(k))===s;)m+=h,k++;if(y+=m,b+=m.slice(w),!(m.length>=d)){for(m="";k<x&&(h=t.charAt(k))===f;)m+=h,k++;if(y+=m,b+=m,!(m.length<r)){for(m="";k<x&&((h=t.charAt(k))===s||h===a);)y+=h,b+=h,k++;if(!h||h===o)break}}}else g+=h,b+=h,k++;return S+=g+y,e(S)({type:"code",lang:p||null,value:i(v)})}}}}}var i=n(138);e.exports=r;var o="\n",a="\t",s=" ",l="~",u="`",c=3,d=4},function(e,t,n){"use strict";function r(e,t,n){for(var r,c,d,f,h,p,m,g,v,y=this,b=y.offset,w=y.blockTokenizers,E=y.interruptBlockquote,T=e.now(),_=T.line,x=t.length,k=[],S=[],C=[],O=0;O<x&&((c=t.charAt(O))===l||c===s);)O++;if(t.charAt(O)===u){if(n)return!0;for(O=0;O<x;){for(f=t.indexOf(a,O),m=O,g=!1,-1===f&&(f=x);O<x&&((c=t.charAt(O))===l||c===s);)O++;if(t.charAt(O)===u?(O++,g=!0,t.charAt(O)===l&&O++):O=m,h=t.slice(O,f),!g&&!i(h)){O=m;break}if(!g&&(d=t.slice(O),o(E,w,y,[e,d,!0])))break;p=m===O?h:t.slice(m,f),C.push(O-m),k.push(p),S.push(h),O=f+1}for(O=-1,x=C.length,r=e(k.join(a));++O<x;)b[_]=(b[_]||0)+C[O],_++;return v=y.enterBlock(),S=y.tokenizeBlock(S.join(a),T),v(),r({type:"blockquote",children:S})}}var i=n(27),o=n(139);e.exports=r;var a="\n",s="\t",l=" ",u=">"},function(e,t,n){"use strict";function r(e,t,n){for(var r,u,c,d=this,f=d.options,h=t.length+1,p=-1,m=e.now(),g="",v="";++p<h;){if((r=t.charAt(p))!==a&&r!==o){p--;break}g+=r}for(c=0;++p<=h;){if((r=t.charAt(p))!==s){p--;break}g+=r,c++}if(!(c>l)&&c&&(f.pedantic||t.charAt(p+1)!==s)){for(h=t.length+1,u="";++p<h;){if((r=t.charAt(p))!==a&&r!==o){p--;break}u+=r}if(f.pedantic||0!==u.length||!r||r===i){if(n)return!0;for(g+=u,u="",v="";++p<h&&(r=t.charAt(p))&&r!==i;)if(r===a||r===o||r===s){for(;r===a||r===o;)u+=r,r=t.charAt(++p);for(;r===s;)u+=r,r=t.charAt(++p);for(;r===a||r===o;)u+=r,r=t.charAt(++p);p--}else v+=u+r,u="";return m.column+=g.length,m.offset+=g.length,g+=v+u,e(g)({type:"heading",depth:c,children:d.tokenizeInline(v,m)})}}}e.exports=r;var i="\n",o="\t",a=" ",s="#",l=6},function(e,t,n){"use strict";function r(e,t,n){for(var r,d,f,h,p=-1,m=t.length+1,g="";++p<m&&((r=t.charAt(p))===o||r===a);)g+=r;if(r===s||r===u||r===l)for(d=r,g+=r,f=1,h="";++p<m;)if((r=t.charAt(p))===d)f++,g+=h+d,h="";else{if(r!==a)return f>=c&&(!r||r===i)?(g+=h,!!n||e(g)({type:"thematicBreak"})):void 0;h+=r}}e.exports=r;var i="\n",o="\t",a=" ",s="*",l="_",u="-",c=3},function(e,t,n){"use strict";function r(e,t,n){for(var r,o,a,l,c,d,b,E,T,_,x,k,A,P,I,R,N,M,D,L,j,W,B,F,z=this,U=z.options.commonmark,H=z.options.pedantic,G=z.blockTokenizers,q=z.interruptList,V=0,K=t.length,Y=null,Z=0;V<K;){if((l=t.charAt(V))===y)Z+=w-Z%w;else{if(l!==g)break;Z++}V++}if(!(Z>=w)){if(l=t.charAt(V),r=U?O:C,!0===S[l])c=l,a=!1;else{for(a=!0,o="";V<K&&(l=t.charAt(V),u(l));)o+=l,V++;if(l=t.charAt(V),!o||!0!==r[l])return;Y=parseInt(o,10),c=l}if((l=t.charAt(++V))===g||l===y){if(n)return!0;for(V=0,P=[],I=[],R=[];V<K;){for(d=t.indexOf(v,V),b=V,E=!1,F=!1,-1===d&&(d=K),B=V+w,Z=0;V<K;){if((l=t.charAt(V))===y)Z+=w-Z%w;else{if(l!==g)break;Z++}V++}if(Z>=w&&(F=!0),N&&Z>=N.indent&&(F=!0),l=t.charAt(V),T=null,!F){if(!0===S[l])T=l,V++,Z++;else{for(o="";V<K&&(l=t.charAt(V),u(l));)o+=l,V++;l=t.charAt(V),V++,o&&!0===r[l]&&(T=l,Z+=o.length+1)}if(T)if((l=t.charAt(V))===y)Z+=w-Z%w,V++;else if(l===g){for(B=V+w;V<B&&t.charAt(V)===g;)V++,Z++;V===B&&t.charAt(V)===g&&(V-=w-1,Z-=w-1)}else l!==v&&""!==l&&(T=null)}if(T){if(!H&&c!==T)break;E=!0}else U||F||t.charAt(b)!==g?U&&N&&(F=Z>=N.indent||Z>w):F=!0,E=!1,V=b;if(x=t.slice(b,d),_=b===V?x:t.slice(V,d),(T===h||T===p||T===m)&&G.thematicBreak.call(z,e,x,!0))break;if(k=A,A=!s(_).length,F&&N)N.value=N.value.concat(R,x),I=I.concat(R,x),R=[];else if(E)0!==R.length&&(N.value.push(""),N.trail=R.concat()),N={value:[x],indent:Z,trail:[]},P.push(N),I=I.concat(R,x),R=[];else if(A){if(k)break;R.push(x)}else{if(k)break;if(f(q,G,z,[e,x,!0]))break;N.value=N.value.concat(R,x),I=I.concat(R,x),R=[]}V=d+1}for(j=e(I.join(v)).reset({type:"list",ordered:a,start:Y,loose:null,children:[]}),M=z.enterList(),D=z.enterBlock(),L=!1,V=-1,K=P.length;++V<K;)N=P[V].value.join(v),W=e.now(),N=e(N)(i(z,N,W),j),N.loose&&(L=!0),N=P[V].trail.join(v),V!==K-1&&(N+=v),e(N);return M(),D(),j.loose=L,j}}}function i(e,t,n){var r,i,s=e.offset,l=e.options.pedantic?o:a,u=null;return t=l.apply(null,arguments),e.options.gfm&&(r=t.match(T))&&(i=r[0].length,u=r[1].toLowerCase()===b,s[n.line]+=i,t=t.slice(i)),{type:"listItem",loose:E.test(t)||t.charAt(t.length-1)===v,checked:u,children:e.tokenizeBlock(t,n)}}function o(e,t,n){function r(e){return i[o]=(i[o]||0)+e.length,o++,""}var i=e.offset,o=n.line;return t=t.replace(x,r),o=n.line,t.replace(k,r)}function a(e,t,n){function r(e,t,n,r,s){return o=t+n+r,a=s,Number(n)<10&&o.length%2===1&&(n=g+n),(i=t+l(g,n.length)+r)+a}var i,o,a,s,u,f,h,p=e.offset,m=n.line;for(t=t.replace(_,r),s=t.split(v),u=d(t,c(i).indent).split(v),u[0]=a,p[m]=(p[m]||0)+o.length,m++,f=0,h=s.length;++f<h;)p[m]=(p[m]||0)+s[f].length-u[f].length,m++;return u.join(v)}var s=n(27),l=n(22),u=n(68),c=n(239),d=n(678),f=n(139);e.exports=r;var h="*",p="_",m="-",g=" ",v="\n",y="\t",b="x",w=4,E=/\n\n(?!\s*$)/,T=/^\[([ \t]|x|X)][ \t]/,_=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,x=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,k=/^( {1,4}|\t)?/gm,S={};S[h]=!0,S["+"]=!0,S[m]=!0;var C={};C["."]=!0;var O={};O["."]=!0,O[")"]=!0},function(e,t,n){"use strict";function r(e,t){var n,r,c,d,f=e.split(l),h=f.length+1,p=1/0,m=[];for(f.unshift(o(s,t)+"!");h--;)if(r=a(f[h]),m[h]=r.stops,0!==i(f[h]).length){if(!r.indent){p=1/0;break}r.indent>0&&r.indent<p&&(p=r.indent)}if(p!==1/0)for(h=f.length;h--;){for(c=m[h],n=p;n&&!(n in c);)n--;d=0!==i(f[h]).length&&p&&n!==p?u:"",f[h]=d+f[h].slice(n in c?c[n]+1:0)}return f.shift(),f.join(l)}var i=n(27),o=n(22),a=n(239);e.exports=r;var s=" ",l="\n",u="\t"},function(e,t,n){"use strict";function r(e,t,n){for(var r,u,c,d,f,h=this,p=e.now(),m=t.length,g=-1,v="";++g<m;){if((c=t.charAt(g))!==a||g>=s){g--;break}v+=c}for(r="",u="";++g<m;){if((c=t.charAt(g))===i){g--;break}c===a||c===o?u+=c:(r+=u+c,u="")}if(p.column+=v.length,p.offset+=v.length,v+=r+u,c=t.charAt(++g),d=t.charAt(++g),c===i&&l[d]){for(v+=c,u=d,f=l[d];++g<m;){if((c=t.charAt(g))!==d){if(c!==i)return;g--;break}u+=c}return!!n||e(v+u)({type:"heading",depth:f,children:h.tokenizeInline(r,p)})}}e.exports=r;var i="\n",o="\t",a=" ",s=3,l={};l["="]=1,l["-"]=2},function(e,t,n){"use strict";function r(e,t,n){for(var r,u,c,d,f,h,p,m=this,g=m.options.blocks,v=t.length,y=0,b=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+g.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];y<v&&((d=t.charAt(y))===o||d===a);)y++;if(t.charAt(y)===l){for(r=t.indexOf(s,y+1),r=-1===r?v:r,u=t.slice(y,r),c=-1,f=b.length;++c<f;)if(b[c][0].test(u)){h=b[c];break}if(h){if(n)return h[2];if(y=r,!h[1].test(u))for(;y<v;){if(r=t.indexOf(s,y+1),r=-1===r?v:r,u=t.slice(y+1,r),h[1].test(u)){u&&(y=r);break}y=r}return p=t.slice(0,y),e(p)({type:"html",value:p})}}}var i=n(240).openCloseTag;e.exports=r;var o="\t",a=" ",s="\n",l="<"},function(e,t,n){"use strict";function r(e,t,n){var r,m,g,v,y,b,w,E,T,_,x,k,S=this,C=S.offset;if(S.options.footnotes){for(r=0,m=t.length,g="",v=e.now(),y=v.line;r<m&&(T=t.charAt(r),i(T));)g+=T,r++;if(t.charAt(r)===c&&t.charAt(r+1)===f){for(g+=c+f,r=g.length,w="";r<m&&(T=t.charAt(r))!==d;)T===a&&(w+=T,r++,T=t.charAt(r)),w+=T,r++;if(w&&t.charAt(r)===d&&t.charAt(r+1)===h){if(n)return!0;for(_=o(w),g+=w+d+h,r=g.length;r<m&&((T=t.charAt(r))===l||T===u);)g+=T,r++;for(v.column+=g.length,v.offset+=g.length,w="",b="",E="";r<m;){if((T=t.charAt(r))===s){for(E=T,r++;r<m&&(T=t.charAt(r))===s;)E+=T,r++;for(w+=E,E="";r<m&&(T=t.charAt(r))===u;)E+=T,r++;if(0===E.length)break;w+=E}w&&(b+=w,w=""),b+=T,r++}return g+=b,b=b.replace(p,function(e){return C[y]=(C[y]||0)+e.length,y++,""}),x=e(g),k=S.enterBlock(),b=S.tokenizeBlock(b,v),k(),x({type:"footnoteDefinition",identifier:_,children:b})}}}}var i=n(20),o=n(140);e.exports=r,r.notInList=!0,r.notInBlock=!0;var a="\\",s="\n",l="\t",u=" ",c="[",d="]",f="^",h=":",p=/^( {4}|\t)?/gm},function(e,t,n){"use strict";function r(e,t,n){for(var r,a,w,E,T,_,x,k,S=this,C=S.options.commonmark,O=0,A=t.length,P="";O<A&&((E=t.charAt(O))===h||E===f);)P+=E,O++;if((E=t.charAt(O))===p){for(O++,P+=E,w="";O<A&&(E=t.charAt(O))!==m;)E===c&&(w+=E,O++,E=t.charAt(O)),w+=E,O++;if(w&&t.charAt(O)===m&&t.charAt(O+1)===y){for(_=w,P+=w+m+y,O=P.length,w="";O<A&&((E=t.charAt(O))===f||E===h||E===d);)P+=E,O++;if(E=t.charAt(O),w="",r=P,E===b){for(O++;O<A&&(E=t.charAt(O),i(E));)w+=E,O++;if((E=t.charAt(O))===i.delimiter)P+=b+w+E,O++;else{if(C)return;O-=w.length+1,w=""}}if(!w){for(;O<A&&(E=t.charAt(O),o(E));)w+=E,O++;P+=w}if(w){for(x=w,w="";O<A&&((E=t.charAt(O))===f||E===h||E===d);)w+=E,O++;if(E=t.charAt(O),T=null,E===l?T=l:E===u?T=u:E===g&&(T=v),T){if(!w)return;for(P+=w+E,O=P.length,w="";O<A&&(E=t.charAt(O))!==T;){if(E===d){if(O++,(E=t.charAt(O))===d||E===T)return;w+=d}w+=E,O++}if((E=t.charAt(O))!==T)return;a=P,P+=w+E,O++,k=w,w=""}else w="",O=P.length;for(;O<A&&((E=t.charAt(O))===f||E===h);)P+=E,O++;return E=t.charAt(O),E&&E!==d?void 0:!!n||(r=e(r).test().end,x=S.decode.raw(S.unescape(x),r,{nonTerminated:!1}),k&&(a=e(a).test().end,k=S.decode.raw(S.unescape(k),a)),e(P)({type:"definition",identifier:s(_),title:k||null,url:x}))}}}}function i(e){return e!==w&&e!==p&&e!==m}function o(e){return e!==p&&e!==m&&!a(e)}var a=n(20),s=n(140);e.exports=r,r.notInList=!0,r.notInBlock=!0;var l='"',u="'",c="\\",d="\n",f="\t",h=" ",p="[",m="]",g="(",v=")",y=":",b="<",w=">";i.delimiter=w},function(e,t,n){"use strict";function r(e,t,n){var r,b,w,E,T,_,x,k,S,C,O,A,P,I,R,N,M,D,L,j,W,B,F,z,U=this;if(U.options.gfm){for(r=0,D=0,_=t.length+1,x=[];r<_;){if(B=t.indexOf(d,r),F=t.indexOf(l,r+1),-1===B&&(B=t.length),-1===F||F>B){if(D<p)return;break}x.push(t.slice(r,B)),D++,r=B+1}for(E=x.join(d),b=x.splice(1,1)[0]||[],r=0,_=b.length,D--,w=!1,O=[];r<_;){if((S=b.charAt(r))===l){if(C=null,!1===w){if(!1===z)return}else O.push(w),w=!1;z=!1}else if(S===s)C=!0,w=w||y;else if(S===u)w=w===m?g:C&&w===y?v:m;else if(!i(S))return;r++}if(!1!==w&&O.push(w),!(O.length<h)){if(n)return!0;for(M=-1,j=[],W=e(E).reset({type:"table",align:O,children:j});++M<D;){for(L=x[M],T={type:"tableRow",children:[]},M&&e(d),e(L).reset(T,W),_=L.length+1,r=0,k="",A="",P=!0,I=null,R=null;r<_;)if((S=L.charAt(r))!==f&&S!==c){if(""===S||S===l)if(P)e(S);else{if(S&&R){k+=S,r++;continue}!A&&!S||P||(E=A,k.length>1&&(S?(E+=k.slice(0,k.length-1),k=k.charAt(k.length-1)):(E+=k,k="")),N=e.now(),e(E)({type:"tableCell",children:U.tokenizeInline(A,N)},T)),e(k+S),k="",A=""}else if(k&&(A+=k,k=""),A+=S,S===o&&r!==_-2&&(A+=L.charAt(r+1),r++),S===a){for(I=1;L.charAt(r+1)===S;)A+=S,r++,I++;R?I>=R&&(R=0):R=I}P=!1,r++}else A?k+=S:e(S),r++;M||e(d+b)}return W}}}var i=n(20);e.exports=r;var o="\\",a="`",s="-",l="|",u=":",c=" ",d="\n",f="\t",h=1,p=2,m="left",g="center",v="right",y=null},function(e,t,n){"use strict";function r(e,t,n){for(var r,f,h,p,m,g=this,v=g.options,y=v.commonmark,b=v.gfm,w=g.blockTokenizers,E=g.interruptParagraph,T=t.indexOf(l),_=t.length;T<_;){if(-1===T){T=_;break}if(t.charAt(T+1)===l)break;if(y){for(p=0,r=T+1;r<_;){if((h=t.charAt(r))===u){p=d;break}if(h!==c)break;p++,r++}if(p>=d){T=t.indexOf(l,T+1);continue}}if(f=t.slice(T+1),s(E,w,g,[e,f,!0]))break;if(w.list.call(g,e,f,!0)&&(g.inList||y||b&&!o(i.left(f).charAt(0))))break;if(r=T,-1!==(T=t.indexOf(l,T+1))&&""===i(t.slice(r,T))){T=r;break}}return f=t.slice(0,T),""===i(f)?(e(f),null):!!n||(m=e.now(),f=a(f),e(f)({type:"paragraph",children:g.tokenizeInline(f,m)}))}var i=n(27),o=n(68),a=n(138),s=n(139);e.exports=r;var l="\n",u="\t",c=" ",d=4},function(e,t,n){"use strict";function r(e,t,n){var r,i,o=this;if("\\"===t.charAt(0)&&(r=t.charAt(1),-1!==o.escape.indexOf(r)))return!!n||(i="\n"===r?{type:"break"}:{type:"text",value:r},e("\\"+r)(i))}var i=n(686);e.exports=r,r.locator=i},function(e,t,n){"use strict";function r(e,t){return e.indexOf("\\",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,a,h,p,m,g,v,y,b,w,E,T;if(t.charAt(0)===s){for(r=this,a="",h=t.length,p=0,m="",v=!1,y="",p++,a=s;p<h&&(g=t.charAt(p),!(i(g)||g===l||g===u||":"===g&&t.charAt(p+1)===c));)m+=g,p++;if(m){if(y+=m,m="",g=t.charAt(p),y+=g,p++,g===u)v=!0;else{if(":"!==g||t.charAt(p+1)!==c)return;y+=c,p++}for(;p<h&&(g=t.charAt(p),!i(g)&&g!==l);)m+=g,p++;if(g=t.charAt(p),m&&g===l)return!!n||(y+=m,w=y,a+=y+g,b=e.now(),b.column++,b.offset++,v&&(y.slice(0,f).toLowerCase()===d?(w=w.substr(f),b.column+=f,b.offset+=f):y=d+y),E=r.inlineTokenizers,r.inlineTokenizers={text:E.text},T=r.enterLink(),w=r.tokenizeInline(w,b),r.inlineTokenizers=E,T(),e(a)({type:"link",title:null,url:o(y,{nonTerminated:!1}),children:w}))}}}var i=n(20),o=n(88),a=n(242);e.exports=r,r.locator=a,r.notInLink=!0;var s="<",l=">",u="@",c="/",d="mailto:",f=d.length},function(e,t,n){"use strict";function r(e,t,n){var r,a,g,v,y,b,w,E,T,_,x,k,S=this;if(S.options.gfm){for(r="",v=-1,E=m;++v<E;)if(b=p[v],w=t.slice(0,b.length),w.toLowerCase()===b){r=w;break}if(r){for(v=r.length,E=t.length,T="",_=0;v<E&&(g=t.charAt(v),!o(g)&&g!==d)&&("."!==g&&","!==g&&":"!==g&&";"!==g&&'"'!==g&&"'"!==g&&")"!==g&&"]"!==g||(x=t.charAt(v+1))&&!o(x))&&(g!==u&&g!==s||_++,g!==c&&g!==l||!(--_<0));)T+=g,v++;if(T){if(r+=T,a=r,b===h){if(-1===(y=T.indexOf(f))||y===E-1)return;a=a.substr(h.length)}return!!n||(k=S.enterLink(),a=S.tokenizeInline(a,e.now()),k(),e(r)({type:"link",title:null,url:i(r,{nonTerminated:!1}),children:a}))}}}}var i=n(88),o=n(20),a=n(689);e.exports=r,r.locator=a,r.notInLink=!0;var s="[",l="]",u="(",c=")",d="<",f="@",h="mailto:",p=["http://","https://",h],m=p.length},function(e,t,n){"use strict";function r(e,t){var n,r=i.length,o=-1,a=-1;if(!this.options.gfm)return-1;for(;++o<r;)-1!==(n=e.indexOf(i[o],t))&&(n<a||-1===a)&&(a=n);return a}e.exports=r;var i=["https://","http://","mailto:"]},function(e,t,n){"use strict";function r(e,t,n){var r,o,u=this,c=t.length;if(!("<"!==t.charAt(0)||c<3)&&(r=t.charAt(1),(i(r)||"?"===r||"!"===r||"/"===r)&&(o=t.match(a))))return!!n||(o=o[0],!u.inLink&&s.test(o)?u.inLink=!0:u.inLink&&l.test(o)&&(u.inLink=!1),e(o)({type:"html",value:o}))}var i=n(235),o=n(242),a=n(240).tag;e.exports=r,r.locator=o;var s=/^<a /i,l=/^<\/a>/i},function(e,t,n){"use strict";function r(e,t,n){var r,o,v,y,b,w,E,T,_,x,k,S,C,O,A,P,I,R,N,M=this,D="",L=0,j=t.charAt(0),W=M.options.pedantic,B=M.options.commonmark,F=M.options.gfm;if("!"===j&&(_=!0,D=j,j=t.charAt(++L)),j===l&&(_||!M.inLink)){for(D+=j,A="",L++,S=t.length,I=e.now(),O=0,I.column+=L,I.offset+=L;L<S;){if(j=t.charAt(L),w=j,j===p){for(o=1;t.charAt(L+1)===p;)w+=j,L++,o++;v?o>=v&&(v=0):v=o}else if(j===s)L++,w+=t.charAt(L);else if(v&&!F||j!==l){if((!v||F)&&j===u){if(!O){if(!W)for(;L<S&&(j=t.charAt(L+1),i(j));)w+=j,L++;if(t.charAt(L+1)!==c)return;w+=c,r=!0,L++;break}O--}}else O++;A+=w,w="",L++}if(r){for(x=A,D+=A+w,L++;L<S&&(j=t.charAt(L),i(j));)D+=j,L++;if(j=t.charAt(L),T=B?g:m,A="",y=D,j===f){for(L++,y+=f;L<S&&(j=t.charAt(L))!==h;){if(B&&"\n"===j)return;A+=j,L++}if(t.charAt(L)!==h)return;D+=f+A+h,P=A,L++}else{for(j=null,w="";L<S&&(j=t.charAt(L),!w||!a.call(T,j));){if(i(j)){if(!W)break;w+=j}else{if(j===c)O++;else if(j===d){if(0===O)break;O--}A+=w,w="",j===s&&(A+=s,j=t.charAt(++L)),A+=j}L++}D+=A,P=A,L=D.length}for(A="";L<S&&(j=t.charAt(L),i(j));)A+=j,L++;if(j=t.charAt(L),D+=A,A&&a.call(T,j))if(L++,D+=j,A="",k=T[j],b=D,B){for(;L<S&&(j=t.charAt(L))!==k;)j===s&&(A+=s,j=t.charAt(++L)),L++,A+=j;if((j=t.charAt(L))!==k)return;for(C=A,D+=A+j,L++;L<S&&(j=t.charAt(L),i(j));)D+=j,L++}else for(w="";L<S;){if((j=t.charAt(L))===k)E&&(A+=k+w,w=""),E=!0;else if(E){if(j===d){D+=A+k+w,C=A;break}i(j)?w+=j:(A+=k+w+j,w="",E=!1)}else A+=j;L++}if(t.charAt(L)===d)return!!n||(D+=d,P=M.decode.raw(M.unescape(P),e(y).test().end,{nonTerminated:!1}),C&&(b=e(b).test().end,C=M.decode.raw(M.unescape(C),b)),N={type:_?"image":"link",title:C||null,url:P},_?N.alt=M.decode.raw(M.unescape(x),I)||null:(R=M.enterLink(),N.children=M.tokenizeInline(x,I),R()),e(D)(N))}}}var i=n(20),o=n(243);e.exports=r,r.locator=o;var a={}.hasOwnProperty,s="\\",l="[",u="]",c="(",d=")",f="<",h=">",p="`",m={};m['"']='"',m["'"]="'";var g={};g['"']='"',g["'"]="'",g[c]=d},function(e,t,n){"use strict";function r(e,t,n){var r,o,v,y,b,w,E,T,_=this,x=t.charAt(0),k=0,S=t.length,C="",O="",A=s,P=c;if("!"===x&&(A=l,O=x,x=t.charAt(++k)),x===m){if(k++,O+=x,w="",_.options.footnotes&&t.charAt(k)===h){if(A===l)return;O+=h,k++,A=u}for(T=0;k<S;){if((x=t.charAt(k))===m)E=!0,T++;else if(x===g){if(!T)break;T--}x===p&&(w+=p,x=t.charAt(++k)),w+=x,k++}if(C=w,r=w,(x=t.charAt(k))===g){for(k++,C+=x,w="";k<S&&(x=t.charAt(k),i(x));)w+=x,k++;if(x=t.charAt(k),A!==u&&x===m){for(o="",w+=x,k++;k<S&&(x=t.charAt(k))!==m&&x!==g;)x===p&&(o+=p,x=t.charAt(++k)),o+=x,k++;x=t.charAt(k),x===g?(P=o?f:d,w+=o+x,k++):o="",C+=w,w=""}else{if(!r)return;o=r}if(P===f||!E)return C=O+C,A===s&&_.inLink?null:!!n||(A===u&&-1!==r.indexOf(" ")?e(C)({type:"footnote",children:this.tokenizeInline(r,e.now())}):(v=e.now(),v.column+=O.length,v.offset+=O.length,o=P===f?o:r,y={type:A+"Reference",identifier:a(o)},A!==s&&A!==l||(y.referenceType=P),A===s?(b=_.enterLink(),y.children=_.tokenizeInline(r,v),b()):A===l&&(y.alt=_.decode.raw(_.unescape(r),v)||null),e(C)(y)))}}}var i=n(20),o=n(243),a=n(140);e.exports=r,r.locator=o;var s="link",l="image",u="footnote",c="shortcut",d="collapsed",f="full",h="^",p="\\",m="[",g="]"},function(e,t,n){"use strict";function r(e,t,n){var r,a,u,c,d,f,h,p=this,m=0,g=t.charAt(m);if((g===s||g===l)&&t.charAt(++m)===g&&(a=p.options.pedantic,u=g,d=u+u,f=t.length,m++,c="",g="",!a||!o(t.charAt(m))))for(;m<f;){if(h=g,(g=t.charAt(m))===u&&t.charAt(m+1)===u&&(!a||!o(h))&&(g=t.charAt(m+2))!==u){if(!i(c))return;return!!n||(r=e.now(),r.column+=2,r.offset+=2,e(d+c+d)({type:"strong",children:p.tokenizeInline(c,r)}))}a||"\\"!==g||(c+=g,g=t.charAt(++m)),c+=g,m++}}var i=n(27),o=n(20),a=n(694);e.exports=r,r.locator=a;var s="*",l="_"},function(e,t,n){"use strict";function r(e,t){var n=e.indexOf("**",t),r=e.indexOf("__",t);return-1===r?n:-1===n?r:r<n?r:n}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,s,c,d,f,h,p,m=this,g=0,v=t.charAt(g);if((v===l||v===u)&&(s=m.options.pedantic,f=v,c=v,h=t.length,g++,d="",v="",!s||!a(t.charAt(g))))for(;g<h;){if(p=v,(v=t.charAt(g))===c&&(!s||!a(p))){if((v=t.charAt(++g))!==c){if(!i(d)||p===c)return;if(!s&&c===u&&o(v)){d+=c;continue}return!!n||(r=e.now(),r.column++,r.offset++,e(f+d+c)({type:"emphasis",children:m.tokenizeInline(d,r)}))}d+=c}s||"\\"!==v||(d+=v,v=t.charAt(++g)),d+=v,g++}}var i=n(27),o=n(696),a=n(20),s=n(697);e.exports=r,r.locator=s;var l="*",u="_"},function(e,t,n){"use strict";function r(e){return o.test("number"===typeof e?i(e):e.charAt(0))}e.exports=r;var i=String.fromCharCode,o=/\w/},function(e,t,n){"use strict";function r(e,t){var n=e.indexOf("*",t),r=e.indexOf("_",t);return-1===r?n:-1===n?r:r<n?r:n}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,o,l,u=this,c="",d="",f="",h="";if(u.options.gfm&&t.charAt(0)===a&&t.charAt(1)===a&&!i(t.charAt(2)))for(r=1,o=t.length,l=e.now(),l.column+=2,l.offset+=2;++r<o;){if((c=t.charAt(r))===a&&d===a&&(!f||!i(f)))return!!n||e(s+h+s)({type:"delete",children:u.tokenizeInline(h,l)});h+=d,f=d,d=c}}var i=n(20),o=n(699);e.exports=r,r.locator=o;var a="~",s="~~"},function(e,t,n){"use strict";function r(e,t){return e.indexOf("~~",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){for(var r,o,s,l,u,c,d,f,h=t.length,p=0,m="",g="";p<h&&t.charAt(p)===a;)m+=a,p++;if(m){for(u=m,l=p,m="",f=t.charAt(p),s=0;p<h;){if(c=f,f=t.charAt(p+1),c===a?(s++,g+=c):(s=0,m+=c),s&&f!==a){if(s===l){u+=m+g,d=!0;break}m+=g,g=""}p++}if(!d){if(l%2!==0)return;m=""}if(n)return!0;for(r="",o="",h=m.length,p=-1;++p<h;)c=m.charAt(p),i(c)?o+=c:(o&&(r&&(r+=o),o=""),r+=c);return e(u)({type:"inlineCode",value:r})}}var i=n(20),o=n(701);e.exports=r,r.locator=o;var a="`"},function(e,t,n){"use strict";function r(e,t){return e.indexOf("`",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){for(var r,i=t.length,a=-1,s="";++a<i;){if("\n"===(r=t.charAt(a))){if(a<o)return;return!!n||(s+=r,e(s)({type:"break"}))}if(" "!==r)return;s+=r}}var i=n(703);e.exports=r,r.locator=i;var o=2},function(e,t,n){"use strict";function r(e,t){for(var n=e.indexOf("\n",t);n>t&&" "===e.charAt(n-1);)n--;return n}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,i,o,a,s,l,u,c,d,f,h=this;if(n)return!0;for(r=h.inlineMethods,a=r.length,i=h.inlineTokenizers,o=-1,d=t.length;++o<a;)"text"!==(c=r[o])&&i[c]&&(u=i[c].locator,u||e.file.fail("Missing locator: `"+c+"`"),-1!==(l=u.call(h,t,1))&&l<d&&(d=l));s=t.slice(0,d),f=e.now(),h.decode(s,f,function(t,n,r){e(r||t)({type:"text",value:t})})}e.exports=r},function(e,t,n){"use strict";function r(e){var t=i(a);t.prototype.options=o(t.prototype.options,this.data("settings"),e),this.Compiler=t}var i=n(230),o=n(24),a=n(706);e.exports=r,r.Compiler=a},function(e,t,n){"use strict";function r(e,t){this.inLink=!1,this.inTable=!1,this.tree=e,this.file=t,this.options=i(this.options),this.setOptions({})}var i=n(24),o=n(231);e.exports=r;var a=r.prototype;a.enterLink=o("inLink",!1),a.enterTable=o("inTable",!1),a.enterLinkReference=n(707),a.options=n(245),a.setOptions=n(708),a.compile=n(714),a.visit=n(718),a.all=n(719),a.block=n(720),a.visitOrderedItems=n(721),a.visitUnorderedItems=n(722),a.visitors={root:n(723),text:n(724),heading:n(725),paragraph:n(726),blockquote:n(727),list:n(728),listItem:n(729),inlineCode:n(730),code:n(731),html:n(732),thematicBreak:n(733),strong:n(734),emphasis:n(735),break:n(736),delete:n(737),link:n(738),linkReference:n(740),imageReference:n(742),definition:n(743),image:n(744),footnote:n(745),footnoteReference:n(746),footnoteDefinition:n(747),table:n(748),tableCell:n(750)}},function(e,t,n){"use strict";function r(e,t){var n=e.encode,r=e.escape,o=e.enterLink();return"shortcut"!==t.referenceType&&"collapsed"!==t.referenceType?o:(e.escape=i,e.encode=i,function(){e.encode=n,e.escape=r,o()})}var i=n(244);e.exports=r},function(e,t,n){"use strict";function r(e){var t,n,r=this,o=r.options;if(null==e)e={};else{if("object"!==typeof e)throw new Error("Invalid value `"+e+"` for setting `options`");e=c(e)}for(n in f)g[typeof f[n]](e,n,o[n],m[n]);return t=e.ruleRepetition,t&&t<3&&i(t,"options.ruleRepetition"),r.encode=u(String(e.entities)),r.escape=h(e),r.options=e,r}function i(e,t){throw new Error("Invalid value `"+e+"` for setting `"+t+"`")}function o(e,t,n){var r=e[t];null==r&&(r=n),"boolean"!==typeof r&&i(r,"options."+t),e[t]=r}function a(e,t,n){var r=e[t];null==r&&(r=n),isNaN(r)&&i(r,"options."+t),e[t]=r}function s(e,t,n,r){var o=e[t];null==o&&(o=n),o=String(o),o in r||i(o,"options."+t),e[t]=o}function l(e,t,n){var r=e[t];null==r&&(r=n),"function"!==typeof r&&i(r,"options."+t),e[t]=r}function u(e){function t(e){return d(e,n)}var n={};return"false"===e?p:("true"===e&&(n.useNamedReferences=!0),"escape"===e&&(n.escapeOnly=!0,n.useNamedReferences=!0),t)}var c=n(24),d=n(709),f=n(245),h=n(712),p=n(244);e.exports=r;var m={entities:{true:!0,false:!0,numbers:!0,escape:!0},bullet:{"*":!0,"-":!0,"+":!0},rule:{"-":!0,_:!0,"*":!0},listItemIndent:{tab:!0,mixed:!0,1:!0},emphasis:{_:!0,"*":!0},strong:{_:!0,"*":!0},fence:{"`":!0,"~":!0}},g={boolean:o,string:s,number:a,function:l}},function(e,t,n){"use strict";function r(e,t){function n(e,t,n){return s(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charAt(t+2),d)}function r(e,t,n){return o(e,n.charAt(t+1),i)}var i=t||{},a=i.subset,u=a?l(a):v,c=i.escapeOnly,d=i.omitOptionalSemicolons;return e=e.replace(u,function(e,t,n){return o(e,n.charAt(t+1),i)}),a||c?e:e.replace(y,n).replace(b,r)}function i(e){return r(e,{escapeOnly:!0,useNamedReferences:!0})}function o(e,t,n){var r,i,o=n.useShortestReferences,l=n.omitOptionalSemicolons;return(o||n.useNamedReferences)&&p.call(g,e)&&(r=a(g[e],t,l,n.attribute)),!o&&r||(i=s(e.charCodeAt(0),t,l)),r&&(!o||r.length<i.length)?r:i}function a(e,t,n,r){var i="&"+e;return n&&p.call(c,e)&&-1===h.indexOf(e)&&(!r||t&&"="!==t&&!f(t))?i:i+";"}function s(e,t,n){var r="&#x"+e.toString(16).toUpperCase();return n&&t&&!d(t)?r:r+";"}function l(e){return new RegExp("["+e.join("")+"]","g")}var u=n(710),c=n(232),d=n(233),f=n(234),h=n(711);e.exports=r,r.escape=i;var p={}.hasOwnProperty,m=['"',"'","<",">","&","`"],g=function(){var e,t={};for(e in u)t[u[e]]=e;return t}(),v=l(m),y=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g},function(e,t){e.exports={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203e",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02c6",tilde:"\u02dc",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203a",euro:"\u20ac"}},function(e,t){e.exports=["cent","copy","divide","gt","lt","not","para","times"]},function(e,t,n){"use strict";function r(e){function t(t,n,r){function p(e){return-1===R.indexOf(e)?m[e]:f+e}var g,v,y,b,w,E,T=this,_=e.gfm,x=e.commonmark,k=e.pedantic,S=x?[".",")"]:["."],C=r&&r.children,O=C&&C.indexOf(n),A=C&&C[O-1],P=C&&C[O+1],I=t.length,R=c(e),N=-1,M=[],D=M;for(g=A?o(A)&&/\n\s*$/.test(A.value):!r||"root"===r.type||"paragraph"===r.type;++N<I;){if(v=t.charAt(N),E=!1,"\n"===v)g=!0;else if(v===f||"`"===v||"*"===v||"["===v||"<"===v||"&"===v&&d(t.slice(N))>0||"]"===v&&T.inLink||_&&"~"===v&&"~"===t.charAt(N+1)||_&&"|"===v&&(T.inTable||i(t,N))||"_"===v&&N>0&&N<I-1&&(k||!l(t.charAt(N-1))||!l(t.charAt(N+1)))||_&&!T.inLink&&":"===v&&a(M.join("")))E=!0;else if(g)if(">"===v||"#"===v||-1!==h.indexOf(v))E=!0;else if(s(v)){for(w=N+1;w<I&&s(t.charAt(w));)w++;-1!==S.indexOf(t.charAt(w))&&((P=t.charAt(w+1))&&" "!==P&&"\t"!==P&&"\n"!==P||(M.push(t.slice(N,w)),N=w,v=t.charAt(N),E=!0))}g&&!u(v)&&(g=!1),M.push(E?p(v):v)}if(C&&o(n)){if(A&&"shortcut"===A.referenceType){for(N=-1,I=D.length;++N<I;)if(" "!==(v=D[N])&&"\t"!==v){"("!==v&&":"!==v||(D[N]=p(v));break}o(P)&&N===I&&"("===P.value.charAt(0)&&D.push(f)}_&&!T.inLink&&o(A)&&":"===t.charAt(0)&&a(A.value.slice(-6))&&(D[0]=p(":")),o(P)&&"&"===t.charAt(I-1)&&0!==d("&"+P.value)&&(D[D.length-1]=p("&")),_&&o(P)&&"~"===t.charAt(I-1)&&"~"===P.value.charAt(0)&&D.splice(D.length-1,0,f),y=o(A)&&l(A.value.slice(-1)),b=o(P)&&l(P.value.charAt(0)),1===I?"_"!==t||!k&&y&&b||D.unshift(f):("_"!==t.charAt(0)||!k&&y&&l(t.charAt(1))||D.unshift(f),"_"!==t.charAt(I-1)||!k&&b&&l(t.charAt(I-2))||D.splice(D.length-1,0,f))}return D.join("")}return t}function i(e,t){var n=e.lastIndexOf("\n",t),r=e.indexOf("\n",t);for(n=-1===n?-1:n,r=-1===r?e.length:r;++n<r;)if(-1===p.indexOf(e.charAt(n)))return!1;return!0}function o(e){return e&&"text"===e.type}function a(e){var t=e.slice(-6).toLowerCase();return"mailto"===t||"https"===t.slice(-5)||"http"===t.slice(-4)}var s=n(68),l=n(713),u=n(20),c=n(236),d=n(246);e.exports=r;var f="\\",h=["*","-","+"],p=[":","-"," ","|"],m={"<":"&lt;",":":"&#x3A;","&":"&amp;","|":"&#x7C;","~":"&#x7E;"}},function(e,t,n){"use strict";e.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected a string");return!/[^0-9a-z\xDF-\xFF]/.test(e.toLowerCase())}},function(e,t,n){"use strict";function r(){return this.visit(i(this.tree,this.options.commonmark))}var i=n(715);e.exports=r},function(e,t,n){"use strict";function r(e,t){function n(e){e.children&&s(e)}function r(e,n,r){var o=r.children,a=n&&o[n-1];if(a&&e.type===a.type&&i(a,t)&&i(e,t))return e.value&&(a.value+=e.value),e.children&&(a.children=a.children.concat(e.children)),o.splice(n,1),a.position&&e.position&&(a.position.end=e.position.end),n}var s=a(r);return o(e,n),e}function i(e,t){var n,r;return"text"===e.type?!e.position||(n=e.position.start,r=e.position.end,n.line!==r.line||r.column-n.column===e.value.length):t&&"blockquote"===e.type}var o=n(69),a=n(716);e.exports=r},function(e,t,n){"use strict";function r(e){return i(o(e))}function i(e){function t(t){var n=t&&t.children;if(!n)throw new Error("Missing children in `parent` for `modifier`");return a(n,e,t)}return t}function o(e){function t(t,n){return e(t,n,this)}return t}var a=n(717);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,o=-1;if(!e)throw new Error("Iterate requires that |this| not be "+e);if(!i.call(e,"length"))throw new Error("Iterate requires that |this| has a `length`");if("function"!==typeof t)throw new Error("`callback` must be a function");for(;++o<e.length;)o in e&&"number"===typeof(r=t.call(n,e[o],o,e))&&(r<0&&(o=0),o=r-1)}e.exports=r;var i={}.hasOwnProperty},function(e,t,n){"use strict";function r(e,t){var n=this,r=n.visitors;return"function"!==typeof r[e.type]&&n.file.fail(new Error("Missing compiler for node of type `"+e.type+"`: `"+e+"`"),e),r[e.type].call(n,e,t)}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t=this,n=e.children,r=n.length,i=[],o=-1;++o<r;)i[o]=t.visit(n[o],e);return i}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n,r=this,i=[],o=e.children,a=o.length,s=-1;++s<a;)t=o[s],n&&(t.type===n.type&&"list"===n.type?i.push(n.ordered===t.ordered?"\n\n\n":"\n\n"):"list"!==n.type||"code"!==t.type||t.lang?i.push("\n\n"):i.push("\n\n\n")),i.push(r.visit(t,e)),n=t;return i.join("")}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n=this,r=n.visitors.listItem,i=n.options.incrementListMarker,o=[],a=e.start,s=e.children,l=s.length,u=-1;++u<l;)t=(i?a+u:a)+".",o[u]=r.call(n,s[u],e,u,t);return o.join("\n")}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t=this,n=t.options.bullet,r=t.visitors.listItem,i=e.children,o=i.length,a=-1,s=[];++a<o;)s[a]=r.call(t,i[a],e,a,n);return s.join("\n")}e.exports=r},function(e,t,n){"use strict";function r(e){return this.block(e)+"\n"}e.exports=r},function(e,t,n){"use strict";function r(e,t){return this.encode(this.escape(e.value,e,t),e)}e.exports=r},function(e,t,n){"use strict";function r(e){var t,n=this,r=e.depth,o=n.options.setext,a=n.options.closeAtx,s=n.all(e).join("");return o&&r<3?s+"\n"+i(1===r?"=":"-",s.length):(t=i("#",e.depth))+" "+s+(a?" "+t:"")}var i=n(22);e.exports=r},function(e,t,n){"use strict";function r(e){return this.all(e).join("")}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n=this.block(e).split("\n"),r=[],i=n.length,o=-1;++o<i;)t=n[o],r[o]=(t?" ":"")+t;return">"+r.join("\n>")}e.exports=r},function(e,t,n){"use strict";function r(e){return this[i[e.ordered]](e)}e.exports=r;var i={true:"visitOrderedItems",false:"visitUnorderedItems"}},function(e,t,n){"use strict";function r(e,t,n,r){for(var s,l,u,c=this,d=c.options.listItemIndent,f=e.loose,h=e.children,p=h.length,m=[],g=-1;++g<p;)m[g]=c.visit(h[g],e);return s=a[e.checked]+m.join(f?"\n\n":"\n"),"1"===d||"mixed"===d&&-1===s.indexOf("\n")?(l=r.length+1,u=" "):(l=4*Math.ceil((r.length+1)/4),u=i(" ",l-r.length)),s=r+u+o(s,l/4).slice(l),f&&t.children.length-1!==n&&(s+="\n"),s}var i=n(22),o=n(247);e.exports=r;var a={undefined:"",null:"",true:"[x] ",false:"[ ] "}},function(e,t,n){"use strict";function r(e){var t=e.value,n=o("`",i(t,"`")+1),r=n,a=n;return"`"===t.charAt(0)&&(r+=" "),"`"===t.charAt(t.length-1)&&(a=" "+a),r+t+a}var i=n(248),o=n(22);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n,r=this,s=e.value,l=r.options,u=l.fence,c=r.encode(e.lang||"",e);return c||l.fences||!s?(n=o(u,Math.max(i(s,u)+1,3)))+c+"\n"+s+"\n"+n:(t&&"listItem"===t.type&&"tab"!==l.listItemIndent&&l.pedantic&&r.file.fail("Cannot indent code properly. See http://git.io/vgFvT",e.position),a(s,1))}var i=n(248),o=n(22),a=n(247);e.exports=r},function(e,t,n){"use strict";function r(e){return e.value}e.exports=r},function(e,t,n){"use strict";function r(){var e=this.options,t=i(e.rule,e.ruleRepetition);return e.ruleSpaces?t.split("").join(" "):t}var i=n(22);e.exports=r},function(e,t,n){"use strict";function r(e){var t=i(this.options.strong,2);return t+this.all(e).join("")+t}var i=n(22);e.exports=r},function(e,t,n){"use strict";function r(e){var t=this.options.emphasis;return t+this.all(e).join("")+t}e.exports=r},function(e,t,n){"use strict";function r(){return i[this.options.commonmark]}e.exports=r;var i={true:"\\\n",false:"  \n"}},function(e,t,n){"use strict";function r(e){return"~~"+this.all(e).join("")+"~~"}e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=t.encode(e.url||"",e),r=t.enterLink(),s=t.encode(t.escape(e.url||"",e)),l=t.all(e).join("");return r(),null!=e.title||!a.test(n)||s!==l&&s!=="mailto:"+l?(n=i(n),e.title&&(n+=" "+o(t.encode(t.escape(e.title,e),e))),"["+l+"]("+n+")"):i(t.encode(e.url),!0)}var i=n(141),o=n(142);e.exports=r;var a=/^[a-z][a-z+.-]+:\/?/i},function(e,t,n){"use strict";function r(e,t){var n,r=0;if(e=String(e),"string"!==typeof t||1!==t.length)throw new Error("Expected character");for(n=e.indexOf(t);-1!==n;)r++,n=e.indexOf(t,n+1);return r}e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=e.referenceType,r=t.enterLinkReference(t,e),a=t.all(e).join("");return r(),"shortcut"!==n&&"collapsed"!==n||(a=i(a,e.identifier)),"["+a+"]"+o(e)}var i=n(741),o=n(249);e.exports=r},function(e,t,n){"use strict";function r(e,t){for(var n,r=e.length,a=t.length,s=[],l=0,u=0;u<r;){for(n=u;u<r&&!o.test(e.charAt(u));)u+=1;for(s.push(e.slice(n,u));l<a&&!o.test(t.charAt(l));)l+=1;for(n=l;l<a&&o.test(t.charAt(l));)"&"===t.charAt(l)&&(l+=i(t.slice(l))),l+=1;for(s.push(t.slice(n,l));u<r&&o.test(e.charAt(u));)u+=1}return s.join("")}var i=n(246);e.exports=r;var o=/[-!"#$%&'()*+,.\/:;<=>?@[\\\]^`{|}~_]/},function(e,t,n){"use strict";function r(e){return"!["+(this.encode(e.alt,e)||"")+"]"+i(e)}var i=n(249);e.exports=r},function(e,t,n){"use strict";function r(e){var t=i(e.url);return e.title&&(t+=" "+o(e.title)),"["+e.identifier+"]: "+t}var i=n(141),o=n(142);e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=i(t.encode(e.url||"",e)),r=t.enterLink(),a=t.encode(t.escape(e.alt||"",e));return r(),e.title&&(n+=" "+o(t.encode(e.title,e))),"!["+a+"]("+n+")"}var i=n(141),o=n(142);e.exports=r},function(e,t,n){"use strict";function r(e){return"[^"+this.all(e).join("")+"]"}e.exports=r},function(e,t,n){"use strict";function r(e){return"[^"+e.identifier+"]"}e.exports=r},function(e,t,n){"use strict";function r(e){return"[^"+e.identifier.toLowerCase()+"]: "+this.all(e).join("\n\n"+i(" ",4))}var i=n(22);e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n,r=this,o=r.options,a=o.looseTable,s=o.spacedTable,l=o.paddedTable,u=o.stringLength,c=e.children,d=c.length,f=r.enterTable(),h=[];d--;)h[d]=r.all(c[d]);return f(),a?(t="",n=""):s?(t="| ",n=" |"):(t="|",n="|"),i(h,{align:e.align,pad:l,start:t,end:n,stringLength:u,delimiter:s?" | ":"|"})}var i=n(749);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n,r,u,T,_,x,k,S,C,O,A,P,I=t||{},R=I.delimiter,N=I.start,M=I.end,D=I.align,L=I.stringLength||o,j=0,W=-1,B=e.length,F=[];for(D=D?D.concat():[],null!==R&&void 0!==R||(R=w+b+w),null!==N&&void 0!==N||(N=b+w),null!==M&&void 0!==M||(M=w+b);++W<B;)for(T=e[W],x=-1,T.length>j&&(j=T.length);++x<j;)k=T[x]?s(T[x]):null,F[x]||(F[x]=g),k>F[x]&&(F[x]=k);for("string"===typeof D&&(D=a(j,D).split("")),x=-1;++x<j;)n=D[x],"string"===typeof n&&(n=n.charAt(0).toLowerCase()),-1===m.indexOf(n)&&(n=p),D[x]=n;for(W=-1,u=[];++W<B;){for(T=e[W],x=-1,_=[];++x<j;)C=T[x],C=i(C),D[x]===h?(k=s(C),S=F[x]+(l.test(C)?0:1)-(L(C)-k),_[x]=C+a(S-1)):_[x]=C;u[W]=_}for(F=[],W=-1;++W<B;)for(_=u[W],x=-1;++x<j;)C=_[x],F[x]||(F[x]=g),(S=L(C))>F[x]&&(F[x]=S);for(W=-1;++W<B;){if(_=u[W],x=-1,!1!==I.pad)for(;++x<j;)C=_[x],k=F[x]-(L(C)||0),O=a(k),D[x]===d||D[x]===h?C=O+C:D[x]===f?(k/=2,k%1===0?(A=k,P=k):(A=k+.5,P=k-.5),C=a(A)+C+a(P)):C+=O,_[x]=C;u[W]=_.join(R)}if(!1!==I.rule){for(x=-1,r=[];++x<j;)!1===I.pad?(C=e[0][x],O=L(i(C)),O=O>g?O:g):O=F[x],n=D[x],C=n===d||n===p?y:v,C+=a(O-2,y),C+=n!==c&&n!==p?v:y,r[x]=C;u.splice(1,0,r.join(R))}return N+u.join(M+E+N)+M}function i(e){return null===e||void 0===e?"":String(e)}function o(e){return String(e).length}function a(e,t){return new Array(e+1).join(t||w)}function s(e){var t=u.exec(e);return t?t.index+1:e.length}e.exports=r;var l=/\./,u=/\.[^.]*$/,c="l",d="r",f="c",h=".",p="",m=[c,d,f,h,p],g=3,v=":",y="-",b="|",w=" ",E="\n"},function(e,t,n){"use strict";function r(e){return this.all(e).join("")}e.exports=r},function(e,t,n){"use strict";e.exports=n(752)},function(e,t,n){"use strict";function r(e,t){function n(e,t){var n,r;return e&&"data"in e&&(n=e.data,"element"===t.type&&n.hName&&(t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties=o(t.properties,n.hProperties)),t.children&&n.hChildren&&(t.children=n.hChildren)),r=e&&e.position?e:{position:e},u(r)||(t.position={start:l.start(r),end:l.end(r)}),t}function r(e,t,r,i){return(void 0===i||null===i)&&"object"===typeof r&&"length"in r&&(i=r,r={}),n(e,{type:"element",tagName:t,properties:r||{},children:i||[]})}function i(e){r.footnotes.push(e)}var a=t||{},d=a.allowDangerousHTML;return r.dangerous=d,r.definition=c(e,a),r.footnotes=[],r.augment=n,r.handlers=o(h,a.handlers||{}),s(e,"footnoteDefinition",i),r}function i(e,t){var n=r(e,t),i=d(n,e),o=f(n);return i&&i.children&&o&&(i.children=i.children.concat(a("text","\n"),o)),i}e.exports=i;var o=n(24),a=n(23),s=n(69),l=n(250),u=n(753),c=n(754),d=n(251),f=n(755),h=n(756)},function(e,t,n){"use strict";function r(e){var t=i(i(e).position),n=i(t.start),r=i(t.end);return!n.line||!n.column||!r.line||!r.column}function i(e){return e&&"object"===typeof e?e:{}}e.exports=r},function(e,t,n){"use strict";function r(e,t){return o(i(e,t))}function i(e,t){function n(e){var t=a(e.identifier);l.call(i,t)||(i[t]=e)}function r(e){i[a(e.identifier)]=e}var i={};if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return s(e,"definition",t&&t.commonmark?n:r),i}function o(e){function t(t){var n=t&&a(t);return n&&l.call(e,n)?e[n]:null}return t}function a(e){return e.toUpperCase()}var s=n(69);e.exports=r;var l={}.hasOwnProperty},function(e,t,n){"use strict";function r(e){var t,n=e.footnotes,r=n.length,s=-1,l=[];if(!r)return null;for(;++s<r;)t=n[s],l[s]={type:"listItem",data:{hProperties:{id:"fn-"+t.identifier}},children:t.children.concat({type:"link",url:"#fnref-"+t.identifier,data:{hProperties:{className:["footnote-backref"]}},children:[{type:"text",value:"\u21a9"}]}),position:t.position};return e(null,"div",{className:["footnotes"]},a([i(e),o(e,{type:"list",ordered:!0,children:l})],!0))}e.exports=r;var i=n(252),o=n(253),a=n(57)},function(e,t,n){"use strict";function r(){return null}e.exports={blockquote:n(757),break:n(758),code:n(759),delete:n(761),emphasis:n(762),footnoteReference:n(254),footnote:n(763),heading:n(764),html:n(765),imageReference:n(766),image:n(767),inlineCode:n(768),linkReference:n(769),link:n(770),listItem:n(771),list:n(253),paragraph:n(772),root:n(773),strong:n(774),table:n(775),text:n(776),thematicBreak:n(252),toml:r,yaml:r,definition:r,footnoteDefinition:r}},function(e,t,n){"use strict";function r(e,t){return e(t,"blockquote",i(o(e,t),!0))}e.exports=r;var i=n(57),o=n(17)},function(e,t,n){"use strict";function r(e,t){return[e(t,"br"),i("text","\n")]}e.exports=r;var i=n(23)},function(e,t,n){"use strict";function r(e,t){var n=t.value?i(t.value+"\n"):"",r=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),a={};return r&&(a.className=["language-"+r]),e(t.position,"pre",[e(t,"code",a,[o("text",n)])])}e.exports=r;var i=n(760),o=n(23)},function(e,t,n){"use strict";function r(e,t){var n,r,l="string"===typeof e,u=l&&e.length,c=0,d=-1,f=-1,h=t||4,p=[];if(!l)throw new Error("detab expected string");for(;++d<u;)n=e.charCodeAt(d),n===o?(r=h-(f+1)%h,f+=r,p.push(e.slice(c,d)+i(" ",r)),c=d+1):n===a||n===s?f=-1:f++;return p.push(e.slice(c)),p.join("")}e.exports=r;var i=n(22),o=9,a=10,s=13},function(e,t,n){"use strict";function r(e,t){return e(t,"del",i(e,t))}e.exports=r;var i=n(17)},function(e,t,n){"use strict";function r(e,t){return e(t,"em",i(e,t))}e.exports=r;var i=n(17)},function(e,t,n){"use strict";function r(e,t){for(var n=[],r=1,o=e.footnotes,a=o.length,s=-1;++s<a;)n[s]=o[s].identifier;for(;-1!==n.indexOf(String(r));)r++;return r=String(r),o.push({type:"footnoteDefinition",identifier:r,children:[{type:"paragraph",children:t.children}],position:t.position}),i(e,{type:"footnoteReference",identifier:r,position:t.position})}e.exports=r;var i=n(254)},function(e,t,n){"use strict";function r(e,t){return e(t,"h"+t.depth,i(e,t))}e.exports=r;var i=n(17)},function(e,t,n){"use strict";function r(e,t){return e.dangerous?e.augment(t,i("raw",t.value)):null}e.exports=r;var i=n(23)},function(e,t,n){"use strict";function r(e,t){var n=e.definition(t.identifier),r={src:i(n&&n.url||""),alt:t.alt};return n&&null!==n.title&&void 0!==n.title&&(r.title=n.title),o(e,t,n)||e(t,"img",r)}e.exports=r;var i=n(90),o=n(255)},function(e,t,n){"use strict";function r(e,t){var n={src:i(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"img",n)}var i=n(90);e.exports=r},function(e,t,n){"use strict";function r(e,t){return e(t,"code",[o("text",i(t.value))])}e.exports=r;var i=n(241),o=n(23)},function(e,t,n){"use strict";function r(e,t){var n=e.definition(t.identifier),r={href:i(n&&n.url||"")};return n&&null!==n.title&&void 0!==n.title&&(r.title=n.title),o(e,t,n)||e(t,"a",r,a(e,t))}e.exports=r;var i=n(90),o=n(255),a=n(17)},function(e,t,n){"use strict";function r(e,t){var n={href:i(t.url)};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"a",n,o(e,t))}var i=n(90),o=n(17);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,s,l=t.children,u=l[0],c={},d=!1;return n&&n.loose||1!==l.length||"paragraph"!==u.type||(d=!0),r=a(e,d?u:t),"boolean"===typeof t.checked&&(d||u&&"paragraph"===u.type||r.unshift(e(null,"p",[])),s=d?r:r[0].children,0!==s.length&&s.unshift(i("text"," ")),s.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),c.className=["task-list-item"]),d||0===r.length||(r=o(r,!0)),e(t,"li",c,r)}e.exports=r;var i=n(23),o=n(57),a=n(17)},function(e,t,n){"use strict";function r(e,t){return e(t,"p",i(e,t))}e.exports=r;var i=n(17)},function(e,t,n){"use strict";function r(e,t){return e.augment(t,i("root",o(a(e,t))))}e.exports=r;var i=n(23),o=n(57),a=n(17)},function(e,t,n){"use strict";function r(e,t){return e(t,"strong",i(e,t))}e.exports=r;var i=n(17)},function(e,t,n){"use strict";function r(e,t){for(var n,r,s,l,u,c=t.children,d=c.length,f=t.align,h=f.length,p=[];d--;){for(r=c[d].children,l=0===d?"th":"td",n=h,s=[];n--;)u=r[n],s[n]=e(u,l,{align:f[n]},u?a(e,u):[]);p[d]=e(c[d],"tr",o(s,!0))}return e(t,"table",o([e(p[0].position,"thead",o([p[0]],!0)),e({start:i.start(p[1]),end:i.end(p[p.length-1])},"tbody",o(p.slice(1),!0))],!0))}e.exports=r;var i=n(250),o=n(57),a=n(17)},function(e,t,n){"use strict";function r(e,t){return e.augment(t,i("text",o(t.value)))}e.exports=r;var i=n(23),o=n(777)},function(e,t,n){"use strict";function r(e){return String(e).replace(i,o)}e.exports=r;var i=/[ \t]*\n+[ \t]*/g,o="\n"},function(e,t,n){"use strict";e.exports=n(779)},function(e,t,n){"use strict";function r(e,t){var n,r={type:"root",children:[]};return e&&"object"===typeof e&&e.type?(n=i(v(y,t||{}),e,[]),n?"length"in n?1===n.length?n[0]:(r.children=n,r):n:r):r}function i(e,t,n){var r,i,o,a,s=t&&t.type,l={type:t.type},u=!0;if(b.call(w,s))if(r=w[s],"function"===typeof r&&(r=r(e,t)),r){i=v(r,w["*"]);for(a in i)o=i[a](e,t[a],t,n),!1===o?(u=!1,l[a]=t[a]):null!==o&&void 0!==o&&(l[a]=o)}else u=!1;else u=!1;return u?l:l.children&&0!==l.children.length&&-1===e.strip.indexOf(l.tagName)?l.children:null}function o(e,t,n,r){var o,a=t||[],s=a.length||0,l=[],u=-1;for(r=r.concat(n.tagName);++u<s;)(o=i(e,a[u],r))&&("length"in o?l=l.concat(o):l.push(o));return l}function a(e,t,n,r){var i,o,a,u=d(e,n.tagName,n,r),c=e.attributes,f=t||{},h={};i=b.call(c,u)?c[u]:[],i=[].concat(i,c["*"]);for(o in f)a=f[o],(-1!==i.indexOf(o)||g(o)&&-1!==i.indexOf("data*"))&&null!==(a=a&&"object"===typeof a&&"length"in a?s(e,a,o):l(e,a,o))&&void 0!==a&&(h[o]=a);return h}function s(e,t,n){for(var r,i=t.length,o=[],a=-1;++a<i;)null!==(r=l(e,t[a],n))&&void 0!==r&&o.push(r);return o}function l(e,t,n){return"boolean"!==typeof t&&"number"!==typeof t&&"string"!==typeof t?null:u(e,t,n)?(-1!==e.clobber.indexOf(n)&&(t=e.clobberPrefix+t),t):null}function u(e,t,n){var r,i,o,a,s,l=e.protocols;if(l=b.call(l,n)?l[n].concat():[],0===l.length)return!0;if(t=String(t),"#"===(i=t.charAt(0))||"/"===i)return!0;if(-1===(o=t.indexOf(":")))return!0;for(a=l.length,s=-1;++s<a;)if(r=l[s],o===r.length&&t.slice(0,r.length)===r)return!0;return-1!==(s=t.indexOf("?"))&&o>s||-1!==(s=t.indexOf("#"))&&o>s}function c(){return"html"}function d(e,t,n,r){var i,o,a="string"===typeof t?t:null,s=e.ancestors;if(!a||"*"===a||-1===e.tagNames.indexOf(a))return!1;if(s=b.call(s,a)?s[a]:[],0!==s.length)for(i=s.length+1,o=-1;++o<i;){if(!s[o])return!1;if(-1!==r.indexOf(s[o]))break}return a}function f(e){return e.allowDoctypes?{name:c}:null}function h(e){return e.allowComments?{value:p}:null}function p(e,t){return"string"===typeof t?t:""}function m(e,t){return t}function g(e){return e.length>4&&"data"===e.slice(0,4).toLowerCase()}var v=n(24),y=n(780);e.exports=r;var b={}.hasOwnProperty,w={root:{children:o},doctype:f,comment:h,element:{tagName:d,properties:a,children:o},text:{value:p},"*":{data:m,position:m}}},function(e,t){e.exports={strip:["script"],clobberPrefix:"user-content-",clobber:["name","id"],ancestors:{li:["ol","ul"],tbody:["table"],tfoot:["table"],thead:["table"],td:["table"],th:["table"],tr:["table"]},protocols:{href:["http","https","mailto"],cite:["http","https"],src:["http","https"],longDesc:["http","https"]},tagNames:["h1","h2","h3","h4","h5","h6","h7","h8","br","b","i","strong","em","a","pre","code","img","tt","div","ins","del","sup","sub","p","ol","ul","table","thead","tbody","tfoot","blockquote","dl","dt","dd","kbd","q","samp","var","hr","ruby","rt","rp","li","tr","td","th","s","strike","summary","details"],attributes:{a:["href"],img:["src","longDesc"],div:["itemScope","itemType"],blockquote:["cite"],del:["cite"],ins:["cite"],q:["cite"],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charoff","charSet","checked","clear","cols","colSpan","color","compact","coords","dateTime","dir","disabled","encType","htmlFor","frame","headers","height","hrefLang","hspace","isMap","id","label","lang","maxLength","media","method","multiple","name","nohref","noshade","nowrap","open","prompt","readOnly","rel","rev","rows","rowSpan","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","type","useMap","valign","value","vspace","width","itemProp"]}}},function(e,t,n){"use strict";function r(e,t,n){var r,o;if("function"!==typeof e)throw new Error("h is not a function");if(r=a(e),o=l(e),null!==n&&void 0!==n||(n=(!0===r||!0===o)&&"h-"),b("root",t))t=1===t.children.length&&b("element",t.children[0])?t.children[0]:{type:"element",tagName:"div",properties:{},children:t.children};else if(!b("element",t))throw new Error("Expected root or element, not `"+(t&&t.type||t)+"`");return i(e,t,{prefix:n,key:0,react:r,vdom:o,hyperscript:s(e)})}function i(e,t,n){var r,a,s,l,c,d,f,h,p=t.tagName;r=t.properties,a={};for(l in r)o(a,l,r[l],n);for(!0===n.vdom&&(p=p.toUpperCase()),!0===n.hyperscript&&a.id&&(p+="#"+a.id,delete a.id),!0!==n.hyperscript&&!0!==n.vdom||!a.className||(p+="."+g.parse(a.className).join("."),delete a.className),"string"===typeof a.style&&(!0===n.vdom?(a.attributes||(a.attributes={}),a.attributes.style=a.style,delete a.style):!0===n.react&&(a.style=u(a.style))),n.prefix&&(n.key++,a.key=n.prefix+n.key),c=[],s=t.children||[],d=s.length,f=-1;++f<d;)h=s[f],b("element",h)?c.push(i(e,h,n)):b("text",h)&&c.push(h.value);return 0===c.length?e(p,a):e(p,a,c)}function o(e,t,n,r){var i,o=m(t)||{};if(!(null===n||void 0===n||!1===n||y(n)||o.boolean&&!n)){if(t=o.name?o.name:r.react&&!c(t)?d(t):p(t),null!==n&&"object"===typeof n&&"length"in n&&(n=(o.commaSeparated?v:g).stringify(n)),o.boolean&&!0===r.hyperscript&&(n=""),"class"!==o.name&&(o.mustUseAttribute||!o.name)&&(!0===r.vdom?i="attributes":!0===r.hyperscript&&(i="attrs"),i))return void 0===e[i]&&(e[i]={}),void(e[i][t]=n);e[o.propertyName||t]=n}}function a(e){var t=e&&e("div");return Boolean(t&&("_owner"in t||"_store"in t)&&null===t.key)}function s(e){return Boolean(e&&e.context&&e.cleanup)}function l(e){try{return"VirtualNode"===e("div").type}catch(e){}return!1}function u(e){for(var t,n,r,i={},o=e.split(";"),a=o.length,s=-1;++s<a;)t=o[s],-1!==(r=t.indexOf(":"))&&(n=d(h(t.slice(0,r))),i[n]=h(t.slice(r+1)));return i}function c(e){var t=e.slice(0,4);return("data"===t||"aria"===t)&&e.length>4}function d(e){return"-ms-"===e.slice(0,4)&&(e="ms-"+e.slice(4)),e.replace(/-([a-z])/g,f)}function f(e,t){return t.toUpperCase()}var h=n(27),p=n(782),m=n(783),g=n(784),v=n(785),y=n(786),b=n(238);e.exports=r},function(e,t,n){"use strict";var r=/[A-Z\u00C0-\u00D6\u00D8-\u00DE]/g,i=/-[a-z\u00E0-\u00F6\u00F8-\u00FE]/g;e.exports=t=function(e){return e.replace(r,function(e){return"-"+e.toLowerCase()})},t.reverse=function(e){return e.replace(i,function(e){return e.slice(1).toUpperCase()})}},function(e,t,n){"use strict";function r(e){var t=o(e);return d[c[t]||t]}function i(e,t){return(e&t)===t}function o(e){return e.toLowerCase()}e.exports=r;var a,s,l,u={abbr:null,accept:256,acceptCharset:128,accessKey:128,action:null,allowFullScreen:9,allowTransparency:1,alt:null,as:null,async:8,autoComplete:128,autoFocus:8,autoPlay:8,capture:9,cellPadding:null,cellSpacing:null,challenge:1,charSet:1,checked:10,cite:null,className:129,cols:49,colSpan:null,command:null,content:null,contentEditable:null,contextMenu:1,controls:10,controlsList:128,coords:272,crossOrigin:null,data:null,dateTime:1,default:8,defer:8,dir:null,dirName:null,disabled:9,download:64,draggable:null,dropzone:128,encType:null,form:1,formAction:1,formEncType:1,formMethod:1,formNoValidate:8,formTarget:1,frameBorder:1,headers:128,height:49,hidden:9,high:16,href:null,hrefLang:null,htmlFor:128,httpEquiv:128,id:2,inputMode:1,is:1,isMap:8,keyParams:1,keyType:1,kind:null,label:null,lang:null,list:1,loop:10,low:16,manifest:1,marginHeight:16,marginWidth:16,max:null,maxLength:49,media:1,mediaGroup:null,menu:null,method:null,min:null,minLength:49,multiple:10,muted:10,name:null,nonce:null,noValidate:8,open:8,optimum:16,pattern:null,ping:128,placeholder:null,playsInline:8,poster:null,preload:null,profile:null,radioGroup:null,readOnly:10,referrerPolicy:null,rel:129,required:8,reversed:8,role:1,rows:49,rowSpan:48,sandbox:128,scope:null,scoped:8,scrolling:null,seamless:9,selected:10,shape:null,size:49,sizes:129,slot:null,sortable:8,sorted:128,span:48,spellCheck:null,src:null,srcDoc:2,srcLang:null,srcSet:257,start:16,step:null,style:null,summary:null,tabIndex:16,target:null,title:null,translate:null,type:null,typeMustMatch:8,useMap:null,value:2,volume:48,width:17,wmode:1,wrap:null,autoCapitalize:null,autoCorrect:null,autoSave:null,itemProp:129,itemScope:9,itemType:129,itemID:1,itemRef:129,property:null,results:null,security:1,unselectable:1,xmlLang:1,xmlBase:1},c={xmlbase:"xml:base",xmllang:"xml:lang",classname:"class",htmlfor:"for",httpequiv:"http-equiv",acceptcharset:"accept-charset"},d={};r.all=d;for(a in u)s=o(a),s=c[s]||s,l=u[a],d[s]={name:s,propertyName:a,mustUseAttribute:i(l,1),mustUseProperty:i(l,2),boolean:i(l,8),overloadedBoolean:i(l,64),numeric:i(l,16),positiveNumeric:i(l,48),commaSeparated:i(l,256),spaceSeparated:i(l,128)}},function(e,t,n){"use strict";function r(e){var t=o(String(e||a));return t===a?[]:t.split(l)}function i(e){return o(e.join(s))}var o=n(27);t.parse=r,t.stringify=i;var a="",s=" ",l=/[ \t\n\r\f]+/g},function(e,t,n){"use strict";function r(e){for(var t,n=[],r=String(e||l),i=r.indexOf(a),s=0,u=!1;!u;)-1===i&&(i=r.length,u=!0),t=o(r.slice(s,i)),!t&&u||n.push(t),s=i+1,i=r.indexOf(a,s);return n}function i(e,t){var n=t||{},r=!1===n.padLeft?l:s,i=n.padRight?s:l;return e[e.length-1]===l&&(e=e.concat(l)),o(e.join(i+a+r))}t.parse=r,t.stringify=i;var o=n(27),a=",",s=" ",l=""},function(e,t,n){"use strict";var r=n(256),i=n(257);r(i,{getPolyfill:n(258),implementation:i,shim:n(790)}),e.exports=i},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=Array.prototype.slice,a=n(788),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),u=s.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},f={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"===typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&r.call(window,e)&&null!==window[e]&&"object"===typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),p=function(e){if("undefined"===typeof window||!h)return d(e);try{return d(e)}catch(e){return!1}},m=function(e){var t=null!==e&&"object"===typeof e,n="[object Function]"===i.call(e),o=a(e),s=t&&"[object String]"===i.call(e),d=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var f=u&&n;if(s&&e.length>0&&!r.call(e,0))for(var h=0;h<e.length;++h)d.push(String(h));if(o&&e.length>0)for(var m=0;m<e.length;++m)d.push(String(m));else for(var g in e)f&&"prototype"===g||!r.call(e,g)||d.push(String(g));if(l)for(var v=p(e),y=0;y<c.length;++y)v&&"constructor"===c[y]||!r.call(e,c[y])||d.push(c[y]);return d};m.shim=function(){if(Object.keys){if(!function(){return 2===(Object.keys(arguments)||"").length}(1,2)){var e=Object.keys;Object.keys=function(t){return e(a(t)?o.call(t):t)}}}else Object.keys=m;return Object.keys||m},e.exports=m},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t){var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,t,i){if("[object Function]"!==r.call(t))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var a=0;a<o;a++)t.call(i,e[a],a,e);else for(var s in e)n.call(e,s)&&t.call(i,e[s],s,e)}},function(e,t,n){"use strict";var r=n(256),i=n(258);e.exports=function(){var e=i();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},function(e,t,n){"use strict";function r(e){if("tr"===e.tagName||"td"===e.tagName||"th"===e.tagName){var t,n;for(t in s)a.call(s,t)&&void 0!==e.properties[t]&&(n=s[t],i(e,n,e.properties[t]),delete e.properties[t])}}function i(e,t,n){var r=(e.properties.style||"").trim();r&&!/;\s*/.test(r)&&(r+=";"),r&&(r+=" ");var i=r+t+": "+n+";";e.properties.style=i}var o=n(69),a=Object.prototype.hasOwnProperty,s={align:"text-align",valign:"vertical-align",height:"height",width:"width"};e.exports=function(e){return o(e,"element",r),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 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 o(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)}n.d(t,"a",function(){return h});var a=n(1),s=n.n(a),l=n(86),u=n(67),c=n(32),d=(n.n(c),n(793)),f=(n.n(d),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),h=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={spyArr:[],positions:{},x:window.innerWidth/3},window.addEventListener("resize",function(){n.mounted&&n.setState({x:window.innerWidth/3})}),n.unselectedColor="#9c81d0",n.selectedColor="#420dab",n}return o(t,e),f(t,[{key:"componentWillMount",value:function(){this.setState({spyArr:this.props.spyArr,positions:this.props.positions}),this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"componentWillReceiveProps",value:function(e){var t=e.spyArr,n=e.positions;this.setState({spyArr:t,positions:n})}},{key:"render",value:function(){var e=this,t=this.state.spyArr.map(function(t){var n=t.data.split("\n"),r=n[1];return{sectionTitle:n[2],sectionY:e.state.positions["spy-"+r],href:"#"+r}});t=t.reduce(function(e,t,n){var r=!1;return 0===n?r=!0:t.sectionY<66&&(e[n-1].active=!1,r=!0),e.push(Object.assign({},t,{active:r})),e},[]);var n=void 0,r=this.state.x;return n=r<350?16:r<400?18:r<500?22:r<525?27:r<550?29:r<600?32:35,s.a.createElement("div",{style:{paddingTop:15,position:"sticky",top:60}},s.a.createElement("div",{style:{position:"absolute",width:7,height:40*(t.length-1),marginTop:10,bottom:10,left:24.5,zIndex:-1,backgroundColor:this.unselectedColor}}),t.map(function(t,r){return s.a.createElement("div",{key:"spybar-"+r,style:{marginTop:10,height:30,width:"auto"}},s.a.createElement(c.Grid,{fluid:!0},s.a.createElement("a",{style:{textDecoration:"none",color:"black"},href:t.href,onClick:e.props.updateDim},s.a.createElement(c.Row,{middle:"xs"},s.a.createElement("span",{style:{color:t.active?e.selectedColor:e.unselectedColor,width:40,height:40,textAlign:"center",fontSize:t.active?20:15,transition:"font-size 0.5s, opacity 0.5s",lineHeight:"40px"}},s.a.createElement(u.a,{icon:l.d,style:{margin:"auto"}})),s.a.createElement("span",{style:{fontSize:t.active?20:15,opacity:t.active?1:.5,fontFamily:"RalewayBold",transition:"font-size 0.5s, opacity 0.5s",lineHeight:"40px",textOverflow:"ellipsis"}},t.sectionTitle.length>n?t.sectionTitle.substring(0,n-3)+"...":t.sectionTitle)))))}))}}]),t}(a.Component)},function(e,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 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 o(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)}n.d(t,"a",function(){return x});var a=n(1),s=n.n(a),l=n(104),u=n.n(l),c=n(219),d=n.n(c),f=n(220),h=n.n(f),p=n(19),m=n.n(p),g=n(87),v=n.n(g),y=n(89),b=n.n(y),w=n(40),E=n.n(w),T=n(795),_=(n.n(T),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),x=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=function(e,t){n.props.updateDim(),n.setState({value:t})},n.state={value:0,tabObjs:[]},n}return o(t,e),_(t,[{key:"componentWillMount",value:function(){this.setState({tabObjs:this.props.tabObjs})}},{key:"componentWillReceiveProps",value:function(e){var t=e.tabObjs;this.setState({tabObjs:t})}},{key:"render",value:function(){var e=this,t=this.state.tabObjs;return s.a.createElement("div",{style:{margin:"auto",marginTop:20,marginBottom:20,width:"95%"}},s.a.createElement(u.a,{position:"static"},s.a.createElement(d.a,{value:this.state.value,onChange:this.handleChange,style:{width:"100%"},scrollable:!0,scrollButtons:"auto"},t.map(function(e,t){return s.a.createElement(h.a,{key:"tab"+t,value:t,label:e.title})}))),t.map(function(t,n){return s.a.createElement(m.a,{component:"div",style:{backgroundColor:"white",border:"1px solid gray",borderBottomLeftRadius:5,borderBottomRightRadius:5,padding:24,display:e.state.value===n?"":"none",transition:"display 0.5s",lineHeight:"normal",width:"100%"},key:"tabC"+n},s.a.createElement(E.a,{clear:!0,when:e.state.value===n,duration:500,cascade:!0},s.a.createElement("div",{style:{fontSize:"16px"},className:"tabsContent"},v()().use(b.a).processSync(t.data).contents)))}))}}]),t}(a.Component)},function(e,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 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 o(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)}n.d(t,"a",function(){return u});var a=n(1),s=n.n(a),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),l(t,[{key:"render",value:function(){return s.a.createElement("div",{style:{margin:"auto",textAlign:"center"}},s.a.createElement("embed",{src:this.props.pdfLink,style:{width:"90%",height:1e3}}))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return f});var a=n(1),s=n.n(a),l=n(798),u=n(800),c=n.n(u),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.openLightbox=function(e,t){n.setState({currentImage:t.index,lightboxIsOpen:!0})},n.closeLightbox=function(){n.setState({currentImage:0,lightboxIsOpen:!1})},n.gotoPrevious=function(){n.setState({currentImage:n.state.currentImage-1})},n.gotoNext=function(){n.setState({currentImage:n.state.currentImage+1})},n.state={currentImage:0,photos:e.photos},n}return o(t,e),d(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.photos;this.setState({photos:t})}},{key:"render",value:function(){var e=this.state,t=e.photos,n=e.currentImage;return s.a.createElement("div",null,s.a.createElement(l.a,{photos:t,onClick:this.openLightbox}),s.a.createElement(c.a,{images:t,onClose:this.closeLightbox,onClickPrev:this.gotoPrevious,onClickNext:this.gotoNext,currentImage:n,isOpen:this.state.lightboxIsOpen}))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e,t){return t||(t=0),Number(Math.round(e+"e"+t)+"e-"+t)}function i(e){return r(e.width/e.height,2)}function o(e){var t=e.photos,n=e.columns,o=e.width,a=e.margin;if(!o)return[];var s=t.reduce(function(e,t,r){var i=Math.floor(r/n);return e[i]=e[i]?[].concat(y(e[i]),[t]):[t],e},[]),l=[];return s.map(function(e,u){var c=e.reduce(function(e,t){return e+i(t)},0),d=o-e.length*(2*a);u!==s.length-1&&l.push(c);var f=e.length===n?d/c:t.length<n?d/c*(e.length/n):d/(l.reduce(function(e,t){return e+t},0)/(s.length-1));return e.map(function(e){return p({},e,{height:r(f,1),width:r(f*i(e),1)})})}).reduce(function(e,t){return[].concat(y(e),y(t))},[])}function a(e){for(var t=e.photos,n=e.columns,i=e.width,o=e.margin,a=(i-2*o*n)/n,s=t.map(function(e){var t=e.height/e.width*a;return p({},e,{width:r(a,1),height:r(t,1)})}),l=[],u=[],c=0;c<n;c++)l[c]=r(c*(a+2*o),1),u[c]=0;return s.map(function(e){var t=u.reduce(function(e,t,n){return e=t<u[e]?n:e},0);e.top=u[t],e.left=l[t],u[t]=u[t]+e.height+2*o;var n=u.reduce(function(e,t,n){return e=t>u[e]?n:e},0);return e.containerHeight=u[n],e})}var s=n(1),l=n.n(s),u=n(2),c=n.n(u),d=n(799),f=(function(){function e(e){this.value=e}function t(t){function n(e,t){return new Promise(function(n,i){var s={key:e,arg:t,resolve:n,reject:i,next:null};a?a=a.next=s:(o=a=s,r(e,t))})}function r(n,o){try{var a=t[n](o),s=a.value;s instanceof e?Promise.resolve(s.value).then(function(e){r("next",e)},function(e){r("throw",e)}):i(a.done?"return":"normal",a.value)}catch(e){i("throw",e)}}function i(e,t){switch(e){case"return":o.resolve({value:t,done:!0});break;case"throw":o.reject(t);break;default:o.resolve({value:t,done:!1})}o=o.next,o?r(o.key,o.arg):a=null}var o,a;this._invoke=n,"function"!==typeof t.return&&(this.return=void 0)}"function"===typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},g=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},v=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},y=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},b={cursor:"pointer"},w=function(e){var t=e.index,n=e.onClick,r=e.photo,i=e.margin,o=e.direction,a=e.top,s=e.left,u={margin:i};"column"===o&&(u.position="absolute",u.left=s,u.top=a);var c=function(e){n(e,{photo:r,index:t})};return l.a.createElement("img",p({style:n?p({},u,b):u},r,{onClick:n?c:null}))},E=c.a.shape({src:c.a.string.isRequired,width:c.a.number.isRequired,height:c.a.number.isRequired,alt:c.a.string,title:c.a.string,srcSet:c.a.oneOfType([c.a.string,c.a.array]),sizes:c.a.oneOfType([c.a.string,c.a.array])});w.propTypes={index:c.a.number.isRequired,onClick:c.a.func,photo:E.isRequired,margin:c.a.number,top:function(e){if("column"===e.direction&&"number"!==typeof e.top)return new Error("top is a required number when direction is set to `column`")},left:function(e){if("column"===e.direction&&"number"!==typeof e.left)return new Error("left is a required number when direction is set to `column`")},direction:c.a.string};var T=function(e){function t(){var e,n,r,i;f(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=r=v(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={containerWidth:0},r.handleClick=function(e,t){var n=t.index,i=r.props,o=i.photos;(0,i.onClick)(e,{index:n,photo:o[n],previous:o[n-1]||null,next:o[n+1]||null})},i=n,v(r,i)}return m(t,e),h(t,[{key:"componentDidMount",value:function(){var e=this;this.observer=new d.a(function(t){var n=t[0].contentRect.width;e.state.containerWidth!==n&&e.setState({containerWidth:Math.floor(n)})}),this.observer.observe(this._gallery)}},{key:"componentWillUnmount",value:function(){this.observer.disconnect()}},{key:"render",value:function(){var e=this,t=this.state.containerWidth;if(!t)return l.a.createElement("div",{ref:function(t){return e._gallery=t}});var n=this.props.ImageComponent,r=void 0===n?w:n,i=this.props,s=i.margin,u=i.onClick,c=i.direction,d=this.props.columns;void 0===d&&(d=1,t>=500&&(d=2),t>=900&&(d=3),t>=1500&&(d=4));var f=this.props.photos,h=t-1,p=void 0,m=void 0;return"row"===c&&(p={display:"flex",flexWrap:"wrap",flexDirection:"row"},m=o({width:h,columns:d,margin:s,photos:f})),"column"===c&&(p={position:"relative"},m=a({width:h,columns:d,margin:s,photos:f}),p.height=m[m.length-1].containerHeight),l.a.createElement("div",{className:"react-photo-gallery--gallery"},l.a.createElement("div",{ref:function(t){return e._gallery=t},style:p},m.map(function(t,n){var i=t.left,o=t.top,a=(t.containerHeight,g(t,["left","top","containerHeight"]));return l.a.createElement(r,{key:t.key||t.src,margin:s,index:n,photo:a,direction:c,left:i,top:o,onClick:u?e.handleClick:null})})))}}]),t}(l.a.Component);T.propTypes={photos:c.a.arrayOf(E).isRequired,direction:c.a.string,onClick:c.a.func,columns:c.a.number,margin:c.a.number,ImageComponent:c.a.func},T.defaultProps={margin:2,direction:"row"},t.a=T},function(e,t,n){"use strict";(function(e){function n(e){return parseFloat(e)||0}function r(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return t.reduce(function(t,r){return t+n(e["border-"+r+"-width"])},0)}function i(e){for(var t=["top","right","bottom","left"],r={},i=0,o=t;i<o.length;i+=1){var a=o[i],s=e["padding-"+a];r[a]=n(s)}return r}function o(e){var t=e.getBBox();return c(0,0,t.width,t.height)}function a(e){var t=e.clientWidth,o=e.clientHeight;if(!t&&!o)return T;var a=E(e).getComputedStyle(e),l=i(a),u=l.left+l.right,d=l.top+l.bottom,f=n(a.width),h=n(a.height);if("border-box"===a.boxSizing&&(Math.round(f+u)!==t&&(f-=r(a,"left","right")+u),Math.round(h+d)!==o&&(h-=r(a,"top","bottom")+d)),!s(e)){var p=Math.round(f+u)-t,m=Math.round(h+d)-o;1!==Math.abs(p)&&(f-=p),1!==Math.abs(m)&&(h-=m)}return c(l.left,l.top,f,h)}function s(e){return e===E(e).document.documentElement}function l(e){return f?_(e)?o(e):a(e):T}function u(e){var t=e.x,n=e.y,r=e.width,i=e.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return w(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}function c(e,t,n,r){return{x:e,y:t,width:n,height:r}}var d=function(){function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return"undefined"!==typeof Map?Map:function(){function t(){this.__entries__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){var n=this;void 0===t&&(t=null);for(var r=0,i=n.__entries__;r<i.length;r+=1){var o=i[r];e.call(t,o[1],o[0])}},Object.defineProperties(t.prototype,n),t}()}(),f="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,h=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),p=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(h):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),m=2,g=function(e,t){function n(){o&&(o=!1,e()),a&&i()}function r(){p(n)}function i(){var e=Date.now();if(o){if(e-s<m)return;a=!0}else o=!0,a=!1,setTimeout(r,t);s=e}var o=!1,a=!1,s=0;return i},v=["top","right","bottom","left","width","height","size","weight"],y="undefined"!==typeof MutationObserver,b=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=g(this.refresh.bind(this),20)};b.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},b.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},b.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},b.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},b.prototype.connect_=function(){f&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),y?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},b.prototype.disconnect_=function(){f&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},b.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),v.some(function(e){return!!~t.indexOf(e)})&&this.refresh()},b.getInstance=function(){return this.instance_||(this.instance_=new b),this.instance_},b.instance_=null;var w=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n+=1){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},E=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||h},T=c(0,0,0,0),_=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof E(e).SVGGraphicsElement}:function(e){return e instanceof E(e).SVGElement&&"function"===typeof e.getBBox}}(),x=function(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=c(0,0,0,0),this.target=e};x.prototype.isActive=function(){var e=l(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},x.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var k=function(e,t){var n=u(t);w(this,{target:e,contentRect:n})},S=function(e,t,n){if(this.activeObservations_=[],this.observations_=new d,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n};S.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof E(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new x(e)),this.controller_.addObserver(this),this.controller_.refresh())}},S.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof E(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},S.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},S.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},S.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new k(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},S.prototype.clearActive=function(){this.activeObservations_.splice(0)},S.prototype.hasActive=function(){return this.activeObservations_.length>0};var C="undefined"!==typeof WeakMap?new WeakMap:new d,O=function(e){if(!(this instanceof O))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=b.getInstance(),n=new S(e,t,this);C.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){O.prototype[e]=function(){return(t=C.get(this))[e].apply(t,arguments);var t}});var A=function(){return"undefined"!==typeof h.ResizeObserver?h.ResizeObserver:O}();t.a=A}).call(t,n(18))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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)}function s(e){var t=e.srcSet||e.srcset;return Array.isArray(t)?t.join():t}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(2),c=r(u),d=n(1),f=r(d),h=n(259),p=n(816),m=r(p),g=n(41),v=r(g),y=n(266),b=r(y),w=n(825),E=r(w),T=n(826),_=r(T),x=n(827),k=r(x),S=n(828),C=r(S),O=n(830),A=r(O),P=n(838),I=r(P),R=n(839),N=r(R),M=n(840),D=r(M),L=n(58),j=r(L),W=function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.theme=(0,j.default)(v.default,e.theme),n.classes=h.StyleSheet.create((0,j.default)(B,n.theme)),n.state={imageLoaded:!1},N.default.call(n,["gotoNext","gotoPrev","closeBackdrop","handleKeyboardInput","handleImageLoaded"]),n}return a(t,e),l(t,[{key:"getChildContext",value:function(){return{theme:this.theme}}},{key:"componentDidMount",value:function(){this.props.isOpen&&(this.props.enableKeyboardInput&&window.addEventListener("keydown",this.handleKeyboardInput),"number"===typeof this.props.currentImage&&this.preloadImage(this.props.currentImage,this.handleImageLoaded))}},{key:"componentWillReceiveProps",value:function(e){if(D.default){if(e.preloadNextImage){var t=this.props.currentImage,n=e.currentImage+1,r=e.currentImage-1,i=void 0;t&&e.currentImage>t?i=n:t&&e.currentImage<t&&(i=r),i?this.preloadImage(i):(this.preloadImage(r),this.preloadImage(n))}if(this.props.currentImage!==e.currentImage||!this.props.isOpen&&e.isOpen){var o=this.preloadImageData(e.images[e.currentImage],this.handleImageLoaded);o&&this.setState({imageLoaded:o.complete})}!this.props.isOpen&&e.isOpen&&e.enableKeyboardInput&&window.addEventListener("keydown",this.handleKeyboardInput),!e.isOpen&&e.enableKeyboardInput&&window.removeEventListener("keydown",this.handleKeyboardInput)}}},{key:"componentWillUnmount",value:function(){this.props.enableKeyboardInput&&window.removeEventListener("keydown",this.handleKeyboardInput)}},{key:"preloadImage",value:function(e,t){return this.preloadImageData(this.props.images[e],t)}},{key:"preloadImageData",value:function(e,t){if(e){var n=new Image,r=s(e);return n.onerror=t,n.onload=t,n.src=e.src,r&&(n.srcset=r),n}}},{key:"gotoNext",value:function(e){var t=this.props,n=t.currentImage,r=t.images;this.state.imageLoaded&&n!==r.length-1&&(e&&(e.preventDefault(),e.stopPropagation()),this.props.onClickNext())}},{key:"gotoPrev",value:function(e){var t=this.props.currentImage;this.state.imageLoaded&&0!==t&&(e&&(e.preventDefault(),e.stopPropagation()),this.props.onClickPrev())}},{key:"closeBackdrop",value:function(e){"lightboxBackdrop"!==e.target.id&&"FIGURE"!==e.target.tagName||this.props.onClose()}},{key:"handleKeyboardInput",value:function(e){return 37===e.keyCode?(this.gotoPrev(e),!0):39===e.keyCode?(this.gotoNext(e),!0):27===e.keyCode&&(this.props.onClose(),!0)}},{key:"handleImageLoaded",value:function(){this.setState({imageLoaded:!0})}},{key:"renderArrowPrev",value:function(){return 0===this.props.currentImage?null:f.default.createElement(b.default,{direction:"left",icon:"arrowLeft",onClick:this.gotoPrev,title:this.props.leftArrowTitle,type:"button"})}},{key:"renderArrowNext",value:function(){return this.props.currentImage===this.props.images.length-1?null:f.default.createElement(b.default,{direction:"right",icon:"arrowRight",onClick:this.gotoNext,title:this.props.rightArrowTitle,type:"button"})}},{key:"renderDialog",value:function(){var e=this.props,t=e.backdropClosesModal,n=e.isOpen,r=e.showThumbnails,i=e.width,o=this.state.imageLoaded;if(!n)return f.default.createElement("span",{key:"closed"});var a=0;return r&&(a=this.theme.thumbnail.size+this.theme.container.gutter.vertical),f.default.createElement(E.default,{key:"open",onClick:t&&this.closeBackdrop,onTouchEnd:t&&this.closeBackdrop},f.default.createElement("div",null,f.default.createElement("div",{className:(0,h.css)(this.classes.content),style:{marginBottom:a,maxWidth:i}},o&&this.renderHeader(),this.renderImages(),this.renderSpinner(),o&&this.renderFooter()),o&&this.renderThumbnails(),o&&this.renderArrowPrev(),o&&this.renderArrowNext(),this.props.preventScroll&&f.default.createElement(m.default,null)))}},{key:"renderImages",value:function(){var e=this.props,t=e.currentImage,n=e.images,r=e.onClickImage,i=e.showThumbnails,o=this.state.imageLoaded;if(!n||!n.length)return null;var a=n[t],l=s(a),u=l?"100vw":null,c=i?this.theme.thumbnail.size:0,d=this.theme.header.height+this.theme.footer.height+c+this.theme.container.gutter.vertical+"px";return f.default.createElement("figure",{className:(0,h.css)(this.classes.figure)},f.default.createElement("img",{className:(0,h.css)(this.classes.image,o&&this.classes.imageLoaded),onClick:r,sizes:u,alt:a.alt,src:a.src,srcSet:l,style:{cursor:r?"pointer":"auto",maxHeight:"calc(100vh - "+d+")"}}))}},{key:"renderThumbnails",value:function(){var e=this.props,t=e.images,n=e.currentImage,r=e.onClickThumbnail,i=e.showThumbnails,o=e.thumbnailOffset;if(i)return f.default.createElement(C.default,{currentImage:n,images:t,offset:o,onClickThumbnail:r})}},{key:"renderHeader",value:function(){var e=this.props,t=e.closeButtonTitle,n=e.customControls,r=e.onClose,i=e.showCloseButton;return f.default.createElement(k.default,{customControls:n,onClose:r,showCloseButton:i,closeButtonTitle:t})}},{key:"renderFooter",value:function(){var e=this.props,t=e.currentImage,n=e.images,r=e.imageCountSeparator,i=e.showImageCount;return n&&n.length?f.default.createElement(_.default,{caption:n[t].caption,countCurrent:t+1,countSeparator:r,countTotal:n.length,showCount:i}):null}},{key:"renderSpinner",value:function(){var e=this.props,t=e.spinner,n=e.spinnerColor,r=e.spinnerSize,i=this.state.imageLoaded,o=t;return f.default.createElement("div",{className:(0,h.css)(this.classes.spinner,!i&&this.classes.spinnerActive)},f.default.createElement(o,{color:n,size:r}))}},{key:"render",value:function(){return f.default.createElement(A.default,null,this.renderDialog())}}]),t}(d.Component);W.propTypes={backdropClosesModal:c.default.bool,closeButtonTitle:c.default.string,currentImage:c.default.number,customControls:c.default.arrayOf(c.default.node),enableKeyboardInput:c.default.bool,imageCountSeparator:c.default.string,images:c.default.arrayOf(c.default.shape({src:c.default.string.isRequired,srcSet:c.default.oneOfType([c.default.string,c.default.arrayOf(c.default.string)]),caption:c.default.oneOfType([c.default.string,c.default.element]),thumbnail:c.default.string})).isRequired,isOpen:c.default.bool,leftArrowTitle:c.default.string,onClickImage:c.default.func,onClickNext:c.default.func,onClickPrev:c.default.func,onClose:c.default.func.isRequired,preloadNextImage:c.default.bool,preventScroll:c.default.bool,rightArrowTitle:c.default.string,showCloseButton:c.default.bool,showImageCount:c.default.bool,showThumbnails:c.default.bool,spinner:c.default.func,spinnerColor:c.default.string,spinnerSize:c.default.number,theme:c.default.object,thumbnailOffset:c.default.number,width:c.default.number},W.defaultProps={closeButtonTitle:"Close (Esc)",currentImage:0,enableKeyboardInput:!0,imageCountSeparator:" of ",leftArrowTitle:"Previous (Left arrow key)",onClickShowNextImage:!0,preloadNextImage:!0,preventScroll:!0,rightArrowTitle:"Next (Right arrow key)",showCloseButton:!0,showImageCount:!0,spinner:I.default,spinnerColor:"white",spinnerSize:100,theme:{},thumbnailOffset:2,width:1024},W.childContextTypes={theme:c.default.object.isRequired};var B={content:{position:"relative"},figure:{margin:0},image:{display:"block",height:"auto",margin:"0 auto",maxWidth:"100%",WebkitTouchCallout:"none",userSelect:"none",opacity:0,transition:"opacity 0.3s"},imageLoaded:{opacity:1},spinner:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",opacity:0,transition:"opacity 0.3s",pointerEvents:"none"},spinnerActive:{opacity:1}};t.default=W},function(e,t,n){"use strict";function r(){if(l.length)throw l.shift()}function i(e){var t;t=s.length?s.pop():new o,t.task=e,a(t)}function o(){this.task=null}var a=n(146),s=[],l=[],u=a.makeRequestCallFromTimer(r);e.exports=i,o.prototype.call=function(){try{this.task.call()}catch(e){i.onerror?i.onerror(e):(l.push(e),u())}finally{this.task=null,s[s.length]=this}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}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")}}(),i=n(803),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=n(143),s=function e(t,n,r,i){var o=n.reduce(a.recursiveMerge),s={},l={},c={};return Object.keys(o).forEach(function(e){":"===e[0]?c[e]=o[e]:"@"===e[0]?l[e]=o[e]:s[e]=o[e]}),u(t,s,r,i)+Object.keys(c).map(function(e){return u(t+e,c[e],r,i)}).join("")+Object.keys(l).map(function(n){return n+"{"+e(t,[l[n]],r,i)+"}"}).join("")};t.generateCSS=s;var l=function(e,t){var n={};return Object.keys(e).forEach(function(r){t&&t.hasOwnProperty(r)?n[r]=t[r](e[r]):n[r]=e[r]}),n},u=function(e,t,n,i){var s=l(t,n),u=(0,o.default)(s),c=(0,a.flatten)((0,a.objectToPairs)(u).map(function(e){var t=r(e,2),n=t[0],i=t[1];if(Array.isArray(i)){var o=function(){var e=[],t=[];return i.forEach(function(n){0===n.indexOf("-")?e.push(n):t.push(n)}),e.sort(),t.sort(),{v:e.concat(t).map(function(e){return[n,e]})}}();if("object"===typeof o)return o.v}return[[n,i]]})),d=c.map(function(e){var t=r(e,2),n=t[0],o=t[1],s=(0,a.stringifyValue)(n,o),l=(0,a.kebabifyStyleName)(n)+":"+s+";";return!1===i?l:(0,a.importantify)(l)}).join("");return d?e+"{"+d+"}":""};t.generateCSSRuleset=u},function(e,t,n){e.exports=n(804)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return Object.keys(e).forEach(function(t){var n=e[t];n instanceof Object&&!Array.isArray(n)?e[t]=i(n):Object.keys(s.default).forEach(function(r){s.default[r][t]&&(e[r+(0,u.default)(t)]=n)})}),Object.keys(e).forEach(function(t){[].concat(e[t]).forEach(function(n,r){P.forEach(function(r){return o(e,r(t,n))})})}),(0,d.default)(e)}function o(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];Object.keys(t).forEach(function(n){var r=e[n];Array.isArray(r)?[].concat(t[n]).forEach(function(t){var i=r.indexOf(t);i>-1&&e[n].splice(i,1),e[n].push(t)}):e[n]=t[n]})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n(261),s=r(a),l=n(262),u=r(l),c=n(805),d=r(c),f=n(807),h=r(f),p=n(808),m=r(p),g=n(809),v=r(g),y=n(810),b=r(y),w=n(811),E=r(w),T=n(812),_=r(T),x=n(813),k=r(x),S=n(814),C=r(S),O=n(815),A=r(O),P=[h.default,m.default,v.default,E.default,_.default,k.default,C.default,A.default,b.default];e.exports=t.default},function(e,t,n){"use strict";function r(e){return Object.keys(e).sort(function(e,t){return(0,o.default)(e)&&!(0,o.default)(t)?-1:!(0,o.default)(e)&&(0,o.default)(t)?1:0}).reduce(function(t,n){return t[n]=e[n],t},{})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(806),o=function(e){return e&&e.__esModule?e:{default:e}}(i);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!==e.match(/^(Webkit|Moz|O|ms)/)},e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("position"===e&&"sticky"===t)return{position:["-webkit-sticky","sticky"]}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if("string"===typeof t&&!(0,l.default)(t)&&t.indexOf("calc(")>-1)return(0,a.default)(e,t,function(e,t){return t.replace(/calc\(/g,e+"calc(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(91),a=r(o),s=n(144),l=r(s);e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("cursor"===e&&a[t])return(0,o.default)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(91),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0};e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("display"===e&&i[t])return{display:["-webkit-box","-moz-box","-ms-"+t+"box","-webkit-"+t,t]}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i={flex:!0,"inline-flex":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(a[e]&&s[t])return(0,o.default)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(91),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},s={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if("string"===typeof t&&!(0,l.default)(t)&&null!==t.match(u))return(0,a.default)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(91),a=r(o),s=n(144),l=r(s),u=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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("string"===typeof t&&m[e]){var n,r=a(t),o=r.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return null===e.match(/-moz-|-ms-/)}).join(",");return e.indexOf("Webkit")>-1?i({},e,o):(n={},i(n,"Webkit"+(0,c.default)(e),o),i(n,e,r),n)}}function a(e){if((0,f.default)(e))return e;var t=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g);return t.forEach(function(e,n){t[n]=Object.keys(p.default).reduce(function(t,n){var r="-"+n.toLowerCase()+"-";return Object.keys(p.default[n]).forEach(function(n){var i=(0,l.default)(n);e.indexOf(i)>-1&&"order"!==i&&(t=e.replace(i,r+i)+","+t)}),t},e)}),t.join(",")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var s=n(164),l=r(s),u=n(262),c=r(u),d=n(144),f=r(d),h=n(261),p=r(h),m={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0};e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(a[e])return r({},a[e],o[t]||t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end"},a={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msPreferredSize"};e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return"flexDirection"===e&&"string"===typeof t?{WebkitBoxOrient:t.indexOf("column")>-1?"vertical":"horizontal",WebkitBoxDirection:t.indexOf("reverse")>-1?"reverse":"normal"}:a[e]?r({},a[e],o[t]||t):void 0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},a={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(817);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(i).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),c=r(u),d=n(263),f=n(818),h=n(265),p=n(820),m=r(p),g=0,v=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),l(t,[{key:"componentDidMount",value:function(){g++,d.canUseDOM&&(this.initialHeight=window.innerHeight)}},{key:"componentWillUnmount",value:function(){if(g=Math.max(g-1,0),d.canUseDOM){var e=window.innerHeight-this.initialHeight;e&&window.scrollTo(0,window.pageYOffset+e)}this.initialHeight=window.innerHeight}},{key:"render",value:function(){var e=this.props.accountForScrollbars,t=e&&g<1?{"padding-right":(0,h.getPadding)()+"px"}:{},n=(0,h.getDocumentHeight)()+"px";return c.default.createElement(f.SimpleToggle,{styles:s({"box-sizing":"border-box",overflow:"hidden",position:"relative",height:n},t)})}}]),t}(u.PureComponent);v.defaultProps={accountForScrollbars:!0},t.default=(0,m.default)(v)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(819);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(i).default}});var o=n(264);Object.defineProperty(t,"SimpleToggle",{enumerable:!0,get:function(){return r(o).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=r(o),s=n(264),l=r(s),u=function(e){var t=e.isActive,n=i(e,["isActive"]);return t?a.default.createElement(l.default,n):null};u.defaultProps=s.defaultProps,t.default=u},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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 function(t){function n(){var e,t,o,a;r(this,n);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return t=o=i(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(l))),o.listenerOptions={capture:!1,passive:!1},a=t,i(o,a)}return o(n,t),s(n,[{key:"componentDidMount",value:function(){if(c.canUseDOM){var e=this.props.touchScrollTarget,t=document.body;t&&(0,d.isTouchDevice)()&&(t.addEventListener("touchmove",d.preventTouchMove,this.listenerOptions),e&&(e.addEventListener("touchstart",d.preventInertiaScroll,this.listenerOptions),e.addEventListener("touchmove",d.allowTouchMove,this.listenerOptions)))}}},{key:"componentWillUnmount",value:function(){if(c.canUseDOM){var e=this.props.touchScrollTarget,t=document.body;t&&(0,d.isTouchDevice)()&&(t.removeEventListener("touchmove",d.preventTouchMove,this.listenerOptions),e&&(e.removeEventListener("touchstart",d.preventInertiaScroll,this.listenerOptions),e.removeEventListener("touchmove",d.allowTouchMove,this.listenerOptions)))}}},{key:"render",value:function(){return u.default.createElement(e,this.props)}}]),n}(l.PureComponent)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=a;var l=n(1),u=function(e){return e&&e.__esModule?e:{default:e}}(l),c=n(263),d=n(265)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(260),i=n(259),o=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.injectAndGetClassName)(!1,t)};t.StyleSheet=i.StyleSheet,t.StyleSheetServer=i.StyleSheetServer,t.StyleSheetTestUtils=i.StyleSheetTestUtils,t.css=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return'<svg fill="'+e+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 512 512" xml:space="preserve">\n\t\t<path d="M213.7,256L213.7,256L213.7,256L380.9,81.9c4.2-4.3,4.1-11.4-0.2-15.8l-29.9-30.6c-4.3-4.4-11.3-4.5-15.5-0.2L131.1,247.9 c-2.2,2.2-3.2,5.2-3,8.1c-0.1,3,0.9,5.9,3,8.1l204.2,212.7c4.2,4.3,11.2,4.2,15.5-0.2l29.9-30.6c4.3-4.4,4.4-11.5,0.2-15.8 L213.7,256z"/>\n\t</svg>'}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return'<svg fill="'+e+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 512 512" xml:space="preserve">\n\t\t<path d="M298.3,256L298.3,256L298.3,256L131.1,81.9c-4.2-4.3-4.1-11.4,0.2-15.8l29.9-30.6c4.3-4.4,11.3-4.5,15.5-0.2l204.2,212.7 c2.2,2.2,3.2,5.2,3,8.1c0.1,3-0.9,5.9-3,8.1L176.7,476.8c-4.2,4.3-11.2,4.2-15.5-0.2L131.3,446c-4.3-4.4-4.4-11.5-0.2-15.8 L298.3,256z"/>\n\t</svg>'}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return'<svg fill="'+e+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">\n\t\t<path d="M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4 L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1 c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1 c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z"/>\n\t</svg>'}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=t.theme,r=i(e,[]),o=d.StyleSheet.create((0,m.default)(g,n));return c.default.createElement("div",a({id:"lightboxBackdrop",className:(0,d.css)(o.container)},r))}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(2),l=r(s),u=n(1),c=r(u),d=n(42),f=n(41),h=r(f),p=n(58),m=r(p);o.contextTypes={theme:l.default.object.isRequired};var g={container:{alignItems:"center",backgroundColor:h.default.container.background,boxSizing:"border-box",display:"flex",height:"100%",justifyContent:"center",left:0,paddingBottom:h.default.container.gutter.vertical,paddingLeft:h.default.container.gutter.horizontal,paddingRight:h.default.container.gutter.horizontal,paddingTop:h.default.container.gutter.vertical,position:"fixed",top:0,width:"100%",zIndex:h.default.container.zIndex}};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=t.theme,r=e.caption,o=e.countCurrent,s=e.countSeparator,l=e.countTotal,u=e.showCount,f=i(e,["caption","countCurrent","countSeparator","countTotal","showCount"]);if(!r&&!u)return null;var h=d.StyleSheet.create((0,m.default)(g,n)),p=u?c.default.createElement("div",{className:(0,d.css)(h.footerCount)},o,s,l):c.default.createElement("span",null);return c.default.createElement("div",a({className:(0,d.css)(h.footer)},f),r?c.default.createElement("figcaption",{className:(0,d.css)(h.footerCaption)},r):c.default.createElement("span",null),p)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(2),l=r(s),u=n(1),c=r(u),d=n(42),f=n(41),h=r(f),p=n(58),m=r(p);o.propTypes={caption:l.default.oneOfType([l.default.string,l.default.element]),countCurrent:l.default.number,countSeparator:l.default.string,countTotal:l.default.number,showCount:l.default.bool},o.contextTypes={theme:l.default.object.isRequired};var g={footer:{boxSizing:"border-box",color:h.default.footer.color,cursor:"auto",display:"flex",justifyContent:"space-between",left:0,lineHeight:1.3,paddingBottom:h.default.footer.gutter.vertical,paddingLeft:h.default.footer.gutter.horizontal,paddingRight:h.default.footer.gutter.horizontal,paddingTop:h.default.footer.gutter.vertical},footerCount:{color:h.default.footer.count.color,fontSize:h.default.footer.count.fontSize,paddingLeft:"1em"},footerCaption:{flex:"1 1 0"}};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=t.theme,r=e.customControls,o=e.onClose,s=e.showCloseButton,l=e.closeButtonTitle,u=i(e,["customControls","onClose","showCloseButton","closeButtonTitle"]),f=d.StyleSheet.create((0,m.default)(y,n));return c.default.createElement("div",a({className:(0,d.css)(f.header)},u),r||c.default.createElement("span",null),!!s&&c.default.createElement("button",{title:l,className:(0,d.css)(f.close),onClick:o},c.default.createElement(v.default,{fill:!!n.close&&n.close.fill||h.default.close.fill,type:"close"})))}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(2),l=r(s),u=n(1),c=r(u),d=n(42),f=n(41),h=r(f),p=n(58),m=r(p),g=n(267),v=r(g);o.propTypes={customControls:l.default.array,onClose:l.default.func.isRequired,showCloseButton:l.default.bool},o.contextTypes={theme:l.default.object.isRequired};var y={header:{display:"flex",justifyContent:"space-between",height:h.default.header.height},close:{background:"none",border:"none",cursor:"pointer",outline:"none",position:"relative",top:0,verticalAlign:"bottom",zIndex:1,height:40,marginRight:-10,padding:10,width:40}};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(2),c=r(u),d=n(1),f=r(d),h=n(42),p=n(829),m=r(p),g=n(266),v=r(g),y=n(41),b=r(y),w=h.StyleSheet.create({paginatedThumbnails:{bottom:b.default.container.gutter.vertical,height:b.default.thumbnail.size,padding:"0 50px",position:"absolute",textAlign:"center",whiteSpace:"nowrap",left:"50%",transform:"translateX(-50%)"}}),E={height:b.default.thumbnail.size+2*b.default.thumbnail.gutter,width:40},T=function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={hasCustomPage:!1},n.gotoPrev=n.gotoPrev.bind(n),n.gotoNext=n.gotoNext.bind(n),n}return a(t,e),l(t,[{key:"componentWillReceiveProps",value:function(e){e.currentImage!==this.props.currentImage&&this.setState({hasCustomPage:!1})}},{key:"getFirst",value:function(){var e=this.props,t=e.currentImage,n=e.offset;return this.state.hasCustomPage?this.clampFirst(this.state.first):this.clampFirst(t-n)}},{key:"setFirst",value:function(e,t){var n=this.state.first;e&&(e.preventDefault(),e.stopPropagation()),n!==t&&this.setState({hasCustomPage:!0,first:t})}},{key:"gotoPrev",value:function(e){this.setFirst(e,this.getFirst()-this.props.offset)}},{key:"gotoNext",value:function(e){this.setFirst(e,this.getFirst()+this.props.offset)}},{key:"clampFirst",value:function(e){var t=this.props,n=t.images,r=t.offset,i=2*r+1;return e<0?0:e+i>n.length?n.length-i:e}},{key:"renderArrowPrev",value:function(){return this.getFirst()<=0?null:f.default.createElement(v.default,{direction:"left",size:"small",icon:"arrowLeft",onClick:this.gotoPrev,style:E,title:"Previous (Left arrow key)",type:"button"})}},{key:"renderArrowNext",value:function(){var e=this.props,t=e.offset,n=e.images,r=2*t+1;return this.getFirst()+r>=n.length?null:f.default.createElement(v.default,{direction:"right",size:"small",icon:"arrowRight",onClick:this.gotoNext,style:E,title:"Next (Right arrow key)",type:"button"})}},{key:"render",value:function(){var e=this.props,t=e.images,n=e.currentImage,r=e.onClickThumbnail,i=e.offset,o=2*i+1,a=[],l=0;return t.length<=o?a=t:(l=this.getFirst(),a=t.slice(l,l+o)),f.default.createElement("div",{className:(0,h.css)(w.paginatedThumbnails)},this.renderArrowPrev(),a.map(function(e,t){return f.default.createElement(m.default,s({key:l+t},e,{index:l+t,onClick:r,active:l+t===n}))}),this.renderArrowNext())}}]),t}(d.Component);t.default=T,T.propTypes={currentImage:c.default.number,images:c.default.array,offset:c.default.number,onClickThumbnail:c.default.func.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=e.index,r=e.src,i=e.thumbnail,o=e.active,a=e.onClick,s=t.theme,c=i||r,d=u.StyleSheet.create((0,h.default)(p,s));return l.default.createElement("div",{className:(0,u.css)(d.thumbnail,o&&d.thumbnail__active),onClick:function(e){e.preventDefault(),e.stopPropagation(),a(n)},style:{backgroundImage:'url("'+c+'")'}})}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),a=r(o),s=n(1),l=r(s),u=n(42),c=n(41),d=r(c),f=n(58),h=r(f);i.propTypes={active:a.default.bool,index:a.default.number,onClick:a.default.func.isRequired,src:a.default.string,thumbnail:a.default.string},i.contextTypes={theme:a.default.object.isRequired};var p={thumbnail:{backgroundPosition:"center",backgroundSize:"cover",borderRadius:2,boxShadow:"inset 0 0 0 1px hsla(0,0%,100%,.2)",cursor:"pointer",display:"inline-block",height:d.default.thumbnail.size,margin:d.default.thumbnail.gutter,overflow:"hidden",width:d.default.thumbnail.size},thumbnail__active:{boxShadow:"inset 0 0 0 2px "+d.default.thumbnail.activeBorderColor}};t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(2),u=r(l),c=n(1),d=r(c),f=n(831),h=n(15),p=n(837),m=r(p),g=function(e){function t(){i(this,t);var e=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.portalElement=null,e}return a(t,e),s(t,[{key:"componentDidMount",value:function(){var e=document.createElement("div");document.body.appendChild(e),this.portalElement=e,this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){(0,h.render)(d.default.createElement(m.default,{context:this.context},d.default.createElement("div",null,d.default.createElement("style",null,"\n\t\t\t\t.fade-enter { opacity: 0.01; }\n\t\t\t\t.fade-enter.fade-enter-active { opacity: 1; transition: opacity 200ms; }\n\t\t\t\t.fade-leave { opacity: 1; }\n\t\t\t\t.fade-leave.fade-leave-active { opacity: 0.01; transition: opacity 200ms; }\n\t\t"),d.default.createElement(f.TransitionGroup,this.props,d.default.createElement(f.CSSTransition,{timeout:{enter:200,exit:200},classNames:"fade"},this.props.children)))),this.portalElement)}},{key:"componentWillUnmount",value:function(){(0,h.unmountComponentAtNode)(this.portalElement),document.body.removeChild(this.portalElement)}},{key:"render",value:function(){return null}}]),t}(c.Component);t.default=g,g.contextTypes={theme:u.default.object.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(832),o=r(i),a=n(836),s=r(a),l=n(121),u=r(l),c=n(35),d=r(c);e.exports={Transition:d.default,TransitionGroup:u.default,ReplaceTransition:s.default,CSSTransition:o.default}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(65),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(l),c=n(833),d=r(c),f=n(835),h=r(f),p=n(1),m=r(p),g=n(35),v=r(g),y=n(182),b=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,d.default)(e,t)})},w=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,h.default)(e,t)})},E=(s({},v.default.propTypes,{classNames:y.classNamesShape,onEnter:u.func,onEntering:u.func,onEntered:u.func,onExit:u.func,onExiting:u.func,onExited:u.func}),function(e){function t(){var n,r,a;i(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=o(this,e.call.apply(e,[this].concat(l))),r.onEnter=function(e,t){var n=r.getClassNames(t?"appear":"enter"),i=n.className;r.removeClasses(e,"exit"),b(e,i),r.props.onEnter&&r.props.onEnter(e)},r.onEntering=function(e,t){var n=r.getClassNames(t?"appear":"enter"),i=n.activeClassName;r.reflowAndAddClass(e,i),r.props.onEntering&&r.props.onEntering(e)},r.onEntered=function(e,t){var n=r.getClassNames("enter"),i=n.doneClassName;r.removeClasses(e,t?"appear":"enter"),b(e,i),r.props.onEntered&&r.props.onEntered(e)},r.onExit=function(e){var t=r.getClassNames("exit"),n=t.className;r.removeClasses(e,"appear"),r.removeClasses(e,"enter"),b(e,n),r.props.onExit&&r.props.onExit(e)},r.onExiting=function(e){var t=r.getClassNames("exit"),n=t.activeClassName;r.reflowAndAddClass(e,n),r.props.onExiting&&r.props.onExiting(e)},r.onExited=function(e){var t=r.getClassNames("exit"),n=t.doneClassName;r.removeClasses(e,"exit"),b(e,n),r.props.onExited&&r.props.onExited(e)},r.getClassNames=function(e){var t=r.props.classNames,n="string"!==typeof t?t[e]:t+"-"+e;return{className:n,activeClassName:"string"!==typeof t?t[e+"Active"]:n+"-active",doneClassName:"string"!==typeof t?t[e+"Done"]:n+"-done"}},a=n,o(r,a)}return a(t,e),t.prototype.removeClasses=function(e,t){var n=this.getClassNames(t),r=n.className,i=n.activeClassName,o=n.doneClassName;r&&w(e,r),i&&w(e,i),o&&w(e,o)},t.prototype.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,b(e,t))},t.prototype.render=function(){var e=s({},this.props);return delete e.classNames,m.default.createElement(v.default,s({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(m.default.Component));E.propTypes={},t.default=E,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){e.classList?e.classList.add(t):(0,o.default)(e,t)||("string"===typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(834),o=function(e){return e&&e.__esModule?e:{default:e}}(i);e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"===typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(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)}t.__esModule=!0;var l=n(65),u=r(l),c=n(1),d=r(c),f=n(15),h=n(121),p=r(h),m=(u.default.bool.isRequired,function(e){function t(){var n,r,i;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=a(this,e.call.apply(e,[this].concat(l))),g.call(r),i=n,a(r,i)}return s(t,e),t.prototype.handleLifecycle=function(e,t,n){var r,i=this.props.children,o=d.default.Children.toArray(i)[t];o.props[e]&&(r=o.props)[e].apply(r,n),this.props[e]&&this.props[e]((0,f.findDOMNode)(this))},t.prototype.render=function(){var e=this.props,t=e.children,n=e.in,r=i(e,["children","in"]),o=d.default.Children.toArray(t),a=o[0],s=o[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,d.default.createElement(p.default,r,n?d.default.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):d.default.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(d.default.Component)),g=function(){var e=this;this.handleEnter=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEnter",0,n)},this.handleEntering=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEntering",0,n)},this.handleEntered=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEntered",0,n)},this.handleExit=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExit",1,n)},this.handleExiting=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExiting",1,n)},this.handleExited=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExited",1,n)}};m.propTypes={},t.default=m,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(2),l=function(e){return e&&e.__esModule?e:{default:e}}(s),u=n(1),c=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),a(t,[{key:"getChildContext",value:function(){return this.props.context}},{key:"render",value:function(){return u.Children.only(this.props.children)}}]),t}(u.Component);c.propTypes={context:l.default.object.isRequired},c.childContextTypes={theme:l.default.object},t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=r(i),a=n(1),s=r(a),l=n(42),u=function(e){var t=l.StyleSheet.create(d(e));return s.default.createElement("div",{className:(0,l.css)(t.spinner)},s.default.createElement("div",{className:(0,l.css)(t.ripple)}))};u.propTypes={color:o.default.string,size:o.default.number};var c={"0%":{top:"50%",left:"50%",width:0,height:0,opacity:1},"100%":{top:0,left:0,width:"100%",height:"100%",opacity:0}},d=function(e){var t=e.color,n=e.size;return{spinner:{display:"inline-block",position:"relative",width:n,height:n},ripple:{position:"absolute",border:"4px solid "+t,opacity:1,borderRadius:"50%",animationName:c,animationDuration:"1s",animationTimingFunction:"cubic-bezier(0, 0.2, 0.8, 1)",animationIterationCount:"infinite"}}};t.default=u},function(e,t,n){"use strict";function r(e){var t=this;e.forEach(function(e){return t[e]=t[e].bind(t)})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=!("undefined"===typeof window||!window.document||!window.document.createElement)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return f});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(40)),c=n.n(u),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.updateDim=function(){(window.innerWidth<n.minminThres||window.innerWidth<=n.maxThres&&window.innerWidth>n.minThres)&&!n.state.smallerCardBody?n.setState({smallerCardBody:!0,cardBody:n.minBody}):window.innerWidth>=n.minminThres&&(window.innerWidth>n.maxThres||window.innerWidth<=n.minThres)&&n.state.smallerCardBody&&n.setState({smallerCardBody:!1,cardBody:n.maxBody})},n.hover=function(e){var t=n.state.hover;t[e]=!0,n.setState({hover:t})},n.removeHover=function(e){var t=n.state.hover;t[e]=!1,n.setState({hover:t})},n.setLoaded=function(e){if(!n.state.loaded[e]){var t=n.state.loaded;t[e]=!0,n.setState({loaded:t})}},n.state={hover:[],data:[],loaded:[],filterTo:"All",cardBody:80},window.addEventListener("resize",n.updateDim),n.maxThres=1400,n.minThres=768,n.minminThres=380,n.mainColor="#420dab",n.sections=["Diamond","Gold","Silver","Bronze"],n.minBody=70,n.maxBody=75,n}return o(t,e),d(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;this.setState({data:e.data}),e.data.forEach(function(e,n){var r=new Image;r.src=e.PICTURE,r.onload=function(){return t.setLoaded(n)}})}},{key:"componentWillMount",value:function(){var e=this;this.setState({data:this.props.data}),this.props.data.forEach(function(t,n){var r=new Image;r.src=t.PICTURE,r.onload=function(){return e.setLoaded(n)}}),window.innerWidth<this.minminThres||window.innerWidth<=this.maxThres&&window.innerWidth>this.minThres?this.setState({smallerCardBody:!0,cardBody:this.minBody}):window.innerWidth>=this.minminThres&&(window.innerWidth>this.maxThres||window.innerWidth<=this.minThres)&&this.setState({smallerCardBody:!1,cardBody:this.maxBody})}},{key:"render",value:function(){var e=this,t=this.state.data.sort(function(e,t){return e.NAME<t.NAME?-1:t.NAME<e.NAME?1:0});return s.a.createElement("div",null,s.a.createElement("div",{style:{margin:"auto",width:"90%",marginTop:20,textAlign:"center",fontSize:"24px"}},"We want to thank all of our sponsors for their support. Our project would not have been possible without them!"),this.sections.map(function(n,r){return s.a.createElement("div",{key:"sect"+r,style:{marginBottom:20,marginTop:20}},s.a.createElement("div",{style:{margin:"auto",width:"100%",textAlign:"center",fontSize:50}},n),s.a.createElement(l.Grid,{fluid:!0,style:{padding:0,margin:0}},s.a.createElement(l.Row,{style:{padding:0,margin:0},center:"xs"},t&&t.map(function(t,r){var i=void 0;switch(n){case"Diamond":i=t.FILTER&&-1===t.FILTER.indexOf("Diamond");break;case"Gold":i=t.FILTER&&-1===t.FILTER.indexOf("Gold");break;case"Silver":i=t.FILTER&&-1===t.FILTER.indexOf("Silver");break;case"Bronze":i=t.FILTER&&-1===t.FILTER.indexOf("Bronze");break;default:i=t.FILTER}if(i)return null;var o=t.XPOS?t.XPOS:50,a=t.YPOS?t.YPOS:20,u=t.CUSTSIZE?t.CUSTSIZE:100;return s.a.createElement(l.Col,{md:3,key:"subimg"+r,style:{textAlign:"center",margin:10,transition:"height 0.5s",maxWidth:380,minWidth:280}},s.a.createElement("a",{href:t.LINK?t.LINK:"#",target:"_blank"},s.a.createElement("div",{style:{width:"100%",maxWidth:380,minWidth:280,height:"auto",minHeight:380,backgroundColor:e.state.loaded[r]?"#f1f1f1":"white",margin:"auto",borderRadius:20,overflow:"hidden",cursor:""===t.BIO?"normal":"pointer",position:"relative",filter:t.FILTER&&-1!==t.FILTER.indexOf(e.state.filterTo)||"All"===e.state.filterTo?"":"blur(5px)",boxShadow:"5px 5px 5px #999999",transition:"filter 0.2s, background-color: 0.2s"},onMouseEnter:function(){return e.hover(r)},onMouseLeave:function(){return e.removeHover(r)}},s.a.createElement(c.a,{when:!0===e.state.loaded[r]},s.a.createElement("div",{style:{position:"absolute",width:"100%",top:0,left:0,height:e.state.cardBody+"%",backgroundColor:"white",background:"url("+t.PICTURE+") no-repeat "+o+"% "+a+"%",backgroundPositionY:"50%",backgroundSize:u+"%"}})),s.a.createElement("div",{style:{position:"absolute",width:"100%",bottom:0,left:0,height:100-e.state.cardBody+"%",backgroundColor:e.state.hover[r]?e.mainColor:"white",transition:"height 0.5s, background-color 0.5s, color 0.5s",color:e.state.hover[r]?"white":"black"}},s.a.createElement(c.a,{duration:500,clear:!0},s.a.createElement("div",{style:{position:"absolute",textAlign:"center",margin:"auto",left:0,right:0}},s.a.createElement("div",{style:{textTransform:"uppercase",marginTop:10,fontWeight:"bold",fontSize:20,letterSpacing:3,textOverflow:"ellipsis",overflow:"hidden"}},t.NAME),s.a.createElement("div",{style:{marginTop:10}},t.SUBTEXT)))))))}))))}))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return x});var a=n(1),s=n.n(a),l=n(197),u=n.n(l),c=n(199),d=n.n(c),f=n(198),h=n.n(f),p=n(19),m=n.n(p),g=n(221),v=n.n(g),y=n(87),b=n.n(y),w=n(89),E=n.n(w),T=n(843),_=(n.n(T),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),x=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=function(e,t){n.setState({value:t})},n.state={value:0,accObjs:[]},n}return o(t,e),_(t,[{key:"componentWillMount",value:function(){this.setState({accObjs:this.props.accObjs})}},{key:"componentWillReceiveProps",value:function(e){var t=e.accObjs;this.setState({accObjs:t})}},{key:"render",value:function(){var e=this.state.accObjs;return s.a.createElement("div",{style:{marginTop:20,marginBottom:20,marginLeft:"5%",marginRight:"5%"}},e.map(function(e,t){return s.a.createElement(u.a,{key:"acc-"+t},s.a.createElement(d.a,{expandIcon:s.a.createElement(v.a,null)},s.a.createElement(m.a,null,e.title)),s.a.createElement(h.a,{className:"accordionContent"},b()().use(E.a).processSync(e.data).contents))}))}}]),t}(a.Component)},function(e,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 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 o(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)}n.d(t,"a",function(){return p});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(87)),c=n.n(u),d=n(89),f=n.n(d),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={spObjs:[]},n}return o(t,e),h(t,[{key:"componentWillMount",value:function(){this.setState({spObjs:this.props.spObjs})}},{key:"componentWillReceiveProps",value:function(e){var t=e.spObjs;this.setState({spObjs:t})}},{key:"render",value:function(){var e=this.state.spObjs;return s.a.createElement("div",{style:{marginTop:20,marginBottom:20,marginLeft:"5%",marginRight:"5%"}},s.a.createElement(l.Grid,{fluid:!0},s.a.createElement(l.Row,null,e.map(function(e,t){var n=e.title.split(";"),r=n[0],i=n[1]?n[1]:50,o=n[2]?n[2]:50;return"IMAGE"===r?s.a.createElement(l.Col,{md:6,style:{textAlign:"center"},key:"split"+t},s.a.createElement("div",{style:{backgroundColor:"white",background:"url("+e.data.trim()+") "+i+"% "+o+"% no-repeat",backgroundSize:"cover",height:"100%",width:"80%",margin:"auto",boxShadow:"5px 5px 10px gray"}})):s.a.createElement(l.Col,{md:6,key:"split"+t},s.a.createElement("div",null,c()().use(f.a).processSync(e.data).contents))}))))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return h});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(67)),c=n(86),d=n(846),f=(n.n(d),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),h=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={navParams:n.props.navParams},n.iconLeft=c.b,n.iconRight=c.c,n}return o(t,e),f(t,[{key:"componentWillMount",value:function(){this.setState({navParams:this.props.navParams})}},{key:"componentWillReceiveProps",value:function(e){var t=e.navParams;this.setState({navParams:t})}},{key:"render",value:function(){var e=this.state.navParams;return s.a.createElement("div",{style:{marginTop:30,marginBottom:30}},s.a.createElement(l.Grid,{fluid:!0},s.a.createElement(l.Row,{style:{width:"100%",fontSize:"24px"}},s.a.createElement(l.Col,{style:{width:"50%",textAlign:"left"}},e.LEFT&&e.LEFTNAME&&s.a.createElement("div",null,s.a.createElement("a",{href:e.LEFT,className:"navLinkA"},s.a.createElement(u.a,{icon:this.iconLeft,style:{marginRight:10}})," ",e.LEFTNAME))),s.a.createElement(l.Col,{style:{width:"50%",textAlign:"right"}},e.RIGHT&&e.RIGHTNAME&&s.a.createElement("div",null,s.a.createElement("a",{href:e.RIGHT,className:"navLinkA"},e.RIGHTNAME," ",s.a.createElement(u.a,{icon:this.iconRight,style:{marginLeft:10}})," "))))))}}]),t}(a.Component)},function(e,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 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 o(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)}n.d(t,"a",function(){return g});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(67)),c=n(227),d=n(86),f=n(848),h=n.n(f),p=n(849),m=(n.n(p),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),g=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.addHover=function(t){var n=e.state.hover;n[t]=!0,e.setState({hover:n})},e.removeHover=function(t){var n=e.state.hover;n[t]=!1,e.setState({hover:n})},e.updateDim=function(){window.innerWidth<=e.minWidth&&!e.state.minimized?e.setState({minimized:!0}):window.innerWidth>e.minWidth&&e.state.minimized&&e.setState({minimized:!1})},e.state={hover:[],minimized:window.innerWidth<=e.minWidth},e.minWidth=420,e.items=[{icon:c.a,link:"https://www.facebook.com/WashingtoniGEM/",alt:"Washington iGEM Facebook"},{icon:c.c,link:"https://www.instagram.com/washington_igem/",alt:"Washington iGEM Instagram"},{logo:{purple:"https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png"},link:"https://2018.igem.org/Team:Washington",alt:"Team Washington"},{icon:c.b,link:"https://github.com/uwigem",alt:"Washington iGEM Github"},{icon:d.e,link:"mailto:uwigem@uw.edu",alt:"Washington iGEM Email"}],e}return o(t,e),m(t,[{key:"componentWillMount",value:function(){window.addEventListener("resize",this.updateDim)}},{key:"render",value:function(){var e=this;return s.a.createElement("div",{style:{width:"100%",height:"30vh",backgroundColor:"black",textAlign:"center",fontSize:"default"}},s.a.createElement(l.Grid,{fluid:!0},s.a.createElement(l.Row,{center:"xs",middle:"xs",style:{height:"30vh"}},s.a.createElement(h.a,{clear:!0,cascade:!0,duration:1e3},this.items.map(function(t,n){return s.a.createElement(l.Col,{key:"footbar"+n},!t.logo&&s.a.createElement("a",{href:t.link,alt:t.alt},s.a.createElement(u.a,{icon:t.icon,size:e.state.minimized?"1x":"2x",className:"icon",style:{color:e.state.hover[n]?"#420dab":"white",margin:10},onMouseEnter:function(){e.addHover(n)},onMouseLeave:function(){e.removeHover(n)}})),t.logo&&s.a.createElement("a",{href:t.link,alt:t.alt},s.a.createElement("div",{style:{margin:10,position:"relative",width:e.state.minimized?40:80,zIndex:2},onMouseEnter:function(){e.addHover(n)},onMouseLeave:function(){e.removeHover(n)}},s.a.createElement("svg",{style:{position:"absolute",width:e.state.minimized?40:80,top:e.state.minimized?-25:-42,left:e.state.minimized?0:7,zIndex:2,fill:"#ffffff",stroke:"#ffffff"},id:"white",xmlns:"http://www.w3.org/2000/svg",viewBox:"-205 297 200 200"},s.a.createElement("polygon",{className:"white-1",points:"-127.9,356.01 -120.88,354.88 -153.03,330.65 -144.88,367.78"}),s.a.createElement("polygon",{className:"white-1",points:"-49.41,362.59 -115,303.92 -115.44,358.5 -126,360.61 -154.5,379.51 -166.44,407.03 -187.93,421.25 -195.11,427.34 -198.52,439 -189.37,445.82 -184.71,451.02 -175.2,456.76 -177,451.56 -170.37,450.3 -156.2,449.05 -149.56,444.05 -135.2,450.1 -141.84,470.55 -149,472.37 -144.15,478.28 -145.58,484.74 -130.16,485.1 -88.37,451.56 -78.86,454.97 -59.86,459.97 -43.54,479.16 -36.41,421.22 -33.55,393.86 -33.44,383.86"})),s.a.createElement("svg",{style:{position:"absolute",width:e.state.minimized?40:80,top:e.state.minimized?-25:-42,left:e.state.minimized?0:7,opacity:e.state.hover[n]?1:0,transition:"opacity 0.2s",zIndex:3},id:"purple",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},s.a.createElement("polygon",{className:"cls-1",points:"51.97 33.65 60.12 70.78 66.91 50.4 51.97 33.65"}),s.a.createElement("polygon",{className:"cls-2",points:"84.12 57.88 51.97 33.65 66.91 50.4 77.1 59.01 84.12 57.88"}),s.a.createElement("polygon",{className:"cls-3",points:"60.12 70.78 77.1 59.01 66.91 50.4 60.12 70.78"}),s.a.createElement("polygon",{className:"cls-4",points:"90.01 6.92 89.56 61.5 97.03 47.91 90.01 6.92"}),s.a.createElement("polygon",{className:"cls-5",points:"100.31 22.4 95.97 41.49 90.01 6.92 100.31 22.4"}),s.a.createElement("polygon",{className:"cls-2",points:"155.62 65.59 133.03 45.87 133.03 60.8 155.62 65.59"}),s.a.createElement("polygon",{className:"cls-2",points:"116.76 57.55 133.03 60.8 133.03 45.87 116.76 57.55"}),s.a.createElement("polygon",{className:"cls-3",points:"155.62 65.59 129.01 78.22 106.23 71.52 129.97 60.23 155.62 65.59"}),s.a.createElement("polygon",{className:"cls-2",points:"171.51 86.84 155.62 65.59 132.91 76.37 171.51 86.84"}),s.a.createElement("polygon",{className:"cls-2",points:"129.01 78.22 152.78 94.98 171.4 96.84 171.51 86.84 132.91 76.37 129.01 78.22"}),s.a.createElement("polygon",{className:"cls-6",points:"89.56 61.5 105.41 53.8 116.76 57.55 89.56 61.5"}),s.a.createElement("polygon",{className:"cls-3",points:"106.23 71.52 62.85 87.16 78.98 63.61 89.56 61.5 116.76 57.55 129.97 60.23 106.23 71.52"}),s.a.createElement("polygon",{className:"cls-3",points:"152.78 94.98 132.84 92.95 124.13 79.55 129.01 78.22 152.78 94.98"}),s.a.createElement("polygon",{className:"cls-2",points:"87.92 93.48 100.28 103.75 129.71 103.92 108.11 85.47 87.92 93.48"}),s.a.createElement("polygon",{className:"cls-2",points:"139.63 104.97 132.84 92.95 124.13 79.55 108.11 85.47 129.71 103.92 139.63 104.97"}),s.a.createElement("polygon",{className:"cls-1",points:"62.85 87.16 87.92 93.48 108.11 85.47 124.13 79.55 129.01 78.22 106.23 71.52 62.85 87.16"}),s.a.createElement("polygon",{className:"cls-1",points:"44.56 95.74 50.48 82.51 78.98 63.61 62.85 87.16 44.56 95.74"}),s.a.createElement("polygon",{className:"cls-7",points:"48.39 106.54 62.85 87.16 44.56 95.74 48.39 106.54"}),s.a.createElement("polygon",{className:"cls-3",points:"91.57 108.45 100.28 103.75 87.92 93.48 79.91 99.75 91.57 108.45"}),s.a.createElement("polygon",{className:"cls-3",points:"62.85 87.16 79.91 99.75 87.92 93.48 62.85 87.16"}),s.a.createElement("polygon",{className:"cls-2",points:"56.23 102.53 59.88 112.28 71.38 106.01 56.23 102.53"}),s.a.createElement("polygon",{className:"cls-8",points:"55.93 96.49 60.75 103.4 56.23 102.53 57.81 106.7 49.96 104.45 55.93 96.49"}),s.a.createElement("polygon",{className:"cls-4",points:"62.85 87.16 55.93 96.49 60.75 103.4 71.38 106.01 79.91 99.75 62.85 87.16"}),s.a.createElement("polygon",{className:"cls-9",points:"132.84 92.95 171.4 96.84 168.58 124.25 139.63 104.97 132.84 92.95"}),s.a.createElement("polygon",{className:"cls-2",points:"38.54 110.03 44.56 95.74 48.39 106.54 50.1 112.87 38.54 110.03"}),s.a.createElement("polygon",{className:"cls-10",points:"55.6 115.33 59.88 112.28 57.81 106.7 49.96 104.45 48.39 106.54 50.1 112.87 55.6 115.33"}),s.a.createElement("polygon",{className:"cls-11",points:"91.57 108.45 71.38 106.01 79.91 99.75 91.57 108.45"}),s.a.createElement("polygon",{className:"cls-11",points:"55.6 115.33 59.88 112.28 71.38 106.01 91.57 108.45 55.6 115.33"}),s.a.createElement("polygon",{className:"cls-10",points:"73.8 125.95 91.57 108.45 55.6 115.33 73.8 125.95"}),s.a.createElement("polygon",{className:"cls-11",points:"100.28 103.75 123.28 119.88 142.8 107.37 139.63 104.97 129.71 103.92 100.28 103.75"}),s.a.createElement("polygon",{className:"cls-10",points:"140.06 139.41 140.06 118.43 135.8 111.9 123.28 119.88 140.06 139.41"}),s.a.createElement("polygon",{className:"cls-12",points:"168.58 124.25 140.06 118.43 135.8 111.9 142.8 107.37 168.58 124.25"}),s.a.createElement("polygon",{className:"cls-13",points:"140.06 139.41 164.5 151.51 140.06 118.43 140.06 139.41"}),s.a.createElement("polygon",{className:"cls-9",points:"168.58 124.25 164.5 151.51 140.06 118.43 168.58 124.25"}),s.a.createElement("polygon",{className:"cls-13",points:"140.06 139.41 145.13 162.99 161.45 182.18 164.5 151.51 140.06 139.41"}),s.a.createElement("polygon",{className:"cls-12",points:"91.86 133.57 123.28 119.88 131.86 129.81 104.42 142.9 91.86 133.57"}),s.a.createElement("polygon",{className:"cls-11",points:"116.61 154.56 140.06 139.41 131.86 129.81 104.42 142.9 116.61 154.56"}),s.a.createElement("polygon",{className:"cls-14",points:"145.13 162.99 126.12 157.97 140.06 139.41 145.13 162.99"}),s.a.createElement("polygon",{className:"cls-14",points:"116.61 154.56 126.12 157.97 140.06 139.41 116.61 154.56"}),s.a.createElement("polygon",{className:"cls-3",points:"17.07 124.25 38.54 110.03 50.1 112.87 17.07 124.25"}),s.a.createElement("polygon",{className:"cls-10",points:"35.18 128.55 50.1 112.87 17.07 124.25 23.88 128.37 35.18 128.55"}),s.a.createElement("polygon",{className:"cls-15",points:"73.8 125.95 55.6 115.33 50.1 112.87 38.59 124.96 73.8 125.95"}),s.a.createElement("polygon",{className:"cls-9",points:"23.88 128.37 22.27 136.62 36.98 141.64 73.8 125.95 38.59 124.96 35.18 128.55 23.88 128.37"}),s.a.createElement("polygon",{className:"cls-7",points:"17.07 124.25 9.89 130.34 22.27 136.62 23.88 128.37 17.07 124.25"}),s.a.createElement("polygon",{className:"cls-3",points:"6.48 142 22.27 136.62 9.89 130.34 6.48 142"}),s.a.createElement("polygon",{className:"cls-2",points:"15.63 148.82 22.27 136.62 6.48 142 15.63 148.82"}),s.a.createElement("polygon",{className:"cls-11",points:"36.98 141.64 34.64 153.3 28.01 154.56 29.8 159.76 20.3 154.02 15.63 148.82 22.27 136.62 36.98 141.64"}),s.a.createElement("polygon",{className:"cls-9",points:"100.28 103.75 91.57 108.45 83.25 116.53 99.75 122.27 123.28 119.88 100.28 103.75"}),s.a.createElement("polygon",{className:"cls-9",points:"73.8 125.95 91.86 133.57 123.28 119.88 99.75 122.27 83.25 116.53 73.8 125.95"}),s.a.createElement("polygon",{className:"cls-16",points:"82.53 155.46 104.42 142.9 116.61 154.56 82.53 155.46"}),s.a.createElement("polygon",{className:"cls-11",points:"92.94 173.21 116.61 154.56 82.53 155.46 74.28 169.8 92.94 173.21"}),s.a.createElement("polygon",{className:"cls-17",points:"74.82 188.1 92.94 173.21 74.28 169.8 69.98 178.41 74.82 188.1"}),s.a.createElement("polygon",{className:"cls-9",points:"59.4 187.74 69.98 178.41 74.82 188.1 59.4 187.74"}),s.a.createElement("polygon",{className:"cls-3",points:"82.53 155.46 69.8 153.12 63.16 173.57 60.83 181.28 59.4 187.74 69.98 178.41 74.28 169.8 82.53 155.46"}),s.a.createElement("polygon",{className:"cls-14",points:"55.45 147.03 69.8 153.12 82.53 155.46 81.08 145.18 55.45 147.03"}),s.a.createElement("polygon",{className:"cls-18",points:"36.98 141.64 51.32 135.37 68.85 146.06 55.45 147.03 48.81 152.05 34.64 153.3 36.98 141.64"}),s.a.createElement("polygon",{className:"cls-2",points:"56.23 102.53 59.88 112.28 71.38 106.01 56.23 102.53"}),s.a.createElement("polygon",{className:"cls-2",points:"116.05 30.25 90.01 6.92 100.31 22.4 116.05 30.25"}),s.a.createElement("polygon",{className:"cls-1",points:"100.31 22.4 110.79 34.64 116.05 30.25 100.31 22.4"}),s.a.createElement("polygon",{className:"cls-11",points:"89.56 61.5 105.41 53.8 97.03 47.91 89.56 61.5"}),s.a.createElement("polygon",{className:"cls-19",points:"110.79 34.64 97.03 47.91 105.41 53.8 116.76 57.55 110.79 34.64"}),s.a.createElement("polygon",{className:"cls-20",points:"100.31 22.4 95.97 41.49 97.03 47.91 110.79 34.64 100.31 22.4"}),s.a.createElement("polygon",{className:"cls-2",points:"133.03 45.87 116.05 30.25 110.79 34.64 116.76 57.55 133.03 45.87"}),s.a.createElement("polygon",{className:"cls-14",points:"104.42 142.9 81.08 145.18 82.53 155.46 104.42 142.9"}),s.a.createElement("polygon",{className:"cls-10",points:"73.8 125.95 51.32 135.37 68.85 146.06 81.08 145.18 104.42 142.9 91.86 133.57 73.8 125.95"}),s.a.createElement("polygon",{className:"cls-10",points:"55.98 175.37 63.16 173.57 60.83 181.28 55.98 175.37"}),s.a.createElement("polygon",{className:"cls-1",points:"87.92 93.48 108.11 85.47 129.71 103.92 100.28 103.75 87.92 93.48"})))))})))))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){var n=t.left,r=t.right,i=t.up,o=t.down,a=t.top,s=t.bottom,l=t.mirror,c=t.opposite,f=(n?1:0)|(r?2:0)|(a||o?4:0)|(s||i?8:0)|(l?16:0)|(c?32:0)|(e?64:0);if(d.hasOwnProperty(f))return d[f];if(!l!=!(e&&c)){var h=[r,n,s,a,o,i];n=h[0],r=h[1],a=h[2],s=h[3],i=h[4],o=h[5]}var p=n||r,m=a||s||i||o,g=p||m,v=void 0,y=void 0,b=void 0,w=void 0,E=void 0;return g?e?(y=p?(n?"":"-")+"42px":"0",b=m?(o||a?"-":"")+"60px":"0",w=p?(r?"":"-")+"2000px":"0",E=m?(i||s?"":"-")+"2000px":"0",v="40% {\n          opacity: 1;\n          transform: scale3d(.475, .475, .475) translate3d("+y+", "+b+", 0);\n        }\n        to {\n          opacity: 0;\n          transform: scale(.1) translate3d("+w+", "+E+", 0);\n          transform-origin: "+(m?"center bottom":(n?"left":"right")+" center")+";\n        }"):(y=p?(n?"-":"")+"1000px":"0",b=m?(o||a?"-":"")+"1000px":"0",w=p?(r?"-":"")+"10px":"0",E=m?(i||s?"-":"")+"60px":"0",v="from {\n          opacity: 0;\n          transform: scale3d(.1, .1, .1) translate3d("+y+", "+b+", 0);\n          animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);\n        }\n        60% {\n          opacity: 1;\n          transform: scale3d(.475, .475, .475) translate3d("+w+", "+E+", 0);\n          animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);\n        }"):v=(e?"to":"from")+" {opacity: 0; transform: scale3d(.1, .1, .1);} "+(e?"from":"to")+" { opacity: 1; transform: none;}",d[f]=(0,u.animation)(v),d[f]}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.defaults,t=e.children,n=(e.out,e.forever),o=e.timeout,a=e.duration,s=void 0===a?u.defaults.duration:a,c=e.delay,d=void 0===c?u.defaults.delay:c,f=e.count,h=void 0===f?u.defaults.count:f,p=r(e,["children","out","forever","timeout","duration","delay","count"]),m={make:i,duration:void 0===o?s:o,delay:d,forever:n,count:h,style:{animationFillMode:"both"},reverse:p.left};return(0,l.default)(p,m,m,t)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),s=n(225),l=function(e){return e&&e.__esModule?e:{default:e}}(s),u=n(135),c={out:a.bool,left:a.bool,right:a.bool,top:a.bool,bottom:a.bool,mirror:a.bool,opposite:a.bool,duration:a.number,timeout:a.number,delay:a.number,count:a.number,forever:a.bool},d={};o.propTypes=c,t.default=o,e.exports=t.default},function(e,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")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){r(this,e)}return i(e,[{key:"getNavbarData",value:function(){return l}},{key:"getDisplayConstants",value:function(e){if(a.globalColor)return a;var t=this.getNavbarDataTitleFromLink(e);if(""===t)return a;var n=a.pageSpecificColors[t];return n||a}},{key:"getNavbarDataTitleFromLink",value:function(e){var t="";return l.forEach(function(n){(n.links.indexOf(e)>-1||n.names.indexOf(e.split("/")[1])>-1)&&(t=n.title)}),t}},{key:"getLogo",value:function(){return a.logo}},{key:"getButtonHeight",value:function(){return a.buttonHeight}},{key:"getContentData",value:function(){return u}},{key:"getImgsToPrefetch",value:function(){return s}}]),e}();t.a=o;var a={primaryColor:"#420DAB",secondaryColor:"#6308b2",globalColor:!1,pageSpecificColors:{Home:{primaryColor:"#FFFFFF",secondaryColor:"#FFFF00"},Project:{primaryColor:"#FF0000",secondaryColor:"#00FF00"}},logo:"https://static.igem.org/mediawiki/2017/e/e9/T--Washington--WLogo.png",buttonHeight:"16px"},s=["https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png","https://static.igem.org/mediawiki/2018/5/58/T--Washington--AerilynnTeam.jpg","https://static.igem.org/mediawiki/2018/2/2f/T--Washington--AlanPic.jpg","https://static.igem.org/mediawiki/2018/b/bc/T--Washington--AnastasiaTeam.jpg","https://static.igem.org/mediawiki/2018/c/ce/T--Washington--AndrewTeam.jpg","https://static.igem.org/mediawiki/2018/a/ac/T--Washington--AngelTeam.jpg","https://static.igem.org/mediawiki/2018/1/1a/T--Washington--CharlieTeam.jpg","https://static.igem.org/mediawiki/2018/5/5d/T--Washington--ChemayTeam.jpg","https://static.igem.org/mediawiki/2018/5/50/T--Washington--DallasTeam.jpg","https://static.igem.org/mediawiki/2018/9/99/T--Washington--SauroTeam.jpg","https://static.igem.org/mediawiki/2018/2/20/T--Washington--GuTeam.jpg","https://static.igem.org/mediawiki/2018/d/de/T--Washington--TPhotoDreycey.jpg","https://static.igem.org/mediawiki/2018/1/1d/T--Washington--GraceTeam.jpg","https://static.igem.org/mediawiki/2018/6/6c/T--Washington--HannahTeam.jpg","https://static.igem.org/mediawiki/2018/f/fb/T--Washington--IshiraTeam.jpg","https://static.igem.org/mediawiki/2018/e/e6/T--Washington--JayTeam.jpg","https://static.igem.org/mediawiki/2018/4/49/T--Washington--JoshuaTeam.jpg","https://static.igem.org/mediawiki/2018/e/e7/T--Washington--KarlTeam.jpg","https://static.igem.org/mediawiki/2018/b/b2/T--Washington--KrithiTeam.jpg","https://static.igem.org/mediawiki/2018/c/ca/T--Washington--RenaldoTeam.jpg","https://static.igem.org/mediawiki/2018/7/77/T--Washington--SairandriTeam.jpg","https://static.igem.org/mediawiki/2018/e/ec/T--Washington--SeaEunTeam.jpg","https://static.igem.org/mediawiki/2018/7/7d/T--Washington--VeraTeam.jpg","https://static.igem.org/mediawiki/2018/0/0c/T--Washington--WilliamTeam.jpg","https://static.igem.org/mediawiki/2018/4/40/T--Washington--YoshiTeam.jpg","https://static.igem.org/mediawiki/2018/b/b1/T--Washington--RehaanTeam.jpg","https://static.igem.org/mediawiki/2018/1/1a/T--Washington--AimeeTeam.jpg","https://static.igem.org/mediawiki/2018/e/e2/T--Washington--EdTeam.jpg","https://static.igem.org/mediawiki/2018/5/54/T--Washington--JoanneTeam.jpg","https://static.igem.org/mediawiki/2018/a/ac/T--Washington--KatekaTeam.jpg","https://static.igem.org/mediawiki/2018/d/da/T--Washington--ShubTeam.jpg","https://static.igem.org/mediawiki/2018/e/e8/T--Washington--biochemlogo.png","https://static.igem.org/mediawiki/2018/e/e7/T--Washington--Genscriptlogo.png","https://static.igem.org/mediawiki/2018/9/9e/T--Washington--IDTlogo.png","https://static.igem.org/mediawiki/2018/0/01/T--Washington--CSElogo.png","https://static.igem.org/mediawiki/2018/0/00/T--Washington--Zuliplogo.png","https://static.igem.org/mediawiki/2018/d/d5/T--Washington--bioinfologo.png","https://static.igem.org/mediawiki/2018/8/8f/T--Washington--BioElogo.png","https://static.igem.org/mediawiki/2018/a/a6/T--Washington--IPDlogo.png","https://static.igem.org/mediawiki/2018/d/d3/T--Washington--PvPlogo.png","https://static.igem.org/mediawiki/2018/8/89/T--Washington--biologo.png","https://static.igem.org/mediawiki/2018/5/54/T--Washington--appliedmathlogo.png","https://static.igem.org/mediawiki/2018/b/b5/T--Washington--chemlogo.png","https://static.igem.org/mediawiki/2018/4/49/T--Washington--NEBlogo.png","https://static.igem.org/mediawiki/2018/5/5e/T--Washington--microbiologo.png","https://static.igem.org/mediawiki/2018/0/0d/T--Washington--msebiologo.png"],l=[{title:"Home",names:["Home","UW 2017","UW 2016","UW 2015","UW 2014","UW 2013","UW 2012","UW 2011","UW 2010","UW 2009","UW 2008"],links:["https://2018.igem.org/Team:Washington","https://2017.igem.org/Team:Washington","https://2016.igem.org/Team:Washington","https://2015.igem.org/Team:Washington","https://2014.igem.org/Team:Washington","https://2013.igem.org/Team:Washington","https://2012.igem.org/Team:Washington","https://2011.igem.org/Team:Washington","https://2010.igem.org/Team:Washington","https://2009.igem.org/Team:Washington","https://2008.igem.org/Team:Washington"]},{title:"Project",names:["Project Description","Design","Experiments","Notebook","InterLab","Model","Results","Parts","Hardware"],links:["/Description","/Design","/Experiments","/Notebook","/InterLab","/Model","/Results","/Parts","/Hardware"]},{title:"Human Practices",names:["Human Practices","Integrated HP","Collaborations","Education & Engagement","Entrepreneurship","HP Design","Team Development"],links:["/Human_Practices","/Integrated_Human_Practices","/Collaborations","/Public_Engagement","/Entrepreneurship","/HP_Design","/Team_Development"]},{title:"Safety",names:["Safety"],links:["/Safety"]},{title:"People",names:["Team","Attributions","Sponsors","Gallery"],links:["/Team","/Attributions","/Sponsors","/Gallery"]},{title:"Judging",names:["Medal Requirements"],links:["/Medal_Requirements"]}],u=[{content:[{data:"HEADER\nTEXT=LOREM IPSUM\nSUBTITLE=lorem ipsum my duders\nBACKGROUND=https://static.igem.org/mediawiki/2018/1/1f/T--Washington--LabBG.jpg\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\noverview\nOverviewA",type:"SPECIAL"},{data:"ACCORDION\n===\nTITLE OF ACCORDION 1\n![image alt text goes here](https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg)\n\n\ndescription lorem ipsum blah blah\n===\nTITLE OF ACCORDION 2\n![image alt text goes here](https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg)\n\n\ndescription lorem ipsum blah blah",type:"SPECIAL"},{data:"VIDEO\ntest",type:"SPECIAL"},{data:"SPLITVIEW\n===\nIMAGE;25;50\nhttps://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg\n===\nCONTENT;TEST=123123;TEST2=ABCB\nrest of content goes here\n\na\n\na\n\na\n\na\n\na\n\na\na\n\na\na\n\na\n\na\n\na\n\na\na\n\na\na\n\na\n\na\n\na\n\na\na\n\na\na\n\na\n\na\n\na\n\na\na\n\na",type:"SPECIAL"},{data:"```javascript\nfunction() {\n  test.test;\n}\n```",type:"MARKDOWN"},{data:".footnote[.red.bold[*] Important footnote]",type:"MARKDOWN"},{data:"dc",type:"MARKDOWN"},{data:"Insert text",type:"MARKDOWN"},{data:"# Overview\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam consectetur fermentum tortor vitae cursus. Ut convallis ultricies quam, non viverra orci auctor non. In auctor gravida interdum. Pellentesque nec ligula vehicula, porttitor tellus eu, iaculis dolor. Morbi eget faucibus sapien. Donec pretium pellentesque tempus. Aliquam ut ipsum feugiat, dapibus nibh ac, mattis est. Suspendisse a convallis ipsum. Vestibulum erat sem, aliquam mattis lorem id, ornare euismod magna.\n\nDuis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus. Etiam eget tellus dictum enim ultrices gravida eget in ex. Etiam viverra nulla vel varius malesuada. Mauris iaculis lobortis diam, sed eleifend orci vulputate aliquet. Aliquam scelerisque tempus nisl. Integer pharetra, nisl quis feugiat scelerisque, ex justo pretium purus, rhoncus aliquet diam sem eu ligula. Aenean eu turpis vitae neque molestie ornare ac in sem. Nam vitae malesuada velit. Quisque eget bibendum mi. Fusce vitae aliquam eros. Curabitur sodales nibh vitae euismod scelerisque.\n\nAenean at urna vel justo eleifend tempor. Suspendisse rutrum ut odio a condimentum. Nullam vel ex tempus, efficitur justo malesuada, maximus nisl. Donec tincidunt eros et auctor rhoncus. Aliquam erat volutpat. Maecenas eget tempor dolor. Fusce varius quam id nisl scelerisque, eget lobortis enim ornare. Vestibulum ex nisi, convallis et augue sed, dictum ultricies magna. Aliquam erat volutpat. Proin tincidunt tortor sit amet bibendum tincidunt. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Aliquam faucibus lectus vitae augue volutpat, vel lacinia nisi aliquet.\n\nVestibulum quis purus vulputate, imperdiet mauris in, congue mi. Sed varius sapien quis rhoncus ultrices. Donec nec molestie libero. Praesent fringilla sagittis arcu, non hendrerit sem iaculis et. Ut hendrerit accumsan ex, ac euismod enim maximus vitae. Vivamus vel dui arcu. Maecenas id felis eget enim tincidunt scelerisque. Nam non pulvinar nisl. Morbi urna libero, elementum eu aliquet non, pellentesque semper nunc. Vestibulum eros nunc, dapibus vel mi eget, scelerisque vehicula augue. Cras at nisi at elit gravida malesuada. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.\n\nVivamus facilisis justo nisl, eget commodo neque aliquam eu. Morbi ut tempus metus. In sodales commodo tortor, eu finibus odio hendrerit vel. Phasellus aliquet auctor sodales. Etiam vitae justo blandit, pulvinar massa id, vulputate nulla. Donec gravida aliquam purus, ac dapibus leo mollis ut. Pellentesque tempus, augue a efficitur vehicula, libero augue vehicula nibh, vitae posuere magna mi at nunc. Donec varius augue vitae tortor ultricies, nec pellentesque odio condimentum. Cras scelerisque viverra tempus. Donec in arcu a urna eleifend eleifend vitae ac arcu. Proin sed pretium magna.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nsection-1\nVery long section title. Lorem ipsum dolor sit amet, consectetur",type:"SPECIAL"},{data:"# sect 1\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam consectetur fermentum tortor vitae cursus. Ut convallis ultricies quam, non viverra orci auctor non. In auctor gravida interdum. Pellentesque nec ligula vehicula, porttitor tellus eu, iaculis dolor. Morbi eget faucibus sapien. Donec pretium pellentesque tempus. Aliquam ut ipsum feugiat, dapibus nibh ac, mattis est. Suspendisse a convallis ipsum. Vestibulum erat sem, aliquam mattis lorem id, ornare euismod magna.\n\nDuis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus. Etiam eget tellus dictum enim ultrices gravida eget in ex. Etiam viverra nulla vel varius malesuada. Mauris iaculis lobortis diam, sed eleifend orci vulputate aliquet. Aliquam scelerisque tempus nisl. Integer pharetra, nisl quis feugiat scelerisque, ex justo pretium purus, rhoncus aliquet diam sem eu ligula. Aenean eu turpis vitae neque molestie ornare ac in sem. Nam vitae malesuada velit. Quisque eget bibendum mi. Fusce vitae aliquam eros. Curabitur sodales nibh vitae euismod scelerisque.\n\nAenean at urna vel justo eleifend tempor. Suspendisse rutrum ut odio a condimentum. Nullam vel ex tempus, efficitur justo malesuada, maximus nisl. Donec tincidunt eros et auctor rhoncus. Aliquam erat volutpat. Maecenas eget tempor dolor. Fusce varius quam id nisl scelerisque, eget lobortis enim ornare. Vestibulum ex nisi, convallis et augue sed, dictum ultricies magna. Aliquam erat volutpat. Proin tincidunt tortor sit amet bibendum tincidunt. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Aliquam faucibus lectus vitae augue volutpat, vel lacinia nisi aliquet.\n\nVestibulum quis purus vulputate, imperdiet mauris in, congue mi. Sed varius sapien quis rhoncus ultrices. Donec nec molestie libero. Praesent fringilla sagittis arcu, non hendrerit sem iaculis et. Ut hendrerit accumsan ex, ac euismod enim maximus vitae. Vivamus vel dui arcu. Maecenas id felis eget enim tincidunt scelerisque. Nam non pulvinar nisl. Morbi urna libero, elementum eu aliquet non, pellentesque semper nunc. Vestibulum eros nunc, dapibus vel mi eget, scelerisque vehicula augue. Cras at nisi at elit gravida malesuada. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.\n\nVivamus facilisis justo nisl, eget commodo neque aliquam eu. Morbi ut tempus metus. In sodales commodo tortor, eu finibus odio hendrerit vel. Phasellus aliquet auctor sodales. Etiam vitae justo blandit, pulvinar massa id, vulputate nulla. Donec gravida aliquam purus, ac dapibus leo mollis ut. Pellentesque tempus, augue a efficitur vehicula, libero augue vehicula nibh, vitae posuere magna mi at nunc. Donec varius augue vitae tortor ultricies, nec pellentesque odio condimentum. Cras scelerisque viverra tempus. Donec in arcu a urna eleifend eleifend vitae ac arcu. Proin sed pretium magna.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nDESCRIPTION=Lorem ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg;XPOS=25;YPOS=25;LINK=http://google.com\nDESCRIPTION=Lorem2 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg\nDESCRIPTION=Lorem3 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=http://www.independentmediators.co.uk/wp-content/uploads/2016/02/placeholder-image-300x225.jpg",type:"SPECIAL"},{data:"SUBIMAGES\nMAXIMAGESPERROW=6\nDESCRIPTION=Lorem ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg;XPOS=25;YPOS=25;LINK=http://google.com\nDESCRIPTION=Lorem2 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg\nDESCRIPTION=Lorem3 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=http://www.independentmediators.co.uk/wp-content/uploads/2016/02/placeholder-image-300x225.jpg\nDESCRIPTION=Lorem2 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg\nDESCRIPTION=Lorem2 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg\nDESCRIPTION=Lorem2 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/4/4d/T--Washington--TestImage.png,testimage,margin:auto,width:100%",type:"IMAGE"},{data:"TAB\n===\nTITLE OF TAB 1\n# markdown content begins here\n\nasdf\n\nasdf\n\nasdf\n===\nTITLE OF TAB 2\n# markdown content begins here 2\n\nasdf\nasdf\nasdf\nasdf\nasd\nf",type:"SPECIAL"},{data:"This is a test list\n\n* a 123 lorem ipsum\n* b 123 lorem ipsum\n* c 123 lorem ipsum",type:"MARKDOWN"},{data:"SECTION\nsection-2\n2 title!",type:"SPECIAL"},{data:"# sect 2\n\nThis is a ttest testtest test setset est se tse tes tes tset se tse t\n\n1. abc\n2. 123\n3. res",type:"MARKDOWN"},{data:'\n| **Data Type**    | **Example**                        | **Description**                                        |\n|------------------|------------------------------------|--------------------------------------------------------|\n| integer (number) |      ```test\\n test test ```      | Number that does not have a decimal point              |\n| float (number)  | `1.0, 3.1415`                      | Number with a decimal point                            |\n| string          | `"Hello", \'hello\', "123", "%+1+2"` | Characters surrounded by quotes (\'single\' or "double") |\n| boolean          | `True, False`                      | Truth values (can only be True or False)              |',type:"MARKDOWN"},{data:"```javascript\nfunction a(a,b) {\n    console.log(a+b);\n}\n```",type:"MARKDOWN"},{data:"https://images.pexels.com/photos/104827/cat-pet-animal-domestic-104827.jpeg,test,width:100px,margin:auto,border:2px solid red,borderRadius:20,margin:auto,marginTop: 20",type:"IMAGE"},{data:"\n\n\nasdfasdfa\nasdf\nasdf\nasdf\nsadf\nsaf\ndsaf\na\nasdfasdfa\nasdf\nasdf\nasdf\nsadf\nsaf\ndsaf\na\n\nasdfasdfa\nasdf\nasdf\nasdf\nsadf\nsaf\ndsaf\na\n\n\nasdfasdfa\nasdf\nasdf\nasdf\nsadf\nsaf\ndsaf\na\n\n\nasdfasdfa\nasdf\nasdf\nasdf\nsadf\nsaf\ndsaf\na\n",type:"MARKDOWN"},{data:"SECTION\nsection-4\ntest2",type:"SPECIAL"},{data:"a\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\n",type:"MARKDOWN"},{data:"NAVIGATION\nLEFT=aaa;LEFTNAME=Entrepreneurship;RIGHT=ccc;RIGHTNAME=Team Development",type:"SPECIAL"}],isContent:!0,pageTitle:"/ContentTest"},{content:[{data:"HOMEPAGE\nBACKGROUND=https://static.igem.org/mediawiki/2018/5/58/T--Washington--MB.jpg\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=70\nTITLEHEIGHT=12\nSUBTITLEHEIGHT=7\nTITLE=Stronger Together\nSUBTITLE=An efficient, generalizable approach to design biosensors for small molecules\nBUTTONTEXT=Overview\nCONTENTTITLE=Washington iGEM 2018 Project Abstract\nCONTENTSUBTITLE=Chemically Induced Dimerization of Nanobodies for the Development of Versatile Biosensors\nCONTENT=One of the pressing challenges of modern science is the detection of small molecule targets. This has applications in a variety of fields, such as point-of-care diagnostics and metabolic engineering. Although most small molecules can be detected through Enzyme-Linked Immunosorbent Assay (ELISA), accessibility is limited by the time-consuming nature of the procedure. We hope to use a chemically induced dimerization system of nanobodies to detect small molecule targets and apply this system to the development of simple diagnostic assays, such as lateral flow assays or fluorescent microarrays, and innovations in metabolic engineering.;Nanobodies are antibody fragments from single domain antibodies found in camelids and sharks. They are the variable regions of antibodies that are responsible for specific binding to target molecules. Researchers in the Institute for Protein Design (IPD) at the University of Washington have created extensive libraries of phages displaying nanobodies for high throughput screening of binding targets, making them a versatile tool for molecule detection. We have partnered with Dr. Liangcai Gu from the IPD to investigate novel applications of a high-throughput nanobody library numbering ten billion unique types. In our project, we will identify specific nanobodies that bind to desired target molecules of high importance and demonstrate the application of nanobody technology to the development of a biosensor.;Traditionally, monoclonal antibodies have been used to detect specific molecules and used in products such as ELISA kits. However, one significant barrier to developing new monoclonal antibodies is that they require introduction of an antigen to an animal before large scale production can begin. We are bypassing this expensive and time-consuming step and the associated ethical concerns by screening through a pre-existing library of nanobodies to rapidly identify those that can bind desired target molecules with high specificity.;Our team will be screening our nanobody library against two chosen molecules to find binding nanobodies. Then, we will screen the library for secondary nanobodies that bind to the primary nanobody-antigen complex, thus forming a dimer. After identifying these nanobodies, these nanobodies can be fused to other proteins to form biosensors. Specifically, we intend to repurpose activating and DNA binding domain proteins used in yeast 2-hybrid systems to create a transcriptional biosensor.",type:"SPECIAL"}],pageTitle:"/TempMain"},{content:[{data:"HOMEPAGE\nBACKGROUND=https://static.igem.org/mediawiki/2018/5/58/T--Washington--MB.jpg\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=70\nTITLEHEIGHT=9\nSUBTITLEHEIGHT=5\nTITLE=STRONGER TOGETHER\nSUBTITLE=An efficient, generalizable approach to design biosensors for small molecules\nBUTTONTEXT=Overview\nCONTENTTITLE=Washington iGEM 2018 Project Abstract\nCONTENTSUBTITLE=Chemically Induced Dimerization of Nanobodies for the Development of Versatile Biosensors\nCONTENT=Chemically induced dimerization (CID), in which two proteins dimerize only in the presence of a small molecule, has been widely used to control cell signaling, regulatory, and metabolic pathways, and used as logic gates for biological computation in living mammalian cells. However, few naturally occuring CID systems and their derivatives are currently available. Creating a CID system with desired affinity and specificity for any given small molecule remains an unsolved problem for computational design and other protein engineering approaches. To address this challenge, we have used a novel strategy to select CID binders from a vastly diverse combinatorial nanobody library. We have created new CID systems that can sense cholecalciferol and artemisinin. We are validating CID biosensors by a yeast three-hybrid system and built structural models to understand the small molecule-induced dimerization. Our work is a proof-of-concept that can be generalized to create CID systems for many applications.",type:"SPECIAL"}],pageTitle:""},{content:[{data:"HEADER\nTEXT=INTERLAB\nBACKGROUND=https://static.igem.org/mediawiki/2018/1/1f/T--Washington--LabBG.jpg\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"# Overview\n\nSince 2014, the iGEM Measuring Committee has been dedicated to developing a robust and repeatable measurement procedure for Green Fluorescent Protein (GFP). To do so, iGEM has held the Interlab Study for several years, utilizing the international reach of the competition to test their procedures and collect data. We are proud to have participated in this study so that this ongoing effort can come closer to developing a universal way to measure GFP regardless of machinery and resources.\n\nThe main protocol for the 2018 Interlab Study was provided by iGEM headquarters and can be found [here](https://2018.igem.org/Measurement/InterLab/Plate_Reader).\n\nWe followed the Plate Reader and CFU protocol with the tools provided by iGEM.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nexperience\nExperience",type:"SPECIAL"},{data:"# Experience\nThe protocol was simple to follow. We made a few adjustments to the protocol due to limitations on supplies:\n\n1. Use of clear plates instead of black bottom plates\n1. Use of 15 mL conical tubes covered in foil instead of 50 mL conical tubes\n\nWe also ran into some issues with growing up the cultures as our incubator/shaker could only hold the conical tubes upright instead of slanted, which may have affected how well they were able to grow. Overall, the protocols were not too challenging, and it gave us an opportunity to work heavily with plate readers and learn how to set up the readings in various ways.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncalibration1\nCalibration 1",type:"SPECIAL"},{data:"# Calibration 1: OD\u2086\u2080\u2080 Reference Point using LUDOX\n\nLUDOX Reference Point\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/b/bd/T--Washington--1aa.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"LUDOX CL-X was used as a point reference to turn ABS\u2086\u2080\u2080 measurements into OD\u2086\u2080\u2080 measurements.  LUDOX solution was used due to its low absorbance value. This calibration was necessary because plate reader measurements of absorbance are volume dependent as the depth of the fluid in the well changes path length of light passing through the sample. \n\nOur results over four replicates were extremely close which showed consistency in pipetting and machine reading. Calibration 1 was repeated three times in order to check for consistency.\nOur OD\u2086\u2080\u2080/Abs\u2086\u2080\u2080 correction factor turned out to 3.247. For all cell density readings using this instrument with the same settings and volume, we converted to OD\u2086\u2080\u2080 by multiplying by 3.247.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncalibration2\nCalibration 2",type:"SPECIAL"},{data:"# Calibration 2: Microspheres\n\nThe point of using monodisperse silica microspheres was that their size and optical characteristics are similar to cells and we know the exact number of spheres we have. This allows us to use a standard curve of particle concentration, which we can use to convert to ABS\u2086\u2080\u2080 measurements for the estimated number of cells.\n\nSpecs used:\n* 530 nm emission\n* 485 nm excitation\n\nMicrosphere Absorbance in Serial Dilutions Raw Data",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/2e/T--Washington--2aa.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Particle Standard Curve",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/0/0f/T--Washington--3aa.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Particle Standard Curve on a Log Scale",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/7/72/T--Washington--4aa.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Particles / OD",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/d/d8/T--Washington--5aa.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"The data was consistent over four replicates, suggesting that the readings were done quickly enough before the microspheres settled to the bottom of the well, as they will settle after a short period of time. We thought an automix feature on the machine would help mix the beads better, but the results turned out to be worse and had clumps of beads at the bottom. To counter this problem, we pipetted up and down four times in a circle around the well, ending with the more concentrated wells. After checking that there was no bead pellet, we received the expected results. We know that this is expected because each well\u2019s total number of particles should have been half of the previous well\u2019s value, as the concentration was cut in half for each well. The particle standard curve on the log scale, although supposed to be 1:1, turned out to be an exponential curve. We suspect that this may be due to a machine error. Throughout six trials, with the technique of pipetting up and down three times, the log curve was still a straight line.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncalibration3\nCalibration 3",type:"SPECIAL"},{data:"# Calibration 3: Fluorescein standard curve\n\nThe data was consistent over four replicates, showing that there was no error in pipetting or diluting. A fluorescein experiment was used as the third calibration to create a standard curve - this was done so that any difference in how plate readers reported fluorescence could be compared between different teams\u2019 data, regardless of the brand of the plate reader used. This will be used to convert the cell-based readings to an equivalent concentration\n\n* 530 nm emission\n* 485 nm excitation\n\nFluorescein Raw Data",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/f0/T--Washington--6.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/a/ac/T--Washington--7.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/7/79/T--Washington--8.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Fluorescein / a.u.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/e/ef/T--Washington--9.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Colony Raw Plate Readings",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/d/dc/T--Washington--10.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/6/66/T--Washington--11.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Fluorescence per OD Experimental Values\n\nThe Unit Scaling Factors determined by the calibration is\n\nOD\u2086\u2080\u2080/Abs\u2086\u2080\u2080 = 3.25\n\n\u03bcM Fluorescein/a.u. = 4.49E-4\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/8/8e/T--Washington--12.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/9/9e/T--Washington--13.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/a/aa/T--Washington--14.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Fluorescence per Particle Experimental Values\n\nUnit Scaling Factors determined by the calibration is:\n\nParticles/Abs\u2086\u2080\u2080 = 2.52E8\n\nMEFL/a.u = 2.71E9\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/9/91/T--Washington--15.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/2/22/T--Washington--16.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/f/f1/T--Washington--17.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Plate Culture Count and CFU Values",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/f7/T--Washington--18.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"}],isContent:!0,pageTitle:"/InterLab"},{content:[{data:"HEADER\nTEXT=CraftY GirlZ\nBACKGROUND=https://static.igem.org/mediawiki/2018/1/1f/T--Washington--LabBG.jpg\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"CRAFTY\nCRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ ",type:"SPECIAL"}],pageTitle:"/CraftyGirlz"},{content:[{data:"HEADER\nTEXT=Team\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nBLUR=3\nMINPADDINGTOP=120",type:"SPECIAL"},{data:"TEAM\nNAME=Anastasia Nicolov; ROLE=Adviser; PICTURE=https://static.igem.org/mediawiki/2018/b/bc/T--Washington--AnastasiaTeam.jpg; LINKEDIN=https://www.linkedin.com/in/anastasianicolov/; FILTER=Adviser; BIO=A Seattle native, Anastasia graduated from UW in 2017 with a B.S. in Bioengineering and currently works at Just Biotherapeutics as a bioreactor scientist. As a 5-year iGEM veteran, she acts as adviser to both the Washington and iTesla-SoundBio teams, and was a main organizer of the first-ever Pacific Northwest iGEM Meetup this year.\nNAME=William Kwok; ROLE=Drylab Lead Engineer, Wiki Developer; PICTURE=https://static.igem.org/mediawiki/2018/0/0c/T--Washington--WilliamTeam.jpg;GITHUB=https://github.com/kwokwilliam; LINKEDIN=https://linkedin.com/in/william-w-kwok/; PERSONAL=https://williamk.info; FILTER=Drylab,Leadership; BIO=Coming from tropical Hawaii, William is a current junior obtaining a BS in Informatics. His focus on the team was to organize the hardware and software teams and programming the Wiki. He currently is a teaching assistant for Client Side Development and works under Dr. Andy Ko in the Code and Cognition Lab. In his spare time, he enjoys playing video games with his friends and programming side projects.\nNAME=Kara de Leon; ROLE=Wetlab, Outreach; PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75; LINKEDIN=https://www.linkedin.com/in/karadeleon; FILTER=Wetlab, Outreach; BIO= Kara a third-year undergraduate bioengineering student. Driven by care and curiosity, she is passionate in her pursuit of gaining experience in different areas of Bioengineering and promoting diversity and STEM education. She is thrilled that iGEM allows her to do both alongside her hilarious and intelligent teammates in Wetlab and Outreach!\nNAME=Krithi Basu;ROLE=Director of Internal Affairs, Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/b/b2/T--Washington--KrithiTeam.jpg;LINKEDIN=https://www.linkedin.com/in/krithi-basu/;FILTER=Wetlab, Leadership;BIO=Krithi is currently a junior majoring in Bioengineering and minoring in Law, Societies and Justice. This year, her main role as Director of Internal Affairs was to be the communication hub and interface between team members and leadership. She enjoys researching viral immunology, listening to music, talking about social issues, and watching horror movies.\nNAME=Andrew Hu; ROLE=Operational Administrative Lead; PICTURE=https://static.igem.org/mediawiki/2018/c/ce/T--Washington--AndrewTeam.jpg; GITHUB=https://github.com/andrewhu-uw; LINKEDIN=https://www.linkedin.com/in/andrew-hu/; FILTER=Drylab, Leadership; BIO=Andrew is a third-year Computer Science & Education double major. He led the curriculum team in creating a seminar to help team members prepare for the summer, and serves as an admin lead with Angel Wong.\nNAME=Angie Dang; ROLE=Wetlab, Design; PICTURE=https://static.igem.org/mediawiki/2018/9/9d/T--Washington--AngiePhoto.jpg; FILTER=Design, Wetlab; BIO=Born and raised in Washington, Angie is finishing her fourth year at UW - aiming for a B.A. in Biochemistry. Her role in iGEM was primarily working in lab and illustrating for design projects, such as the Synthetic Biology Activity Booklet. When she's off the clock, Angie is usually catching up on sleep.\nNAME=Joanne Wong; ROLE=Wetlab, Outreach; PICTURE=https://static.igem.org/mediawiki/2018/5/54/T--Washington--JoanneTeam.jpg; LINKEDIN=https://www.linkedin.com/in/joanneytwong/; FILTER=Wetlab, Outreach; BIO=All the way from Hong Kong, Joanne is currently a junior pursuing Chemical Engineering. Hoping to go into the field of research, she joined iGEM to get a taste of that! Other than that, she loves thinking about food during every waking moment.\nNAME=Chemay Shola;ROLE=Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/5/5d/T--Washington--ChemayTeam.jpg;LINKEDIN=https://www.linkedin.com/in/chemayshola/;FILTER=Wetlab;BIO=Born and raised in southern Washington, Chemay is a current sophomore in the Department of Bioengineering. His focus on the team was to conduct wetlab experiments. In his spare time, he enjoys running, reading, and meditating.\nNAME=Charlie Fisher; ROLE=Wetlab, Design, Presenter; PICTURE=https://static.igem.org/mediawiki/2018/1/1a/T--Washington--CharlieTeam.jpg; LINKEDIN=https://www.linkedin.com/in/charlie-fisher-028689167/; FILTER=Wetlab, Design, Presenters; BIO=Charlie is a third-year undergraduate student, majoring in electrical engineering. Her passion for physiology drew her to iGEM but the complexity of organisms made her stay. She loves the uncertainty of wetlab experiments and the creative possibilities in design. Catch her on hikes, at coffee shops, or in Boston as one of Washington iGEM\u2019s presenters!\nNAME=Sea-Eun Lee; ROLE=Drylab; PICTURE=https://static.igem.org/mediawiki/2018/e/ec/T--Washington--SeaEunTeam.jpg; GITHUB=https://github.com/uwigem/Chromastat18/tree/seaeun/src/chromastat18; LINKEDIN= https://www.linkedin.com/in/seaeunlee/; FILTER=Drylab; BIO=Sea-Eun is a current sophomore, pursuing a BS in Computer Science. Her focus was improving the functionality and efficiency of the Chromastat with a small group of individuals. In her spare time, she likes to spend time with her family and friends and work out.\nNAME=Aimee Ellis;ROLE=Wetlab, Outreach, Collaborations;PICTURE=https://static.igem.org/mediawiki/2018/1/1a/T--Washington--AimeeTeam.jpg;FILTER=Wetlab, Outreach, Collaborations;BIO=Born in Minnesota and mostly raised in Washington, Aimee is currently a sophomore at the University of Washington intending to major in Biochemistry and Molecular Biology. Her role in iGEM is primarily working in lab and designing lessons for the Synthetic Biology Activity Booklet. In her free time, Aimee enjoys working out, teaching people how to swim, and singing along to current hits on the radio.\nNAME=Sairandri Sathyanarayanan; ROLE=Business, Outreach; PICTURE=https://static.igem.org/mediawiki/2018/7/77/T--Washington--SairandriTeam.jpg; FILTER=Business, Outreach; BIO=Sairandri Sathyanarayanan is a sophomore majoring in Molecular, Cellular and Developmental Biology. She is primarily involved with the business and outreach teams in iGEM. When she isn't working, she enjoys advocating for mental health, singing and reading.\nNAME=Dallas Warren;ROLE=Simulations, Outreach;PICTURE=https://static.igem.org/mediawiki/2018/5/50/T--Washington--DallasTeam.jpg;LINKEDIN=https://linkedin.com/in/dallaswarren/;FILTER=Drylab, Outreach; BIO=Dallas is a Washington local and rising senior majoring in Electrical Engineering. As a member of the team he helped develop outreach curriculum and created mathematical models using Tellurium. In his free time he enjoys listening to music.\nNAME=Aerilynn Nguyen; ROLE=Wetlab, Outreach; PICTURE=https://static.igem.org/mediawiki/2018/5/58/T--Washington--AerilynnTeam.jpg; FILTER=Wetlab, Outreach; BIO=Aerilynn is a senior studying molecular biology. When she isn't in lab, she's helping to organize and volunteer at outreach events with the hopes of making others just as excited about synthetic biology as she is. Aerilynn draws a lot of her inspiration and passion for synthetic biology from the fictional universe of Star Trek. When she's not watching Star Trek, she's working out, playing video games, or hanging out with her dogs.\nNAME=Karl Anderson; ROLE=Project Lead; PICTURE=https://static.igem.org/mediawiki/2018/e/e7/T--Washington--KarlTeam.jpg;LINKEDIN=https://www.linkedin.com/in/karlbanderson/; FILTER=Wetlab, Leadership; BIO=Karl is a junior studying Biochemistry and Molecular Biology. He has been responsible for overseeing the design and execution of this year\u2019s project as well as managing the wetlab team. He spends a lot of time working in lab, but he also finds days to hike and sail in the Pacific Northwest.\nNAME=Yoshi Goto; ROLE=Adviser, Fundraising Manager; PICTURE=https://static.igem.org/mediawiki/2018/4/40/T--Washington--YoshiTeam.jpg; GITHUB=https://github.com/Yoshi8765; LINKEDIN=https://www.linkedin.com/in/yoshigoto/; FILTER=Adviser, Drylab; BIO=Yoshi has been involved in iGEM since his sophomore year at the University of Washington. Now three years later, he's still involved in iGEM.\\n Yoshi graduated from the University of Washington with a B.S. in Bioengineering and a minor in Applied Mathematics, specializing in Synthetic and Systems Biology. He now works at SoundBio Lab, Seattle's DIY Biohackerspace. He credits iGEM with that academic and career decision. He also worked at the Sauro lab at UW in the Center for Reproducible Biological Models. He started the simulations team in Team Washington. After being the Admin lead last year, he has now handed off the baton to others and is focusing on Funding for the team. He can't believe how far the team has gotten. He also is an adviser for the iTESLA-SoundBio team, also based in Seattle.\nNAME=Grace Soah-Yeon Kim;ROLE=Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/1/1d/T--Washington--GraceTeam.jpg;LINKEDIN=https://linkedin.com/in/grace-s-kim/;FILTER=Wetlab;BIO=Born and raised in the Greater Seattle Area, Grace is currently a sophomore majoring in Bioengineering. She joined iGEM to explore synthetic biology, learn wetlab techniques, and meet new people. Outside of iGEM, she enjoys researching about immunotherapy and food science, volunteering, hanging out with friends, having movie nights, and trying new food.\nNAME=Joshua Ip; ROLE=Simulations, Presenter; PICTURE=https://static.igem.org/mediawiki/2018/4/49/T--Washington--JoshuaTeam.jpg; GITHUB=https://github.com/joshuaipwork/; LINKEDIN=https://www.linkedin.com/in/joshua-i-877706128/; FILTER=Drylab, Presenters; BIO= Hailing from Pflugerville, Texas, Joshua is a Bioengineering sophomore intending to join a Bioengineering startup when he graduates. When not studying in the library, he can be found in the Comotion Makerspace working with the 3d printers, laser cutters, and CNC milling machines.\nNAME=Renaldo Sutanto;ROLE=Treasurer, Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/c/ca/T--Washington--RenaldoTeam.jpg;FILTER=Leadership, Wetlab;BIO=Renaldo is a senior studying Molecular, Cellular, and Developmental Biology and Biochemistry, and minoring in Chemistry and Quantitative Science. His role in iGEM was primarily organizing all the budget that iGEM received from various departments and companies. Outside of iGEM, he either does his own research about parasite, Giardia lamblia, or hanging out with friends.\nNAME=AJ Kruse; ROLE=Business, Fundraising, Adviser; PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75; GITHUB=https://github.com/aj1118; LINKEDIN=https://www.linkedin.com/in/ajkruse/; FILTER=Business, Fundraising, Adviser; BIO=Studying Bioengineering and Neurobiology, AJ is a junior passionate about harnessing synthetic biology to improve medicine. She also loves entrepreneurship and networking, and can make a mean sales pitch--skills she applied to her work with the business and fundraising teams.\nNAME=Leo Yeh; ROLE=Business; PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75; LINKEDIN=https://www.linkedin.com/in/feng-yu-y-27142a155/; FILTER=Business; BIO=Leo is a third year undergraduate student majoring in Molecular, Cellular and Developmental Biology. He is primarily involved in the business team in iGEM. He enjoys playing baseball and is a huge New York Yankees fan.\nNAME=Jay Yung;ROLE=Collaborations Lead, Wetlab, Design;PICTURE=https://static.igem.org/mediawiki/2018/e/e6/T--Washington--JayTeam.jpg;LINKEDIN=https://www.linkedin.com/in/jay-yung-b56101170/;FILTER=Wetlab, Collaborations, Leadership, Design;BIO=Originally from California, Jay is currently a sophomore at the UW planning to major in Plant Biology. His focuses on the team are wetlab, graphic design, and coordinating collaboration efforts between our team and others. Aside from research, he enjoys looking at plants, dancing, playing music, and sleeping more than he should.\nNAME=Janae Chan;ROLE=Drylab;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;LINKEDIN=https://www.linkedin.com/in/janaechan;FILTER=Drylab;BIO=Janae is a fourth year bioengineering and computer science student. She is passionate about advancing medicine through technology, and works on designing point-of-care diagnostic systems. On the rare occasion she is not in lab or studying, she enjoys hiking and going on food excursions.\nNAME=Dreycey Albin;ROLE=Drylab Adviser;PICTURE=https://static.igem.org/mediawiki/2018/d/de/T--Washington--TPhotoDreycey.jpg;GITHUB=https://github.com/Dreycey;LINKEDIN=https://www.linkedin.com/in/dreycey/;FILTER=Drylab, Advisers;BIO=Dreycey Albin is a current first year PhD student studying synthetic biology at Rice University. During his time advising for the Washington iGEM team, he was an NIH-funded post-baccalaureate working on using computational and experimental methods for the elucidation of RNA structures in the lab of Dr. Gabriele Varani. Dreycey helped co-teach a UW-affiliated iGEM course focused on simulations in biology, ODEs for modeling biology, while also helping with basic advising. As for his PhD, he is interested in combining hardware (including basic robotics, microcomputers, and microfluidics) with research in synthetic biology. \nNAME=Ed van Bruggen; ROLE=Simulations, Collaborations, Outreach; PICTURE=https://static.igem.org/mediawiki/2018/e/e2/T--Washington--EdTeam.jpg; GITHUB=https://github.com/edvb; FILTER=Drylab, Outreach, Collaborations; BIO=Originally from the bay area, Ed is now a sophomore at UW pursuing a major in physics. He was a lead for the Drylab's Simulations team, in which he created computer models of protein folding using Rosetta. When he's not up all night programming you can find him playing music, cooking, or reading.\nNAME=Ishira Parikh; ROLE=Outreach Lead, Wetlab, Design;PICTURE=https://static.igem.org/mediawiki/2018/f/fb/T--Washington--IshiraTeam.jpg; FILTER=Outreach, Wetlab, Leadership, Design; BIO= A Washington native, Ishira is a second year undergraduate student hoping to major in neurobiology. This year, Ishira led the outreach team by organizing outreach events and headed the development of the Synthetic Biology Activity Booklet. She was also the main organizer of Washington iGEM\u2019s first-ever synthetic biology panel event and a member of wetlab. Outside of iGEM, Ishira can be found making art, researching the neural mechanisms of breathing, or catching up on sleep.\nNAME=Frances Ingram-Bate; ROLE=Simulations; PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75; LINKEDIN= https://www.linkedin.com/in/frances-ibe/; FILTER=Drylab; BIO=A Washington native, Frances is a current junior pursuing a B.S. in Bioengineering. As a member of the simulations team, she contributed to mathematical modeling of chemical reaction networks using Tellurium. Outside of iGEM, Frances enjoys working as a math tutor, being involved with undergraduate research, listening to music, and going to improv shows.\nNAME=Angel Wong;ROLE=Project Administrative Lead;LINKEDIN=https://www.linkedin.com/in/angeltanwong/;PICTURE=https://static.igem.org/mediawiki/2018/a/ac/T--Washington--AngelTeam.jpg;FILTER=Wetlab, Leadership;BIO=Born and raised in sunny Southern California, Angel is currently a junior at UW earning a double degree in Bioengineering and Biochemistry with a minor in Dance. She has been involved in iGEM since her freshman year and served as a presenter for Team Washington at the 2017 Giant Jamboree. This year, Angel helped teach the course to prepare members for summer work and serves as an administrative lead along with Andrew Hu.\\nWhen she is not studying, sleeping, or surfing the iGEM website for the seventh time in the same day to make sure she hasn't missed a deadline, Angel enjoys ballet dancing, stargazing, doing jigsaw puzzles, and chasing pigeons.\nNAME=Hannah Redden; ROLE=Design Lead, Simulations; PICTURE=https://static.igem.org/mediawiki/2018/6/6c/T--Washington--HannahTeam.jpg; LINKEDIN=https://www.linkedin.com/in/hannah-redden-262b8a127/; FILTER=Design, Leadership, Drylab; BIO=Hannah is a junior double-majoring in Biochemistry and Bioengineering with a minor in Classical Studies. This year, Hannah developed a design team to explore interactions with art and science and to see how to improve scientific communication using visual methods. She enjoys traveling, reading, swimming, and trying out random craft projects as hobbies.\nNAME=Rehaan Bhimani;ROLE=Business Team Lead, Drylab;PICTURE=https://static.igem.org/mediawiki/2018/b/b1/T--Washington--RehaanTeam.jpg;GITHUB=https://github.com/bhimar;LINKEDIN=https://www.linkedin.com/in/rehaanbhimani;FILTER=Drylab, Leadership, Business;BIO=Rehaan is a sophomore hoping to double major in Computer Science and Applied Math. He leads Washington iGEM's business team and is also an engineer on the software team. When he isn't in class or writing code for his research, he loves to read, play guitar, and get those Fortnite victory royales.\nNAME=Richmon Lin;ROLE=Drylab;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;GITHUB=https://github.com/RichmonLin;LINKEDIN=https://www.linkedin.com/in/RichmonLin/;FILTER=Drylab;BIO=Richmon is a current sophomore in the Bioengineering department. He works on the hardware subteam and is interested in designing biomedical diagnostic tools. Outside of class he loves to snowboard and play video games.\nNAME=Nicholas Righi;ROLE=Drylab;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Drylab;BIO=Nicholas is a Bioengineering sophomore who focused on creating an open source test tube rotator for the Wetlab team. In his free time Nicholas enjoys weightlifting, spending time with friends, and playing Magic the Gathering.\nNAME=Alan Cabrera;ROLE=Wetlab Adviser;PICTURE=https://static.igem.org/mediawiki/2018/2/2f/T--Washington--AlanPic.jpg;LINKEDIN=https://www.linkedin.com/in/alan-cabrera-241532113;FILTER=Wetlab, Advisers;YPOS=0;BIO=Alan Cabrera was an adviser for the team. He helped during the project planning phase. Using his experimental experience, he stressed the importance of planning, research, and identifying support in project development. Alan is a synthetic biologist with training in the Seelig lab at UW. His hobbies include, competing in collegiate bike racing and roasting coffee. Alan graduated with his Bachelor's in Bioengineering this year, and has started the PhD program in the Bioengineering department at Rice University. He plans to get involved with iGEM at Rice next year. \nNAME=Dr. Herbert Sauro;ROLE=University of Washington Department of Bioengineering;PICTURE=https://static.igem.org/mediawiki/2018/9/99/T--Washington--SauroTeam.jpg;CUSTSIZE=100;YPOS=0;XPOS=50;FILTER=PIs;BIO=Dr. Sauro\u2019s lab has been involved in a number of areas in systems as well as synthetic biology. He imitated the development of SBOL, the synthetic biology open language which is becoming the de facto language for describing synthetic designs. In systems biology he has developed a number of software tools, and standards most recently a Python based kit called Tellurium. He was cofounder of the SBML development teach. His modeling research involves developing new robust methods to develop more reliable predictive models that can simulate diseases such as cancer. Recently, he was appointed to lead a large Center for Reproducible Biomedical Modeling which was also recently awarded by the NIH.\nNAME=Dr. Liangcai Gu;ROLE=University of Washington Department of Biochemistry;PICTURE=https://static.igem.org/mediawiki/2018/2/20/T--Washington--GuTeam.jpg;CUSTSIZE=100;YPOS=25;XPOS=50;FILTER=PIs;BIO=Dr. Gu's lab use quantitative protein interaction profiling to understand molecular recognition and guide computational protein design. They develop protein interaction sequencing technologies by coupling \u2018protein barcoding\u2019 techniques\u2014e.g., molecular attachment of proteins to barcoding DNAs, display of proteins on phage or cell surfaces, and indirect barcoding of unlabeled proteins by using DNA barcoded affinity reagents such as antibodies\u2014to massively parallel 'in situ DNA sequencing' to quantitate protein interactions at a single-molecule or single-cell level. One example of protein interaction sequencing is a single-molecular-interaction sequencing (SMI-seq) technology (Gu, et al., Nature, 2014) for large-scale molecular counting of proteins and complexes. Our current research interests include (1) engineering of ligand-responsive protein assemblies, (2) human protein interactome profiling and drug screening, and (3) functional profiling of B-cell and T-cell receptors.\nNAME=Andrew Asakawa;ROLE=Lab Manager;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Wetlab, Leadership;BIO=Andrew is a junior majoring in Bioengineering. This year he was responsible for training new members at the beginning of the season, helping to manage the lab space and safety, and creating biobricks. Outside of iGEM he spends his time making and drinking coffee, cooking, and exploring the Seattle.\nNAME=Monica Mursch;ROLE=Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Wetlab;BIO=\nNAME=Kateka Seth; ROLE=Simulations; PICTURE=https://static.igem.org/mediawiki/2018/a/ac/T--Washington--KatekaTeam.jpg;FILTER=Drylab;BIO=Kateka is a current junior double majoring in Biochemistry and Informatics. In the Simulations team, she worked to generate protein models using Rosetta. In her spare time she enjoys playing the guitar and hiking around Washington.\nNAME=Vera Okolo;ROLE=Drylab;PICTURE=https://static.igem.org/mediawiki/2018/7/7d/T--Washington--VeraTeam.jpg;FILTER=Drylab;BIO=Vera is a fourth year at the University of Washington double majoring in Molecular, Cellular, & Developmental Biology and Medical Anthropolgy & Global Health. Her role in iGEM was the contributing to the research for the beginnings of an educational game for elementary students as well as interviewing members of the public for their opinions on the growing field of synthetic biology. In spare moments of time, she reads any and all genres of books, bakes macarons, and practices singing and playing the piano.\nNAME=Shubhankar Seth;ROLE=Drylab;PICTURE=https://static.igem.org/mediawiki/2018/d/da/T--Washington--ShubTeam.jpg;FILTER=Drylab;BIO=\nNAME=Victor Lee;ROLE=Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Wetlab;BIO=\nNAME=Kristine Leano;ROLE=Wetlab, Collaborations;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Wetlab, Collaborations;BIO=Kristine is a senior studying for a BS in Biochemistry. She performs lab tasks with the Wetlab team and led international collaborations with teams in Europe. In her spare time, she likes to learn languages, dance hip hop, and meet new people.\nNAME=Zachary McNulty;ROLE=Simulations;GITHUB=https://github.com/zackmcnulty/;LINKEDIN=https://www.linkedin.com/in/zacharymcnulty/;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Drylab;BIO=Zachary McNulty is a Junior majoring in Applied Computational Mathematical Sciences. He worked on modeling the chemical networks relevant to the team's project in Tellurium. His interests lie in computational biology with a focus on its applications in synthetic biology and neuroscience.\nNAME=Debbie Chen;ROLE=Outreach;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Wetlab;BIO=",type:"SPECIAL"}],pageTitle:"/Team"},{content:[{data:"HEADER\nTEXT=PROJECT DESCRIPTION\nBACKGROUND=https://static.igem.org/mediawiki/2018/1/1a/T--Washington--CIDdiagram.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=7\nSUBTITLEHEIGHT=7\nBLUR=3\nMINTITLEHEIGHT=5\nMINPADDINGTOP=120\nPADDINGTOP=120",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"# Overview",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/1/1a/T--Washington--CIDdiagram.png,CID Diagram,margin:auto,width:80%",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncholecalciferol\nCholecalciferol",type:"SPECIAL"},{data:"# Cholecalciferol",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nartemisinin\nArtemisinin",type:"SPECIAL"},{data:"# Artemisinin",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncannabidiol\nCannabidiol",type:"SPECIAL"},{data:"# Cannabidiol",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"NAVIGATION\nRIGHT=https://2018.igem.org/Team:Washington/Design;RIGHTNAME=Design",type:"SPECIAL"}],isContent:!0,pageTitle:"/Description"},{content:[{data:"HEADER\nTEXT=DESIGN\nBACKGROUND=https://static.igem.org/mediawiki/2018/f/fb/T--Washington--elisa.png\nYPOS=50\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nMINPADDINGTOP=120\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nnanobodies\nNanobodies",type:"SPECIAL"},{data:"# Nanobodies\n\nFor our binders, we chose to use nanobodies, which are fragments from antibodies found in camelids and sharks (1). They have small binding pockets compared to traditional antibodies, making them well suited for binding to small molecules. We used a highly diverse combinatorial library given to us by Dr. Gu from The Institute of Protein Design, who synthesized it using trinucleotide mutagenesis (TRIM) to alter the binding region of the nanobody (2). The diversity of this library is estimated to be greater than 10^9 variants.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nbiopanningp1\nBiopanning Phase 1",type:"SPECIAL"},{data:"# Biopanning Phase 1\n\nBiopanning served as a selection method for the nanobodies that we hoped to identify and utilize as a part of a chemically induced dimer. The selection is possible because of streptavidin coated magnetic beads, which are used with a strong magnetic bar and various biotinylated components. A sample of our biotinylated molecules (Artemisinin and Vitamin D3), binds to the coated magnetic beads. We then utilized a \u201cphage library,\u201d which consists of an array of bacteriophages that are bound to a nanobody, which in turns bind to the target molecule. We incubated the phage library with the molecule-bead complex to allow for optimal binding and then subjected the beads to various washing stages, so that only the phages that bind to our small molecule would still be bound. After washing, the phage-molecule complex is eluted from the magnetic bead by suspending the complex in triethylamine. We then infected E. coli cultures with the phages in order to create a stock of the output. We used a serial selection process in which the phage outputs of the prior stage are used in the next round of selection. Each subsequent iteration of the method utilizes more stringent washing. At the end, the process should have isolated the nanobodies that have the highest binding affinity to our small molecule, which we tested through ELISA and Octet procedures.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/f2/T--Washington--wetlabbiopanningprojectdesign.png,Biopanning Project Design,margin:auto,width:80%",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nelisa\nELISA",type:"SPECIAL"},{data:"# ELISA\n\nAfter narrowing down the possible selection of nanobodies through biopanning, we performed  indirect ELISA to quantify binding affinities of nanobodies to to the target molecule. From the biopanning phase, we picked out individual colonies of phage-infected TG1 E. Coli and expressed the phages using a helper phage. For a control, we also tested phage binding affinity to streptavidin and biotin. The conjugation of streptavidin and biotin is used to anchor the small molecule in the experimental plate, so this is a necessary control to assess whether phages bind to the molecule or the linker.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/fb/T--Washington--elisa.png,ELISA,width:95%,margin:auto",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncloning\nCloning",type:"SPECIAL"},{data:"# Cloning\n\nAfter picking out suitable nanobody candidates from the biopanning affinity selection technique and verifying them with ELISA, our next step was to clone and express those nanobodies in higher quantities to purify them in the future. Our vector of choice was pADL-23c-Avi (3), a phagemid vector designed for display of peptides, antibodies, or proteins with an additional Avi tag. The Avitag (4) is an amino acid sequence that signals for a specific enzyme biotin ligase (BirA) to biotinylate the nanobody, which would be necessary for future steps. Our general cloning procedure entailed that we digest our vector and inserts and then ligate them. We then transformed the assembled plasmids into WK6 competent cells.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/d/d2/T--Washington--plamid.png,pADL-23c-Avi,width:80%,margin:auto",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nproteinpurification\nProtein Purification",type:"SPECIAL"},{data:"# Protein Purification\n\nWith our nanobodies in new vectors, we expressed the phages using Isopropyl \u03b2-D-1-thiogalactopyranoside, or IPTG. This compound mimics allolactose which prompts lac operon transcription. Since our phagemid was designed to have protein expression under the control of the lac operon, the addition of IPTG to a growing culture allowed nanobodies to be produced in high quantities for later purification. We used a nickel-resin based purification protocol with our his-tagged nanobodies. After isolating our nanobody, we performed a desalting procedure to replace the imidazole buffer from purification. We then biotinylated the nanobodies using BirA, which was possible because our nanobodies have an Avi-Tag. The result was our biotinylated protein that could be used for additional characterization experiments and for biopanning to identify dimer binders.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\noctetkinetics\nOctet Kinetics",type:"SPECIAL"},{data:"# Octet Kinetics\n\nIn order to quantify the binding affinity of our nanobodies to artemisinin and cholecalciferol, we used biolayer interferometry. With this optical technology, the amount of these small molecules bound to nanobodies can be quantified in real time with biosensors from Pall ForteBio by measuring the change in the interference pattern of white light reflected off of a layer of nanobodies bound to the sensor. \n\nThese biosensors have a thin layer at the tip of the sensor that is coated in streptavidin, which allows us to anchor our nanobodies conjugated with biotin. When small molecules are bound by the anchored nanobodies, the optical layer thickens. This causes a wavelength shift which provides a measurement for the amount of nanobodies bound to small molecules. By measuring the rate at which the nanobodies bind at varying concentrations of the small molecule, we can obtain dissociation constants. \n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nfuturesteps\nFuture Steps",type:"SPECIAL"},{data:"# Future Steps\n\n## Dimer Binder Identification\n\nNow that we have identified and characterized suitable anchor binders from the original library after completing all the procedures up to this point, the next step is to repeat the process to identify a dimer binder than binds to the small molecule-anchor binder complex. The protocols are nearly identical, except during biopanning and characterization the anchor binder is linked to magnetic beads via streptavidin-biotin conjugation rather than the small molecule. The procedure is also done with the anchor binder bound to the small molecule so that we only select for nanobodies that specifically bind to that complex. \n\n## Biosensor\n\nWith the nanobody pairs identified, we will apply them into a yeast three-hybrid system to generate an output for the concentration of the target molecule. Figure 2 shows how the dimerization system is adapted for creating a biosensor in which the transcription of a reporter is enhanced as the DNA binding domain and activating domains of the Gal4 promoter join together. We will be using yeast strains PJ69-4A , -4\u0251 and PJ69 and vectors p0BD2 and pOAD (James and Halladay 1996). The vectors contain Gal4 activating and DNA binding domains upstream of a multiple cloning site where we can insert our nanobody binders. Upon transforming these recombinant vectors into the two strains, we can perform lacZ colorimetric assays (1) . A higher concentration of the target molecule will lead to an increased signal. Parameters retrieved from in vivo and in silico experiments and analysis can be incorporated into biological kinetic simulations to predict the dynamic output range of our two-hybrid biosensor. This can be done with Systems biology software such as Tellurium and COPASI. ",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/c/c9/T--Washington--biosensor.png,Biosensor,width:100%,margin:auto",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations\n\n1. Muyldermans, S. Nanobodies: Natural Single-Domain Antibodies. _Annu. Rev. Biochem._ **82**, 775\u2013797 (2013).\n1. Yan, J., Li, G., Hu, Y., Ou, W. & Wan, Y. Construction of a synthetic phage-displayed Nanobody library with CDR3 regions randomized by trinucleotide cassettes for diagnostic applications. _Journal of Translational Medicine_ **12**, 343 (2014).\n1. Fairhead M, Howarth M. Site-specific biotinylation of purified proteins using BirA. *Methods in molecular biology (Clifton, NJ)*. 2015;1266:171-184.\n1. James, P. & Halladay, J. Genomic Libraries and a Host Strain Designed for Highly Efficient Two-Hybrid Selection in Yeast. _Genetics_ **144**, 1425\u20131436 (1996).\n1. M\xf6ckli, N. & Auerbach, D. Quantitative \u03b2-galactosidase assay suitable for high-throughput applications in the yeast two-hybrid system. _BioTechniques_ **36**, 872\u2013876 (2004)",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"NAVIGATION\nLEFT=https://2018.igem.org/Team:Washington/Description;LEFTNAME=Project Description;RIGHT=https://2018.igem.org/Team:Washington/Experiments;RIGHTNAME=Experiments",type:"SPECIAL"}],isContent:!0,pageTitle:"/Design"},{content:[{data:"HEADER\nTEXT=EXPERIMENTS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINTITLEHEIGHT=6\nSUBTITLEHEIGHT=7\nMINPADDINGTOP=120\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nbiopanning\nBiopanning",type:"SPECIAL"},{data:"# Biopanning\n\nBiopanning served as a selection method for the nanobodies that we hoped to identify and utilize as a part of a chemically induced dimer. The selection is possible because of streptavidin coated magnetic beads, which are used with a strong magnetic bar and various biotinylated components. A sample of our biotinylated molecules (Artemisinin and Vitamin D3), binds to the coated magnetic beads. We then utilized a \u201cphage library,\u201d which consists of an array of bacteriophages that are bound to a nanobody, which in turns bind to the target molecule. We incubated the phage library with the molecule-bead complex to allow for optimal binding and then subjected the beads to various washing stages, so that only the phages that bind to our small molecule would still be bound. After washing, the phage-molecule complex is eluted from the magnetic bead by suspending the complex in triethylamine. We then infected E. coli cultures with the phages in order to create a stock of the output. We used a serial selection process in which the phage outputs of the prior stage are used in the next round of selection. Each subsequent iteration of the method utilizes more stringent washing. At the end, the process should have isolated the nanobodies that have the highest binding affinity to our small molecule, which we tested through ELISA and Octet procedures.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nelisa\nELISA",type:"SPECIAL"},{data:"# ELISA\n\n## Day 1: Phage inoculation\n\n### Plate 1: Helper Phage Plate\n1. Select 48 colonies from each of the 2 titered outputs. There are 2 outputs from the competitive elution and regular elution during round 5.\n\n    Plate Layout:\n",type:"MARKDOWN"},{data:"image of chart",type:"MARKDOWN"},{data:"Insert text",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\noctet\nOctet",type:"SPECIAL"},{data:"# Octet\n\n1. Fill wells A1 and B1 of a 96-well plate with the appropriate buffer.\n1. Take the buffer-only well plate and place it into an empty sensor tray. Place two super streptavidin (SSA) biosensors into the A1 and B1 wells - only one biosensor should occupy each well - and let sit for 10 minutes.\n1. Dilute the nanobody to 200uM and fill the 96-well plate with 200uL of the dilution according to the following layout.\n    * Nb refers to \u201cnanobody,\u201d B refers to \u201cbuffer.\u201d\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/4/40/T--Washington--Octet1.png,Octet 1,margin:auto,width:95%,boxShadow:5px 5px 10px gray",type:"IMAGE"},{data:"4. Make six serial dilutions of the protein, and fill 96-well plate with 200uL of each dilution according to the following layout.\n    * This should be in increasing concentration, so 1D refers to the least concentrated dilution and 6D is the most concentrated.\n    * Remaining wells should be filled with the appropriate buffer. \n    * If running an octet assay on more than one protein, the samples should be separated by a row of buffer.\n    * Our concentration ranges have been from 10mM to 32nM for our experiments.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/4/4b/T--Washington--Octet2.png,Octet 2,margin:auto,width:95%,boxShadow:5px 5px 10px gray",type:"IMAGE"},{data:"5. Program how the assay will run on the computer, making sure to define the correct plate layout, biosensors, and steps.\n    * You will need to run two assays - one for the nanobody and one for the protein; you should either set up both assays on the computer beforehand or set up the next one as the first one is running.\n1. Place the sensor tray and nanobody plate into the Octet machine, making sure that well A1 is oriented to the top right corner. Close the lid and let sit for 10 minutes.\n    * Wait for 10 minutes to allow the biosensors and assay plate to equilibrate to a stable temperature.\n1. Run the nanobody loading assay\n    * The first assay will be used to load the biotinylated nanobody to the sensor. This uses the first plate with the nanobody. A control sensor is used that is not immersed in the nanobody. Estimated time is 37 minutes.\n1. When the first assay is finished, replace the nanobody plate with the small molecule plate. Run the small molecule binding assay.\n    * The second assay immersed the sensor-bound nanobody into increasing concentrations of small molecule. For each concentration, there is an association, disassociation, and baseline step. This second assay typically takes 2 hours.\n1. When the assay completes, remove both the sensor tray and assay plate from the Octet. Dispose of the used biosensors in the waste drawer.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nproteinpurification\nProtein Purification",type:"SPECIAL"},{data:"# Protein Expression, Purification, and Biotinylation:\n\n## Expression and Lysis\n\nWe adapted a protocol from _ Pardon et al. 2014 _ . \n1. Inoculate wk6 starter culture in LB supplemented with 1mM Mgl2 and 0.5% glucose. Incubate overnight at 37\xb0C 170 rpm. \n1. Inoculate 1-2L culture with ~400uL of the starter culture. The media was TB supplemented with 1mM MgCl2 and 0.1% glucose. Grow until OD 0.7 and induce with 1mM IPTG. Grow overnight at 28\xb0C at 170 rpm\n    * The low percentage of glucose is important in order for the lac operon to work.\n1. Pellet the cells via centrifugation at 9000g for 15 minutes. \n1. Resuspend in 15mL TES buffer per liter of culture. Incubate on ice in orbital shaker for 1 hour. Then incubate in 30mL TES/4 for 45 minutes.\n1. Centrifuge at 10,000g for 30 minutes at 4\xb0C. Collect supernatant, which is the clarified lysate. \n\n## Notes:\n\nTES Buffer: \n* 1L solution pH 8\n* 22.4g Tris\n* 0.19g EDTA\n* 171.15g sucrose\n* 1L ddH20\n\nTES/4: \n* Dilute TES buffer 4 fold\n\n## Overview of Protein Purification and Biotinylating Procedures:\n\nWe used a nickel-resin based purification protocol with our his-tagged nanobodies. Specifically, used FPLC to wash and elute our nanobody once it is loaded into a Ni-resin column. After isolating our nanobody, we performed a desalting procedure to replace the imidazole buffer from purification. By running it through a desalting column, we can isolate our protein in PBS 5% glycerol buffer without imidazole. Then, we biotinylated the nanobodies using BirA, which is possible because our nanobodies have an Avi-Tag. Finally, we desalted our nanobodies again to isolate them from the substrates in the biotination reaction. In the end, we isolated our nanobodies in 1X PBS with 5% glycerol so they can be used for subsequent assays and procedures. \n\n## Specific Protocol Directions:\n\n### Purification\n\nWe will performed nickel-resin based purification protocol with our his-tagged nanobodies. Specifically, we used FPLC to wash and elute our protein from a lysate loaded into a ni-resin column. \n\n1. Running Lysate into column:\n    * Automated pump to load onto column in 556 far right corner. Pump lysate through into column, will take about 45mins. Once finished can remove column and bring to FPLC machine\n1. FPLC Elution:\n    * Wash the pumps for a few minutes to replace buffer in wiring, then add nickel column.\n    * First wash with wash buffer (sans imidazole) for about 8 minutes. This contains low imidazole concentration, 20mM. Flow rate can be 1mL/min. UV spectra over time will first have a spike, then should be constant.\n    * Add gradient to go to 100% buffer B over 8 minutes. The UV will increase at a constant rate due to imidazole. The imidazole concentration in the elution buffer is 250mM. \n        * Once the slope increases, this indicates the protein is being eluted. This will probably occur somewhere between 30-70% elution buffer, it has varied between experiments.\n        * Collect by executing \u201cFraction900\u201d 5mL\n            * To stop collection early, change flow rate to 0mL\n        * Make sure the falcon tube is oriented correctly to collect the elution.\n    * Cleaning column:\n        * Let flow at 100% imidazole for a few minutes, then decrease to 0% imidazole. Let wash for 5-10 minutes to remove all imidazole. \n\n### Desalting:\n\nDesalting was performed using an FPLC machine to quickly replace the elution buffer with 1X PBS and 5% glycerol.\n\n1. Preparation:\n    * Rinse off desalting injection column with milliQ water\n    * Adjust capacity to volume of elution of protein (ex: 5mL) and pour in. \n    * Screw in cap securely\n    * Add milliQ water to other side and screw in caps\n1. Secure injection column and desalting column with correct wiring orientation.\n1. Initiation\n    * Change flow-pump to \u201con\u201d\n        * Adjust flow-pump to 2 mL/min, pressure should be no more than ~0.5 mAU\n        * This pumps water above the injection column and pushes the sample out.\n1. Once the sample is completely dispensed, change flow-pump back to \u201cload\u201d\n    * Important to do! Otherwise pressure in injection tube might break apparatus\n1. Watch UV for spike. First spike will be the protein, so collect that.\n    * Same collection method: \u201cFrac900\u201d execution, approximately same volume as elution volume\n1. Clean up:\n    * Let buffer continue washing to let imidazole flow out column. You can stop or do next protein once UV peak shows imidazole went through. \n1. Closing program:\n    * Flow-rate to 0mL\n    * Hit \u201cEnd\u201d\n    * Can turn off machine\n\n## Biotinylation:\n\nWe used BirA enzyme to biotinylate our nanobodies which contain an Avi-tag. This is essential future experiments using these proteins because it allows us to bind them to  streptavidin-coated sensors for kinetic testing, and agarose beads for when we biopan for our second nanobody dimer binder.\n\nThis is similar to a DNA restriction digest because an enzyme catalyzes the reaction. You mix the following in some manner:\n\n1. Desalted nanobody\n1. BirA MixA, and BirA MixB  - the reaction buffers that also contain biotin\n1. BirA - The enzyme\n\nHere is a typical reaction recipe:\n\n1. 4mL of desalted nanobody \n1. 0.5 mL of BirA mixA\n1. 0.5 mL of BirA mixB\n1. 3uL BirA enzyme\n\nIncubation: Let incubate for one hour away from light at room temperature.\n\n### Desalting: \nPerform desalting of biotinylated protein identical to the previous method. The purpose of this is to isolate the protein in a buffer without the reagents from the biotinylation reaction (ATP, biotin, and other buffer components). \n\n## Citations\n\nPardon, E. et al. A general protocol for the generation of Nanobodies for structural biology. _Nature Protocols_ **9**, 674 (2014).\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ngeneral\nGeneral Protocols",type:"SPECIAL"},{data:'# General Protocols\n\n## YPD Media Recipe\n\nReagents needed for 1 L YPD Media:\n* 20 g Bacto peptone\n* 10 g Yeast extract\n* 50 mL sterile 40% glucose\n* 24 g Bacto agar (for agar plates only)\n\nProcedure (Liquid Media):\n\n1. Combine 20 g Bacto peptone and 10 g yeast extract in an autoclavable flask.\n1. Add 950 mL deionized H2O.\n1. Autoclave the mixture.\n1. Add 50 mL sterile 40% glucose and mix.\n1. Let cool before use.\n\nProcedure (Agar Plates):\n\n1. Combine 20 g Bacto peptone, 10 g yeast extract, and 24 g Bacto agar in an autoclavable flask.\n1. Add 950 mL deionized H2O.\n1. Autoclave the mixture.\n1. While stirring the autoclaved mixture on a magnetic stir plate, add 50 mL sterile 40% glucose.\n1. Pour media into plates while still warm.\n1. Allow mixture to cool and solidify.\n\nFrom: [http://cshprotocols.cshlp.org/content/2010/9/pdb.rec12315.full](http://cshprotocols.cshlp.org/content/2010/9/pdb.rec12315.full)\n\n## Epoch Miniprerp\n\nThis protocol should take around 45-75 minutes.\n\n1. From 2-6mL cultures grown 12-22 hrs in LB\n1. Pellet the cells by centrifuging for 1-2 min at 3500 rpm and decant off supernatant. Repeat this step twice.\n1. Remove the rest of the supernatant by pipet.\n1. Resuspend the pellet in 200uL of MX1 buffer by gently pipetting up and down or vortexing.\n1. Add 250 uL MX2 buffer and gently mix by inverting 4-5 times. Incubate for 5 minutes  00:05:00  . \n    * This step lyses the cells, thus it is important to not vortex as this could cause genomic DNA to contaminate the sample. \n1. _If the culture was centrifuged in falcon tubes transfer to a 1.5 mL eppendorf tube at this point._ \n1. Add 350 uL MX3 buffer to neutralize the lysate and gently mix the solution immediately.\n    * You should see a white precipitate form.\n1. Centrifuge for 5-10 (7.5*) minutes at 13000 rpm. Meanwhile set up and label GenCatch columns into collection tubes.\n1. Carefully transfer the supernatant to the column.\n1. Centrifuge 30-60 seconds at 5000 rpm. Discard flow-through.\n1. Wash the column once with 500 uL of WN buffer and centrifuge for 60 seconds at 9000 rpm. Discard flow-through.\n1. Wash the column once with 700 uL of WS buffer and centrifuge for 30 seconds at 9000 rpm. Discard flow-through.\n1. Centrifuge for 2 additional minutes at 13000 rpm. Discard flow-through.\n    * This removes additional ethanol\n1. Centrifuge for 1 additional minute at 13000 rpm for better results.\n1. Place the column in a new 1.5 mL eppendorf tube. Add 40 uL of Elution buffer (EB) directly onto the center of the membrane.\n    * The amount of EB used should vary based on your expected yield; higher yields use more EB to have more solution at a high concentration, lower yields use less EB to have a higher concentration at a lower volume.\n    * The EB should be directly placed on the membrane of the column (filter) in order to get good yields.\n1. Stand the column for 5 minutes at room temperature  00:05:00  .\n1. Centrifuge for 30 seconds at 13000 rpm to elute DNA.\n1. Measure the concentration using a NanoDrop ND-1000 to ascertain the DNA concentration of the sample at absorbance 260nm.\n1. Label the tube with the concentration and plasmid name (e.g. PSB1C3-mRFP), your initials, date, and concentration. For same day or short term store in the 4\xb0C fridge, long term store in the -20\xb0C fridge and log the location in the lab notebook.\n\n## TSS Buffer Recipe\n\nReagents needed for 50 mL of TSS Buffer:\n* 5 g PEG 8000\n* 1.5 mL 1M MgCl2 (or 0.30g MgCl2\u29816H2O)\n* 2.5 mL DMSO\n* LB media\n\nProcedure:\n\n1. Combine 5 g PEG 8000, 1.5 mL 1M MgCl2 (or 0.30g MgCl2\u29816H2O), and 2.5 mL DMSO.\n1. Add LB media to 50 mL.\n1. Filter sterilize (0.22 \u03bcm filter).\n\nNotes:\n* PEG 3350 can be used instead of PEG 8000. According to the original  CT Chung paper, PEG 3350 produces better efficiency, and other sized PEGs can be used as well albeit with a slight loss in efficiency.\n* pH from original Chung CT paper calls for pH to be acidic (pH=6.5)..., be sure to pH solution before sterilization.\n* If using non-chemically resistant filters (e.g., cellulose nitrate), add DMSO after sterilization. DMSO should be sterile in and of itself, so it may be prudent to add it afterwards if you are unsure about the compatibility of your filters.\n\nStorage:\n* Store at 4\xb0C or -20\xb0C\n\nFrom: [https://openwetware.org/wiki/TSS](https://openwetware.org/wiki/TSS)\n\n## TB Media Recipe\n\nReagents needed for 1 L of TB Media:\n* 24 g Yeast Extract\n* 20 g Tryptone\n* 4 mL Glycerol\n* 100 mL Phosphate buffer (0.17 MKH2PO4, 0.72 M K2HPO4)\n\nProcedure:\n\n1. Add 900 mL of deionized water to 24 g of yeast extract, 20 g of tryptone, and 4 mL of glycerol.\n1. Stir or shake until solutes have dissolved.\n1. Autoclave for at least 20 minutes.\n1. Let cool until you can hold the container (around 60\u2103).\n1. Add 100 mL of sterile phosphate buffer.\n1. Store at RT.\n\nFrom: [http://cshprotocols.cshlp.org/content/2015/9/pdb.rec085894.full?rss=1](http://cshprotocols.cshlp.org/content/2015/9/pdb.rec085894.full?rss=1)\n\n## PCR Q5\n\nWe recommend assembling all reaction components on ice and quickly transferring the reactions to a thermocycler preheated to the denaturation temperature (98\xb0C). All components should be mixed prior to use. Q5 High-Fidelity DNA Polymerase may be diluted in 1X Q5 Reaction Buffer just prior to use in order to reduce pipetting errors.\n\n| Component | 25 ul Reaction | 50 ul Reaction | Final Concentration |\n|-|-|-|-|\n| Water (Milli-Q) | to 25 uL | to 50 uL |  | \n| Template DNA | variable | variable | <1,000 ng (<1 ng if plasmid/viral) |\n| Fwd Primer | 1.25 uL | 2.5 uL | 500 nM |\n| Rev Primer | 1.25 uL | 2.5 uL | 500 nM |\n| Q5 HF 2X Mastermix | 12.5 uL | 25 uL | 1X |\n\nGently mix the reaction. Collect all liquid to the bottom of the tube by a quick spin if necessary. Overlay the sample with mineral oil if using a PCR machine without a heated lid. \n\nTransfer PCR tubes to a PCR machine and begin thermocycling. \n\nThermocycling Conditions for a Routine PCR:\n\n| Step | Temp | Time | \n|-|-|-|\n| Initial Denaturation | 98C | 30 sec |\n| 25-35 Cycles | 98C | 5-10 sec |\n|  | 50-72C** | 10-30 sec |\n|  | 72C  | 20-30 sec/kb** |\n| Final Extensio | 72C | 2 minutes |\n| Hold | 4C  | Infinitely |\n\nOnce protocol set up, hit "run", and "block" rather than sample. \n\n## LB Media Recipe\n\nReagents needed for 1 L LB Media:\n* 10 g Bacto-tryptone\n* 5 g Yeast extract\n* 10 g NaCl\n* 15 g agar (for LB agar plates)\n\nProcedure for LB Broth:\n\n1. Combine 10 g Bacto-tryptone, 5 g yeast extract, and 10 g NaCl in an autoclavable flask.\n1. Add 800 mL deionized water.\n1. Adjust pH to 7.5 with NaOH.\n1. Add deionized water to 1 L.\n1. Autoclave to sterilize.\n\nProcedure for LB Agar Plates:\n\n1. Combine 10 g Bacto-tryptone, 5 g yeast extract, and 10 g NaCl in an autoclavable flask.\n1. Add 800 mL deionized water.\n1. Adjust pH to 7.5 with NaOH.\n1. Add 15 g agar.\n1. Add deionized water to 1 L.\n1. Sterilize by autoclaving.\n\n[Liquid Media Recipe](http://www.thelabrat.com/protocols/11.shtml)\n[Agar Plates Recipe](http://www.thelabrat.com/protocols/LBAgar.shtml)\n\n## Gel Extraction\n\n1. Cut out the DNA fragment of interest with a razor blade from the gel. Minimize the amount of excess gel in the gel slice.\n1. Measure weight of gel slice. (100-350 mg)\n1. Add 3 Volumes GEX Buffer to 1 Volume gel. (Assume 100mg gel = 100 ul)\n1. Incubate at 55C for 5 to 10 minutes until the gel is completely dissolved. \n    * Invert cube every 1-2 minutes during incubation.\n1. Place Gel Extraction Column onto a collection tube. \n1. Load no more than 0.7mL dissolved gel mixture onto the column.\n1. Centrifuge for 30 seconds at 5000 rpm. Discard flow through.\n1. Repeat step 5-7 for the rest of the mixture if the total volume of the dissolved gel slice is > 0.7 mL.\n1. Wash Column once with 0.5 mL WN Buffer by centrifuging for 30 seconds at 5000 rpm. Discard flow through.\n1. Centrifuge column at 12000 rpm for another 3 minutes to remove residual ethanol. Discard flow through.\n1. Repeat 10 but at 1 minute instead of 3. \n1. Place column onto a new 1.5 mL centrifuge tube.\n1. Add 20 uL of Elution Buffer (EB) onto the center of the membrane.\n1. Stand Column for 2 minutes.\n1. Centrifuge for 60 seconds at 12000 rpm to elute DNA.\n1. Measure the concentration using the nanodrop.\n1. Record the concentration and store at -20C.\n\n## Gel Electrophoresis\n\nTo prepare a 50 mL 1% (by weight) agarose gel:\n\n1. Measure 50 mL TAE buffer = 50 g. \n1. Add 0.5 g agarose (specifically labelled for gel extraction) \n1. Microwave the solution in a 250 mL Erlenmeyer flask covered with a cap for ~45 seconds or until boiling. Watch carefully.\n1. Remove the flask from the microwave using heat-protective mittens. \n1. Swirl and continue briefly microwaving until all the agarose is dissolved.\n1. Let the solution cool until it is safe to handle.\n1. Add 10,000X SYBR in fume hood and swirl the solution. \n    * For 50 mL  (= 50,000 uL) add 5 uL.\n1. Pour into a gel box. \n    * Set up so liquid sets into gel (90\xb0 off orientation when running).\n    * Place well template ("comb") into the gel. Alter the type of comb (varies by number of lanes or thickness of wells) as necessary.\n1. Once solidified, take out the comb and orient with wells next to black (-) electrode.\n1. Pour TAE buffer to the fill line.\n\nTo prepare the samples:\n\n1. Dilute samples with 6X purple loading dye.\n    * For example, for a 25 uL of sample, add 5 uL of loading dye.\n    * May need to add dye into ladder as well.\n\nTo load samples onto the gel:\n\n1. Add ladder in leftmost lane. \n1. If it doesn\'t contain loading dye, add desired quantity.\n1. Mix the sample with the pipette a few times. \n1. Dispense slowly into the desired well. \n1. Record the contents of each lane.\n1. Repeat 3-5 for the desired number of samples.\n1. If empty lanes remain, fill them with loading dye and water in the same total volume as the other samples.\n1. Run the Gel. Check for bubbles when the gel is running.\n\n## 2X YT Media Recipe\n\nReagents needed for 1 Liter of 2X YT media:\n* 16 g Tryptone  \n* 10 g Yeast Extract\n* 5 g NaCL\n\nNOTE: Make sure to use a bottle double the volume as the liquid being autoclaved, otherwise it will boil over!\n\nFor \xbd Liter Agar Plates with Carbenicillin:\n\n1. Weigh and add directly to a 1 L container:\n    * 8 g Tryptone\n    * 5 g Yeast extract\n    * 2.5 g Nacl\n    * 7.5 g Agar\n1. Fill to 450 mL with milliQ H2O\n1. Autoclave for at least 20 minutes  \n1. Let cool until you can hold the container (around 60\u2103)\n1. Add 50 mL 20% Glucose and appropriate antibiotic:\n    * Carbenicillin: 100 ug/mL. For 500mL we will need 500 mL * 100 ug/mL=50000 ug, or 50 mg.\n\nGeneral Recipe for Plates:\n* Fill to 900 mL with ddH2O and adjust to pH 7 using 5M NaOH\n* Add 15 g/L Agar (assume 1 L total)\n* Autoclave to sterilize \n* After cooling to about 50\xb0C add 100 mL 20% glucose and antibiotics to working concentration\n* Pour plates according to plate-making procedure\n\nPlate-Making Procedure:\n* Mix 16 g Tryptone, 10 g Yeast Extract, 5 g NaCl into at least a 1000 mL beaker\n    * Don\u2019t use granulated tryptone\n* Fill to 900 mL with ddH2O, adjust to pH 7 using 5M NaOH\n* Add 3.75 g of Agar to 500 mL bottles (4 bottles with 3.75 g each)\n* Add Tryptone/yeast extract/NaCl/H2O mixture into bottles evenly (225 mL per bottle)\n    * Use grad. cylinder\n* Mix bottles\n* Autoclave\n* Add 25 mL of 20% glucose to each bottle\n* Add appropriate amount of working concentration of antibiotics to each bottle\n* Pour plates\n \nFor media:\n* Fill to 1L with ddH2O and adjust pH to 7 using 5N NaOH\n* Autoclave to sterilize\n',type:"MARKDOWN"},{data:"NAVIGATION\nLEFT=https://2018.igem.org/Team:Washington/Design;LEFTNAME=Design;RIGHT=https://2018.igem.org/Team:Washington/Notebook;RIGHTNAME=Notebook",type:"SPECIAL"}],isContent:!0,pageTitle:"/Experiments"},{content:[{data:"HEADER\nTEXT=NOTEBOOK\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nMINPADDINGTOP=120\nBLUR=3",type:"SPECIAL"},{data:"# Notebooks\n\n* [Biobricking](https://static.igem.org/mediawiki/2018/0/0e/T--Washington--BBnew.pdf)\n* [Biopanning Cholecalciferol](https://static.igem.org/mediawiki/2018/3/34/T--Washington--Biopanningd3.pdf)\n* [Biopanning Artemisinin](https://static.igem.org/mediawiki/2018/3/36/T--Washington--biopanningart.pdf)\n* [Cloning](https://static.igem.org/mediawiki/2018/2/25/T--Washington--c01new.pdf)\n* [Control ELISA](https://static.igem.org/mediawiki/2018/2/28/T--Washington--chr.pdf)\n* [Interlab](https://static.igem.org/mediawiki/2018/6/6a/T--Washington--interlab.pdf)\n* [Protein Purification](https://static.igem.org/mediawiki/2018/b/b2/T--Washington--pnew.pdf)",type:"MARKDOWN"}],pageTitle:"/Notebook"},{content:[{data:"HEADER\nTEXT=MODEL\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/73/T--Washington--LigDockAnim.gif\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nrosetta\nRosetta",type:"SPECIAL"},{data:"# Rosetta\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/a/af/T--Washington--RosettaLogo.png,Rosetta Logo,margin:auto,width:60%,maxWidth:300px",type:"IMAGE"},{data:"## Introduction\n\n[Rosetta](https://www.rosettacommons.org/software) is a powerful command-line program suite for computational macromolecular modeling developed by Dr. David Baker\u2019s lab at the University of Washington.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/f0/T--Washington--ProtModel.png,Prot Model,margin:auto,width:50%,maxWidth:500px,boxShadow:5px 5px 10px gray",type:"IMAGE"},{data:"Proteins naturally fold into the lowest energy conformation, and this folded structure gives proteins their function. However, modeling this process on an atom-by-atom basis is NP-hard, meaning that it cannot be easily done without a supercomputer. [1]\n\nRosetta reduces the computational complexity of this problem by dividing the sequence into fragments and substituting fragments of common folding motifs into the protein. It simulates random conformations in space and performs a Monte Carlo algorithm to find the lowest energy conformation. Essentially, random conformations are simulated to reduced the free energy in an iterative process until optimal conformations are obtained. If the change reduced the free energy, Rosetta continues from the new conformation. If the change increased the free energy, the simulation reverts to the old conformation.\n\nFor our project, we are interested in modeling the nanobodies identified by wetlab\u2019s biopanning process in order to better understand their molecular dynamics and increase their\nselectivity.  From this exploration we hope to be able to offer possible optimization of their sequences to produce even stronger binding nanobodies, as well as create detailed images and animations showcasing our project\u2019s complex biochemistry.  We used anchor and dimer nanobodies designed by Dr Gu\u2019s lab to bind to CBD to showcase how our methods can be used to model many other nanobodies found using our wetlab\u2019s biopanning process.\n\n## Homology Modeling\n\nHomology modeling can be used to quickly and accurately predict the structure of a protein solely from its amino acid sequence. Homology modeling uses sequence information from other similar protein structures to see how differences between such known structures and a new protein of interest can aid in creating a novel mapping of this structurally unknown protein. The quality and accuracy of the models produced will depend on how similar the template structures are to the protein of interest. Proteins with high homology, especially those with less gaps in the protein sequence, lead to faster and more accurate results. Rosetta has built in homology modeling support through RosettaCM which we used to model our nanobodies.\n\nRosettaCM is an alternative to a different Rosetta protocol for de novo protein folding.  Instead of starting from a few base structures to build from, such as in homology simulations, de novo protein folding starts from scratch each time and uses a Monte Carlo simulation to predict the structure of your protein\u2019s sequence. Because it has to start from nothing for each stochastic simulation, each model is not as accurate as homology models and thus requires many more models before a clear convergence can be seen. 50,000-100,000 is the recommended amount of predicted structures for the de novo protocol, while homology modeling only needs around 50-200. \n\nWhile de novo works for modeling novel proteins where there might not be many similar structures readily available, in our case many other homologous nanobodies have been studied. Therefore, we chose to use homology modeling as the more precise and faster alternative.\n\n### Methodology\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/6/62/T--Washington--CIDMod.png,PyMOL visualization of our CID complex in ribbon view,boxShadow: 5px 5px 10px gray,margin:auto,width:70%",type:"IMAGE"},{data:"PyMOL visualization of our CID complex in ribbon view",type:"MARKDOWN"},{data:"The first step in homology modeling is to make a FASTA file for the target protein sequence. This is simple and can be done manually. An example is shown below. Change `protein_name` to the name of the target protein. This should match the name of the file (eg `5vnv.fasta`).  \n\n```\n>protein_name\nEVQLQASGGGFVQPGGSLRLSCAASGSTSRQYDMGWFRQAPGKEREFVSAISSNQDQPPY\nADSVKGRFTISRDNSKNTVYLQMNSLRAEDTATYYCAFKQHHANGAYWGQGTQVTVSS\n```\n",type:"MARKDOWN"},{data:"The next step is to get 2-5 PDBs of similar proteins that will act as the template. This can be achieved using a NCBI website called [BLAST](https://blast.ncbi.nlm.nih.gov/Blast.cgi). Under protein BLAST, enter the target protein\u2019s sequence, select to only show proteins from the Protein Data Bank, and press BLAST. This will query their database of known protein structures and find the ones with high homology.  Select proteins which have the highest match and the fewest gaps in their sequence comparison. Rosetta is less able to add in new amino acids compared to deleting or swapping them out, so it is often best to select sequences which have a lower similarity score but fewer gaps. Depending on the protein you are trying to simulate there might be many eligible structures to choose from but less than 5 templates is ideal for Rosetta.\n\nOnce the template proteins have been selected, their PDBs can be downloaded from the [Protein Data Bank](http://www.rcsb.org) website. However, this downloaded PDB will most likely contain more chains than the ones that were pinged by BLAST. Rosetta comes with a Python script called `clean_pdb.py` to get rid of any unwanted chains. This program will also produce a FASTA file for the template proteins which is needed in the next step.\n\nAnother website, [Clustal Omega](https://www.ebi.ac.uk/Tools/msa/clustalo/), is then used to combine and align all the template and target protein sequence FASTA files so they can be easily compared by Rosetta. Since the file output of Clustal Omega is not a reconized file type in Rosetta, we wrote a python script to convert this clustal file into a Grishin alignment file which Rosetta understands:",type:"MARKDOWN"},{data:"ACCORDION\n===\nCode\n```\n#!/usr/bin/env python\n\"\"\"\nConvert clustal alignment files to grishin for use in rosetta\nAuthor: Ed van Bruggen <edvb@uw.edu>\n\"\"\"\n\nimport sys\nimport argparse\nfrom argparse import RawTextHelpFormatter\n\nparser = argparse.ArgumentParser(description=__doc__, formatter_class=RawTextHelpFormatter)\nparser.add_argument('--file', type=str, required=True,\n                    help='input clustal alignment file')\nparser.add_argument('--target', metavar='POS', type=int, default=1,\n                    help='position of target protein (default: 1)')\nargs = parser.parse_args()\n\naln = open(args.file)\nproteins = []\n\nfor i, line in enumerate(aln):\n    if i == 0 or line == '\\n' or line[0] == ' ':\n        continue\n    words = line.split()\n    skip = 0\n    for protein in proteins:\n        if protein[0] == words[0]:\n            protein[1] += words[1]\n            skip = 1\n            continue\n    if not skip:\n        proteins.append([words[0], words[1]])\n\ntarget = proteins[args.target - 1]\n\nfor protein in proteins:\n    if protein == target:\n        continue\n    grishin = open(target[0] + \"_\" + protein[0] + \".grishin\", \"w\")\n    grishin.write(\"## %s %s_thread\\n#\\nscores from program: 0\\n0 %s\\n0 %s\\n\" %\n                  (target[0], protein[0], target[1], protein[1]))\n```",type:"SPECIAL"},{data:"To simplify the work Rosetta has to do for large proteins, fragment files can be utilized. Fragment files contain various motifs of protein folding for many amino acid sections in the given sequence. This allows Rosetta to test out sections of amino acids instead of examining one residue at a time. Fragment files can be generated by the [Robetta](http://www.robetta.org/) server. \n\nThe Grishin alignment files and the template PDBs are used as input to Rosetta\u2019s `partial_thread` executable to generate threaded PDBs which contain a mix of a single template and the target nanobody. An example command is shown below. Each template PDB should have its own threaded PDB.\n\n```\nrosetta/main/source/bin/partial_thread.default.linuxgccrelease \n-in:file:fasta molxa3.fasta -in:file:alignment molxa3_6dbeA.grishin \n-in:file:template_pdb 6dbeA.pdb\n```\n\nThe threaded PDBs, target sequence FASTA file, target protein fragment files, and a RosettaCM XML file are then all given to the `rosetta_scripts` executable to generate the homology models of the target nanobody.  The XML file is a script which informs Rosetta on the specifics of how to run the desired protocol. An example for RosettaCM is displayed below.\n\n```\nrosetta/main/source/bin/rosetta_scripts.default.linuxgccrelease \n-in:file:fasta molxa3.fasta -parser:protocol hybridize.xml \n-default_max_cycles 200 -dualspace\n```\n",type:"MARKDOWN"},{data:'ACCORDION\n===\nRosettascript\n```\n<ROSETTASCRIPTS>\n\t<TASKOPERATIONS>\n\t</TASKOPERATIONS>\n\t<SCOREFXNS>\n    \t<ScoreFunction name="stage1" weights="score3" symmetric="0">\n        \t<Reweight scoretype="atom_pair_constraint" weight="1"/>\n    \t</ScoreFunction>\n    \t<ScoreFunction name="stage2" weights="score4_smooth_cart" symmetric="0">\n        \t<Reweight scoretype="atom_pair_constraint" weight="0.5"/>\n    \t</ScoreFunction>\n    \t<ScoreFunction name="fullatom" weights="ref2015_cart" symmetric="0">\n        \t<Reweight scoretype="atom_pair_constraint" weight="0.5"/>\n    \t</ScoreFunction>\n\t</SCOREFXNS>\n\t<FILTERS>\n\t</FILTERS>\n\t<MOVERS>\n    \t<Hybridize name="hybridize" stage1_scorefxn="stage1" stage2_scorefxn="stage2" fa_scorefxn="fullatom" batch="1" stage1_increase_cycles="1.0" stage2_increase_cycles="1.0" linmin_only="1">\n        \t<Fragments three_mers="a2_3.frags" nine_mers="a2_9.frags"/>\n        \t<Template pdb="1vhpA_thread.pdb" cst_file="AUTO" weight="1.000" />\n        \t<Template pdb="5vnvA_thread.pdb" cst_file="AUTO" weight="1.000" />\n    \t</Hybridize>\n\t</MOVERS>\n\t<APPLY_TO_POSE>\n\t</APPLY_TO_POSE>\n\t<PROTOCOLS>\n    \t<Add mover="hybridize"/>\n\t</PROTOCOLS>\n</ROSETTASCRIPTS>\n```\n',type:"SPECIAL"},{data:"It is recommended that 50-200 PDBs are generated, depending on how quickly the resulting models seem to converge. For our nanobodies, we generated around 150-200 PDB for each nanobody sequence. The top 10 lowest energy PDBs had a noticeable convergence in their structure and were therefore used in our further simulations. See the [results](https://2018.igem.org/Team:Washington/Results) section for details.",type:"MARKDOWN"},{data:"ACCORDION\n===\nThe Homology Modeling Workflow\n![The Homology Modeling Workflow](https://static.igem.org/mediawiki/2018/f/f0/T--Washington--HMWorkflow.png)",type:"SPECIAL"},{data:"## Genetic Algorithm Ligand Docking\n\nRosetta has a protocol called ligand docking to determine how a ligand will interact with a given protein structure. We used this protocol with the structures of our nanobodies found through homology modeling to see how our nanobodies interact with the respective molecules they are supposed to be binding to. We are able to predict and test where the binding pocket of the nanobody would be through this protocol. For our simulations, we tested the binding of a nanobody that bound to a molecule of CBD.\n\nWe originally ran a standard version of the ligand docking protocol that was in the stable release of Rosetta, but the resulting PDB models were not converging to a likely conformation and there was no obvious chemical interactions between the residues of the anchor nanobody to the ligand. The ligand was sitting too high in the binding pocket of the nanobodies and there was  little convergence in the ligand position as in Figure 1 and 2.\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=2\nDESCRIPTION=Figure 1: Side angle of non convergence with traditional ligand docking in ribbon view;PICTURE=https://static.igem.org/mediawiki/2018/5/5e/T--Washington--LigDock1.png\nDESCRIPTION=Figure 2: Surface view of Figure 1;PICTURE=https://static.igem.org/mediawiki/2018/6/6e/T--Washington--LigDock2.png",type:"SPECIAL"},{data:"We re-ran the ligand docking simulation through a newly developed Rosetta protocol found in their recent weekly development release which utilizes a new novel algorithm. This gave us vastly improved results. The new Genetic Algorithm (GA) ligand docking protocol uses genetic evolution to create a pool of models, select the best one, mutate it, and from that mutated model create another pool of models. This continues for a number of iterations. The mutating process allows for diversity in the pool of models to be maintained, improving the protocols ability find low energy structures. Several of these stochastic pools are generated and only the best from each are compared since there is no convergence in a single diverse set.  The old ligand docking uses a Monte Carlo algorithm to move and rotate different conformations of the ligand to find a possible lowest energy position.  This new method dynamically changes both the ligand and the backbone structure throughout the simulation instead of relying on a given confirmation file generated externally.\n\n### Methodology\nThe first step in ligand docking is to get a PDB for the ligand, in our case we used CBD. Next, the ligand PDB should be combined with each of the target PDBs that you want to dock. We used the top 10 best models from our homology modeling to run through ligand docking. The Unix command `cat anchor.pdb ligand.pdb > anchor-ligand.pdb` can be used to concatenate the two PDB files together. This concatenated PDB is then opened in a molecular visualization tool such as PyMOL or Chimera. \n\nThe ligand needs to be manually positioned through this visualization software to the rough area predicted to be the binding pocket. Placing the ligand close to the location of the suspected binding pocket helps Rosetta narrow its search region and quickly produce more accurate results. For our nanobodies, we predicted that the CBD molecule will bind within the 3 varied loop regions. We manually placed our CBD molecule roughly in this area (Figure 3).  This new file with the nanobody and ligand can then be run through GA ligand docking.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/4/4d/T--Washington--LigDock3.png,Ligand docking,boxShadow: 5px 5px 10px gray,margin:auto,width:70%",type:"IMAGE"},{data:"Figure 3: Example of rough manual ligand placement in homology models to be inputted into Rosetta GA ligand docking",type:"MARKDOWN"},{data:"**Conformer file**\n\nThe `anchor-ligand.pdb` only contains one conformation of the ligand, therefore, in order to get a more accurate simulation, a conformer file might be necessary to provide Rosetta with various possible positions that the ligand can take. Having various conformations simulates a flexible binding pocket and leads to more accurate models. This step is only needed for the old ligand docking protocol as GA ligand docking will automatically sample various conformations internally and dynamically.\nThe conformer file can be generated with a program called [OpenBabel](http://openbabel.org/wiki/Main_Page). Use the command below to generate a conformer file for a ligand named `ligand_confs.pdb`.:\n\n```\nobabel ligand.pdb -O ligand_confs.pdb --confab --conf 1000 \u2014writeconformer\n```\n\n**Params File**\n\nThe params file contains various information about the molecules chemical and geometric information that will be used to determine its amino acids\u2019 connectivity to other amino acid residues. Rosetta needs a param file of the ligand in order to run its ligand docking protocol. The params file can be generated from a MOL2 file format of the ligand. A PDB file (a more common format) can be converted into a MOL2 format. However, PDB files are usually missing information about the hydrogens of a molecule since in many use cases they are not necessary. In order to convert PDB to MOL2, first use [phenix.reduce](https://www.phenix-online.org/documentation/reference/hydrogens.html) to add hydrogens to the PDB file. Then, use OpenBabal to convert the PDB to MOL2 file type. Finally, Rosetta provides a script to convert the MOL2 file into the params file. An example is shown below:\n\n```\npython rosetta/main/source/scripts/python/apps/public/molfile_to_params.py --keep-names\nligand.mol2 -p ligand -n ligand --conformers-in-one-file ligand_confs.pdb\n```\n\n**Dock XML**\n\nThe `dock.xml` file tells Rosetta Script what precise movers it needs to use. We used the following script to run GA ligand docking:\n\n",type:"MARKDOWN"},{data:'ACCORDION\n===\nRosettascript\n```\n<ROSETTASCRIPTS>\n  <SCOREFXNS>\n    <ScoreFunction name="genpot_soft" weights="beta">\n      <Reweight scoretype="fa_rep" weight="0.2"/>\n    </ScoreFunction>\n    <ScoreFunction name="genpot" weights="beta_cart">\n      <Reweight scoretype="coordinate_constraint" weight="0.1"/>    \n    </ScoreFunction>\n  </SCOREFXNS>\n\n  <TASKOPERATIONS>\n  </TASKOPERATIONS>\n\n  <FILTERS>\n  </FILTERS>\n\n  <MOVERS>\n    <GALigandDock name="dock" scorefxn="genpot_soft" \n        scorefxn_relax="genpot" grid_step="0.25" hashsize="8.0" \n        subhash="3" final_exact_minimize="bbsc1"\t\t  \n        init_oversample="10" rotprob="0.9" rotEcut="100"\n        padding="4.0" sidechains="aniso" sc_edge_buffer="0" \n        favor_native="2" fastrelax_script="relax.script">      \n    <Stage repeats="10" npool="100" pmut="0.2" smoothing="0.375" rmsdthreshold="2" maxiter="50" pack_cycles="100" ramp_schedule="0.1,1.0"/>  \n    </GALigandDock>\n  </MOVERS>\n\n  <PROTOCOLS>\n    <Add mover="dock"/>\n  </PROTOCOLS>\n  <OUTPUT scorefxn_relax="genpot"/>\n</ROSETTASCRIPTS>\n```\n',type:"SPECIAL"},{data:"**Running the script**\n\nRosetta scripts should then be run with the following options in order to generate GA ligand docking models: \n\n```\nrosetta/main/source/bin/rosetta_scripts.default.linuxgccrelease\n\t-s input.pdb \n\t-parser:protocol dock.xml\n\t-beta_cart\n\t-extra_res_fa ligand.params \n\t-in::file::load_PDB_components false \n\t-nstruct 1\n```\n\n## Protein to Protein Docking\n\nThe last step of our simulation was to simulate the dimerization of the dimer nanobody to the anchor nanobody and ligand complex. This can be achieved through use of Rosetta\u2019s protein to protein docking protocol. Docking two proteins together is a much harder process than docking a small molecule to a single nanobody due to the larger surface area causing exponentially more interactions between amino acid residues. We expected that the variable loop region of the dimerization nanobody would dock onto the ligand binding pocket of the anchor nanobody as shown in Figure 4.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/0/01/T--Washington--ConformModel.png,CID of dimer nanobody with ligand and anchor nanobody complex,boxShadow: 5px 5px 10px gray,margin:auto,width:70%",type:"IMAGE"},{data:"Caption Figure 4: CID of dimer nanobody (blue) with the ligand (red) and anchor nanobody (green) complex. This is a conformation close to what we expected, but there was not adequate convergence to this conformation.\n\n### Methodology\n\nTo dock our dimerization nanobody to the ligand-anchor nanobody complex, we used the [RosettaDock](https://www.rosettacommons.org/manuals/archive/rosetta3.4_user_guide/d0/de4/docking_protocol.html) protocol. This protocol uses a similar Monte Carlo algorithm for sampling that the RosettaCM protocol used for homology modeling. This protocol requires a PDB that contains both the dimer nanobody and the ligand-anchor complex. This can be accomplished through concatenating the contents of the complex PDB file found through GA ligand docking, into the dimer nanobody PDB from homology modeling. This concatenation has to be done for the cross product of all the complex PDBs with all the dimerized PDBs since each possible combination of the best models has to be accounted for in our simulations. \n\nThis combined PDB first needs to be pre-packed using the [Docking Prepack](https://www.rosettacommons.org/manuals/archive/rosetta3.4_user_guide/de/d69/docking_prepack_protocol.html) protocol. In order for this protocol to work, the chain IDs of the CBD ligand and the anchor nanobody must be the same while chain ID of the dimerization nanobody should be different. This is because Rosetta will only dock proteins with different chain IDs. We created a script that renames the chain IDs and runs both protocols. Note that file names listed are general and must be renamed to work correctly. The `CBD.params` file generated in ligand docking will also be used here.",type:"MARKDOWN"},{data:'ACCORDION\n===\nScript\n```\n#!/bin/bash\n\n# Rename chains of the ligand and anchor nanobodies to match\nawk \'{if ($1=="ATOM"||$1=="HETATM") print substr($0,0,21)"A"substr($0,23); else print $0}\' complex.pdb > complex-relabeled.pdb\n\n# Rename chain of dimerization nanobody to be different. Rosetta docks different chain IDs.\nawk \'{if ($1=="ATOM"||$1=="HETATM") print substr($0,0,21)"B"substr($0,23); else print $0}\' dimer.pdb > dimer-relabeled.pdb\n\n# Concatenate both chains into one file\ncat complex-relabeled.pdb dimer-relabeled.pdb > combined.pdb\n\n# run pre-packing protocol\nrosetta/main/source/bin/docking_prepack_protocol.default.linuxgccrelease -s combined.pdb -in:file:extra_res_fa CBD.params\n\nrosetta/main/source/bin/docking_protocol.default.linuxgccrelease\n\t-nstruct 1\n\t-ex1\n\t-ex2aro\n```',type:"SPECIAL"},{data:"## Results\n\nThrough Rosetta\u2019s homology modeling protocol we were successfully able to create accurate structures for several of our CBD anchor and dimer nanobodies without the expensive and time consuming process of crystallography.  With these predicted models we were then able to perform ligand docking with the anchor nanobodies to see how a CBD molecule will dock and bind to our nanobody.  After failing to find adequate convergence through the traditional docking protocol, we decided to use the newly developed GA ligand docking Rosetta protocol. Because this protocol uses a genetic algorithm as well as examining the different possible ligand conformations inside Rosetta, we were able to find a strong convergence of the ligand within a pocket of the anchor nanobodies.\n\nOur homology modeling showcased 3 variable loop regions in our anchor and dimerization nanobodies. A composite image of the top 10 best structures from our simulations of an anchor nanobody illustrates the relatively unchanging body of the protein along side the 3 variable loop regions. This is shown below in figure 5.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/f4/T--Washington--AnchorBody.gif,PyMOL animation,boxShadow: 5px 5px 10px gray,margin:auto,width:50%",type:"IMAGE"},{data:"Figure 5: PyMOL animation of the top homology models for a single anchor nanobody of CBD",type:"MARKDOWN"},{data:"The sequence in these loop regions are the most varied part between our nanobodies and the proteins found through BLAST since they govern what our proteins bind to. Our model reflects this in the relatively unconverged right and left loops. When there is no ligand present in the nanobodies their variable loops have nothing to bind to and so do not have as rigid of a structure, which is why we do not see as much convergence in two of the varied regions (the left and right loops) compared to the rest of the protein.  The third varied loop sees very good convergence compared to the other two regions since it is still rigid like the rest of the protein without the presence of a ligand.\n\nThe results from the old ligand docking protocol clearly showed the non-convergence between the best (lowest energy) models generated.  However, through GA ligand docking we were able to find a very tight convergence of the ligand into a single pocket as shown in Figure 6 depicting our top 5 models of CBD docking onto an anchor nanobody. This further confirms wetlab\u2019s results of the anchor nanobody binding strongly to the CBD molecule. \n\nAs a control we also preformed homology modeling on a nanobody found through biopanning which did not show as high of a binding affinity to CBD compared to others.  We hope to be able to simulate ligand docking with this nanobody and find little convergence of CBD, confirming wetlab\u2019s hypothesis that this different protein does not tightly bind to our ligand.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/7/73/T--Washington--LigDockAnim.gif,Ligand Docking Animation,boxShadow: 5px 5px 10px gray,margin:auto,width:50%",type:"IMAGE"},{data:"Figure 6: A surface view of the CDB ligand docking into the anchor nanobody with excellent convergence between the different models.\n\nOur last step of simulating the dimerization of the dimer nanobody to the ligand-anchor complex did not yield sensible results. There was also a lack of convergence between the different models generated from RosettaDock. A common problem was the ligand interfacing with the side of the dimer nanobody instead of the variable loops region as shown in Figure 7. Many low energy models also had the dimer nanobody connecting with a random side of the anchor nanobody, not anywhere near the ligand. We are continuing to refine our process and parameters for RosettaDock including tightening constraints of where the dimer nanobody can bind to the complex. Having more constraints will give Rosetta a smaller sample space, discouraging it from exploring wild non convergent structures.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/d/dd/T--Washington--liganchor.png,Dimer protein to ligand-anchor complex,boxShadow: 5px 5px 10px gray,margin:auto,width:70%",type:"IMAGE"},{data:"Figure 7: A model of the dimer protein to the ligand-anchor complex showing an unrealistic conformation, but one that was prevalent in our results.\n\n### Future Work\n\nWe hope to introduce more variables into our simulations in the future. Specifically, we want to simulate nanobodies with a mutation in the variable loop regions to see how it may affect ligand docking and the dimerization of the second nanobody. Being able to produce a relatively accurate depiction of binding affinity would help wetlab eliminate nanobodies that are unlikely to be good candidates to bind to a particular molecule. Mutations in the amino acid sequence can also be introduced and simulated in order to see which amino acids are affecting the binding strength the most. \n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ntellurium\nTellurium",type:"SPECIAL"},{data:"# Tellurium",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/2d/T--Washington--TelluriumLogo.png,Tellurium logo,margin:auto,width:70%,maxWidth:300px",type:"IMAGE"},{data:'## Introduction\n\n[Tellurium](https://tellurium.readthedocs.io/en/latest/index.html) is an open-source Python environment developed for kinetic mathematical modeling of biological networks, developed by the Sauro lab at the University of Washington. The backend of Tellurium is coded in C++, allowing it to be fast enough to be used for highly complex systems. It can model ODEs, PDEs, and stochastic differential equations. In many ways, Tellurium is our open-source, robust substitute for an expensive multi-paradigm numerical computing system such as MATLAB.\n\nTellurium is most useful for understanding the kinetics of a system, and our team used it to model the chemical networks relevant to our project. These kinetics give us insight into how fast a reaction proceeds and how certain parameters of the model affect the outcome. When applied to a gene network, we gain insight into rate-limiting steps, whether or not a system comes to a steady state, and how the system acts if it is perturbed. This information gives the Wetlab team some insights in the future about what they ought to expect from their experiments, and helped us determine likely sources of error. Furthermore, we would be able to directly compare different Wetlab procedures and assess them on desirable characteristics such as time to completion and resource-use efficiency.\n\nThe classic understanding of the kinetics of a system is that the rate-limiting step controls the rate at which the overall reaction proceeds. If you increase the rate of the rate-limiting step, then you increase the rate of the overall reaction. The rate limiting step has complete "control" over the overall reaction rate. However, real systems are rarely this simple, especially when a biological network has feedback loops. Control is typically shared unequally between multiple steps, and it is rarely easy to identify which steps have greater control than others. [2] Tellurium gives us an option for computing which can give us insights for how to efficiently manufacture a molecule of interest or how we can modify the gene network to make a cell produce more or less of a compound.\n',type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/8/8d/T--Washington--GenNetwork.png,Flow graph of chemical reaction network,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:800px",type:"IMAGE"},{data:"Figure 8: An example flow graph for easy visualization of a chemical reaction network.\n\nWe began with a basic model for nanobody dimerization. This model uses antibody kinetic data from [Bionumbers](http://bionumbers.hms.harvard.edu/) and assumes a pre-existing nanobody concentration.\n\n## Kinetic Modeling",type:"MARKDOWN"},{data:"ACCORDION\n===\nModel code\n```\nmodel feedback()\n  // Reactions:\n  J0: Nan1 + Mol -> Nan1Mol; (K1*Nan1*Mol);\n  J1: Nan1Mol -> Nan1 + Mol; (K_1*Nan1Mol); \n  J2: Nan1Mol + Nan2 -> Nan1MolNan2; (K2*Nan1Mol*Nan2)\n  J3: Nan1MolNan2 -> Nan1Mol + Nan2; (K_2*Nan1MolNan2)\n  J4: Nan1MolNan2 + GeneOff -> GeneOn; (K3*Nan1MolNan2*GeneOff);\n  J5: GeneOn -> Nan1MolNan2 + GeneOff; (K_3*GeneOn);\n \n  // Species initializations:\n  Nan1 = 0.0001692; Mol = 0.0001692/2; Nan2 = 0.0001692; Nan1Mol = 0;\n  Nan1MolNan2 = 0; GeneOff = 5*10^-5; GeneOn = 0;\n \n  // Variable initialization:\n  K1 = 6.1*10^5; K_1 = 8*10^-5; K2 = 3.3*10^5; K_2 = 5.7*10^-8; K3 = 1*10^5; K_3 = 0;\n```",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/1/15/T--Washington--RegNetwork.png,Simulation of first constructed model for the CID nanobody system,boxShadow: 5px 5px 10px gray,margin:auto,width:70%;maxWidth:600px",type:"IMAGE"},{data:"Figure 9: The simulation of our first constructed model for the CID nanobody system showing concentration of the various molecules involved over time.\n\nThe benefit of this simple model was that it allowed us to look more closely at the individual interactions and their response to perturbations. Using parameter sweeping, we could step over a range of values for each parameter and inspect how that given change altered the overall output: the amount of our target gene activated. We see that K3, the parameter associated to the binding of the transcription factor (the nanobody dimer) to our gene, and K2, the parameter associated to dimerization, are the most sensitive to alterations, while K1, the parameter associated to the first/anchor nanobody binding to the target molecule, and the associated reverse reactions (K_1, K_2, and K_3) are less so. This told us that these two steps were the ones most prone to create experimental error in Wetlab, and that a strong dimerization is more important than a strong connection between the anchor and target molecule. As such, when panning for possible nanobodies and running our Rosetta docking simulations, we prioritized a strong dimerization over a strong anchor-binding.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/2b/T--Washington--ParamSweep.png,Parameter sweep,boxShadow: 5px 5px 10px gray,margin:auto,width:90%,maxWidth:1200px",type:"IMAGE"},{data:"Figure 10: The parameter sweep, where each subplot contains numerous simulations varying the parameter of interest. Wider distributions show that some parameters are more susceptible to uncertainty than others.\n\nWe expanded upon this basic model by introducing steps for the transcription and translation of the nanobodies, as was the case in our Wetlab experiments. Additionally, we added in the separate compartments involved in the process. This added in another constraint to the system by forcing the model to account for diffusion rates. \nFor this project, we used this model to help approximate the timespan over which our reactions occur, but in the future, we would like to use this model to perform more in-depth analysis of our system.\n",type:"MARKDOWN"},{data:'ACCORDION\n===\nAdvanced Model\n```\nantimonyString = ("""    \n    J0: $AncDNA -> AncRNANuc ; a_rna * AncDNA\n    J1: $DimDNA -> DimRNANuc ; a_rna * DimDNA\n    # transcription\n    # units of (mRNA copies)/(sec)\n    J3: AncRNANuc -> AncRNACyt ; diffusion_rna * AncRNANuc - diffusion_rna * AncRNACyt  \n    J2: DimRNANuc -> DimRNACyt ; diffusion_rna * DimRNANuc - diffusion_rna * DimRNACyt\n    # mRNA transport out of the nucleus into the cytoplasm\n    # units of (mRNA copies)/(sec)\n    \n    J4: AncRNACyt -> ; d_rna * AncRNACyt\n    J5: DimRNACyt -> ; d_rna * DimRNACyt\n    J6: AncRNANuc -> ; d_rna * AncRNANuc\n    J7: DimRNANuc -> ; d_rna * DimRNANuc\n    # mRNA decay\n    # units of 1/(sec) * (mRNA copies) = (mRNA copies)/(sec)\n    J8: -> AncBinder ; a_nb * AncRNACyt\n    J9: -> DimBinder ; a_nb * DimRNACyt\n    # translation\n    # units of (protein copies)/(sec * mRNA copies) * (mRNA copies) = (protein copies / sec)\n        \n    J10: AncBinder -> ; d_nb * AncBinder\n    J11: DimBinder -> ; d_nb * DimBinder\n    J12: DimerCyt -> ; d_nb * DimerCyt\n    J13: DimerNuc -> ; d_nb * DimerNuc\n    # protein decay\n    # units of (1 / sec) * (protein copies) = (protein copies / sec)\n    \n    J14: MoleculeMedium -> MoleculeCyt ; (MoleculeMedium - MoleculeCyt) * diffusion_mol\n    \n    J29: MoleculeCyt + AncBinder -> Complex ;  k_on_anchor_binder * MoleculeCyt * AncBinder -  k_off_anchor_binder * Complex\n    # the anchor binder binds to molecule of interest to form a complex.\n    # nanobody complexes may dissociate over time\n    # units for forward reaction: (1 / (mols / liter) * sec) / (copies / mol)  / liters * copies * copies = copies / sec\n    # units for backwards reaction: (1 / sec) * copies = copies / sec\n    J15: Complex + DimBinder -> DimerCyt ; k_on_dimerization_binder * DimBinder * Complex - k_off_dimerization_binder * DimerCyt\n    # dimerization binder binds to complex to form dimers      \n    # dimers may dissociate, but much less often than complexes\n    # units for forward reaction: (1 / (mols / liter) * sec) / (copies / mol)  / liters * copies * copies = copies / sec\n    # units for backwards reaction: (1 / sec) * copies = copies / sec\n    \n    J16: DimerCyt -> DimerNuc; diffusion_nb * DimerCyt \n    J17: DimerNuc -> DimerCyt; diffusion_nb * DimerNuc\n    # dimer must be transported into the cell to act as a transcription factor\n    \n    J18: DimerNuc + GeneOff -> GeneOn; k_on_transcription_factor * DimerNuc * GeneOff - k_off_transcription_factor * GeneOn\n    # dimer acts as transcription factor for a gene\n    # units: (copies) / (copies)\n    \n    J19: -> RepRNANuc ; a_rna * GeneOn\n    J20: RepRNANuc -> RepRNACyt ; diffusion_rna * RepRNANuc - diffusion_rna * RepRNACyt\n    J22: RepRNANuc -> ; d_rna * RepRNANuc\n    J23: RepRNACyt -> ; d_rna * RepRNACyt\n    J24: -> Rep ; a_nb * RepRNACyt\n    J25: Rep -> ; d_nb * Rep\n    # the activated gene transcribes a reporter\n    \n    J26: GeneOn -> GeneOff ; d_nb * GeneOn\n    # The dimer can decay even while on the gene itself\n    \n    # *****************************************************************************************************************************\n    # Parameters\n    \n    AvoNum = 6.02 * 10^23;\n    \n    TotalCellVol = 30.3 * 10^(-6);\n    NucleusVol = 4.3 * 10^(-6);\n    CytoplasmVol = TotalCellVol - NucleusVol;\n    # all volumes given in units of L, \n    # volumes from http://bionumbers.hms.harvard.edu/bionumber.aspx?id=106557&ver=1&trm=yeast%20cytoplasm%20volume&org=\n    \n    scalingFactor = 1;\n    # since all our rates/rate constants are in seconds, we can scale time by multiplying each time-dependent parameter by a scaling factor\n    # this particular value scales the parameters for time units of hours\n    \n    a_rna = (0.002) * scalingFactor;\n    # median transcription rate = 0.12 mRNA molecules/min = 0.002 mRNA molecules/sec\n    # median transcription rate from http://bionumbers.hms.harvard.edu/bionumber.aspx?id=106766&ver=3&trm=transcription%20rate%20yeast&org=\n    # KEY ASSUMPTION: the rate of transcription of our nanobody gene is constant. \n    # in reality, it may not be safe to assume that our molecule is transcribed by the median transcription rate\n    \n    d_rna = 5.6 * 10^(-4) * scalingFactor;        \n    # 5.6 * 10 ^ -4 = mRNA decay rate constant in units of sec^-1\n    # mRNA decay constant found from http://bionumbers.hms.harvard.edu/bionumber.aspx?id=105510&ver=5&trm=mrna%20s.%20cerevisiae&org=\n    \n    a_nb = (0.0185) * scalingFactor;\n    # yeast has no rough ER, so translation occurs in the cytoplasm\n    # median time for translation initiation = 4.0 * 10^2 s * mRNA / protein\n    # median elongation rate = 9.5 aa/s\n    # nanobody average amino acids = 130 aa\n    # time for elongation = (130 aa / protein)/(9.5 aa/s) = 14 sec / protein\n    # total time for 1 mRNA transcript = 14 sec / protein + 40 sec = 54 sec\n    # rate at which mRNA is transcribed = 1 protein/(54 sec * 1 mRNA) / ~ 0.0185 protein/(sec mRNA)\n    # it is notable that translation initiation rate can vary between mRNA by orders of magnitude\n    # all data from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3694300/\n    d_nb = 2.6 * 10^(-4) * scalingFactor;\n    # which shows that the median half-life of a protein in a budding yeast cell is 43 minutes\n    # median rate constant of degradation of proteins in a yeast cell = 2.6e-4 1/sec\n    # data from http://www.pnas.org/content/103/35/13004 (doi: https://doi.org/10.1073/pnas.0605420103) https://www.nature.com/articles/nature10098,\n    \n    K_d_anchor_binder = 20 * 10^-6 * scalingFactor;\n    k_on_anchor_binder = 4.0 * 10^5 * scalingFactor;\n    k_off_anchor_binder = K_d_anchor_binder * k_on_anchor_binder * scalingFactor;\n    # k_on of antibody-binding to cytochrome C = (4.0 +- 0.3) * 10^5 1/(M * sec)\n    # From gu\'s data, K_d of anchor binder binding = 20 * 10^-6, units of M\n    # K_d = k_off / k_on, therefore k_off = K_d * k_on\n    # 4.0 * 10^5 1/(M * sec) * (20 * 10^-6 M) = 80 * 10^-1 (sec^-1)\n    # this is one of the binding affinities that we will do a parameter sweep to learn more about\n    \n    K_d_dimerization_binder = 1 * 10^-7 * scalingFactor;\n    k_on_dimerization_binder = 4.0 * 10^5 * scalingFactor;\n    k_off_dimerization_binder = K_d_dimerization_binder * k_on_dimerization_binder * scalingFactor;\n    # k_on of antibody-binding to cytochrome C = (4.0 +- 0.3) * 10^5, units of 1/(M * sec)\n    # from Gu\'s data, K_d of dimerization binder binding = 100 * 10^-9, units of M\n    # K_d = k_off / k_on, therefore k_off = K_d * k_on\n    # 4.0 * 10^5 1/(M * sec) * (100 * 10^-6 M) = 400 * 10^-1 (sec^-1)\n    # this is one of the binding affinities that we will do a parameter sweep to learn more about\n        \n    k_on_transcription_factor = 1.0 * 10^4 * scalingFactor;\n    k_off_transcription_factor = 1.11 * 10^-3 * scalingFactor;\n    # k_on of Egr1 DNA binding domain =  1.0 * 10^9, units of 1/(sec * M)\n    # k_off of EGr1 DNA binding domain = 1.11 * 10^-3, units of 1/sec\n    # data from http://bionumbers.hms.harvard.edu/bionumber.aspx?s=n&v=5&id=104597\n    \n    diffusion_rna = 1.0 * 10^-1;    \n    diffusion_nb = 0.3; \n    diffusion_mol = 1.8 * 10^-2\n    \n    # *****************************************************************************************************************************************\n    # Initial values\n    # These are all in copies\n    AncDNA = 1; \n    DimDNA = 1;\n    Mol = 0;\n    GeneOff = 1;\n    MoleculeAdded = 0;\n    \n    # We don\'t strictly need to initialize all these additional variables, but doing so supresses errors when using gillespie for stochastic simulations\n    AncRNANuc = 0;\n    AncRNACyt = 0;\n    DimRNANuc = 0;\n    DimRNACyt = 0;\n    AncBinder = 0;\n    DimBinder = 0;\n    Complex = 0;\n    DimerCyt = 0;\n    DimerNuc = 0;\n    GeneOn = 0;\n    RepRNANuc = 0;\n    RepRNACyt = 0;\n    Rep = 0;    \n    MoleculeCyt = 0;\n    MoleculeMedium = 0;\n    \n    # this makes it so that the molecule is added at the appropriate time    \n    at time >= 5 * 60 * 60: MoleculeMedium = MoleculeAdded;\n    \n    \n""");\n```',type:"SPECIAL"},{data:"## Logic Gates\n\nThrough simulations, we explored some examples of how a CID nanobody system can be used to construct digital logic gates. We came up with one design for each basic gate (NOT, AND/NAND, OR/NOR). The basis of the CID nanobody gates is a biosensor where for each binding pair one nanobody is attached to a DNA binding domain, and the other nanobody is attached to a promoter. This anchoring of the promoter causes the upstream gene to be transcribed much more often. Transcription rarely happens when the promoter is not anchored.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/a/a2/T--Washington--LogicGateNOT.jpg,inverter,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:600px",type:"IMAGE"},{data:"In this example the CID complex promotes the transcription of a repressor to make an inverter.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/a/aa/T--Washington--LogicGateAND.jpg,Logic gate and,boxShadow: 5px 5px 10px gray,margin:auto,width:80%,maxWidth:600px",type:"IMAGE"},{data:"For the AND/NAND gate, the first CID complex promotes transcription of the first nanobody for a second CID complex. This second CID complex then promotes transcription of a reporter or repressor.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/c/c5/T--Washington--LogicGateOR.jpg,OR/NOR gate,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:600px",type:"IMAGE"},{data:"For the OR/NOR gate, both CID complexes promote transcription of the same reporter or the same repressor.\n\nWe also did some basic modelling on the AND and OR gates to get an idea of their behaviour. These were simple extensions of our basic model.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/9/94/T--Washington--ANDGateSimulation.jpg,And gates simulation,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:600px",type:"IMAGE"},{data:"AND gate simulation. This shows the desired behaviour, but the timescale needs to be reconsidered in the future.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/2b/T--Washington--ORGateSimulation.jpg,or gate simulation,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:600px",type:"IMAGE"},{data:"OR gate simulation. This also shows the desired behaviour and has the same timescale issue.\n\nFuture steps to take would be to use experimental kinetic data to create a more accurate model, and to compare that to similar models for existing implementations of digital logic gates. This would help us understand the viability of implementing logic functions using a CID nanobody system, and give us insight on what needs to be improved to make it comparably or more efficient.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nevents\nEvents",type:"SPECIAL"},{data:"# Events\n\nWe participated in a weekly student run class before the iGEM season began to learn about mathematical biology. In this class we became familiar with Tellurium and Rosetta, which would serve as the centerpieces of our modelling work done during the summer.  At the end of the quarter we made presentations about our preliminary findings.\n\nWe hosted two hackathon events to promote unity, share knowledge, and build teamwork for our modeling team. The first one was titled SSH, or \u201cSimulations Saturday Hangout.\u201d At this twelve-hour event we taught each other about various programming languages\u2014including C++, Python, and LaTeX\u2014did team building exercises, and had an ice-cream social. The second event \u201cSimulations Saturday Hangout On A Tuesday,\u201d or SSHOAT, had a similar itinerary\u2014this time seven hours in length and including presentations on advanced Python programming and Vim editing.\n\nWe also taught about computational biology and the tools we used over the summer (Tellurium & Rosetta) during a modelling workshop at the Pacific Northwest iGEM meetup. In this workshop we introduced members from other iGEM teams to the basics of mathematical modeling, including basic overviews of ODEs and Monte Carlo simulations.  We then showed them how to create kinetic models of simple chemical reactions in Tellurium. Our hope was to inspire them to use the power of modeling in their future projects.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/6/61/T--Washington--MeetupSimWorkshop.jpg,PNW Meetup Simulations Workshop,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:800px",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations\n\n1. Pierce, N. a & Winfree, E. Protein design is NP-hard. Protein Eng. 15, 779\u2013782 (2002).\n2. Pages 142\u2013144 in Sauro, H. M. Systems Biology: An Introduction to Metabolic Control Analysis. (Ambrosius Publishing, 2018).\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"NAVIGATION\nLEFT=https://2018.igem.org/Team:Washington/InterLab;LEFTNAME=InterLab;RIGHT=https://2018.igem.org/Team:Washington/Results;RIGHTNAME=Results",type:"SPECIAL"}],isContent:!0,pageTitle:"/Model"},{content:[{data:"HEADER\nTEXT=RESULTS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nlorem\nloremip",type:"SPECIAL"},{data:"# Lorem\n\nLorem ipsum",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Results"},{content:[{data:"HEADER\nTEXT=PARTS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nBLUR=3\nMINPADDINGTOP=120",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"# Overview\n\nThis year, we created a number of biobrick parts that have stemmed from our work with nanobody CID systems and biopanning. The parts that we have created are codon optimized and ready to be cloned into expression vectors, allowing for seamless integration of our foundational CID system into any other project.\n\nThe nanobodies submitted consist of dimerization binding pairs for Cannabidiol (CBD) that were selected by the Gu Lab at the University of Washington, including an anchor nanobody that binds to CBD and dimerization binders that bind to the CBD anchor binder complex. Together, these parts create the scaffold for future CID systems, such as a biosensor or a transcriptional switch. \n\nAdditionally, we submitted the anchor-binding nanobody for Artemisinin, identified by our lab after extensive biopanning through a synthetic library. This Biobrick was characterized through ELISA, which demonstrated its high binding specificity for the small molecule Artemisinin.\n\n| Part Name | Registry Number | Link to part |\n|-|-|-|\n| CBD Nanobody Anchor Binder | BBa_K2682000  | [Link](http://parts.igem.org/Part:BBa_K2682000)\n| CBD Nanobody Dimer Binder 1 | BBa_K2682001 | [Link](http://parts.igem.org/Part:BBa_K2682001)\n| CBD Nanobody Dimer Binder 3 | BBa_K2682002 | [Link](http://parts.igem.org/Part:BBa_K2682002)\n| Artemisinin Anchor Binder | BBa_K2682003 | [Link](http://parts.igem.org/Part:BBa_K2682003)\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations\n\nYan, J., Li, G., Hu, Y., Ou, W. & Wan, Y. Construction of a synthetic phage-displayed Nanobody library with CDR3 regions randomized by trinucleotide cassettes for diagnostic applications. Journal of Translational Medicine 12, 343 (2014).",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Parts"},{content:[{data:"HEADER\nTEXT=HUMAN PRACTICES\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=9\nMINTITLEHEIGHT=6\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"# Human Practices - Introduction\n\nWith our theme of \u201cStronger Together\u201d in mind, our team sought to integrate human practices into nearly every part of our project.  This was made possible by an extremely interdisciplinary team, with interests in not only science, but also business, design, communication, education, and public engagement.  In addition to thinking carefully and creatively about the impact of our project on our world, we actively engaged with stakeholders and the public about our project, and the dialogues we had informed and shaped the direction of our work.  Furthermore, as a team, we firmly believe in giving back to our community and that having a positive presence in our neighborhoods is essential to fostering a climate open to science and innovation. Thus, our work outside of the lab, including our education projects, events for the public, and collaborations with other teams, was extremely important to us.",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/5/5e/T--Washington--ihpbanner.png;DESCRIPTION=This year, we aimed to engage stakeholders, examine our project\u2019s economic and societal implications, and communicate our work effectively and transparently. Our lab work was largely shaped by our conversations with stakeholders and the public. We spoke with doctors about how vitamin D deficiency affects our local community and reached out to Amyris and other companies for ideas on valuable molecular targets that need detection. By taking a holistic approach to our research, we can make positive differences in multiple areas in our communities.;LINK=https://2018.igem.org/Team:Washington/Integrated_Human_Practices;TITLE=Integrated Human Practices;XPOS=100\nPICTURE=https://static.igem.org/mediawiki/2018/2/2d/T--Washington--Panel.png;DESCRIPTION=We believe that collaboration between teams is one of the most productive and fun aspects of iGEM because it allows us to hear about ideas and experiences from other teams as well as share our ideas with other excited scientists. This year, we collaborated with iTesla-SoundBio, our local high-school team, on training and InterLab, and hosted the first-ever Pacific Northwest iGEM Meetup for teams in our region. We also worked with teams abroad to translate our outreach booklet and implement our activities in their communities.;LINK=https://2018.igem.org/Team:Washington/Collaborations;XPOS=60;TITLE=Collaborations\nPICTURE=https://static.igem.org/mediawiki/2018/e/e0/T--Washington--Sadhana1.jpg;DESCRIPTION=Our outreach team\u2019s goal was to increase science literacy, particularly relating to synthetic biology, among younger students and the general public. Our outreach efforts especially targeted underserved communities. We created a 100+ page synthetic biology activity booklet that was translated into multiple languages by other teams to aid in teaching synthetic biology to students around the world. Additionally, we organized many events, including visiting classrooms, teaching kids with autism, tabling at community events, and instructing students in Ahmedabad, India. We also created a dialogue with the general public through \u201cman-on-the-street\u201d-style interviews and a synthetic biology panel event.;LINK=https://2018.igem.org/Team:Washington/Public_Engagement;XPOS=25;TITLE=Education & Engagement\nPICTURE=https://static.igem.org/mediawiki/2018/thumb/7/73/T--Washington--LumenVisit.jpg/800px-T--Washington--LumenVisit.jpg;DESCRIPTION=Our business team was developed to engage with potential stakeholders, customers, and industry advisors about the feasibility of bringing our new technology to market. We consulted scientists from several well-known institutions to improve our understanding of issues they face and gauge the commercial value of our products. We assessed the needs of these potential customers by identifying small molecules that they have trouble detecting. Our team assimilated information that we gained from interviews and market research into a detailed business plan outlining our strategy for introducing our products to market.;LINK=https://2018.igem.org/Team:Washington/Entrepreneurship;XPOS=60;TITLE=Entrepreneurship\nPICTURE=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png;DESCRIPTION=The Design team\u2019s goal was to help communicate our project more effectively to the outside world and spread the knowledge of synthetic biology and its potential impact. The art and design work we did allowed us to be more conscientious of our message and how to best portray that information for the intended audience. We worked on art for posters and flyers, designed logos for our project and events hosted by our team, and helped design competition deliverables including the figures, poster, presentation, and wiki. We also worked in partnership with the Outreach team to illustrate their synthetic biology activity booklet.;LINK=https://2018.igem.org/Team:Washington/HP_Design;XPOS=25;TITLE=Human Practices Design\nPICTURE=https://static.igem.org/mediawiki/2018/2/28/T--Washington--Zulipusage.jpg;DESCRIPTION=Because our team has grown so much in the last year and developed so many subteams, the complexity of our organization became too difficult to manage without making significant changes to our leadership structure and team communications. This year, we revamped administrative positions to better manage communication between leadership members and general team members, formalized channels for feedback on team management, and adopted a new communication platform to increase efficiency. Additionally, we formalized wetlab and drylab training programs by developing curriculum and teaching classes that students could receive credit for through our university.;LINK=https://2018.igem.org/Team:Washington/Team_Development;TITLE=Team Development;XPOS=80;YPOS=10",type:"SPECIAL"}],pageTitle:"/Human_Practices"},{content:[{data:"HEADER\nTEXT=COLLABORATIONS\nBACKGROUND=https://static.igem.org/mediawiki/2018/3/34/T--Washington--CollabHeader.jpg\nYPOS=50\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nMINPADDINGTOP=120\nTEXTHEIGHT=9\nMINTITLEHEIGHT=5\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\npnwmeetup\nPacific Northwest iGEM Meetup",type:"SPECIAL"},{data:"# Pacific Northwest iGEM Meetup",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/3/3d/T--Washington--PNWMeetup.png,Pacific Northwest iGEM Meetup,boxShadow:5px 5px 10px gray, margin:auto, width:60%",type:"IMAGE"},{data:"For the first time ever, the Washington iGEM hosted an iGEM meetup for Pacific Northwest teams on August 18-19. The Tacoma RAINMakers and the iTESLA-SoundBio teams participated in the event and made new connections with their fellow iGEM members. The event included a keynote speaker, a biotechnology industry panel, TEDx style guest talks, a talk given by the North American iGEM ambassadors, workshops, and an outreach event. Teams were also given an opportunity to practice their presentation for Jamboree during a practice presentation session. In addition, teams were able to practice their poster presenting skills during an open poster presentation.\n\nOur meetup booklet can be viewed [here](https://static.igem.org/mediawiki/2018/3/30/T--Washington--PNWMeetupBooklet.pdf).\n\n## Meet the teams:\n\n* [Tacoma RAINmakers](https://2018.igem.org/Team:Tacoma_RAINmakers)\n\n* [iTESLA-SoundBio](https://2018.igem.org/Team:iTesla-SoundBio)",type:"MARKDOWN"},{data:"## Keynote Speech",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/7/78/T--Washington--CollabKeynoteSpeech.png,Cindy Wu's keynote speech,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Keynote speeches can be viewed here:\n* [Keynote Part 1](https://drive.google.com/file/d/1O9DbK61Z3rGgBpRYyx1d52_5A8HAYaZZ/view)\n* [Keynote Part 2](https://drive.google.com/file/d/1RZyrFLx0LTwmERsED7L1gHyNJmD3anb7/view)\n\nWe were honored to have Cindy Wu, a Washington iGEM alum and co-founder of [Experiment](https://experiment.com/), a crowdfunding platform for scientific research, as our keynote speaker. Cindy Wu\u2019s keynote focused on the idea of \u201cdemocratizing science\u201d by opening up avenues of funding through crowdfunding via her startup.",type:"MARKDOWN"},{data:"## Biotechnology Panel",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/2d/T--Washington--Panel.png,Biotechnology panel,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Panel discussions can be viewed here:\n* [Part 1](https://drive.google.com/file/d/11cNp2ppGQHBbszrrUH_Bc5ODRaYJ61-_/view)\n* [Part 2](https://drive.google.com/file/d/1fG6MGbuwsMBo_FLpovj-iYECUfDNNJvX/view)\n* [Part 3](https://drive.google.com/file/d/1Dixfy6AgmLmfuS1RpGuQioFlLC20R7UP/view)\n* [Part 4](https://drive.google.com/file/d/1Yyq3REcPcMm5dcXTE6kzb2mLI9y93swI/view)\n\n## Description\n\nThe biotech panel included four leaders in the local startup and DIY Bio community, including three Washington iGEM alumni. They spoke about their experiences in academia, industry, non-profits, and what it was like to start their own endeavors. Some of the questions included:\n* What\u2019s your educational background? Tell us a little bit about who you are, where you came from, how you got the idea to start your own organization or company.\n* What does your company do; what are the main goals?\n* We heard from Cindy about why she decided to start Experiment, but for the others, what motivated you in the beginning?\n* Where do you see your company/organization in 5 years?\n* What inspired you to do what you do? What excites you most about your field of work?  \n* For each of you, what are the biggest challenges you\u2019ve faced? Was there ever a time you wanted to give up?\n* What worries do you have about the future of your field?\n* What fascinates or concerns you most about citizen science?\n\n## Speakers",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=4\nDESCRIPTION=Dr. Ingrid Pultz, Washington iGEM alum, PVP Biologics;PICTURE=https://static.igem.org/mediawiki/2018/c/c0/T--Washington--Ingrid.png;XPOS=50;YPOS=50\nDESCRIPTION=Dr. David Younger, Washington iGEM alum, A-Alpha Bio;PICTURE=https://static.igem.org/mediawiki/2018/5/5e/T--Washington--David.png\nDESCRIPTION=Cindy Wu, Washington iGEM alum, Experiment.com;PICTURE=https://static.igem.org/mediawiki/2018/5/5b/T--Washington--CindyWu.png\nDESCRIPTION=Regina Wu, SoundBio Lab;PICTURE=https://static.igem.org/mediawiki/2018/4/45/T--Washington--Regina.png",type:"SPECIAL"},{data:"## Guest Talks",type:"MARKDOWN"},{data:"### Roya Amini-Naieni\n\nWashington iGEM alum, Harvey Mudd College class of 2021",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/e/ec/T--Washington--RoyaTalk.png,Roya's talk on her experiences in iGEM,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Roya Amini-Naieni's talk can be viewed here:\n\n[Roya's Talk](https://drive.google.com/file/d/135U7rY3eUX_yqgXVuXwANzbyXJvUIOsG/view)\n\nRoya talked about her experiences in iGEM as a high schooler and her journey to establishing a \u201cbiohackerspace\u201d at Harvey Mudd. Her talk focused on the tenacity that one must have to be involved with science, and the fact that it is never too early to start developing an interest in the scientific world.",type:"MARKDOWN"},{data:"### Dr. David Hirschberg\n\nUniversity of Washington - Tacoma",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/b/b1/T--Washington--Hirschberg.jpg,David Hirschberg's talk,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Dr. Hirschberg went back to the fundamentals of science and thinking about \u201cnothing.\u201d His talk focused on the impact that science has on the general population, and how we as students and future scientists could shape the future of the scientific world by being more accessible to those without formal training.",type:"MARKDOWN"},{data:"### Dr. Liangcai Gu\n\nUniversity of Washington - Seattle",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/b/b7/T--Washington--GuTalk.jpg,Dr. Gu's talk,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Dr. Gu's talk can be viewed here:\n\n[Dr. Gu's talk](https://drive.google.com/file/d/1R3yqb0pEsGa-U8Xkcx_dJKBVMJ2p21sC/view)\n\nDr. Gu talked about his research, specifically on the _in-situ_ DNA Sequencing that his lab has developed and utilizes to increase the efficiency of protein design as part of the Institute of Protein Design at the UW. His work is inspiring, and he showed students the innovation that can be achieved through science and inventive thinking.",type:"MARKDOWN"},{data:"## After iGEM Ambassadors",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/28/T--Washington--AmbassadorTalk.jpg,After iGEM Ambassadors talk,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"The iGEM Ambassadors\u2019 talk can be viewed here:\n\n[iGEM Ambassador Talk Part 1](https://drive.google.com/file/d/1qlQG5R66gXekedrID0aqjjBhyNnq2hDm/view)\n\n[iGEM Ambassador Talk Part 2](https://drive.google.com/file/d/1GvdWr7EknKcSIUcOzJ2EIKTbAJcZmJeq/view)\n\nThe iGEM ambassadors talked about the jamboree and the After iGEM program. They also gave valuable feedback on poster presentations and the practice presentations. Their experiences with iGEM guided attendees in figuring out the ins and outs of Jamboree, and helped the teams prepare more thoroughly for the big competition.\n\n## Workshops\n\n### Simulations",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/5/5f/T--Washington--SimulationsWorkshop.jpg,Simulations workshop,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"A member of our Drylab Simulations team presenting on creating simulations through mathematical modeling. This workshop focused on an aspect of iGEM that many teams we\u2019ve worked with struggle with: understanding the methods behind mathematical modeling and how to go about creating simulations.\n\n### Artistic Design",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/28/T--Washington--DesignWorkshop.jpg,Design Workshop,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"The artistic design workshop brainstorms ideas on how to creatively present ideas and concepts. The workshop was focused on making the design process approachable and clear while still emphasizing how different creative minds can collaborate to create something amazing.\n\n### Fundraising",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/4/48/T--Washington--FundraisingWorkshop.jpg,Fundraising Workshop,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Our fundraising lead/team advisor presenting on fundraising and how to effectively fundraise. The workshop was especially helpful as all the teams at the meetup rely on fundraising as a means to fund their lab work and their involvement in iGEM.",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=2\nPICTURE=https://static.igem.org/mediawiki/2018/3/3b/T--Washington--Outreach1.jpg;XPOS=50;YPOS=50\nPICTURE=https://static.igem.org/mediawiki/2018/6/61/T--Washington--Outreach2.jpg;XPOS=50;YPOS=50",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/4/4b/T--Washington--Outreach3.jpg,Outreach 3,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"As a joint outreach event all three teams traveled to Gasworks Park, a public park near the University of Washington, and set up activities for the general public to participate in. We also sent our members around the park to talk with the general public and ask questions about their knowledge of synthetic biology. A more detailed description can be read on the [outreach page](https://2018.igem.org/Team:Washington/Public_Engagement).\n\n## Practice Presentations",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=2\nPICTURE=https://static.igem.org/mediawiki/2018/5/53/T--Washington--TacomaPresentation.jpg;XPOS=50;YPOS=50\nPICTURE=https://static.igem.org/mediawiki/2018/2/25/T--Washington--iTeslaPresentation.jpg;XPOS=50;YPOS=50",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/5/55/T--Washington--WashingtonPresentation.jpg,Washington Presentation,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Each team gave a presentation on their project to the rest of the attendees, including the After iGEM Ambassadors. The presentations were both inspiring and insightful, and each team deeply valued the feedback they received through this session. For our team, it was our presenters\u2019 first time speaking about our project to a large audience and it gave them an opportunity to think quick on their feet as they were asked questions in real time. Overall, this was one of the most helpful parts of the meetup as it allowed students who have never been to the Jamboree to experience a presentation setting.\n\n## Poster Session",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=2\nPICTURE=https://static.igem.org/mediawiki/2018/7/70/T--Washington--Poster2.jpg;XPOS=50;YPOS=50\nPICTURE=https://static.igem.org/mediawiki/2018/a/ac/T--Washington--Poster3.jpg;XPOS=50;YPOS=50",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/1/1c/T--Washington--Poster1.jpg,Poster presentation,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Teams were able to practice their poster presenting skills by presenting to other teams and the After iGEM Ambassadors. They made handmade posters during the meetup and presented the next day. This allowed every member besides the presenters to practice talking about their projects and answering questions in real time. It was especially helpful to experience the poster sessions in a low-stress environment to help newcomers get comfortable with the process.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\noutreachbooklet\nOutreach Booklet",type:"SPECIAL"},{data:"# Outreach Booklet\n\nThis year, our outreach team created an extensive booklet with activities that can be done with school children to teach them about synthetic biology. As part of our effort to reach multiple communities, we sought collaborations with teams around the world to translate our booklet into different languages so that our booklet could have a global impact. The teams that helped us in the endeavor are: [NUS Singapore-Science](https://2018.igem.org/Team:NUS_Singapore-Sci), [Sorbonne U Paris](https://2018.igem.org/Team:Sorbonne_U_Paris), [Evry Paris-Saclay](https://2018.igem.org/Team:Evry_Paris-Saclay), [Tec CEM](https://2018.igem.org/Team:TecCEM), and [ICT-Mumbai](https://2018.igem.org/Team:ICT-Mumbai). \n\nTheir translations of the booklet are included here:\n* [French (Evry Paris-Saclay)](https://drive.google.com/file/u/1/d/1vV8C-_bRLFR_OzbDFJ0j4Cb1PpmIu_Zu/view?usp=drive_open)\n* [French (Sorbonne U Paris)](https://drive.google.com/open?id=1-LYJw5iib_gz4f6Q_u_RmBiMmtoUrWXQ)\n* [Vietnamese (NUS Singapore-Science)](https://drive.google.com/file/d/1gQiaoz2yGQJBQ2sV9XPZaihdOAxY38pH/view)\n* [Hindi (ICT-Mumbai)](https://drive.google.com/file/d/0BywjPVljtJdUS3RBQkV2U2xodEd3eTZjWS1haTJOdWVvNW9V/view)\n* [Spanish (Tec CEM)](https://drive.google.com/file/d/1Zkd4ki7QVwmtVy8o2Jm2BsAAAPjV6Ugz/view)",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\niteslamentorship\niTESLA Mentorship",type:"SPECIAL"},{data:"# iTESLA Mentorship",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=2\nPICTURE=https://static.igem.org/mediawiki/2018/1/10/T--Washington--AngeliTesla.jpg;XPOS=50;YPOS=50\nPICTURE=https://static.igem.org/mediawiki/2018/1/16/T--Washington--KaraliTesla.jpg;XPOS=50;YPOS=50",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/e/e8/T--Washington--iTesla.jpg,iTesla Mentorship,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Like last year, we worked with the iTESLA-SoundBio team as a mentor team to help them with their trainings and their project. In the beginning of the summer, members of our wetlab team went to their lab to help train them in basic synthetic biology techniques. These techniques included cloning, PCR, and transformations. Our admin leads, Angel and Andrew, helped them select their presenters by reviewing their applications and critiquing their audition presentations.\n\nWe also helped them with human practices and future project development. As shown above, the first ever Pacific Northwest Meetup allowed for a chance to host a science outreach session for the iTESLA team and gave them a chance to talk to Holly Bowman, an iGEM Ambassador. Holly had worked on a very similar project in her iGEM team, and through our PNW Meetup, the iTESLA team was able to gain important insights into their project. Like Holly, many of our own members gave advice and opinions about iTESLA\u2019s project this year.\n\nAdditionally, we were extensively involved in helping iTESLA complete interlab as well as their follow-up data as they did not have access to their own plate reader. They prepared plates for their calibrations which we then performed readings on, and they provided us with cultures to plate and read. We sent the raw data to their team, and let them know about any issues that we had.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nwikiprogrammingtips\nWiki Programming Tips",type:"SPECIAL"},{data:"# Wiki Programming Tips\n\nThis year, our wiki developer created a guide with wiki programming tips for iGEM teams new to the wiki-making process. We made this tool available to any team that contacted us for it, and in return, we asked that they give us feedback and critiques on the tutorial so that we can improve it for future use. Our goal with the wiki tips was to make the iGEM competition more accessible to new teams as the wiki is a daunting task for even well-established teams. A link can be found [here](http://students.washington.edu/wkwok16/wiki-tutorial/) for teams that want to use this tutorial in the future. It will be updated as we get more feedback, so don\u2019t hesitate to contact us with your critiques!",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ngeneralcollab\nGeneral Collaborations",type:"SPECIAL"},{data:"# General Collaborations\n\n## Stanford\n\nWe worked with Stanford by sending one of our drylab members, Ed van Bruggen, down to Stanford University to talk to their team at the Stanford Poster Fair. They talked about each others\u2019 projects and thought of new ideas and ways to expand upon both their and our existing project. One of these ways was by trying to simulate their system using our modeling method, but it unfortunately failed due to the size of the antibody in their system. The failure showed us the constraints of our current model, and is a limitation that we may try to improve upon in the coming years. In addition to this, Stanford was one of the only teams to give us feedback on our wiki tutorial, which was extremely helpful in making it more accessible and approachable to other teams. We hope to continue collaborating with Stanford iGEM in the future.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\notherteamscollaborations\nOther Team's Collaborations",type:"SPECIAL"},{data:"# Other Team's Collaborations\n\n## TecCEM \u201cLabs Like You\u201d\n\nWe participated in Tec CEM\u2019s \u201cLabs Like You\u201d music video alongside the Tacoma RAINMakers and iTESLA Soundbio during our Pacific Northwest Meetup. The link to the video is [here](https://www.youtube.com/watch?v=R7vdiGLLJZA)\n\nThese are the teams that also collaborated in this worldwide project:\n\n1. iGEM IISER Bhopal (igemiiserb@gmail.com) \n2. IGEM AFCM ( igem.afcm@gmail.com) \n3. IGEM UNESP BRAZIL (igem.unesp.aqa@gmail.com) \n4. IGEM WASHINGTON (uwigem@uw.edu) \n5. IGEM Tust China (tustigem2018@163.com) \n6. iGEM team Bielefeld-CeBiTec (matthias.otto@uni-bielefeld.de) \n7. IISc-Bangalore iGEM Team (iisc.igem2018@gmail.com) \n8. IGEM BRAZIL USP (henriquedambrosioretti@gmail.com) \n9. IGEM DUSSELDORF (igem@hhu.de) \n10. IGEM GRONINGEN (igem2018rug@gmail.com) \n11. IGEM DALHOUSIE (igemdalhousie@gmail.com) \n12. IGEM LEIDEN (igem@science.leidenuniv.nl) \n13. Team UFLORIDA (igem@ufapsa.org) \n14. Tarta TUIT_IGEM (nargiz.k@yahoo.com) \n15. Toulouse INSA UPS (igem.toulouse@gmail.com ) \n16. IGEM MICHIGAN STATE (Michiganstateigem@gmail.com) \n17. Team UCHILE_Biotec (sebastian.farias@ug.uchile.cl) \n18. ECUADOR (bfmosquera1@espe.edu.ec) \n19. IGEM BRAZIL USP EEL (cbsin.eel@gmail.com) \n20. Tec-Guadalajara (team.tec.gdl@gmail.com) \n21. Tec-Chihuahua (igemtecchihuahua@gmail.com \n22. UCSC IGEM (ucsc.igem.18@gmail.com ) \n23. TecCEM (igem.tec.cem@gmail.com) \n24. iTESLA-SoundBio Team \n25. Tacoma RainMakers Team\n\n## Surveys\n\nIn addition to all of our other collaborations, members of our team also assisted other teams in their filling out the following surveys about various topics relevant to their research or iGEM as a whole.\n\n* [iGEM Bielefeld-CeBiTec\u2019s survey on Dual Use and Dual Use Research of Concern](https://t.co/9sTFnuQW7a)\n* [UNL iGEM\u2019s survey on invasive species](https://www.surveymonkey.com/r/TRJKVD8)\n* [Uppsala iGEM\u2019s survey on mental health and burnout in iGEM](https://docs.google.com/forms/d/e/1FAIpQLSeWUVgq_Dm1nZTH6d8_JYZohyt8Gwf_sMTF1MaoWJLEjndQXg/formResponse)\n* [Imperial iGEM\u2019s survey on team leadership, structure, and communication](https://docs.google.com/forms/d/e/1FAIpQLScj_2MJxT28Ta5bpP6KbsO-9dsiG4U4nq9GBq3tIVWi9tWbLw/viewform)\n\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Collaborations"},{content:[{data:"HEADER\nTEXT=PUBLIC ENGAGEMENT\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=8\nMINTITLEHEIGHT=6\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\noverallfocus\nOverall Focus",type:"SPECIAL"},{data:"# Overall Focus\n\nOur educational outreach efforts were focused on making scientific learning more accessible by targeting underserved groups, including lower income schools and children with disabilities. Seattle, Washington has one of the largest equity gaps in the United States with white students being almost ten times more likely than black students to attend a school with reading test scores in the city\u2019s top 20th percentile. In general, lower income students are about four times as likely to attend low-performing schools [1]. In fact, over 6,000 students in Seattle alone were given low-income housing by the school district, and over 35,000 students were counted as homeless in Washington State [2]. Additionally, as the Special Olympics USA was held at the University of Washington over the summer, we had a greater awareness about the educational opportunities that children with intellectual disabilities often lack.\n\nAfter learning about these inequities, we wrote and illustrated a 100+ page multilingual synthetic biology booklet that is full of illustrations, especially designed for English Language Learners at lower income schools and for children with disabilities. We implemented the lessons from our booklet at school visits, both locally and internationally, specifically targeting lower income schools, which were determined by the percentage of students that are federally eligible for free or reduced lunch. Additionally, we taught a lesson about the central dogma of molecular biology to a summer camp for kids with autism.\n\nFurthermore, we created a dialogue with the general public by interviewing people about their opinions regarding synthetic biology at Gas Works Park, a famous park in Seattle. We also planned a synthetic biology panel event called \u201cSit Down with Synbio\u201d that initiated a conversation between the general public and synthetic biology experts with approximately 100 people in attendance. The goal of this event was to raise awareness about synthetic biology and its value to the general public by giving people a chance to ask questions.\n\n1. https://www.seattletimes.com/seattle-news/education/pilot-project-to-help-seattle-schools-homeless-families-find-housing/\n",type:"MARKDOWN"},{data:"SECTION\nevents\nEvents",type:"SPECIAL"},{data:"SEP",type:"SPECIAL"},{data:"# Events\n\n## Community Events\n\n### Shoreline STEM Fest\n\nHeld at Shoreline Community College, this festival combines a traditional science fair servicing hundreds of K-12 students in the Shoreline School District with hands-on exhibits and demonstrations presented by university groups, research institutes, and industry professionals. At this fair, we conducted our Lego DNA/Jellybean Peptide Activity to teach kids about the central dogma of molecular biology.\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/b/b6/T--Washington--Shoreline3.jpg;XPOS=75;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/d/d6/T--Washington--Shoreline1.jpg;XPOS=75;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/0/05/T--Washington--Shoreline2.jpg",type:"SPECIAL"},{data:"### Ben Franklin Elementary Math Fest\n\nThis event, presented by Prime Factor Math Circle School, engaged students aged 5-12 in hands-on activities, problem solving, and games about math, computer science, and other STEM disciplines. At this event, we used our Lego DNA/Jellybean Peptide Activity.",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/4/49/T--Washington--MathFestival3.jpg;XPOS=75;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/5/59/T--Washington--MathFestival2.jpg;XPOS=75;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/3/33/T--Washington--MathFestival1.jpg;YPOS=25",type:"SPECIAL"},{data:"### Introduce a Girl to BioE\n\nDue to the huge gender gap in engineering, this event aimed to introduce girls ages K-12 to the ever-expanding field of bioengineering. At this event, we introduced about 150 girls to the building blocks of life with our Lego DNA/Jellybean Peptide Activity.\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/6/6a/T--Washington--IntroduceAGirlToBIOE1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/a/a1/T--Washington--IntroduceAGirlToBIOE2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/3/3e/T--Washington--IntroduceAGirlToBIOE3.jpg;YPOS=25",type:"SPECIAL"},{data:"### Gasworks\n\nDuring the Pacific Northwest iGEM Meetup, we conducted an outreach event at Gas Works Park, which is a famous park that was originally the site of a coal gasification plant and features a breathtaking view of the Seattle skyline. As families often spend their evening in the park, we engaged kids with synthetic biology using our Lego DNA/Jellybean Peptide Activity.\n",type:"MARKDOWN"},{data:"## School Visits\n\n### Elementary\n\nNorthgate Elementary is an underserved school near the University of Washington, where 86% of students receive free or reduced lunch and many students are from minority groups, including 43% Hispanic students and 24% black students. We introduced 4th and 5th grade students to synthetic biology with our Fruit DNA Extraction Activity and Gel Electrophoresis Bunny Activity. The students were excited that they got to do both a hands-on activity and an activity with real-life applications by solving a crime scene!\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/a/a2/T--Washington--Northgate1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/3/30/T--Washington--Northgate2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/2/2e/T--Washington--Northgate3.jpg;YPOS=25",type:"SPECIAL"},{data:"### Middle\n\n**International School**\n\nDuring our visit to the International School in Bellevue, Washington, we introduced the students to the building blocks of molecular biology. The students learned about the central dogma of molecular biology through the Lego DNA/Jellybean Peptide Activity and conducted a Fruit DNA Extraction, where they learned about experimental design.\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/7/72/T--Washington--InternationalSchool1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/c/c3/T--Washington--InternationalSchool2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/d/d7/T--Washington--InternationalSchool3.jpg;YPOS=25",type:"SPECIAL"},{data:"**Sadhana School in Ahmedabad, India**\n\nTo expand our outreach focus internationally, our Outreach Lead, Ishira, introduced students to synthetic biology at Sadhana School in Ahmedabad, India, which has some underserved students. Ishira taught students in grades 6-8 with the Lego DNA/Jellybean Peptide Activity. This event was interesting, because the students had a hard time understanding Ishira\u2019s American accent. As a result, she taught most of the lesson in the local language, Gujarati, but received amusing questions from students such as what the phrase \u201ckick butt\u201d means in relation to a protein that is essential for fighting pathogens when one is sick. Additionally, instead of using puffed marshmallows as a \u201cglue\u201d to connect the jellybean \u201camino acids,\u201d Ishira had to make icing, because the puffed marshmallows contain eggs, and Sadhana School is a vegetarian school. Overall, the students had a great time learning about international research and understood the basics of the central dogma of molecular biology!\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/e/e0/T--Washington--Sadhana1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/a/ab/T--Washington--Sadhana2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/3/39/T--Washington--Sadhana3.jpg;YPOS=25",type:"SPECIAL"},{data:"### High\n\n**Kent Meridian High School**\n\nKent Meridian High School is an underserved high school, where 60% of students receive free or reduced lunch. During our visit, we introduced students that are in grades 9-12 to synthetic biology with our Solving Global Problems Activity and CRISPR Ethics Activity.",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/c/c4/T--Washington--KentMeridian1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/b/b3/T--Washington--KentMeridian2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/4/4e/T--Washington--KentMeridian3.jpg;YPOS=25",type:"SPECIAL"},{data:"**Rainier Beach High School**\n\nAccording to a Seattle Times article,[1] Rainier Beach High School was once considered the worst high school in Seattle and had a reputation for gangs and lackluster academics. While the graduation rates have improved, almost 70% of students at Rainier Beach High School receive free or reduced lunch and the school has a significant minority enrollment with 58% of students identifying as black. During our visit, we introduced 11th and 12th grade students to synthetic biology through our Solving Global Problems Activity and discussed possible college majors and career options.",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/8/87/T--Washington--Rainier1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/b/bc/T--Washington--Rainier2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/1/1b/T--Washington--Rainier3.jpg;YPOS=25",type:"SPECIAL"},{data:"### Citations\n\n1. https://www.seattletimes.com/education-lab/stunning-surge-in-graduation-rate-as-rainier-beach-gamble-pays-off",type:"MARKDOWN"},{data:"## Disability Events\n\n### Adventure Camp for Children with Autism\n\nWe introduced kids in grades 5-8 with autism to synthetic biology. We had many members volunteer at this event to give the students individualized attention and move at a slower pace. Additionally, our Lego DNA/Jellybean Peptide Activity has many images to aid learning. Overall, the students enjoyed learning about synthetic biology and enjoyed being engaged in a hands-on activity!",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/a/a2/T--Washington--AutismCamp1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/e/ea/T--Washington--AutismCamp2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/3/39/T--Washington--AutismCamp3.jpg;YPOS=25",type:"SPECIAL"},{data:"## UW Events\n\n### Engineering Discovery Days\nAt Engineering Discovery Days, students and faculty from all UW engineering departments share their work with students, teachers, families, and the community. This 2-day annual event is free, open to everyone, and is largely geared towards elementary school groups. Our team hosted an exhibit demonstrating a fruit DNA extraction. Over the course of the two-day event, we estimate that 400 students visited our booth.\n\n### Engineering Welcome\nAt UW\u2019s Engineering Welcome, we engaged incoming freshman interested in engineering with discussions about synthetic biology, iGEM, and the potential impact that synthetic biology has. This event was many students\u2019 introduction to synthetic biology, so we encouraged them to attend our synthetic biology panel event, Sit Down with Synbio.\n\n### Dawg Daze Event with DAWGMA\nWe partnered with DAWGMA, another synthetic biology club at UW, to give a talk about synthetic biology to incoming freshman interested in the field. We introduced the basic ideas of synthetic biology, our project, and advertised our synthetic biology panel event, Sit Down with Synbio.\n\n### Red Square Tabling\nDuring UW\u2019s annual club fair, we tabled at Red Square at UW. During this time, we introduced UW students to synthetic biology to recruit for the next iGEM season and promote our synthetic biology panel event, Sit Down with Synbio.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nbooklet\nSynthetic Biology Activity Booklet",type:"SPECIAL"},{data:'# Synthetic Biology Activity Booklet\n\nWashington iGEM\u2019s Synthetic Biology Activity Booklet aims to embrace the spirit of iGEM by making scientific learning more accessible internationally. We spent more than 100 hours writing and graphically illustrating our 100+ page activity booklet. Although none of the members who wrote and illustrated this booklet are studying graphic design, we taught ourselves Adobe Illustrator to create informative and eye-catching visuals to make learning easier, especially for English Language Learners and children with disabilities. We also included instruction sheets for other iGEM teams/teachers to explain how each activity works.\n\nAfter writing our activity booklet, we collaborated with other iGEM teams to translate our booklet into languages such as Spanish, Vietnamese, French, and Hindi. Through the translations, we hope to provide copies of our activities to students in their native language, both in the Seattle area (for English Language Learners) and internationally.\n\nAdditionally, our curriculum has already been distributed to several schools in the Seattle area as well as a school in India. We are also meeting a UW professor in November to review our curriculum and ensure that it is ideal for effectively teaching synthetic biology to students from diverse backgrounds. Furthemore, we have coordinated a meeting to work with Washington State Senator Bob Hasegawa in the hope of administering our curriculum to a wider range of schools and the general public.\n\n## Quotes from Some Writers of the Booklet:\n* "I don\u2019t know about you guys, but I couldn\u2019t read up to the fourth grade because I\u2019m dyslexic. I would have loved having visual activities when I was younger. This is why I am so proud of our lessons for younger kids like the Lego DNA/Jellybean Peptide Activity and the Gel Electrophoresis Bunny Activity. These activities do an amazing job illustrating the concepts, allowing people who have a hard time reading have a better understanding of what is going on since they have visual diagrams and clues to follow along with while doing the activity." ~ Aimee Ellis\n\n* "As awesome as synthetic biology is, or more broadly speaking - biology, it might not be for everyone. If you want to engage an audience you have to make them actively involved and not just lecture at them - this is especially true for younger groups. There are lots of textbooks out there that can teach people about biology, but not a lot of them are meant for the purpose of active learning. Our activity booklet is meant to get students actively involved and excited about biology no matter what kind of background they come from. Biology can be and IS for everyone." ~ Aerilynn Nguyen\n\n* "Having grown up in a suburban \u201cbubble\u201d in the Seattle metropolitan area, I was shocked to learn about the inequities in the education system so close to my home. As I was looking at the statistics for students that received free and reduced lunch at potential schools that we were going to visit, the website would often compare the high percentage at those schools with the low percentage of students that needed free or reduced lunch at schools in the school district that I attended. This astonishing revelation was at the core of my desire to make scientific learning more equally accessible with the formation of this booklet." ~ Ishira Parikh\n\n## External links to the booklet\n* [English](https://static.igem.org/mediawiki/2018/4/45/T--Washington--Synbio_Activity_Booklet.pdf)\n* [Spanish](https://static.igem.org/mediawiki/2018/c/ca/T--Washington--Synbio_Activity_Booklet_Spanish.pdf) translated by [iGEM TecCEM](https://2018.igem.org/Team:TecCEM)\n* [CRISPR Sections in Vietnamese](https://static.igem.org/mediawiki/2018/b/ba/T--Washington--Synbio_Activity_Booklet_Viet.pdf) translated by [NUS Singapore-Sci](https://2018.igem.org/Team:NUS_Singapore-Sci)\n* [Engineer an Organism Activity in Hindi](https://static.igem.org/mediawiki/2018/d/d2/T--ICT-Mumbai--Washington-translation.pdf) translated by [ICT Mumbai](https://2018.igem.org/Team:ICT-Mumbai)\n',type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=4\nPICTURE=https://static.igem.org/mediawiki/2018/c/cb/T--Washington--1a.png\nPICTURE=https://static.igem.org/mediawiki/2018/7/7e/T--Washington--2a.png\nPICTURE=https://static.igem.org/mediawiki/2018/b/b6/T--Washington--3a.png\nPICTURE=https://static.igem.org/mediawiki/2018/c/c6/T--Washington--4a.png",type:"SPECIAL"},{data:"SECTION\nsitdownwithsynbio\nSit Down with Synbio",type:"SPECIAL"},{data:"SEP",type:"SPECIAL"},{data:"# Sit Down with Synbio\n\nTo initiate a dialogue between synthetic biology experts and the general public, Washington iGEM planned, organized, and hosted a synthetic biology panel event called \u201cSit Down with Synbio.\u201d The two-hour event consisted of a keynote speech by Dr. Scott McIsaac, a Principal Investigator at the anti-aging Bay Area startup Calico Life Sciences, which is funded by Google. During the remainder of the event, the panelists answering pre-submitted questions and questions asked by the audience during the event. This event was extensively advertised to the community by putting up posters, posting on Facebook groups, and being featured on websites like [Geekwire](https://www.geekwire.com/calendar-event/sit-down-with-synbio/).\n\nSome of the topics discussed included GMOs, Artificial Intelligence in synthetic biology, ethics, and the diversity of skillsets needed in synthetic biology, much like on our own iGEM team!\n\nThis event required months of planning including reserving an auditorium and equipment, creating a website, making advertising material and a pamphlet. Ultimately, we estimate that about 100 people attended the event, and we were also featured on UW\u2019s newspaper, The Daily!\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/9/99/T--Washington--SitDownSynbio1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/8/83/T--Washington--SitDownSynbio2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/d/db/T--Washington--SitDownSynbio3.jpg;YPOS=25",type:"SPECIAL"},{data:"## Footage (Hosted on YouTube)\n\n* [Introduction](https://youtu.be/pArxzti-jl8)\n* [Answers to pre-submitted questions](https://youtu.be/SQfStiwVwY8)\n* [Questions Asked During the Event Part 1](https://youtu.be/VbI1gmY4NPs)\n* [Questions Asked During the Event Part 2](https://youtu.be/CVZFyDgtodQ)\n\n## Other links\n* [Poster](https://drive.google.com/open?id=17zBOHIEeRFbAqHnhXN7oSOqEQMA27apt)\n* [Pamphlet](https://drive.google.com/open?id=1lGZfhi91hit2fZ-DQw5LRAi_pf1OkxPA)\n* [Website](http://students.washington.edu/uwigem/sitdownsynbio/)\n* [Daily Article](http://www.dailyuw.com/science/article_906900ea-caa7-11e8-966d-ebed7823f5d2.html)\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncommunityinterviews\nCommunity Interviews",type:"SPECIAL"},{data:"# Community Interviews\n\nDuring the Pacific Northwest iGEM Meetup, we created a dialogue with the public at Gas Works Park. Gas Works Park is a famous park that was originally the site of a goal gasification plant and features a breathtaking view of the Seattle skyline.\nWe asked people enjoying the sunny day at the park about their knowledge of synthetic biology, the biotech industry, and their opinions on Vitamin D and its detection to assess potential applications and consider the ethical and societal implications of our project.\n\n## What comes to mind when you think of synthetic biology?\n\n* \u201cI think of farming and stem cells, stem cells research--things like that. I guess I think about things that are man made, not just things that naturally exist in the world..things that have been altered.\u201d\n* \u201cSomething manmade, manmade stuff, not organic. Lab.\u201d\n* \u201cI think about biology--animals, plants. And it\u2019s synthetic, so going along with genetic engineering that\u2019s going on right now and expansion through technology.\u201d\n* \u201cRobot plants\u201d\n\n## What do you know about Vitamin D?  Do you think you get sufficient Vitamin D?\n* \u201c[Vitamin D intake] is lacking in Seattle. I felt it this winter. You leave work and the sun\u2019s down..Everytime I go in to the doctor about a general health issue, the doctor tells me that you might want to take vitamin D supplements. Everytime I think of a vitamin D deficiency, I think of seasonal depression, I think of it affecting your mental health more than anything else.\u201d\n* \u201cI work 8 to 5, so I don\u2019t think I get enough. Isn\u2019t Vitamin D deficiency linked to depression and anxiety? I have anxiety issues, so sometimes I think about whether or not I get vitamin D. It\u2019s hard to pinpoint where the deficiency is.\u201d\n* \u201cI take vitamin D all the time when I get sick. I use my liquid drops when I get sick.\u201d\n\n## Do you feel like you can easily predict when you have enough vitamin D?\n* \u201cIt pretty much just depends on how much I\u2019ve literally been in the sun. I don\u2019t think about anything else. I only started thinking about it when I moved it to Seattle, and I remember being like I should start taking supplements, because I\u2019m  not seeing sunlight.\u201d\n\n## What if there was a device or some way for you to easily tell how much vitamin D you have in your body; do you think that would actually help?\n* \u201cYeah I would love that but then I would be curious to see how that would then actually link up with my mental health.As someone who struggles from depression and anxiety off and on, I would be really curious to see if it gets worse with vitamin D levels...I would be interested if it actually had an impact on me.\u201d\n* \u201cEveryone thinks of seasonal depression but nobody thinks about how to measure it.\u201d\n\n## They asked us a question:\n* \u201cDo you believe that in academia that corporations should stay out of the picture because you are solving problems in the name of science first and foremost, not solving something for the bottom line of the corporation inside of an academic realm?\u201d\n\nFrom these interviews, we came away with a few key insights about how synthetic biology is perceived by the public and concerns that members of the public have about ethics in scientific research. Additionally, we heard significant concerns about vitamin D deficiency and its effects on mental and physical health due to the lack of sunlight in our region.\n\nOne common misconception about synthetic biology is that it mainly deals with GMO agriculture. We explained that the field of synthetic biology is much broader than that, encompassing solutions to problems in areas as diverse as medicine, sustainable energy, and environmental cleanup. Our team does not currently focus on plant synthetic biology; we are using harmless bacteria to develop a detection system.\n\nAnother area of concern for people was regarding funding for academic research and potential conflicts of interest. One person we interviewed asked us: \n\n\u201cDo you believe that in academia that corporations should stay out of the picture because you are solving problems in the name of science first and foremost, not solving something for the bottom line of the corporation inside of an academic realm?\u201d\n\nWe think issues of bias and conflict of interest are important for all iGEM teams, and indeed all researchers, to consider, since funding sources often have disparate interests from researchers, especially those working on fundamental science advancements (not applied science).  A similar issue was discussed at our Sit Down with SynBio panel event, when funding from government agencies, such as the Department of Defense, was discussed in regard to duel use of fundamental technology.  It is essential that scientists weigh the implications of their research being used in ways that they may not approve of.\n\nFinally, as it relates to our project, we found that vitamin D insufficiency is a serious concern for Seattleites, especially in the winter and for those who work indoor jobs.  Many suspect that their experiences with fatigue, anxiety, and depression may be exacerbated by vitamin D deficiency, and are urged by their doctors to take supplements, but they currently do not possess the methods to determine for themselves whether they are receiving enough.  Furthermore, we realized that those we interviewed mainly think about getting vitamin D from sunlight, but did not mention a healthy diet can provide vitamin D as well. We think that educating people more about the importance of eating vitamin D-rich foods is an area for improvement in our region.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nclass\nClass",type:"SPECIAL"},{data:"# Class\n\n## Purpose\n\nAt the end of last season, Washington iGEM was left with very few training resources to teach the next season\u2019s new members. As for what was there, our returning members were frustrated with the old training process. The result was a conviction to overhaul the training process for wetlab and drylab going into the next season.\n\n## Classes\n\nWe needed to train members differently based on which team they would be joining, so we created four different classes for our subteams. Each of these classes were run by returning members who had expertise in that area.\n\nWetlab - Angel Wong & Karl Anderson\n\nSoftware - Andrew Hu\n\nHardware - William Kwok\n\nSimulations - Yoshi Goto\n\n## Curriculum\n\nSyllabi:\n\n[Wetlab class](https://docs.google.com/document/d/1ECTl_-AO9TruBBa3VTglOg6EfFbIAS5S5LSUVEm5-fs/edit?usp=sharing)\n\n[Drylab classes](https://docs.google.com/document/d/1qhnRhazDiDUfX2lLycewbArTvVEK0hvELHkfC5zJbjA/edit?usp=sharing)\n\nYou can see the course website for all of the drylab courses [here](http://students.washington.edu/uwigem/18sp/)\n\n## Background\n\nCreating a new class is difficult, as it involves synthesizing learning objectives, curriculum activities, and assessments. If any one of these is not given appropriate consideration, it can create a very unsatisfying learning experience for students. We started to develop the structure by splitting up the classes, creating syllabi, and planning out content one quarter before the classes would start.\n\nThe biggest problem during curriculum development was the fact that we were still figuring out what our project this year would be at that time, meaning that we could not be sure of the best content to teach, especially in the drylab classes. Last year, we recruited many drylab members to work on our hardware/software project: the Chromastat. However, this year, we were unsure if we would use that same project, and if not, we did not know what we would be doing. We guessed early that we would be doing something with microfluidics, in coordination with an early idea for a wetlab project involving aptamers, but this idea was ultimately rejected. As a result, we went into teaching the class with a very general curriculum planned out. Software taught a general software engineering course, Simulations gave an introduction to various techniques and tools in modeling, and Hardware used the Chromastat as an example of biotech hardware and continued to work on it.\n\nWe continually asked for anonymous feedback from students but received relatively little. The suggestions we did receive mostly related to the problems already discussed.\n\nSince students received a grade for the courses, we had to create a rubric to assess their performance over the quarter. It was difficult to validate these scores in an objective way because our curriculum was not structured around exams or homework. Our grades mostly consisted of participation both in class and on the project. We ended up giving full credit to those who always showed up in class and put in the required amount of hours. The more difficult issue to address was determining the grades to give to those who did not meet these standards. We graded attendance and out of class participation linearly based on how much work they did, and then used the University of Washington\u2019s recommended percentage score to GPA conversion table shown below\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/9/99/T--Washington--ClassGradingScale.png,Class grading scale,boxShadow: 5px 5px 10px gray,margin:auto,width:80%",type:"IMAGE"},{data:"## Results\n\nWe were able to get through almost all of the originally planned content across all four of the classes, and we found that some of our pedagogical methods were more effective than others. In particular, students generally responded poorly to lecture-style classes. Additionally, the fact that our generalized curriculum did not directly reference our project for this year caused some members to be confused as to how the content we were teaching them was relevant to our project.\n\nBy contrast, when we gave them self-guided projects, they were forced to become more engaged in the course work to finish the project. However, students were resistant to this more free-form style of learning, meaning that it took more preparation and effort on the teachers\u2019 end.\n\n## Analysis\n\nIn the end, the iGEM class was able to fulfill our original goal of training our new members in a more rigorous and formal setting, but we learned through the process of running the class that iGEM does not necessarily need something as straightforward as a class. \n\nThe classroom is the most structured environment where learning can occur, but humans learn every day, by observing their environment and the people in it. Learning happens long after we leave school, especially in the workplace, whether through official training or self-managed trial and error.\n\nHowever, iGEM as an activity is unstructured by nature: students must organize themselves into a team, find experts to work with, create or adapt a synthetic biology project, learn how to do all of the necessary procedures, do literature review, and execute the project all by themselves, while balancing classes and summer commitments! The ideal iGEM training must match how iGEM itself operates, in an environment driven by the passion and curiosity of the students involved.\n\nNext year, we seek to create a more student-driven training, involving project-based learning. Additionally, any classroom-based instruction should use active learning to engage students to drive the experience. Our teachers will facilitate students experimenting with working on their own, given a framework for a project. Through trial and error they will gain the hands-on experience required to effectively run an iGEM project. This will also address the issue of members being confused as to how the course content would fit into the project. \n\n## Establishment as a Vertically Integrated Project (VIP)\n\nWe originally believed that we would just teach the class ourselves by reserving classroom space as a club, but we found out about a relatively recent project at the UW called Vertically Integrated Projects (VIP), which gives support to hands-on projects for undergraduates. By becoming a VIP, we were able to not only reserve class space, but also give our members graded credits for working in iGEM.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncrowdfunding\nCrowdfunding Campaign",type:"SPECIAL"},{data:"# Crowdfunding Campaign",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/b/bc/T--Washington--Givebutterlogo.jpg,Givebutter Logo adapted from givebutter.com,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"In order to raise additional funds for our research and conference expenses, we worked with [Givebutter](https://givebutter.com/WashingtoniGEM2018), an innovative crowdfunding platform that is geared specifically towards student teams. This platform is unusual in that it allows people to make non-profit donations, donors have the option to cover platform fees, and all money raised goes towards the project, regardless of whether the campaign reaches its monetary goal. \n\nThrough this campaign, we were not only able to ensure that our students could move forward with their project, but we were also able to connect our friends and family to our work and show that our technology could help solve real-world problems they may face in their communities.\n\n[Link to the crowdfunding video](https://www.youtube.com/watch?v=WMXOW5X1cLM)",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Public_Engagement"},{content:[{data:"HEADER\nTEXT=ENTREPRENEURSHIP\nBACKGROUND=https://static.igem.org/mediawiki/2018/8/80/T--Washington--Banner.png\nXPOS=50\nYPOS=25\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nMINPADDINGTOP=120\nTEXTHEIGHT=9\nMINTITLEHEIGHT=5\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/f/fb/T--Washington--BusinessTeamLogo.png,SynSensora Logo,margin:auto,width:50%",type:"IMAGE"},{data:"# Overview\n\nWashington iGEM\u2019s business team is comprised not of business people or venture capitalists, but rather scientists and engineers passionate about bridging the gap between industry and the lab, thus enabling us to bring a unique perspective to our business endeavors.  We feel that while research is a positive avenue for new discoveries, additional entrepreneurship that brings our team\u2019s product to the market will drastically increase the impact of our project. As our novel nanobody detection systems could catalyze powerful improvements in healthcare and research practices, Washington iGEM has created a business plan for a potential company called SynSensora. We envision SynSensora to be a startup company that provides small molecule detection systems to institutions and biotech companies for use in metabolic engineering, point of care diagnostics, and cell therapies.\n\n\nOur business team is collaborating with the Institute for Protein Design and a business mentor from the Buerk Center for Entrepreneurship at the University of Washington to develop not only biotechnology that will be valuable in market, but also a detailed business model detailing our plan to bring our venture to fruition. Our team has met with several potential customers, including Lumen Bioscience and the Institute for Systems Biology, and has received sponsorships from GenScript, PVP Biologics, and the Institute for Protein Design. We have learned much about business models and intellectual property protection, and our team is working with the Institute for Protein Design to establish a provisional patent for our SynSensora\u2019s research and development protocol.\n\nSynSensora\u2019s products are based on biological detection systems that take advantage of chemically induced dimerization, a process in which two proteins bind together in the presence of a specific molecule. SynSensora detection systems would be used for small molecules, which are historically much more difficult to detect than proteins. These detection systems range from point of care diagnostics to transcriptional biosensors for metabolic pathway optimization. As our team is currently investigating nanobody-based detection systems targeting Vitamin D3 and Artemisinin while also developing a biosensor for CBD, these proof of concept studies will lay the foundation for SynSensora\u2019s product line. The positive feedback we received from potential customers lends confidence to the efficacy of our technology and encourages the expansion of our library of molecules for which we would develop sensors. Ultimately, SynSensora would provide efficient and affordable small molecule detection systems for its customers as well as custom system development. Using an incredibly diverse nanobody library containing around 10^9 variant binders from our partner, the Institute for Protein Design, we could theoretically create detection systems for any small molecule. Thus, as customers request specialized detection systems for various small molecules, our product line would grow. Our established products would be sold a la carte, and our custom development service would range in price depending on the product constraints and development cost.\n\nOur business team has synthesized research from potential customer interviews, database resources, and meetings about intellectual property to develop a plan to make SynSensora a reality. SynSensora has the potential to set a new standard for healthcare and research with affordable and effective small molecule biological detection systems.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nbusinessplan\nBusiness Plan",type:"SPECIAL"},{data:"# Business Plan",type:"MARKDOWN"},{data:"TAB\n===\nSummary\n# Summary\n\nThe business plan below is a thorough explanation of SynSensora that includes SynSensora\u2019s purpose and motivation, strengths and weaknesses, operations, products, and our proposal on how to bring those products to market. It includes in depth analyses of several markets that SynSensora products will join and the opportunities and barriers to entry for each market. It also includes an industry analysis of SynSensora\u2019s main competitors with comparisons of the strengths and weaknesses of each company. We have used this research to develop strategies for expanding SynSensora and generating revenue and profit. For ease of access, this page also includes key highlights of the business plan including a concise overview of our market and industry research findings as well as the current status and intended future development of SynSensora.\n\nOur business team used database resources from the University of Washington Buerk Center for Entrepreneurship to conduct in depth market and industry research. We also obtained guidance from the Gu lab at the Institute for Protein Design to ensure that our products and proposed manufacturing techniques were scientifically accurate. Additionally, we received feedback on initial drafts of our business plan from Dirk Smith, a biotech entrepreneur and previous scientific director at Amgen, whom we connected with via the MentorConnect program through the Buerk Center for Entrepreneurship.\n\n===\nIndustry Analysis\n# Industry Analysis\n\nOur company\u2019s nanobody CID technology will translate into innovative tools for point of care (POC) diagnostics, metabolic engineering and pathway optimization, and the programming of therapeutic cells--all of which are lucrative, rapidly expanding sectors in industry. While the diverse applications of our product increase our number of competitors, they also enhance the company\u2019s stability and flexibility by enabling us to utilize gains from less competitive markets to support efforts in more aggressive ones. Thus, concerning existing barriers to entry, due to the presence of both older companies with established substitutes and fresh start-ups with new technologies, our business will have to invest considerable time and effort into convincing customers to choose our more effective methods and products instead of other well-known approaches. Additionally, before we establish a strong market foothold with solid buyer trust, it will be crucial to set competitive pricing to attract buyers away from existing alternatives. Product prices should be flexible depending on the context of each deal and the amount of leverage we have compared to the buyer, with knowledgeable customers in larger markets possessing the most leverage and less savvy consumers in smaller markets having the least. \n\n| Strengths | Weaknesses |\n|-|-|\n| Diverse skill set | New market: must establish brand |\n| Product and market expertise | Steep learning curve for entering competitive target markets |\n| Product development: guidance from expert in field | Technology still new and undergoing R&D |\n| IP Patent-protected new technology: foundation for strong, unique pipeline structure/diverse array of services | Novel production methods will require considerable effort to perfect and scale up |\n\n| Opportunities | Threats |\n|-|-|\n| Novel technology can set new expectations, serve unique niche needs | Government regulations                                                    |\n| Rapidly expanding markets: biosensors, point of care diagnostics and cell therapy | High initial investment for equipment, materials, etc. |\n| Potential for expansion of product line - custom antibody service | Existing biotech companies with alternative methods                      |\n| Increased sensitivity and selectivity for detection of small analytes compared to current methods | Customer reluctance to try unknown products when older proven tech exists |\n===\nMarket Analysis\n# Market Analysis\nOur technology serves four rapidly expanding markets: biosensors, point of care diagnostics, cell therapies, and custom antibody services.\n\n## Biosensors\nInnovation in biosensors is an ongoing process that has application in new markets such as security, military biodefense, and automotive and aerospace industries. The main contributor to this market is research and development and the need to develop new platforms for accurate, highly sensitive and pain-free diagnostic biosensors. The market for biosensors is categorized as a growth market, with the amount of potential applications increasing as more novel biosensor technologies emerge. According to BCC Research, the global market for biosensors, valued at nearly $5.7 billion in 2017, is expected to increase to more than $6.3 billion in 2018 and to more than $12.1 billion in 2023, for a compound annual growth rate (CAGR) of 14.0% over the five-year period from 2018 through 2023.\n\n## Point of Care Diagnostics\nThe market for point of care diagnostics is quickly growing due to increasing investment in research and development, advancement of diagnostic laboratories, and adoption of automated lab systems.  According to Market Research Future, there is a healthy growth rate at a CAGR of 9.5% during a forecast period till 2023.  The market is segmented by types of products and by end users. Some of the types of products include glucose testing, cardiac makers, HbA1c testing and coagulation. Examples of end users include clinics, hospitals and home care.\n\n## Cell Therapy\nAnother market that we cater to is cell therapy. Using the tools of synthetic biology, we now have the technology to engineer our own body\u2019s cells to respond to diseases that could impede our immune system. However, excessive immune activity and poor control over engineered T cells can cause severe toxicities. Our technology has the potential to address these problems and transform the cell therapy market. \n \n## Custom Nanobody Products\nBecause of the novelty of our nanobody products, our company is expanding our product line by manufacturing custom assays based on requests for specific target molecules. According to reports from BCC research, the global market for custom antibody service was estimated at $252 million in 2016 and is expected to grow to $424 million in 2022, with a 9.0% five year CAGR. This growth is mainly due to the lack of specific antibodies that are needed in large quantity, as the demands are usually higher in industrial settings. This lack of large supply benefits the custom antibody service companies that can provide a stable and reliable source of antibodies.\n\n===\nCurrent Status and Future Development\n# Current Status and Future Development\n\nSo far, our team has successfully identified nanobody binders for artemisinin and cholecalciferol from a large combinatorial library of nanobodies. The gene constructs of these nanobodies would be Synsensora\u2019s minimal viable product for our target molecules. Additionally, we have characterized nanobodies for a biosensor for cannabidiol (CBD) using computer simulations, thus demonstrating SynSensora\u2019s ability to optimize products. These studies are a proof of concept for our research and development strategy.\n\nFor the future, we would plan to expand our product base by commercializing the service of customizing nanobody binders. This can be done by communicating with interested companies to not only select target molecules for product development, but also to spread SynSensora\u2019s influence to more customers. We are continuing our research and development for full products for artemisinin, cholecalciferol, and CBD before expanding Synsensora\u2019s product base to other target molecules.",type:"SPECIAL"},{data:"PDF\nhttps://static.igem.org/mediawiki/2018/5/5e/T--Washington--BusinessPlan.pdf",type:"SPECIAL"},{data:"PDF not loading? Download it [here](https://static.igem.org/mediawiki/2018/5/5e/T--Washington--BusinessPlan.pdf).",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\npcinterviews\nPotential Customer Interviews",type:"SPECIAL"},{data:"# Potential Customer Interviews\n\nIn order to understand the market for SynSensora\u2019s products and the needs of our potential consumers, our team met with several companies and institutions to discuss nanobody detection systems and their potential applications in the research of each organization as well as to learn about the science and manufacturing processes that could aid in SynSensora\u2019s development. The organizations that we communicated with are Lumen Bioscience, the Institute for Systems Biology, Just Biotherapeutics, and Amyris. The first three organizations are located in the Seattle area, and the last organization is in California, where one of our team members has personal connections. We learned a great deal about how nanobody and CID-based detection systems can aid our potential customers in metabolic engineering and point of care diagnostics along with manufacturing and development techniques that could help expand SynSensora. To read what we learned from each individual organization, please click on the tabs below.",type:"MARKDOWN"},{data:"TAB\n===\nLumen BioScience\n# Lumen BioScience\n\n![Lumen BioScience Logo](https://static.igem.org/mediawiki/2018/9/96/T--Washington--LumenLogo.jpg)\n\nTo evaluate the marketability of SynSensora\u2019s nanobody products, we discussed nanobody detection systems with scientists from a Seattle biotech startup company: Lumen Bioscience. Lumen Bioscience is a company that uses spirulina, a cyanobacterium, to produce biologics such as dyes and oral vaccines for fish.\n\nWe met with Dr. Jim Roberts, the Chief Scientific Officer, as well as other scientists from Lumen Bioscience. The researchers were already familiar with nanobodies but had never considered their use in metabolic engineering or point of care diagnostics. After our wetlab leads explained the science and applications of chemically induced dimerization (CID) of nanobodies, they were excited about the great potential of such a versatile technology. However, the researchers did express concern that the CID system would not work with Vitamin D3, one of our target molecules, because of its nonrigid structure.\n\nWhen asking the researchers at Lumen Bioscience how they would use a CID detection system, they proposed utilizing a nanobody CID system as a biosensor for microcystin, a class of toxins that all cyanobacteria products must be tested for because it is harmful to humans. They expressed their frustration with the microcystin testing process because although their products never have any trace of the toxin due to the manufacturing process, they must have a third party test their products to comply with legal regulations. Having an accurate biosensor would allow them to test their own products at a lower cost. This microcystin biosensor could also be used to measure water cleanliness, as cyanobacteria presence is used as a unit of water cleanliness (the more cyanobacteria, the less clean the water). They also were confident that nanobody CID systems could be applied in metabolic pathway optimization.\n\nThe scientists at Lumen Bioscience was very impressed by our project and were interested in keeping in touch. They sent us papers about small molecule biosensor construction and transcriptional biosensors used for metabolic engineering. Our visit to Lumen Bioscience helped us identify possible applications and limitations of SynSensora\u2019s products and gave us a new, professional perspective on nanobody CID detection systems.\n\n![Lumen BioScience Visit](https://static.igem.org/mediawiki/2018/thumb/7/73/T--Washington--LumenVisit.jpg/800px-T--Washington--LumenVisit.jpg)\n===\nInstitute of Systems Biology\n# Institute of Systems Biology\n\n![ISB Logo](https://static.igem.org/mediawiki/2018/a/a3/T--Washington--ISBLogo.png)\n\nThe Washington iGEM Business Team had the opportunity to meet with Dr. Nitin Baliga, the Senior Vice President, Director and Professor at the Institute for Systems Biology (ISB) in June 2018. Dr. Baliga\u2019s lab builds predictive models of complex biological phenomena that can be used to guide cells to perform a variety of functions such as fighting off infectious disease, generating clean energy, and remediating the environment. Through this opportunity, we were able to gain insight about the potential applications of SynSensora\u2019s technology and better understand the types of molecules in his field that could use stronger methods for detection. \n\nAccording to Dr. Baliga, a possible application of our technology is the detection of lipoarabinomannan (LAM), a protein produced by Mycobacterium tubercolosis. This protein is one of the most promising candidate antigens whose detection would aid in the diagnosis of tuberculosis. He was intrigued by the possibility of creating a point-of-care diagnostic device that could detect LAM for a cheaper and quicker tuberculosis diagnosis. He also expressed enthusiasm for applications of our technology in metabolic engineering. For instance, pogostone is a precursor to many different molecules, such as patchouli oil, that have a strong insecticidal effect. He proposed that we could use our technology to improve pogostone production, thereby helping repel insects from agricultural products. He also suggested that we look into surface plasmon resonance, which is the principle behind many in vitro biosensors currently in use. .\n\nAt the end of the meeting, Dr. Baliga was interested in helping us with our project, both with its execution and with answering any additional questions we had. His postdoctoral student Vivek, whom Dr. Baliga describes as a \u201cwalking encyclopedia that can clone anything\u201d, was also eager to help. The information that we learned from the meeting excited our team as professional researchers saw promise and potential impact in our project and in SynSensora.\n\n![ISB Visit](https://static.igem.org/mediawiki/2018/c/c7/T--Washington--ISBVisit.jpg)\n===\nAmyris\n# Amyris\n\n![Amyris Logo](https://static.igem.org/mediawiki/2018/6/6d/T--Washington--AmyrisLogo.png)\n\nAJ Kruse, a Washington iGEM team member, had personal connections to Dr. Victor Holmes, a senior staff scientist at Amyris, and reached out to him on behalf of the team for information about challenges they face and advice on potential molecular targets for our CID systems. Amyris is a successful metabolic engineering company based in Berkeley, CA that manufactures small molecules via synthetic yeast systems. One of their early products included artemisinin, a target molecule for our CID nanobody metabolite sensor, so the bulk of our email correspondence with Dr. Holmes involved asking him about Amyris\u2019s artemisinin production and how our nanobodies could best improve it.\n\nDr. Holmes provided valuable details on what challenges companies like Amyris face when dealing with certain metabolites, enabling us to modify our nanobody sensors for improved efficacy in those applications. For instance, many of Amyris\u2019s molecules of interest, like artemisinin, tend to have extremely high intracellular concentrations, so an effective sensor in this circumstance would only form a dimer in high concentrations of the desired substrate as opposed to a sensitive detection-related assay. He also explained the reasoning behind manufacturing artemisinin chemically instead of biologically: reactions involving oxygen have historically been very low yield in synthetic biology, since they require P450 enzymes which are membrane-bound and kinetically slow. Unfortunately, attempts to increase reaction speed tend to make them less specific. Furthermore, the final conversion steps of artemisinin production do not involve any stereochemistry, so the benefits of drawing upon biology to deal with tricky chirality would not apply here. Our correspondence with Amyris has been useful not only in guiding the technical aspects of our artemisinin CID detection system, but also in exposing our team to possible advantages and limitations of the CID system for use in metabolic engineering.\n===\nJust Biotherapeutics\n# Just Biotherapeutics\n\n![Just Biotherapeutics Logo](https://static.igem.org/mediawiki/2018/a/ae/T--Washington--JustLogo.jpg)\n\nTo learn more about manufacturing and how to scale up SynSensora, we visited a Seattle based biotech startup called Just Biotherapeutics. Just Biotherapeutics designs biologic products with the aim of reducing manufacturing cost, with their core strengths being molecular design, process and product design, and manufacturing plant design. We met with Anastasia Nicolov, one of our advisors who works at Just Biotherapeutics and received a tour of the facilities and an explanation of the uses of different labs and machines utilized in the company\u2019s research.\n\nWe met with Just Biotherapeutics because they mainly develop antibody products and improve techniques for antibody production. We were introduced to small bioreactors used for testing and large bioreactors used for scaling up to production size. Anastasia was very knowledgeable about the difficulties with scaling up. The environment in a small-scale culture tube or small bioreactor is not proportionally scaled to a larger bioreactor, and the processes for controlling the environment may be different: for example, different scales use different control mechanisms for aeration, pH control, temperature control, and other variables. Though Anastasia clarified that she was not an expert on amplifying plasmids in cell culture, she gave us great insight into current methods for production of antibodies.\n\nOur visit to Just Biotherapeutics helped us understand that scaling up products is a difficult task. To optimize the design of a manufacturing plant, there must be many studies done to understand how the chamber environments of smaller bioreactors scale to larger bioreactors. Because large-scale manufacturing will be important for SynSensora, learning about the scale-up process from an innovator in reducing manufacturing costs was valuable to our team and will aid in our studies going forward and the growth of SynSensora.\n\n![Just Biotherapeutics Visit](https://static.igem.org/mediawiki/2018/thumb/7/70/T--Washington--JustVisit.jpg/800px-T--Washington--JustVisit.jpg)",type:"SPECIAL"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nipmeeting\nIntellectual Property",type:"SPECIAL"},{data:"# Intellectual Property\n\nThe Washington iGEM business team met with Dr. Gu, who developed a novel protocol to perform massively high-throughput molecular detection using nanobodies at the Institute for Protein Design. We had multiple meetings with Dr. Gu for scientific guidance and to better understand how intellectual property (IP) protection works, since we are partnering with Dr. Gu to commercialize SynSensora\u2019s products. Through our meetings, we had the opportunity to learn and provide insight on the process of writing a patent as Dr. Gu invited the Washington iGEM team to collaborate with him and his lab in the process of developing protection for his IP.\n\nDuring one of our meetings on July 17th, 2018, we began our first discussion on Dr. Gu\u2019s IP protection. Dr. Gu first began our discussion by providing us with three potential applications for his novel method, which include point of care diagnostics, metabolic biosensors, and cell therapy. The actual proposed patent would be for the protocol for creating the chemically induced dimerization (CID). In our meeting, we also discussed the products that our business, SynSensora, would manufacture and sell, which includes the construct of the genes to produce the binding proteins as well as physical proteins for use in point of care diagnostics. \n\nThroughout the process of our research and development, we were in constant contact with Dr. Gu, so we could be sure to be on the same page regarding his protocol and SynSensora\u2019s products. Meeting with Dr. Gu helped us identify the possibilities of what this novel technology can do and gave us a whole new perspective on the application of this technology. We have been invited to join the discussion about protecting Dr. Gu\u2019s protocol with his lab and CoMotion, UW\u2019s center for innovation and intellectual property protection, in late October. This experience has allowed us to learn about the importance of intellectual property protection, the barriers to gaining protection, and resources to aid in getting protection.\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Entrepreneurship"},{content:[{data:"HEADER\nTEXT=SAFETY\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nlabsafety\nLab Safety",type:"SPECIAL"},{data:"# Lab Safety\n\nWe worked on a foundational project this season that primarily involved work with _E. coli_ (DH5-alpha and BL21 Cell Lines). These cell lines constitute BSL1 hazard level, and as a result, we took precautions in lab under this rating. This included always wearing gloves, sterilizing surfaces with ethanol, bleaching and autoclaving and collecting waste as needed, and enforcing the lab as a food and drink-free space. We received training at the beginning of the year through the Biochemistry Department at the University of Washington, which consisted of several online safety trainings. We also refreshed our safety periodically throughout the summer with all members in the lab. ",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\neanderisk\nEthical and Environmental Risk",type:"SPECIAL"},{data:"# Ethical and Environmental Risk\n\nThere are a number of applications for CID systems, including biosensors and genetic switches. There is a risk that this technology applied to a sensor could produce false positives due to inefficiencies in the system. Depending on how this information is used, this risk raises a number of ethical concerns for the technology, and requires that any end-user applications be rigorously tested. As is, the CID system demonstrated in our project is foundational and thus has little to no ethical bearing on the general public. Furthermore, we do not intend to work with animals or release this system into the environment.\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Safety"},{content:[{data:"HEADER\nTEXT=ATTRIBUTIONS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3\nMINTITLEHEIGHT=6",type:"SPECIAL"},{data:"SECTION\nprojectdevelopment\nProject Development",type:"SPECIAL"},{data:"# Project Development:\n\n## Gu Lab\n\n* Prof. Liangcai Gu, Assistant Professor, Department of Biochemistry, Institute of Protein Design\n* Dr. Shoukai Kang, Post-doctoral Fellow, Department of Biochemistry\n* Dr. Zhimin Huang, Post-doctoral Fellow, Department of Biochemistry\n* Li Sun, Research Engineer, Department of Biochemistry\n* Luis Castillo, Undergraduate Research Assistant, Department of Biochemistry\n* Jack Jiang, Undergraduate Research Assistant, Department of Biochemistry\n* \n## Baker Lab\n\n* Prof. David Baker, Professor, Department of Biochemistry; Director, Institute of Protein Design; HHMI Investigator\n* Dr. Chunfu Xu, Senior Fellow, Institute of Protein Design\n* Dr. Matthew Bick, Senior Fellow, Institute of Protein Design\n* Jason Klima, Graduate Research Assistant, Institute of Protein Design\n* Dr. Lance Stewart, Sr. Director of Strategy, Institute of Protein Design\n\n* Prof. Herbert Sauro, Associate Professor, Department of Bioengineering\n* Dr. Karen Thickman, Lecturer, Department of Microbiology, School of Medicine\n* Prof. James Carothers, Assistant Professor, Department of Chemical Engineering; Affiliated Investigator, NSF Synthetic Biology Engineering Research Center\n* Prof. Tomikazu Sasaki, Professor, Department of Chemistry\n* Brooke Angell, Lab Manager, Fields Lab, Department of Genome Sciences\n* Lucia Shumaker, Former Research Scientist/Engineer, Fields Lab, Department of Genome Sciences",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nwetlab\nWetlab",type:"SPECIAL"},{data:"# Wetlab:\n\n* Terra Vleeshouwer-Neumann, Research Scientist, Chen Lab, Department of Pathology\n* Texia Loh, Undergraduate Research Assistant, Chen Lab, Department of Pathology\n* Nick Terzopoulos, Assistant Research Scientist, Kaeberlein Lab, Department of Pathology\n* Brandy Tang, Research Associate, Human Photonics Lab, Department of Mechanical Engineering.\n* Andrew Francis, PhD Candidate, Fu lab, Department of Chemistry ",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nsimulations\nSimulations",type:"SPECIAL"},{data:"# Simulations:\n\n* Prof. Frank Dimaio, Assistant Professor, Department of Biochemistry, Institute of Protein Design\n* Prof. Herbert Sauro",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nbusiness\nBusiness",type:"SPECIAL"},{data:"# Business:\n\n* Dr. William Canestaro, Managing Director, Washington Research Foundation\n* Lumen Bioscience, Inc.\n* Institute of Systems Biology\n* Prof. Liangcai Gu\n* Dirk Smith, Founding Partner, Cascadia Drug Development Group\n* Just Biotherapeutics, Inc,\n* Amyris, Inc.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nfundraising\nFundraising",type:"SPECIAL"},{data:"# Fundraising:\n\n* Damien Chapman, Director for Corporate and Foundation Relations, UW Medicin",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\noutreach\nOutreach",type:"SPECIAL"},{data:"# Outreach:\n\n## Schools\n\n* International School, Bellevue, WA\n* Janet Roberts \n* Teacher: Cheryl McClure\n* Adventure Science Camp, Seattle, WA\n* Teachers: Sylwia Mazur Johnson & Zoe Leverso\n* Kent Meridian High School, Kent, WA\n* Jodie Spitze\n* Teacher: Brian Gabert\n* Rainier Beach High School, Seattle, WA\n* Kelly Rol\xf3n\n* Teacher: Karla Nyquist\n* Northgate Elementary School, Seattle, WA\n* Principal: Dedy Fauntleroy\n* Kea Ireland, Northgate Elementary Secretary\n* Guillermo Carvajal\n* Teacher: Jenny Tang\n* Sadhana School, Ahmedabad, India\n* Principal & Trustee: Pranav Mistry\n\n## \u201cSit Down with SynBio\u201d Event\n\n* Dr. Scott McIsaac (keynote speaker and panelist), Principal Investigator, Calico Life Sciences\n* Dr. Jim Roberts (panelist), Chief Scientific Officer, Lumen Biosciences, Inc.\n* Prof. Jennifer Nemhauser (panelist), Professor, Department of Biology\n* Prof. Herbert Sauro (panelist)",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nadministration\nAdministration",type:"SPECIAL"},{data:"# Administration:\n\n* Kevin Lybarger, PhD Candidate, Department of Electrical Engineering\n* Prof. Brian Fabien, Associate Dean, Academic Affairs, College of Engineering; Professor, Department of Mechanical Engineering\n* Zulfiya Lafi, Administrator, Department of Biochemistry\n* Tonya Alan Hirtzel, Assistant to the Chair, Department of Biochemistry\n* Cynthia Acuario, Program Operations Analyst, Department of Biochemistry\n* John Doan, Budget/Fiscal Analyst, Department of Biochemistry\n* Tana Knight, Budget/Fiscal Analyst, Department of Biochemistry\n* Prof. Trisha Davis, Professor and Chair, Department of Biochemistry",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nmeetupvandv\nMeetup VIPs and Volunteers",type:"SPECIAL"},{data:"# Meetup VIPs and Volunteers\n\n## VIPs\n\n* Dr. Ingrid Swanson Pultz, Chief Scientific Officer, PvP Biologics\n* Regina Wu, Co-Founder, SoundBio Lab\n* Cindy Wu, Co-Founder, Experiment\n* Dr. David Younger, Founder & CEO, A-Alpha Bio, Inc.\n* Dr. David Hirschberg, Founder & CEO, RAIN Incubator; Affiliate Associate Professor, University of * Washington Tacoma\n* Dr. Liangcai Gu\n* Roya Amini-Naieni, Founder & Director, PolymerSpace; Undergraduate Student, Harvey Mudd College\n## iGEM Ambassadors\n* Holly Bowman, Ambassador for North America\n* Amy Chen, Ambassador for North America\n## Volunteers\n* Sophie Liu, High School Student, Newport High School\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Attributions"},{content:[{data:"HEADER\nTEXT=SPONSORS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nMINPADDINGTOP=120\nBLUR=3",type:"SPECIAL"},{data:"SPONSORS\nNAME=UW Biochemistry Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/e/e8/T--Washington--biochemlogo.png;LINK=https://depts.washington.edu/biowww/;FILTER=Diamond;CUSTSIZE=75\nNAME=Genscript; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/e/e7/T--Washington--Genscriptlogo.png;LINK=https://www.genscript.com/;FILTER=Diamond;CUSTSIZE=75\nNAME=IDT; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/9/9e/T--Washington--IDTlogo.png;LINK=https://www.idtdna.com;FILTER=Diamond;CUSTSIZE=75\nNAME=UW Paul G. Allen School of Computer Science & Engineering; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/0/01/T--Washington--CSElogo.png;LINK=https://www.cs.washington.edu/;FILTER=Diamond;CUSTSIZE=75\nNAME=UW Department of Biomedical Informatics and Medical Education; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/d/d5/T--Washington--bioinfologo.png;LINK=http://bime.uw.edu/;FILTER=Gold;CUSTSIZE=75\nNAME=UW Bioengineering Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/8/8f/T--Washington--BioElogo.png;LINK=https://bioe.uw.edu/;FILTER=Gold;CUSTSIZE=75\nNAME=Institute of Protein Design; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/a/a6/T--Washington--IPDlogo.png;LINK=http://www.ipd.uw.edu/;FILTER=Gold;CUSTSIZE=75\nNAME=PvP Biologics; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/d/d3/T--Washington--PvPlogo.png;LINK=https://www.pvpbio.com/;FILTER=Gold;CUSTSIZE=75\nNAME=Crowdfunding: Friends of Washington iGEM; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;FILTER=Gold;CUSTSIZE=75\nNAME=UW Biology Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/8/89/T--Washington--biologo.png;LINK=https://www.biology.washington.edu/;FILTER=Silver;CUSTSIZE=75\nNAME=UW Applied Math Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/5/54/T--Washington--appliedmathlogo.png;LINK=https://amath.washington.edu/;FILTER=Silver;CUSTSIZE=75\nNAME=UW Chemistry Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/b/b5/T--Washington--chemlogo.png;LINK=http://depts.washington.edu/chem/;FILTER=Silver;CUSTSIZE=75\nNAME=NEB; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/4/49/T--Washington--NEBlogo.png;LINK=https://www.neb.com/;FILTER=Silver;CUSTSIZE=75\nNAME=UW Microbiology Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/5/5e/T--Washington--microbiologo.png;LINK=https://microbiology.washington.edu/;FILTER=Bronze;CUSTSIZE=75\nNAME=UW Material Science and Engineering Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/0/0d/T--Washington--msebiologo.png;LINK=https://mse.washington.edu/;FILTER=Bronze;CUSTSIZE=75\nNAME=Zulip; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/0/00/T--Washington--Zuliplogo.png;LINK=https://zulipchat.com/;FILTER=Diamond;CUSTSIZE=50",type:"SPECIAL"}],pageTitle:"/Sponsors"},{content:[{data:"HEADER\nTEXT=GALLERY\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nMINPADDINGTOP=120\nBLUR=3",type:"SPECIAL"},{data:"GALLERY\nsrc=https://via.placeholder.com/300/09f/fff.png;width=300;height=300\nsrc=https://www.blackfootfamilydentistry.com/wp-content/uploads/2016/10/orionthemes-placeholder-image.png;width=1920;height=1080\nsrc=https://via.placeholder.com/300/09f/fff.png;width=300;height=300\nsrc=https://www.blackfootfamilydentistry.com/wp-content/uploads/2016/10/orionthemes-placeholder-image.png;width=1920;height=1080\nsrc=https://via.placeholder.com/300/09f/fff.png;width=300;height=300\nsrc=https://www.blackfootfamilydentistry.com/wp-content/uploads/2016/10/orionthemes-placeholder-image.png;width=1920;height=1080\nsrc=https://via.placeholder.com/300/09f/fff.png;width=300;height=300",type:"SPECIAL"}],pageTitle:"/Gallery"},{content:[{data:"HEADER\nTEXT=MEDAL REQUIREMENTS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=8\nSUBTITLEHEIGHT=7\nBLUR=3\nMINPADDINGTOP=120\nMINTITLEHEIGHT=5",type:"SPECIAL"},{data:"This year, we have completed the requirements to receive a gold medal, and are eligible for a number of special awards.",type:"MARKDOWN"},{data:"SECTION\ngold\nGold",type:"SPECIAL"},{data:"# Gold\n\n\u2714 Integrated Human Practices - We engaged with stakeholders and the public and used what we learned to inform our project\u2019s direction. Read more on our [Human Practices](https://2018.igem.org/Team:Washington/Human_Practices) page.\n\n\u2714 Model Your Project - Our project included a significant protein modeling component which tied in closely with our wetlab work. Learn more on our [Model](https://2018.igem.org/Team:Washington/Model) page.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nsilver\nSilver",type:"SPECIAL"},{data:"# Silver\n\n\u2714 Validated Part / Validated Contribution - We made four biobricks, some of which have characterization data. Visit our [Parts](https://2018.igem.org/Team:Washington/Parts) page to learn more.\n\n\u2714 Collaboration - We collaborated with multiple teams on InterLab, human practices, surveys, and through hosting the first-ever PNW iGEM Meetup. Read more on our [Collaborations](https://2018.igem.org/Team:Washington/Collaborations) page.\n\n\u2714 Human Practices Silver - We thought creatively and carefully about how our project could affect our world.  Read more on our [Human Practices](https://2018.igem.org/Team:Washington/Human_Practices) page.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nbronze\nBronze",type:"SPECIAL"},{data:"# Bronze\n\n\u2714 Registration and Giant Jamboree Attendance - We registered and are attending the Jamboree!\n\n\u2714 Competition Deliverables - We filled out our judging form and completed our wiki, poster, and presentation by the competition deadlines.\n\n\u2714 [Attributions](https://2018.igem.org/Team:Washington/Attributions) - Thank you again to everyone who helped us with our project!\n\n\u2714 Characterization / Contribution - We successfully completed the InterLab study, and our results are posted on our [InterLab page](https://2018.igem.org/Team:Washington/InterLab).",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nel_sp_awards\nEligible Special Awards",type:"SPECIAL"},{data:"# Eligible Special Awards \n\n* Best Supporting Entrepreneurship Award\n* Best Model Award\n* Best Education & Public Engagement Award\n* Best Integrated Human Practices\n* Best Wiki\n* Best Poster\n* Best Presentation\n\n\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Medal_Requirements"},{content:[{data:"HEADER\nTEXT=HUMAN PRACTICES DESIGN\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=8\nSUBTITLEHEIGHT=7\nBLUR=3\nMINPADDINGTOP=70\nMINTITLEHEIGHT=6",type:"SPECIAL"},{data:"SECTION\nintro\nIntro",type:"SPECIAL"},{data:"# Intro\n\nIf a picture paints a thousand words, the motivation behind the design team was to paint our project as clearly as possible. Our aim was to create a team that would help bridge our team to the outside world \u2013 to both other scientists and non-scientific members of the community alike \u2013 to spread the knowledge of synthetic biology as well as our year-long research. This opportunity allowed us to be more conscientious of what we want our message to be and how to best portray that information for the intended audience.\n\nWe worked to illustrate materials for many events and projects throughout the year, from designing recruitment posters to creating the team logo, illustrating a logo and materials for the PNW Meetup, and illustrating the pages of the Outreach Booklet. We also made our project more presentable for the competition by designing and composing figures for the wiki and putting together the presentation poster. Ultimately, we formed a small team of scientists who were willing to teach themselves design skills using programs on Adobe such as Photoshop, Illustrator, and After Effects to undertake projects deemed valuable for sharing the story of CID dimerization and synthetic biology overall.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\noutreachbooklet\nOutreach Booklet",type:"SPECIAL"},{data:"# Outreach Booklet\n\nThis year, Washington iGEM wrote and compiled a series of synthetic biology-related activities that were translated into several languages and utilized globally. The Outreach and Design teams collaborated on this project to create the most legible and engaging activity booklet possible.\n\nThe members of the Design team aimed to produce artistic works that were both aesthetically pleasing and extremely easy to read. To accomplish this, we chose sans-serif fonts, which are more legible at smaller sizes. Additionally, because much of the activity booklet is intended for younger demographics, such as elementary students, a sans-serif font would aid in reading text more smoothly as a consequence of its simple font anatomy.\n\nThere was no particular color scheme for this booklet, as the intent of the design was simply to catch the eye of the reader. We aimed to introduce variety into each activity by altering the color of the header title and supplementing the pages with various artworks. More importantly, we wanted to portray synbio topics in a manner that was not intimidating or complicated. The booklet was created with the intent of introducing synthetic biology to a wide audience, including students with intellectual disabilities and English Language Learners. We wanted the readers to be able to take the topics out of a classroom context and relate it to their own lives. Our primary goal was to separate \u201csynthetic biology\u201d from a \u201ctextbook definition.\u201d\n\nWhile we are immensely proud of the final product, the Design team understands that further improvements in the booklet could be made in the future to ensure higher quality work. Specifically, in the translations by other teams, some of the fonts and formatting were changed due to the constraints of online PDF editors. Thus, the Design team at Washington iGEM aims to work more diligently to create more enticing and cohesive professional works. With the academic year just starting, Washington iGEM hopes to incorporate more unique and effective lessons for young, aspiring scientists to learn about synthetic biology!\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/HP_Design"},{content:[{data:"HEADER\nTEXT=TEAM DEVELOPMENT\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=8\nMINTITLEHEIGHT=6\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nteamcommunications\nTeam Communications",type:"SPECIAL"},{data:"# Team Communications: A crucial aspect of an iGEM team\n\nAs of 2017, the University of Washington has over 45,000 enrolled students, of which about 40% are commuters, with a campus size of over 2.56km\xb2. On a campus like this, sometimes meeting together is close to impossible. Throughout the years of operating an iGEM team at the University of Washington, one of the biggest issues with team cohesion, morale, and success has been **communication**. Our advisers especially noted that this was true among the 3+ years they have been involved, and it remains a problem regardless of team size. With our unusually large team this year, it is an _especially_ large problem. Our team has experimented with various communication platforms that can fit with the fluidity and multi-faced nature of an iGEM team.\n\n## Trying different platforms\n\nOur team has tried many different methods of communication but most platforms fell short because they did not meet our criteria for our ideal communication platform. In the past, we have used Google Hangouts Chat, Facebook Messenger, and Slack Free edition. Based on this experience, we have identified shortcomings of these platforms. At the start of the season, the leadership team that continued from the 2017 team discussed what we wanted in a communication platform:\n\nBased on our past experience, our ideal platform would:\n\n* Be **portable and accessible**: The program should work on multiple operating systems (Windows, MacOS, Linux) and also be available on mobile apps (Android, iOS). \n* Be **stable**: The programs should be able to reliably send and receive messages and files, in any form, and not fail to send messages we type.\n* Be **affordable**: We do not have a budget that we can allocate to our communication platform, so we were ideally looking for an open-source free solution. Slack is expensive at $7/user/month. \n* Be **organized**: The platform should have a good way to organize many topics and discussion at the same time. One problem with Facebook Messenger and Google Hangouts was the lack of threading or separation by topics.\n* Be **searchable**: We send many messages every day. We need a way to search all messages in case we need to get back to it.\n* Have a layer of **privacy**: We have a complicated team structure. We need private and public channels, as well as the ability to privately message other users.\n* Have **long-term storage**: One issue with Slack is that our team easily reached our maximum message number limit, and halfway through the season, we started to lose crucial messages.\n\nWe have tried multiple messaging platforms listed below:\n\n| Platform | Comments |\n|-|-|\n| Rocket.chat | $10/month for the whole server, but limited threading capabilities. |\n| Ryver | Free, but the layout is confusing. It seems to be trying to be Slack and Trello in one. |\n| Trello | Great layout for task management, but it\u2019s not intuitive for quick communication. |\n| Chanty | Too early in its development and lacks a lot of features that other programs have. |\n| HipChat | Too expensive! |\n| Bitrix24 | Too expensive! |\n| MatterMost | The platform is very good and intuitive, but is $150/month for 50 users. We could not find a server to host an instance. |\n| Slack | Slack was what we used last season, but the biggest complaints were that discussions couldn\u2019t be sustained, and there was a maximum message retention limit. |\n| Google Hangouts | Very ubiquitous, but does not support threading or easy messaging of users. |\n| Facebook | Everyone uses Facebook, but often for personal, \u201cnon-work\u201d uses, and many team members said they wanted to keep iGEM \u201cbusiness\u201d separate from their personal social media. Messenger has the same problem as Google Hangouts. |\n| IRC | IRC is too niche and too minimalist. The messages that people send will also not be visible if they are offline. |\n| SnapChat | Too casual and won\u2019t be conducive to working. |\n| Zoom | Works great as a video messaging system, but it\u2019s too simple and doesn\u2019t have features necessary for the team. |\n| GroupMe, WeChat, LINE, Kakotalk, Whatsapp | Instant messaging platforms like these are too casual and has the same problem as Google Hangouts. |",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/7/7f/T--Washington--SlackUsage.jpg,Slack usage,boxShadow: 5px 5px 10px gray,margin:auto,width:90%",type:"IMAGE"},{data:"Figure 1. Our analytics of Slack usage last year. We went well over 10 times the amount of free messages we had.\n\nAfter lots of experimentation, we found a relatively new platform called Zulip.",type:"MARKDOWN"},{data:"## Zulip\n\nZulip is a very different communication platform developed at MIT (just like iGEM!) in 2012 as a startup. In 2014, it was acquired by Dropbox while in private beta, where it met favorable opinions from beta users. In late 2015, it was released as open source software. The Zulip project is now one of the world\u2019s largest active open source projects. There is now a company dedicated to developing Zulip, as well as a hosted server service funded by the National Science Foundation. [1] The core team developing Zulip includes former and current Dropbox employees, MIT and Stanford graduates, and core Python contributors. [2]\n\nZulip has an innovative approach to chat styling: They combine Slack\u2019s immediacy and portability with an email threading model. This allows teams to immediately address completely different discussions, while keeping organization and neatness. Zulip wonderfully hits almost all of our criteria. [3]\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/a/ab/T--Washington--ZulipScreenshot.jpg,Zulip desktop,boxShadow: 5px 5px 10px gray,margin:auto,width:90%",type:"IMAGE"},{data:"Figure 2. A screenshot of Zulip, desktop program version, Windows, dark mode. Note its email-threading method of showing multiple discussions at once.\n\n| Criteria | Zulip feature |\n|-|-|\n| Portable + Accessible | Zulip was built on a platform supported by all OSes, and if the desktop app doesn\u2019t work, it can be used in the browser, just like Slack. It also has an Android and iOS app. |\n| Stable | Zulip was originally still the beta version when we started using it. Since then, stability of the desktop and mobile apps have improved dramatically to almost no issues. |\n| Cheap | Zulip has the same pricing plan as Slack. But, unlike Slack, they offer their premium plan to non-profit groups. After asking them, they immediately offered us a premium plan for free! |\n| Organized | Zulip is organized into \u201cstreams\u201d (akin to \u201cchannels\u201d) and \u201ctopics\u201d within the streams. Their home window can show multiple topics within streams at once. Our team members have really responded well, and it has created efficient and rapid communication possible. |\n| Searchable | Zulip has a global search bar that can search every single post ever, which works almost immediately. |\n| Privacy | Zulip allows for private streams, private messages, and group private messages. |\n| Long-term Storage | With the premium plan, we are able to keep every single message, as well as 10GB of storage for every single member! |\n\nSince the beginning of the season, we have been using Zulip. In the winter, Zulip had many issues and their Android app was almost completely unusable. Contrary to almost all other messaging platforms and the companies that run them, the **Zulip development team is extremely transparent**. Almost all of their development discussion among workers and volunteers happens on a public Zulip chat server. This means that our members can **report bugs directly to the staff**, and get a reply often within minutes, with a fix implemented in days, sometimes **immediately**.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/0/0a/T--Washington--ZulipBugs.jpg,Zulip Bug reporting,boxShadow: 5px 5px 10px gray,margin:auto,width:90%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/2/28/T--Washington--Zulipusage.jpg,Zulip usage statistics,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Figure 4: Our Zulip analytics for the whole season. We reached almost 60,000 messages with an average of 60 users. By the end of our season, we had 44 active members in the team using Zulip.\n\nAfter we stressed the importance of the android app to our team, the lead developers surveyed other teams utilizing Zulip, and greatly prioritized stability of the app. Within a few months, the android app now works as well as the mature desktop app. The **openness** and **accessibility** of the development team was extremely refreshing to our team. We realized that this kind of culture was something to emulate within our iGEM team as well. We strongly recommend Zulip for iGEM teams in the future.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nteamopsandmgmt\nTeam Operations & Management",type:"SPECIAL"},{data:"# Team Operations and Management\n\nWhen managing a team of over 40 members, it is essential to keep every member engaged, informed, and motivated to contribute to the project. This year, our operations team, comprised of our two Administrative Leads, Andrew Hu and Angel Wong, and our Director of Internal Affairs, Krithi Basu, worked hard with the help of our advisors, Yoshi Goto and Anastasia Nicolov, to ensure that each team member felt comfortable voicing their questions and concerns and was generally excited to be in iGEM. \n\nAt the beginning of the summer, individual check-ins were conducted with every single member on the team. We felt that these check-ins were essential to not only understanding members\u2019 experiences on the team thus far, but also being receptive to new ideas regarding the project or general team structure and operations. During these check-ins, a variety of questions were asked, some specific to members\u2019 subteams and others about understanding of the project, information access and organization on Zulip, and feedback and suggestions for how leadership can better manage the team. At the end of these check-ins, our Director of Internal Affairs had a _26-page document_ compiling each members\u2019 responses, complete with summaries of observations and feedback for every subteam lead to read and adjust their leadership style accordingly. \n\nUpon concluding the check-ins and listening to everyone\u2019s evaluations, it became apparent that there was too much of a divide between subteams--most people had yet to meet every person on the team! This isolation resulted in a lack of communication and awareness of the work in different aspects of the team. The operations team took members\u2019 suggestions for improvement and created a weekly updates stream on Zulip where every subteam lead would post an update every week about what their subteam had accomplished over the week and their goals for the upcoming week. We received lots of positive reactions from members after instituting this stream, indicating that we succeeded in improving communication and awareness across the whole team. Additionally, to further combat isolation between subteams, we began to hold social events, including weekly optional lunches, an Escape Room, and an evening outing at a boba cafe! \n\nThroughout the season, our Director of Internal Affairs performed periodic check-ins with members who became inactive for long periods of time without communication. These check-ins helped determine whether inactive members required more guidance, needed to take a break due to other commitments, or simply lost motivation. The concerns of such members were immediately passed on to the relevant leadership members who would provide more instruction and guidance for how they can continue to contribute. We also created an anonymous team management survey as a sort of virtual check-in at the beginning of fall to collect members\u2019 latest opinions, feedback, questions, and concerns about the way various subteams and the overall team was run through the summer. Based on the responses, some improvements that we will incorporate for the team next season are more frequent all-team meetings, better delegation of work, and stronger communication between leadership and general members. Furthermore, to create a more continuous channel of feedback from team members, we will be creating and advertising an anonymous feedback form throughout the season. \n\nAs this year\u2019s season ends, we have learned that to successfully run a large team, the most important priority is clear and constant communication between each part of the team. For other teams, we recommend the use of individual check-ins, anonymous feedback surveys, weekly updates from all subteams (including administration), and social events to create a positive community where every individual feels comfortable asking questions and expressing any concerns or suggestions for improvement. Such an environment is ideal for optimal learning, collaboration, productivity, and overall fun in an iGEM team! \n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations\n\n* [https://zulipchat.com/history/](https://zulipchat.com/history/)\n* [https://zulipchat.com/team/](https://zulipchat.com/team/)\n* [https://zulipchat.com/features/](https://zulipchat.com/features/)",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Team_Development"},{content:[{data:"HEADER\nTEXT=HARDWARE\nBACKGROUND=https://static.igem.org/mediawiki/2018/6/66/T--Washington--RotaryCad.png\nYPOS=15\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=9\nSUBTITLEHEIGHT=7\nBLUR=3\nMINTITLEHEIGHT=7\nMINPADDINGTOP=120\nPADDINGTOP=120",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"# Overview\n\nThis year, Washington iGEM has created a **cheap, modular, open source** rotary tool for our Wetlab team. Tube rotators can cost [over $200](http://www.southwestscience.com/STR200_Tube_Rotators.html), even though it is simply a motor attached to a base that is powered by a battery. We designed our system around using [this](https://www.sciencedirect.com/science/article/pii/S2468067216300049?via%3Dihub) open source rotator on ScienceDirect as a starting point. We augmented our device to allow for more control than the original version, by introducing an LCD display and a 3D printed housing unit that accommodate the larger Arduino Uno.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncadfiles\nCAD Files",type:"SPECIAL"},{data:"# CAD Files",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/6/66/T--Washington--RotaryCad.png,CAD Display,boxShadow: 5px 5px 10px gray,margin:auto,width:40%",type:"IMAGE"},{data:"The ScienceDirect version only provided the printing files, and not files we could easily modify. We chose to print out the original version, take measurements, and reverse engineer the CAD into Autodesk Fusion 360 in order to make the modifications we required. Through iterative design, we came up with this housing that allows the LCD display to sit nicely on the top, and for the internals to be hidden from the user. This design also allows the users enough room to make their own modifications as needed. \n\nThe CAD files can be found [here](https://static.igem.org/mediawiki/2018/b/b2/T--Washington--RotatorToolFiles.zip).",type:"MARKDOWN"},{data:"SEP\n",type:"SPECIAL"},{data:"SECTION\ncode\nCode",type:"SPECIAL"},{data:"# Code\n\nIn order to control the spinner, we found [code written by Angelo Fiorillo](https://www.hackster.io/i-and-myself/arduino-kitchen-timer-db8ba6) to display output to the LCD screen and modified it slightly to work with our relay. The modified code can be found below (click to expand). ",type:"MARKDOWN"},{data:'ACCORDION\n===\nCode\n```\n/**************************************************\n * Arduino Rotary UW iGEM 2018\n * \n * Using:\n * Arduino Kitchen Timer v1.0 - 2016/01/27\n * By Angelo Fiorillo (Rome, IT)\n * This work is distributed under the GNU General \n * Public License version 3 or later (GPL3+)\n * Please include this credit note if you want to \n * re-use any part of this sketch. Respect my work \n * as I\'ll do with yours.\n * Feel free to contact me: afiorillo@gmail.com\n * ************************************************/\n \n#include <LiquidCrystal.h>\n#include <TimeLib.h>\nLiquidCrystal lcd(13,12,2,3,4,5);\n\nlong setupHours = 0;    // How many hours will count down when started\nint setupMinutes = 0;  // How many minutes will count down when started\nint setupSeconds = 0;  // How many seconds will count down when started\ntime_t setupTime = 0;\ntime_t currentTime = 0;\ntime_t pauseTime = 0;\ntime_t startTime = 0;\ntime_t pauseRemainTime = 0;\ntime_t elapsedTime = 0;\n\nlong switchButtonLongPressCounter = 0;\nint switchButtonState = LOW;\nint upButtonState = LOW;\nint downButtonState = LOW;\nint switchButtonPrevState = LOW;\nint upButtonPrevState = LOW;\nint downButtonPrevState = LOW;\nbool switchButtonLongPressed = false;\nbool switchButtonPressed = false;\nbool downButtonPressed = false;\nbool upButtonPressed = false;\n\nconst int MODE_SETUP = 0;\nconst int MODE_RUNNING = 1;\nconst int MODE_COUNTING = 2;\nconst int MODE_PAUSED = 3;\nconst int MODE_RINGING = 4;\n\nint lastMode; //for storing last mode state when paused\nint currentMode = MODE_SETUP;\nint dataSelection = 0;  // Currently selected data for edit (setup mode, changes with Start/Stop)\n                        // 0=hours (00-99) 1=minutes (00-59) 2=seconds (00-59)\n\nvoid setup() {\n  lcd.begin(16, 2);\n  pinMode(8, INPUT); //switchButtonPin\n  pinMode(9, INPUT); //upButtonPin\n  pinMode(10, INPUT); //downButtonPin\n  pinMode(11, OUTPUT); //buzzerPin\n  pinMode(1, OUTPUT); //relay\n}\n\nvoid loop() {\n  switchButtonPressed = false;\n  upButtonPressed = false;\n  downButtonPressed = false;\n  \n//-----BUTTON MANAGEMENT------//\n  //switch/reset button\n  switchButtonPressed = false;\n  switchButtonLongPressed = false;\n  switchButtonState = digitalRead(8); //switchButtonPin\n  if(switchButtonState != switchButtonPrevState)\n  {\n    switchButtonPressed = switchButtonState == HIGH;\n    switchButtonPrevState = switchButtonState;\n  } \n  if(switchButtonState == HIGH) //longpress button management\n  {\n    switchButtonLongPressCounter++;\n    if(switchButtonLongPressCounter == 80)\n    {\n      switchButtonPressed = false;\n      switchButtonLongPressed = true;\n      switchButtonLongPressCounter = 0;\n    }\n  }\n  else\n  {\n    switchButtonLongPressCounter = 0;\n    switchButtonPressed = false;\n    switchButtonLongPressed = false;\n  }  \n\n  //up button\n  upButtonPressed = false;\n  upButtonState = digitalRead(9); //upButtonPin\n  if(upButtonState != upButtonPrevState)\n  {\n    upButtonPressed = upButtonState == HIGH;\n    upButtonPrevState = upButtonState;\n  }\n\n  //downbutton\n  downButtonPressed = false;\n  downButtonState = digitalRead(10); //downButtonPin\n  if(downButtonState != downButtonPrevState)\n  {\n    downButtonPressed = downButtonState == HIGH;\n    downButtonPrevState = downButtonState;\n  }\n  \n//-----MODE MANAGEMENT------//\n  switch(currentMode)\n  {\n    case MODE_SETUP:\n      if(switchButtonLongPressed)\n      {\n        fullReset();\n      }\n      if(digitalRead(6)==HIGH)\n      {\n        currentMode = MODE_RUNNING;\n        startTime = now();\n        setupTime = setupSeconds + (60 * setupMinutes) + (3600 * setupHours);\n      } \n      if(digitalRead(7)==HIGH)\n      {\n        currentMode = MODE_COUNTING;\n        startTime = now();\n\n      }  \n      if(downButtonPressed)\n      {\n        switch(dataSelection)\n        {\n          case 0: // hours\n            setupHours--;\n            if(setupHours == -1)\n            {\n              setupHours = 23;\n            }\n            break;\n          case 1: // minutes\n            setupMinutes--;\n            if(setupMinutes == -1)\n            {\n              setupMinutes = 59;\n            }\n            break;\n          case 2: // seconds\n            setupSeconds--;\n            if(setupSeconds == -1)\n            {\n              setupSeconds = 59;\n            }\n            break;\n        }\n      }\n      \n      if(upButtonPressed)\n      {\n        switch(dataSelection)\n        {\n          case 0: // hours\n            setupHours++;\n            if(setupHours == 24)\n            {\n              setupHours = 0;\n            }\n            break;\n          case 1: // minutes\n            setupMinutes++;\n            if(setupMinutes == 60)\n            {\n              setupMinutes = 0;\n            }\n            break;\n          case 2: // seconds\n            setupSeconds++;\n            if(setupSeconds == 60)\n            {\n              setupSeconds = 0;\n            }\n            break;\n        }\n      }\n      \n      if(switchButtonPressed)\n      {\n        dataSelection++;\n        if(dataSelection == 3)\n        {\n          dataSelection = 0;\n        }\n      }\n      break;\n    case MODE_RUNNING:\n      if(switchButtonPressed)\n      {\n        currentMode = MODE_PAUSED;\n        lastMode = MODE_RUNNING;\n      }\n      if(digitalRead(6)==LOW && digitalRead(7)==LOW)\n      {\n        currentMode = MODE_SETUP;\n      }\n      break;\n    case MODE_PAUSED:\n      if(switchButtonPressed)\n      {\n        currentMode = lastMode;\n      }\n      if(digitalRead(6)==LOW && digitalRead(7)==LOW)\n      {\n        currentMode = MODE_SETUP;\n        reset();\n      }\n      break;\n    case MODE_RINGING:\n      if(digitalRead(6)==LOW && digitalRead(7)==LOW)\n      {\n        currentMode = MODE_SETUP;\n      }\n      break;\n    case MODE_COUNTING:\n      if(switchButtonPressed)\n      {\n        currentMode = MODE_PAUSED;\n        lastMode = MODE_COUNTING;\n      }\n      if(digitalRead(6)==LOW && digitalRead(7)==LOW)\n      {\n        currentMode = MODE_SETUP;\n        currentTime = 0;\n      }\n      break;\n  }\n\n//-----TIME MANAGEMENT------//\n  switch(currentMode)\n  {\n    case MODE_SETUP:\n      // NOP\n      break;\n    case MODE_PAUSED:\n      pauseRemainTime = currentTime;\n      pauseTime = now();\n      break;\n    case MODE_RUNNING:\n      if(pauseRemainTime != 0)\n      {\n        currentTime = pauseRemainTime - (now() - pauseTime);\n        if(currentTime <= 0)\n        {\n          currentMode = MODE_RINGING;\n        }\n      }\n      else\n        currentTime = setupTime - (now() - startTime); \n        if(currentTime <= 0)\n        {\n          currentMode = MODE_RINGING;\n        }\n      break;\n    case MODE_RINGING:\n      analogWrite(11, 20); //buzzerPin is 10\n      delay(250);\n      analogWrite(11, 0); //buzzerPin is 10\n      delay(350);\n      pauseRemainTime = 0;\n      break;\n    case MODE_COUNTING:\n      if(pauseRemainTime != 0)\n      {\n        currentTime =  pauseRemainTime + (now() - pauseTime);\n      }\n      else\n      {\n        currentTime = now()- startTime;\n      }      \n  }\n\n//-----LCD MANAGEMENT------//\n  lcd.setCursor(0, 0);\n  switch(currentMode)\n  {\n    case MODE_SETUP:\n      lcd.print("READY    H  M  S");\n      lcd.setCursor(0, 1);  \n      switch(dataSelection)\n      {\n        case 0:\n          lcd.print("HRS");\n          break;\n        case 1:\n          lcd.print("MIN");\n          break;\n        case 2:\n          lcd.print("SEC");\n        break;\n      }    \n      if (setupMinutes <10) lcd.print("0");\n      lcd.print(setupMinutes);\n      lcd.print(":");\n      if (setupSeconds <10) lcd.print("0");\n      lcd.print(setupSeconds);\n      break;\n      \n    case MODE_PAUSED:\n      lcd.print("PAUSED  H  M  S");\n      lcd.setCursor(8, 1);\n      if(hour(currentTime) < 10) lcd.print("0");\n      lcd.print(hour(currentTime));\n      lcd.print(":");\n      if(minute(currentTime) < 10) lcd.print("0");\n      lcd.print(minute(currentTime));\n      lcd.print(":");\n      if(second(currentTime) < 10) lcd.print("0");\n      lcd.print(second(currentTime));\n    case MODE_RUNNING:\n      lcd.print("RUNNING  H  M  S");\n      lcd.setCursor(0, 1);\n      if(minute(currentTime) < 10) lcd.print("0");\n      lcd.print(minute(currentTime));\n      lcd.print(":");\n      if(second(currentTime) < 10) lcd.print("0");\n      lcd.print(second(currentTime));\n      break;\n    case MODE_RINGING:\n      lcd.print("  RING-RING!  ");\n      lcd.setCursor(0, 1);\n      lcd.print("    TIMES UP    ");\n      break;\n    case MODE_COUNTING:\n      lcd.print("COUNTING H  M  S");\n      lcd.setCursor(0,1);\n      lcd.print(minute(currentTime));\n      lcd.print(":");\n      \n      if(second(currentTime) < 10) lcd.print("0");\n      lcd.print(second(currentTime));\n      break;    \n  }\n  delay(10);\n\n  if(currentMode == MODE_RUNNING || currentMode == MODE_COUNTING) digitalWrite(1,HIGH); //relay pin\n  else digitalWrite(1,LOW);\n}\n  \nvoid reset()\n{\n  currentMode = MODE_SETUP;\n  pauseRemainTime = 0;\n  pauseTime = 0;\n}\n\nvoid fullReset()\n{\n  currentMode = MODE_SETUP;\n  setupHours = 0;    \n  setupMinutes = 0;  \n  setupSeconds = 0;  \n  setupTime = 0;\n  currentTime = 0;\n  pauseRemainTime = 0;\n  pauseTime = 0;\n  startTime = 0;\n  elapsedTime = 0;\n}\n\n```',type:"SPECIAL"}],isContent:!0,pageTitle:"/Hardware"},{content:[{data:"HEADER\nTEXT=INTEGRATED HP\nBACKGROUND=https://static.igem.org/mediawiki/2018/5/5e/T--Washington--ihpbanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=8\nSUBTITLEHEIGHT=7\nBLUR=3\nMINPADDINGTOP=120\nMINTITLEHEIGHT=5",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"# Overview\n\nThis year, we aimed to engage stakeholders, examine our project\u2019s economic and societal implications, and communicate our work effectively and transparently. Our lab work was shaped by our conversations with stakeholders and the public. We spoke with doctors about how vitamin D deficiency affects our local community, interviewed the general public about their perception regarding vitamin D and detection systems, investigated the relevance of CBD detection with evolving regulations, and reached out to Amyris and other companies for ideas on valuable molecular targets that need detection. By taking a holistic approach to our work, we can make a practical difference in our communities.  \n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ninterviews\nInterviews",type:"SPECIAL"},{data:"# Interviews with Experts on Vitamin D\n\nFirst, we did some initial literature research on Cholecalciferol, or Vitamin D3. Our summary of this work can be found [here](https://2018.igem.org/Team:Washington/Description).\n\nTo learn more about the significance of Vitamin D insufficiency and deficiency, especially in our local community, we interviewed 3 local doctors about their experiences.\nDr. Dr. Bradley Anawalt is an endocrinologist & chief of medicine at the University of Washington Medical Center.\nDr. Dr. Amy Baernstein is an Internist and Primary Care Physician specializing in Women\u2019s Health at the University of Washington Medical Center.\nDr. Emily Myers is a neurodevelopmental pediatrician at Seattle Children\u2019s Hospital\n\nHere is our interview with Dr. Bradley Anawalt:\n",type:"MARKDOWN"},{data:"VIDEO\nhttps://static.igem.org/mediawiki/2018/6/67/T--Washington--Doc1.mp4",type:"SPECIAL"},{data:"Here is our interview with Dr. Emily Myers:",type:"MARKDOWN"},{data:"VIDEO\nhttps://static.igem.org/mediawiki/2018/2/29/T--Washington--Doc2.mp4",type:"SPECIAL"},{data:"**Dr. Emily Myers wrote the following in response to our questions:**\n\n1. How prevalent are the effects of vitamin D deficiency in your own clinical experience?\n\n    _Nearly 100% of my patients are vitamin D insufficient unless they are on supplementation either with vitamin D or on pediasure or other formula. A smaller proportion are vitamin D deficient, I would say 25%. We commonly see the effects of vitamin D deficiency in our clinic, particularly in our nonambulatory patients, with fractures being all too common from decreased bone mineral density._\n\n2. What are the effects of vitamin D deficiency on childhood development (neurodevelopmental or broader)?\n\n    _Vitamin D is an ubiquitously needed vitamin, it is important for brain development and mood. But also critical for bone health. Severe deficiency coupled with Ricketts can lead to seizures (from hypocalcemia) and brain damage._\n\n3. What are some clinical observations on current vitamin D detection methods (i.e. cost, availability, relevance, risks)? What would you like to see in a vitamin D deficiency detection system?\n\n    _We check annual labs on all of our patients who are non-ambulatory, have restricted diets for a variety of developmental or behavioral reasons, or who are at increased nutritional risk. We check vitamin D yearly, and have standardized assessment and treatment recommendations for children in our clinic. I would like to see more standard guidelines across institutions and through the American Academy of Pediatrics to guide clinical care._\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ndiscussingvd\nDiscussing Vitamin D Deficiency",type:"SPECIAL"},{data:"# Discussing Vitamin D Deficiency with the General Public\n\nTo learn more about public perceptions of vitamin D deficiency, as well as synthetic biology and genetic engineering in general, we conducted interviews at a popular local park. Read more about this project [here](https://2018.igem.org/Team:Washington/Public_Engagement) under _Community Interviews_.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nartemisinin\nConversations about Artemisinin",type:"SPECIAL"},{data:"# Conversations about Artemisinin \n\nFirst, we investigated through literature research the importance of artemisinin in the developing world as it is a leading malaria drug. A summary of this work can be found [here](https://2018.igem.org/Team:Washington/Description) under _Artemisinin_.\n\nOur business team also talked extensively with representatives from Amyris, a company based in the Bay Area that pioneered the production of artemisinin using synthetic biology.  You can read about their insight and how it guided our project\u2019s focus [here](https://2018.igem.org/Team:Washington/Entrepreneurship) under _Potential Customer Interviews_.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncannabidiol\nResearch on Cannabidiol",type:"SPECIAL"},{data:"# Research on Cannabidiol\n\nPrevious work in the Gu lab has developed nanobody CID binders for cannabidiol, or CBD, which are sensitive enough to distinguish between this medicinal component of cannabis and THC, the psychoactive component. This is especially relevant in the United States and Canada, where regulations surrounding CBD and THC are evolving. Thus, the ability to distinguish between them is becoming more important.  A summary of our investigation into CBD can be found [here](https://2018.igem.org/Team:Washington/Description) under _Cannabidiol_.\n\nBecause the CID nanobodies for CBD had already been developed by the Gu lab, our decision to use them in our project and develop parts of this system as biobricks was not influenced by research or interviews we did with stakeholders. However, through discussions with Dr. Gu, we learned that his decision to use CBD as a target for his proof-of-concept CID system was based on CBD\u2019s practical relevance in in our community.  In addition to being able to distinguish between CBD and the structurally-similar THC, a biosensor would also be useful in testing for \u201ccounterfeit\u201d CBD products, which are advertised to contain CBD but actually contain little or none.[1]  Such a biosensor would be of interest to manufacturers and sellers, who are often held legally responsible for the quality of their products, but also to law enforcement in areas where CBD is legal but THC is not.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations\n\nOffice of the Commissioner. (n.d.). Public Health Focus - Warning Letters and Test Results for Cannabidiol-Related Products. Retrieved from https://www.fda.gov/newsevents/publichealthfocus/ucm484109.htm\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"NAVIGATION\nLEFT=https://2018.igem.org/Team:Washington/Human_Practices;LEFTNAME=Human Practices;RIGHT=https://2018.igem.org/Team:Washington/Collaborations;RIGHTNAME=Collaborations",type:"SPECIAL"}],isContent:!0,pageTitle:"/Integrated_Human_Practices"}]},function(e,t,n){"use strict";n(852)},function(e,t,n){"use strict";(function(e){var t=n(95),r=n.n(t);(function(){function e(e){return"string"==typeof e}function t(e){return"boolean"==typeof e}function n(){}function i(e){var t=typeof e;if("object"==t){if(!e)return"null";if(e instanceof Array)return"array";if(e instanceof Object)return t;var n=Object.prototype.toString.call(e);if("[object Window]"==n)return"object";if("[object Array]"==n||"number"==typeof e.length&&"undefined"!=typeof e.splice&&"undefined"!=typeof e.propertyIsEnumerable&&!e.propertyIsEnumerable("splice"))return"array";if("[object Function]"==n||"undefined"!=typeof e.call&&"undefined"!=typeof e.propertyIsEnumerable&&!e.propertyIsEnumerable("call"))return"function"}else if("function"==t&&"undefined"==typeof e.call)return"object";return t}function o(e){return null===e}function a(e){return"array"==i(e)}function s(e){var t=i(e);return"array"==t||"object"==t&&"number"==typeof e.length}function l(e){return"function"==i(e)}function u(e){var t=typeof e;return"object"==t&&null!=e||"function"==t}function c(e,t,n){return e.call.apply(e.bind,arguments)}function d(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function f(e,t,n){return f=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?c:d,f.apply(null,arguments)}function h(e,t){var n=Array.prototype.slice.call(arguments,1);return function(){var t=n.slice();return t.push.apply(t,arguments),e.apply(this,t)}}function p(e,t){function n(){}n.prototype=t.prototype,e.nb=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.dd=function(e,n,r){for(var i=Array(arguments.length-2),o=2;o<arguments.length;o++)i[o-2]=arguments[o];return t.prototype[n].apply(e,i)}}function m(e){e.prototype.then=e.prototype.then,e.prototype.$goog_Thenable=!0}function g(e){if(!e)return!1;try{return!!e.$goog_Thenable}catch(e){return!1}}function v(e){if(Error.captureStackTrace)Error.captureStackTrace(this,v);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e))}function y(e,t){e=e.split("%s");for(var n="",r=e.length-1,i=0;i<r;i++)n+=e[i]+(i<t.length?t[i]:"%s");v.call(this,n+e[r])}function b(e,t){throw new y("Failure"+(e?": "+e:""),Array.prototype.slice.call(arguments,1))}function w(e,t){this.c=e,this.f=t,this.b=0,this.a=null}function E(e,t){e.f(t),100>e.b&&(e.b++,t.next=e.a,e.a=t)}function T(){this.b=this.a=null}function _(){var e=ou,t=null;return e.a&&(t=e.a,e.a=e.a.next,e.a||(e.b=null),t.next=null),t}function x(){this.next=this.b=this.a=null}function k(t,n){var r=t.length,i=e(t)?t.split(""):t;for(--r;0<=r;--r)r in i&&n.call(void 0,i[r],r,t)}function S(t){e:{for(var n=Kr,r=t.length,i=e(t)?t.split(""):t,o=0;o<r;o++)if(o in i&&n.call(void 0,i[o],o,t)){n=o;break e}n=-1}return 0>n?null:e(t)?t.charAt(n):t[n]}function C(e,t){return 0<=zl(e,t)}function O(e,t){t=zl(e,t);var n;return(n=0<=t)&&Array.prototype.splice.call(e,t,1),n}function A(e,t){var n=0;k(e,function(r,i){t.call(void 0,r,i,e)&&1==Array.prototype.splice.call(e,i,1).length&&n++})}function P(e){return Array.prototype.concat.apply([],arguments)}function I(e){var t=e.length;if(0<t){for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}return[]}function R(e,t){for(var n=e.split("%s"),r="",i=Array.prototype.slice.call(arguments,1);i.length&&1<n.length;)r+=n.shift()+i.shift();return r+n.join("%s")}function N(e){return $l.test(e)?(-1!=e.indexOf("&")&&(e=e.replace(Vl,"&amp;")),-1!=e.indexOf("<")&&(e=e.replace(Kl,"&lt;")),-1!=e.indexOf(">")&&(e=e.replace(Yl,"&gt;")),-1!=e.indexOf('"')&&(e=e.replace(Zl,"&quot;")),-1!=e.indexOf("'")&&(e=e.replace(Xl,"&#39;")),-1!=e.indexOf("\0")&&(e=e.replace(Ql,"&#0;")),e):e}function M(e,t){return-1!=e.indexOf(t)}function D(e,t){return e<t?-1:e>t?1:0}function L(e){return M(Fl,e)}function j(e,t){for(var n in e)t.call(void 0,e[n],n,e)}function W(e){for(var t in e)return!1;return!0}function B(e){var t,n={};for(t in e)n[t]=e[t];return n}function F(e,t){for(var n,r,i=1;i<arguments.length;i++){r=arguments[i];for(n in r)e[n]=r[n];for(var o=0;o<ru.length;o++)n=ru[o],Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}}function z(e){Dl.setTimeout(function(){throw e},0)}function U(){var e=Dl.MessageChannel;if("undefined"===typeof e&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!L("Presto")&&(e=function(){var e=document.createElement("IFRAME");e.style.display="none",e.src="",document.documentElement.appendChild(e);var t=e.contentWindow;e=t.document,e.open(),e.write(""),e.close();var n="callImmediate"+Math.random(),r="file:"==t.location.protocol?"*":t.location.protocol+"//"+t.location.host;e=f(function(e){"*"!=r&&e.origin!=r||e.data!=n||this.port1.onmessage()},this),t.addEventListener("message",e,!1),this.port1={},this.port2={postMessage:function(){t.postMessage(n,r)}}}),"undefined"!==typeof e&&!L("Trident")&&!L("MSIE")){var t=new e,n={},r=n;return t.port1.onmessage=function(){if(void 0!==n.next){n=n.next;var e=n.vb;n.vb=null,e()}},function(e){r.next={vb:e},r=r.next,t.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(e){var t=document.createElement("SCRIPT");t.onreadystatechange=function(){t.onreadystatechange=null,t.parentNode.removeChild(t),t=null,e(),e=null},document.documentElement.appendChild(t)}:function(e){Dl.setTimeout(e,0)}}function H(e,t){nu||G(),iu||(nu(),iu=!0),ou.add(e,t)}function G(){if(Dl.Promise&&Dl.Promise.resolve){var e=Dl.Promise.resolve(void 0);nu=function(){e.then(q)}}else nu=function(){var e=q;!l(Dl.setImmediate)||Dl.Window&&Dl.Window.prototype&&!L("Edge")&&Dl.Window.prototype.setImmediate==Dl.setImmediate?(tu||(tu=U()),tu(e)):Dl.setImmediate(e)}}function q(){for(var e;e=_();){try{e.a.call(e.b)}catch(e){z(e)}E(Bl,e)}iu=!1}function V(e,t){if(this.a=au,this.i=void 0,this.f=this.b=this.c=null,this.g=this.h=!1,e!=n)try{var r=this;e.call(t,function(e){re(r,su,e)},function(e){if(!(e instanceof de))try{if(e instanceof Error)throw e;throw Error("Promise rejected.")}catch(e){}re(r,lu,e)})}catch(e){re(this,lu,e)}}function K(){this.next=this.f=this.b=this.g=this.a=null,this.c=!1}function Y(e,t,n){var r=uu.get();return r.g=e,r.b=t,r.f=n,r}function Z(e){if(e instanceof V)return e;var t=new V(n);return re(t,su,e),t}function X(e){return new V(function(t,n){n(e)})}function Q(e,t,n){ie(e,t,n,null)||H(h(t,e))}function $(e){return new V(function(t,n){var r=e.length,i=[];if(r)for(var o,a=function(e,n){r--,i[e]=n,0==r&&t(i)},s=function(e){n(e)},l=0;l<e.length;l++)o=e[l],Q(o,h(a,l),s);else t(i)})}function J(e){return new V(function(t){var n=e.length,r=[];if(n)for(var i,o=function(e,i,o){n--,r[e]=i?{Cb:!0,value:o}:{Cb:!1,reason:o},0==n&&t(r)},a=0;a<e.length;a++)i=e[a],Q(i,h(o,a,!0),h(o,a,!1));else t(r)})}function ee(e,t){if(e.a==au)if(e.c){var n=e.c;if(n.b){for(var r=0,i=null,o=null,a=n.b;a&&(a.c||(r++,a.a==e&&(i=a),!(i&&1<r)));a=a.next)i||(o=a);i&&(n.a==au&&1==r?ee(n,t):(o?(r=o,r.next==n.f&&(n.f=r),r.next=r.next.next):se(n),le(n,i,lu,t)))}e.c=null}else re(e,lu,t)}function te(e,t){e.b||e.a!=su&&e.a!=lu||ae(e),e.f?e.f.next=t:e.b=t,e.f=t}function ne(e,t,n,r){var i=Y(null,null,null);return i.a=new V(function(e,o){i.g=t?function(n){try{var i=t.call(r,n);e(i)}catch(e){o(e)}}:e,i.b=n?function(t){try{var i=n.call(r,t);void 0===i&&t instanceof de?o(t):e(i)}catch(e){o(e)}}:o}),i.a.c=e,te(e,i),i.a}function re(e,t,n){e.a==au&&(e===n&&(t=lu,n=new TypeError("Promise cannot resolve to itself")),e.a=1,ie(n,e.Mc,e.Nc,e)||(e.i=n,e.a=t,e.c=null,ae(e),t!=lu||n instanceof de||ce(e,n)))}function ie(e,t,r,i){if(e instanceof V)return te(e,Y(t||n,r||null,i)),!0;if(g(e))return e.then(t,r,i),!0;if(u(e))try{var o=e.then;if(l(o))return oe(e,o,t,r,i),!0}catch(e){return r.call(i,e),!0}return!1}function oe(e,t,n,r,i){function o(e){s||(s=!0,r.call(i,e))}function a(e){s||(s=!0,n.call(i,e))}var s=!1;try{t.call(e,a,o)}catch(e){o(e)}}function ae(e){e.h||(e.h=!0,H(e.Xb,e))}function se(e){var t=null;return e.b&&(t=e.b,e.b=t.next,t.next=null),e.b||(e.f=null),t}function le(e,t,n,r){if(n==lu&&t.b&&!t.c)for(;e&&e.g;e=e.c)e.g=!1;if(t.a)t.a.c=null,ue(t,n,r);else try{t.c?t.g.call(t.f):ue(t,n,r)}catch(e){cu.call(null,e)}E(uu,t)}function ue(e,t,n){t==su?e.g.call(e.f,n):e.b&&e.b.call(e.f,n)}function ce(e,t){e.g=!0,H(function(){e.g&&cu.call(null,t)})}function de(e){v.call(this,e)}function fe(){0!=du&&(fu[this[Ll]||(this[Ll]=++jl)]=this),this.pa=this.pa,this.ja=this.ja}function he(e){if(!e.pa&&(e.pa=!0,e.ua(),0!=du)){var t=e[Ll]||(e[Ll]=++jl);if(0!=du&&e.ja&&0<e.ja.length)throw Error(e+" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");delete fu[t]}}function pe(e){return pe[" "](e),e}function me(e,t){var n=xu;return Object.prototype.hasOwnProperty.call(n,e)?n[e]:n[e]=t(e)}function ge(){var e=Dl.document;return e?e.documentMode:void 0}function ve(e){return me(e,function(){for(var t=0,n=ql(String(hu)).split("."),r=ql(String(e)).split("."),i=Math.max(n.length,r.length),o=0;0==t&&o<i;o++){var a=n[o]||"",s=r[o]||"";do{if(a=/(\d*)(\D*)(.*)/.exec(a)||["","","",""],s=/(\d*)(\D*)(.*)/.exec(s)||["","","",""],0==a[0].length&&0==s[0].length)break;t=D(0==a[1].length?0:parseInt(a[1],10),0==s[1].length?0:parseInt(s[1],10))||D(0==a[2].length,0==s[2].length)||D(a[2],s[2]),a=a[3],s=s[3]}while(0==t)}return 0<=t})}function ye(e,t){this.type=e,this.b=this.target=t,this.Jb=!0}function be(t,n){if(ye.call(this,t?t.type:""),this.relatedTarget=this.b=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.pointerId=0,this.pointerType="",this.a=null,t){var r=this.type=t.type,i=t.changedTouches?t.changedTouches[0]:null;if(this.target=t.target||t.srcElement,this.b=n,n=t.relatedTarget){if(yu){e:{try{pe(n.nodeName);var o=!0;break e}catch(e){}o=!1}o||(n=null)}}else"mouseover"==r?n=t.fromElement:"mouseout"==r&&(n=t.toElement);this.relatedTarget=n,null===i?(this.clientX=void 0!==t.clientX?t.clientX:t.pageX,this.clientY=void 0!==t.clientY?t.clientY:t.pageY,this.screenX=t.screenX||0,this.screenY=t.screenY||0):(this.clientX=void 0!==i.clientX?i.clientX:i.pageX,this.clientY=void 0!==i.clientY?i.clientY:i.pageY,this.screenX=i.screenX||0,this.screenY=i.screenY||0),this.button=t.button,this.key=t.key||"",this.ctrlKey=t.ctrlKey,this.altKey=t.altKey,this.shiftKey=t.shiftKey,this.metaKey=t.metaKey,this.pointerId=t.pointerId||0,this.pointerType=e(t.pointerType)?t.pointerType:Pu[t.pointerType]||"",this.a=t,t.defaultPrevented&&this.preventDefault()}}function we(e,t,n,r,i){this.listener=e,this.proxy=null,this.src=t,this.type=n,this.capture=!!r,this.La=i,this.key=++Ru,this.na=this.Ia=!1}function Ee(e){e.na=!0,e.listener=null,e.proxy=null,e.src=null,e.La=null}function Te(e){this.src=e,this.a={},this.b=0}function _e(e,t){var n=t.type;n in e.a&&O(e.a[n],t)&&(Ee(t),0==e.a[n].length&&(delete e.a[n],e.b--))}function xe(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i];if(!o.na&&o.listener==t&&o.capture==!!n&&o.La==r)return i}return-1}function ke(e,t,n,r,i){if(r&&r.once)Oe(e,t,n,r,i);else if(a(t))for(var o=0;o<t.length;o++)ke(e,t[o],n,r,i);else n=Le(n),e&&e[Iu]?We(e,t,n,u(r)?!!r.capture:!!r,i):Se(e,t,n,!1,r,i)}function Se(e,t,n,r,i,o){if(!t)throw Error("Invalid event type");var a=u(i)?!!i.capture:!!i,s=De(e);if(s||(e[Nu]=s=new Te(e)),n=s.add(t,n,r,a,o),!n.proxy){if(r=Ce(),n.proxy=r,r.src=e,r.listener=n,e.addEventListener)Au||(i=a),void 0===i&&(i=!1),e.addEventListener(t.toString(),r,i);else if(e.attachEvent)e.attachEvent(Ie(t.toString()),r);else{if(!e.addListener||!e.removeListener)throw Error("addEventListener and attachEvent are unavailable.");e.addListener(r)}Du++}}function Ce(){var e=Me,t=Cu?function(n){return e.call(t.src,t.listener,n)}:function(n){if(!(n=e.call(t.src,t.listener,n)))return n};return t}function Oe(e,t,n,r,i){if(a(t))for(var o=0;o<t.length;o++)Oe(e,t[o],n,r,i);else n=Le(n),e&&e[Iu]?Be(e,t,n,u(r)?!!r.capture:!!r,i):Se(e,t,n,!0,r,i)}function Ae(e,t,n,r,i){if(a(t))for(var o=0;o<t.length;o++)Ae(e,t[o],n,r,i);else r=u(r)?!!r.capture:!!r,n=Le(n),e&&e[Iu]?(e=e.l,(t=String(t).toString())in e.a&&(o=e.a[t],-1<(n=xe(o,n,r,i))&&(Ee(o[n]),Array.prototype.splice.call(o,n,1),0==o.length&&(delete e.a[t],e.b--)))):e&&(e=De(e))&&(t=e.a[t.toString()],e=-1,t&&(e=xe(t,n,r,i)),(n=-1<e?t[e]:null)&&Pe(n))}function Pe(e){if("number"!=typeof e&&e&&!e.na){var t=e.src;if(t&&t[Iu])_e(t.l,e);else{var n=e.type,r=e.proxy;t.removeEventListener?t.removeEventListener(n,r,e.capture):t.detachEvent?t.detachEvent(Ie(n),r):t.addListener&&t.removeListener&&t.removeListener(r),Du--,(n=De(t))?(_e(n,e),0==n.b&&(n.src=null,t[Nu]=null)):Ee(e)}}}function Ie(e){return e in Mu?Mu[e]:Mu[e]="on"+e}function Re(e,t,n,r){var i=!0;if((e=De(e))&&(t=e.a[t.toString()]))for(t=t.concat(),e=0;e<t.length;e++){var o=t[e];o&&o.capture==n&&!o.na&&(o=Ne(o,r),i=i&&!1!==o)}return i}function Ne(e,t){var n=e.listener,r=e.La||e.src;return e.Ia&&Pe(e),n.call(r,t)}function Me(e,t){if(e.na)return!0;if(!Cu){if(!t)e:{t=["window","event"];for(var n=Dl,r=0;r<t.length;r++)if(null==(n=n[t[r]])){t=null;break e}t=n}if(r=t,t=new be(r,this),n=!0,!(0>r.keyCode||void 0!=r.returnValue)){e:{var i=!1;if(0==r.keyCode)try{r.keyCode=-1;break e}catch(e){i=!0}(i||void 0==r.returnValue)&&(r.returnValue=!0)}for(r=[],i=t.b;i;i=i.parentNode)r.push(i);for(e=e.type,i=r.length-1;0<=i;i--){t.b=r[i];var o=Re(r[i],e,!0,t);n=n&&o}for(i=0;i<r.length;i++)t.b=r[i],o=Re(r[i],e,!1,t),n=n&&o}return n}return Ne(e,new be(t,this))}function De(e){return e=e[Nu],e instanceof Te?e:null}function Le(e){return l(e)?e:(e[Lu]||(e[Lu]=function(t){return e.handleEvent(t)}),e[Lu])}function je(){fe.call(this),this.l=new Te(this),this.Qb=this,this.Ua=null}function We(e,t,n,r,i){e.l.add(String(t),n,!1,r,i)}function Be(e,t,n,r,i){e.l.add(String(t),n,!0,r,i)}function Fe(e,t,n,r){if(!(t=e.l.a[String(t)]))return!0;t=t.concat();for(var i=!0,o=0;o<t.length;++o){var a=t[o];if(a&&!a.na&&a.capture==n){var s=a.listener,l=a.La||a.src;a.Ia&&_e(e.l,a),i=!1!==s.call(l,r)&&i}}return i&&0!=r.Jb}function ze(e,t,n){if(l(e))n&&(e=f(e,n));else{if(!e||"function"!=typeof e.handleEvent)throw Error("Invalid listener argument");e=f(e.handleEvent,e)}return 2147483647<Number(t)?-1:Dl.setTimeout(e,t||0)}function Ue(e){var t=null;return new V(function(n,r){-1==(t=ze(function(){n(void 0)},e))&&r(Error("Failed to schedule timer."))}).s(function(e){throw Dl.clearTimeout(t),e})}function He(t){if(t.S&&"function"==typeof t.S)return t.S();if(e(t))return t.split("");if(s(t)){for(var n=[],r=t.length,i=0;i<r;i++)n.push(t[i]);return n}n=[],r=0;for(i in t)n[r++]=t[i];return n}function Ge(t){if(t.U&&"function"==typeof t.U)return t.U();if(!t.S||"function"!=typeof t.S){if(s(t)||e(t)){var n=[];t=t.length;for(var r=0;r<t;r++)n.push(r);return n}n=[],r=0;for(var i in t)n[r++]=i;return n}}function qe(t,n){if(t.forEach&&"function"==typeof t.forEach)t.forEach(n,void 0);else if(s(t)||e(t))Ul(t,n,void 0);else for(var r=Ge(t),i=He(t),o=i.length,a=0;a<o;a++)n.call(void 0,i[a],r&&r[a],t)}function Ve(e,t){this.b={},this.a=[],this.c=0;var n=arguments.length;if(1<n){if(n%2)throw Error("Uneven number of arguments");for(var r=0;r<n;r+=2)this.set(arguments[r],arguments[r+1])}else if(e)if(e instanceof Ve)for(n=e.U(),r=0;r<n.length;r++)this.set(n[r],e.get(n[r]));else for(r in e)this.set(r,e[r])}function Ke(e){if(e.c!=e.a.length){for(var t=0,n=0;t<e.a.length;){var r=e.a[t];Ye(e.b,r)&&(e.a[n++]=r),t++}e.a.length=n}if(e.c!=e.a.length){var i={};for(n=t=0;t<e.a.length;)r=e.a[t],Ye(i,r)||(e.a[n++]=r,i[r]=1),t++;e.a.length=n}}function Ye(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ze(e,t){if(e){e=e.split("&");for(var n=0;n<e.length;n++){var r=e[n].indexOf("="),i=null;if(0<=r){var o=e[n].substring(0,r);i=e[n].substring(r+1)}else o=e[n];t(o,i?decodeURIComponent(i.replace(/\+/g," ")):"")}}}function Xe(e,t){if(this.b=this.l=this.c="",this.i=null,this.h=this.g="",this.f=!1,e instanceof Xe){this.f=void 0!==t?t:e.f,Qe(this,e.c),this.l=e.l,this.b=e.b,$e(this,e.i),this.g=e.g,t=e.a;var n=new st;n.c=t.c,t.a&&(n.a=new Ve(t.a),n.b=t.b),Je(this,n),this.h=e.h}else e&&(n=String(e).match(ju))?(this.f=!!t,Qe(this,n[1]||"",!0),this.l=it(n[2]||""),this.b=it(n[3]||"",!0),$e(this,n[4]),this.g=it(n[5]||"",!0),Je(this,n[6]||"",!0),this.h=it(n[7]||"")):(this.f=!!t,this.a=new st(null,this.f))}function Qe(e,t,n){e.c=n?it(t,!0):t,e.c&&(e.c=e.c.replace(/:$/,""))}function $e(e,t){if(t){if(t=Number(t),isNaN(t)||0>t)throw Error("Bad port number "+t);e.i=t}else e.i=null}function Je(e,t,n){t instanceof st?(e.a=t,pt(e.a,e.f)):(n||(t=ot(t,zu)),e.a=new st(t,e.f))}function et(e,t,n){e.a.set(t,n)}function tt(e,t){return e.a.get(t)}function nt(e){return e instanceof Xe?new Xe(e):new Xe(e,void 0)}function rt(e,t){var n=new Xe(null,void 0);return Qe(n,"https"),e&&(n.b=e),t&&(n.g=t),n}function it(e,t){return e?t?decodeURI(e.replace(/%25/g,"%2525")):decodeURIComponent(e):""}function ot(t,n,r){return e(t)?(t=encodeURI(t).replace(n,at),r&&(t=t.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),t):null}function at(e){return e=e.charCodeAt(0),"%"+(e>>4&15).toString(16)+(15&e).toString(16)}function st(e,t){this.b=this.a=null,this.c=e||null,this.f=!!t}function lt(e){e.a||(e.a=new Ve,e.b=0,e.c&&Ze(e.c,function(t,n){e.add(decodeURIComponent(t.replace(/\+/g," ")),n)}))}function ut(e){var t=Ge(e);if("undefined"==typeof t)throw Error("Keys are undefined");var n=new st(null,void 0);e=He(e);for(var r=0;r<t.length;r++){var i=t[r],o=e[r];a(o)?ft(n,i,o):n.add(i,o)}return n}function ct(e,t){lt(e),t=ht(e,t),Ye(e.a.b,t)&&(e.c=null,e.b-=e.a.get(t).length,e=e.a,Ye(e.b,t)&&(delete e.b[t],e.c--,e.a.length>2*e.c&&Ke(e)))}function dt(e,t){return lt(e),t=ht(e,t),Ye(e.a.b,t)}function ft(e,t,n){ct(e,t),0<n.length&&(e.c=null,e.a.set(ht(e,t),I(n)),e.b+=n.length)}function ht(e,t){return t=String(t),e.f&&(t=t.toLowerCase()),t}function pt(e,t){t&&!e.f&&(lt(e),e.c=null,e.a.forEach(function(e,t){var n=t.toLowerCase();t!=n&&(ct(this,t),ft(this,n,e))},e)),e.f=t}function mt(){this.a="",this.b=Gu}function gt(e){return e instanceof mt&&e.constructor===mt&&e.b===Gu?e.a:(b("expected object of type Const, got '"+e+"'"),"type_error:Const")}function vt(e){var t=new mt;return t.a=e,t}function yt(){this.a="",this.b=Ku}function bt(e){return e instanceof yt&&e.constructor===yt&&e.b===Ku?e.a:(b("expected object of type TrustedResourceUrl, got '"+e+"' of type "+i(e)),"type_error:TrustedResourceUrl")}function wt(e,t){var n=gt(e);if(!Vu.test(n))throw Error("Invalid TrustedResourceUrl format: "+n);return e=n.replace(qu,function(e,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw Error('Found marker, "'+r+'", in format string, "'+n+'", but no valid label mapping found in args: '+JSON.stringify(t));return e=t[r],e instanceof mt?gt(e):encodeURIComponent(String(e))}),Et(e)}function Et(e){var t=new yt;return t.a=e,t}function Tt(){this.a="",this.b=Zu}function _t(e){return e instanceof Tt&&e.constructor===Tt&&e.b===Zu?e.a:(b("expected object of type SafeUrl, got '"+e+"' of type "+i(e)),"type_error:SafeUrl")}function xt(e){return e instanceof Tt?e:(e=e.ma?e.la():String(e),Yu.test(e)||(e="about:invalid#zClosurez"),kt(e))}function kt(e){var t=new Tt;return t.a=e,t}function St(){this.a="",this.b=Xu}function Ct(e){return e instanceof St&&e.constructor===St&&e.b===Xu?e.a:(b("expected object of type SafeHtml, got '"+e+"' of type "+i(e)),"type_error:SafeHtml")}function Ot(e){var t=new St;return t.a=e,t}function At(t){var n=document;return e(t)?n.getElementById(t):t}function Pt(e,t){j(t,function(t,n){t&&t.ma&&(t=t.la()),"style"==n?e.style.cssText=t:"class"==n?e.className=t:"for"==n?e.htmlFor=t:Qu.hasOwnProperty(n)?e.setAttribute(Qu[n],t):0==n.lastIndexOf("aria-",0)||0==n.lastIndexOf("data-",0)?e.setAttribute(n,t):e[n]=t})}function It(t,n,r){var i=arguments,o=document,s=String(i[0]),l=i[1];if(!Hu&&l&&(l.name||l.type)){if(s=["<",s],l.name&&s.push(' name="',N(l.name),'"'),l.type){s.push(' type="',N(l.type),'"');var u={};F(u,l),delete u.type,l=u}s.push(">"),s=s.join("")}return s=o.createElement(s),l&&(e(l)?s.className=l:a(l)?s.className=l.join(" "):Pt(s,l)),2<i.length&&Rt(o,s,i),s}function Rt(t,n,r){function i(r){r&&n.appendChild(e(r)?t.createTextNode(r):r)}for(var o=2;o<r.length;o++){var a=r[o];!s(a)||u(a)&&0<a.nodeType?i(a):Ul(Nt(a)?I(a):a,i)}}function Nt(e){if(e&&"number"==typeof e.length){if(u(e))return"function"==typeof e.item||"string"==typeof e.item;if(l(e))return"function"==typeof e.item}return!1}function Mt(e){var t=[];return Lt(new Dt,e,t),t.join("")}function Dt(){}function Lt(e,t,n){if(null==t)n.push("null");else{if("object"==typeof t){if(a(t)){var r=t;t=r.length,n.push("[");for(var i="",o=0;o<t;o++)n.push(i),Lt(e,r[o],n),i=",";return void n.push("]")}if(!(t instanceof String||t instanceof Number||t instanceof Boolean)){n.push("{"),i="";for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&"function"!=typeof(o=t[r])&&(n.push(i),jt(r,n),n.push(":"),Lt(e,o,n),i=",");return void n.push("}")}t=t.valueOf()}switch(typeof t){case"string":jt(t,n);break;case"number":n.push(isFinite(t)&&!isNaN(t)?String(t):"null");break;case"boolean":n.push(String(t));break;case"function":n.push("null");break;default:throw Error("Unknown type: "+typeof t)}}}function jt(e,t){t.push('"',e.replace(Ju,function(e){var t=$u[e];return t||(t="\\u"+(65536|e.charCodeAt(0)).toString(16).substr(1),$u[e]=t),t}),'"')}function Wt(){var e=rn();return mu&&!!_u&&11==_u||/Edge\/\d+/.test(e)}function Bt(){return Dl.window&&Dl.window.location.href||self&&self.location&&self.location.href||""}function Ft(e,t){t=t||Dl.window;var n="about:blank";e&&(n=_t(xt(e))),t.location.href=n}function zt(e,t){var n,r=[];for(n in e)n in t?typeof e[n]!=typeof t[n]?r.push(n):"object"==typeof e[n]&&null!=e[n]&&null!=t[n]?0<zt(e[n],t[n]).length&&r.push(n):e[n]!==t[n]&&r.push(n):r.push(n);for(n in t)n in e||r.push(n);return r}function Ut(){var e=rn();return!((e=tn(e)!=nc?null:(e=e.match(/\sChrome\/(\d+)/i))&&2==e.length?parseInt(e[1],10):null)&&30>e)&&(!mu||!_u||9<_u)}function Ht(e){return e=(e||rn()).toLowerCase(),!!(e.match(/android/)||e.match(/webos/)||e.match(/iphone|ipad|ipod/)||e.match(/blackberry/)||e.match(/windows phone/)||e.match(/iemobile/))}function Gt(e){e=e||Dl.window;try{e.close()}catch(e){}}function qt(e,t,n){var r=Math.floor(1e9*Math.random()).toString();t=t||500,n=n||600;var i=(window.screen.availHeight-n)/2,o=(window.screen.availWidth-t)/2;t={width:t,height:n,top:0<i?i:0,left:0<o?o:0,location:!0,resizable:!0,statusbar:!0,toolbar:!1},n=rn().toLowerCase(),r&&(t.target=r,M(n,"crios/")&&(t.target="_blank")),tn(rn())==tc&&(e=e||"http://localhost",t.scrollbars=!0),n=e||"",(e=t)||(e={}),r=window,t=n instanceof Tt?n:xt("undefined"!=typeof n.href?n.href:String(n)),n=e.target||n.target,i=[];for(a in e)switch(a){case"width":case"height":case"top":case"left":i.push(a+"="+e[a]);break;case"target":case"noopener":case"noreferrer":break;default:i.push(a+"="+(e[a]?1:0))}var a=i.join(",");if((L("iPhone")&&!L("iPod")&&!L("iPad")||L("iPad")||L("iPod"))&&r.navigator&&r.navigator.standalone&&n&&"_self"!=n?(a=r.document.createElement("A"),t instanceof Tt||t instanceof Tt||(t=t.ma?t.la():String(t),Yu.test(t)||(t="about:invalid#zClosurez"),t=kt(t)),a.href=_t(t),a.setAttribute("target",n),e.noreferrer&&a.setAttribute("rel","noreferrer"),e=document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,r,1),a.dispatchEvent(e),a={}):e.noreferrer?(a=r.open("",n,a),e=_t(t),a&&(vu&&M(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),a.opener=null,vt("b/12014412, meta tag with sanitized URL"),e='<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+N(e)+'">',e=Ot(e),a.document.write(Ct(e)),a.document.close())):(a=r.open(_t(t),n,a))&&e.noopener&&(a.opener=null),a)try{a.focus()}catch(e){}return a}function Vt(e){return new V(function(t){function n(){Ue(2e3).then(function(){if(e&&!e.closed)return n();t()})}return n()})}function Kt(){var e=null;return new V(function(t){"complete"==Dl.document.readyState?t():(e=function(){t()},Oe(window,"load",e))}).s(function(t){throw Ae(window,"load",e),t})}function Yt(){return Zt(void 0)?Kt().then(function(){return new V(function(e,t){var n=Dl.document,r=setTimeout(function(){t(Error("Cordova framework is not ready."))},1e3);n.addEventListener("deviceready",function(){clearTimeout(r),e()},!1)})}):X(Error("Cordova must run in an Android or iOS file scheme."))}function Zt(e){return e=e||rn(),!("file:"!==un()||!e.toLowerCase().match(/iphone|ipad|ipod|android/))}function Xt(){var e=Dl.window;try{return!(!e||e==e.top)}catch(e){return!1}}function Qt(){return"object"!==typeof Dl.window&&"function"===typeof Dl.importScripts}function $t(){return r.a.INTERNAL.hasOwnProperty("reactNative")?"ReactNative":r.a.INTERNAL.hasOwnProperty("node")?"Node":Qt()?"Worker":"Browser"}function Jt(){var e=$t();return"ReactNative"===e||"Node"===e}function en(){for(var e=50,t=[];0<e;)t.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),e--;return t.join("")}function tn(e){var t=e.toLowerCase();return M(t,"opera/")||M(t,"opr/")||M(t,"opios/")?"Opera":M(t,"iemobile")?"IEMobile":M(t,"msie")||M(t,"trident/")?"IE":M(t,"edge/")?"Edge":M(t,"firefox/")?tc:M(t,"silk/")?"Silk":M(t,"blackberry")?"Blackberry":M(t,"webos")?"Webos":!M(t,"safari/")||M(t,"chrome/")||M(t,"crios/")||M(t,"android")?!M(t,"chrome/")&&!M(t,"crios/")||M(t,"edge/")?M(t,"android")?"Android":(e=e.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/))&&2==e.length?e[1]:"Other":nc:"Safari"}function nn(e,t){t=t||[];var n,r=[],i={};for(n in rc)i[rc[n]]=!0;for(n=0;n<t.length;n++)"undefined"!==typeof i[t[n]]&&(delete i[t[n]],r.push(t[n]));return r.sort(),t=r,t.length||(t=["FirebaseCore-web"]),r=$t(),"Browser"===r?(i=rn(),r=tn(i)):"Worker"===r&&(i=rn(),r=tn(i)+"-"+r),r+"/JsCore/"+e+"/"+t.join(",")}function rn(){return Dl.navigator&&Dl.navigator.userAgent||""}function on(e,t){e=e.split("."),t=t||Dl;for(var n=0;n<e.length&&"object"==typeof t&&null!=t;n++)t=t[e[n]];return n!=e.length&&(t=void 0),t}function an(){try{var e=Dl.localStorage,t=pn();if(e)return e.setItem(t,"1"),e.removeItem(t),!Wt()||!!Dl.indexedDB}catch(e){return Qt()&&!!Dl.indexedDB}return!1}function sn(){return(ln()||"chrome-extension:"===un()||Zt())&&!Jt()&&an()&&!Qt()}function ln(){return"http:"===un()||"https:"===un()}function un(){return Dl.location&&Dl.location.protocol||null}function cn(e){return e=e||rn(),!Ht(e)&&tn(e)!=tc}function dn(e){return"undefined"===typeof e?null:Mt(e)}function fn(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&null!==e[t]&&void 0!==e[t]&&(n[t]=e[t]);return n}function hn(e){if(null!==e)return JSON.parse(e)}function pn(e){return e||Math.floor(1e9*Math.random()).toString()}function mn(e){return e=e||rn(),"Safari"!=tn(e)&&!e.toLowerCase().match(/iphone|ipad|ipod/)}function gn(){var e=Dl.___jsl;if(e&&e.H)for(var t in e.H)if(e.H[t].r=e.H[t].r||[],e.H[t].L=e.H[t].L||[],e.H[t].r=e.H[t].L.concat(),e.CP)for(var n=0;n<e.CP.length;n++)e.CP[n]=null}function vn(e,t){if(e>t)throw Error("Short delay should be less than long delay!");this.a=e,this.c=t,e=rn(),t=$t(),this.b=Ht(e)||"ReactNative"===t}function yn(){var e=Dl.document;return!e||"undefined"===typeof e.visibilityState||"visible"==e.visibilityState}function bn(){var e=Dl.document,t=null;return yn()||!e?Z():new V(function(n){t=function(){yn()&&(e.removeEventListener("visibilitychange",t,!1),n())},e.addEventListener("visibilitychange",t,!1)}).s(function(n){throw e.removeEventListener("visibilitychange",t,!1),n})}function wn(e){try{var t=new Date(parseInt(e,10));if(!isNaN(t.getTime())&&!/[^0-9]/.test(e))return t.toUTCString()}catch(e){}return null}function En(){return!(!on("fireauth.oauthhelper",Dl)&&!on("fireauth.iframe",Dl))}function Tn(){var e=Dl.navigator;return e&&e.serviceWorker&&e.serviceWorker.controller||null}function _n(){var e=Dl.navigator;return e&&e.serviceWorker?Z().then(function(){return e.serviceWorker.ready}).then(function(e){return e.active||null}).s(function(){return null}):Z(null)}function xn(e){oc[e]||(oc[e]=!0,"undefined"!==typeof console&&"function"===typeof console.warn&&console.warn(e))}function kn(e,t,n){ic?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:n}):e[t]=n}function Sn(e,t){if(t)for(var n in t)t.hasOwnProperty(n)&&kn(e,n,t[n])}function Cn(e){var t={};return Sn(t,e),t}function On(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function An(e,t){if(!t||!t.length)return!0;if(!e)return!1;for(var n=0;n<t.length;n++){var r=e[t[n]];if(void 0===r||null===r||""===r)return!1}return!0}function Pn(e){var t=e;if("object"==typeof e&&null!=e){t="length"in e?[]:{};for(var n in e)kn(t,n,Pn(e[n]))}return t}function In(e){var t={},n=e[lc],r=e[uc];if(!(e=e[cc])||e!=sc&&!n)throw Error("Invalid provider user info!");t[fc]=r||null,t[dc]=n||null,kn(this,pc,e),kn(this,hc,Pn(t))}function Rn(e,t){this.code=mc+e,this.message=t||gc[e]||""}function Nn(e){var t=e&&e.code;return t?new Rn(t.substring(mc.length),e.message):null}function Mn(e){var t=e[wc];if("undefined"===typeof t)throw new Rn("missing-continue-uri");if("string"!==typeof t||"string"===typeof t&&!t.length)throw new Rn("invalid-continue-uri");this.h=t,this.b=this.a=null,this.g=!1;var n=e[vc];if(n&&"object"===typeof n){t=n[_c];var r=n[Ec];if(n=n[Tc],"string"===typeof t&&t.length){if(this.a=t,"undefined"!==typeof r&&"boolean"!==typeof r)throw new Rn("argument-error",Ec+" property must be a boolean when specified.");if(this.g=!!r,"undefined"!==typeof n&&("string"!==typeof n||"string"===typeof n&&!n.length))throw new Rn("argument-error",Tc+" property must be a non empty string when specified.");this.b=n||null}else{if("undefined"!==typeof t)throw new Rn("argument-error",_c+" property must be a non empty string when specified.");if("undefined"!==typeof r||"undefined"!==typeof n)throw new Rn("missing-android-pkg-name")}}else if("undefined"!==typeof n)throw new Rn("argument-error",vc+" property must be a non null object when specified.");if(this.f=null,(t=e[bc])&&"object"===typeof t){if("string"===typeof(t=t[xc])&&t.length)this.f=t;else if("undefined"!==typeof t)throw new Rn("argument-error",xc+" property must be a non empty string when specified.")}else if("undefined"!==typeof t)throw new Rn("argument-error",bc+" property must be a non null object when specified.");if("undefined"!==typeof(e=e[yc])&&"boolean"!==typeof e)throw new Rn("argument-error",yc+" property must be a boolean when specified.");this.c=!!e}function Dn(e){var t={};t.continueUrl=e.h,t.canHandleCodeInApp=e.c,(t.androidPackageName=e.a)&&(t.androidMinimumVersion=e.b,t.androidInstallApp=e.g),t.iOSBundleId=e.f;for(var n in t)null===t[n]&&delete t[n];return t}function Ln(e){return Hl(e,function(e){return e=e.toString(16),1<e.length?e:"0"+e}).join("")}function jn(e){var t="";return Wn(e,function(e){t+=String.fromCharCode(e)}),t}function Wn(e,t){function n(t){for(;r<e.length;){var n=e.charAt(r++),i=Sc[n];if(null!=i)return i;if(!/^[\s\xa0]*$/.test(n))throw Error("Unknown base64 encoding at char: "+n)}return t}Bn();for(var r=0;;){var i=n(-1),o=n(0),a=n(64),s=n(64);if(64===s&&-1===i)break;t(i<<2|o>>4),64!=a&&(t(o<<4&240|a>>2),64!=s&&t(a<<6&192|s))}}function Bn(){if(!kc){kc={},Sc={};for(var e=0;65>e;e++)kc[e]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(e),Sc[kc[e]]=e,62<=e&&(Sc["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(e)]=e)}}function Fn(e){this.c=e.sub,Wl(),this.a=e.provider_id||e.firebase&&e.firebase.sign_in_provider||null,this.b=!!e.is_anonymous||"anonymous"==this.a}function zn(e){return(e=Un(e))&&e.sub&&e.iss&&e.aud&&e.exp?new Fn(e):null}function Un(e){if(!e)return null;if(e=e.split("."),3!=e.length)return null;e=e[1];for(var t=(4-e.length%4)%4,n=0;n<t;n++)e+=".";try{return JSON.parse(jn(e))}catch(e){}return null}function Hn(e){for(var t in Ac)if(Ac[t].Na==e)return Ac[t];return null}function Gn(e){var t={};t["facebook.com"]=Kn,t["google.com"]=Zn,t["github.com"]=Yn,t["twitter.com"]=Xn;var n=e&&e[Ic];try{if(n)return t[n]?new t[n](e):new Vn(e);if("undefined"!==typeof e[Pc])return new qn(e)}catch(e){}return null}function qn(e){var t=e[Ic];if(!t&&e[Pc]){var n=zn(e[Pc]);n&&n.a&&(t=n.a)}if(!t)throw Error("Invalid additional user info!");"anonymous"!=t&&"custom"!=t||(t=null),n=!1,"undefined"!==typeof e.isNewUser?n=!!e.isNewUser:"identitytoolkit#SignupNewUserResponse"===e.kind&&(n=!0),kn(this,"providerId",t),kn(this,"isNewUser",n)}function Vn(e){qn.call(this,e),e=hn(e.rawUserInfo||"{}"),kn(this,"profile",Pn(e||{}))}function Kn(e){if(Vn.call(this,e),"facebook.com"!=this.providerId)throw Error("Invalid provider ID!")}function Yn(e){if(Vn.call(this,e),"github.com"!=this.providerId)throw Error("Invalid provider ID!");kn(this,"username",this.profile&&this.profile.login||null)}function Zn(e){if(Vn.call(this,e),"google.com"!=this.providerId)throw Error("Invalid provider ID!")}function Xn(e){if(Vn.call(this,e),"twitter.com"!=this.providerId)throw Error("Invalid provider ID!");kn(this,"username",e.screenName||null)}function Qn(e){this.a=nt(e)}function $n(e){var t=nt(e),n=tt(t,"link"),r=tt(nt(n),"link");return t=tt(t,"deep_link_id"),tt(nt(t),"link")||t||r||n||e}function Jn(e,t){return e.then(function(e){if(e[Xc]){var n=zn(e[Xc]);if(!n||t!=n.c)throw new Rn("user-mismatch");return e}throw new Rn("user-mismatch")}).s(function(e){throw e&&e.code&&e.code==mc+"user-not-found"?new Rn("user-mismatch"):e})}function er(e,t,n){if(t.idToken||t.accessToken)t.idToken&&kn(this,"idToken",t.idToken),t.accessToken&&kn(this,"accessToken",t.accessToken);else{if(!t.oauthToken||!t.oauthTokenSecret)throw new Rn("internal-error","failed to construct a credential");kn(this,"accessToken",t.oauthToken),kn(this,"secret",t.oauthTokenSecret)}kn(this,"providerId",e),kn(this,"signInMethod",n)}function tr(e){var t={};return e.idToken&&(t.id_token=e.idToken),e.accessToken&&(t.access_token=e.accessToken),e.secret&&(t.oauth_token_secret=e.secret),t.providerId=e.providerId,{postBody:ut(t).toString(),requestUri:"http://localhost"}}function nr(e,t){this.Cc=t||[],Sn(this,{providerId:e,isOAuthProvider:!0}),this.xb={},this.bb=(Hn(e)||{}).Ma||null,this.Za=null}function rr(e){nr.call(this,e,Oc),this.a=[]}function ir(){rr.call(this,"facebook.com")}function or(e){if(!e)throw new Rn("argument-error","credential failed: expected 1 argument (the OAuth access token).");var t=e;return u(e)&&(t=e.accessToken),(new ir).credential(null,t)}function ar(){rr.call(this,"github.com")}function sr(e){if(!e)throw new Rn("argument-error","credential failed: expected 1 argument (the OAuth access token).");var t=e;return u(e)&&(t=e.accessToken),(new ar).credential(null,t)}function lr(){rr.call(this,"google.com"),this.ta("profile")}function ur(e,t){var n=e;return u(e)&&(n=e.idToken,t=e.accessToken),(new lr).credential(n,t)}function cr(){nr.call(this,"twitter.com",Cc)}function dr(e,t){var n=e;if(u(n)||(n={oauthToken:e,oauthTokenSecret:t}),!n.oauthToken||!n.oauthTokenSecret)throw new Rn("argument-error","credential failed: expected 2 arguments (the OAuth access token and secret).");return new er("twitter.com",n,"twitter.com")}function fr(e,t,n){this.a=e,this.b=t,kn(this,"providerId","password"),kn(this,"signInMethod",n===hr.EMAIL_LINK_SIGN_IN_METHOD?hr.EMAIL_LINK_SIGN_IN_METHOD:hr.EMAIL_PASSWORD_SIGN_IN_METHOD)}function hr(){Sn(this,{providerId:"password",isOAuthProvider:!1})}function pr(e,t){if(!(t=mr(t)))throw new Rn("argument-error","Invalid email link!");return new fr(e,t,hr.EMAIL_LINK_SIGN_IN_METHOD)}function mr(e){e=$n(e),e=new Qn(e);var t=tt(e.a,"oobCode")||null;return"signIn"===(tt(e.a,"mode")||null)&&t?t:null}function gr(e){if(!(e.Sa&&e.Ra||e.Fa&&e.$))throw new Rn("internal-error");this.a=e,kn(this,"providerId","phone"),kn(this,"signInMethod","phone")}function vr(e){return e.a.Fa&&e.a.$?{temporaryProof:e.a.Fa,phoneNumber:e.a.$}:{sessionInfo:e.a.Sa,code:e.a.Ra}}function yr(e){try{this.a=e||r.a.auth()}catch(e){throw new Rn("argument-error","Either an instance of firebase.auth.Auth must be passed as an argument to the firebase.auth.PhoneAuthProvider constructor, or the default firebase App instance must be initialized via firebase.initializeApp().")}Sn(this,{providerId:"phone",isOAuthProvider:!1})}function br(e,t){if(!e)throw new Rn("missing-verification-id");if(!t)throw new Rn("missing-verification-code");return new gr({Sa:e,Ra:t})}function wr(e){if(e.temporaryProof&&e.phoneNumber)return new gr({Fa:e.temporaryProof,$:e.phoneNumber});var t=e&&e.providerId;if(!t||"password"===t)return null;var n=e&&e.oauthAccessToken,r=e&&e.oauthTokenSecret;e=e&&e.oauthIdToken;try{switch(t){case"google.com":return ur(e,n);case"facebook.com":return or(n);case"github.com":return sr(n);case"twitter.com":return dr(n,r);default:return new rr(t).credential(e,n)}}catch(e){return null}}function Er(e){if(!e.isOAuthProvider)throw new Rn("invalid-oauth-provider")}function Tr(e,t,n,r,i){if(this.b=e,this.c=t||null,this.f=n||null,this.g=r||null,this.a=i||null,!this.f&&!this.a)throw new Rn("invalid-auth-event");if(this.f&&this.a)throw new Rn("invalid-auth-event");if(this.f&&!this.g)throw new Rn("invalid-auth-event")}function _r(e){return e=e||{},e.type?new Tr(e.type,e.eventId,e.urlResponse,e.sessionId,e.error&&Nn(e.error)):null}function xr(){this.b=null,this.a=[]}function kr(e){var t="unauthorized-domain",n=void 0,r=nt(e);e=r.b,r=r.c,"chrome-extension"==r?n=R("This chrome extension ID (chrome-extension://%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",e):"http"==r||"https"==r?n=R("This domain (%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",e):t="operation-not-supported-in-this-environment",Rn.call(this,t,n)}function Sr(e,t,n){Rn.call(this,e,n),e=t||{},e.yb&&kn(this,"email",e.yb),e.$&&kn(this,"phoneNumber",e.$),e.credential&&kn(this,"credential",e.credential)}function Cr(e){if(e.code){var t=e.code||"";0==t.indexOf(mc)&&(t=t.substring(mc.length));var n={credential:wr(e)};if(e.email)n.yb=e.email;else if(e.phoneNumber)n.$=e.phoneNumber;else if(!n.credential)return new Rn(t,e.message||void 0);return new Sr(t,n,e.message)}return null}function Or(){}function Ar(e){return e.c||(e.c=e.b())}function Pr(){}function Ir(e){if(!e.f&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var t=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],n=0;n<t.length;n++){var r=t[n];try{return new ActiveXObject(r),e.f=r}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")}return e.f}function Rr(){}function Nr(){this.a=new XDomainRequest,this.readyState=0,this.onreadystatechange=null,this.responseText="",this.status=-1,this.statusText="",this.a.onload=f(this.dc,this),this.a.onerror=f(this.Eb,this),this.a.onprogress=f(this.ec,this),this.a.ontimeout=f(this.hc,this)}function Mr(e,t){e.readyState=t,e.onreadystatechange&&e.onreadystatechange()}function Dr(e,t,n){this.reset(e,t,n,void 0,void 0)}function Lr(e){this.f=e,this.b=this.c=this.a=null}function jr(e,t){this.name=e,this.value=t}function Wr(e){return e.c?e.c:e.a?Wr(e.a):(b("Root logger has no level set."),null)}function Br(e){zc||(zc=new Lr(""),Fc[""]=zc,zc.c=Wc);var t;if(!(t=Fc[e])){t=new Lr(e);var n=e.lastIndexOf("."),r=e.substr(n+1);n=Br(e.substr(0,n)),n.b||(n.b={}),n.b[r]=t,t.a=n,Fc[e]=t}return t}function Fr(e,t){e&&e.log(Bc,t,void 0)}function zr(e){this.f=e}function Ur(e){je.call(this),this.i=e,this.readyState=Uc,this.status=0,this.responseText=this.statusText="",this.onreadystatechange=null,this.g=new Headers,this.b=null,this.h="GET",this.c="",this.a=!1,this.f=Br("goog.net.FetchXmlHttp")}function Hr(e){e.onreadystatechange&&e.onreadystatechange.call(e)}function Gr(e){je.call(this),this.headers=new Ve,this.C=e||null,this.c=!1,this.w=this.a=null,this.h=this.N=this.m="",this.f=this.I=this.i=this.G=!1,this.g=0,this.u=null,this.o=Hc,this.v=this.O=!1}function qr(e,t,n,r,i){if(e.a)throw Error("[goog.net.XhrIo] Object is active with another request="+e.m+"; newUri="+t);n=n?n.toUpperCase():"GET",e.m=t,e.h="",e.N=n,e.G=!1,e.c=!0,e.a=e.C?e.C.a():Mc.a(),e.w=Ar(e.C?e.C:Mc),e.a.onreadystatechange=f(e.Ib,e);try{Fr(e.b,ni(e,"Opening Xhr")),e.I=!0,e.a.open(n,String(t),!0),e.I=!1}catch(t){return Fr(e.b,ni(e,"Error opening Xhr: "+t.message)),void Yr(e,t)}t=r||"";var o=new Ve(e.headers);i&&qe(i,function(e,t){o.set(t,e)}),i=S(o.U()),r=Dl.FormData&&t instanceof Dl.FormData,!C(qc,n)||i||r||o.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),o.forEach(function(e,t){this.a.setRequestHeader(t,e)},e),e.o&&(e.a.responseType=e.o),"withCredentials"in e.a&&e.a.withCredentials!==e.O&&(e.a.withCredentials=e.O);try{$r(e),0<e.g&&(e.v=Vr(e.a),Fr(e.b,ni(e,"Will abort after "+e.g+"ms if incomplete, xhr2 "+e.v)),e.v?(e.a.timeout=e.g,e.a.ontimeout=f(e.Ga,e)):e.u=ze(e.Ga,e.g,e)),Fr(e.b,ni(e,"Sending request")),e.i=!0,e.a.send(t),e.i=!1}catch(t){Fr(e.b,ni(e,"Send error: "+t.message)),Yr(e,t)}}function Vr(e){return mu&&ve(9)&&"number"==typeof e.timeout&&void 0!==e.ontimeout}function Kr(e){return"content-type"==e.toLowerCase()}function Yr(e,t){e.c=!1,e.a&&(e.f=!0,e.a.abort(),e.f=!1),e.h=t,Zr(e),Qr(e)}function Zr(e){e.G||(e.G=!0,e.dispatchEvent("complete"),e.dispatchEvent("error"))}function Xr(e){if(e.c&&"undefined"!=typeof Ml)if(e.w[1]&&4==Jr(e)&&2==ei(e))Fr(e.b,ni(e,"Local request error detected and ignored"));else if(e.i&&4==Jr(e))ze(e.Ib,0,e);else if(e.dispatchEvent("readystatechange"),4==Jr(e)){Fr(e.b,ni(e,"Request complete")),e.c=!1;try{var t=ei(e);e:switch(t){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var n=!0;break e;default:n=!1}var r;if(!(r=n)){var i;if(i=0===t){var o=String(e.m).match(ju)[1]||null;if(!o&&Dl.self&&Dl.self.location){var a=Dl.self.location.protocol;o=a.substr(0,a.length-1)}i=!Gc.test(o?o.toLowerCase():"")}r=i}if(r)e.dispatchEvent("complete"),e.dispatchEvent("success");else{try{var s=2<Jr(e)?e.a.statusText:""}catch(t){Fr(e.b,"Can not get status: "+t.message),s=""}e.h=s+" ["+ei(e)+"]",Zr(e)}}finally{Qr(e)}}}function Qr(e,t){if(e.a){$r(e);var r=e.a,i=e.w[0]?n:null;e.a=null,e.w=null,t||e.dispatchEvent("ready");try{r.onreadystatechange=i}catch(t){(e=e.b)&&e.log(Lc,"Problem encountered resetting onreadystatechange: "+t.message,void 0)}}}function $r(e){e.a&&e.v&&(e.a.ontimeout=null),e.u&&(Dl.clearTimeout(e.u),e.u=null)}function Jr(e){return e.a?e.a.readyState:0}function ei(e){try{return 2<Jr(e)?e.a.status:-1}catch(e){return-1}}function ti(e){try{return e.a?e.a.responseText:""}catch(t){return Fr(e.b,"Can not get responseText: "+t.message),""}}function ni(e,t){return t+" ["+e.N+" "+e.m+" "+ei(e)+"]"}function ri(e,t){this.g=[],this.v=e,this.u=t||null,this.f=this.a=!1,this.c=void 0,this.m=this.w=this.i=!1,this.h=0,this.b=null,this.l=0}function ii(e,t,n){e.a=!0,e.c=n,e.f=!t,ui(e)}function oi(e){if(e.a){if(!e.m)throw new ci(e);e.m=!1}}function ai(e,t){si(e,null,t,void 0)}function si(e,t,n,r){e.g.push([t,n,r]),e.a&&ui(e)}function li(e){return Gl(e.g,function(e){return l(e[1])})}function ui(e){if(e.h&&e.a&&li(e)){var t=e.h,n=Vc[t];n&&(Dl.clearTimeout(n.a),delete Vc[t]),e.h=0}e.b&&(e.b.l--,delete e.b),t=e.c;for(var r=n=!1;e.g.length&&!e.i;){var i=e.g.shift(),o=i[0],a=i[1];if(i=i[2],o=e.f?a:o)try{var s=o.call(i||e.u,t);void 0!==s&&(e.f=e.f&&(s==t||s instanceof Error),e.c=t=s),(g(t)||"function"===typeof Dl.Promise&&t instanceof Dl.Promise)&&(r=!0,e.i=!0)}catch(r){t=r,e.f=!0,li(e)||(n=!0)}}e.c=t,r&&(s=f(e.o,e,!0),r=f(e.o,e,!1),t instanceof ri?(si(t,s,r),t.w=!0):t.then(s,r)),n&&(t=new fi(t),Vc[t.a]=t,e.h=t.a)}function ci(){v.call(this)}function di(){v.call(this)}function fi(e){this.a=Dl.setTimeout(f(this.c,this),0),this.b=e}function hi(e){var t={},n=t.document||document,r=bt(e),i=document.createElement("SCRIPT"),o={Kb:i,Ga:void 0},a=new ri(mi,o),s=null,l=null!=t.timeout?t.timeout:5e3;return 0<l&&(s=window.setTimeout(function(){gi(i,!0);var e=new vi(Yc,"Timeout reached for loading script "+r);oi(a),ii(a,!1,e)},l),o.Ga=s),i.onload=i.onreadystatechange=function(){i.readyState&&"loaded"!=i.readyState&&"complete"!=i.readyState||(gi(i,t.ed||!1,s),a.C())},i.onerror=function(){gi(i,!0,s);var e=new vi(Kc,"Error while loading script "+r);oi(a),ii(a,!1,e)},o=t.attributes||{},F(o,{type:"text/javascript",charset:"UTF-8"}),Pt(i,o),i.src=bt(e),pi(n).appendChild(i),a}function pi(e){var t;return(t=(e||document).getElementsByTagName("HEAD"))&&0!=t.length?t[0]:e.documentElement}function mi(){if(this&&this.Kb){var e=this.Kb;e&&"SCRIPT"==e.tagName&&gi(e,!0,this.Ga)}}function gi(e,t,r){null!=r&&Dl.clearTimeout(r),e.onload=n,e.onerror=n,e.onreadystatechange=n,t&&window.setTimeout(function(){e&&e.parentNode&&e.parentNode.removeChild(e)},0)}function vi(e,t){var n="Jsloader error (code #"+e+")";t&&(n+=": "+t),v.call(this,n),this.code=e}function yi(e){this.f=e}function bi(e,t,n){if(this.b=e,e=t||{},this.i=e.secureTokenEndpoint||"https://securetoken.googleapis.com/v1/token",this.l=e.secureTokenTimeout||Qc,this.f=B(e.secureTokenHeaders||$c),this.g=e.firebaseEndpoint||"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",this.h=e.firebaseTimeout||Jc,this.a=B(e.firebaseHeaders||ed),n&&(this.a["X-Client-Version"]=n,this.f["X-Client-Version"]=n),n="Node"==$t(),!(n=Dl.XMLHttpRequest||n&&r.a.INTERNAL.node&&r.a.INTERNAL.node.XMLHttpRequest)&&!Qt())throw new Rn("internal-error","The XMLHttpRequest compatibility library was not found.");this.c=void 0,Qt()?this.c=new zr(self):Jt()?this.c=new yi(n):this.c=new Rr}function wi(e,t){t?e.a["X-Firebase-Locale"]=t:delete e.a["X-Firebase-Locale"]}function Ei(e,t){t?(e.a["X-Client-Version"]=t,e.f["X-Client-Version"]=t):(delete e.a["X-Client-Version"],delete e.f["X-Client-Version"])}function Ti(e,t,n,r,i,o,a){Ut()||Qt()?e=f(e.o,e):(Zc||(Zc=new V(function(e,t){_i(e,t)})),e=f(e.m,e)),e(t,n,r,i,o,a)}function _i(e,t){if(((window.gapi||{}).client||{}).request)e();else{Dl[nd]=function(){((window.gapi||{}).client||{}).request?e():t(Error("CORS_UNSUPPORTED"))};ai(hi(wt(td,{onload:nd})),function(){t(Error("CORS_UNSUPPORTED"))})}}function xi(e,t){return new V(function(n,r){"refresh_token"==t.grant_type&&t.refresh_token||"authorization_code"==t.grant_type&&t.code?Ti(e,e.i+"?key="+encodeURIComponent(e.b),function(e){e?e.error?r(Hi(e)):e.access_token&&e.refresh_token?n(e):r(new Rn("internal-error")):r(new Rn("network-request-failed"))},"POST",ut(t).toString(),e.f,e.l.get()):r(new Rn("internal-error"))})}function ki(e,t,n,r,i,o){var a=nt(e.g+t);et(a,"key",e.b),o&&et(a,"cb",Wl().toString());var s="GET"==n;if(s)for(var l in r)r.hasOwnProperty(l)&&et(a,l,r[l]);return new V(function(t,o){Ti(e,a.toString(),function(e){e?e.error?o(Hi(e,i||{})):t(e):o(new Rn("network-request-failed"))},n,s?void 0:Mt(fn(r)),e.a,e.h.get())})}function Si(e){if(!Nc.test(e.email))throw new Rn("invalid-email")}function Ci(e){"email"in e&&Si(e)}function Oi(e,t){return zi(e,ld,{identifier:t,continueUri:ln()?Bt():"http://localhost"}).then(function(e){return e.allProviders||[]})}function Ai(e,t){return zi(e,ld,{identifier:t,continueUri:ln()?Bt():"http://localhost"}).then(function(e){return e.signinMethods||[]})}function Pi(e){return zi(e,vd,{}).then(function(e){return e.authorizedDomains||[]})}function Ii(e){if(!e[Xc])throw new Rn("internal-error")}function Ri(e){if(e.phoneNumber||e.temporaryProof){if(!e.phoneNumber||!e.temporaryProof)throw new Rn("internal-error")}else{if(!e.sessionInfo)throw new Rn("missing-verification-id");if(!e.code)throw new Rn("missing-verification-code")}}function Ni(e,t){return zi(e,wd,t)}function Mi(e,t,n){return zi(e,cd,{idToken:t,deleteProvider:n})}function Di(e){if(!e.requestUri||!e.sessionId&&!e.postBody)throw new Rn("internal-error")}function Li(e){var t=null;if(e.needConfirmation?(e.code="account-exists-with-different-credential",t=Cr(e)):"FEDERATED_USER_ID_ALREADY_LINKED"==e.errorMessage?(e.code="credential-already-in-use",t=Cr(e)):"EMAIL_EXISTS"==e.errorMessage?(e.code="email-already-in-use",t=Cr(e)):e.errorMessage&&(t=Ui(e.errorMessage)),t)throw t;if(!e[Xc])throw new Rn("internal-error")}function ji(e,t){return t.returnIdpCredential=!0,zi(e,xd,t)}function Wi(e,t){return t.returnIdpCredential=!0,zi(e,Sd,t)}function Bi(e,t){return t.returnIdpCredential=!0,t.autoCreate=!1,zi(e,kd,t)}function Fi(e){if(!e.oobCode)throw new Rn("invalid-action-code")}function zi(e,t,n){if(!An(n,t.T))return X(new Rn("internal-error"));var r,i=t.Hb||"POST";return Z(n).then(t.B).then(function(){return t.R&&(n.returnSecureToken=!0),ki(e,t.endpoint,i,n,t.Wb,t.tb||!1)}).then(function(e){return r=e}).then(t.J).then(function(){if(!t.da)return r;if(!(t.da in r))throw new Rn("internal-error");return r[t.da]})}function Ui(e){return Hi({error:{errors:[{message:e}],code:400,message:e}})}function Hi(e,t){var n=(e.error&&e.error.errors&&e.error.errors[0]||{}).reason||"",r={keyInvalid:"invalid-api-key",ipRefererBlocked:"app-not-authorized"};if(n=r[n]?new Rn(r[n]):null)return n;n=e.error&&e.error.message||"",r={INVALID_CUSTOM_TOKEN:"invalid-custom-token",CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_EMAIL:"invalid-email",INVALID_PASSWORD:"wrong-password",USER_DISABLED:"user-disabled",MISSING_PASSWORD:"internal-error",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",INVALID_MESSAGE_PAYLOAD:"invalid-message-payload",INVALID_RECIPIENT_EMAIL:"invalid-recipient-email",INVALID_SENDER:"invalid-sender",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",INVALID_PROVIDER_ID:"invalid-provider-id",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",CORS_UNSUPPORTED:"cors-unsupported",DYNAMIC_LINK_NOT_ACTIVATED:"dynamic-link-not-activated",INVALID_APP_ID:"invalid-app-id",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",WEAK_PASSWORD:"weak-password",OPERATION_NOT_ALLOWED:"operation-not-allowed",USER_CANCELLED:"user-cancelled",CAPTCHA_CHECK_FAILED:"captcha-check-failed",INVALID_APP_CREDENTIAL:"invalid-app-credential",INVALID_CODE:"invalid-verification-code",INVALID_PHONE_NUMBER:"invalid-phone-number",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_APP_CREDENTIAL:"missing-app-credential",MISSING_CODE:"missing-verification-code",MISSING_PHONE_NUMBER:"missing-phone-number",MISSING_SESSION_INFO:"missing-verification-id",QUOTA_EXCEEDED:"quota-exceeded",SESSION_EXPIRED:"code-expired",INVALID_CONTINUE_URI:"invalid-continue-uri",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",MISSING_IOS_BUNDLE_ID:"missing-ios-bundle-id",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",INVALID_CERT_HASH:"invalid-cert-hash"},F(r,t||{}),t=(t=n.match(/^[^\s]+\s*:\s*(.*)$/))&&1<t.length?t[1]:void 0;for(var i in r)if(0===n.indexOf(i))return new Rn(r[i],t);return!t&&e&&(t=dn(e)),new Rn("internal-error",t)}function Gi(e){for(var t in Rd)if(Rd[t].id===e)return e=Rd[t],{firebaseEndpoint:e.$a,secureTokenEndpoint:e.hb};return null}function qi(e){this.b=e,this.a=null,this.eb=Vi(this)}function Vi(e){return Zi().then(function(){return new V(function(t,n){on("gapi.iframes.getContext")().open({where:document.body,url:e.b,messageHandlersFilter:on("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"),attributes:{style:{position:"absolute",top:"-100px",width:"1px",height:"1px"}},dontclear:!0},function(r){function i(){clearTimeout(o),t()}e.a=r,e.a.restyle({setHideOnLeave:!1});var o=setTimeout(function(){n(Error("Network Error"))},Dd.get());r.ping(i).then(i,function(){n(Error("Network Error"))})})})})}function Ki(e,t){return e.eb.then(function(){return new V(function(n){e.a.send(t.type,t,n,on("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))})})}function Yi(e,t){e.eb.then(function(){e.a.register("authEvent",t,on("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))})}function Zi(){return Ld||(Ld=new V(function(e,t){function n(){gn(),on("gapi.load")("gapi.iframes",{callback:e,ontimeout:function(){gn(),t(Error("Network Error"))},timeout:Md.get()})}if(on("gapi.iframes.Iframe"))e();else if(on("gapi.load"))n();else{var r="__iframefcb"+Math.floor(1e6*Math.random()).toString();Dl[r]=function(){on("gapi.load")?n():t(Error("Network Error"))},r=wt(Nd,{onload:r}),Z(hi(r)).s(function(){t(Error("Network Error"))})}}).s(function(e){throw Ld=null,e}))}function Xi(e,t,n){this.i=e,this.g=t,this.h=n,this.f=null,this.a=rt(this.i,"/__/auth/iframe"),et(this.a,"apiKey",this.g),et(this.a,"appName",this.h),this.b=null,this.c=[]}function Qi(e,t,n,r,i){this.o=e,this.m=t,this.c=n,this.l=r,this.h=this.g=this.i=null,this.a=i,this.f=null}function $i(e){try{return r.a.app(e).auth().xa()}catch(e){return[]}}function Ji(e,t,n,r,i){this.m=e,this.f=t,this.b=n,this.c=r||null,this.h=i||null,this.o=this.u=this.v=null,this.g=[],this.l=this.a=null}function eo(e){var t=Bt();return Pi(e).then(function(e){e:{var n=nt(t),r=n.c;n=n.b;for(var i=0;i<e.length;i++){var o=e[i],a=n,s=r;if(0==o.indexOf("chrome-extension://")?a=nt(o).b==a&&"chrome-extension"==s:"http"!=s&&"https"!=s?a=!1:ec.test(o)?a=a==o:(o=o.split(".").join("\\."),a=new RegExp("^(.+\\."+o+"|"+o+")$","i").test(a)),a){e=!0;break e}}e=!1}if(!e)throw new kr(Bt())})}function to(e){return e.l?e.l:(e.l=Kt().then(function(){if(!e.u){var t=e.c,n=e.h,r=$i(e.b),i=new Xi(e.m,e.f,e.b);i.f=t,i.b=n,i.c=I(r||[]),e.u=i.toString()}e.i=new qi(e.u),io(e)}),e.l)}function no(e){return e.o||(e.v=e.c?nn(e.c,$i(e.b)):null,e.o=new bi(e.f,Gi(e.h),e.v)),e.o}function ro(e,t,n,r,i,o,a,s,l,u){return e=new Qi(e,t,n,r,i),e.i=o,e.g=a,e.h=s,e.b=B(l||null),e.f=u,e.toString()}function io(e){if(!e.i)throw Error("IfcHandler must be initialized!");Yi(e.i,function(t){var n={};if(t&&t.authEvent){var r=!1;for(t=_r(t.authEvent),n=0;n<e.g.length;n++)r=e.g[n](t)||r;return n={},n.status=r?"ACK":"ERROR",Z(n)}return n.status="ERROR",Z(n)})}function oo(e){var t={type:"webStorageSupport"};return to(e).then(function(){return Ki(e.i,t)}).then(function(e){if(e&&e.length&&"undefined"!==typeof e[0].webStorageSupport)return e[0].webStorageSupport;throw Error()})}function ao(e){if(this.a=e||r.a.INTERNAL.reactNative&&r.a.INTERNAL.reactNative.AsyncStorage,!this.a)throw new Rn("internal-error","The React Native compatibility library was not found.");this.type="asyncStorage"}function so(e){this.b=e,this.a={},this.c=f(this.f,this)}function lo(){var e=Qt()?self:null;if(Ul(jd,function(n){n.b==e&&(t=n)}),!t){var t=new so(e);jd.push(t)}return t}function uo(e){this.a=e}function co(e){this.c=e,this.b=!1,this.a=[]}function fo(e,t,n,r){var i,o,a,s,l=n||{},u=null;if(e.b)return X(Error("connection_unavailable"));var c=r?800:50,d="undefined"!==typeof MessageChannel?new MessageChannel:null;return new V(function(n,r){d?(i=Math.floor(Math.random()*Math.pow(10,20)).toString(),d.port1.start(),a=setTimeout(function(){r(Error("unsupported_event"))},c),o=function(e){e.data.eventId===i&&("ack"===e.data.status?(clearTimeout(a),s=setTimeout(function(){r(Error("timeout"))},3e3)):"done"===e.data.status?(clearTimeout(s),"undefined"!==typeof e.data.response?n(e.data.response):r(Error("unknown_error"))):(clearTimeout(a),clearTimeout(s),r(Error("invalid_response"))))},u={messageChannel:d,onMessage:o},e.a.push(u),d.port1.addEventListener("message",o),e.c.postMessage({eventType:t,eventId:i,data:l},[d.port2])):r(Error("connection_unavailable"))}).then(function(t){return ho(e,u),t}).s(function(t){throw ho(e,u),t})}function ho(e,t){if(t){var n=t.messageChannel,r=t.onMessage;n&&(n.port1.removeEventListener("message",r),n.port1.close()),A(e.a,function(e){return e==t})}}function po(){if(!yo())throw new Rn("web-storage-unsupported");this.c={},this.a=[],this.b=0,this.m=Dl.indexedDB,this.type="indexedDB",this.g=this.l=this.f=this.i=null,this.u=!1,this.h=null;var e=this;Qt()&&self?(this.l=lo(),this.l.subscribe("keyChanged",function(t,n){return _o(e).then(function(t){return 0<t.length&&Ul(e.a,function(e){e(t)}),{keyProcessed:C(t,n.key)}})}),this.l.subscribe("ping",function(){return Z(["keyChanged"])})):_n().then(function(t){(e.h=t)&&(e.g=new co(new uo(t)),fo(e.g,"ping",null,!0).then(function(t){t[0].fulfilled&&C(t[0].value,"keyChanged")&&(e.u=!0)}).s(function(){}))})}function mo(e){return new V(function(t,n){var r=e.m.deleteDatabase("firebaseLocalStorageDb");r.onsuccess=function(){t()},r.onerror=function(e){n(Error(e.target.error))}})}function go(e){return new V(function(t,n){var r=e.m.open("firebaseLocalStorageDb",1);r.onerror=function(e){try{e.preventDefault()}catch(e){}n(Error(e.target.error))},r.onupgradeneeded=function(e){e=e.target.result;try{e.createObjectStore("firebaseLocalStorage",{keyPath:"fbase_key"})}catch(e){n(e)}},r.onsuccess=function(r){r=r.target.result,r.objectStoreNames.contains("firebaseLocalStorage")?t(r):mo(e).then(function(){return go(e)}).then(function(e){t(e)}).s(function(e){n(e)})}})}function vo(e){return e.o||(e.o=go(e)),e.o}function yo(){try{return!!Dl.indexedDB}catch(e){return!1}}function bo(e){return e.objectStore("firebaseLocalStorage")}function wo(e,t){return e.transaction(["firebaseLocalStorage"],t?"readwrite":"readonly")}function Eo(e){return new V(function(t,n){e.onsuccess=function(e){e&&e.target?t(e.target.result):t()},e.onerror=function(e){n(Error(e.target.errorCode))}})}function To(e,t){return e.g&&e.h&&Tn()===e.h?fo(e.g,"keyChanged",{key:t},e.u).then(function(){}).s(function(){}):Z()}function _o(e){return vo(e).then(function(e){var t=bo(wo(e,!1));return t.getAll?Eo(t.getAll()):new V(function(e,n){var r=[],i=t.openCursor();i.onsuccess=function(t){(t=t.target.result)?(r.push(t.value),t.continue()):e(r)},i.onerror=function(e){n(Error(e.target.errorCode))}})}).then(function(t){var n={},r=[];if(0==e.b){for(r=0;r<t.length;r++)n[t[r].fbase_key]=t[r].value;r=zt(e.c,n),e.c=n}return r})}function xo(e){function t(){e.f=setTimeout(function(){e.i=_o(e).then(function(t){0<t.length&&Ul(e.a,function(e){e(t)})}).then(function(){t()}).s(function(e){"STOP_EVENT"!=e.message&&t()})},800)}ko(e),t()}function ko(e){e.i&&e.i.cancel("STOP_EVENT"),e.f&&(clearTimeout(e.f),e.f=null)}function So(e){var t=this,n=null;this.a=[],this.type="indexedDB",this.c=e,this.b=Z().then(function(){if(yo()){var e=pn(),r="__sak"+e;return Wd||(Wd=new po),n=Wd,n.set(r,e).then(function(){return n.get(r)}).then(function(t){if(t!==e)throw Error("indexedDB not supported!");return n.P(r)}).then(function(){return n}).s(function(){return t.c})}return t.c}).then(function(e){return t.type=e.type,e.Y(function(e){Ul(t.a,function(t){t(e)})}),e})}function Co(){this.a={},this.type="inMemory"}function Oo(){if(!Po()){if("Node"==$t())throw new Rn("internal-error","The LocalStorage compatibility library was not found.");throw new Rn("web-storage-unsupported")}this.a=Ao()||r.a.INTERNAL.node.localStorage,this.type="localStorage"}function Ao(){try{var e=Dl.localStorage,t=pn();return e&&(e.setItem(t,"1"),e.removeItem(t)),e}catch(e){return null}}function Po(){var e="Node"==$t();if(!(e=Ao()||e&&r.a.INTERNAL.node&&r.a.INTERNAL.node.localStorage))return!1;try{return e.setItem("__sak","1"),e.removeItem("__sak"),!0}catch(e){return!1}}function Io(){this.type="nullStorage"}function Ro(){if(!Mo()){if("Node"==$t())throw new Rn("internal-error","The SessionStorage compatibility library was not found.");throw new Rn("web-storage-unsupported")}this.a=No()||r.a.INTERNAL.node.sessionStorage,this.type="sessionStorage"}function No(){try{var e=Dl.sessionStorage,t=pn();return e&&(e.setItem(t,"1"),e.removeItem(t)),e}catch(e){return null}}function Mo(){var e="Node"==$t();if(!(e=No()||e&&r.a.INTERNAL.node&&r.a.INTERNAL.node.sessionStorage))return!1;try{return e.setItem("__sak","1"),e.removeItem("__sak"),!0}catch(e){return!1}}function Do(){var e={};e.Browser=zd,e.Node=Ud,e.ReactNative=Hd,e.Worker=Gd,this.a=e[$t()]}function Lo(e){var t=new Rn("invalid-persistence-type"),n=new Rn("unsupported-persistence-type");e:{for(r in qd)if(qd[r]==e){var r=!0;break e}r=!1}if(!r||"string"!==typeof e)throw t;switch($t()){case"ReactNative":if("session"===e)throw n;break;case"Node":if("none"!==e)throw n;break;default:if(!an()&&"none"!==e)throw n}}function jo(){var e=!(mn(rn())||!Xt()),t=cn(),n=an();this.o=e,this.h=t,this.l=n,this.a={},Bd||(Bd=new Do),e=Bd;try{this.g=!Wt()&&En()||!Dl.indexedDB?new e.a.A:new So(Qt()?new Co:new e.a.A)}catch(e){this.g=new Co,this.h=!0}try{this.i=new e.a.Qa}catch(e){this.i=new Co}this.m=new Co,this.f=f(this.Ob,this),this.b={}}function Wo(){return Fd||(Fd=new jo),Fd}function Bo(e,t){switch(t){case"session":return e.i;case"none":return e.m;default:return e.g}}function Fo(e,t){return"firebase:"+e.name+(t?":"+t:"")}function zo(e,t,n){var r=Fo(t,n),i=Bo(e,t.A);return e.get(t,n).then(function(o){var a=null;try{a=hn(Dl.localStorage.getItem(r))}catch(e){}if(a&&!o)return Dl.localStorage.removeItem(r),e.set(t,a,n);a&&o&&"localStorage"!=i.type&&Dl.localStorage.removeItem(r)})}function Uo(e,t,n){return n=Fo(t,n),"local"==t.A&&(e.b[n]=null),Bo(e,t.A).P(n)}function Ho(e){Go(e),e.c=setInterval(function(){for(var t in e.a){var n=Dl.localStorage.getItem(t),r=e.b[t];n!=r&&(e.b[t]=n,n=new be({type:"storage",key:t,target:window,oldValue:r,newValue:n,a:!0}),e.Ob(n))}},1e3)}function Go(e){e.c&&(clearInterval(e.c),e.c=null)}function qo(e){this.a=e,this.b=Wo()}function Vo(e){return e.b.get(Kd,e.a).then(function(e){return _r(e)})}function Ko(){this.a=Wo()}function Yo(){this.b=-1}function Zo(e,t){this.b=Yd,this.f=Dl.Uint8Array?new Uint8Array(this.b):Array(this.b),this.g=this.c=0,this.a=[],this.i=e,this.h=t,this.l=Dl.Int32Array?new Int32Array(64):Array(64),void 0!==Vd||(Vd=Dl.Int32Array?new Int32Array(Jd):Jd),this.reset()}function Xo(e){for(var t=e.f,n=e.l,r=0,i=0;i<t.length;)n[r++]=t[i]<<24|t[i+1]<<16|t[i+2]<<8|t[i+3],i=4*r;for(t=16;64>t;t++){i=0|n[t-15],r=0|n[t-2];var o=(0|n[t-16])+((i>>>7|i<<25)^(i>>>18|i<<14)^i>>>3)|0,a=(0|n[t-7])+((r>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)|0;n[t]=o+a|0}r=0|e.a[0],i=0|e.a[1];var s=0|e.a[2],l=0|e.a[3],u=0|e.a[4],c=0|e.a[5],d=0|e.a[6];for(o=0|e.a[7],t=0;64>t;t++){var f=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&i^r&s^i&s)|0;a=u&c^~u&d,o=o+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))|0,a=a+(0|Vd[t])|0,a=o+(a+(0|n[t])|0)|0,o=d,d=c,c=u,u=l+a|0,l=s,s=i,i=r,r=a+f|0}e.a[0]=e.a[0]+r|0,e.a[1]=e.a[1]+i|0,e.a[2]=e.a[2]+s|0,e.a[3]=e.a[3]+l|0,e.a[4]=e.a[4]+u|0,e.a[5]=e.a[5]+c|0,e.a[6]=e.a[6]+d|0,e.a[7]=e.a[7]+o|0}function Qo(t,n,r){void 0===r&&(r=n.length);var i=0,o=t.c;if(e(n))for(;i<r;)t.f[o++]=n.charCodeAt(i++),o==t.b&&(Xo(t),o=0);else{if(!s(n))throw Error("message must be string or array");for(;i<r;){var a=n[i++];if(!("number"==typeof a&&0<=a&&255>=a&&a==(0|a)))throw Error("message must be a byte array");t.f[o++]=a,o==t.b&&(Xo(t),o=0)}}t.c=o,t.g+=r}function $o(){Zo.call(this,8,ef)}function Jo(e,t,n,r,i){this.m=e,this.i=t,this.l=n,this.o=r||null,this.u=i||null,this.h=t+":"+n,this.v=new Ko,this.g=new qo(this.h),this.f=null,this.b=[],this.a=this.c=null}function ea(e){return new Rn("invalid-cordova-configuration",e)}function ta(){for(var e=20,t=[];0<e;)t.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),e--;return t.join("")}function na(e){var t=new $o;Qo(t,e),e=[];var n=8*t.g;56>t.c?Qo(t,$d,56-t.c):Qo(t,$d,t.b-(t.c-56));for(var r=63;56<=r;r--)t.f[r]=255&n,n/=256;for(Xo(t),r=n=0;r<t.i;r++)for(var i=24;0<=i;i-=8)e[n++]=t.a[r]>>i&255;return Ln(e)}function ra(e,t,n,r){var i=ta(),o=new Tr(t,r,null,i,new Rn("no-auth-event")),a=on("BuildInfo.packageName",Dl);if("string"!==typeof a)throw new Rn("invalid-cordova-configuration");var s=on("BuildInfo.displayName",Dl),l={};if(rn().toLowerCase().match(/iphone|ipad|ipod/))l.ibi=a;else{if(!rn().toLowerCase().match(/android/))return X(new Rn("operation-not-supported-in-this-environment"));l.apn=a}s&&(l.appDisplayName=s),i=na(i),l.sessionId=i;var u=ro(e.m,e.i,e.l,t,n,null,r,e.o,l,e.u);return e.ga().then(function(){var t=e.h;return e.v.a.set(Kd,o.D(),t)}).then(function(){var t=on("cordova.plugins.browsertab.isAvailable",Dl);if("function"!==typeof t)throw new Rn("invalid-cordova-configuration");var n=null;t(function(t){if(t){if("function"!==typeof(n=on("cordova.plugins.browsertab.openUrl",Dl)))throw new Rn("invalid-cordova-configuration");n(u)}else{if("function"!==typeof(n=on("cordova.InAppBrowser.open",Dl)))throw new Rn("invalid-cordova-configuration");t=rn(),t=!(!t.match(/(iPad|iPhone|iPod).*OS 7_\d/i)&&!t.match(/(iPad|iPhone|iPod).*OS 8_\d/i)),e.a=n(u,t?"_blank":"_system","location=yes")}})})}function ia(e,t){for(var n=0;n<e.b.length;n++)try{e.b[n](t)}catch(e){}}function oa(e){return e.f||(e.f=e.ga().then(function(){return new V(function(t){function n(r){return t(r),e.Ka(n),!1}e.va(n),sa(e)})})),e.f}function aa(e){var t=null;return Vo(e.g).then(function(n){return t=n,n=e.g,Uo(n.b,Kd,n.a)}).then(function(){return t})}function sa(e){function t(t){r=!0,i&&i.cancel(),aa(e).then(function(r){var i=n;if(r&&t&&t.url){var o=null;i=$n(t.url),-1!=i.indexOf("/__/auth/callback")&&(o=nt(i),o=hn(tt(o,"firebaseError")||null),o=(o="object"===typeof o?Nn(o):null)?new Tr(r.b,r.c,null,null,o):new Tr(r.b,r.c,i,r.g)),i=o||n}ia(e,i)})}var n=new Tr("unknown",null,null,null,new Rn("no-auth-event")),r=!1,i=Ue(500).then(function(){return aa(e).then(function(){r||ia(e,n)})}),o=Dl.handleOpenURL;Dl.handleOpenURL=function(e){if(0==e.toLowerCase().indexOf(on("BuildInfo.packageName",Dl).toLowerCase()+"://")&&t({url:e}),"function"===typeof o)try{o(e)}catch(e){console.error(e)}},Rc||(Rc=new xr),Rc.subscribe(t)}function la(e){this.a=e,this.b=Wo()}function ua(e){return e.b.set(tf,"pending",e.a)}function ca(e){return Uo(e.b,tf,e.a)}function da(e){return e.b.get(tf,e.a).then(function(e){return"pending"==e})}function fa(e,t,n){this.u=e,this.l=t,this.m=n,this.h=[],this.f=!1,this.i=f(this.ab,this),this.b=new ba,this.o=new Sa,this.g=new la(this.l+":"+this.m),this.c={},this.c.unknown=this.b,this.c.signInViaRedirect=this.b,this.c.linkViaRedirect=this.b,this.c.reauthViaRedirect=this.b,this.c.signInViaPopup=this.o,this.c.linkViaPopup=this.o,this.c.reauthViaPopup=this.o,this.a=ha(this.u,this.l,this.m,id)}function ha(e,t,n,i){var o=r.a.SDK_VERSION||null;return Zt()?new Jo(e,t,n,o,i):new Ji(e,t,n,o,i)}function pa(e){e.f||(e.f=!0,e.a.va(e.i));var t=e.a;return e.a.ga().s(function(n){throw e.a==t&&e.reset(),n})}function ma(e){e.a.Lb()&&pa(e).s(function(t){var n=new Tr("unknown",null,null,null,new Rn("operation-not-supported-in-this-environment"));va(t)&&e.ab(n)}),e.a.Gb()||wa(e.b)}function ga(e,t,n,r,i,o){return e.a.Bb(t,n,r,function(){e.f||(e.f=!0,e.a.va(e.i))},function(){e.reset()},i,o)}function va(e){return!(!e||"auth/cordova-not-ready"!=e.code)}function ya(e,t,n){var r=t+":"+n;return of[r]||(of[r]=new fa(e,t,n)),of[r]}function ba(){this.b=null,this.f=[],this.c=[],this.a=null,this.i=this.g=!1}function wa(e){e.g||(e.g=!0,xa(e,!1,null,null))}function Ea(e,t,n){n=n.wa(t.b,t.c);var r=t.f,i=t.g,o=!!t.b.match(/Redirect$/);n(r,i).then(function(t){xa(e,o,t,null)}).s(function(t){xa(e,o,null,t)})}function Ta(e,t){if(e.b=function(){return X(t)},e.c.length)for(var n=0;n<e.c.length;n++)e.c[n](t)}function _a(e,t){if(e.b=function(){return Z(t)},e.f.length)for(var n=0;n<e.f.length;n++)e.f[n](t)}function xa(e,t,n,r){t?r?Ta(e,r):_a(e,n):_a(e,{user:null}),e.f=[],e.c=[]}function ka(e){var t=new Rn("timeout");e.a&&e.a.cancel(),e.a=Ue(rf.get()).then(function(){e.b||(e.g=!0,xa(e,!0,null,t))})}function Sa(){}function Ca(e,t){var n=e.c,r=e.b;t.wa(r,n)(e.f,e.g).then(function(e){t.ha(r,e,null,n)}).s(function(e){t.ha(r,null,e,n)})}function Oa(){this.rb=!1,Object.defineProperty(this,"appVerificationDisabled",{get:function(){return this.rb},set:function(e){this.rb=e},enumerable:!1})}function Aa(e,t){this.a=t,kn(this,"verificationId",e)}function Pa(e,t,n,r){return new yr(e).Ta(t,n).then(function(e){return new Aa(e,r)})}function Ia(e){var t=Un(e);if(!(t&&t.exp&&t.auth_time&&t.iat))throw new Rn("internal-error","An internal error occurred. The token obtained by Firebase appears to be malformed. Please retry the operation.");Sn(this,{token:e,expirationTime:wn(1e3*t.exp),authTime:wn(1e3*t.auth_time),issuedAtTime:wn(1e3*t.iat),signInProvider:t.firebase&&t.firebase.sign_in_provider?t.firebase.sign_in_provider:null,claims:t})}function Ra(e,t,n){if(this.h=e,this.i=t,this.g=n,this.c=3e4,this.f=96e4,this.b=null,this.a=this.c,this.f<this.c)throw Error("Proactive refresh lower bound greater than upper bound!")}function Na(e,t){return t?(e.a=e.c,e.g()):(t=e.a,e.a*=2,e.a>e.f&&(e.a=e.f),t)}function Ma(e,t){e.stop(),e.b=Ue(Na(e,t)).then(function(){return bn()}).then(function(){return e.h()}).then(function(){Ma(e,!0)}).s(function(t){e.i(t)&&Ma(e,!1)})}function Da(e){this.f=e,this.b=this.a=null,this.c=0}function La(e,t){var n=t[Xc],r=t.refreshToken;t=Wa(t.expiresIn),e.b=n,e.c=t,e.a=r}function ja(e,t){e.b=t.b,e.a=t.a,e.c=t.c}function Wa(e){return Wl()+1e3*parseInt(e,10)}function Ba(e,t){return xi(e.f,t).then(function(t){return e.b=t.access_token,e.c=Wa(t.expires_in),e.a=t.refresh_token,{accessToken:e.b,expirationTime:e.c,refreshToken:e.a}}).s(function(t){throw"auth/user-token-expired"==t.code&&(e.a=null),t})}function Fa(e,t){this.a=e||null,this.b=t||null,Sn(this,{lastSignInTime:wn(t||null),creationTime:wn(e||null)})}function za(e){return new Fa(e.a,e.b)}function Ua(e,t,n,r,i,o){Sn(this,{uid:e,displayName:r||null,photoURL:i||null,email:n||null,phoneNumber:o||null,providerId:t})}function Ha(e,t){ye.call(this,e);for(var n in t)this[n]=t[n]}function Ga(e,t,n){this.G=[],this.m=e.apiKey,this.o=e.appName,this.u=e.authDomain||null,e=r.a.SDK_VERSION?nn(r.a.SDK_VERSION):null,this.b=new bi(this.m,Gi(id),e),this.h=new Da(this.b),$a(this,t[Xc]),La(this.h,t),kn(this,"refreshToken",this.h.a),ns(this,n||{}),je.call(this),this.I=!1,this.u&&sn()&&(this.a=ya(this.u,this.m,this.o)),this.N=[],this.i=null,this.w=Za(this),this.V=f(this.Ha,this);var i=this;this.ka=null,this.sa=function(e){i.oa(e.g)},this.X=null,this.O=[],this.ra=function(e){Va(i,e.c)},this.W=null}function qa(e,t){e.X&&Ae(e.X,"languageCodeChanged",e.sa),(e.X=t)&&ke(t,"languageCodeChanged",e.sa)}function Va(e,t){e.O=t,Ei(e.b,r.a.SDK_VERSION?nn(r.a.SDK_VERSION,e.O):null)}function Ka(e,t){e.W&&Ae(e.W,"frameworkChanged",e.ra),(e.W=t)&&ke(t,"frameworkChanged",e.ra)}function Ya(e){try{return r.a.app(e.o).auth()}catch(t){throw new Rn("internal-error","No firebase.auth.Auth instance is available for the Firebase App '"+e.o+"'!")}}function Za(e){return new Ra(function(){return e.F(!0)},function(e){return!(!e||"auth/network-request-failed"!=e.code)},function(){var t=e.h.c-Wl()-3e5;return 0<t?t:0})}function Xa(e){e.C||e.w.b||(e.w.start(),Ae(e,"tokenChanged",e.V),ke(e,"tokenChanged",e.V))}function Qa(e){Ae(e,"tokenChanged",e.V),e.w.stop()}function $a(e,t){e.qa=t,kn(e,"_lat",t)}function Ja(e,t){A(e.N,function(e){return e==t})}function es(e){for(var t=[],n=0;n<e.N.length;n++)t.push(e.N[n](e));return J(t).then(function(){return e})}function ts(e){e.a&&!e.I&&(e.I=!0,e.a.subscribe(e))}function ns(e,t){Sn(e,{uid:t.uid,displayName:t.displayName||null,photoURL:t.photoURL||null,email:t.email||null,emailVerified:t.emailVerified||!1,phoneNumber:t.phoneNumber||null,isAnonymous:t.isAnonymous||!1,metadata:new Fa(t.createdAt,t.lastLoginAt),providerData:[]})}function rs(){}function is(e){return Z().then(function(){if(e.C)throw new Rn("app-deleted")})}function os(e){return Hl(e.providerData,function(e){return e.providerId})}function as(e,t){t&&(ss(e,t.providerId),e.providerData.push(t))}function ss(e,t){A(e.providerData,function(e){return e.providerId==t})}function ls(e,t,n){("uid"!=t||n)&&e.hasOwnProperty(t)&&kn(e,t,n)}function us(e,t){e!=t&&(Sn(e,{uid:t.uid,displayName:t.displayName,photoURL:t.photoURL,email:t.email,emailVerified:t.emailVerified,phoneNumber:t.phoneNumber,isAnonymous:t.isAnonymous,providerData:[]}),t.metadata?kn(e,"metadata",za(t.metadata)):kn(e,"metadata",new Fa),Ul(t.providerData,function(t){as(e,t)}),ja(e.h,t.h),kn(e,"refreshToken",e.h.a))}function cs(e){return e.F().then(function(t){var n=e.isAnonymous;return fs(e,t).then(function(){return n||ls(e,"isAnonymous",!1),t})})}function ds(e,t){t[Xc]&&e.qa!=t[Xc]&&(La(e.h,t),e.dispatchEvent(new Ha("tokenChanged")),$a(e,t[Xc]),ls(e,"refreshToken",e.h.a))}function fs(e,t){return zi(e.b,hd,{idToken:t}).then(f(e.wc,e))}function hs(e){return(e=e.providerUserInfo)&&e.length?Hl(e,function(e){return new Ua(e.rawId,e.providerId,e.email,e.displayName,e.photoUrl,e.phoneNumber)}):[]}function ps(e,t){return cs(e).then(function(){if(C(os(e),t))return es(e).then(function(){throw new Rn("provider-already-linked")})})}function ms(e,t,n){var r=wr(t);return t=Gn(t),Cn({user:e,credential:r,additionalUserInfo:t,operationType:n})}function gs(e,t){return ds(e,t),e.reload().then(function(){return e})}function vs(e,t,n,i,o){if(!sn())return X(new Rn("operation-not-supported-in-this-environment"));if(e.i&&!o)return X(e.i);var a=Hn(n.providerId),s=pn(e.uid+":::"),l=null;(!cn()||Xt())&&e.u&&n.isOAuthProvider&&(l=ro(e.u,e.m,e.o,t,n,null,s,r.a.SDK_VERSION||null));var u=qt(l,a&&a.Ba,a&&a.Aa);return i=i().then(function(){if(bs(e),!o)return e.F().then(function(){})}).then(function(){return ga(e.a,u,t,n,s,!!l)}).then(function(){return new V(function(n,r){e.ha(t,null,new Rn("cancelled-popup-request"),e.g||null),e.f=n,e.v=r,e.g=s,e.c=e.a.Ea(e,t,u,s)})}).then(function(e){return u&&Gt(u),e?Cn(e):null}).s(function(e){throw u&&Gt(u),e}),ws(e,i,o)}function ys(e,t,n,r,i){if(!sn())return X(new Rn("operation-not-supported-in-this-environment"));if(e.i&&!i)return X(e.i);var o=null,a=pn(e.uid+":::");return r=r().then(function(){if(bs(e),!i)return e.F().then(function(){})}).then(function(){return e.aa=a,es(e)}).then(function(t){return e.ba&&(t=e.ba,t=t.b.set(af,e.D(),t.a)),t}).then(function(){return e.a.Ca(t,n,a)}).s(function(t){if(o=t,e.ba)return Ss(e.ba);throw o}).then(function(){if(o)throw o}),ws(e,r,i)}function bs(e){if(!e.a||!e.I){if(e.a&&!e.I)throw new Rn("internal-error");throw new Rn("auth-domain-config-required")}}function ws(e,t,n){var r=Es(e,t,n);return e.G.push(r),r.ia(function(){O(e.G,r)}),r}function Es(e,t,n){return e.i&&!n?(t.cancel(),X(e.i)):t.s(function(t){throw!t||"auth/user-disabled"!=t.code&&"auth/user-token-expired"!=t.code||(e.i||e.dispatchEvent(new Ha("userInvalidated")),e.i=t),t})}function Ts(e){if(!e.apiKey)return null;var t={apiKey:e.apiKey,authDomain:e.authDomain,appName:e.appName},n={};if(!(e.stsTokenManager&&e.stsTokenManager.accessToken&&e.stsTokenManager.expirationTime))return null;n[Xc]=e.stsTokenManager.accessToken,n.refreshToken=e.stsTokenManager.refreshToken||null,n.expiresIn=(e.stsTokenManager.expirationTime-Wl())/1e3;var r=new Ga(t,n,e);return e.providerData&&Ul(e.providerData,function(e){e&&as(r,Cn(e))}),e.redirectEventId&&(r.aa=e.redirectEventId),r}function _s(e,t,n,r){var i=new Ga(e,t);return n&&(i.ba=n),r&&Va(i,r),i.reload().then(function(){return i})}function xs(e,t,n,r){t=t||{apiKey:e.m,authDomain:e.u,appName:e.o};var i=e.h,o={};return o[Xc]=i.b,o.refreshToken=i.a,o.expiresIn=(i.c-Wl())/1e3,t=new Ga(t,o),n&&(t.ba=n),r&&Va(t,r),us(t,e),t}function ks(e){this.a=e,this.b=Wo()}function Ss(e){return Uo(e.b,af,e.a)}function Cs(e,t){return e.b.get(af,e.a).then(function(e){return e&&t&&(e.authDomain=t),Ts(e||{})})}function Os(e){this.a=e,this.b=Wo(),this.c=null,this.f=Ps(this),this.b.addListener(Is("local"),this.a,f(this.g,this))}function As(e,t){var n,r=[];for(n in qd)qd[n]!==t&&r.push(Uo(e.b,Is(qd[n]),e.a));return r.push(Uo(e.b,sf,e.a)),$(r)}function Ps(e){var t=Is("local"),n=Is("session"),r=Is("none");return zo(e.b,t,e.a).then(function(){return e.b.get(n,e.a)}).then(function(i){return i?n:e.b.get(r,e.a).then(function(n){return n?r:e.b.get(t,e.a).then(function(n){return n?t:e.b.get(sf,e.a).then(function(e){return e?Is(e):t})})})}).then(function(t){return e.c=t,As(e,t.A)}).s(function(){e.c||(e.c=t)})}function Is(e){return{name:"authUser",A:e}}function Rs(e){return Ls(e,function(){return e.b.set(sf,e.c.A,e.a)})}function Ns(e,t){return Ls(e,function(){return e.b.set(e.c,t.D(),e.a)})}function Ms(e){return Ls(e,function(){return Uo(e.b,e.c,e.a)})}function Ds(e,t){return Ls(e,function(){return e.b.get(e.c,e.a).then(function(e){return e&&t&&(e.authDomain=t),Ts(e||{})})})}function Ls(e,t){return e.f=e.f.then(t,t),e.f}function js(e){if(this.m=!1,kn(this,"settings",new Oa),kn(this,"app",e),!Zs(this).options||!Zs(this).options.apiKey)throw new Rn("invalid-api-key");e=r.a.SDK_VERSION?nn(r.a.SDK_VERSION):null,this.b=new bi(Zs(this).options&&Zs(this).options.apiKey,Gi(id),e),this.N=[],this.o=[],this.I=[],this.Sb=r.a.INTERNAL.createSubscribe(f(this.kc,this)),this.O=void 0,this.Tb=r.a.INTERNAL.createSubscribe(f(this.mc,this)),Gs(this,null),this.h=new Os(Zs(this).options.apiKey+":"+Zs(this).name),this.w=new ks(Zs(this).options.apiKey+":"+Zs(this).name),this.V=el(this,Vs(this)),this.i=el(this,Ks(this)),this.X=!1,this.ka=f(this.Lc,this),this.Ha=f(this.Z,this),this.qa=f(this.ac,this),this.ra=f(this.ic,this),this.sa=f(this.jc,this),Us(this),this.INTERNAL={},this.INTERNAL.delete=f(this.delete,this),this.INTERNAL.logFramework=f(this.sc,this),this.u=0,je.call(this),Fs(this),this.G=[]}function Ws(e){ye.call(this,"languageCodeChanged"),this.g=e}function Bs(e){ye.call(this,"frameworkChanged"),this.c=e}function Fs(e){Object.defineProperty(e,"lc",{get:function(){return this.ea()},set:function(e){this.oa(e)},enumerable:!1}),e.W=null}function zs(e){return e.Rb||X(new Rn("auth-domain-config-required"))}function Us(e){var t=Zs(e).options.authDomain,n=Zs(e).options.apiKey;t&&sn()&&(e.Rb=e.V.then(function(){if(!e.m){if(e.a=ya(t,n,Zs(e).name),e.a.subscribe(e),Xs(e)&&ts(Xs(e)),e.C){ts(e.C);var r=e.C;r.oa(e.ea()),qa(r,e),r=e.C,Va(r,e.G),Ka(r,e),e.C=null}return e.a}}))}function Hs(e,t){var n={};return n.apiKey=Zs(e).options.apiKey,n.authDomain=Zs(e).options.authDomain,n.appName=Zs(e).name,e.V.then(function(){return _s(n,t,e.w,e.xa())}).then(function(t){return Xs(e)&&t.uid==Xs(e).uid?(us(Xs(e),t),e.Z(t)):(Gs(e,t),ts(t),e.Z(t))}).then(function(){$s(e)})}function Gs(e,t){Xs(e)&&(Ja(Xs(e),e.Ha),Ae(Xs(e),"tokenChanged",e.qa),Ae(Xs(e),"userDeleted",e.ra),Ae(Xs(e),"userInvalidated",e.sa),Qa(Xs(e))),t&&(t.N.push(e.Ha),ke(t,"tokenChanged",e.qa),ke(t,"userDeleted",e.ra),ke(t,"userInvalidated",e.sa),0<e.u&&Xa(t)),kn(e,"currentUser",t),t&&(t.oa(e.ea()),qa(t,e),Va(t,e.G),Ka(t,e))}function qs(e){var t=Cs(e.w,Zs(e).options.authDomain).then(function(t){return(e.C=t)&&(t.ba=e.w),Ss(e.w)});return el(e,t)}function Vs(e){var t=Zs(e).options.authDomain,n=qs(e).then(function(){return Ds(e.h,t)}).then(function(t){return t?(t.ba=e.w,e.C&&(e.C.aa||null)==(t.aa||null)?t:t.reload().then(function(){return Ns(e.h,t).then(function(){return t})}).s(function(n){return"auth/network-request-failed"==n.code?t:Ms(e.h)})):null}).then(function(t){Gs(e,t||null)});return el(e,n)}function Ks(e){return e.V.then(function(){return e.fa()}).s(function(){}).then(function(){if(!e.m)return e.ka()}).s(function(){}).then(function(){if(!e.m){e.X=!0;var t=e.h;t.b.addListener(Is("local"),t.a,e.ka)}})}function Ys(e,t){var n=null,r=null;return el(e,t.then(function(t){return n=wr(t),r=Gn(t),Hs(e,t)}).then(function(){return Cn({user:Xs(e),credential:n,additionalUserInfo:r,operationType:"signIn"})}))}function Zs(e){return e.app}function Xs(e){return e.currentUser}function Qs(e){return Xs(e)&&Xs(e)._lat||null}function $s(e){if(e.X){for(var t=0;t<e.o.length;t++)e.o[t]&&e.o[t](Qs(e));if(e.O!==e.getUid()&&e.I.length)for(e.O=e.getUid(),t=0;t<e.I.length;t++)e.I[t]&&e.I[t](Qs(e))}}function Js(e,t){e.I.push(t),el(e,e.i.then(function(){!e.m&&C(e.I,t)&&e.O!==e.getUid()&&(e.O=e.getUid(),t(Qs(e)))}))}function el(e,t){return e.N.push(t),t.ia(function(){O(e.N,t)}),t}function tl(){}function nl(){this.a={},this.b=1e12}function rl(e,t){return(t=il(t))?e.a[t]||null:null}function il(e){return(e="undefined"===typeof e?1e12:e)?e.toString():null}function ol(e,t){this.g=!1,this.c=t,this.a=this.b=null,this.h="invisible"!==this.c.size,this.f=At(e);var n=this;this.i=function(){n.execute()},this.h?this.execute():ke(this.f,"click",this.i)}function al(e){if(e.g)throw Error("reCAPTCHA mock was already deleted!")}function sl(){}function ll(){this.b=Dl.grecaptcha?1/0:0,this.f=null,this.a="__rcb"+Math.floor(1e6*Math.random()).toString()}function ul(e,t,n,r,i,o,a){if(kn(this,"type","recaptcha"),this.c=this.f=null,this.C=!1,this.m=t,this.g=null,a?(uf||(uf=new sl),a=uf):(ff||(ff=new ll),a=ff),this.o=a,this.a=n||{theme:"light",type:"image"},this.h=[],this.a[mf])throw new Rn("argument-error","sitekey should not be provided for reCAPTCHA as one is automatically provisioned for the current project.");if(this.i="invisible"===this.a[gf],!Dl.document)throw new Rn("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment with DOM support.");if(!At(t)||!this.i&&At(t).hasChildNodes())throw new Rn("argument-error","reCAPTCHA container is either not found or already contains inner elements!");this.u=new bi(e,o||null,i||null),this.v=r||function(){return null};var s=this;this.l=[];var l=this.a[hf];this.a[hf]=function(e){if(cl(s,e),"function"===typeof l)l(e);else if("string"===typeof l){var t=on(l,Dl);"function"===typeof t&&t(e)}};var u=this.a[pf];this.a[pf]=function(){if(cl(s,null),"function"===typeof u)u();else if("string"===typeof u){var e=on(u,Dl);"function"===typeof e&&e()}}}function cl(e,t){for(var n=0;n<e.l.length;n++)try{e.l[n](t)}catch(e){}}function dl(e,t){A(e.l,function(e){return e==t})}function fl(e,t){return e.h.push(t),t.ia(function(){O(e.h,t)}),t}function hl(e){if(e.C)throw new Rn("internal-error","RecaptchaVerifier instance has been destroyed.")}function pl(e,t,n){var i=!1;try{this.b=n||r.a.app()}catch(e){throw new Rn("argument-error","No firebase.app.App instance is currently initialized.")}if(!this.b.options||!this.b.options.apiKey)throw new Rn("invalid-api-key");n=this.b.options.apiKey;var o=this,a=null;try{a=this.b.auth().xa()}catch(e){}try{i=this.b.auth().settings.appVerificationDisabledForTesting}catch(e){}a=r.a.SDK_VERSION?nn(r.a.SDK_VERSION,a):null,ul.call(this,n,e,t,function(){try{var e=o.b.auth().ea()}catch(t){e=null}return e},a,Gi(id),i)}function ml(e,t,n,r){e:{n=Array.prototype.slice.call(n);for(var i=0,o=!1,a=0;a<t.length;a++)if(t[a].optional)o=!0;else{if(o)throw new Rn("internal-error","Argument validator encountered a required argument after an optional argument.");i++}if(o=t.length,n.length<i||o<n.length)r="Expected "+(i==o?1==i?"1 argument":i+" arguments":i+"-"+o+" arguments")+" but got "+n.length+".";else{for(i=0;i<n.length;i++)if(o=t[i].optional&&void 0===n[i],!t[i].M(n[i])&&!o){if(t=t[i],0>i||i>=vf.length)throw new Rn("internal-error","Argument validator received an unsupported number of arguments.");n=vf[i],r=(r?"":n+" argument ")+(t.name?'"'+t.name+'" ':"")+"must be "+t.K+".";break e}r=null}}if(r)throw new Rn("argument-error",e+" failed: "+r)}function gl(t,n){return{name:t||"",K:"a valid string",optional:!!n,M:e}}function vl(e,n){return{name:e||"",K:"a boolean",optional:!!n,M:t}}function yl(e,t){return{name:e||"",K:"a valid object",optional:!!t,M:u}}function bl(e,t){return{name:e||"",K:"a function",optional:!!t,M:l}}function wl(e,t){return{name:e||"",K:"null",optional:!!t,M:o}}function El(){return{name:"",K:"an HTML element",optional:!1,M:function(e){return!!(e&&e instanceof Element)}}}function Tl(){return{name:"auth",K:"an instance of Firebase Auth",optional:!0,M:function(e){return!!(e&&e instanceof js)}}}function _l(){return{name:"app",K:"an instance of Firebase App",optional:!0,M:function(e){return!!(e&&e instanceof r.a.app.App)}}}function xl(e){return{name:e?e+"Credential":"credential",K:e?"a valid "+e+" credential":"a valid credential",optional:!1,M:function(t){if(!t)return!1;var n=!e||t.providerId===e;return!(!t.ya||!n)}}}function kl(){return{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}}function Sl(){return{name:"applicationVerifier",K:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,M:function(t){return!!(t&&e(t.type)&&l(t.verify))}}}function Cl(e,t,n,r){return{name:n||"",K:e.K+" or "+t.K,optional:!!r,M:function(n){return e.M(n)||t.M(n)}}}function Ol(e,t){for(var n in t){var r=t[n].name;e[r]=Il(r,e[n],t[n].j)}}function Al(e,t){for(var n in t){var r=t[n].name;r!==n&&Object.defineProperty(e,r,{get:h(function(e){return this[e]},n),set:h(function(e,t,n,r){ml(e,[n],[r],!0),this[t]=r},r,n,t[n].sb),enumerable:!0})}}function Pl(e,t,n,r){e[t]=Il(t,n,r)}function Il(e,t,n){function r(){var e=Array.prototype.slice.call(arguments);return ml(o,n,e),t.apply(this,e)}if(!n)return t;var i,o=Rl(e);for(i in t)r[i]=t[i];for(i in t.prototype)r.prototype[i]=t.prototype[i];return r}function Rl(e){return e=e.split("."),e[e.length-1]}var Nl,Ml=Ml||{},Dl=this,Ll="closure_uid_"+(1e9*Math.random()>>>0),jl=0,Wl=Date.now||function(){return+new Date};p(v,Error),v.prototype.name="CustomError",p(y,v),y.prototype.name="AssertionError",w.prototype.get=function(){if(0<this.b){this.b--;var e=this.a;this.a=e.next,e.next=null}else e=this.c();return e};var Bl=new w(function(){return new x},function(e){e.reset()});T.prototype.add=function(e,t){var n=Bl.get();n.set(e,t),this.b?this.b.next=n:this.a=n,this.b=n},x.prototype.set=function(e,t){this.a=e,this.b=t,this.next=null},x.prototype.reset=function(){this.next=this.b=this.a=null};var Fl,zl=Array.prototype.indexOf?function(e,t){return Array.prototype.indexOf.call(e,t,void 0)}:function(t,n){if(e(t))return e(n)&&1==n.length?t.indexOf(n,0):-1;for(var r=0;r<t.length;r++)if(r in t&&t[r]===n)return r;return-1},Ul=Array.prototype.forEach?function(e,t,n){Array.prototype.forEach.call(e,t,n)}:function(t,n,r){for(var i=t.length,o=e(t)?t.split(""):t,a=0;a<i;a++)a in o&&n.call(r,o[a],a,t)},Hl=Array.prototype.map?function(e,t){return Array.prototype.map.call(e,t,void 0)}:function(t,n){for(var r=t.length,i=Array(r),o=e(t)?t.split(""):t,a=0;a<r;a++)a in o&&(i[a]=n.call(void 0,o[a],a,t));return i},Gl=Array.prototype.some?function(e,t){return Array.prototype.some.call(e,t,void 0)}:function(t,n){for(var r=t.length,i=e(t)?t.split(""):t,o=0;o<r;o++)if(o in i&&n.call(void 0,i[o],o,t))return!0;return!1},ql=String.prototype.trim?function(e){return e.trim()}:function(e){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(e)[1]},Vl=/&/g,Kl=/</g,Yl=/>/g,Zl=/"/g,Xl=/'/g,Ql=/\x00/g,$l=/[\x00&<>"']/;e:{var Jl=Dl.navigator;if(Jl){var eu=Jl.userAgent;if(eu){Fl=eu;break e}}Fl=""}var tu,nu,ru="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),iu=!1,ou=new T,au=0,su=2,lu=3;K.prototype.reset=function(){this.f=this.b=this.g=this.a=null,this.c=!1};var uu=new w(function(){return new K},function(e){e.reset()});V.prototype.then=function(e,t,n){return ne(this,l(e)?e:null,l(t)?t:null,n)},m(V),Nl=V.prototype,Nl.ia=function(e,t){return e=Y(e,e,t),e.c=!0,te(this,e),this},Nl.s=function(e,t){return ne(this,null,e,t)},Nl.cancel=function(e){this.a==au&&H(function(){ee(this,new de(e))},this)},Nl.Mc=function(e){this.a=au,re(this,su,e)},Nl.Nc=function(e){this.a=au,re(this,lu,e)},Nl.Xb=function(){for(var e;e=se(this);)le(this,e,this.a,this.i);this.h=!1};var cu=z;p(de,v),de.prototype.name="cancel";var du=0,fu={};fe.prototype.pa=!1,fe.prototype.ua=function(){if(this.ja)for(;this.ja.length;)this.ja.shift()()},pe[" "]=n;var hu,pu=L("Opera"),mu=L("Trident")||L("MSIE"),gu=L("Edge"),vu=gu||mu,yu=L("Gecko")&&!(M(Fl.toLowerCase(),"webkit")&&!L("Edge"))&&!(L("Trident")||L("MSIE"))&&!L("Edge"),bu=M(Fl.toLowerCase(),"webkit")&&!L("Edge");e:{var wu="",Eu=function(){var e=Fl;return yu?/rv:([^\);]+)(\)|;)/.exec(e):gu?/Edge\/([\d\.]+)/.exec(e):mu?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(e):bu?/WebKit\/(\S+)/.exec(e):pu?/(?:Version)[ \/]?(\S+)/.exec(e):void 0}();if(Eu&&(wu=Eu?Eu[1]:""),mu){var Tu=ge();if(null!=Tu&&Tu>parseFloat(wu)){hu=String(Tu);break e}}hu=wu}var _u,xu={},ku=Dl.document;_u=ku&&mu?ge()||("CSS1Compat"==ku.compatMode?parseInt(hu,10):5):void 0;var Su=Object.freeze||function(e){return e},Cu=!mu||9<=Number(_u),Ou=mu&&!ve("9"),Au=function(){if(!Dl.addEventListener||!Object.defineProperty)return!1;var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}});return Dl.addEventListener("test",n,t),Dl.removeEventListener("test",n,t),e}();ye.prototype.preventDefault=function(){this.Jb=!1},p(be,ye);var Pu=Su({2:"touch",3:"pen",4:"mouse"});be.prototype.preventDefault=function(){be.nb.preventDefault.call(this);var e=this.a;if(e.preventDefault)e.preventDefault();else if(e.returnValue=!1,Ou)try{(e.ctrlKey||112<=e.keyCode&&123>=e.keyCode)&&(e.keyCode=-1)}catch(e){}},be.prototype.f=function(){return this.a};var Iu="closure_listenable_"+(1e6*Math.random()|0),Ru=0;Te.prototype.add=function(e,t,n,r,i){var o=e.toString();(e=this.a[o])||(e=this.a[o]=[],this.b++);var a=xe(e,t,r,i);return-1<a?(t=e[a],n||(t.Ia=!1)):(t=new we(t,this.src,o,!!r,i),t.Ia=n,e.push(t)),t};var Nu="closure_lm_"+(1e6*Math.random()|0),Mu={},Du=0,Lu="__closure_events_fn_"+(1e9*Math.random()>>>0);p(je,fe),je.prototype[Iu]=!0,je.prototype.addEventListener=function(e,t,n,r){ke(this,e,t,n,r)},je.prototype.removeEventListener=function(e,t,n,r){Ae(this,e,t,n,r)},je.prototype.dispatchEvent=function(t){var n,r=this.Ua;if(r)for(n=[];r;r=r.Ua)n.push(r);r=this.Qb;var i=t.type||t;if(e(t))t=new ye(t,r);else if(t instanceof ye)t.target=t.target||r;else{var o=t;t=new ye(i,r),F(t,o)}if(o=!0,n)for(var a=n.length-1;0<=a;a--){var s=t.b=n[a];o=Fe(s,i,!0,t)&&o}if(s=t.b=r,o=Fe(s,i,!0,t)&&o,o=Fe(s,i,!1,t)&&o,n)for(a=0;a<n.length;a++)s=t.b=n[a],o=Fe(s,i,!1,t)&&o;return o},je.prototype.ua=function(){if(je.nb.ua.call(this),this.l){var e,t=this.l,n=0;for(e in t.a){for(var r=t.a[e],i=0;i<r.length;i++)++n,Ee(r[i]);delete t.a[e],t.b--}}this.Ua=null},Nl=Ve.prototype,Nl.S=function(){Ke(this);for(var e=[],t=0;t<this.a.length;t++)e.push(this.b[this.a[t]]);return e},Nl.U=function(){return Ke(this),this.a.concat()},Nl.clear=function(){this.b={},this.c=this.a.length=0},Nl.get=function(e,t){return Ye(this.b,e)?this.b[e]:t},Nl.set=function(e,t){Ye(this.b,e)||(this.c++,this.a.push(e)),this.b[e]=t},Nl.forEach=function(e,t){for(var n=this.U(),r=0;r<n.length;r++){var i=n[r],o=this.get(i);e.call(t,o,i,this)}};var ju=/^(?:([^:\/?#.]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/#?]*?)(?::([0-9]+))?(?=[\/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;Xe.prototype.toString=function(){var e=[],t=this.c;t&&e.push(ot(t,Wu,!0),":");var n=this.b;return(n||"file"==t)&&(e.push("//"),(t=this.l)&&e.push(ot(t,Wu,!0),"@"),e.push(encodeURIComponent(String(n)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(n=this.i)&&e.push(":",String(n))),(n=this.g)&&(this.b&&"/"!=n.charAt(0)&&e.push("/"),e.push(ot(n,"/"==n.charAt(0)?Fu:Bu,!0))),(n=this.a.toString())&&e.push("?",n),(n=this.h)&&e.push("#",ot(n,Uu)),e.join("")};var Wu=/[#\/\?@]/g,Bu=/[#\?:]/g,Fu=/[#\?]/g,zu=/[#\?@]/g,Uu=/#/g;Nl=st.prototype,Nl.add=function(e,t){lt(this),this.c=null,e=ht(this,e);var n=this.a.get(e);return n||this.a.set(e,n=[]),n.push(t),this.b+=1,this},Nl.clear=function(){this.a=this.c=null,this.b=0},Nl.forEach=function(e,t){lt(this),this.a.forEach(function(n,r){Ul(n,function(n){e.call(t,n,r,this)},this)},this)},Nl.U=function(){lt(this);for(var e=this.a.S(),t=this.a.U(),n=[],r=0;r<t.length;r++)for(var i=e[r],o=0;o<i.length;o++)n.push(t[r]);return n},Nl.S=function(t){lt(this);var n=[];if(e(t))dt(this,t)&&(n=P(n,this.a.get(ht(this,t))));else{t=this.a.S();for(var r=0;r<t.length;r++)n=P(n,t[r])}return n},Nl.set=function(e,t){return lt(this),this.c=null,e=ht(this,e),dt(this,e)&&(this.b-=this.a.get(e).length),this.a.set(e,[t]),this.b+=1,this},Nl.get=function(e,t){return e=e?this.S(e):[],0<e.length?String(e[0]):t},Nl.toString=function(){if(this.c)return this.c;if(!this.a)return"";for(var e=[],t=this.a.U(),n=0;n<t.length;n++){var r=t[n],i=encodeURIComponent(String(r));r=this.S(r);for(var o=0;o<r.length;o++){var a=i;""!==r[o]&&(a+="="+encodeURIComponent(String(r[o]))),e.push(a)}}return this.c=e.join("&")};var Hu=!mu||9<=Number(_u);mt.prototype.ma=!0,mt.prototype.la=function(){return this.a},mt.prototype.toString=function(){return"Const{"+this.a+"}"};var Gu={};vt(""),yt.prototype.ma=!0,yt.prototype.la=function(){return this.a},yt.prototype.toString=function(){return"TrustedResourceUrl{"+this.a+"}"};var qu=/%{(\w+)}/g,Vu=/^(?:https:)?\/\/[0-9a-z.:[\]-]+\/|^\/[^\/\\]|^about:blank#/i,Ku={};Tt.prototype.ma=!0,Tt.prototype.la=function(){return this.a},Tt.prototype.toString=function(){return"SafeUrl{"+this.a+"}"};var Yu=/^(?:(?:https?|mailto|ftp):|[^:\/?#]*(?:[\/?#]|$))/i,Zu={};kt("about:blank"),St.prototype.ma=!0,St.prototype.la=function(){return this.a},St.prototype.toString=function(){return"SafeHtml{"+this.a+"}"};var Xu={};Ot("<!DOCTYPE html>"),Ot(""),Ot("<br>");var Qu={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},$u={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},Ju=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,ec=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,tc="Firefox",nc="Chrome",rc={Tc:"FirebaseCore-web",Vc:"FirebaseUI-web"};vn.prototype.get=function(){var e=Dl.navigator;return(e&&"boolean"===typeof e.onLine&&(ln()||"chrome-extension:"===un()||"undefined"!==typeof e.connection)?e.onLine:1)?this.b?this.c:this.a:Math.min(5e3,this.a)};var ic,oc={};try{var ac={};Object.defineProperty(ac,"abcd",{configurable:!0,enumerable:!0,value:1}),Object.defineProperty(ac,"abcd",{configurable:!0,enumerable:!0,value:2}),ic=2==ac.abcd}catch(e){ic=!1}var sc="EMAIL_SIGNIN",lc="email",uc="newEmail",cc="requestType",dc="email",fc="fromEmail",hc="data",pc="operation";p(Rn,Error),Rn.prototype.D=function(){return{code:this.code,message:this.message}},Rn.prototype.toJSON=function(){return this.D()};var mc="auth/",gc={"argument-error":"","app-not-authorized":"This app, identified by the domain where it's hosted, is not authorized to use Firebase Authentication with the provided API key. Review your key configuration in the Google API console.","app-not-installed":"The requested mobile application corresponding to the identifier (Android package name or iOS bundle ID) provided is not installed on this device.","captcha-check-failed":"The reCAPTCHA response token provided is either invalid, expired, already used or the domain associated with it does not match the list of whitelisted domains.","code-expired":"The SMS code has expired. Please re-send the verification code to try again.","cordova-not-ready":"Cordova framework is not ready.","cors-unsupported":"This browser is not supported.","credential-already-in-use":"This credential is already associated with a different user account.","custom-token-mismatch":"The custom token corresponds to a different audience.","requires-recent-login":"This operation is sensitive and requires recent authentication. Log in again before retrying this request.","dynamic-link-not-activated":"Please activate Dynamic Links in the Firebase Console and agree to the terms and conditions.","email-already-in-use":"The email address is already in use by another account.","expired-action-code":"The action code has expired. ","cancelled-popup-request":"This operation has been cancelled due to another conflicting popup being opened.","internal-error":"An internal error has occurred.","invalid-app-credential":"The phone verification request contains an invalid application verifier. The reCAPTCHA token response is either invalid or expired.","invalid-app-id":"The mobile app identifier is not registed for the current project.","invalid-user-token":"This user's credential isn't valid for this project. This can happen if the user's token has been tampered with, or if the user isn't for the project associated with this API key.","invalid-auth-event":"An internal error has occurred.","invalid-verification-code":"The SMS verification code used to create the phone auth credential is invalid. Please resend the verification code sms and be sure use the verification code provided by the user.","invalid-continue-uri":"The continue URL provided in the request is invalid.","invalid-cordova-configuration":"The following Cordova plugins must be installed to enable OAuth sign-in: cordova-plugin-buildinfo, cordova-universal-links-plugin, cordova-plugin-browsertab, cordova-plugin-inappbrowser and cordova-plugin-customurlscheme.","invalid-custom-token":"The custom token format is incorrect. Please check the documentation.","invalid-email":"The email address is badly formatted.","invalid-api-key":"Your API key is invalid, please check you have copied it correctly.","invalid-cert-hash":"The SHA-1 certificate hash provided is invalid.","invalid-credential":"The supplied auth credential is malformed or has expired.","invalid-persistence-type":"The specified persistence type is invalid. It can only be local, session or none.","invalid-message-payload":"The email template corresponding to this action contains invalid characters in its message. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-oauth-provider":"EmailAuthProvider is not supported for this operation. This operation only supports OAuth providers.","invalid-oauth-client-id":"The OAuth client ID provided is either invalid or does not match the specified API key.","unauthorized-domain":"This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.","invalid-action-code":"The action code is invalid. This can happen if the code is malformed, expired, or has already been used.","wrong-password":"The password is invalid or the user does not have a password.","invalid-phone-number":"The format of the phone number provided is incorrect. Please enter the phone number in a format that can be parsed into E.164 format. E.164 phone numbers are written in the format [+][country code][subscriber number including area code].","invalid-provider-id":"The specified provider ID is invalid.","invalid-recipient-email":"The email corresponding to this action failed to send as the provided recipient email address is invalid.","invalid-sender":"The email template corresponding to this action contains an invalid sender email or name. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-verification-id":"The verification ID used to create the phone auth credential is invalid.","missing-android-pkg-name":"An Android Package Name must be provided if the Android App is required to be installed.","auth-domain-config-required":"Be sure to include authDomain when calling firebase.initializeApp(), by following the instructions in the Firebase console.","missing-app-credential":"The phone verification request is missing an application verifier assertion. A reCAPTCHA response token needs to be provided.","missing-verification-code":"The phone auth credential was created with an empty SMS verification code.","missing-continue-uri":"A continue URL must be provided in the request.","missing-iframe-start":"An internal error has occurred.","missing-ios-bundle-id":"An iOS Bundle ID must be provided if an App Store ID is provided.","missing-phone-number":"To send verification codes, provide a phone number for the recipient.","missing-verification-id":"The phone auth credential was created with an empty verification ID.","app-deleted":"This instance of FirebaseApp has been deleted.","account-exists-with-different-credential":"An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.","network-request-failed":"A network error (such as timeout, interrupted connection or unreachable host) has occurred.","no-auth-event":"An internal error has occurred.","no-such-provider":"User was not linked to an account with the given provider.","null-user":"A null user object was provided as the argument for an operation which requires a non-null user object.","operation-not-allowed":"The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.","operation-not-supported-in-this-environment":'This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.',"popup-blocked":"Unable to establish a connection with the popup. It may have been blocked by the browser.","popup-closed-by-user":"The popup has been closed by the user before finalizing the operation.","provider-already-linked":"User can only be linked to one identity for the given provider.","quota-exceeded":"The project's quota for this operation has been exceeded.","redirect-cancelled-by-user":"The redirect operation has been cancelled by the user before finalizing.","redirect-operation-pending":"A redirect sign-in operation is already pending.",timeout:"The operation has timed out.","user-token-expired":"The user's credential is no longer valid. The user must sign in again.","too-many-requests":"We have blocked all requests from this device due to unusual activity. Try again later.","unauthorized-continue-uri":"The domain of the continue URL is not whitelisted.  Please whitelist the domain in the Firebase console.","unsupported-persistence-type":"The current environment does not support the specified persistence type.","user-cancelled":"User did not grant your application the permissions it requested.","user-not-found":"There is no user record corresponding to this identifier. The user may have been deleted.","user-disabled":"The user account has been disabled by an administrator.","user-mismatch":"The supplied credentials do not correspond to the previously signed in user.","user-signed-out":"","weak-password":"The password must be 6 characters long or more.","web-storage-unsupported":"This browser is not supported or 3rd party cookies and data may be disabled."},vc="android",yc="handleCodeInApp",bc="iOS",wc="url",Ec="installApp",Tc="minimumVersion",_c="packageName",xc="bundleId",kc=null,Sc=null;Fn.prototype.f=function(){return this.b};var Cc="oauth_consumer_key oauth_nonce oauth_signature oauth_signature_method oauth_timestamp oauth_token oauth_version".split(" "),Oc=["client_id","response_type","scope","redirect_uri","state"],Ac={Uc:{Ma:"locale",Ba:500,Aa:600,Na:"facebook.com",gb:Oc},Wc:{Ma:null,Ba:500,Aa:620,Na:"github.com",gb:Oc},Xc:{Ma:"hl",Ba:515,Aa:680,Na:"google.com",gb:Oc},cd:{Ma:"lang",Ba:485,Aa:705,Na:"twitter.com",gb:Cc}},Pc="idToken",Ic="providerId";p(Vn,qn),p(Kn,Vn),p(Yn,Vn),p(Zn,Vn),p(Xn,Vn),er.prototype.ya=function(e){return ji(e,tr(this))},er.prototype.c=function(e,t){var n=tr(this);return n.idToken=t,Wi(e,n)},er.prototype.f=function(e,t){return Jn(Bi(e,tr(this)),t)},er.prototype.D=function(){var e={providerId:this.providerId,signInMethod:this.signInMethod};return this.idToken&&(e.oauthIdToken=this.idToken),this.accessToken&&(e.oauthAccessToken=this.accessToken),this.secret&&(e.oauthTokenSecret=this.secret),e},nr.prototype.Da=function(e){return this.xb=B(e),this},p(rr,nr),rr.prototype.ta=function(e){return C(this.a,e)||this.a.push(e),this},rr.prototype.Db=function(){return I(this.a)},rr.prototype.credential=function(e,t){if(!e&&!t)throw new Rn("argument-error","credential failed: must provide the ID token and/or the access token.");return new er(this.providerId,{idToken:e||null,accessToken:t||null},this.providerId)},p(ir,rr),kn(ir,"PROVIDER_ID","facebook.com"),kn(ir,"FACEBOOK_SIGN_IN_METHOD","facebook.com"),p(ar,rr),kn(ar,"PROVIDER_ID","github.com"),kn(ar,"GITHUB_SIGN_IN_METHOD","github.com"),p(lr,rr),kn(lr,"PROVIDER_ID","google.com"),kn(lr,"GOOGLE_SIGN_IN_METHOD","google.com"),p(cr,nr),kn(cr,"PROVIDER_ID","twitter.com"),kn(cr,"TWITTER_SIGN_IN_METHOD","twitter.com"),fr.prototype.ya=function(e){return this.signInMethod==hr.EMAIL_LINK_SIGN_IN_METHOD?zi(e,dd,{email:this.a,oobCode:this.b}):zi(e,Od,{email:this.a,password:this.b})},fr.prototype.c=function(e,t){return this.signInMethod==hr.EMAIL_LINK_SIGN_IN_METHOD?zi(e,fd,{idToken:t,email:this.a,oobCode:this.b}):zi(e,Td,{idToken:t,email:this.a,password:this.b})},fr.prototype.f=function(e,t){return Jn(this.ya(e),t)},fr.prototype.D=function(){return{email:this.a,password:this.b,signInMethod:this.signInMethod}},Sn(hr,{PROVIDER_ID:"password"}),Sn(hr,{EMAIL_LINK_SIGN_IN_METHOD:"emailLink"}),Sn(hr,{EMAIL_PASSWORD_SIGN_IN_METHOD:"password"}),gr.prototype.ya=function(e){return e.Ta(vr(this))},gr.prototype.c=function(e,t){var n=vr(this);return n.idToken=t,zi(e,Pd,n)},gr.prototype.f=function(e,t){var n=vr(this);return n.operation="REAUTH",e=zi(e,Id,n),Jn(e,t)},gr.prototype.D=function(){var e={providerId:"phone"};return this.a.Sa&&(e.verificationId=this.a.Sa),this.a.Ra&&(e.verificationCode=this.a.Ra),this.a.Fa&&(e.temporaryProof=this.a.Fa),this.a.$&&(e.phoneNumber=this.a.$),e},yr.prototype.Ta=function(t,n){var r=this.a.b;return Z(n.verify()).then(function(i){if(!e(i))throw new Rn("argument-error","An implementation of firebase.auth.ApplicationVerifier.prototype.verify() must return a firebase.Promise that resolves with a string.");switch(n.type){case"recaptcha":return Ni(r,{phoneNumber:t,recaptchaToken:i}).then(function(e){return"function"===typeof n.reset&&n.reset(),e},function(e){throw"function"===typeof n.reset&&n.reset(),e});default:throw new Rn("argument-error",'Only firebase.auth.ApplicationVerifiers with type="recaptcha" are currently supported.')}})},Sn(yr,{PROVIDER_ID:"phone"}),Sn(yr,{PHONE_SIGN_IN_METHOD:"phone"}),Tr.prototype.D=function(){return{type:this.b,eventId:this.c,urlResponse:this.f,sessionId:this.g,error:this.a&&this.a.D()}};var Rc=null;xr.prototype.subscribe=function(e){var t=this;this.a.push(e),this.b||(this.b=function(e){for(var n=0;n<t.a.length;n++)t.a[n](e)},"function"===typeof(e=on("universalLinks.subscribe",Dl))&&e(null,this.b))},xr.prototype.unsubscribe=function(e){A(this.a,function(t){return t==e})},p(kr,Rn),p(Sr,Rn),Sr.prototype.D=function(){var e={code:this.code,message:this.message};this.email&&(e.email=this.email),this.phoneNumber&&(e.phoneNumber=this.phoneNumber);var t=this.credential&&this.credential.D();return t&&F(e,t),e},Sr.prototype.toJSON=function(){return this.D()};var Nc=/^[+a-zA-Z0-9_.!#$%&'*\/=?^`{|}~-]+@([a-zA-Z0-9-]+\.)+[a-zA-Z0-9]{2,63}$/;Or.prototype.c=null;var Mc;p(Pr,Or),Pr.prototype.a=function(){var e=Ir(this);return e?new ActiveXObject(e):new XMLHttpRequest},Pr.prototype.b=function(){var e={};return Ir(this)&&(e[0]=!0,e[1]=!0),e},Mc=new Pr,p(Rr,Or),Rr.prototype.a=function(){var e=new XMLHttpRequest;if("withCredentials"in e)return e;if("undefined"!=typeof XDomainRequest)return new Nr;throw Error("Unsupported browser")},Rr.prototype.b=function(){return{}},Nl=Nr.prototype,Nl.open=function(e,t,n){if(null!=n&&!n)throw Error("Only async requests are supported.");this.a.open(e,t)},Nl.send=function(e){if(e){if("string"!=typeof e)throw Error("Only string data is supported");this.a.send(e)}else this.a.send()},Nl.abort=function(){this.a.abort()},Nl.setRequestHeader=function(){},Nl.getResponseHeader=function(e){return"content-type"==e.toLowerCase()?this.a.contentType:""},Nl.dc=function(){this.status=200,this.responseText=this.a.responseText,Mr(this,4)},Nl.Eb=function(){this.status=500,this.responseText="",Mr(this,4)},Nl.hc=function(){this.Eb()},Nl.ec=function(){this.status=200,Mr(this,1)},Nl.getAllResponseHeaders=function(){return"content-type: "+this.a.contentType},Dr.prototype.a=null;var Dc=0;Dr.prototype.reset=function(e,t,n,r,i){"number"==typeof i||Dc++,r||Wl(),delete this.a},jr.prototype.toString=function(){return this.name};var Lc=new jr("SEVERE",1e3),jc=new jr("WARNING",900),Wc=new jr("CONFIG",700),Bc=new jr("FINE",500);Lr.prototype.log=function(e,t,n){if(e.value>=Wr(this).value)for(l(t)&&(t=t()),e=new Dr(e,String(t),this.f),n&&(e.a=n),n=this;n;)n=n.a};var Fc={},zc=null;p(zr,Or),zr.prototype.a=function(){return new Ur(this.f)},zr.prototype.b=function(e){return function(){return e}}({}),p(Ur,je);var Uc=0;Nl=Ur.prototype,Nl.open=function(e,t){if(this.readyState!=Uc)throw this.abort(),Error("Error reopening a connection");this.h=e,this.c=t,this.readyState=1,Hr(this)},Nl.send=function(e){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.a=!0;var t={headers:this.g,method:this.h,credentials:void 0,cache:void 0};e&&(t.body=e),this.i.fetch(new Request(this.c,t)).then(this.gc.bind(this),this.Fb.bind(this))},Nl.abort=function(){this.responseText="",this.g=new Headers,this.status=0,1<=this.readyState&&this.a&&4!=this.readyState&&(this.readyState=4,this.a=!1,Hr(this)),this.readyState=Uc},Nl.gc=function(e){this.a&&(this.b||(this.b=e.headers,this.readyState=2,Hr(this)),this.a&&(this.readyState=3,Hr(this),this.a&&e.text().then(this.fc.bind(this,e),this.Fb.bind(this))))},Nl.fc=function(e,t){this.a&&(this.status=e.status,this.statusText=e.statusText,this.responseText=t,this.readyState=4,Hr(this))},Nl.Fb=function(e){var t=this.f;t&&t.log(jc,"Failed to fetch url "+this.c,e instanceof Error?e:Error(e)),this.a&&(this.readyState=4,Hr(this))},Nl.setRequestHeader=function(e,t){this.g.append(e,t)},Nl.getResponseHeader=function(e){return this.b?this.b.get(e.toLowerCase())||"":((e=this.f)&&e.log(jc,"Attempting to get response header but no headers have been received for url: "+this.c,void 0),"")},Nl.getAllResponseHeaders=function(){if(!this.b){var e=this.f;return e&&e.log(jc,"Attempting to get all response headers but no headers have been received for url: "+this.c,void 0),""}e=[];for(var t=this.b.entries(),n=t.next();!n.done;)n=n.value,e.push(n[0]+": "+n[1]),n=t.next();return e.join("\r\n")},p(Gr,je);var Hc="";Gr.prototype.b=Br("goog.net.XhrIo");var Gc=/^https?$/i,qc=["POST","PUT"];Nl=Gr.prototype,Nl.Ga=function(){"undefined"!=typeof Ml&&this.a&&(this.h="Timed out after "+this.g+"ms, aborting",Fr(this.b,ni(this,this.h)),this.dispatchEvent("timeout"),this.abort(8))},Nl.abort=function(){this.a&&this.c&&(Fr(this.b,ni(this,"Aborting")),this.c=!1,this.f=!0,this.a.abort(),this.f=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Qr(this))},Nl.ua=function(){this.a&&(this.c&&(this.c=!1,this.f=!0,this.a.abort(),this.f=!1),Qr(this,!0)),Gr.nb.ua.call(this)},Nl.Ib=function(){this.pa||(this.I||this.i||this.f?Xr(this):this.vc())},Nl.vc=function(){Xr(this)},Nl.getResponse=function(){try{if(!this.a)return null;if("response"in this.a)return this.a.response;switch(this.o){case Hc:case"text":return this.a.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in this.a)return this.a.mozResponseArrayBuffer}var e=this.b;return e&&e.log(Lc,"Response type "+this.o+" is not supported on this browser",void 0),null}catch(e){return Fr(this.b,"Can not get response: "+e.message),null}},ri.prototype.cancel=function(e){if(this.a)this.c instanceof ri&&this.c.cancel();else{if(this.b){var t=this.b;delete this.b,e?t.cancel(e):0>=--t.l&&t.cancel()}this.v?this.v.call(this.u,this):this.m=!0,this.a||(e=new di(this),oi(this),ii(this,!1,e))}},ri.prototype.o=function(e,t){this.i=!1,ii(this,e,t)},ri.prototype.C=function(){oi(this),ii(this,!0,null)},ri.prototype.then=function(e,t,n){var r,i,o=new V(function(e,t){r=e,i=t});return si(this,r,function(e){e instanceof di?o.cancel():i(e)}),o.then(e,t,n)},m(ri),p(ci,v),ci.prototype.message="Deferred has already fired",ci.prototype.name="AlreadyCalledError",p(di,v),di.prototype.message="Deferred was canceled",di.prototype.name="CanceledError",fi.prototype.c=function(){throw delete Vc[this.a],this.b};var Vc={},Kc=0,Yc=1;p(vi,v),p(yi,Or),yi.prototype.a=function(){return new this.f},yi.prototype.b=function(){return{}};var Zc,Xc="idToken",Qc=new vn(3e4,6e4),$c={"Content-Type":"application/x-www-form-urlencoded"},Jc=new vn(3e4,6e4),ed={"Content-Type":"application/json"};bi.prototype.o=function(e,t,n,r,i,o){if(Qt()&&("undefined"===typeof Dl.fetch||"undefined"===typeof Dl.Headers||"undefined"===typeof Dl.Request))throw new Rn("operation-not-supported-in-this-environment","fetch, Headers and Request native APIs or equivalent Polyfills must be available to support HTTP requests from a Worker environment.");var a=new Gr(this.c);if(o){a.g=Math.max(0,o);var s=setTimeout(function(){a.dispatchEvent("timeout")},o)}We(a,"complete",function(){s&&clearTimeout(s);var e=null;try{e=JSON.parse(ti(this))||null}catch(t){e=null}t&&t(e)}),Be(a,"ready",function(){s&&clearTimeout(s),he(this)}),Be(a,"timeout",function(){s&&clearTimeout(s),he(this),t&&t(null)}),qr(a,e,n,r,i)};var td=vt("https://apis.google.com/js/client.js?onload=%{onload}"),nd="__fcb"+Math.floor(1e6*Math.random()).toString();bi.prototype.m=function(e,t,n,r,i){var o=this;Zc.then(function(){window.gapi.client.setApiKey(o.b);var a=window.gapi.auth.getToken();window.gapi.auth.setToken(null),window.gapi.client.request({path:e,method:n,body:r,headers:i,authType:"none",callback:function(e){window.gapi.auth.setToken(a),t&&t(e)}})}).s(function(e){t&&t({error:{message:e&&e.message||"CORS_UNSUPPORTED"}})})},bi.prototype.Pa=function(){return zi(this,_d,{})},bi.prototype.ob=function(e,t){return zi(this,Ed,{idToken:e,email:t})},bi.prototype.pb=function(e,t){return zi(this,Td,{idToken:e,password:t})};var rd={displayName:"DISPLAY_NAME",photoUrl:"PHOTO_URL"};Nl=bi.prototype,Nl.qb=function(e,t){var n={idToken:e},r=[];return j(rd,function(e,i){var o=t[i];null===o?r.push(e):i in t&&(n[i]=o)}),r.length&&(n.deleteAttribute=r),zi(this,Ed,n)},Nl.jb=function(e,t){return e={requestType:"PASSWORD_RESET",email:e},F(e,t),zi(this,gd,e)},Nl.kb=function(e,t){return e={requestType:"EMAIL_SIGNIN",email:e},F(e,t),zi(this,pd,e)},Nl.ib=function(e,t){return e={requestType:"VERIFY_EMAIL",idToken:e},F(e,t),zi(this,md,e)},Nl.Ta=function(e){return zi(this,Ad,e)},Nl.Ya=function(e,t){return zi(this,bd,{oobCode:e,newPassword:t})},Nl.Ja=function(e){return zi(this,ad,{oobCode:e})},Nl.Va=function(e){return zi(this,od,{oobCode:e})};var id,od={endpoint:"setAccountInfo",B:Fi,da:"email"},ad={endpoint:"resetPassword",B:Fi,J:function(e){var t=e.requestType;if(!t||!e.email&&"EMAIL_SIGNIN"!=t)throw new Rn("internal-error")}},sd={endpoint:"signupNewUser",B:function(e){if(Si(e),!e.password)throw new Rn("weak-password")},J:Ii,R:!0},ld={endpoint:"createAuthUri"},ud={endpoint:"deleteAccount",T:["idToken"]},cd={endpoint:"setAccountInfo",T:["idToken","deleteProvider"],B:function(e){if(!a(e.deleteProvider))throw new Rn("internal-error")}},dd={endpoint:"emailLinkSignin",T:["email","oobCode"],B:Si,J:Ii,R:!0},fd={endpoint:"emailLinkSignin",T:["idToken","email","oobCode"],B:Si,J:Ii,R:!0},hd={endpoint:"getAccountInfo"},pd={endpoint:"getOobConfirmationCode",T:["requestType"],B:function(e){if("EMAIL_SIGNIN"!=e.requestType)throw new Rn("internal-error");Si(e)},da:"email"},md={endpoint:"getOobConfirmationCode",T:["idToken","requestType"],B:function(e){if("VERIFY_EMAIL"!=e.requestType)throw new Rn("internal-error")},da:"email"},gd={endpoint:"getOobConfirmationCode",T:["requestType"],B:function(e){if("PASSWORD_RESET"!=e.requestType)throw new Rn("internal-error");Si(e)},da:"email"},vd={tb:!0,endpoint:"getProjectConfig",Hb:"GET"},yd={tb:!0,endpoint:"getRecaptchaParam",Hb:"GET",J:function(e){if(!e.recaptchaSiteKey)throw new Rn("internal-error")}},bd={endpoint:"resetPassword",B:Fi,da:"email"},wd={endpoint:"sendVerificationCode",T:["phoneNumber","recaptchaToken"],da:"sessionInfo"},Ed={endpoint:"setAccountInfo",T:["idToken"],B:Ci,R:!0},Td={endpoint:"setAccountInfo",T:["idToken"],B:function(e){if(Ci(e),!e.password)throw new Rn("weak-password")},J:Ii,R:!0},_d={endpoint:"signupNewUser",J:Ii,R:!0},xd={endpoint:"verifyAssertion",B:Di,J:Li,R:!0},kd={endpoint:"verifyAssertion",B:Di,J:function(e){if(e.errorMessage&&"USER_NOT_FOUND"==e.errorMessage)throw new Rn("user-not-found");if(e.errorMessage)throw Ui(e.errorMessage);if(!e[Xc])throw new Rn("internal-error")},R:!0},Sd={endpoint:"verifyAssertion",B:function(e){if(Di(e),!e.idToken)throw new Rn("internal-error")},J:Li,R:!0},Cd={endpoint:"verifyCustomToken",B:function(e){if(!e.token)throw new Rn("invalid-custom-token")},J:Ii,R:!0},Od={endpoint:"verifyPassword",B:function(e){if(Si(e),!e.password)throw new Rn("wrong-password")},J:Ii,R:!0},Ad={endpoint:"verifyPhoneNumber",B:Ri,J:Ii},Pd={endpoint:"verifyPhoneNumber",B:function(e){if(!e.idToken)throw new Rn("internal-error");Ri(e)},J:function(e){if(e.temporaryProof)throw e.code="credential-already-in-use",Cr(e);Ii(e)}},Id={Wb:{USER_NOT_FOUND:"user-not-found"},endpoint:"verifyPhoneNumber",B:Ri,J:Ii},Rd={Zc:{$a:"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",hb:"https://securetoken.googleapis.com/v1/token",id:"p"},ad:{$a:"https://staging-www.sandbox.googleapis.com/identitytoolkit/v3/relyingparty/",hb:"https://staging-securetoken.sandbox.googleapis.com/v1/token",id:"s"},bd:{$a:"https://www-googleapis-test.sandbox.google.com/identitytoolkit/v3/relyingparty/",hb:"https://test-securetoken.sandbox.googleapis.com/v1/token",id:"t"}};id=Gi("__EID__")?"__EID__":void 0;var Nd=vt("https://apis.google.com/js/api.js?onload=%{onload}"),Md=new vn(3e4,6e4),Dd=new vn(5e3,15e3),Ld=null;Xi.prototype.toString=function(){return this.f?et(this.a,"v",this.f):ct(this.a.a,"v"),this.b?et(this.a,"eid",this.b):ct(this.a.a,"eid"),this.c.length?et(this.a,"fw",this.c.join(",")):ct(this.a.a,"fw"),this.a.toString()},Qi.prototype.toString=function(){var e=rt(this.o,"/__/auth/handler");if(et(e,"apiKey",this.m),et(e,"appName",this.c),et(e,"authType",this.l),this.a.isOAuthProvider){var t=this.a;try{var n=r.a.app(this.c).auth().ea()}catch(e){n=null}t.Za=n,et(e,"providerId",this.a.providerId),t=this.a,n=fn(t.xb);for(var i in n)n[i]=n[i].toString();i=t.Cc,n=B(n);for(var o=0;o<i.length;o++){var a=i[o];a in n&&delete n[a]}t.bb&&t.Za&&!n[t.bb]&&(n[t.bb]=t.Za),W(n)||et(e,"customParameters",dn(n))}if("function"===typeof this.a.Db&&(t=this.a.Db(),t.length&&et(e,"scopes",t.join(","))),this.i?et(e,"redirectUrl",this.i):ct(e.a,"redirectUrl"),this.g?et(e,"eventId",this.g):ct(e.a,"eventId"),this.h?et(e,"v",this.h):ct(e.a,"v"),this.b)for(var s in this.b)this.b.hasOwnProperty(s)&&!tt(e,s)&&et(e,s,this.b[s]);return this.f?et(e,"eid",this.f):ct(e.a,"eid"),s=$i(this.c),s.length&&et(e,"fw",s.join(",")),e.toString()},Nl=Ji.prototype,Nl.Ea=function(e,t,n){var r=new Rn("popup-closed-by-user"),i=new Rn("web-storage-unsupported"),o=this,a=!1;return this.ga().then(function(){oo(o).then(function(n){n||(e&&Gt(e),t(i),a=!0)})}).s(function(){}).then(function(){if(!a)return Vt(e)}).then(function(){if(!a)return Ue(n).then(function(){t(r)})})},Nl.Lb=function(){var e=rn();return!cn(e)&&!mn(e)},Nl.Gb=function(){return!1},Nl.Bb=function(e,t,n,r,i,o,a){if(!e)return X(new Rn("popup-blocked"));if(a&&!cn())return this.ga().s(function(t){Gt(e),i(t)}),r(),Z();this.a||(this.a=eo(no(this)));var s=this;return this.a.then(function(){var t=s.ga().s(function(t){throw Gt(e),i(t),t});return r(),t}).then(function(){if(Er(n),!a){Ft(ro(s.m,s.f,s.b,t,n,null,o,s.c,void 0,s.h),e)}}).s(function(e){throw"auth/network-request-failed"==e.code&&(s.a=null),e})},Nl.Ca=function(e,t,n){this.a||(this.a=eo(no(this)));var r=this;return this.a.then(function(){Er(t),Ft(ro(r.m,r.f,r.b,e,t,Bt(),n,r.c,void 0,r.h))}).s(function(e){throw"auth/network-request-failed"==e.code&&(r.a=null),e})},Nl.ga=function(){var e=this;return to(this).then(function(){return e.i.eb}).s(function(){throw e.a=null,new Rn("network-request-failed")})},Nl.Pb=function(){return!0},Nl.va=function(e){this.g.push(e)},Nl.Ka=function(e){A(this.g,function(t){return t==e})},Nl=ao.prototype,Nl.get=function(e){return Z(this.a.getItem(e)).then(function(e){return e&&hn(e)})},Nl.set=function(e,t){return Z(this.a.setItem(e,dn(t)))},Nl.P=function(e){return Z(this.a.removeItem(e))},Nl.Y=function(){},Nl.ca=function(){};var jd=[];so.prototype.f=function(e){var t=e.data.eventType,n=e.data.eventId,r=this.a[t];if(r&&0<r.length){e.ports[0].postMessage({status:"ack",eventId:n,eventType:t,response:null});var i=[];Ul(r,function(t){i.push(Z().then(function(){return t(e.origin,e.data.data)}))}),J(i).then(function(r){var i=[];Ul(r,function(e){i.push({fulfilled:e.Cb,value:e.value,reason:e.reason?e.reason.message:void 0})}),Ul(i,function(e){for(var t in e)"undefined"===typeof e[t]&&delete e[t]}),e.ports[0].postMessage({status:"done",eventId:n,eventType:t,response:i})})}},so.prototype.subscribe=function(e,t){W(this.a)&&this.b.addEventListener("message",this.c),"undefined"===typeof this.a[e]&&(this.a[e]=[]),this.a[e].push(t)},so.prototype.unsubscribe=function(e,t){"undefined"!==typeof this.a[e]&&t?(A(this.a[e],function(e){return e==t}),0==this.a[e].length&&delete this.a[e]):t||delete this.a[e],W(this.a)&&this.b.removeEventListener("message",this.c)},uo.prototype.postMessage=function(e,t){this.a.postMessage(e,t)},co.prototype.close=function(){for(;0<this.a.length;)ho(this,this.a[0]);this.b=!0};var Wd;Nl=po.prototype,Nl.set=function(e,t){var n,r=!1,i=this;return vo(this).then(function(t){return n=t,t=bo(wo(n,!0)),Eo(t.get(e))}).then(function(o){var a=bo(wo(n,!0));return o?(o.value=t,Eo(a.put(o))):(i.b++,r=!0,o={},o.fbase_key=e,o.value=t,Eo(a.add(o)))}).then(function(){return i.c[e]=t,To(i,e)}).ia(function(){r&&i.b--})},Nl.get=function(e){return vo(this).then(function(t){return Eo(bo(wo(t,!1)).get(e))}).then(function(e){return e&&e.value})},Nl.P=function(e){var t=!1,n=this;return vo(this).then(function(r){return t=!0,n.b++,Eo(bo(wo(r,!0)).delete(e))}).then(function(){return delete n.c[e],To(n,e)}).ia(function(){t&&n.b--})},Nl.Y=function(e){0==this.a.length&&xo(this),this.a.push(e)},Nl.ca=function(e){A(this.a,function(t){return t==e}),0==this.a.length&&ko(this)},Nl=So.prototype,Nl.get=function(e){return this.b.then(function(t){return t.get(e)})},Nl.set=function(e,t){return this.b.then(function(n){return n.set(e,t)})},Nl.P=function(e){return this.b.then(function(t){return t.P(e)})},Nl.Y=function(e){this.a.push(e)},Nl.ca=function(e){A(this.a,function(t){return t==e})},Nl=Co.prototype,Nl.get=function(e){return Z(this.a[e])},Nl.set=function(e,t){return this.a[e]=t,Z()},Nl.P=function(e){return delete this.a[e],Z()},Nl.Y=function(){},Nl.ca=function(){},Nl=Oo.prototype,Nl.get=function(e){var t=this;return Z().then(function(){return hn(t.a.getItem(e))})},Nl.set=function(e,t){var n=this;return Z().then(function(){var r=dn(t);null===r?n.P(e):n.a.setItem(e,r)})},Nl.P=function(e){var t=this;return Z().then(function(){t.a.removeItem(e)})},Nl.Y=function(e){Dl.window&&ke(Dl.window,"storage",e)},Nl.ca=function(e){Dl.window&&Ae(Dl.window,"storage",e)},Nl=Io.prototype,Nl.get=function(){return Z(null)},Nl.set=function(){return Z()},Nl.P=function(){return Z()},Nl.Y=function(){},Nl.ca=function(){},Nl=Ro.prototype,Nl.get=function(e){var t=this;return Z().then(function(){return hn(t.a.getItem(e))})},Nl.set=function(e,t){var n=this;return Z().then(function(){var r=dn(t);null===r?n.P(e):n.a.setItem(e,r)})},Nl.P=function(e){var t=this;return Z().then(function(){t.a.removeItem(e)})},Nl.Y=function(){},Nl.ca=function(){};var Bd,Fd,zd={A:Oo,Qa:Ro},Ud={A:Oo,Qa:Ro},Hd={A:ao,Qa:Io},Gd={A:Oo,Qa:Io},qd={Yc:"local",NONE:"none",$c:"session"};Nl=jo.prototype,Nl.get=function(e,t){return Bo(this,e.A).get(Fo(e,t))},Nl.set=function(e,t,n){var r=Fo(e,n),i=this,o=Bo(this,e.A);return o.set(r,t).then(function(){return o.get(r)}).then(function(t){"local"==e.A&&(i.b[r]=t)})},Nl.addListener=function(e,t,n){e=Fo(e,t),this.l&&(this.b[e]=Dl.localStorage.getItem(e)),W(this.a)&&(Bo(this,"local").Y(this.f),this.h||(Wt()||!En())&&Dl.indexedDB||!this.l||Ho(this)),this.a[e]||(this.a[e]=[]),this.a[e].push(n)},Nl.removeListener=function(e,t,n){e=Fo(e,t),this.a[e]&&(A(this.a[e],function(e){return e==n}),0==this.a[e].length&&delete this.a[e]),W(this.a)&&(Bo(this,"local").ca(this.f),Go(this))},Nl.Ob=function(e){if(e&&e.f){var t=e.a.key;if(null==t)for(var n in this.a){var r=this.b[n];"undefined"===typeof r&&(r=null);var i=Dl.localStorage.getItem(n);i!==r&&(this.b[n]=i,this.Wa(n))}else if(0==t.indexOf("firebase:")&&this.a[t]){if("undefined"!==typeof e.a.a?Bo(this,"local").ca(this.f):Go(this),this.o)if(n=Dl.localStorage.getItem(t),(r=e.a.newValue)!==n)null!==r?Dl.localStorage.setItem(t,r):Dl.localStorage.removeItem(t);else if(this.b[t]===r&&"undefined"===typeof e.a.a)return;var o=this;n=function(){"undefined"===typeof e.a.a&&o.b[t]===Dl.localStorage.getItem(t)||(o.b[t]=Dl.localStorage.getItem(t),o.Wa(t))},mu&&_u&&10==_u&&Dl.localStorage.getItem(t)!==e.a.newValue&&e.a.newValue!==e.a.oldValue?setTimeout(n,10):n()}}else Ul(e,f(this.Wa,this))},Nl.Wa=function(e){this.a[e]&&Ul(this.a[e],function(e){e()})};var Vd,Kd={name:"authEvent",A:"local"};p(Zo,Yo);for(var Yd=64,Zd=Yd-1,Xd=[],Qd=0;Qd<Zd;Qd++)Xd[Qd]=0;var $d=P(128,Xd);Zo.prototype.reset=function(){this.g=this.c=0,this.a=Dl.Int32Array?new Int32Array(this.h):I(this.h)};var Jd=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];p($o,Zo);var ef=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];Nl=Jo.prototype,Nl.ga=function(){return this.za?this.za:this.za=Yt().then(function(){if("function"!==typeof on("universalLinks.subscribe",Dl))throw ea("cordova-universal-links-plugin is not installed");if("undefined"===typeof on("BuildInfo.packageName",Dl))throw ea("cordova-plugin-buildinfo is not installed");if("function"!==typeof on("cordova.plugins.browsertab.openUrl",Dl))throw ea("cordova-plugin-browsertab is not installed");if("function"!==typeof on("cordova.InAppBrowser.open",Dl))throw ea("cordova-plugin-inappbrowser is not installed")},function(){throw new Rn("cordova-not-ready")})},Nl.Ea=function(e,t){return t(new Rn("operation-not-supported-in-this-environment")),Z()},Nl.Bb=function(){return X(new Rn("operation-not-supported-in-this-environment"))},Nl.Pb=function(){return!1},Nl.Lb=function(){return!0},Nl.Gb=function(){return!0},Nl.Ca=function(e,t,n){if(this.c)return X(new Rn("redirect-operation-pending"));var r=this,i=Dl.document,o=null,a=null,s=null,l=null;return this.c=Z().then(function(){return Er(t),oa(r)}).then(function(){return ra(r,e,t,n)}).then(function(){return new V(function(e,t){a=function(){var t=on("cordova.plugins.browsertab.close",Dl);return e(),"function"===typeof t&&t(),r.a&&"function"===typeof r.a.close&&(r.a.close(),r.a=null),!1},r.va(a),s=function(){o||(o=Ue(2e3).then(function(){t(new Rn("redirect-cancelled-by-user"))}))},l=function(){yn()&&s()},i.addEventListener("resume",s,!1),rn().toLowerCase().match(/android/)||i.addEventListener("visibilitychange",l,!1)}).s(function(e){return aa(r).then(function(){throw e})})}).ia(function(){s&&i.removeEventListener("resume",s,!1),l&&i.removeEventListener("visibilitychange",l,!1),o&&o.cancel(),a&&r.Ka(a),r.c=null})},Nl.va=function(e){this.b.push(e),oa(this).s(function(t){"auth/invalid-cordova-configuration"===t.code&&(t=new Tr("unknown",null,null,null,new Rn("no-auth-event")),e(t))})},Nl.Ka=function(e){A(this.b,function(t){return t==e})};var tf={name:"pendingRedirect",A:"session"};Nl=fa.prototype,Nl.reset=function(){this.f=!1,this.a.Ka(this.i),this.a=ha(this.u,this.l,this.m)},Nl.Xa=function(){this.b.Xa()},Nl.subscribe=function(e){if(C(this.h,e)||this.h.push(e),!this.f){var t=this;da(this.g).then(function(e){e?ca(t.g).then(function(){pa(t).s(function(e){var n=new Tr("unknown",null,null,null,new Rn("operation-not-supported-in-this-environment"));va(e)&&t.ab(n)})}):ma(t)}).s(function(){ma(t)})}},Nl.unsubscribe=function(e){A(this.h,function(t){return t==e})},Nl.ab=function(e){if(!e)throw new Rn("invalid-auth-event");for(var t=!1,n=0;n<this.h.length;n++){var r=this.h[n];if(r.ub(e.b,e.c)){(t=this.c[e.b])&&t.h(e,r),t=!0;break}}return wa(this.b),t};var nf=new vn(2e3,1e4),rf=new vn(3e4,6e4);fa.prototype.fa=function(){return this.b.fa()},fa.prototype.Ca=function(e,t,n){var r,i=this;return ua(this.g).then(function(){return i.a.Ca(e,t,n).s(function(e){if(va(e))throw new Rn("operation-not-supported-in-this-environment");return r=e,ca(i.g).then(function(){throw r})}).then(function(){return i.a.Pb()?new V(function(){}):ca(i.g).then(function(){return i.fa()}).then(function(){}).s(function(){})})})},fa.prototype.Ea=function(e,t,n,r){return this.a.Ea(n,function(n){e.ha(t,null,n,r)},nf.get())};var of={};ba.prototype.reset=function(){this.b=null,this.a&&(this.a.cancel(),this.a=null)},ba.prototype.h=function(e,t){if(e){this.reset(),this.g=!0;var n=e.b,r=e.c,i=e.a&&"auth/web-storage-unsupported"==e.a.code,o=e.a&&"auth/operation-not-supported-in-this-environment"==e.a.code;this.i=!(!i&&!o),"unknown"!=n||i||o?e.a?(xa(this,!0,null,e.a),Z()):t.wa(n,r)?Ea(this,e,t):X(new Rn("invalid-auth-event")):(xa(this,!1,null,null),Z())}else X(new Rn("invalid-auth-event"))},ba.prototype.Xa=function(){this.g&&!this.i&&xa(this,!1,null,null)},ba.prototype.fa=function(){var e=this;return new V(function(t,n){e.b?e.b().then(t,n):(e.f.push(t),e.c.push(n),ka(e))})},Sa.prototype.h=function(e,t){if(e){var n=e.b,r=e.c;e.a?(t.ha(e.b,null,e.a,e.c),Z()):t.wa(n,r)?Ca(e,t):X(new Rn("invalid-auth-event"))}else X(new Rn("invalid-auth-event"))},Aa.prototype.confirm=function(e){return e=br(this.verificationId,e),this.a(e)},Ra.prototype.start=function(){this.a=this.c,Ma(this,!0)},Ra.prototype.stop=function(){this.b&&(this.b.cancel(),this.b=null)},Da.prototype.D=function(){return{apiKey:this.f.b,refreshToken:this.a,accessToken:this.b,expirationTime:this.c}},Da.prototype.getToken=function(e){return e=!!e,this.b&&!this.a?X(new Rn("user-token-expired")):e||!this.b||Wl()>this.c-3e4?this.a?Ba(this,{grant_type:"refresh_token",refresh_token:this.a}):Z(null):Z({accessToken:this.b,expirationTime:this.c,refreshToken:this.a})},Fa.prototype.D=function(){return{lastLoginAt:this.b,createdAt:this.a}},p(Ha,ye),p(Ga,je),Ga.prototype.oa=function(e){this.ka=e,wi(this.b,e)},Ga.prototype.ea=function(){return this.ka},Ga.prototype.xa=function(){return I(this.O)},Ga.prototype.Ha=function(){this.w.b&&(this.w.stop(),this.w.start())},kn(Ga.prototype,"providerId","firebase"),Nl=Ga.prototype,Nl.reload=function(){var e=this;return ws(this,is(this).then(function(){return cs(e).then(function(){return es(e)}).then(rs)}))},Nl.cc=function(e){return this.F(e).then(function(e){return new Ia(e)})},Nl.F=function(e){var t=this;return ws(this,is(this).then(function(){return t.h.getToken(e)}).then(function(e){if(!e)throw new Rn("internal-error");return e.accessToken!=t.qa&&($a(t,e.accessToken),t.dispatchEvent(new Ha("tokenChanged"))),ls(t,"refreshToken",e.refreshToken),e.accessToken}))},Nl.wc=function(e){if(!(e=e.users)||!e.length)throw new Rn("internal-error");e=e[0],ns(this,{uid:e.localId,displayName:e.displayName,photoURL:e.photoUrl,email:e.email,emailVerified:!!e.emailVerified,phoneNumber:e.phoneNumber,lastLoginAt:e.lastLoginAt,createdAt:e.createdAt});for(var t=hs(e),n=0;n<t.length;n++)as(this,t[n]);ls(this,"isAnonymous",!(this.email&&e.passwordHash)&&!(this.providerData&&this.providerData.length))},Nl.fb=function(e){var t=this,n=null;return ws(this,e.f(this.b,this.uid).then(function(e){return ds(t,e),n=ms(t,e,"reauthenticate"),t.i=null,t.reload()}).then(function(){return n}),!0)},Nl.xc=function(e){return xn("firebase.User.prototype.reauthenticateWithCredential is deprecated. Please use firebase.User.prototype.reauthenticateAndRetrieveDataWithCredential instead."),this.fb(e).then(function(){})},Nl.cb=function(e){var t=this,n=null;return ws(this,ps(this,e.providerId).then(function(){return t.F()}).then(function(n){return e.c(t.b,n)}).then(function(e){return n=ms(t,e,"link"),gs(t,e)}).then(function(){return n}))},Nl.oc=function(e){return xn("firebase.User.prototype.linkWithCredential is deprecated. Please use firebase.User.prototype.linkAndRetrieveDataWithCredential instead."),this.cb(e).then(function(e){return e.user})},Nl.pc=function(e,t){var n=this;return ws(this,ps(this,"phone").then(function(){return Pa(Ya(n),e,t,f(n.cb,n))}))},Nl.yc=function(e,t){var n=this;return ws(this,Z().then(function(){return Pa(Ya(n),e,t,f(n.fb,n))}),!0)},Nl.ob=function(e){var t=this;return ws(this,this.F().then(function(n){return t.b.ob(n,e)}).then(function(e){return ds(t,e),t.reload()}))},Nl.Qc=function(e){var t=this;return ws(this,this.F().then(function(n){return e.c(t.b,n)}).then(function(e){return ds(t,e),t.reload()}))},Nl.pb=function(e){var t=this;return ws(this,this.F().then(function(n){return t.b.pb(n,e)}).then(function(e){return ds(t,e),t.reload()}))},Nl.qb=function(e){if(void 0===e.displayName&&void 0===e.photoURL)return is(this);var t=this;return ws(this,this.F().then(function(n){return t.b.qb(n,{displayName:e.displayName,photoUrl:e.photoURL})}).then(function(e){return ds(t,e),ls(t,"displayName",e.displayName||null),ls(t,"photoURL",e.photoUrl||null),Ul(t.providerData,function(e){"password"===e.providerId&&(kn(e,"displayName",t.displayName),kn(e,"photoURL",t.photoURL))}),es(t)}).then(rs))},Nl.Oc=function(e){var t=this;return ws(this,cs(this).then(function(n){return C(os(t),e)?Mi(t.b,n,[e]).then(function(e){var n={};return Ul(e.providerUserInfo||[],function(e){n[e.providerId]=!0}),Ul(os(t),function(e){n[e]||ss(t,e)}),n[yr.PROVIDER_ID]||kn(t,"phoneNumber",null),es(t)}):es(t).then(function(){throw new Rn("no-such-provider")})}))},Nl.delete=function(){var e=this;return ws(this,this.F().then(function(t){return zi(e.b,ud,{idToken:t})}).then(function(){e.dispatchEvent(new Ha("userDeleted"))})).then(function(){for(var t=0;t<e.G.length;t++)e.G[t].cancel("app-deleted");qa(e,null),Ka(e,null),e.G=[],e.C=!0,Qa(e),kn(e,"refreshToken",null),e.a&&e.a.unsubscribe(e)})},Nl.ub=function(e,t){return!!("linkViaPopup"==e&&(this.g||null)==t&&this.f||"reauthViaPopup"==e&&(this.g||null)==t&&this.f||"linkViaRedirect"==e&&(this.aa||null)==t||"reauthViaRedirect"==e&&(this.aa||null)==t)},Nl.ha=function(e,t,n,r){"linkViaPopup"!=e&&"reauthViaPopup"!=e||r!=(this.g||null)||(n&&this.v?this.v(n):t&&!n&&this.f&&this.f(t),this.c&&(this.c.cancel(),this.c=null),delete this.f,delete this.v)},Nl.wa=function(e,t){return"linkViaPopup"==e&&t==(this.g||null)?f(this.zb,this):"reauthViaPopup"==e&&t==(this.g||null)?f(this.Ab,this):"linkViaRedirect"==e&&(this.aa||null)==t?f(this.zb,this):"reauthViaRedirect"==e&&(this.aa||null)==t?f(this.Ab,this):null},Nl.qc=function(e){var t=this;return vs(this,"linkViaPopup",e,function(){return ps(t,e.providerId).then(function(){return es(t)})},!1)},Nl.zc=function(e){return vs(this,"reauthViaPopup",e,function(){return Z()},!0)},Nl.rc=function(e){var t=this;return ys(this,"linkViaRedirect",e,function(){return ps(t,e.providerId)},!1)},Nl.Ac=function(e){return ys(this,"reauthViaRedirect",e,function(){return Z()},!0)},Nl.zb=function(e,t){var n=this;this.c&&(this.c.cancel(),this.c=null);var r=null;return ws(this,this.F().then(function(r){return Wi(n.b,{requestUri:e,sessionId:t,idToken:r})}).then(function(e){return r=ms(n,e,"link"),gs(n,e)}).then(function(){return r}))},Nl.Ab=function(e,t){var n=this;this.c&&(this.c.cancel(),this.c=null);var r=null;return ws(this,Z().then(function(){return Jn(Bi(n.b,{requestUri:e,sessionId:t}),n.uid)}).then(function(e){return r=ms(n,e,"reauthenticate"),ds(n,e),n.i=null,n.reload()}).then(function(){return r}),!0)},Nl.ib=function(e){var t=this,n=null;return ws(this,this.F().then(function(t){return n=t,"undefined"===typeof e||W(e)?{}:Dn(new Mn(e))}).then(function(e){return t.b.ib(n,e)}).then(function(e){if(t.email!=e)return t.reload()}).then(function(){}))},Nl.toJSON=function(){return this.D()},Nl.D=function(){var e={uid:this.uid,displayName:this.displayName,photoURL:this.photoURL,email:this.email,emailVerified:this.emailVerified,phoneNumber:this.phoneNumber,isAnonymous:this.isAnonymous,providerData:[],apiKey:this.m,appName:this.o,authDomain:this.u,stsTokenManager:this.h.D(),redirectEventId:this.aa||null};return this.metadata&&F(e,this.metadata.D()),Ul(this.providerData,function(t){e.providerData.push(On(t))}),e};var af={name:"redirectUser",A:"session"};Os.prototype.g=function(){var e=this,t=Is("local");Ls(this,function(){return Z().then(function(){return e.c&&"local"!=e.c.A?e.b.get(t,e.a):null}).then(function(n){if(n)return As(e,"local").then(function(){e.c=t})})})};var sf={name:"persistence",A:"session"};Os.prototype.lb=function(e){var t=null,n=this;return Lo(e),Ls(this,function(){return e!=n.c.A?n.b.get(n.c,n.a).then(function(r){return t=r,As(n,e)}).then(function(){if(n.c=Is(e),t)return n.b.set(n.c,t,n.a)}):Z()})},p(js,je),p(Ws,ye),p(Bs,ye),Nl=js.prototype,Nl.lb=function(e){return e=this.h.lb(e),el(this,e)},Nl.oa=function(e){this.W===e||this.m||(this.W=e,wi(this.b,this.W),this.dispatchEvent(new Ws(this.ea())))},Nl.ea=function(){return this.W},Nl.Rc=function(){var e=Dl.navigator;this.oa(e?e.languages&&e.languages[0]||e.language||e.userLanguage||null:null)},Nl.sc=function(e){this.G.push(e),Ei(this.b,r.a.SDK_VERSION?nn(r.a.SDK_VERSION,this.G):null),this.dispatchEvent(new Bs(this.G))},Nl.xa=function(){return I(this.G)},Nl.toJSON=function(){return{apiKey:Zs(this).options.apiKey,authDomain:Zs(this).options.authDomain,appName:Zs(this).name,currentUser:Xs(this)&&Xs(this).D()}},Nl.ub=function(e,t){switch(e){case"unknown":case"signInViaRedirect":return!0;case"signInViaPopup":return this.g==t&&!!this.f;default:return!1}},Nl.ha=function(e,t,n,r){"signInViaPopup"==e&&this.g==r&&(n&&this.v?this.v(n):t&&!n&&this.f&&this.f(t),this.c&&(this.c.cancel(),this.c=null),delete this.f,delete this.v)},Nl.wa=function(e,t){return"signInViaRedirect"==e||"signInViaPopup"==e&&this.g==t&&this.f?f(this.$b,this):null},Nl.$b=function(e,t){var n=this;e={requestUri:e,sessionId:t},this.c&&(this.c.cancel(),this.c=null);var r=null,i=null,o=ji(n.b,e).then(function(e){return r=wr(e),i=Gn(e),e});return e=n.V.then(function(){return o}).then(function(e){return Hs(n,e)}).then(function(){return Cn({user:Xs(n),credential:r,additionalUserInfo:i,operationType:"signIn"})}),el(this,e)},Nl.Jc=function(e){if(!sn())return X(new Rn("operation-not-supported-in-this-environment"));var t=this,n=Hn(e.providerId),i=pn(),o=null;(!cn()||Xt())&&Zs(this).options.authDomain&&e.isOAuthProvider&&(o=ro(Zs(this).options.authDomain,Zs(this).options.apiKey,Zs(this).name,"signInViaPopup",e,null,i,r.a.SDK_VERSION||null));var a=qt(o,n&&n.Ba,n&&n.Aa);return n=zs(this).then(function(t){return ga(t,a,"signInViaPopup",e,i,!!o)}).then(function(){return new V(function(e,n){t.ha("signInViaPopup",null,new Rn("cancelled-popup-request"),t.g),t.f=e,t.v=n,t.g=i,t.c=t.a.Ea(t,"signInViaPopup",a,i)})}).then(function(e){return a&&Gt(a),e?Cn(e):null}).s(function(e){throw a&&Gt(a),e}),el(this,n)},Nl.Kc=function(e){if(!sn())return X(new Rn("operation-not-supported-in-this-environment"));var t=this;return el(this,zs(this).then(function(){return Rs(t.h)}).then(function(){return t.a.Ca("signInViaRedirect",e)}))},Nl.fa=function(){if(!sn())return X(new Rn("operation-not-supported-in-this-environment"));var e=this;return el(this,zs(this).then(function(){return e.a.fa()}).then(function(e){return e?Cn(e):null}))},Nl.Pc=function(e){if(!e)return X(new Rn("null-user"));var t=this,n={};n.apiKey=Zs(this).options.apiKey,n.authDomain=Zs(this).options.authDomain,n.appName=Zs(this).name;var r=xs(e,n,t.w,t.xa());return el(this,this.i.then(function(){if(Zs(t).options.apiKey!=e.m)return r.reload()}).then(function(){return Xs(t)&&e.uid==Xs(t).uid?(us(Xs(t),e),t.Z(e)):(Gs(t,r),ts(r),t.Z(r))}).then(function(){$s(t)}))},Nl.mb=function(){var e=this;return el(this,this.i.then(function(){return Xs(e)?(Gs(e,null),Ms(e.h).then(function(){$s(e)})):Z()}))},Nl.Lc=function(){var e=this;return Ds(this.h,Zs(this).options.authDomain).then(function(t){if(!e.m){var n;if(n=Xs(e)&&t){n=Xs(e).uid;var r=t.uid;n=void 0!==n&&null!==n&&""!==n&&void 0!==r&&null!==r&&""!==r&&n==r}if(n)return us(Xs(e),t),Xs(e).F();(Xs(e)||t)&&(Gs(e,t),t&&(ts(t),t.ba=e.w),e.a&&e.a.subscribe(e),$s(e))}})},Nl.Z=function(e){return Ns(this.h,e)},Nl.ac=function(){$s(this),this.Z(Xs(this))},Nl.ic=function(){this.mb()},Nl.jc=function(){this.mb()},Nl.kc=function(e){var t=this;this.addAuthTokenListener(function(){e.next(Xs(t))})},Nl.mc=function(e){var t=this;Js(this,function(){e.next(Xs(t))})},Nl.uc=function(e,t,n){var i=this;return this.X&&r.a.Promise.resolve().then(function(){l(e)?e(Xs(i)):l(e.next)&&e.next(Xs(i))}),this.Sb(e,t,n)},Nl.tc=function(e,t,n){var i=this;return this.X&&r.a.Promise.resolve().then(function(){i.O=i.getUid(),l(e)?e(Xs(i)):l(e.next)&&e.next(Xs(i))}),this.Tb(e,t,n)},Nl.bc=function(e){var t=this;return el(this,this.i.then(function(){return Xs(t)?Xs(t).F(e).then(function(e){return{accessToken:e}}):null}))},Nl.Mb=function(e){var t=this;return this.i.then(function(){return Ys(t,zi(t.b,Cd,{token:e}))}).then(function(e){var n=e.user;return ls(n,"isAnonymous",!1),t.Z(n),e})},Nl.Dc=function(e){return xn("firebase.auth.Auth.prototype.signInAndRetrieveDataWithCustomToken is deprecated. Please use firebase.auth.Auth.prototype.signInWithCustomToken instead."),this.Mb(e)},Nl.Ec=function(e,t){return xn("firebase.auth.Auth.prototype.signInAndRetrieveDataWithEmailAndPassword is deprecated. Please use firebase.auth.Auth.prototype.signInWithEmailAndPassword instead."),this.Nb(e,t)},Nl.Nb=function(e,t){var n=this;return this.i.then(function(){return Ys(n,zi(n.b,Od,{email:e,password:t}))})},Nl.wb=function(e,t){var n=this;return this.i.then(function(){return Ys(n,zi(n.b,sd,{email:e,password:t}))})},Nl.Vb=function(e,t){return xn("firebase.auth.Auth.prototype.createUserAndRetrieveDataWithEmailAndPassword is deprecated. Please use firebase.auth.Auth.prototype.createUserWithEmailAndPassword instead."),this.wb(e,t)},Nl.Gc=function(e){return xn("firebase.auth.Auth.prototype.signInWithCredential is deprecated. Please use firebase.auth.Auth.prototype.signInAndRetrieveDataWithCredential instead."),this.Oa(e).then(function(e){return e.user})},Nl.Oa=function(e){var t=this;return this.i.then(function(){return Ys(t,e.ya(t.b))})},Nl.Pa=function(){var e=this;return this.i.then(function(){var t=Xs(e);if(t&&t.isAnonymous){return Cn({user:t,credential:null,additionalUserInfo:Cn({providerId:null,isNewUser:!1}),operationType:"signIn"})}return Ys(e,e.b.Pa()).then(function(t){var n=t.user;return ls(n,"isAnonymous",!0),e.Z(n),t})})},Nl.Fc=function(){return xn("firebase.auth.Auth.prototype.signInAnonymouslyAndRetrieveData is deprecated. Please use firebase.auth.Auth.prototype.signInAnonymously instead."),this.Pa()},Nl.getUid=function(){return Xs(this)&&Xs(this).uid||null},Nl.Ub=function(e){this.addAuthTokenListener(e),0<++this.u&&Xs(this)&&Xa(Xs(this))},Nl.Bc=function(e){var t=this;Ul(this.o,function(n){n==e&&t.u--}),0>this.u&&(this.u=0),0==this.u&&Xs(this)&&Qa(Xs(this)),this.removeAuthTokenListener(e)},Nl.addAuthTokenListener=function(e){var t=this;this.o.push(e),el(this,this.i.then(function(){t.m||C(t.o,e)&&e(Qs(t))}))},Nl.removeAuthTokenListener=function(e){A(this.o,function(t){return t==e})},Nl.delete=function(){this.m=!0;for(var e=0;e<this.N.length;e++)this.N[e].cancel("app-deleted");return this.N=[],this.h&&(e=this.h,e.b.removeListener(Is("local"),e.a,this.ka)),this.a&&(this.a.unsubscribe(this),this.a.Xa()),r.a.Promise.resolve()},Nl.Yb=function(e){return xn("firebase.auth.Auth.prototype.fetchProvidersForEmail is deprecated. Please use firebase.auth.Auth.prototype.fetchSignInMethodsForEmail instead."),el(this,Oi(this.b,e))},Nl.Zb=function(e){return el(this,Ai(this.b,e))},Nl.nc=function(e){return!!mr(e)},Nl.kb=function(e,t){var n=this;return el(this,Z().then(function(){var e=new Mn(t);if(!e.c)throw new Rn("argument-error",yc+" must be true when sending sign in link to email");return Dn(e)}).then(function(t){return n.b.kb(e,t)}).then(function(){}))},Nl.Sc=function(e){return this.Ja(e).then(function(e){return e.data.email})},Nl.Ya=function(e,t){return el(this,this.b.Ya(e,t).then(function(){}))},Nl.Ja=function(e){return el(this,this.b.Ja(e).then(function(e){return new In(e)}))},Nl.Va=function(e){return el(this,this.b.Va(e).then(function(){}))},Nl.jb=function(e,t){var n=this;return el(this,Z().then(function(){return"undefined"===typeof t||W(t)?{}:Dn(new Mn(t))}).then(function(t){return n.b.jb(e,t)}).then(function(){}))},Nl.Ic=function(e,t){return el(this,Pa(this,e,t,f(this.Oa,this)))},Nl.Hc=function(e,t){var n=this;return el(this,Z().then(function(){var r=pr(e,t||Bt());return n.Oa(r)}))},tl.prototype.render=function(){},tl.prototype.reset=function(){},tl.prototype.getResponse=function(){},tl.prototype.execute=function(){};var lf=null;nl.prototype.render=function(e,t){return this.a[this.b.toString()]=new ol(e,t),this.b++},nl.prototype.reset=function(e){var t=rl(this,e);e=il(e),t&&e&&(t.delete(),delete this.a[e])},nl.prototype.getResponse=function(e){return(e=rl(this,e))?e.getResponse():null},nl.prototype.execute=function(e){(e=rl(this,e))&&e.execute()},ol.prototype.getResponse=function(){return al(this),this.b},ol.prototype.execute=function(){al(this);var e=this;this.a||(this.a=setTimeout(function(){e.b=en();var t=e.c.callback,n=e.c["expired-callback"];if(t)try{t(e.b)}catch(e){}e.a=setTimeout(function(){if(e.a=null,e.b=null,n)try{n()}catch(e){}e.h&&e.execute()},6e4)},500))},ol.prototype.delete=function(){al(this),this.g=!0,clearTimeout(this.a),this.a=null,Ae(this.f,"click",this.i)},sl.prototype.g=function(){return lf||(lf=new nl),Z(lf)},sl.prototype.c=function(){};var uf=null,cf=vt("https://www.google.com/recaptcha/api.js?onload=%{onload}&render=explicit&hl=%{hl}"),df=new vn(3e4,6e4);ll.prototype.g=function(e){var t=this;return new V(function(n,r){var i=setTimeout(function(){r(new Rn("network-request-failed"))},df.get());if(!Dl.grecaptcha||e!==t.f&&!t.b){Dl[t.a]=function(){if(Dl.grecaptcha){t.f=e;var o=Dl.grecaptcha.render;Dl.grecaptcha.render=function(e,n){return e=o(e,n),t.b++,e},clearTimeout(i),n(Dl.grecaptcha)}else clearTimeout(i),r(new Rn("internal-error"));delete Dl[t.a]};Z(hi(wt(cf,{onload:t.a,hl:e||""}))).s(function(){clearTimeout(i),r(new Rn("internal-error","Unable to load external reCAPTCHA dependencies!"))})}else clearTimeout(i),n(Dl.grecaptcha)})},ll.prototype.c=function(){this.b--};var ff=null,hf="callback",pf="expired-callback",mf="sitekey",gf="size";Nl=ul.prototype,Nl.za=function(){var e=this;return this.f?this.f:this.f=fl(this,Z().then(function(){if(ln()&&!Qt())return Kt();throw new Rn("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment.")}).then(function(){return e.o.g(e.v())}).then(function(t){return e.g=t,zi(e.u,yd,{})}).then(function(t){e.a[mf]=t.recaptchaSiteKey}).s(function(t){throw e.f=null,t}))},Nl.render=function(){hl(this);var e=this;return fl(this,this.za().then(function(){if(null===e.c){var t=e.m;if(!e.i){var n=At(t);t=It("DIV"),n.appendChild(t)}e.c=e.g.render(t,e.a)}return e.c}))},Nl.verify=function(){hl(this);var e=this;return fl(this,this.render().then(function(t){return new V(function(n){var r=e.g.getResponse(t);if(r)n(r);else{var i=function(t){t&&(dl(e,i),n(t))};e.l.push(i),e.i&&e.g.execute(e.c)}})}))},Nl.reset=function(){hl(this),null!==this.c&&this.g.reset(this.c)},Nl.clear=function(){hl(this),this.C=!0,this.o.c();for(var e=0;e<this.h.length;e++)this.h[e].cancel("RecaptchaVerifier instance has been destroyed.");if(!this.i){e=At(this.m);for(var t;t=e.firstChild;)e.removeChild(t)}},p(pl,ul);var vf="First Second Third Fourth Fifth Sixth Seventh Eighth Ninth".split(" ");Ol(js.prototype,{Va:{name:"applyActionCode",j:[gl("code")]},Ja:{name:"checkActionCode",j:[gl("code")]},Ya:{name:"confirmPasswordReset",j:[gl("code"),gl("newPassword")]},wb:{name:"createUserWithEmailAndPassword",j:[gl("email"),gl("password")]},Vb:{name:"createUserAndRetrieveDataWithEmailAndPassword",j:[gl("email"),gl("password")]},Yb:{name:"fetchProvidersForEmail",j:[gl("email")]},Zb:{name:"fetchSignInMethodsForEmail",j:[gl("email")]},fa:{name:"getRedirectResult",j:[]},nc:{name:"isSignInWithEmailLink",j:[gl("emailLink")]},tc:{name:"onAuthStateChanged",j:[Cl(yl(),bl(),"nextOrObserver"),bl("opt_error",!0),bl("opt_completed",!0)]},uc:{name:"onIdTokenChanged",j:[Cl(yl(),bl(),"nextOrObserver"),bl("opt_error",!0),bl("opt_completed",!0)]},jb:{name:"sendPasswordResetEmail",j:[gl("email"),Cl(yl("opt_actionCodeSettings",!0),wl(null,!0),"opt_actionCodeSettings",!0)]},kb:{name:"sendSignInLinkToEmail",j:[gl("email"),yl("actionCodeSettings")]},lb:{name:"setPersistence",j:[gl("persistence")]},Oa:{name:"signInAndRetrieveDataWithCredential",j:[xl()]},Pa:{name:"signInAnonymously",j:[]},Fc:{name:"signInAnonymouslyAndRetrieveData",j:[]},Gc:{name:"signInWithCredential",j:[xl()]},Mb:{name:"signInWithCustomToken",j:[gl("token")]},Dc:{name:"signInAndRetrieveDataWithCustomToken",j:[gl("token")]},Nb:{name:"signInWithEmailAndPassword",j:[gl("email"),gl("password")]},Hc:{name:"signInWithEmailLink",j:[gl("email"),gl("emailLink",!0)]},Ec:{name:"signInAndRetrieveDataWithEmailAndPassword",j:[gl("email"),gl("password")]},Ic:{name:"signInWithPhoneNumber",j:[gl("phoneNumber"),Sl()]},Jc:{name:"signInWithPopup",j:[kl()]},Kc:{name:"signInWithRedirect",j:[kl()]},Pc:{name:"updateCurrentUser",j:[Cl(function(e){return{name:"user",K:"an instance of Firebase User",optional:!1,M:function(e){return!!(e&&e instanceof Ga)}}}(),wl(),"user")]},mb:{name:"signOut",j:[]},toJSON:{name:"toJSON",j:[gl(null,!0)]},Rc:{name:"useDeviceLanguage",j:[]},Sc:{name:"verifyPasswordResetCode",j:[gl("code")]}}),Al(js.prototype,{lc:{name:"languageCode",sb:Cl(gl(),wl(),"languageCode")}}),js.Persistence=qd,js.Persistence.LOCAL="local",js.Persistence.SESSION="session",js.Persistence.NONE="none",Ol(Ga.prototype,{delete:{name:"delete",j:[]},cc:{name:"getIdTokenResult",j:[vl("opt_forceRefresh",!0)]},F:{name:"getIdToken",j:[vl("opt_forceRefresh",!0)]},cb:{name:"linkAndRetrieveDataWithCredential",j:[xl()]},oc:{name:"linkWithCredential",j:[xl()]},pc:{name:"linkWithPhoneNumber",j:[gl("phoneNumber"),Sl()]},qc:{name:"linkWithPopup",j:[kl()]},rc:{name:"linkWithRedirect",j:[kl()]},fb:{name:"reauthenticateAndRetrieveDataWithCredential",j:[xl()]},xc:{name:"reauthenticateWithCredential",j:[xl()]},yc:{name:"reauthenticateWithPhoneNumber",j:[gl("phoneNumber"),Sl()]},zc:{name:"reauthenticateWithPopup",j:[kl()]},Ac:{name:"reauthenticateWithRedirect",j:[kl()]},reload:{name:"reload",j:[]},ib:{name:"sendEmailVerification",j:[Cl(yl("opt_actionCodeSettings",!0),wl(null,!0),"opt_actionCodeSettings",!0)]},toJSON:{name:"toJSON",j:[gl(null,!0)]},Oc:{name:"unlink",j:[gl("provider")]},ob:{name:"updateEmail",j:[gl("email")]},pb:{name:"updatePassword",j:[gl("password")]},Qc:{name:"updatePhoneNumber",j:[xl("phone")]},qb:{name:"updateProfile",j:[yl("profile")]}}),Ol(nl.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),Ol(tl.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),Ol(V.prototype,{ia:{name:"finally"},s:{name:"catch"},then:{name:"then"}}),Al(Oa.prototype,{appVerificationDisabled:{name:"appVerificationDisabledForTesting",sb:vl("appVerificationDisabledForTesting")}}),Ol(Aa.prototype,{confirm:{name:"confirm",j:[gl("verificationCode")]}}),Pl(hr,"credential",function(e,t){return new fr(e,t)},[gl("email"),gl("password")]),Ol(ir.prototype,{ta:{name:"addScope",j:[gl("scope")]},Da:{name:"setCustomParameters",j:[yl("customOAuthParameters")]}}),Pl(ir,"credential",or,[Cl(gl(),yl(),"token")]),Pl(hr,"credentialWithLink",pr,[gl("email"),gl("emailLink")]),Ol(ar.prototype,{ta:{name:"addScope",j:[gl("scope")]},Da:{name:"setCustomParameters",j:[yl("customOAuthParameters")]}}),Pl(ar,"credential",sr,[Cl(gl(),yl(),"token")]),Ol(lr.prototype,{ta:{name:"addScope",j:[gl("scope")]},Da:{name:"setCustomParameters",j:[yl("customOAuthParameters")]}}),Pl(lr,"credential",ur,[Cl(gl(),Cl(yl(),wl()),"idToken"),Cl(gl(),wl(),"accessToken",!0)]),Ol(cr.prototype,{Da:{name:"setCustomParameters",j:[yl("customOAuthParameters")]}}),Pl(cr,"credential",dr,[Cl(gl(),yl(),"token"),gl("secret",!0)]),Ol(rr.prototype,{ta:{name:"addScope",j:[gl("scope")]},credential:{name:"credential",j:[Cl(gl(),wl(),"idToken",!0),Cl(gl(),wl(),"accessToken",!0)]},Da:{name:"setCustomParameters",j:[yl("customOAuthParameters")]}}),Pl(yr,"credential",br,[gl("verificationId"),gl("verificationCode")]),Ol(yr.prototype,{Ta:{name:"verifyPhoneNumber",j:[gl("phoneNumber"),Sl()]}}),Ol(Rn.prototype,{toJSON:{name:"toJSON",j:[gl(null,!0)]}}),Ol(Sr.prototype,{toJSON:{name:"toJSON",j:[gl(null,!0)]}}),Ol(kr.prototype,{toJSON:{name:"toJSON",j:[gl(null,!0)]}}),Ol(pl.prototype,{clear:{name:"clear",j:[]},render:{name:"render",j:[]},verify:{name:"verify",j:[]}}),function(){if("undefined"===typeof r.a||!r.a.INTERNAL||!r.a.INTERNAL.registerService)throw Error("Cannot find the firebase namespace; be sure to include firebase-app.js before this library.");var e={Auth:js,Error:Rn};Pl(e,"EmailAuthProvider",hr,[]),Pl(e,"FacebookAuthProvider",ir,[]),Pl(e,"GithubAuthProvider",ar,[]),Pl(e,"GoogleAuthProvider",lr,[]),Pl(e,"TwitterAuthProvider",cr,[]),Pl(e,"OAuthProvider",rr,[gl("providerId")]),Pl(e,"PhoneAuthProvider",yr,[Tl()]),Pl(e,"RecaptchaVerifier",pl,[Cl(gl(),El(),"recaptchaContainer"),yl("recaptchaParameters",!0),_l()]),r.a.INTERNAL.registerService("auth",function(e,t){return e=new js(e),t({INTERNAL:{getUid:f(e.getUid,e),getToken:f(e.bc,e),addAuthTokenListener:f(e.Ub,e),removeAuthTokenListener:f(e.Bc,e)}}),e},e,function(e,t){if("create"===e)try{t.auth()}catch(e){}}),r.a.INTERNAL.extendNamespace({User:Ga})}()}).call("undefined"!==typeof e?e:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})}).call(t,n(18))},function(e,t,n){"use strict";var r=n(854);n.n(r)},function(e,t,n){"use strict";(function(r){function i(e){for(var t="",n=e.split("/"),r=0;r<n.length;r++)if(n[r].length>0){var i=n[r];try{i=decodeURIComponent(i.replace(/\+/g," "))}catch(e){}t+="/"+i}return t}function o(e){var t={};"?"===e.charAt(0)&&(e=e.substring(1));for(var n=0,r=e.split("&");n<r.length;n++){var i=r[n];if(0!==i.length){var o=i.split("=");2===o.length?t[decodeURIComponent(o[0])]=decodeURIComponent(o[1]):j("Invalid query segment '"+i+"' in query '"+e+"'")}}return t}function a(e,t){return H(e.name,t.name)}function s(e,t){return H(e,t)}function l(e,t){if(void 0===t&&(t=null),null===e)return Ze.EMPTY_NODE;if("object"===typeof e&&".priority"in e&&(t=e[".priority"]),v.assert(null===t||"string"===typeof t||"number"===typeof t||"object"===typeof t&&".sv"in t,"Invalid priority type found: "+typeof t),"object"===typeof e&&".value"in e&&null!==e[".value"]&&(e=e[".value"]),"object"!==typeof e||".sv"in e){return new je(e,l(t))}if(e instanceof Array||!$e){var n=Ze.EMPTY_NODE,r=e;return v.forEach(r,function(e,t){if(v.contains(r,e)&&"."!==e.substring(0,1)){var i=l(t);!i.isLeafNode()&&i.isEmpty()||(n=n.updateImmediateChild(e,i))}}),n.updatePriority(l(t))}var i=[],o=!1,u=e;if(v.forEach(u,function(e,t){if("string"!==typeof e||"."!==e.substring(0,1)){var n=l(u[e]);n.isEmpty()||(o=o||!n.getPriority().isEmpty(),i.push(new Ie(e,n)))}}),0==i.length)return Ze.EMPTY_NODE;var c=Ve(i,a,function(e){return e.name},s);if(o){var d=Ve(i,Be.getCompare());return new Ze(c,l(t),new Ye({".priority":d},{".priority":Be}))}return new Ze(c,l(t),Ye.Default)}function u(t){var n=t.INTERNAL.registerService("database",function(e,t,n){return kn.getInstance().databaseFromApp(e,n)},{Reference:wn,Query:ut,Database:Sn,enableLogging:R,INTERNAL:Ln,ServerValue:qn,TEST_ACCESS:Gn},null,!0);v.isNodeSdk()&&(e.exports=n)}Object.defineProperty(t,"__esModule",{value:!0});var c,d,f,h,p,m,g,v=n(149),y=n(855),b=n(150),w=function(e){return e&&"object"===typeof e&&"default"in e?e.default:e}(n(95)),E=function(){function e(e){this.domStorage_=e,this.prefix_="firebase:"}return e.prototype.set=function(e,t){null==t?this.domStorage_.removeItem(this.prefixedName_(e)):this.domStorage_.setItem(this.prefixedName_(e),v.stringify(t))},e.prototype.get=function(e){var t=this.domStorage_.getItem(this.prefixedName_(e));return null==t?null:v.jsonEval(t)},e.prototype.remove=function(e){this.domStorage_.removeItem(this.prefixedName_(e))},e.prototype.prefixedName_=function(e){return this.prefix_+e},e.prototype.toString=function(){return this.domStorage_.toString()},e}(),T=function(){function e(){this.cache_={},this.isInMemoryStorage=!0}return e.prototype.set=function(e,t){null==t?delete this.cache_[e]:this.cache_[e]=t},e.prototype.get=function(e){return v.contains(this.cache_,e)?this.cache_[e]:null},e.prototype.remove=function(e){delete this.cache_[e]},e}(),_=function(e){try{if("undefined"!==typeof window&&"undefined"!==typeof window[e]){var t=window[e];return t.setItem("firebase:sentinel","cache"),t.removeItem("firebase:sentinel"),new E(t)}}catch(e){}return new T},x=_("localStorage"),k=_("sessionStorage"),S=new y.Logger("@firebase/database"),C=function(){var e=1;return function(){return e++}}(),O=function(e){var t=v.stringToByteArray(e),n=new v.Sha1;n.update(t);var r=n.digest();return v.base64.encodeByteArray(r)},A=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",r=0;r<e.length;r++)Array.isArray(e[r])||e[r]&&"object"===typeof e[r]&&"number"===typeof e[r].length?n+=A.apply(null,e[r]):"object"===typeof e[r]?n+=v.stringify(e[r]):n+=e[r],n+=" ";return n},P=null,I=!0,R=function(e,t){v.assert(!t||!0===e||!1===e,"Can't turn on custom loggers persistently."),!0===e?(S.logLevel=y.LogLevel.VERBOSE,P=S.log.bind(S),t&&k.set("logging_enabled",!0)):"function"===typeof e?P=e:(P=null,k.remove("logging_enabled"))},N=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!0===I&&(I=!1,null===P&&!0===k.get("logging_enabled")&&R(!0)),P){var n=A.apply(null,e);P(n)}},M=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];N.apply(void 0,[e].concat(t))}},D=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="FIREBASE INTERNAL ERROR: "+A.apply(void 0,e);S.error(n)},L=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="FIREBASE FATAL ERROR: "+A.apply(void 0,e);throw S.error(n),new Error(n)},j=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="FIREBASE WARNING: "+A.apply(void 0,e);S.warn(n)},W=function(){"undefined"!==typeof window&&window.location&&window.location.protocol&&-1!==window.location.protocol.indexOf("https:")&&j("Insecure Firebase access from a secure page. Please use https in calls to new Firebase().")},B=function(e){return"number"===typeof e&&(e!=e||e==Number.POSITIVE_INFINITY||e==Number.NEGATIVE_INFINITY)},F=function(e){if(v.isNodeSdk()||"complete"===document.readyState)e();else{var t=!1,n=function(){if(!document.body)return void setTimeout(n,Math.floor(10));t||(t=!0,e())};document.addEventListener?(document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",n,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&n()}),window.attachEvent("onload",n))}},z="[MIN_NAME]",U="[MAX_NAME]",H=function(e,t){if(e===t)return 0;if(e===z||t===U)return-1;if(t===z||e===U)return 1;var n=ee(e),r=ee(t);return null!==n?null!==r?n-r==0?e.length-t.length:n-r:-1:null!==r?1:e<t?-1:1},G=function(e,t){return e===t?0:e<t?-1:1},q=function(e,t){if(t&&e in t)return t[e];throw new Error("Missing required key ("+e+") in object: "+v.stringify(t))},V=function(e){if("object"!==typeof e||null===e)return v.stringify(e);var t=[];for(var n in e)t.push(n);t.sort();for(var r="{",i=0;i<t.length;i++)0!==i&&(r+=","),r+=v.stringify(t[i]),r+=":",r+=V(e[t[i]]);return r+="}"},K=function(e,t){var n=e.length;if(n<=t)return[e];for(var r=[],i=0;i<n;i+=t)i+t>n?r.push(e.substring(i,n)):r.push(e.substring(i,i+t));return r},Y=function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;++n)t(n,e[n]);else v.forEach(e,function(e,n){return t(n,e)})},Z=function(e){v.assert(!B(e),"Invalid JSON number");var t,n,r,i,o,a,s;for(0===e?(n=0,r=0,t=1/e===-1/0?1:0):(t=e<0,e=Math.abs(e),e>=Math.pow(2,-1022)?(i=Math.min(Math.floor(Math.log(e)/Math.LN2),1023),n=i+1023,r=Math.round(e*Math.pow(2,52-i)-Math.pow(2,52))):(n=0,r=Math.round(e/Math.pow(2,-1074)))),a=[],o=52;o;o-=1)a.push(r%2?1:0),r=Math.floor(r/2);for(o=11;o;o-=1)a.push(n%2?1:0),n=Math.floor(n/2);a.push(t?1:0),a.reverse(),s=a.join("");var l="";for(o=0;o<64;o+=8){var u=parseInt(s.substr(o,8),2).toString(16);1===u.length&&(u="0"+u),l+=u}return l.toLowerCase()},X=function(){return!("object"!==typeof window||!window.chrome||!window.chrome.extension||/^chrome/.test(window.location.href))},Q=function(){return"object"===typeof Windows&&"object"===typeof Windows.UI},$=function(e,t){var n="Unknown Error";"too_big"===e?n="The data requested exceeds the maximum size that can be accessed with a single request.":"permission_denied"==e?n="Client doesn't have permission to access the desired data.":"unavailable"==e&&(n="The service is unavailable");var r=new Error(e+" at "+t.path.toString()+": "+n);return r.code=e.toUpperCase(),r},J=new RegExp("^-?\\d{1,10}$"),ee=function(e){if(J.test(e)){var t=Number(e);if(t>=-2147483648&&t<=2147483647)return t}return null},te=function(e){try{e()}catch(e){setTimeout(function(){var t=e.stack||"";throw j("Exception was thrown by user callback.",t),e},Math.floor(0))}},ne=function(){return("object"===typeof window&&window.navigator&&window.navigator.userAgent||"").search(/googlebot|google webmaster tools|bingbot|yahoo! slurp|baiduspider|yandexbot|duckduckbot/i)>=0},re=function(e,t){var n=setTimeout(e,t);return"object"===typeof n&&n.unref&&n.unref(),n},ie=function(){function e(e,t){if(void 0===t){this.pieces_=e.split("/");for(var n=0,r=0;r<this.pieces_.length;r++)this.pieces_[r].length>0&&(this.pieces_[n]=this.pieces_[r],n++);this.pieces_.length=n,this.pieceNum_=0}else this.pieces_=e,this.pieceNum_=t}return Object.defineProperty(e,"Empty",{get:function(){return new e("")},enumerable:!0,configurable:!0}),e.prototype.getFront=function(){return this.pieceNum_>=this.pieces_.length?null:this.pieces_[this.pieceNum_]},e.prototype.getLength=function(){return this.pieces_.length-this.pieceNum_},e.prototype.popFront=function(){var t=this.pieceNum_;return t<this.pieces_.length&&t++,new e(this.pieces_,t)},e.prototype.getBack=function(){return this.pieceNum_<this.pieces_.length?this.pieces_[this.pieces_.length-1]:null},e.prototype.toString=function(){for(var e="",t=this.pieceNum_;t<this.pieces_.length;t++)""!==this.pieces_[t]&&(e+="/"+this.pieces_[t]);return e||"/"},e.prototype.toUrlEncodedString=function(){for(var e="",t=this.pieceNum_;t<this.pieces_.length;t++)""!==this.pieces_[t]&&(e+="/"+encodeURIComponent(String(this.pieces_[t])));return e||"/"},e.prototype.slice=function(e){return void 0===e&&(e=0),this.pieces_.slice(this.pieceNum_+e)},e.prototype.parent=function(){if(this.pieceNum_>=this.pieces_.length)return null;for(var t=[],n=this.pieceNum_;n<this.pieces_.length-1;n++)t.push(this.pieces_[n]);return new e(t,0)},e.prototype.child=function(t){for(var n=[],r=this.pieceNum_;r<this.pieces_.length;r++)n.push(this.pieces_[r]);if(t instanceof e)for(var r=t.pieceNum_;r<t.pieces_.length;r++)n.push(t.pieces_[r]);else for(var i=t.split("/"),r=0;r<i.length;r++)i[r].length>0&&n.push(i[r]);return new e(n,0)},e.prototype.isEmpty=function(){return this.pieceNum_>=this.pieces_.length},e.relativePath=function(t,n){var r=t.getFront(),i=n.getFront();if(null===r)return n;if(r===i)return e.relativePath(t.popFront(),n.popFront());throw new Error("INTERNAL ERROR: innerPath ("+n+") is not within outerPath ("+t+")")},e.comparePaths=function(e,t){for(var n=e.slice(),r=t.slice(),i=0;i<n.length&&i<r.length;i++){var o=H(n[i],r[i]);if(0!==o)return o}return n.length===r.length?0:n.length<r.length?-1:1},e.prototype.equals=function(e){if(this.getLength()!==e.getLength())return!1;for(var t=this.pieceNum_,n=e.pieceNum_;t<=this.pieces_.length;t++,n++)if(this.pieces_[t]!==e.pieces_[n])return!1;return!0},e.prototype.contains=function(e){var t=this.pieceNum_,n=e.pieceNum_;if(this.getLength()>e.getLength())return!1;for(;t<this.pieces_.length;){if(this.pieces_[t]!==e.pieces_[n])return!1;++t,++n}return!0},e}(),oe=function(){function e(e,t){this.errorPrefix_=t,this.parts_=e.slice(),this.byteLength_=Math.max(1,this.parts_.length);for(var n=0;n<this.parts_.length;n++)this.byteLength_+=v.stringLength(this.parts_[n]);this.checkValid_()}return Object.defineProperty(e,"MAX_PATH_DEPTH",{get:function(){return 32},enumerable:!0,configurable:!0}),Object.defineProperty(e,"MAX_PATH_LENGTH_BYTES",{get:function(){return 768},enumerable:!0,configurable:!0}),e.prototype.push=function(e){this.parts_.length>0&&(this.byteLength_+=1),this.parts_.push(e),this.byteLength_+=v.stringLength(e),this.checkValid_()},e.prototype.pop=function(){var e=this.parts_.pop();this.byteLength_-=v.stringLength(e),this.parts_.length>0&&(this.byteLength_-=1)},e.prototype.checkValid_=function(){if(this.byteLength_>e.MAX_PATH_LENGTH_BYTES)throw new Error(this.errorPrefix_+"has a key path longer than "+e.MAX_PATH_LENGTH_BYTES+" bytes ("+this.byteLength_+").");if(this.parts_.length>e.MAX_PATH_DEPTH)throw new Error(this.errorPrefix_+"path specified exceeds the maximum depth that can be written ("+e.MAX_PATH_DEPTH+") or object contains a cycle "+this.toErrorString())},e.prototype.toErrorString=function(){return 0==this.parts_.length?"":"in property '"+this.parts_.join(".")+"'"},e}(),ae="long_polling",se=function(){function e(e,t,n,r,i){void 0===i&&(i=""),this.secure=t,this.namespace=n,this.webSocketOnly=r,this.persistenceKey=i,this.host=e.toLowerCase(),this.domain=this.host.substr(this.host.indexOf(".")+1),this.internalHost=x.get("host:"+e)||this.host}return e.prototype.needsQueryParam=function(){return this.host!==this.internalHost||this.isCustomHost()},e.prototype.isCacheableHost=function(){return"s-"===this.internalHost.substr(0,2)},e.prototype.isDemoHost=function(){return"firebaseio-demo.com"===this.domain},e.prototype.isCustomHost=function(){return"firebaseio.com"!==this.domain&&"firebaseio-demo.com"!==this.domain},e.prototype.updateHost=function(e){e!==this.internalHost&&(this.internalHost=e,this.isCacheableHost()&&x.set("host:"+this.host,this.internalHost))},e.prototype.connectionURL=function(e,t){v.assert("string"===typeof e,"typeof type must == string"),v.assert("object"===typeof t,"typeof params must == object");var n;if("websocket"===e)n=(this.secure?"wss://":"ws://")+this.internalHost+"/.ws?";else{if(e!==ae)throw new Error("Unknown connection type: "+e);n=(this.secure?"https://":"http://")+this.internalHost+"/.lp?"}this.needsQueryParam()&&(t.ns=this.namespace);var r=[];return v.forEach(t,function(e,t){r.push(e+"="+t)}),n+r.join("&")},e.prototype.toString=function(){var e=this.toURLString();return this.persistenceKey&&(e+="<"+this.persistenceKey+">"),e},e.prototype.toURLString=function(){return(this.secure?"https://":"http://")+this.host},e}(),le=function(e){var t=ue(e),n=t.subdomain;"firebase"===t.domain&&L(t.host+" is no longer supported. Please use <YOUR FIREBASE>.firebaseio.com instead"),n&&"undefined"!=n||"localhost"===t.domain||L("Cannot parse Firebase url. Please use https://<YOUR FIREBASE>.firebaseio.com"),t.secure||W();var r="ws"===t.scheme||"wss"===t.scheme;return{repoInfo:new se(t.host,t.secure,n,r),path:new ie(t.pathString)}},ue=function(e){var t="",n="",r="",a="",s=!0,l="https",u=443;if("string"===typeof e){var c=e.indexOf("//");c>=0&&(l=e.substring(0,c-1),e=e.substring(c+2));var d=e.indexOf("/");-1===d&&(d=e.length);var f=e.indexOf("?");-1===f&&(f=e.length),t=e.substring(0,Math.min(d,f)),d<f&&(a=i(e.substring(d,f)));var h=o(e.substring(Math.min(e.length,f)));c=t.indexOf(":"),c>=0?(s="https"===l||"wss"===l,u=parseInt(t.substring(c+1),10)):c=e.length;var p=t.split(".");3===p.length?(n=p[1],r=p[0].toLowerCase()):2===p.length?n=p[0]:"localhost"===p[0].slice(0,c).toLowerCase()&&(n="localhost"),""===r&&"ns"in h&&(r=h.ns)}return{host:t,port:u,domain:n,subdomain:r,secure:s,scheme:l,pathString:a}},ce=/[\[\].#$\/\u0000-\u001F\u007F]/,de=/[\[\].#$\u0000-\u001F\u007F]/,fe=function(e){return"string"===typeof e&&0!==e.length&&!ce.test(e)},he=function(e){return"string"===typeof e&&0!==e.length&&!de.test(e)},pe=function(e){return e&&(e=e.replace(/^\/*\.info(\/|$)/,"/")),he(e)},me=function(e){return null===e||"string"===typeof e||"number"===typeof e&&!B(e)||e&&"object"===typeof e&&v.contains(e,".sv")},ge=function(e,t,n,r,i){i&&void 0===n||ve(v.errorPrefix(e,t,i),n,r)},ve=function(e,t,n){var r=n instanceof ie?new oe(n,e):n;if(void 0===t)throw new Error(e+"contains undefined "+r.toErrorString());if("function"===typeof t)throw new Error(e+"contains a function "+r.toErrorString()+" with contents = "+t.toString());if(B(t))throw new Error(e+"contains "+t.toString()+" "+r.toErrorString());if("string"===typeof t&&t.length>10485760/3&&v.stringLength(t)>10485760)throw new Error(e+"contains a string greater than 10485760 utf8 bytes "+r.toErrorString()+" ('"+t.substring(0,50)+"...')");if(t&&"object"===typeof t){var i=!1,o=!1;if(v.forEach(t,function(t,n){if(".value"===t)i=!0;else if(".priority"!==t&&".sv"!==t&&(o=!0,!fe(t)))throw new Error(e+" contains an invalid key ("+t+") "+r.toErrorString()+'.  Keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]"');r.push(t),ve(e,n,r),r.pop()}),i&&o)throw new Error(e+' contains ".value" child '+r.toErrorString()+" in addition to actual children.")}},ye=function(e,t){var n,r;for(n=0;n<t.length;n++){r=t[n];for(var i=r.slice(),o=0;o<i.length;o++)if(".priority"===i[o]&&o===i.length-1);else if(!fe(i[o]))throw new Error(e+"contains an invalid key ("+i[o]+") in path "+r.toString()+'. Keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]"')}t.sort(ie.comparePaths);var a=null;for(n=0;n<t.length;n++){if(r=t[n],null!==a&&a.contains(r))throw new Error(e+"contains a path "+a.toString()+" that is ancestor of another path "+r.toString());a=r}},be=function(e,t,n,r,i){if(!i||void 0!==n){var o=v.errorPrefix(e,t,i);if(!n||"object"!==typeof n||Array.isArray(n))throw new Error(o+" must be an object containing the children to replace.");var a=[];v.forEach(n,function(e,t){var n=new ie(e);if(ve(o,t,r.child(n)),".priority"===n.getBack()&&!me(t))throw new Error(o+"contains an invalid value for '"+n.toString()+"', which must be a valid Firebase priority (a string, finite number, server value, or null).");a.push(n)}),ye(o,a)}},we=function(e,t,n,r){if(!r||void 0!==n){if(B(n))throw new Error(v.errorPrefix(e,t,r)+"is "+n.toString()+", but must be a valid Firebase priority (a string, finite number, server value, or null).");if(!me(n))throw new Error(v.errorPrefix(e,t,r)+"must be a valid Firebase priority (a string, finite number, server value, or null).")}},Ee=function(e,t,n,r){if(!r||void 0!==n)switch(n){case"value":case"child_added":case"child_removed":case"child_changed":case"child_moved":break;default:throw new Error(v.errorPrefix(e,t,r)+'must be a valid event type = "value", "child_added", "child_removed", "child_changed", or "child_moved".')}},Te=function(e,t,n,r){if((!r||void 0!==n)&&!fe(n))throw new Error(v.errorPrefix(e,t,r)+'was an invalid key = "'+n+'".  Firebase keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]").')},_e=function(e,t,n,r){if((!r||void 0!==n)&&!he(n))throw new Error(v.errorPrefix(e,t,r)+'was an invalid path = "'+n+'". Paths must be non-empty strings and can\'t contain ".", "#", "$", "[", or "]"')},xe=function(e,t,n,r){n&&(n=n.replace(/^\/*\.info(\/|$)/,"/")),_e(e,t,n,r)},ke=function(e,t){if(".info"===t.getFront())throw new Error(e+" failed = Can't modify data under /.info/")},Se=function(e,t,n){var r=n.path.toString();if("string"!==typeof n.repoInfo.host||0===n.repoInfo.host.length||!fe(n.repoInfo.namespace)&&"localhost"!==n.repoInfo.host.split(":")[0]||0!==r.length&&!pe(r))throw new Error(v.errorPrefix(e,t,!1)+'must be a valid firebase URL and the path can\'t contain ".", "#", "$", "[", or "]".')},Ce=function(e,t,n,r){if((!r||void 0!==n)&&"boolean"!==typeof n)throw new Error(v.errorPrefix(e,t,r)+"must be a boolean.")},Oe=function(){function e(e,t){this.repo_=e,this.path_=t}return e.prototype.cancel=function(e){v.validateArgCount("OnDisconnect.cancel",0,1,arguments.length),v.validateCallback("OnDisconnect.cancel",1,e,!0);var t=new v.Deferred;return this.repo_.onDisconnectCancel(this.path_,t.wrapCallback(e)),t.promise},e.prototype.remove=function(e){v.validateArgCount("OnDisconnect.remove",0,1,arguments.length),ke("OnDisconnect.remove",this.path_),v.validateCallback("OnDisconnect.remove",1,e,!0);var t=new v.Deferred;return this.repo_.onDisconnectSet(this.path_,null,t.wrapCallback(e)),t.promise},e.prototype.set=function(e,t){v.validateArgCount("OnDisconnect.set",1,2,arguments.length),ke("OnDisconnect.set",this.path_),ge("OnDisconnect.set",1,e,this.path_,!1),v.validateCallback("OnDisconnect.set",2,t,!0);var n=new v.Deferred;return this.repo_.onDisconnectSet(this.path_,e,n.wrapCallback(t)),n.promise},e.prototype.setWithPriority=function(e,t,n){v.validateArgCount("OnDisconnect.setWithPriority",2,3,arguments.length),ke("OnDisconnect.setWithPriority",this.path_),ge("OnDisconnect.setWithPriority",1,e,this.path_,!1),we("OnDisconnect.setWithPriority",2,t,!1),v.validateCallback("OnDisconnect.setWithPriority",3,n,!0);var r=new v.Deferred;return this.repo_.onDisconnectSetWithPriority(this.path_,e,t,r.wrapCallback(n)),r.promise},e.prototype.update=function(e,t){if(v.validateArgCount("OnDisconnect.update",1,2,arguments.length),ke("OnDisconnect.update",this.path_),Array.isArray(e)){for(var n={},r=0;r<e.length;++r)n[""+r]=e[r];e=n,j("Passing an Array to firebase.database.onDisconnect().update() is deprecated. Use set() if you want to overwrite the existing data, or an Object with integer keys if you really do want to only update some of the children.")}be("OnDisconnect.update",1,e,this.path_,!1),v.validateCallback("OnDisconnect.update",2,t,!0);var i=new v.Deferred;return this.repo_.onDisconnectUpdate(this.path_,e,i.wrapCallback(t)),i.promise},e}(),Ae=function(){function e(e,t){this.committed=e,this.snapshot=t}return e.prototype.toJSON=function(){return v.validateArgCount("TransactionResult.toJSON",0,1,arguments.length),{committed:this.committed,snapshot:this.snapshot.toJSON()}},e}(),Pe=function(){var e="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz",t=0,n=[];return function(r){var i=r===t;t=r;var o,a=new Array(8);for(o=7;o>=0;o--)a[o]=e.charAt(r%64),r=Math.floor(r/64);v.assert(0===r,"Cannot push at time == 0");var s=a.join("");if(i){for(o=11;o>=0&&63===n[o];o--)n[o]=0;n[o]++}else for(o=0;o<12;o++)n[o]=Math.floor(64*Math.random());for(o=0;o<12;o++)s+=e.charAt(n[o]);return v.assert(20===s.length,"nextPushId: Length should be 20."),s}}(),Ie=function(){function e(e,t){this.name=e,this.node=t}return e.Wrap=function(t,n){return new e(t,n)},e}(),Re=function(){function e(){}return e.prototype.getCompare=function(){return this.compare.bind(this)},e.prototype.indexedValueChanged=function(e,t){var n=new Ie(z,e),r=new Ie(z,t);return 0!==this.compare(n,r)},e.prototype.minPost=function(){return Ie.MIN},e}(),Ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b.__extends(t,e),Object.defineProperty(t,"__EMPTY_NODE",{get:function(){return c},set:function(e){c=e},enumerable:!0,configurable:!0}),t.prototype.compare=function(e,t){return H(e.name,t.name)},t.prototype.isDefinedOn=function(e){throw v.assertionError("KeyIndex.isDefinedOn not expected to be called.")},t.prototype.indexedValueChanged=function(e,t){return!1},t.prototype.minPost=function(){return Ie.MIN},t.prototype.maxPost=function(){return new Ie(U,c)},t.prototype.makePost=function(e,t){return v.assert("string"===typeof e,"KeyIndex indexValue must always be a string."),new Ie(e,c)},t.prototype.toString=function(){return".key"},t}(Re),Me=new Ne,De=function(e){return"number"===typeof e?"number:"+Z(e):"string:"+e},Le=function(e){if(e.isLeafNode()){var t=e.val();v.assert("string"===typeof t||"number"===typeof t||"object"===typeof t&&v.contains(t,".sv"),"Priority must be a string or number.")}else v.assert(e===d||e.isEmpty(),"priority of unexpected type.");v.assert(e===d||e.getPriority().isEmpty(),"Priority nodes can't have a priority of their own.")},je=function(){function e(t,n){void 0===n&&(n=e.__childrenNodeConstructor.EMPTY_NODE),this.value_=t,this.priorityNode_=n,this.lazyHash_=null,v.assert(void 0!==this.value_&&null!==this.value_,"LeafNode shouldn't be created with null/undefined value."),Le(this.priorityNode_)}return Object.defineProperty(e,"__childrenNodeConstructor",{get:function(){return f},set:function(e){f=e},enumerable:!0,configurable:!0}),e.prototype.isLeafNode=function(){return!0},e.prototype.getPriority=function(){return this.priorityNode_},e.prototype.updatePriority=function(t){return new e(this.value_,t)},e.prototype.getImmediateChild=function(t){return".priority"===t?this.priorityNode_:e.__childrenNodeConstructor.EMPTY_NODE},e.prototype.getChild=function(t){return t.isEmpty()?this:".priority"===t.getFront()?this.priorityNode_:e.__childrenNodeConstructor.EMPTY_NODE},e.prototype.hasChild=function(){return!1},e.prototype.getPredecessorChildName=function(e,t){return null},e.prototype.updateImmediateChild=function(t,n){return".priority"===t?this.updatePriority(n):n.isEmpty()&&".priority"!==t?this:e.__childrenNodeConstructor.EMPTY_NODE.updateImmediateChild(t,n).updatePriority(this.priorityNode_)},e.prototype.updateChild=function(t,n){var r=t.getFront();return null===r?n:n.isEmpty()&&".priority"!==r?this:(v.assert(".priority"!==r||1===t.getLength(),".priority must be the last token in a path"),this.updateImmediateChild(r,e.__childrenNodeConstructor.EMPTY_NODE.updateChild(t.popFront(),n)))},e.prototype.isEmpty=function(){return!1},e.prototype.numChildren=function(){return 0},e.prototype.forEachChild=function(e,t){return!1},e.prototype.val=function(e){return e&&!this.getPriority().isEmpty()?{".value":this.getValue(),".priority":this.getPriority().val()}:this.getValue()},e.prototype.hash=function(){if(null===this.lazyHash_){var e="";this.priorityNode_.isEmpty()||(e+="priority:"+De(this.priorityNode_.val())+":");var t=typeof this.value_;e+=t+":",e+="number"===t?Z(this.value_):this.value_,this.lazyHash_=O(e)}return this.lazyHash_},e.prototype.getValue=function(){return this.value_},e.prototype.compareTo=function(t){return t===e.__childrenNodeConstructor.EMPTY_NODE?1:t instanceof e.__childrenNodeConstructor?-1:(v.assert(t.isLeafNode(),"Unknown node type"),this.compareToLeafNode_(t))},e.prototype.compareToLeafNode_=function(t){var n=typeof t.value_,r=typeof this.value_,i=e.VALUE_TYPE_ORDER.indexOf(n),o=e.VALUE_TYPE_ORDER.indexOf(r);return v.assert(i>=0,"Unknown leaf type: "+n),v.assert(o>=0,"Unknown leaf type: "+r),i===o?"object"===r?0:this.value_<t.value_?-1:this.value_===t.value_?0:1:o-i},e.prototype.withIndex=function(){return this},e.prototype.isIndexed=function(){return!0},e.prototype.equals=function(e){if(e===this)return!0;if(e.isLeafNode()){var t=e;return this.value_===t.value_&&this.priorityNode_.equals(t.priorityNode_)}return!1},e.VALUE_TYPE_ORDER=["object","boolean","number","string"],e}(),We=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b.__extends(t,e),t.prototype.compare=function(e,t){var n=e.node.getPriority(),r=t.node.getPriority(),i=n.compareTo(r);return 0===i?H(e.name,t.name):i},t.prototype.isDefinedOn=function(e){return!e.getPriority().isEmpty()},t.prototype.indexedValueChanged=function(e,t){return!e.getPriority().equals(t.getPriority())},t.prototype.minPost=function(){return Ie.MIN},t.prototype.maxPost=function(){return new Ie(U,new je("[PRIORITY-POST]",p))},t.prototype.makePost=function(e,t){var n=h(e);return new Ie(t,new je("[PRIORITY-POST]",n))},t.prototype.toString=function(){return".priority"},t}(Re),Be=new We,Fe=function(){function e(e,t,n,r,i){void 0===i&&(i=null),this.isReverse_=r,this.resultGenerator_=i,this.nodeStack_=[];for(var o=1;!e.isEmpty();)if(e=e,o=t?n(e.key,t):1,r&&(o*=-1),o<0)e=this.isReverse_?e.left:e.right;else{if(0===o){this.nodeStack_.push(e);break}this.nodeStack_.push(e),e=this.isReverse_?e.right:e.left}}return e.prototype.getNext=function(){if(0===this.nodeStack_.length)return null;var e,t=this.nodeStack_.pop();if(e=this.resultGenerator_?this.resultGenerator_(t.key,t.value):{key:t.key,value:t.value},this.isReverse_)for(t=t.left;!t.isEmpty();)this.nodeStack_.push(t),t=t.right;else for(t=t.right;!t.isEmpty();)this.nodeStack_.push(t),t=t.left;return e},e.prototype.hasNext=function(){return this.nodeStack_.length>0},e.prototype.peek=function(){if(0===this.nodeStack_.length)return null;var e=this.nodeStack_[this.nodeStack_.length-1];return this.resultGenerator_?this.resultGenerator_(e.key,e.value):{key:e.key,value:e.value}},e}(),ze=function(){function e(t,n,r,i,o){this.key=t,this.value=n,this.color=null!=r?r:e.RED,this.left=null!=i?i:He.EMPTY_NODE,this.right=null!=o?o:He.EMPTY_NODE}return e.prototype.copy=function(t,n,r,i,o){return new e(null!=t?t:this.key,null!=n?n:this.value,null!=r?r:this.color,null!=i?i:this.left,null!=o?o:this.right)},e.prototype.count=function(){return this.left.count()+1+this.right.count()},e.prototype.isEmpty=function(){return!1},e.prototype.inorderTraversal=function(e){return this.left.inorderTraversal(e)||e(this.key,this.value)||this.right.inorderTraversal(e)},e.prototype.reverseTraversal=function(e){return this.right.reverseTraversal(e)||e(this.key,this.value)||this.left.reverseTraversal(e)},e.prototype.min_=function(){return this.left.isEmpty()?this:this.left.min_()},e.prototype.minKey=function(){return this.min_().key},e.prototype.maxKey=function(){return this.right.isEmpty()?this.key:this.right.maxKey()},e.prototype.insert=function(e,t,n){var r,i;return i=this,r=n(e,i.key),i=r<0?i.copy(null,null,null,i.left.insert(e,t,n),null):0===r?i.copy(null,t,null,null,null):i.copy(null,null,null,null,i.right.insert(e,t,n)),i.fixUp_()},e.prototype.removeMin_=function(){if(this.left.isEmpty())return He.EMPTY_NODE;var e=this;return e.left.isRed_()||e.left.left.isRed_()||(e=e.moveRedLeft_()),e=e.copy(null,null,null,e.left.removeMin_(),null),e.fixUp_()},e.prototype.remove=function(e,t){var n,r;if(n=this,t(e,n.key)<0)n.left.isEmpty()||n.left.isRed_()||n.left.left.isRed_()||(n=n.moveRedLeft_()),n=n.copy(null,null,null,n.left.remove(e,t),null);else{if(n.left.isRed_()&&(n=n.rotateRight_()),n.right.isEmpty()||n.right.isRed_()||n.right.left.isRed_()||(n=n.moveRedRight_()),0===t(e,n.key)){if(n.right.isEmpty())return He.EMPTY_NODE;r=n.right.min_(),n=n.copy(r.key,r.value,null,null,n.right.removeMin_())}n=n.copy(null,null,null,null,n.right.remove(e,t))}return n.fixUp_()},e.prototype.isRed_=function(){return this.color},e.prototype.fixUp_=function(){var e=this;return e.right.isRed_()&&!e.left.isRed_()&&(e=e.rotateLeft_()),e.left.isRed_()&&e.left.left.isRed_()&&(e=e.rotateRight_()),e.left.isRed_()&&e.right.isRed_()&&(e=e.colorFlip_()),e},e.prototype.moveRedLeft_=function(){var e=this.colorFlip_();return e.right.left.isRed_()&&(e=e.copy(null,null,null,null,e.right.rotateRight_()),e=e.rotateLeft_(),e=e.colorFlip_()),e},e.prototype.moveRedRight_=function(){var e=this.colorFlip_();return e.left.left.isRed_()&&(e=e.rotateRight_(),e=e.colorFlip_()),e},e.prototype.rotateLeft_=function(){var t=this.copy(null,null,e.RED,null,this.right.left);return this.right.copy(null,null,this.color,t,null)},e.prototype.rotateRight_=function(){var t=this.copy(null,null,e.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,t)},e.prototype.colorFlip_=function(){var e=this.left.copy(null,null,!this.left.color,null,null),t=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,e,t)},e.prototype.checkMaxDepth_=function(){var e=this.check_();return Math.pow(2,e)<=this.count()+1},e.prototype.check_=function(){var e;if(this.isRed_()&&this.left.isRed_())throw new Error("Red node has red child("+this.key+","+this.value+")");if(this.right.isRed_())throw new Error("Right child of ("+this.key+","+this.value+") is red");if((e=this.left.check_())!==this.right.check_())throw new Error("Black depths differ");return e+(this.isRed_()?0:1)},e.RED=!0,e.BLACK=!1,e}(),Ue=function(){function e(){}return e.prototype.copy=function(e,t,n,r,i){return this},e.prototype.insert=function(e,t,n){return new ze(e,t,null)},e.prototype.remove=function(e,t){return this},e.prototype.count=function(){return 0},e.prototype.isEmpty=function(){return!0},e.prototype.inorderTraversal=function(e){return!1},e.prototype.reverseTraversal=function(e){return!1},e.prototype.minKey=function(){return null},e.prototype.maxKey=function(){return null},e.prototype.check_=function(){return 0},e.prototype.isRed_=function(){return!1},e}(),He=function(){function e(t,n){void 0===n&&(n=e.EMPTY_NODE),this.comparator_=t,this.root_=n}return e.prototype.insert=function(t,n){return new e(this.comparator_,this.root_.insert(t,n,this.comparator_).copy(null,null,ze.BLACK,null,null))},e.prototype.remove=function(t){return new e(this.comparator_,this.root_.remove(t,this.comparator_).copy(null,null,ze.BLACK,null,null))},e.prototype.get=function(e){for(var t,n=this.root_;!n.isEmpty();){if(0===(t=this.comparator_(e,n.key)))return n.value;t<0?n=n.left:t>0&&(n=n.right)}return null},e.prototype.getPredecessorKey=function(e){for(var t,n=this.root_,r=null;!n.isEmpty();){if(0===(t=this.comparator_(e,n.key))){if(n.left.isEmpty())return r?r.key:null;for(n=n.left;!n.right.isEmpty();)n=n.right;return n.key}t<0?n=n.left:t>0&&(r=n,n=n.right)}throw new Error("Attempted to find predecessor key for a nonexistent key.  What gives?")},e.prototype.isEmpty=function(){return this.root_.isEmpty()},e.prototype.count=function(){return this.root_.count()},e.prototype.minKey=function(){return this.root_.minKey()},e.prototype.maxKey=function(){return this.root_.maxKey()},e.prototype.inorderTraversal=function(e){return this.root_.inorderTraversal(e)},e.prototype.reverseTraversal=function(e){return this.root_.reverseTraversal(e)},e.prototype.getIterator=function(e){return new Fe(this.root_,null,this.comparator_,!1,e)},e.prototype.getIteratorFrom=function(e,t){return new Fe(this.root_,e,this.comparator_,!1,t)},e.prototype.getReverseIteratorFrom=function(e,t){return new Fe(this.root_,e,this.comparator_,!0,t)},e.prototype.getReverseIterator=function(e){return new Fe(this.root_,null,this.comparator_,!0,e)},e.EMPTY_NODE=new Ue,e}(),Ge=Math.log(2),qe=function(){function e(e){this.count=function(e){return parseInt(Math.log(e)/Ge,10)}(e+1),this.current_=this.count-1;var t=function(e){return parseInt(Array(e+1).join("1"),2)}(this.count);this.bits_=e+1&t}return e.prototype.nextBitIsOne=function(){var e=!(this.bits_&1<<this.current_);return this.current_--,e},e}(),Ve=function(e,t,n,r){e.sort(t);var i=function(t,r){var o,a,s=r-t;if(0==s)return null;if(1==s)return o=e[t],a=n?n(o):o,new ze(a,o.node,ze.BLACK,null,null);var l=parseInt(s/2,10)+t,u=i(t,l),c=i(l+1,r);return o=e[l],a=n?n(o):o,new ze(a,o.node,ze.BLACK,u,c)},o=new qe(e.length),a=function(t){for(var r=null,o=null,a=e.length,s=function(t,r){var o=a-t,s=a;a-=t;var u=i(o+1,s),c=e[o],d=n?n(c):c;l(new ze(d,c.node,r,null,u))},l=function(e){r?(r.left=e,r=e):(o=e,r=e)},u=0;u<t.count;++u){var c=t.nextBitIsOne(),d=Math.pow(2,t.count-(u+1));c?s(d,ze.BLACK):(s(d,ze.BLACK),s(d,ze.RED))}return o}(o);return new He(r||t,a)},Ke={},Ye=function(){function e(e,t){this.indexes_=e,this.indexSet_=t}return Object.defineProperty(e,"Default",{get:function(){return v.assert(Ke&&Be,"ChildrenNode.ts has not been loaded"),m=m||new e({".priority":Ke},{".priority":Be})},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var t=v.safeGet(this.indexes_,e);if(!t)throw new Error("No index defined for "+e);return t===Ke?null:t},e.prototype.hasIndex=function(e){return v.contains(this.indexSet_,e.toString())},e.prototype.addIndex=function(t,n){v.assert(t!==Me,"KeyIndex always exists and isn't meant to be added to the IndexMap.");for(var r=[],i=!1,o=n.getIterator(Ie.Wrap),a=o.getNext();a;)i=i||t.isDefinedOn(a.node),r.push(a),a=o.getNext();var s;s=i?Ve(r,t.getCompare()):Ke;var l=t.toString(),u=v.clone(this.indexSet_);u[l]=t;var c=v.clone(this.indexes_);return c[l]=s,new e(c,u)},e.prototype.addToIndexes=function(t,n){var r=this;return new e(v.map(this.indexes_,function(e,i){var o=v.safeGet(r.indexSet_,i);if(v.assert(o,"Missing index implementation for "+i),e===Ke){if(o.isDefinedOn(t.node)){for(var a=[],s=n.getIterator(Ie.Wrap),l=s.getNext();l;)l.name!=t.name&&a.push(l),l=s.getNext();return a.push(t),Ve(a,o.getCompare())}return Ke}var u=n.get(t.name),c=e;return u&&(c=c.remove(new Ie(t.name,u))),c.insert(t,t.node)}),this.indexSet_)},e.prototype.removeFromIndexes=function(t,n){return new e(v.map(this.indexes_,function(e){if(e===Ke)return e;var r=n.get(t.name);return r?e.remove(new Ie(t.name,r)):e}),this.indexSet_)},e}(),Ze=function(){function e(e,t,n){this.children_=e,this.priorityNode_=t,this.indexMap_=n,this.lazyHash_=null,this.priorityNode_&&Le(this.priorityNode_),this.children_.isEmpty()&&v.assert(!this.priorityNode_||this.priorityNode_.isEmpty(),"An empty node cannot have a priority")}return Object.defineProperty(e,"EMPTY_NODE",{get:function(){return g||(g=new e(new He(s),null,Ye.Default))},enumerable:!0,configurable:!0}),e.prototype.isLeafNode=function(){return!1},e.prototype.getPriority=function(){return this.priorityNode_||g},e.prototype.updatePriority=function(t){return this.children_.isEmpty()?this:new e(this.children_,t,this.indexMap_)},e.prototype.getImmediateChild=function(e){if(".priority"===e)return this.getPriority();var t=this.children_.get(e);return null===t?g:t},e.prototype.getChild=function(e){var t=e.getFront();return null===t?this:this.getImmediateChild(t).getChild(e.popFront())},e.prototype.hasChild=function(e){return null!==this.children_.get(e)},e.prototype.updateImmediateChild=function(t,n){if(v.assert(n,"We should always be passing snapshot nodes"),".priority"===t)return this.updatePriority(n);var r=new Ie(t,n),i=void 0,o=void 0,a=void 0;return n.isEmpty()?(i=this.children_.remove(t),o=this.indexMap_.removeFromIndexes(r,this.children_)):(i=this.children_.insert(t,n),o=this.indexMap_.addToIndexes(r,this.children_)),a=i.isEmpty()?g:this.priorityNode_,new e(i,a,o)},e.prototype.updateChild=function(e,t){var n=e.getFront();if(null===n)return t;v.assert(".priority"!==e.getFront()||1===e.getLength(),".priority must be the last token in a path");var r=this.getImmediateChild(n).updateChild(e.popFront(),t);return this.updateImmediateChild(n,r)},e.prototype.isEmpty=function(){return this.children_.isEmpty()},e.prototype.numChildren=function(){return this.children_.count()},e.prototype.val=function(t){if(this.isEmpty())return null;var n={},r=0,i=0,o=!0;if(this.forEachChild(Be,function(a,s){n[a]=s.val(t),r++,o&&e.INTEGER_REGEXP_.test(a)?i=Math.max(i,Number(a)):o=!1}),!t&&o&&i<2*r){var a=[];for(var s in n)a[s]=n[s];return a}return t&&!this.getPriority().isEmpty()&&(n[".priority"]=this.getPriority().val()),n},e.prototype.hash=function(){if(null===this.lazyHash_){var e="";this.getPriority().isEmpty()||(e+="priority:"+De(this.getPriority().val())+":"),this.forEachChild(Be,function(t,n){var r=n.hash();""!==r&&(e+=":"+t+":"+r)}),this.lazyHash_=""===e?"":O(e)}return this.lazyHash_},e.prototype.getPredecessorChildName=function(e,t,n){var r=this.resolveIndex_(n);if(r){var i=r.getPredecessorKey(new Ie(e,t));return i?i.name:null}return this.children_.getPredecessorKey(e)},e.prototype.getFirstChildName=function(e){var t=this.resolveIndex_(e);if(t){var n=t.minKey();return n&&n.name}return this.children_.minKey()},e.prototype.getFirstChild=function(e){var t=this.getFirstChildName(e);return t?new Ie(t,this.children_.get(t)):null},e.prototype.getLastChildName=function(e){var t=this.resolveIndex_(e);if(t){var n=t.maxKey();return n&&n.name}return this.children_.maxKey()},e.prototype.getLastChild=function(e){var t=this.getLastChildName(e);return t?new Ie(t,this.children_.get(t)):null},e.prototype.forEachChild=function(e,t){var n=this.resolveIndex_(e);return n?n.inorderTraversal(function(e){return t(e.name,e.node)}):this.children_.inorderTraversal(t)},e.prototype.getIterator=function(e){return this.getIteratorFrom(e.minPost(),e)},e.prototype.getIteratorFrom=function(e,t){var n=this.resolveIndex_(t);if(n)return n.getIteratorFrom(e,function(e){return e});for(var r=this.children_.getIteratorFrom(e.name,Ie.Wrap),i=r.peek();null!=i&&t.compare(i,e)<0;)r.getNext(),i=r.peek();return r},e.prototype.getReverseIterator=function(e){return this.getReverseIteratorFrom(e.maxPost(),e)},e.prototype.getReverseIteratorFrom=function(e,t){var n=this.resolveIndex_(t);if(n)return n.getReverseIteratorFrom(e,function(e){return e});for(var r=this.children_.getReverseIteratorFrom(e.name,Ie.Wrap),i=r.peek();null!=i&&t.compare(i,e)>0;)r.getNext(),i=r.peek();return r},e.prototype.compareTo=function(e){return this.isEmpty()?e.isEmpty()?0:-1:e.isLeafNode()||e.isEmpty()?1:e===Qe?-1:0},e.prototype.withIndex=function(t){if(t===Me||this.indexMap_.hasIndex(t))return this;var n=this.indexMap_.addIndex(t,this.children_);return new e(this.children_,this.priorityNode_,n)},e.prototype.isIndexed=function(e){return e===Me||this.indexMap_.hasIndex(e)},e.prototype.equals=function(e){if(e===this)return!0;if(e.isLeafNode())return!1;var t=e;if(this.getPriority().equals(t.getPriority())){if(this.children_.count()===t.children_.count()){for(var n=this.getIterator(Be),r=t.getIterator(Be),i=n.getNext(),o=r.getNext();i&&o;){if(i.name!==o.name||!i.node.equals(o.node))return!1;i=n.getNext(),o=r.getNext()}return null===i&&null===o}return!1}return!1},e.prototype.resolveIndex_=function(e){return e===Me?null:this.indexMap_.get(e.toString())},e.INTEGER_REGEXP_=/^(0|[1-9]\d*)$/,e}(),Xe=function(e){function t(){return e.call(this,new He(s),Ze.EMPTY_NODE,Ye.Default)||this}return b.__extends(t,e),t.prototype.compareTo=function(e){return e===this?0:1},t.prototype.equals=function(e){return e===this},t.prototype.getPriority=function(){return this},t.prototype.getImmediateChild=function(e){return Ze.EMPTY_NODE},t.prototype.isEmpty=function(){return!1},t}(Ze),Qe=new Xe;Object.defineProperties(Ie,{MIN:{value:new Ie(z,Ze.EMPTY_NODE)},MAX:{value:new Ie(U,Qe)}}),Ne.__EMPTY_NODE=Ze.EMPTY_NODE,je.__childrenNodeConstructor=Ze,function(e){d=e}(Qe),function(e){p=e}(Qe);var $e=!0;!function(e){h=e}(l);var Je,et,tt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b.__extends(t,e),t.prototype.compare=function(e,t){var n=e.node.compareTo(t.node);return 0===n?H(e.name,t.name):n},t.prototype.isDefinedOn=function(e){return!0},t.prototype.indexedValueChanged=function(e,t){return!e.equals(t)},t.prototype.minPost=function(){return Ie.MIN},t.prototype.maxPost=function(){return Ie.MAX},t.prototype.makePost=function(e,t){var n=l(e);return new Ie(t,n)},t.prototype.toString=function(){return".value"},t}(Re),nt=new tt,rt=function(e){function t(t){var n=e.call(this)||this;return n.indexPath_=t,v.assert(!t.isEmpty()&&".priority"!==t.getFront(),"Can't create PathIndex with empty path or .priority key"),n}return b.__extends(t,e),t.prototype.extractChild=function(e){return e.getChild(this.indexPath_)},t.prototype.isDefinedOn=function(e){return!e.getChild(this.indexPath_).isEmpty()},t.prototype.compare=function(e,t){var n=this.extractChild(e.node),r=this.extractChild(t.node),i=n.compareTo(r);return 0===i?H(e.name,t.name):i},t.prototype.makePost=function(e,t){var n=l(e),r=Ze.EMPTY_NODE.updateChild(this.indexPath_,n);return new Ie(t,r)},t.prototype.maxPost=function(){var e=Ze.EMPTY_NODE.updateChild(this.indexPath_,Qe);return new Ie(U,e)},t.prototype.toString=function(){return this.indexPath_.slice().join("/")},t}(Re),it=function(){function e(e,t,n){this.node_=e,this.ref_=t,this.index_=n}return e.prototype.val=function(){return v.validateArgCount("DataSnapshot.val",0,0,arguments.length),this.node_.val()},e.prototype.exportVal=function(){return v.validateArgCount("DataSnapshot.exportVal",0,0,arguments.length),this.node_.val(!0)},e.prototype.toJSON=function(){return v.validateArgCount("DataSnapshot.toJSON",0,1,arguments.length),this.exportVal()},e.prototype.exists=function(){return v.validateArgCount("DataSnapshot.exists",0,0,arguments.length),!this.node_.isEmpty()},e.prototype.child=function(t){v.validateArgCount("DataSnapshot.child",0,1,arguments.length),t=String(t),_e("DataSnapshot.child",1,t,!1);var n=new ie(t),r=this.ref_.child(n);return new e(this.node_.getChild(n),r,Be)},e.prototype.hasChild=function(e){v.validateArgCount("DataSnapshot.hasChild",1,1,arguments.length),_e("DataSnapshot.hasChild",1,e,!1);var t=new ie(e);return!this.node_.getChild(t).isEmpty()},e.prototype.getPriority=function(){return v.validateArgCount("DataSnapshot.getPriority",0,0,arguments.length),this.node_.getPriority().val()},e.prototype.forEach=function(t){var n=this;return v.validateArgCount("DataSnapshot.forEach",1,1,arguments.length),v.validateCallback("DataSnapshot.forEach",1,t,!1),!this.node_.isLeafNode()&&!!this.node_.forEachChild(this.index_,function(r,i){return t(new e(i,n.ref_.child(r),Be))})},e.prototype.hasChildren=function(){return v.validateArgCount("DataSnapshot.hasChildren",0,0,arguments.length),!this.node_.isLeafNode()&&!this.node_.isEmpty()},Object.defineProperty(e.prototype,"key",{get:function(){return this.ref_.getKey()},enumerable:!0,configurable:!0}),e.prototype.numChildren=function(){return v.validateArgCount("DataSnapshot.numChildren",0,0,arguments.length),this.node_.numChildren()},e.prototype.getRef=function(){return v.validateArgCount("DataSnapshot.ref",0,0,arguments.length),this.ref_},Object.defineProperty(e.prototype,"ref",{get:function(){return this.getRef()},enumerable:!0,configurable:!0}),e}(),ot=function(){function e(e,t,n,r){this.eventType=e,this.eventRegistration=t,this.snapshot=n,this.prevName=r}return e.prototype.getPath=function(){var e=this.snapshot.getRef();return"value"===this.eventType?e.path:e.getParent().path},e.prototype.getEventType=function(){return this.eventType},e.prototype.getEventRunner=function(){return this.eventRegistration.getEventRunner(this)},e.prototype.toString=function(){return this.getPath().toString()+":"+this.eventType+":"+v.stringify(this.snapshot.exportVal())},e}(),at=function(){function e(e,t,n){this.eventRegistration=e,this.error=t,this.path=n}return e.prototype.getPath=function(){return this.path},e.prototype.getEventType=function(){return"cancel"},e.prototype.getEventRunner=function(){return this.eventRegistration.getEventRunner(this)},e.prototype.toString=function(){return this.path.toString()+":cancel"},e}(),st=function(){function e(e,t,n){this.callback_=e,this.cancelCallback_=t,this.context_=n}return e.prototype.respondsTo=function(e){return"value"===e},e.prototype.createEvent=function(e,t){var n=t.getQueryParams().getIndex();return new ot("value",this,new it(e.snapshotNode,t.getRef(),n))},e.prototype.getEventRunner=function(e){var t=this.context_;if("cancel"===e.getEventType()){v.assert(this.cancelCallback_,"Raising a cancel event on a listener with no cancel callback");var n=this.cancelCallback_;return function(){n.call(t,e.error)}}var r=this.callback_;return function(){r.call(t,e.snapshot)}},e.prototype.createCancelEvent=function(e,t){return this.cancelCallback_?new at(this,e,t):null},e.prototype.matches=function(t){return t instanceof e&&(!t.callback_||!this.callback_||t.callback_===this.callback_&&t.context_===this.context_)},e.prototype.hasAnyCallback=function(){return null!==this.callback_},e}(),lt=function(){function e(e,t,n){this.callbacks_=e,this.cancelCallback_=t,this.context_=n}return e.prototype.respondsTo=function(e){var t="children_added"===e?"child_added":e;return t="children_removed"===t?"child_removed":t,v.contains(this.callbacks_,t)},e.prototype.createCancelEvent=function(e,t){return this.cancelCallback_?new at(this,e,t):null},e.prototype.createEvent=function(e,t){v.assert(null!=e.childName,"Child events should have a childName.");var n=t.getRef().child(e.childName),r=t.getQueryParams().getIndex();return new ot(e.type,this,new it(e.snapshotNode,n,r),e.prevName)},e.prototype.getEventRunner=function(e){var t=this.context_;if("cancel"===e.getEventType()){v.assert(this.cancelCallback_,"Raising a cancel event on a listener with no cancel callback");var n=this.cancelCallback_;return function(){n.call(t,e.error)}}var r=this.callbacks_[e.eventType];return function(){r.call(t,e.snapshot,e.prevName)}},e.prototype.matches=function(t){if(t instanceof e){if(!this.callbacks_||!t.callbacks_)return!0;if(this.context_===t.context_){var n=v.getCount(t.callbacks_);if(n===v.getCount(this.callbacks_)){if(1===n){var r=v.getAnyKey(t.callbacks_),i=v.getAnyKey(this.callbacks_);return i===r&&(!t.callbacks_[r]||!this.callbacks_[i]||t.callbacks_[r]===this.callbacks_[i])}return v.every(this.callbacks_,function(e,n){return t.callbacks_[e]===n})}}}return!1},e.prototype.hasAnyCallback=function(){return null!==this.callbacks_},e}(),ut=function(){function e(e,t,n,r){this.repo=e,this.path=t,this.queryParams_=n,this.orderByCalled_=r}return Object.defineProperty(e,"__referenceConstructor",{get:function(){return v.assert(Je,"Reference.ts has not been loaded"),Je},set:function(e){Je=e},enumerable:!0,configurable:!0}),e.validateQueryEndpoints_=function(e){var t=null,n=null;if(e.hasStart()&&(t=e.getIndexStartValue()),e.hasEnd()&&(n=e.getIndexEndValue()),e.getIndex()===Me){var r="Query: When ordering by key, you may only pass one argument to startAt(), endAt(), or equalTo().",i="Query: When ordering by key, the argument passed to startAt(), endAt(),or equalTo() must be a string.";if(e.hasStart()){if(e.getIndexStartName()!=z)throw new Error(r);if("string"!==typeof t)throw new Error(i)}if(e.hasEnd()){if(e.getIndexEndName()!=U)throw new Error(r);if("string"!==typeof n)throw new Error(i)}}else if(e.getIndex()===Be){if(null!=t&&!me(t)||null!=n&&!me(n))throw new Error("Query: When ordering by priority, the first argument passed to startAt(), endAt(), or equalTo() must be a valid priority value (null, a number, or a string).")}else if(v.assert(e.getIndex()instanceof rt||e.getIndex()===nt,"unknown index type."),null!=t&&"object"===typeof t||null!=n&&"object"===typeof n)throw new Error("Query: First argument passed to startAt(), endAt(), or equalTo() cannot be an object.")},e.validateLimit_=function(e){if(e.hasStart()&&e.hasEnd()&&e.hasLimit()&&!e.hasAnchoredLimit())throw new Error("Query: Can't combine startAt(), endAt(), and limit(). Use limitToFirst() or limitToLast() instead.")},e.prototype.validateNoPreviousOrderByCall_=function(e){if(!0===this.orderByCalled_)throw new Error(e+": You can't combine multiple orderBy calls.")},e.prototype.getQueryParams=function(){return this.queryParams_},e.prototype.getRef=function(){return v.validateArgCount("Query.ref",0,0,arguments.length),new e.__referenceConstructor(this.repo,this.path)},e.prototype.on=function(t,n,r,i){v.validateArgCount("Query.on",2,4,arguments.length),Ee("Query.on",1,t,!1),v.validateCallback("Query.on",2,n,!1);var o=e.getCancelAndContextArgs_("Query.on",r,i);if("value"===t)this.onValueEvent(n,o.cancel,o.context);else{var a={};a[t]=n,this.onChildEvent(a,o.cancel,o.context)}return n},e.prototype.onValueEvent=function(e,t,n){var r=new st(e,t||null,n||null);this.repo.addEventCallbackForQuery(this,r)},e.prototype.onChildEvent=function(e,t,n){var r=new lt(e,t,n);this.repo.addEventCallbackForQuery(this,r)},e.prototype.off=function(e,t,n){v.validateArgCount("Query.off",0,3,arguments.length),Ee("Query.off",1,e,!0),v.validateCallback("Query.off",2,t,!0),v.validateContextObject("Query.off",3,n,!0);var r=null,i=null;if("value"===e){r=new st(t||null,null,n||null)}else e&&(t&&(i={},i[e]=t),r=new lt(i,null,n||null));this.repo.removeEventCallbackForQuery(this,r)},e.prototype.once=function(t,n,r,i){var o=this;v.validateArgCount("Query.once",1,4,arguments.length),Ee("Query.once",1,t,!1),v.validateCallback("Query.once",2,n,!0);var a=e.getCancelAndContextArgs_("Query.once",r,i),s=!0,l=new v.Deferred;l.promise.catch(function(){});var u=function(e){s&&(s=!1,o.off(t,u),n&&n.bind(a.context)(e),l.resolve(e))};return this.on(t,u,function(e){o.off(t,u),a.cancel&&a.cancel.bind(a.context)(e),l.reject(e)}),l.promise},e.prototype.limitToFirst=function(t){if(v.validateArgCount("Query.limitToFirst",1,1,arguments.length),"number"!==typeof t||Math.floor(t)!==t||t<=0)throw new Error("Query.limitToFirst: First argument must be a positive integer.");if(this.queryParams_.hasLimit())throw new Error("Query.limitToFirst: Limit was already set (by another call to limit, limitToFirst, or limitToLast).");return new e(this.repo,this.path,this.queryParams_.limitToFirst(t),this.orderByCalled_)},e.prototype.limitToLast=function(t){if(v.validateArgCount("Query.limitToLast",1,1,arguments.length),"number"!==typeof t||Math.floor(t)!==t||t<=0)throw new Error("Query.limitToLast: First argument must be a positive integer.");if(this.queryParams_.hasLimit())throw new Error("Query.limitToLast: Limit was already set (by another call to limit, limitToFirst, or limitToLast).");return new e(this.repo,this.path,this.queryParams_.limitToLast(t),this.orderByCalled_)},e.prototype.orderByChild=function(t){if(v.validateArgCount("Query.orderByChild",1,1,arguments.length),"$key"===t)throw new Error('Query.orderByChild: "$key" is invalid.  Use Query.orderByKey() instead.');if("$priority"===t)throw new Error('Query.orderByChild: "$priority" is invalid.  Use Query.orderByPriority() instead.');if("$value"===t)throw new Error('Query.orderByChild: "$value" is invalid.  Use Query.orderByValue() instead.');_e("Query.orderByChild",1,t,!1),this.validateNoPreviousOrderByCall_("Query.orderByChild");var n=new ie(t);if(n.isEmpty())throw new Error("Query.orderByChild: cannot pass in empty path.  Use Query.orderByValue() instead.");var r=new rt(n),i=this.queryParams_.orderBy(r);return e.validateQueryEndpoints_(i),new e(this.repo,this.path,i,!0)},e.prototype.orderByKey=function(){v.validateArgCount("Query.orderByKey",0,0,arguments.length),this.validateNoPreviousOrderByCall_("Query.orderByKey");var t=this.queryParams_.orderBy(Me);return e.validateQueryEndpoints_(t),new e(this.repo,this.path,t,!0)},e.prototype.orderByPriority=function(){v.validateArgCount("Query.orderByPriority",0,0,arguments.length),this.validateNoPreviousOrderByCall_("Query.orderByPriority");var t=this.queryParams_.orderBy(Be);return e.validateQueryEndpoints_(t),new e(this.repo,this.path,t,!0)},e.prototype.orderByValue=function(){v.validateArgCount("Query.orderByValue",0,0,arguments.length),this.validateNoPreviousOrderByCall_("Query.orderByValue");var t=this.queryParams_.orderBy(nt);return e.validateQueryEndpoints_(t),new e(this.repo,this.path,t,!0)},e.prototype.startAt=function(t,n){void 0===t&&(t=null),v.validateArgCount("Query.startAt",0,2,arguments.length),ge("Query.startAt",1,t,this.path,!0),Te("Query.startAt",2,n,!0);var r=this.queryParams_.startAt(t,n);if(e.validateLimit_(r),e.validateQueryEndpoints_(r),this.queryParams_.hasStart())throw new Error("Query.startAt: Starting point was already set (by another call to startAt or equalTo).");return void 0===t&&(t=null,n=null),new e(this.repo,this.path,r,this.orderByCalled_)},e.prototype.endAt=function(t,n){void 0===t&&(t=null),v.validateArgCount("Query.endAt",0,2,arguments.length),ge("Query.endAt",1,t,this.path,!0),Te("Query.endAt",2,n,!0);var r=this.queryParams_.endAt(t,n);if(e.validateLimit_(r),e.validateQueryEndpoints_(r),this.queryParams_.hasEnd())throw new Error("Query.endAt: Ending point was already set (by another call to endAt or equalTo).");return new e(this.repo,this.path,r,this.orderByCalled_)},e.prototype.equalTo=function(e,t){if(v.validateArgCount("Query.equalTo",1,2,arguments.length),ge("Query.equalTo",1,e,this.path,!1),Te("Query.equalTo",2,t,!0),this.queryParams_.hasStart())throw new Error("Query.equalTo: Starting point was already set (by another call to startAt or equalTo).");if(this.queryParams_.hasEnd())throw new Error("Query.equalTo: Ending point was already set (by another call to endAt or equalTo).");return this.startAt(e,t).endAt(e,t)},e.prototype.toString=function(){return v.validateArgCount("Query.toString",0,0,arguments.length),this.repo.toString()+this.path.toUrlEncodedString()},e.prototype.toJSON=function(){return v.validateArgCount("Query.toJSON",0,1,arguments.length),this.toString()},e.prototype.queryObject=function(){return this.queryParams_.getQueryObject()},e.prototype.queryIdentifier=function(){var e=this.queryObject(),t=V(e);return"{}"===t?"default":t},e.prototype.isEqual=function(t){if(v.validateArgCount("Query.isEqual",1,1,arguments.length),!(t instanceof e)){throw new Error("Query.isEqual failed: First argument must be an instance of firebase.database.Query.")}var n=this.repo===t.repo,r=this.path.equals(t.path),i=this.queryIdentifier()===t.queryIdentifier();return n&&r&&i},e.getCancelAndContextArgs_=function(e,t,n){var r={cancel:null,context:null};if(t&&n)r.cancel=t,v.validateCallback(e,3,r.cancel,!0),r.context=n,v.validateContextObject(e,4,r.context,!0);else if(t)if("object"===typeof t&&null!==t)r.context=t;else{if("function"!==typeof t)throw new Error(v.errorPrefix(e,3,!0)+" must either be a cancel callback or a context object.");r.cancel=t}return r},Object.defineProperty(e.prototype,"ref",{get:function(){return this.getRef()},enumerable:!0,configurable:!0}),e}(),ct=function(){function e(){this.set={}}return e.prototype.add=function(e,t){this.set[e]=null===t||t},e.prototype.contains=function(e){return v.contains(this.set,e)},e.prototype.get=function(e){return this.contains(e)?this.set[e]:void 0},e.prototype.remove=function(e){delete this.set[e]},e.prototype.clear=function(){this.set={}},e.prototype.isEmpty=function(){return v.isEmpty(this.set)},e.prototype.count=function(){return v.getCount(this.set)},e.prototype.each=function(e){v.forEach(this.set,function(t,n){return e(t,n)})},e.prototype.keys=function(){var e=[];return v.forEach(this.set,function(t){e.push(t)}),e},e}(),dt=function(){function e(){this.value_=null,this.children_=null}return e.prototype.find=function(e){if(null!=this.value_)return this.value_.getChild(e);if(e.isEmpty()||null==this.children_)return null;var t=e.getFront();if(e=e.popFront(),this.children_.contains(t)){return this.children_.get(t).find(e)}return null},e.prototype.remember=function(t,n){if(t.isEmpty())this.value_=n,this.children_=null;else if(null!==this.value_)this.value_=this.value_.updateChild(t,n);else{null==this.children_&&(this.children_=new ct);var r=t.getFront();this.children_.contains(r)||this.children_.add(r,new e);var i=this.children_.get(r);t=t.popFront(),i.remember(t,n)}},e.prototype.forget=function(e){if(e.isEmpty())return this.value_=null,this.children_=null,!0;if(null!==this.value_){if(this.value_.isLeafNode())return!1;var t=this.value_;this.value_=null;var n=this;return t.forEachChild(Be,function(e,t){n.remember(new ie(e),t)}),this.forget(e)}if(null!==this.children_){var r=e.getFront();if(e=e.popFront(),this.children_.contains(r)){this.children_.get(r).forget(e)&&this.children_.remove(r)}return!!this.children_.isEmpty()&&(this.children_=null,!0)}return!0},e.prototype.forEachTree=function(e,t){null!==this.value_?t(e,this.value_):this.forEachChild(function(n,r){var i=new ie(e.toString()+"/"+n);r.forEachTree(i,t)})},e.prototype.forEachChild=function(e){null!==this.children_&&this.children_.each(function(t,n){e(t,n)})},e}(),ft=function(e){return e=e||{},e.timestamp=e.timestamp||(new Date).getTime(),e},ht=function(e,t){return e&&"object"===typeof e?(v.assert(".sv"in e,"Unexpected leaf node or priority contents"),t[e[".sv"]]):e},pt=function(e,t){var n=new dt;return e.forEachTree(new ie(""),function(e,r){n.remember(e,mt(r,t))}),n},mt=function(e,t){var n,r=e.getPriority().val(),i=ht(r,t);if(e.isLeafNode()){var o=e,a=ht(o.getValue(),t);return a!==o.getValue()||i!==o.getPriority().val()?new je(a,l(i)):e}var s=e;return n=s,i!==s.getPriority().val()&&(n=n.updatePriority(new je(i))),s.forEachChild(Be,function(e,r){var i=mt(r,t);i!==r&&(n=n.updateImmediateChild(e,i))}),n};!function(e){e[e.OVERWRITE=0]="OVERWRITE",e[e.MERGE=1]="MERGE",e[e.ACK_USER_WRITE=2]="ACK_USER_WRITE",e[e.LISTEN_COMPLETE=3]="LISTEN_COMPLETE"}(et||(et={}));var gt,vt,yt=function(){function e(e,t,n,r){this.fromUser=e,this.fromServer=t,this.queryId=n,this.tagged=r,v.assert(!r||t,"Tagged queries must be from server.")}return e.User=new e(!0,!1,null,!1),e.Server=new e(!1,!0,null,!1),e.forServerTaggedQuery=function(t){return new e(!1,!0,t,!0)},e}(),bt=function(){function e(e,t,n){this.path=e,this.affectedTree=t,this.revert=n,this.type=et.ACK_USER_WRITE,this.source=yt.User}return e.prototype.operationForChild=function(t){if(this.path.isEmpty()){if(null!=this.affectedTree.value)return v.assert(this.affectedTree.children.isEmpty(),"affectedTree should not have overlapping affected paths."),this;var n=this.affectedTree.subtree(new ie(t));return new e(ie.Empty,n,this.revert)}return v.assert(this.path.getFront()===t,"operationForChild called for unrelated child."),new e(this.path.popFront(),this.affectedTree,this.revert)},e}(),wt=function(){return gt||(gt=new He(G)),gt},Et=function(){function e(e,t){void 0===t&&(t=wt()),this.value=e,this.children=t}return e.fromObject=function(t){var n=e.Empty;return v.forEach(t,function(e,t){n=n.set(new ie(e),t)}),n},e.prototype.isEmpty=function(){return null===this.value&&this.children.isEmpty()},e.prototype.findRootMostMatchingPathAndValue=function(e,t){if(null!=this.value&&t(this.value))return{path:ie.Empty,value:this.value};if(e.isEmpty())return null;var n=e.getFront(),r=this.children.get(n);if(null!==r){var i=r.findRootMostMatchingPathAndValue(e.popFront(),t);if(null!=i){return{path:new ie(n).child(i.path),value:i.value}}return null}return null},e.prototype.findRootMostValueAndPath=function(e){return this.findRootMostMatchingPathAndValue(e,function(){return!0})},e.prototype.subtree=function(t){if(t.isEmpty())return this;var n=t.getFront(),r=this.children.get(n);return null!==r?r.subtree(t.popFront()):e.Empty},e.prototype.set=function(t,n){if(t.isEmpty())return new e(n,this.children);var r=t.getFront(),i=this.children.get(r)||e.Empty,o=i.set(t.popFront(),n),a=this.children.insert(r,o);return new e(this.value,a)},e.prototype.remove=function(t){if(t.isEmpty())return this.children.isEmpty()?e.Empty:new e(null,this.children);var n=t.getFront(),r=this.children.get(n);if(r){var i=r.remove(t.popFront()),o=void 0;return o=i.isEmpty()?this.children.remove(n):this.children.insert(n,i),null===this.value&&o.isEmpty()?e.Empty:new e(this.value,o)}return this},e.prototype.get=function(e){if(e.isEmpty())return this.value;var t=e.getFront(),n=this.children.get(t);return n?n.get(e.popFront()):null},e.prototype.setTree=function(t,n){if(t.isEmpty())return n;var r=t.getFront(),i=this.children.get(r)||e.Empty,o=i.setTree(t.popFront(),n),a=void 0;return a=o.isEmpty()?this.children.remove(r):this.children.insert(r,o),new e(this.value,a)},e.prototype.fold=function(e){return this.fold_(ie.Empty,e)},e.prototype.fold_=function(e,t){var n={};return this.children.inorderTraversal(function(r,i){n[r]=i.fold_(e.child(r),t)}),t(e,this.value,n)},e.prototype.findOnPath=function(e,t){return this.findOnPath_(e,ie.Empty,t)},e.prototype.findOnPath_=function(e,t,n){var r=!!this.value&&n(t,this.value);if(r)return r;if(e.isEmpty())return null;var i=e.getFront(),o=this.children.get(i);return o?o.findOnPath_(e.popFront(),t.child(i),n):null},e.prototype.foreachOnPath=function(e,t){return this.foreachOnPath_(e,ie.Empty,t)},e.prototype.foreachOnPath_=function(t,n,r){if(t.isEmpty())return this;this.value&&r(n,this.value);var i=t.getFront(),o=this.children.get(i);return o?o.foreachOnPath_(t.popFront(),n.child(i),r):e.Empty},e.prototype.foreach=function(e){this.foreach_(ie.Empty,e)},e.prototype.foreach_=function(e,t){this.children.inorderTraversal(function(n,r){r.foreach_(e.child(n),t)}),this.value&&t(e,this.value)},e.prototype.foreachChild=function(e){this.children.inorderTraversal(function(t,n){n.value&&e(t,n.value)})},e.Empty=new e(null),e}(),Tt=function(){function e(e,t){this.source=e,this.path=t,this.type=et.LISTEN_COMPLETE}return e.prototype.operationForChild=function(t){return this.path.isEmpty()?new e(this.source,ie.Empty):new e(this.source,this.path.popFront())},e}(),_t=function(){function e(e,t,n){this.source=e,this.path=t,this.snap=n,this.type=et.OVERWRITE}return e.prototype.operationForChild=function(t){return this.path.isEmpty()?new e(this.source,ie.Empty,this.snap.getImmediateChild(t)):new e(this.source,this.path.popFront(),this.snap)},e}(),xt=function(){function e(e,t,n){this.source=e,this.path=t,this.children=n,this.type=et.MERGE}return e.prototype.operationForChild=function(t){if(this.path.isEmpty()){var n=this.children.subtree(new ie(t));return n.isEmpty()?null:n.value?new _t(this.source,ie.Empty,n.value):new e(this.source,ie.Empty,n)}return v.assert(this.path.getFront()===t,"Can't get a merge for a child not on the path of the operation"),new e(this.source,this.path.popFront(),this.children)},e.prototype.toString=function(){return"Operation("+this.path+": "+this.source.toString()+" merge: "+this.children.toString()+")"},e}(),kt=function(){function e(e,t,n){this.node_=e,this.fullyInitialized_=t,this.filtered_=n}return e.prototype.isFullyInitialized=function(){return this.fullyInitialized_},e.prototype.isFiltered=function(){return this.filtered_},e.prototype.isCompleteForPath=function(e){if(e.isEmpty())return this.isFullyInitialized()&&!this.filtered_;var t=e.getFront();return this.isCompleteForChild(t)},e.prototype.isCompleteForChild=function(e){return this.isFullyInitialized()&&!this.filtered_||this.node_.hasChild(e)},e.prototype.getNode=function(){return this.node_},e}(),St=function(){function e(e,t){this.eventCache_=e,this.serverCache_=t}return e.prototype.updateEventSnap=function(t,n,r){return new e(new kt(t,n,r),this.serverCache_)},e.prototype.updateServerSnap=function(t,n,r){return new e(this.eventCache_,new kt(t,n,r))},e.prototype.getEventCache=function(){return this.eventCache_},e.prototype.getCompleteEventSnap=function(){return this.eventCache_.isFullyInitialized()?this.eventCache_.getNode():null},e.prototype.getServerCache=function(){return this.serverCache_},e.prototype.getCompleteServerSnap=function(){return this.serverCache_.isFullyInitialized()?this.serverCache_.getNode():null},e.Empty=new e(new kt(Ze.EMPTY_NODE,!1,!1),new kt(Ze.EMPTY_NODE,!1,!1)),e}(),Ct=function(){function e(e,t,n,r,i){this.type=e,this.snapshotNode=t,this.childName=n,this.oldSnap=r,this.prevName=i}return e.valueChange=function(t){return new e(e.VALUE,t)},e.childAddedChange=function(t,n){return new e(e.CHILD_ADDED,n,t)},e.childRemovedChange=function(t,n){return new e(e.CHILD_REMOVED,n,t)},e.childChangedChange=function(t,n,r){return new e(e.CHILD_CHANGED,n,t,r)},e.childMovedChange=function(t,n){return new e(e.CHILD_MOVED,n,t)},e.CHILD_ADDED="child_added",e.CHILD_REMOVED="child_removed",e.CHILD_CHANGED="child_changed",e.CHILD_MOVED="child_moved",e.VALUE="value",e}(),Ot=function(){function e(e){this.index_=e}return e.prototype.updateChild=function(e,t,n,r,i,o){v.assert(e.isIndexed(this.index_),"A node must be indexed if only a child is updated");var a=e.getImmediateChild(t);return a.getChild(r).equals(n.getChild(r))&&a.isEmpty()==n.isEmpty()?e:(null!=o&&(n.isEmpty()?e.hasChild(t)?o.trackChildChange(Ct.childRemovedChange(t,a)):v.assert(e.isLeafNode(),"A child remove without an old child only makes sense on a leaf node"):a.isEmpty()?o.trackChildChange(Ct.childAddedChange(t,n)):o.trackChildChange(Ct.childChangedChange(t,n,a))),e.isLeafNode()&&n.isEmpty()?e:e.updateImmediateChild(t,n).withIndex(this.index_))},e.prototype.updateFullNode=function(e,t,n){return null!=n&&(e.isLeafNode()||e.forEachChild(Be,function(e,r){t.hasChild(e)||n.trackChildChange(Ct.childRemovedChange(e,r))}),t.isLeafNode()||t.forEachChild(Be,function(t,r){if(e.hasChild(t)){var i=e.getImmediateChild(t);i.equals(r)||n.trackChildChange(Ct.childChangedChange(t,r,i))}else n.trackChildChange(Ct.childAddedChange(t,r))})),t.withIndex(this.index_)},e.prototype.updatePriority=function(e,t){return e.isEmpty()?Ze.EMPTY_NODE:e.updatePriority(t)},e.prototype.filtersNodes=function(){return!1},e.prototype.getIndexedFilter=function(){return this},e.prototype.getIndex=function(){return this.index_},e}(),At=function(){function e(){this.changeMap_={}}return e.prototype.trackChildChange=function(e){var t=e.type,n=e.childName;v.assert(t==Ct.CHILD_ADDED||t==Ct.CHILD_CHANGED||t==Ct.CHILD_REMOVED,"Only child changes supported for tracking"),v.assert(".priority"!==n,"Only non-priority child changes can be tracked.");var r=v.safeGet(this.changeMap_,n);if(r){var i=r.type;if(t==Ct.CHILD_ADDED&&i==Ct.CHILD_REMOVED)this.changeMap_[n]=Ct.childChangedChange(n,e.snapshotNode,r.snapshotNode);else if(t==Ct.CHILD_REMOVED&&i==Ct.CHILD_ADDED)delete this.changeMap_[n];else if(t==Ct.CHILD_REMOVED&&i==Ct.CHILD_CHANGED)this.changeMap_[n]=Ct.childRemovedChange(n,r.oldSnap);else if(t==Ct.CHILD_CHANGED&&i==Ct.CHILD_ADDED)this.changeMap_[n]=Ct.childAddedChange(n,e.snapshotNode);else{if(t!=Ct.CHILD_CHANGED||i!=Ct.CHILD_CHANGED)throw v.assertionError("Illegal combination of changes: "+e+" occurred after "+r);this.changeMap_[n]=Ct.childChangedChange(n,e.snapshotNode,r.oldSnap)}}else this.changeMap_[n]=e},e.prototype.getChanges=function(){return v.getValues(this.changeMap_)},e}(),Pt=function(){function e(){}return e.prototype.getCompleteChild=function(e){return null},e.prototype.getChildAfterChild=function(e,t,n){return null},e}(),It=new Pt,Rt=function(){function e(e,t,n){void 0===n&&(n=null),this.writes_=e,this.viewCache_=t,this.optCompleteServerCache_=n}return e.prototype.getCompleteChild=function(e){var t=this.viewCache_.getEventCache();if(t.isCompleteForChild(e))return t.getNode().getImmediateChild(e);var n=null!=this.optCompleteServerCache_?new kt(this.optCompleteServerCache_,!0,!1):this.viewCache_.getServerCache();return this.writes_.calcCompleteChild(e,n)},e.prototype.getChildAfterChild=function(e,t,n){var r=null!=this.optCompleteServerCache_?this.optCompleteServerCache_:this.viewCache_.getCompleteServerSnap(),i=this.writes_.calcIndexedSlice(r,t,1,n,e);return 0===i.length?null:i[0]},e}(),Nt=function(){function e(e,t){this.viewCache=e,this.changes=t}return e}(),Mt=function(){function e(e){this.filter_=e}return e.prototype.assertIndexed=function(e){v.assert(e.getEventCache().getNode().isIndexed(this.filter_.getIndex()),"Event snap not indexed"),v.assert(e.getServerCache().getNode().isIndexed(this.filter_.getIndex()),"Server snap not indexed")},e.prototype.applyOperation=function(t,n,r,i){var o,a,s=new At;if(n.type===et.OVERWRITE){var l=n;l.source.fromUser?o=this.applyUserOverwrite_(t,l.path,l.snap,r,i,s):(v.assert(l.source.fromServer,"Unknown source."),a=l.source.tagged||t.getServerCache().isFiltered()&&!l.path.isEmpty(),o=this.applyServerOverwrite_(t,l.path,l.snap,r,i,a,s))}else if(n.type===et.MERGE){var u=n;u.source.fromUser?o=this.applyUserMerge_(t,u.path,u.children,r,i,s):(v.assert(u.source.fromServer,"Unknown source."),a=u.source.tagged||t.getServerCache().isFiltered(),o=this.applyServerMerge_(t,u.path,u.children,r,i,a,s))}else if(n.type===et.ACK_USER_WRITE){var c=n;o=c.revert?this.revertUserWrite_(t,c.path,r,i,s):this.ackUserWrite_(t,c.path,c.affectedTree,r,i,s)}else{if(n.type!==et.LISTEN_COMPLETE)throw v.assertionError("Unknown operation type: "+n.type);o=this.listenComplete_(t,n.path,r,s)}var d=s.getChanges();return e.maybeAddValueEvent_(t,o,d),new Nt(o,d)},e.maybeAddValueEvent_=function(e,t,n){var r=t.getEventCache();if(r.isFullyInitialized()){var i=r.getNode().isLeafNode()||r.getNode().isEmpty(),o=e.getCompleteEventSnap();(n.length>0||!e.getEventCache().isFullyInitialized()||i&&!r.getNode().equals(o)||!r.getNode().getPriority().equals(o.getPriority()))&&n.push(Ct.valueChange(t.getCompleteEventSnap()))}},e.prototype.generateEventCacheAfterServerEvent_=function(e,t,n,r,i){var o=e.getEventCache();if(null!=n.shadowingWrite(t))return e;var a=void 0,s=void 0;if(t.isEmpty())if(v.assert(e.getServerCache().isFullyInitialized(),"If change path is empty, we must have complete server data"),e.getServerCache().isFiltered()){var l=e.getCompleteServerSnap(),u=l instanceof Ze?l:Ze.EMPTY_NODE,c=n.calcCompleteEventChildren(u);a=this.filter_.updateFullNode(e.getEventCache().getNode(),c,i)}else{var d=n.calcCompleteEventCache(e.getCompleteServerSnap());a=this.filter_.updateFullNode(e.getEventCache().getNode(),d,i)}else{var f=t.getFront();if(".priority"==f){v.assert(1==t.getLength(),"Can't have a priority with additional path components");var h=o.getNode();s=e.getServerCache().getNode();var p=n.calcEventCacheAfterServerOverwrite(t,h,s);a=null!=p?this.filter_.updatePriority(h,p):o.getNode()}else{var m=t.popFront(),g=void 0;if(o.isCompleteForChild(f)){s=e.getServerCache().getNode();var y=n.calcEventCacheAfterServerOverwrite(t,o.getNode(),s);g=null!=y?o.getNode().getImmediateChild(f).updateChild(m,y):o.getNode().getImmediateChild(f)}else g=n.calcCompleteChild(f,e.getServerCache());a=null!=g?this.filter_.updateChild(o.getNode(),f,g,m,r,i):o.getNode()}}return e.updateEventSnap(a,o.isFullyInitialized()||t.isEmpty(),this.filter_.filtersNodes())},e.prototype.applyServerOverwrite_=function(e,t,n,r,i,o,a){var s,l=e.getServerCache(),u=o?this.filter_:this.filter_.getIndexedFilter();if(t.isEmpty())s=u.updateFullNode(l.getNode(),n,null);else if(u.filtersNodes()&&!l.isFiltered()){var c=l.getNode().updateChild(t,n);s=u.updateFullNode(l.getNode(),c,null)}else{var d=t.getFront();if(!l.isCompleteForPath(t)&&t.getLength()>1)return e;var f=t.popFront(),h=l.getNode().getImmediateChild(d),p=h.updateChild(f,n);s=".priority"==d?u.updatePriority(l.getNode(),p):u.updateChild(l.getNode(),d,p,f,It,null)}var m=e.updateServerSnap(s,l.isFullyInitialized()||t.isEmpty(),u.filtersNodes()),g=new Rt(r,m,i);return this.generateEventCacheAfterServerEvent_(m,t,r,g,a)},e.prototype.applyUserOverwrite_=function(e,t,n,r,i,o){var a,s,l=e.getEventCache(),u=new Rt(r,e,i);if(t.isEmpty())s=this.filter_.updateFullNode(e.getEventCache().getNode(),n,o),a=e.updateEventSnap(s,!0,this.filter_.filtersNodes());else{var c=t.getFront();if(".priority"===c)s=this.filter_.updatePriority(e.getEventCache().getNode(),n),a=e.updateEventSnap(s,l.isFullyInitialized(),l.isFiltered());else{var d=t.popFront(),f=l.getNode().getImmediateChild(c),h=void 0;if(d.isEmpty())h=n;else{var p=u.getCompleteChild(c);h=null!=p?".priority"===d.getBack()&&p.getChild(d.parent()).isEmpty()?p:p.updateChild(d,n):Ze.EMPTY_NODE}if(f.equals(h))a=e;else{var m=this.filter_.updateChild(l.getNode(),c,h,d,u,o);a=e.updateEventSnap(m,l.isFullyInitialized(),this.filter_.filtersNodes())}}}return a},e.cacheHasChild_=function(e,t){return e.getEventCache().isCompleteForChild(t)},e.prototype.applyUserMerge_=function(t,n,r,i,o,a){var s=this,l=t;return r.foreach(function(r,u){var c=n.child(r);e.cacheHasChild_(t,c.getFront())&&(l=s.applyUserOverwrite_(l,c,u,i,o,a))}),r.foreach(function(r,u){var c=n.child(r);e.cacheHasChild_(t,c.getFront())||(l=s.applyUserOverwrite_(l,c,u,i,o,a))}),l},e.prototype.applyMerge_=function(e,t){return t.foreach(function(t,n){e=e.updateChild(t,n)}),e},e.prototype.applyServerMerge_=function(e,t,n,r,i,o,a){var s=this;if(e.getServerCache().getNode().isEmpty()&&!e.getServerCache().isFullyInitialized())return e;var l,u=e;l=t.isEmpty()?n:Et.Empty.setTree(t,n);var c=e.getServerCache().getNode();return l.children.inorderTraversal(function(t,n){if(c.hasChild(t)){var l=e.getServerCache().getNode().getImmediateChild(t),d=s.applyMerge_(l,n);u=s.applyServerOverwrite_(u,new ie(t),d,r,i,o,a)}}),l.children.inorderTraversal(function(t,n){var l=!e.getServerCache().isCompleteForChild(t)&&null==n.value;if(!c.hasChild(t)&&!l){var d=e.getServerCache().getNode().getImmediateChild(t),f=s.applyMerge_(d,n);u=s.applyServerOverwrite_(u,new ie(t),f,r,i,o,a)}}),u},e.prototype.ackUserWrite_=function(e,t,n,r,i,o){if(null!=r.shadowingWrite(t))return e;var a=e.getServerCache().isFiltered(),s=e.getServerCache();if(null!=n.value){if(t.isEmpty()&&s.isFullyInitialized()||s.isCompleteForPath(t))return this.applyServerOverwrite_(e,t,s.getNode().getChild(t),r,i,a,o);if(t.isEmpty()){var l=Et.Empty;return s.getNode().forEachChild(Me,function(e,t){l=l.set(new ie(e),t)}),this.applyServerMerge_(e,t,l,r,i,a,o)}return e}var u=Et.Empty;return n.foreach(function(e,n){var r=t.child(e);s.isCompleteForPath(r)&&(u=u.set(e,s.getNode().getChild(r)))}),this.applyServerMerge_(e,t,u,r,i,a,o)},e.prototype.listenComplete_=function(e,t,n,r){var i=e.getServerCache(),o=e.updateServerSnap(i.getNode(),i.isFullyInitialized()||t.isEmpty(),i.isFiltered());return this.generateEventCacheAfterServerEvent_(o,t,n,It,r)},e.prototype.revertUserWrite_=function(e,t,n,r,i){var o;if(null!=n.shadowingWrite(t))return e;var a=new Rt(n,e,r),s=e.getEventCache().getNode(),l=void 0;if(t.isEmpty()||".priority"===t.getFront()){var u=void 0;if(e.getServerCache().isFullyInitialized())u=n.calcCompleteEventCache(e.getCompleteServerSnap());else{var c=e.getServerCache().getNode();v.assert(c instanceof Ze,"serverChildren would be complete if leaf node"),u=n.calcCompleteEventChildren(c)}u=u,l=this.filter_.updateFullNode(s,u,i)}else{var d=t.getFront(),f=n.calcCompleteChild(d,e.getServerCache());null==f&&e.getServerCache().isCompleteForChild(d)&&(f=s.getImmediateChild(d)),l=null!=f?this.filter_.updateChild(s,d,f,t.popFront(),a,i):e.getEventCache().getNode().hasChild(d)?this.filter_.updateChild(s,d,Ze.EMPTY_NODE,t.popFront(),a,i):s,l.isEmpty()&&e.getServerCache().isFullyInitialized()&&(o=n.calcCompleteEventCache(e.getCompleteServerSnap()),o.isLeafNode()&&(l=this.filter_.updateFullNode(l,o,i)))}return o=e.getServerCache().isFullyInitialized()||null!=n.shadowingWrite(ie.Empty),e.updateEventSnap(l,o,this.filter_.filtersNodes())},e}(),Dt=function(){function e(e){this.query_=e,this.index_=this.query_.getQueryParams().getIndex()}return e.prototype.generateEventsForChanges=function(e,t,n){var r=this,i=[],o=[];return e.forEach(function(e){e.type===Ct.CHILD_CHANGED&&r.index_.indexedValueChanged(e.oldSnap,e.snapshotNode)&&o.push(Ct.childMovedChange(e.childName,e.snapshotNode))}),this.generateEventsForType_(i,Ct.CHILD_REMOVED,e,n,t),this.generateEventsForType_(i,Ct.CHILD_ADDED,e,n,t),this.generateEventsForType_(i,Ct.CHILD_MOVED,o,n,t),this.generateEventsForType_(i,Ct.CHILD_CHANGED,e,n,t),this.generateEventsForType_(i,Ct.VALUE,e,n,t),i},e.prototype.generateEventsForType_=function(e,t,n,r,i){var o=this,a=n.filter(function(e){return e.type===t});a.sort(this.compareChanges_.bind(this)),a.forEach(function(t){var n=o.materializeSingleChange_(t,i);r.forEach(function(r){r.respondsTo(t.type)&&e.push(r.createEvent(n,o.query_))})})},e.prototype.materializeSingleChange_=function(e,t){return"value"===e.type||"child_removed"===e.type?e:(e.prevName=t.getPredecessorChildName(e.childName,e.snapshotNode,this.index_),e)},e.prototype.compareChanges_=function(e,t){if(null==e.childName||null==t.childName)throw v.assertionError("Should only compare child_ events.");var n=new Ie(e.childName,e.snapshotNode),r=new Ie(t.childName,t.snapshotNode);return this.index_.compare(n,r)},e}(),Lt=function(){function e(e,t){this.query_=e,this.eventRegistrations_=[];var n=this.query_.getQueryParams(),r=new Ot(n.getIndex()),i=n.getNodeFilter();this.processor_=new Mt(i);var o=t.getServerCache(),a=t.getEventCache(),s=r.updateFullNode(Ze.EMPTY_NODE,o.getNode(),null),l=i.updateFullNode(Ze.EMPTY_NODE,a.getNode(),null),u=new kt(s,o.isFullyInitialized(),r.filtersNodes()),c=new kt(l,a.isFullyInitialized(),i.filtersNodes());this.viewCache_=new St(c,u),this.eventGenerator_=new Dt(this.query_)}return e.prototype.getQuery=function(){return this.query_},e.prototype.getServerCache=function(){return this.viewCache_.getServerCache().getNode()},e.prototype.getCompleteServerCache=function(e){var t=this.viewCache_.getCompleteServerSnap();return t&&(this.query_.getQueryParams().loadsAllData()||!e.isEmpty()&&!t.getImmediateChild(e.getFront()).isEmpty())?t.getChild(e):null},e.prototype.isEmpty=function(){return 0===this.eventRegistrations_.length},e.prototype.addEventRegistration=function(e){this.eventRegistrations_.push(e)},e.prototype.removeEventRegistration=function(e,t){var n=[];if(t){v.assert(null==e,"A cancel should cancel all event registrations.");var r=this.query_.path;this.eventRegistrations_.forEach(function(e){t=t;var i=e.createCancelEvent(t,r);i&&n.push(i)})}if(e){for(var i=[],o=0;o<this.eventRegistrations_.length;++o){var a=this.eventRegistrations_[o];if(a.matches(e)){if(e.hasAnyCallback()){i=i.concat(this.eventRegistrations_.slice(o+1));break}}else i.push(a)}this.eventRegistrations_=i}else this.eventRegistrations_=[];return n},e.prototype.applyOperation=function(e,t,n){e.type===et.MERGE&&null!==e.source.queryId&&(v.assert(this.viewCache_.getCompleteServerSnap(),"We should always have a full cache before handling merges"),v.assert(this.viewCache_.getCompleteEventSnap(),"Missing event cache, even though we have a server cache"));var r=this.viewCache_,i=this.processor_.applyOperation(r,e,t,n);return this.processor_.assertIndexed(i.viewCache),v.assert(i.viewCache.getServerCache().isFullyInitialized()||!r.getServerCache().isFullyInitialized(),"Once a server snap is complete, it should never go back"),this.viewCache_=i.viewCache,this.generateEventsForChanges_(i.changes,i.viewCache.getEventCache().getNode(),null)},e.prototype.getInitialEvents=function(e){var t=this.viewCache_.getEventCache(),n=[];if(!t.getNode().isLeafNode()){t.getNode().forEachChild(Be,function(e,t){n.push(Ct.childAddedChange(e,t))})}return t.isFullyInitialized()&&n.push(Ct.valueChange(t.getNode())),this.generateEventsForChanges_(n,t.getNode(),e)},e.prototype.generateEventsForChanges_=function(e,t,n){var r=n?[n]:this.eventRegistrations_;return this.eventGenerator_.generateEventsForChanges(e,t,r)},e}(),jt=function(){function e(){this.views_={}}return Object.defineProperty(e,"__referenceConstructor",{get:function(){return v.assert(vt,"Reference.ts has not been loaded"),vt},set:function(e){v.assert(!vt,"__referenceConstructor has already been defined"),vt=e},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return v.isEmpty(this.views_)},e.prototype.applyOperation=function(e,t,n){var r=e.source.queryId;if(null!==r){var i=v.safeGet(this.views_,r);return v.assert(null!=i,"SyncTree gave us an op for an invalid query."),i.applyOperation(e,t,n)}var o=[];return v.forEach(this.views_,function(r,i){o=o.concat(i.applyOperation(e,t,n))}),o},e.prototype.addEventRegistration=function(e,t,n,r,i){var o=e.queryIdentifier(),a=v.safeGet(this.views_,o);if(!a){var s=n.calcCompleteEventCache(i?r:null),l=!1;s?l=!0:r instanceof Ze?(s=n.calcCompleteEventChildren(r),l=!1):(s=Ze.EMPTY_NODE,l=!1);var u=new St(new kt(s,l,!1),new kt(r,i,!1));a=new Lt(e,u),this.views_[o]=a}return a.addEventRegistration(t),a.getInitialEvents(t)},e.prototype.removeEventRegistration=function(t,n,r){var i=t.queryIdentifier(),o=[],a=[],s=this.hasCompleteView();if("default"===i){var l=this;v.forEach(this.views_,function(e,t){a=a.concat(t.removeEventRegistration(n,r)),t.isEmpty()&&(delete l.views_[e],t.getQuery().getQueryParams().loadsAllData()||o.push(t.getQuery()))})}else{var u=v.safeGet(this.views_,i);u&&(a=a.concat(u.removeEventRegistration(n,r)),u.isEmpty()&&(delete this.views_[i],u.getQuery().getQueryParams().loadsAllData()||o.push(u.getQuery())))}return s&&!this.hasCompleteView()&&o.push(new e.__referenceConstructor(t.repo,t.path)),{removed:o,events:a}},e.prototype.getQueryViews=function(){var e=this;return Object.keys(this.views_).map(function(t){return e.views_[t]}).filter(function(e){return!e.getQuery().getQueryParams().loadsAllData()})},e.prototype.getCompleteServerCache=function(e){var t=null;return v.forEach(this.views_,function(n,r){t=t||r.getCompleteServerCache(e)}),t},e.prototype.viewForQuery=function(e){if(e.getQueryParams().loadsAllData())return this.getCompleteView();var t=e.queryIdentifier();return v.safeGet(this.views_,t)},e.prototype.viewExistsForQuery=function(e){return null!=this.viewForQuery(e)},e.prototype.hasCompleteView=function(){return null!=this.getCompleteView()},e.prototype.getCompleteView=function(){return v.findValue(this.views_,function(e){return e.getQuery().getQueryParams().loadsAllData()})||null},e}(),Wt=function(){function e(e){this.writeTree_=e}return e.prototype.addWrite=function(t,n){if(t.isEmpty())return new e(new Et(n));var r=this.writeTree_.findRootMostValueAndPath(t);if(null!=r){var i=r.path,o=r.value,a=ie.relativePath(i,t);return o=o.updateChild(a,n),new e(this.writeTree_.set(i,o))}var s=new Et(n);return new e(this.writeTree_.setTree(t,s))},e.prototype.addWrites=function(e,t){var n=this;return v.forEach(t,function(t,r){n=n.addWrite(e.child(t),r)}),n},e.prototype.removeWrite=function(t){return t.isEmpty()?e.Empty:new e(this.writeTree_.setTree(t,Et.Empty))},e.prototype.hasCompleteWrite=function(e){return null!=this.getCompleteNode(e)},e.prototype.getCompleteNode=function(e){var t=this.writeTree_.findRootMostValueAndPath(e);return null!=t?this.writeTree_.get(t.path).getChild(ie.relativePath(t.path,e)):null},e.prototype.getCompleteChildren=function(){var e=[],t=this.writeTree_.value;return null!=t?t.isLeafNode()||t.forEachChild(Be,function(t,n){e.push(new Ie(t,n))}):this.writeTree_.children.inorderTraversal(function(t,n){null!=n.value&&e.push(new Ie(t,n.value))}),e},e.prototype.childCompoundWrite=function(t){if(t.isEmpty())return this;var n=this.getCompleteNode(t);return new e(null!=n?new Et(n):this.writeTree_.subtree(t))},e.prototype.isEmpty=function(){return this.writeTree_.isEmpty()},e.prototype.apply=function(t){return e.applySubtreeWrite_(ie.Empty,this.writeTree_,t)},e.Empty=new e(new Et(null)),e.applySubtreeWrite_=function(t,n,r){if(null!=n.value)return r.updateChild(t,n.value);var i=null;return n.children.inorderTraversal(function(n,o){".priority"===n?(v.assert(null!==o.value,"Priority writes must always be leaf nodes"),i=o.value):r=e.applySubtreeWrite_(t.child(n),o,r)}),r.getChild(t).isEmpty()||null===i||(r=r.updateChild(t.child(".priority"),i)),r},e}(),Bt=function(){function e(){this.visibleWrites_=Wt.Empty,this.allWrites_=[],this.lastWriteId_=-1}return e.prototype.childWrites=function(e){return new Ft(e,this)},e.prototype.addOverwrite=function(e,t,n,r){v.assert(n>this.lastWriteId_,"Stacking an older write on top of newer ones"),void 0===r&&(r=!0),this.allWrites_.push({path:e,snap:t,writeId:n,visible:r}),r&&(this.visibleWrites_=this.visibleWrites_.addWrite(e,t)),this.lastWriteId_=n},e.prototype.addMerge=function(e,t,n){v.assert(n>this.lastWriteId_,"Stacking an older merge on top of newer ones"),this.allWrites_.push({path:e,children:t,writeId:n,visible:!0}),this.visibleWrites_=this.visibleWrites_.addWrites(e,t),this.lastWriteId_=n},e.prototype.getWrite=function(e){for(var t=0;t<this.allWrites_.length;t++){var n=this.allWrites_[t];if(n.writeId===e)return n}return null},e.prototype.removeWrite=function(e){var t=this,n=this.allWrites_.findIndex(function(t){return t.writeId===e});v.assert(n>=0,"removeWrite called with nonexistent writeId.");var r=this.allWrites_[n];this.allWrites_.splice(n,1);for(var i=r.visible,o=!1,a=this.allWrites_.length-1;i&&a>=0;){var s=this.allWrites_[a];s.visible&&(a>=n&&this.recordContainsPath_(s,r.path)?i=!1:r.path.contains(s.path)&&(o=!0)),a--}if(i){if(o)return this.resetTree_(),!0;if(r.snap)this.visibleWrites_=this.visibleWrites_.removeWrite(r.path);else{var l=r.children;v.forEach(l,function(e){t.visibleWrites_=t.visibleWrites_.removeWrite(r.path.child(e))})}return!0}return!1},e.prototype.getCompleteWriteData=function(e){return this.visibleWrites_.getCompleteNode(e)},e.prototype.calcCompleteEventCache=function(t,n,r,i){if(r||i){var o=this.visibleWrites_.childCompoundWrite(t);if(!i&&o.isEmpty())return n;if(i||null!=n||o.hasCompleteWrite(ie.Empty)){var a=function(e){return(e.visible||i)&&(!r||!~r.indexOf(e.writeId))&&(e.path.contains(t)||t.contains(e.path))},s=e.layerTree_(this.allWrites_,a,t),l=n||Ze.EMPTY_NODE;return s.apply(l)}return null}var u=this.visibleWrites_.getCompleteNode(t);if(null!=u)return u;var c=this.visibleWrites_.childCompoundWrite(t);if(c.isEmpty())return n;if(null!=n||c.hasCompleteWrite(ie.Empty)){var l=n||Ze.EMPTY_NODE;return c.apply(l)}return null},e.prototype.calcCompleteEventChildren=function(e,t){var n=Ze.EMPTY_NODE,r=this.visibleWrites_.getCompleteNode(e);if(r)return r.isLeafNode()||r.forEachChild(Be,function(e,t){n=n.updateImmediateChild(e,t)}),n;if(t){var i=this.visibleWrites_.childCompoundWrite(e);return t.forEachChild(Be,function(e,t){var r=i.childCompoundWrite(new ie(e)).apply(t);n=n.updateImmediateChild(e,r)}),i.getCompleteChildren().forEach(function(e){n=n.updateImmediateChild(e.name,e.node)}),n}return this.visibleWrites_.childCompoundWrite(e).getCompleteChildren().forEach(function(e){n=n.updateImmediateChild(e.name,e.node)}),n},e.prototype.calcEventCacheAfterServerOverwrite=function(e,t,n,r){v.assert(n||r,"Either existingEventSnap or existingServerSnap must exist");var i=e.child(t);if(this.visibleWrites_.hasCompleteWrite(i))return null;var o=this.visibleWrites_.childCompoundWrite(i);return o.isEmpty()?r.getChild(t):o.apply(r.getChild(t))},e.prototype.calcCompleteChild=function(e,t,n){var r=e.child(t),i=this.visibleWrites_.getCompleteNode(r);if(null!=i)return i;if(n.isCompleteForChild(t)){return this.visibleWrites_.childCompoundWrite(r).apply(n.getNode().getImmediateChild(t))}return null},e.prototype.shadowingWrite=function(e){return this.visibleWrites_.getCompleteNode(e)},e.prototype.calcIndexedSlice=function(e,t,n,r,i,o){var a,s=this.visibleWrites_.childCompoundWrite(e),l=s.getCompleteNode(ie.Empty);if(null!=l)a=l;else{if(null==t)return[];a=s.apply(t)}if(a=a.withIndex(o),a.isEmpty()||a.isLeafNode())return[];for(var u=[],c=o.getCompare(),d=i?a.getReverseIteratorFrom(n,o):a.getIteratorFrom(n,o),f=d.getNext();f&&u.length<r;)0!==c(f,n)&&u.push(f),f=d.getNext();return u},e.prototype.recordContainsPath_=function(e,t){return e.snap?e.path.contains(t):!!v.findKey(e.children,function(n,r){return e.path.child(r).contains(t)})},e.prototype.resetTree_=function(){this.visibleWrites_=e.layerTree_(this.allWrites_,e.DefaultFilter_,ie.Empty),this.allWrites_.length>0?this.lastWriteId_=this.allWrites_[this.allWrites_.length-1].writeId:this.lastWriteId_=-1},e.DefaultFilter_=function(e){return e.visible},e.layerTree_=function(e,t,n){for(var r=Wt.Empty,i=0;i<e.length;++i){var o=e[i];if(t(o)){var a=o.path,s=void 0;if(o.snap)n.contains(a)?(s=ie.relativePath(n,a),r=r.addWrite(s,o.snap)):a.contains(n)&&(s=ie.relativePath(a,n),r=r.addWrite(ie.Empty,o.snap.getChild(s)));else{if(!o.children)throw v.assertionError("WriteRecord should have .snap or .children");if(n.contains(a))s=ie.relativePath(n,a),r=r.addWrites(s,o.children);else if(a.contains(n))if(s=ie.relativePath(a,n),s.isEmpty())r=r.addWrites(ie.Empty,o.children);else{var l=v.safeGet(o.children,s.getFront());if(l){var u=l.getChild(s.popFront());r=r.addWrite(ie.Empty,u)}}}}}return r},e}(),Ft=function(){function e(e,t){this.treePath_=e,this.writeTree_=t}return e.prototype.calcCompleteEventCache=function(e,t,n){return this.writeTree_.calcCompleteEventCache(this.treePath_,e,t,n)},e.prototype.calcCompleteEventChildren=function(e){return this.writeTree_.calcCompleteEventChildren(this.treePath_,e)},e.prototype.calcEventCacheAfterServerOverwrite=function(e,t,n){return this.writeTree_.calcEventCacheAfterServerOverwrite(this.treePath_,e,t,n)},e.prototype.shadowingWrite=function(e){return this.writeTree_.shadowingWrite(this.treePath_.child(e))},e.prototype.calcIndexedSlice=function(e,t,n,r,i){return this.writeTree_.calcIndexedSlice(this.treePath_,e,t,n,r,i)},e.prototype.calcCompleteChild=function(e,t){return this.writeTree_.calcCompleteChild(this.treePath_,e,t)},e.prototype.child=function(t){return new e(this.treePath_.child(t),this.writeTree_)},e}(),zt=function(){function e(e){this.listenProvider_=e,this.syncPointTree_=Et.Empty,this.pendingWriteTree_=new Bt,this.tagToQueryMap_={},this.queryToTagMap_={}}return e.prototype.applyUserOverwrite=function(e,t,n,r){return this.pendingWriteTree_.addOverwrite(e,t,n,r),r?this.applyOperationToSyncPoints_(new _t(yt.User,e,t)):[]},e.prototype.applyUserMerge=function(e,t,n){this.pendingWriteTree_.addMerge(e,t,n);var r=Et.fromObject(t);return this.applyOperationToSyncPoints_(new xt(yt.User,e,r))},e.prototype.ackUserWrite=function(e,t){void 0===t&&(t=!1);var n=this.pendingWriteTree_.getWrite(e);if(this.pendingWriteTree_.removeWrite(e)){var r=Et.Empty;return null!=n.snap?r=r.set(ie.Empty,!0):v.forEach(n.children,function(e,t){r=r.set(new ie(e),t)}),this.applyOperationToSyncPoints_(new bt(n.path,r,t))}return[]},e.prototype.applyServerOverwrite=function(e,t){return this.applyOperationToSyncPoints_(new _t(yt.Server,e,t))},e.prototype.applyServerMerge=function(e,t){var n=Et.fromObject(t);return this.applyOperationToSyncPoints_(new xt(yt.Server,e,n))},e.prototype.applyListenComplete=function(e){return this.applyOperationToSyncPoints_(new Tt(yt.Server,e))},e.prototype.applyTaggedQueryOverwrite=function(t,n,r){var i=this.queryKeyForTag_(r);if(null!=i){var o=e.parseQueryKey_(i),a=o.path,s=o.queryId,l=ie.relativePath(a,t),u=new _t(yt.forServerTaggedQuery(s),l,n);return this.applyTaggedOperation_(a,u)}return[]},e.prototype.applyTaggedQueryMerge=function(t,n,r){var i=this.queryKeyForTag_(r);if(i){var o=e.parseQueryKey_(i),a=o.path,s=o.queryId,l=ie.relativePath(a,t),u=Et.fromObject(n),c=new xt(yt.forServerTaggedQuery(s),l,u);return this.applyTaggedOperation_(a,c)}return[]},e.prototype.applyTaggedListenComplete=function(t,n){var r=this.queryKeyForTag_(n);if(r){var i=e.parseQueryKey_(r),o=i.path,a=i.queryId,s=ie.relativePath(o,t),l=new Tt(yt.forServerTaggedQuery(a),s);return this.applyTaggedOperation_(o,l)}return[]},e.prototype.addEventRegistration=function(t,n){var r=t.path,i=null,o=!1;this.syncPointTree_.foreachOnPath(r,function(e,t){var n=ie.relativePath(e,r);i=i||t.getCompleteServerCache(n),o=o||t.hasCompleteView()});var a=this.syncPointTree_.get(r);a?(o=o||a.hasCompleteView(),i=i||a.getCompleteServerCache(ie.Empty)):(a=new jt,this.syncPointTree_=this.syncPointTree_.set(r,a));var s;if(null!=i)s=!0;else{s=!1,i=Ze.EMPTY_NODE;this.syncPointTree_.subtree(r).foreachChild(function(e,t){var n=t.getCompleteServerCache(ie.Empty);n&&(i=i.updateImmediateChild(e,n))})}var l=a.viewExistsForQuery(t);if(!l&&!t.getQueryParams().loadsAllData()){var u=e.makeQueryKey_(t);v.assert(!(u in this.queryToTagMap_),"View does not exist, but we have a tag");var c=e.getNextQueryTag_();this.queryToTagMap_[u]=c,this.tagToQueryMap_["_"+c]=u}var d=this.pendingWriteTree_.childWrites(r),f=a.addEventRegistration(t,n,d,i,s);if(!l&&!o){var h=a.viewForQuery(t);f=f.concat(this.setupListener_(t,h))}return f},e.prototype.removeEventRegistration=function(t,n,r){var i=this,o=t.path,a=this.syncPointTree_.get(o),s=[];if(a&&("default"===t.queryIdentifier()||a.viewExistsForQuery(t))){var l=a.removeEventRegistration(t,n,r);a.isEmpty()&&(this.syncPointTree_=this.syncPointTree_.remove(o));var u=l.removed;s=l.events;var c=-1!==u.findIndex(function(e){return e.getQueryParams().loadsAllData()}),d=this.syncPointTree_.findOnPath(o,function(e,t){return t.hasCompleteView()});if(c&&!d){var f=this.syncPointTree_.subtree(o);if(!f.isEmpty())for(var h=this.collectDistinctViewsForSubTree_(f),p=0;p<h.length;++p){var m=h[p],g=m.getQuery(),v=this.createListenerForView_(m);this.listenProvider_.startListening(e.queryForListening_(g),this.tagForQuery_(g),v.hashFn,v.onComplete)}}if(!d&&u.length>0&&!r)if(c){this.listenProvider_.stopListening(e.queryForListening_(t),null)}else u.forEach(function(t){var n=i.queryToTagMap_[e.makeQueryKey_(t)];i.listenProvider_.stopListening(e.queryForListening_(t),n)});this.removeTags_(u)}return s},e.prototype.calcCompleteEventCache=function(e,t){var n=this.pendingWriteTree_,r=this.syncPointTree_.findOnPath(e,function(t,n){var r=ie.relativePath(t,e),i=n.getCompleteServerCache(r);if(i)return i});return n.calcCompleteEventCache(e,r,t,!0)},e.prototype.collectDistinctViewsForSubTree_=function(e){return e.fold(function(e,t,n){if(t&&t.hasCompleteView()){return[t.getCompleteView()]}var r=[];return t&&(r=t.getQueryViews()),v.forEach(n,function(e,t){r=r.concat(t)}),r})},e.prototype.removeTags_=function(t){for(var n=0;n<t.length;++n){var r=t[n];if(!r.getQueryParams().loadsAllData()){var i=e.makeQueryKey_(r),o=this.queryToTagMap_[i];delete this.queryToTagMap_[i],delete this.tagToQueryMap_["_"+o]}}},e.queryForListening_=function(e){return e.getQueryParams().loadsAllData()&&!e.getQueryParams().isDefault()?e.getRef():e},e.prototype.setupListener_=function(t,n){var r=t.path,i=this.tagForQuery_(t),o=this.createListenerForView_(n),a=this.listenProvider_.startListening(e.queryForListening_(t),i,o.hashFn,o.onComplete),s=this.syncPointTree_.subtree(r);if(i)v.assert(!s.value.hasCompleteView(),"If we're adding a query, it shouldn't be shadowed");else for(var l=s.fold(function(e,t,n){if(!e.isEmpty()&&t&&t.hasCompleteView())return[t.getCompleteView().getQuery()];var r=[];return t&&(r=r.concat(t.getQueryViews().map(function(e){return e.getQuery()}))),v.forEach(n,function(e,t){r=r.concat(t)}),r}),u=0;u<l.length;++u){var c=l[u];this.listenProvider_.stopListening(e.queryForListening_(c),this.tagForQuery_(c))}return a},e.prototype.createListenerForView_=function(e){var t=this,n=e.getQuery(),r=this.tagForQuery_(n);return{hashFn:function(){return(e.getServerCache()||Ze.EMPTY_NODE).hash()},onComplete:function(e){if("ok"===e)return r?t.applyTaggedListenComplete(n.path,r):t.applyListenComplete(n.path);var i=$(e,n);return t.removeEventRegistration(n,null,i)}}},e.makeQueryKey_=function(e){return e.path.toString()+"$"+e.queryIdentifier()},e.parseQueryKey_=function(e){var t=e.indexOf("$");return v.assert(-1!==t&&t<e.length-1,"Bad queryKey."),{queryId:e.substr(t+1),path:new ie(e.substr(0,t))}},e.prototype.queryKeyForTag_=function(e){return this.tagToQueryMap_["_"+e]},e.prototype.tagForQuery_=function(t){var n=e.makeQueryKey_(t);return v.safeGet(this.queryToTagMap_,n)},e.getNextQueryTag_=function(){return e.nextQueryTag_++},e.prototype.applyTaggedOperation_=function(e,t){var n=this.syncPointTree_.get(e);v.assert(n,"Missing sync point for query tag that we're tracking");var r=this.pendingWriteTree_.childWrites(e);return n.applyOperation(t,r,null)},e.prototype.applyOperationToSyncPoints_=function(e){return this.applyOperationHelper_(e,this.syncPointTree_,null,this.pendingWriteTree_.childWrites(ie.Empty))},e.prototype.applyOperationHelper_=function(e,t,n,r){if(e.path.isEmpty())return this.applyOperationDescendantsHelper_(e,t,n,r);var i=t.get(ie.Empty);null==n&&null!=i&&(n=i.getCompleteServerCache(ie.Empty));var o=[],a=e.path.getFront(),s=e.operationForChild(a),l=t.children.get(a);if(l&&s){var u=n?n.getImmediateChild(a):null,c=r.child(a);o=o.concat(this.applyOperationHelper_(s,l,u,c))}return i&&(o=o.concat(i.applyOperation(e,r,n))),o},e.prototype.applyOperationDescendantsHelper_=function(e,t,n,r){var i=this,o=t.get(ie.Empty);null==n&&null!=o&&(n=o.getCompleteServerCache(ie.Empty));var a=[];return t.children.inorderTraversal(function(t,o){var s=n?n.getImmediateChild(t):null,l=r.child(t),u=e.operationForChild(t);u&&(a=a.concat(i.applyOperationDescendantsHelper_(u,o,s,l)))}),o&&(a=a.concat(o.applyOperation(e,r,n))),a},e.nextQueryTag_=1,e}(),Ut=function(){function e(){this.rootNode_=Ze.EMPTY_NODE}return e.prototype.getNode=function(e){return this.rootNode_.getChild(e)},e.prototype.updateSnapshot=function(e,t){this.rootNode_=this.rootNode_.updateChild(e,t)},e}(),Ht=function(){function e(e){this.app_=e}return e.prototype.getToken=function(e){return this.app_.INTERNAL.getToken(e).then(null,function(e){return e&&"auth/token-not-initialized"===e.code?(N("Got auth/token-not-initialized error.  Treating as null token."),null):Promise.reject(e)})},e.prototype.addTokenChangeListener=function(e){this.app_.INTERNAL.addAuthTokenListener(e)},e.prototype.removeTokenChangeListener=function(e){this.app_.INTERNAL.removeAuthTokenListener(e)},e.prototype.notifyForInvalidToken=function(){var e='Provided authentication credentials for the app named "'+this.app_.name+'" are invalid. This usually indicates your app was not initialized correctly. ';"credential"in this.app_.options?e+='Make sure the "credential" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project.':"serviceAccount"in this.app_.options?e+='Make sure the "serviceAccount" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project.':e+='Make sure the "apiKey" and "databaseURL" properties provided to initializeApp() match the values provided for your app at https://console.firebase.google.com/.',j(e)},e}(),Gt=function(){function e(){this.counters_={}}return e.prototype.incrementCounter=function(e,t){void 0===t&&(t=1),v.contains(this.counters_,e)||(this.counters_[e]=0),this.counters_[e]+=t},e.prototype.get=function(){return v.deepCopy(this.counters_)},e}(),qt=function(){function e(){}return e.getCollection=function(e){var t=e.toString();return this.collections_[t]||(this.collections_[t]=new Gt),this.collections_[t]},e.getOrCreateReporter=function(e,t){var n=e.toString();return this.reporters_[n]||(this.reporters_[n]=t()),this.reporters_[n]},e.collections_={},e.reporters_={},e}(),Vt=function(){function e(e){this.collection_=e,this.last_=null}return e.prototype.get=function(){var e=this.collection_.get(),t=v.clone(e);return this.last_&&v.forEach(this.last_,function(e,n){t[e]=t[e]-n}),this.last_=e,t},e}(),Kt=1e4,Yt=3e4,Zt=function(){function e(e,t){this.server_=t,this.statsToReport_={},this.statsListener_=new Vt(e);var n=Kt+(Yt-Kt)*Math.random();re(this.reportStats_.bind(this),Math.floor(n))}return e.prototype.includeStat=function(e){this.statsToReport_[e]=!0},e.prototype.reportStats_=function(){var e=this,t=this.statsListener_.get(),n={},r=!1;v.forEach(t,function(t,i){i>0&&v.contains(e.statsToReport_,t)&&(n[t]=i,r=!0)}),r&&this.server_.reportStats(n),re(this.reportStats_.bind(this),Math.floor(2*Math.random()*3e5))},e}(),Xt=function(){function e(){this.eventLists_=[],this.recursionDepth_=0}return e.prototype.queueEvents=function(e){for(var t=null,n=0;n<e.length;n++){var r=e[n],i=r.getPath();null===t||i.equals(t.getPath())||(this.eventLists_.push(t),t=null),null===t&&(t=new Qt(i)),t.add(r)}t&&this.eventLists_.push(t)},e.prototype.raiseEventsAtPath=function(e,t){this.queueEvents(t),this.raiseQueuedEventsMatchingPredicate_(function(t){return t.equals(e)})},e.prototype.raiseEventsForChangedPath=function(e,t){this.queueEvents(t),this.raiseQueuedEventsMatchingPredicate_(function(t){return t.contains(e)||e.contains(t)})},e.prototype.raiseQueuedEventsMatchingPredicate_=function(e){this.recursionDepth_++;for(var t=!0,n=0;n<this.eventLists_.length;n++){var r=this.eventLists_[n];if(r){e(r.getPath())?(this.eventLists_[n].raise(),this.eventLists_[n]=null):t=!1}}t&&(this.eventLists_=[]),this.recursionDepth_--},e}(),Qt=function(){function e(e){this.path_=e,this.events_=[]}return e.prototype.add=function(e){this.events_.push(e)},e.prototype.raise=function(){for(var e=0;e<this.events_.length;e++){var t=this.events_[e];if(null!==t){this.events_[e]=null;var n=t.getEventRunner();P&&N("event: "+t.toString()),te(n)}}},e.prototype.getPath=function(){return this.path_},e}(),$t=function(){function e(e){this.allowedEvents_=e,this.listeners_={},v.assert(Array.isArray(e)&&e.length>0,"Requires a non-empty array")}return e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Array.isArray(this.listeners_[e]))for(var r=this.listeners_[e].slice(),i=0;i<r.length;i++)r[i].callback.apply(r[i].context,t)},e.prototype.on=function(e,t,n){this.validateEventType_(e),this.listeners_[e]=this.listeners_[e]||[],this.listeners_[e].push({callback:t,context:n});var r=this.getInitialEvent(e);r&&t.apply(n,r)},e.prototype.off=function(e,t,n){this.validateEventType_(e);for(var r=this.listeners_[e]||[],i=0;i<r.length;i++)if(r[i].callback===t&&(!n||n===r[i].context))return void r.splice(i,1)},e.prototype.validateEventType_=function(e){v.assert(this.allowedEvents_.find(function(t){return t===e}),"Unknown event: "+e)},e}(),Jt=function(e){function t(){var t,n,r=e.call(this,["visible"])||this;return"undefined"!==typeof document&&"undefined"!==typeof document.addEventListener&&("undefined"!==typeof document.hidden?(n="visibilitychange",t="hidden"):"undefined"!==typeof document.mozHidden?(n="mozvisibilitychange",t="mozHidden"):"undefined"!==typeof document.msHidden?(n="msvisibilitychange",t="msHidden"):"undefined"!==typeof document.webkitHidden&&(n="webkitvisibilitychange",t="webkitHidden")),r.visible_=!0,n&&document.addEventListener(n,function(){var e=!document[t];e!==r.visible_&&(r.visible_=e,r.trigger("visible",e))},!1),r}return b.__extends(t,e),t.getInstance=function(){return new t},t.prototype.getInitialEvent=function(e){return v.assert("visible"===e,"Unknown event type: "+e),[this.visible_]},t}($t),en=function(e){function t(){var t=e.call(this,["online"])||this;return t.online_=!0,"undefined"===typeof window||"undefined"===typeof window.addEventListener||v.isMobileCordova()||(window.addEventListener("online",function(){t.online_||(t.online_=!0,t.trigger("online",!0))},!1),window.addEventListener("offline",function(){t.online_&&(t.online_=!1,t.trigger("online",!1))},!1)),t}return b.__extends(t,e),t.getInstance=function(){return new t},t.prototype.getInitialEvent=function(e){return v.assert("online"===e,"Unknown event type: "+e),[this.online_]},t.prototype.currentlyOnline=function(){return this.online_},t}($t),tn=function(){function e(e){this.onMessage_=e,this.pendingResponses=[],this.currentResponseNum=0,this.closeAfterResponse=-1,this.onClose=null}return e.prototype.closeAfter=function(e,t){this.closeAfterResponse=e,this.onClose=t,this.closeAfterResponse<this.currentResponseNum&&(this.onClose(),this.onClose=null)},e.prototype.handleResponse=function(e,t){var n=this;this.pendingResponses[e]=t;for(var r=this;this.pendingResponses[this.currentResponseNum];){if("break"===function(){var e=r.pendingResponses[r.currentResponseNum];delete r.pendingResponses[r.currentResponseNum];for(var t=0;t<e.length;++t)!function(t){e[t]&&te(function(){n.onMessage_(e[t])})}(t);if(r.currentResponseNum===r.closeAfterResponse)return r.onClose&&(r.onClose(),r.onClose=null),"break";r.currentResponseNum++}())break}},e}(),nn="pLPCommand",rn="pRTLPCB",on=function(){function e(e,t,n,r){this.connId=e,this.repoInfo=t,this.transportSessionId=n,this.lastSessionId=r,this.bytesSent=0,this.bytesReceived=0,this.everConnected_=!1,this.log_=M(e),this.stats_=qt.getCollection(t),this.urlFn=function(e){return t.connectionURL(ae,e)}}return e.prototype.open=function(e,t){var n=this;this.curSegmentNum=0,this.onDisconnect_=t,this.myPacketOrderer=new tn(e),this.isClosed_=!1,this.connectTimeoutTimer_=setTimeout(function(){n.log_("Timed out trying to connect."),n.onClosed_(),n.connectTimeoutTimer_=null},Math.floor(3e4)),F(function(){if(!n.isClosed_){n.scriptTagHolder=new an(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[0],i=e[1],o=e[2];if(n.incrementIncomingBytes_(e),n.scriptTagHolder)if(n.connectTimeoutTimer_&&(clearTimeout(n.connectTimeoutTimer_),n.connectTimeoutTimer_=null),n.everConnected_=!0,"start"==r)n.id=i,n.password=o;else{if("close"!==r)throw new Error("Unrecognized command received: "+r);i?(n.scriptTagHolder.sendNewPolls=!1,n.myPacketOrderer.closeAfter(i,function(){n.onClosed_()})):n.onClosed_()}},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[0],i=e[1];n.incrementIncomingBytes_(e),n.myPacketOrderer.handleResponse(r,i)},function(){n.onClosed_()},n.urlFn);var e={};e.start="t",e.ser=Math.floor(1e8*Math.random()),n.scriptTagHolder.uniqueCallbackIdentifier&&(e.cb=n.scriptTagHolder.uniqueCallbackIdentifier),e.v="5",n.transportSessionId&&(e.s=n.transportSessionId),n.lastSessionId&&(e.ls=n.lastSessionId),!v.isNodeSdk()&&"undefined"!==typeof location&&location.href&&-1!==location.href.indexOf("firebaseio.com")&&(e.r="f");var t=n.urlFn(e);n.log_("Connecting via long-poll to "+t),n.scriptTagHolder.addTag(t,function(){})}})},e.prototype.start=function(){this.scriptTagHolder.startLongPoll(this.id,this.password),this.addDisconnectPingFrame(this.id,this.password)},e.forceAllow=function(){e.forceAllow_=!0},e.forceDisallow=function(){e.forceDisallow_=!0},e.isAvailable=function(){return e.forceAllow_||!e.forceDisallow_&&"undefined"!==typeof document&&null!=document.createElement&&!X()&&!Q()&&!v.isNodeSdk()},e.prototype.markConnectionHealthy=function(){},e.prototype.shutdown_=function(){this.isClosed_=!0,this.scriptTagHolder&&(this.scriptTagHolder.close(),this.scriptTagHolder=null),this.myDisconnFrame&&(document.body.removeChild(this.myDisconnFrame),this.myDisconnFrame=null),this.connectTimeoutTimer_&&(clearTimeout(this.connectTimeoutTimer_),this.connectTimeoutTimer_=null)},e.prototype.onClosed_=function(){this.isClosed_||(this.log_("Longpoll is closing itself"),this.shutdown_(),this.onDisconnect_&&(this.onDisconnect_(this.everConnected_),this.onDisconnect_=null))},e.prototype.close=function(){this.isClosed_||(this.log_("Longpoll is being closed."),this.shutdown_())},e.prototype.send=function(e){var t=v.stringify(e);this.bytesSent+=t.length,this.stats_.incrementCounter("bytes_sent",t.length);for(var n=v.base64Encode(t),r=K(n,1840),i=0;i<r.length;i++)this.scriptTagHolder.enqueueSegment(this.curSegmentNum,r.length,r[i]),this.curSegmentNum++},e.prototype.addDisconnectPingFrame=function(e,t){if(!v.isNodeSdk()){this.myDisconnFrame=document.createElement("iframe");var n={};n.dframe="t",n.id=e,n.pw=t,this.myDisconnFrame.src=this.urlFn(n),this.myDisconnFrame.style.display="none",document.body.appendChild(this.myDisconnFrame)}},e.prototype.incrementIncomingBytes_=function(e){var t=v.stringify(e).length;this.bytesReceived+=t,this.stats_.incrementCounter("bytes_received",t)},e}(),an=function(){function e(t,n,r,i){if(this.onDisconnect=r,this.urlFn=i,this.outstandingRequests=new ct,this.pendingSegs=[],this.currentSerial=Math.floor(1e8*Math.random()),this.sendNewPolls=!0,v.isNodeSdk())this.commandCB=t,this.onMessageCB=n;else{this.uniqueCallbackIdentifier=C(),window[nn+this.uniqueCallbackIdentifier]=t,window[rn+this.uniqueCallbackIdentifier]=n,this.myIFrame=e.createIFrame_();var o="";if(this.myIFrame.src&&"javascript:"===this.myIFrame.src.substr(0,"javascript:".length)){o='<script>document.domain="'+document.domain+'";<\/script>'}var a="<html><body>"+o+"</body></html>";try{this.myIFrame.doc.open(),this.myIFrame.doc.write(a),this.myIFrame.doc.close()}catch(e){N("frame writing exception"),e.stack&&N(e.stack),N(e)}}}return e.createIFrame_=function(){var e=document.createElement("iframe");if(e.style.display="none",!document.body)throw"Document body has not initialized. Wait to initialize Firebase until after the document is ready.";document.body.appendChild(e);try{e.contentWindow.document||N("No IE domain setting required")}catch(n){var t=document.domain;e.src="javascript:void((function(){document.open();document.domain='"+t+"';document.close();})())"}return e.contentDocument?e.doc=e.contentDocument:e.contentWindow?e.doc=e.contentWindow.document:e.document&&(e.doc=e.document),e},e.prototype.close=function(){var t=this;if(this.alive=!1,this.myIFrame&&(this.myIFrame.doc.body.innerHTML="",setTimeout(function(){null!==t.myIFrame&&(document.body.removeChild(t.myIFrame),t.myIFrame=null)},Math.floor(0))),v.isNodeSdk()&&this.myID){var n={};n.disconn="t",n.id=this.myID,n.pw=this.myPW;var r=this.urlFn(n);e.nodeRestRequest(r)}var i=this.onDisconnect;i&&(this.onDisconnect=null,i())},e.prototype.startLongPoll=function(e,t){for(this.myID=e,this.myPW=t,this.alive=!0;this.newRequest_(););},e.prototype.newRequest_=function(){if(this.alive&&this.sendNewPolls&&this.outstandingRequests.count()<(this.pendingSegs.length>0?2:1)){this.currentSerial++;var e={};e.id=this.myID,e.pw=this.myPW,e.ser=this.currentSerial;for(var t=this.urlFn(e),n="",r=0;this.pendingSegs.length>0;){if(!(this.pendingSegs[0].d.length+30+n.length<=1870))break;var i=this.pendingSegs.shift();n=n+"&seg"+r+"="+i.seg+"&ts"+r+"="+i.ts+"&d"+r+"="+i.d,r++}return t+=n,this.addLongPollTag_(t,this.currentSerial),!0}return!1},e.prototype.enqueueSegment=function(e,t,n){this.pendingSegs.push({seg:e,ts:t,d:n}),this.alive&&this.newRequest_()},e.prototype.addLongPollTag_=function(e,t){var n=this;this.outstandingRequests.add(t,1);var r=function(){n.outstandingRequests.remove(t),n.newRequest_()},i=setTimeout(r,Math.floor(25e3)),o=function(){clearTimeout(i),r()};this.addTag(e,o)},e.prototype.addTag=function(e,t){var n=this;v.isNodeSdk()?this.doNodeLongPoll(e,t):setTimeout(function(){try{if(!n.sendNewPolls)return;var r=n.myIFrame.doc.createElement("script");r.type="text/javascript",r.async=!0,r.src=e,r.onload=r.onreadystatechange=function(){var e=r.readyState;e&&"loaded"!==e&&"complete"!==e||(r.onload=r.onreadystatechange=null,r.parentNode&&r.parentNode.removeChild(r),t())},r.onerror=function(){N("Long-poll script failed to load: "+e),n.sendNewPolls=!1,n.close()},n.myIFrame.doc.body.appendChild(r)}catch(e){}},Math.floor(1))},e}(),sn=null;"undefined"!==typeof MozWebSocket?sn=MozWebSocket:"undefined"!==typeof WebSocket&&(sn=WebSocket);var ln=function(){function e(t,n,r,i){this.connId=t,this.keepaliveTimer=null,this.frames=null,this.totalFrames=0,this.bytesSent=0,this.bytesReceived=0,this.log_=M(this.connId),this.stats_=qt.getCollection(n),this.connURL=e.connectionURL_(n,r,i)}return e.connectionURL_=function(e,t,n){var r={};return r.v="5",!v.isNodeSdk()&&"undefined"!==typeof location&&location.href&&-1!==location.href.indexOf("firebaseio.com")&&(r.r="f"),t&&(r.s=t),n&&(r.ls=n),e.connectionURL("websocket",r)},e.prototype.open=function(e,t){var n=this;this.onDisconnect=t,this.onMessage=e,this.log_("Websocket connecting to "+this.connURL),this.everConnected_=!1,x.set("previous_websocket_failure",!0);try{if(v.isNodeSdk()){var i=v.CONSTANTS.NODE_ADMIN?"AdminNode":"Node",o={headers:{"User-Agent":"Firebase/5/"+w.SDK_VERSION+"/"+r.platform+"/"+i}},a=Object({NODE_ENV:"production",PUBLIC_URL:""}),s=0==this.connURL.indexOf("wss://")?a.HTTPS_PROXY||a.https_proxy:a.HTTP_PROXY||a.http_proxy;s&&(o.proxy={origin:s}),this.mySock=new sn(this.connURL,[],o)}else this.mySock=new sn(this.connURL)}catch(e){this.log_("Error instantiating WebSocket.");var l=e.message||e.data;return l&&this.log_(l),void this.onClosed_()}this.mySock.onopen=function(){n.log_("Websocket connected."),n.everConnected_=!0},this.mySock.onclose=function(){n.log_("Websocket connection was disconnected."),n.mySock=null,n.onClosed_()},this.mySock.onmessage=function(e){n.handleIncomingFrame(e)},this.mySock.onerror=function(e){n.log_("WebSocket error.  Closing connection.");var t=e.message||e.data;t&&n.log_(t),n.onClosed_()}},e.prototype.start=function(){},e.forceDisallow=function(){e.forceDisallow_=!0},e.isAvailable=function(){var t=!1;if("undefined"!==typeof navigator&&navigator.userAgent){var n=/Android ([0-9]{0,}\.[0-9]{0,})/,r=navigator.userAgent.match(n);r&&r.length>1&&parseFloat(r[1])<4.4&&(t=!0)}return!t&&null!==sn&&!e.forceDisallow_},e.previouslyFailed=function(){return x.isInMemoryStorage||!0===x.get("previous_websocket_failure")},e.prototype.markConnectionHealthy=function(){x.remove("previous_websocket_failure")},e.prototype.appendFrame_=function(e){if(this.frames.push(e),this.frames.length==this.totalFrames){var t=this.frames.join("");this.frames=null;var n=v.jsonEval(t);this.onMessage(n)}},e.prototype.handleNewFrameCount_=function(e){this.totalFrames=e,this.frames=[]},e.prototype.extractFrameCount_=function(e){if(v.assert(null===this.frames,"We already have a frame buffer"),e.length<=6){var t=Number(e);if(!isNaN(t))return this.handleNewFrameCount_(t),null}return this.handleNewFrameCount_(1),e},e.prototype.handleIncomingFrame=function(e){if(null!==this.mySock){var t=e.data;if(this.bytesReceived+=t.length,this.stats_.incrementCounter("bytes_received",t.length),this.resetKeepAlive(),null!==this.frames)this.appendFrame_(t);else{var n=this.extractFrameCount_(t);null!==n&&this.appendFrame_(n)}}},e.prototype.send=function(e){this.resetKeepAlive();var t=v.stringify(e);this.bytesSent+=t.length,this.stats_.incrementCounter("bytes_sent",t.length);var n=K(t,16384);n.length>1&&this.sendString_(String(n.length));for(var r=0;r<n.length;r++)this.sendString_(n[r])},e.prototype.shutdown_=function(){this.isClosed_=!0,this.keepaliveTimer&&(clearInterval(this.keepaliveTimer),this.keepaliveTimer=null),this.mySock&&(this.mySock.close(),this.mySock=null)},e.prototype.onClosed_=function(){this.isClosed_||(this.log_("WebSocket is closing itself"),this.shutdown_(),this.onDisconnect&&(this.onDisconnect(this.everConnected_),this.onDisconnect=null))},e.prototype.close=function(){this.isClosed_||(this.log_("WebSocket is being closed"),this.shutdown_())},e.prototype.resetKeepAlive=function(){var e=this;clearInterval(this.keepaliveTimer),this.keepaliveTimer=setInterval(function(){e.mySock&&e.sendString_("0"),e.resetKeepAlive()},Math.floor(45e3))},e.prototype.sendString_=function(e){try{this.mySock.send(e)}catch(e){this.log_("Exception thrown from WebSocket.send():",e.message||e.data,"Closing connection."),setTimeout(this.onClosed_.bind(this),0)}},e.responsesRequiredToBeHealthy=2,e.healthyTimeout=3e4,e}(),un=function(){function e(e){this.initTransports_(e)}return Object.defineProperty(e,"ALL_TRANSPORTS",{get:function(){return[on,ln]},enumerable:!0,configurable:!0}),e.prototype.initTransports_=function(t){var n=ln&&ln.isAvailable(),r=n&&!ln.previouslyFailed();if(t.webSocketOnly&&(n||j("wss:// URL used, but browser isn't known to support websockets.  Trying anyway."),r=!0),r)this.transports_=[ln];else{var i=this.transports_=[];Y(e.ALL_TRANSPORTS,function(e,t){t&&t.isAvailable()&&i.push(t)})}},e.prototype.initialTransport=function(){if(this.transports_.length>0)return this.transports_[0];throw new Error("No transports available")},e.prototype.upgradeTransport=function(){return this.transports_.length>1?this.transports_[1]:null},e}(),cn=function(){function e(e,t,n,r,i,o,a){this.id=e,this.repoInfo_=t,this.onMessage_=n,this.onReady_=r,this.onDisconnect_=i,this.onKill_=o,this.lastSessionId=a,this.connectionCount=0,this.pendingDataMessages=[],this.state_=0,this.log_=M("c:"+this.id+":"),this.transportManager_=new un(t),this.log_("Connection created"),this.start_()}return e.prototype.start_=function(){var e=this,t=this.transportManager_.initialTransport();this.conn_=new t(this.nextTransportId_(),this.repoInfo_,void 0,this.lastSessionId),this.primaryResponsesRequired_=t.responsesRequiredToBeHealthy||0;var n=this.connReceiver_(this.conn_),r=this.disconnReceiver_(this.conn_);this.tx_=this.conn_,this.rx_=this.conn_,this.secondaryConn_=null,this.isHealthy_=!1,setTimeout(function(){e.conn_&&e.conn_.open(n,r)},Math.floor(0));var i=t.healthyTimeout||0;i>0&&(this.healthyTimeout_=re(function(){e.healthyTimeout_=null,e.isHealthy_||(e.conn_&&e.conn_.bytesReceived>102400?(e.log_("Connection exceeded healthy timeout but has received "+e.conn_.bytesReceived+" bytes.  Marking connection healthy."),e.isHealthy_=!0,e.conn_.markConnectionHealthy()):e.conn_&&e.conn_.bytesSent>10240?e.log_("Connection exceeded healthy timeout but has sent "+e.conn_.bytesSent+" bytes.  Leaving connection alive."):(e.log_("Closing unhealthy connection after timeout."),e.close()))},Math.floor(i)))},e.prototype.nextTransportId_=function(){return"c:"+this.id+":"+this.connectionCount++},e.prototype.disconnReceiver_=function(e){var t=this;return function(n){e===t.conn_?t.onConnectionLost_(n):e===t.secondaryConn_?(t.log_("Secondary connection lost."),t.onSecondaryConnectionLost_()):t.log_("closing an old connection")}},e.prototype.connReceiver_=function(e){var t=this;return function(n){2!=t.state_&&(e===t.rx_?t.onPrimaryMessageReceived_(n):e===t.secondaryConn_?t.onSecondaryMessageReceived_(n):t.log_("message on old connection"))}},e.prototype.sendRequest=function(e){var t={t:"d",d:e};this.sendData_(t)},e.prototype.tryCleanupConnection=function(){this.tx_===this.secondaryConn_&&this.rx_===this.secondaryConn_&&(this.log_("cleaning up and promoting a connection: "+this.secondaryConn_.connId),this.conn_=this.secondaryConn_,this.secondaryConn_=null)},e.prototype.onSecondaryControl_=function(e){if("t"in e){var t=e.t;"a"===t?this.upgradeIfSecondaryHealthy_():"r"===t?(this.log_("Got a reset on secondary, closing it"),this.secondaryConn_.close(),this.tx_!==this.secondaryConn_&&this.rx_!==this.secondaryConn_||this.close()):"o"===t&&(this.log_("got pong on secondary."),this.secondaryResponsesRequired_--,this.upgradeIfSecondaryHealthy_())}},e.prototype.onSecondaryMessageReceived_=function(e){var t=q("t",e),n=q("d",e);if("c"==t)this.onSecondaryControl_(n);else{if("d"!=t)throw new Error("Unknown protocol layer: "+t);this.pendingDataMessages.push(n)}},e.prototype.upgradeIfSecondaryHealthy_=function(){this.secondaryResponsesRequired_<=0?(this.log_("Secondary connection is healthy."),this.isHealthy_=!0,this.secondaryConn_.markConnectionHealthy(),this.proceedWithUpgrade_()):(this.log_("sending ping on secondary."),this.secondaryConn_.send({t:"c",d:{t:"p",d:{}}}))},e.prototype.proceedWithUpgrade_=function(){this.secondaryConn_.start(),this.log_("sending client ack on secondary"),this.secondaryConn_.send({t:"c",d:{t:"a",d:{}}}),this.log_("Ending transmission on primary"),this.conn_.send({t:"c",d:{t:"n",d:{}}}),this.tx_=this.secondaryConn_,this.tryCleanupConnection()},e.prototype.onPrimaryMessageReceived_=function(e){var t=q("t",e),n=q("d",e);"c"==t?this.onControl_(n):"d"==t&&this.onDataMessage_(n)},e.prototype.onDataMessage_=function(e){this.onPrimaryResponse_(),this.onMessage_(e)},e.prototype.onPrimaryResponse_=function(){this.isHealthy_||--this.primaryResponsesRequired_<=0&&(this.log_("Primary connection is healthy."),this.isHealthy_=!0,this.conn_.markConnectionHealthy())},e.prototype.onControl_=function(e){var t=q("t",e);if("d"in e){var n=e.d;if("h"===t)this.onHandshake_(n);else if("n"===t){this.log_("recvd end transmission on primary"),this.rx_=this.secondaryConn_;for(var r=0;r<this.pendingDataMessages.length;++r)this.onDataMessage_(this.pendingDataMessages[r]);this.pendingDataMessages=[],this.tryCleanupConnection()}else"s"===t?this.onConnectionShutdown_(n):"r"===t?this.onReset_(n):"e"===t?D("Server Error: "+n):"o"===t?(this.log_("got pong on primary."),this.onPrimaryResponse_(),this.sendPingOnPrimaryIfNecessary_()):D("Unknown control packet command: "+t)}},e.prototype.onHandshake_=function(e){var t=e.ts,n=e.v,r=e.h;this.sessionId=e.s,this.repoInfo_.updateHost(r),0==this.state_&&(this.conn_.start(),this.onConnectionEstablished_(this.conn_,t),"5"!==n&&j("Protocol version mismatch detected"),this.tryStartUpgrade_())},e.prototype.tryStartUpgrade_=function(){var e=this.transportManager_.upgradeTransport();e&&this.startUpgrade_(e)},e.prototype.startUpgrade_=function(e){var t=this;this.secondaryConn_=new e(this.nextTransportId_(),this.repoInfo_,this.sessionId),this.secondaryResponsesRequired_=e.responsesRequiredToBeHealthy||0;var n=this.connReceiver_(this.secondaryConn_),r=this.disconnReceiver_(this.secondaryConn_);this.secondaryConn_.open(n,r),re(function(){t.secondaryConn_&&(t.log_("Timed out trying to upgrade."),t.secondaryConn_.close())},Math.floor(6e4))},e.prototype.onReset_=function(e){this.log_("Reset packet received.  New host: "+e),this.repoInfo_.updateHost(e),1===this.state_?this.close():(this.closeConnections_(),this.start_())},e.prototype.onConnectionEstablished_=function(e,t){var n=this;this.log_("Realtime connection established."),this.conn_=e,this.state_=1,this.onReady_&&(this.onReady_(t,this.sessionId),this.onReady_=null),0===this.primaryResponsesRequired_?(this.log_("Primary connection is healthy."),this.isHealthy_=!0):re(function(){n.sendPingOnPrimaryIfNecessary_()},Math.floor(5e3))},e.prototype.sendPingOnPrimaryIfNecessary_=function(){this.isHealthy_||1!==this.state_||(this.log_("sending ping on primary."),this.sendData_({t:"c",d:{t:"p",d:{}}}))},e.prototype.onSecondaryConnectionLost_=function(){var e=this.secondaryConn_;this.secondaryConn_=null,this.tx_!==e&&this.rx_!==e||this.close()},e.prototype.onConnectionLost_=function(e){this.conn_=null,e||0!==this.state_?1===this.state_&&this.log_("Realtime connection lost."):(this.log_("Realtime connection failed."),this.repoInfo_.isCacheableHost()&&(x.remove("host:"+this.repoInfo_.host),this.repoInfo_.internalHost=this.repoInfo_.host)),this.close()},e.prototype.onConnectionShutdown_=function(e){this.log_("Connection shutdown command received. Shutting down..."),this.onKill_&&(this.onKill_(e),this.onKill_=null),this.onDisconnect_=null,this.close()},e.prototype.sendData_=function(e){if(1!==this.state_)throw"Connection is not connected";this.tx_.send(e)},e.prototype.close=function(){2!==this.state_&&(this.log_("Closing realtime connection."),this.state_=2,this.closeConnections_(),this.onDisconnect_&&(this.onDisconnect_(),this.onDisconnect_=null))},e.prototype.closeConnections_=function(){this.log_("Shutting down all connections"),this.conn_&&(this.conn_.close(),this.conn_=null),this.secondaryConn_&&(this.secondaryConn_.close(),this.secondaryConn_=null),this.healthyTimeout_&&(clearTimeout(this.healthyTimeout_),this.healthyTimeout_=null)},e}(),dn=function(){function e(){}return e.prototype.put=function(e,t,n,r){},e.prototype.merge=function(e,t,n,r){},e.prototype.refreshAuthToken=function(e){},e.prototype.onDisconnectPut=function(e,t,n){},e.prototype.onDisconnectMerge=function(e,t,n){},e.prototype.onDisconnectCancel=function(e,t){},e.prototype.reportStats=function(e){},e}(),fn=1e3,hn=3e5,pn=function(e){function t(n,r,i,o,a,s){var l=e.call(this)||this;if(l.repoInfo_=n,l.onDataUpdate_=r,l.onConnectStatus_=i,l.onServerInfoUpdate_=o,l.authTokenProvider_=a,l.authOverride_=s,l.id=t.nextPersistentConnectionId_++,l.log_=M("p:"+l.id+":"),l.interruptReasons_={},l.listens_={},l.outstandingPuts_=[],l.outstandingPutCount_=0,l.onDisconnectRequestQueue_=[],l.connected_=!1,l.reconnectDelay_=fn,l.maxReconnectDelay_=hn,l.securityDebugCallback_=null,l.lastSessionId=null,l.establishConnectionTimer_=null,l.visible_=!1,l.requestCBHash_={},l.requestNumber_=0,l.realtime_=null,l.authToken_=null,l.forceTokenRefresh_=!1,l.invalidAuthTokenCount_=0,l.firstConnection_=!0,l.lastConnectionAttemptTime_=null,l.lastConnectionEstablishedTime_=null,s&&!v.isNodeSdk())throw new Error("Auth override specified in options, but not supported on non Node.js platforms");return l.scheduleConnect_(0),Jt.getInstance().on("visible",l.onVisible_,l),-1===n.host.indexOf("fblocal")&&en.getInstance().on("online",l.onOnline_,l),l}return b.__extends(t,e),t.prototype.sendRequest=function(e,t,n){var r=++this.requestNumber_,i={r:r,a:e,b:t};this.log_(v.stringify(i)),v.assert(this.connected_,"sendRequest call when we're not connected not allowed."),this.realtime_.sendRequest(i),n&&(this.requestCBHash_[r]=n)},t.prototype.listen=function(e,t,n,r){var i=e.queryIdentifier(),o=e.path.toString();this.log_("Listen called for "+o+" "+i),this.listens_[o]=this.listens_[o]||{},v.assert(e.getQueryParams().isDefault()||!e.getQueryParams().loadsAllData(),"listen() called for non-default but complete query"),v.assert(!this.listens_[o][i],"listen() called twice for same path/queryId.");var a={onComplete:r,hashFn:t,query:e,tag:n};this.listens_[o][i]=a,this.connected_&&this.sendListen_(a)},t.prototype.sendListen_=function(e){var n=this,r=e.query,i=r.path.toString(),o=r.queryIdentifier();this.log_("Listen on "+i+" for "+o);var a={p:i};e.tag&&(a.q=r.queryObject(),a.t=e.tag),a.h=e.hashFn(),this.sendRequest("q",a,function(a){var s=a.d,l=a.s;t.warnOnListenWarnings_(s,r),(n.listens_[i]&&n.listens_[i][o])===e&&(n.log_("listen response",a),"ok"!==l&&n.removeListen_(i,o),e.onComplete&&e.onComplete(l,s))})},t.warnOnListenWarnings_=function(e,t){if(e&&"object"===typeof e&&v.contains(e,"w")){var n=v.safeGet(e,"w");if(Array.isArray(n)&&~n.indexOf("no_index")){var r='".indexOn": "'+t.getQueryParams().getIndex().toString()+'"',i=t.path.toString();j("Using an unspecified index. Your data will be downloaded and filtered on the client. Consider adding "+r+" at "+i+" to your security rules for better performance.")}}},t.prototype.refreshAuthToken=function(e){this.authToken_=e,this.log_("Auth token refreshed"),this.authToken_?this.tryAuth():this.connected_&&this.sendRequest("unauth",{},function(){}),this.reduceReconnectDelayIfAdminCredential_(e)},t.prototype.reduceReconnectDelayIfAdminCredential_=function(e){(e&&40===e.length||v.isAdmin(e))&&(this.log_("Admin auth credential detected.  Reducing max reconnect time."),this.maxReconnectDelay_=3e4)},t.prototype.tryAuth=function(){var e=this;if(this.connected_&&this.authToken_){var t=this.authToken_,n=v.isValidFormat(t)?"auth":"gauth",r={cred:t};null===this.authOverride_?r.noauth=!0:"object"===typeof this.authOverride_&&(r.authvar=this.authOverride_),this.sendRequest(n,r,function(n){var r=n.s,i=n.d||"error";e.authToken_===t&&("ok"===r?e.invalidAuthTokenCount_=0:e.onAuthRevoked_(r,i))})}},t.prototype.unlisten=function(e,t){var n=e.path.toString(),r=e.queryIdentifier();this.log_("Unlisten called for "+n+" "+r),v.assert(e.getQueryParams().isDefault()||!e.getQueryParams().loadsAllData(),"unlisten() called for non-default but complete query"),this.removeListen_(n,r)&&this.connected_&&this.sendUnlisten_(n,r,e.queryObject(),t)},t.prototype.sendUnlisten_=function(e,t,n,r){this.log_("Unlisten on "+e+" for "+t);var i={p:e};r&&(i.q=n,i.t=r),this.sendRequest("n",i)},t.prototype.onDisconnectPut=function(e,t,n){this.connected_?this.sendOnDisconnect_("o",e,t,n):this.onDisconnectRequestQueue_.push({pathString:e,action:"o",data:t,onComplete:n})},t.prototype.onDisconnectMerge=function(e,t,n){this.connected_?this.sendOnDisconnect_("om",e,t,n):this.onDisconnectRequestQueue_.push({pathString:e,action:"om",data:t,onComplete:n})},t.prototype.onDisconnectCancel=function(e,t){this.connected_?this.sendOnDisconnect_("oc",e,null,t):this.onDisconnectRequestQueue_.push({pathString:e,action:"oc",data:null,onComplete:t})},t.prototype.sendOnDisconnect_=function(e,t,n,r){var i={p:t,d:n};this.log_("onDisconnect "+e,i),this.sendRequest(e,i,function(e){r&&setTimeout(function(){r(e.s,e.d)},Math.floor(0))})},t.prototype.put=function(e,t,n,r){this.putInternal("p",e,t,n,r)},t.prototype.merge=function(e,t,n,r){this.putInternal("m",e,t,n,r)},t.prototype.putInternal=function(e,t,n,r,i){var o={p:t,d:n};void 0!==i&&(o.h=i),this.outstandingPuts_.push({action:e,request:o,onComplete:r}),this.outstandingPutCount_++;var a=this.outstandingPuts_.length-1;this.connected_?this.sendPut_(a):this.log_("Buffering put: "+t)},t.prototype.sendPut_=function(e){var t=this,n=this.outstandingPuts_[e].action,r=this.outstandingPuts_[e].request,i=this.outstandingPuts_[e].onComplete;this.outstandingPuts_[e].queued=this.connected_,this.sendRequest(n,r,function(r){t.log_(n+" response",r),delete t.outstandingPuts_[e],t.outstandingPutCount_--,0===t.outstandingPutCount_&&(t.outstandingPuts_=[]),i&&i(r.s,r.d)})},t.prototype.reportStats=function(e){var t=this;if(this.connected_){var n={c:e};this.log_("reportStats",n),this.sendRequest("s",n,function(e){if("ok"!==e.s){var n=e.d;t.log_("reportStats","Error sending stats: "+n)}})}},t.prototype.onDataMessage_=function(e){if("r"in e){this.log_("from server: "+v.stringify(e));var t=e.r,n=this.requestCBHash_[t];n&&(delete this.requestCBHash_[t],n(e.b))}else{if("error"in e)throw"A server-side error has occurred: "+e.error;"a"in e&&this.onDataPush_(e.a,e.b)}},t.prototype.onDataPush_=function(e,t){this.log_("handleServerMessage",e,t),"d"===e?this.onDataUpdate_(t.p,t.d,!1,t.t):"m"===e?this.onDataUpdate_(t.p,t.d,!0,t.t):"c"===e?this.onListenRevoked_(t.p,t.q):"ac"===e?this.onAuthRevoked_(t.s,t.d):"sd"===e?this.onSecurityDebugPacket_(t):D("Unrecognized action received from server: "+v.stringify(e)+"\nAre you using the latest client?")},t.prototype.onReady_=function(e,t){this.log_("connection ready"),this.connected_=!0,this.lastConnectionEstablishedTime_=(new Date).getTime(),this.handleTimestamp_(e),this.lastSessionId=t,this.firstConnection_&&this.sendConnectStats_(),this.restoreState_(),this.firstConnection_=!1,this.onConnectStatus_(!0)},t.prototype.scheduleConnect_=function(e){var t=this;v.assert(!this.realtime_,"Scheduling a connect when we're already connected/ing?"),this.establishConnectionTimer_&&clearTimeout(this.establishConnectionTimer_),this.establishConnectionTimer_=setTimeout(function(){t.establishConnectionTimer_=null,t.establishConnection_()},Math.floor(e))},t.prototype.onVisible_=function(e){e&&!this.visible_&&this.reconnectDelay_===this.maxReconnectDelay_&&(this.log_("Window became visible.  Reducing delay."),this.reconnectDelay_=fn,this.realtime_||this.scheduleConnect_(0)),this.visible_=e},t.prototype.onOnline_=function(e){e?(this.log_("Browser went online."),this.reconnectDelay_=fn,this.realtime_||this.scheduleConnect_(0)):(this.log_("Browser went offline.  Killing connection."),this.realtime_&&this.realtime_.close())},t.prototype.onRealtimeDisconnect_=function(){if(this.log_("data client disconnected"),this.connected_=!1,this.realtime_=null,this.cancelSentTransactions_(),this.requestCBHash_={},this.shouldReconnect_()){if(this.visible_){if(this.lastConnectionEstablishedTime_){var e=(new Date).getTime()-this.lastConnectionEstablishedTime_;e>3e4&&(this.reconnectDelay_=fn),this.lastConnectionEstablishedTime_=null}}else this.log_("Window isn't visible.  Delaying reconnect."),this.reconnectDelay_=this.maxReconnectDelay_,this.lastConnectionAttemptTime_=(new Date).getTime();var t=(new Date).getTime()-this.lastConnectionAttemptTime_,n=Math.max(0,this.reconnectDelay_-t);n=Math.random()*n,this.log_("Trying to reconnect in "+n+"ms"),this.scheduleConnect_(n),this.reconnectDelay_=Math.min(this.maxReconnectDelay_,1.3*this.reconnectDelay_)}this.onConnectStatus_(!1)},t.prototype.establishConnection_=function(){if(this.shouldReconnect_()){this.log_("Making a connection attempt"),this.lastConnectionAttemptTime_=(new Date).getTime(),this.lastConnectionEstablishedTime_=null;var e=this.onDataMessage_.bind(this),n=this.onReady_.bind(this),r=this.onRealtimeDisconnect_.bind(this),i=this.id+":"+t.nextConnectionId_++,o=this,a=this.lastSessionId,s=!1,l=null,u=function(){l?l.close():(s=!0,r())},c=function(e){v.assert(l,"sendRequest call when we're not connected not allowed."),l.sendRequest(e)};this.realtime_={close:u,sendRequest:c};var d=this.forceTokenRefresh_;this.forceTokenRefresh_=!1,this.authTokenProvider_.getToken(d).then(function(t){s?N("getToken() completed but was canceled"):(N("getToken() completed. Creating connection."),o.authToken_=t&&t.accessToken,l=new cn(i,o.repoInfo_,e,n,r,function(e){j(e+" ("+o.repoInfo_.toString()+")"),o.interrupt("server_kill")},a))}).then(null,function(e){o.log_("Failed to get token: "+e),s||(v.CONSTANTS.NODE_ADMIN&&j(e),u())})}},t.prototype.interrupt=function(e){N("Interrupting connection for reason: "+e),this.interruptReasons_[e]=!0,this.realtime_?this.realtime_.close():(this.establishConnectionTimer_&&(clearTimeout(this.establishConnectionTimer_),this.establishConnectionTimer_=null),this.connected_&&this.onRealtimeDisconnect_())},t.prototype.resume=function(e){N("Resuming connection for reason: "+e),delete this.interruptReasons_[e],v.isEmpty(this.interruptReasons_)&&(this.reconnectDelay_=fn,this.realtime_||this.scheduleConnect_(0))},t.prototype.handleTimestamp_=function(e){var t=e-(new Date).getTime();this.onServerInfoUpdate_({serverTimeOffset:t})},t.prototype.cancelSentTransactions_=function(){for(var e=0;e<this.outstandingPuts_.length;e++){var t=this.outstandingPuts_[e];t&&"h"in t.request&&t.queued&&(t.onComplete&&t.onComplete("disconnect"),delete this.outstandingPuts_[e],this.outstandingPutCount_--)}0===this.outstandingPutCount_&&(this.outstandingPuts_=[])},t.prototype.onListenRevoked_=function(e,t){var n;n=t?t.map(function(e){return V(e)}).join("$"):"default";var r=this.removeListen_(e,n);r&&r.onComplete&&r.onComplete("permission_denied")},t.prototype.removeListen_=function(e,t){var n,r=new ie(e).toString();return void 0!==this.listens_[r]?(n=this.listens_[r][t],delete this.listens_[r][t],0===v.getCount(this.listens_[r])&&delete this.listens_[r]):n=void 0,n},t.prototype.onAuthRevoked_=function(e,t){N("Auth token revoked: "+e+"/"+t),this.authToken_=null,this.forceTokenRefresh_=!0,this.realtime_.close(),"invalid_token"!==e&&"permission_denied"!==e||++this.invalidAuthTokenCount_>=3&&(this.reconnectDelay_=3e4,this.authTokenProvider_.notifyForInvalidToken())},t.prototype.onSecurityDebugPacket_=function(e){this.securityDebugCallback_?this.securityDebugCallback_(e):"msg"in e&&console.log("FIREBASE: "+e.msg.replace("\n","\nFIREBASE: "))},t.prototype.restoreState_=function(){var e=this;this.tryAuth(),v.forEach(this.listens_,function(t,n){v.forEach(n,function(t,n){e.sendListen_(n)})});for(var t=0;t<this.outstandingPuts_.length;t++)this.outstandingPuts_[t]&&this.sendPut_(t);for(;this.onDisconnectRequestQueue_.length;){var n=this.onDisconnectRequestQueue_.shift();this.sendOnDisconnect_(n.action,n.pathString,n.data,n.onComplete)}},t.prototype.sendConnectStats_=function(){var e={},t="js";v.CONSTANTS.NODE_ADMIN?t="admin_node":v.CONSTANTS.NODE_CLIENT&&(t="node"),e["sdk."+t+"."+w.SDK_VERSION.replace(/\./g,"-")]=1,v.isMobileCordova()?e["framework.cordova"]=1:v.isReactNative()&&(e["framework.reactnative"]=1),this.reportStats(e)},t.prototype.shouldReconnect_=function(){var e=en.getInstance().currentlyOnline();return v.isEmpty(this.interruptReasons_)&&e},t.nextPersistentConnectionId_=0,t.nextConnectionId_=0,t}(dn),mn=function(e){function t(t,n,r){var i=e.call(this)||this;return i.repoInfo_=t,i.onDataUpdate_=n,i.authTokenProvider_=r,i.log_=M("p:rest:"),i.listens_={},i}return b.__extends(t,e),t.prototype.reportStats=function(e){throw new Error("Method not implemented.")},t.getListenId_=function(e,t){return void 0!==t?"tag$"+t:(v.assert(e.getQueryParams().isDefault(),"should have a tag if it's not a default query."),e.path.toString())},t.prototype.listen=function(e,n,r,i){var o=this,a=e.path.toString();this.log_("Listen called for "+a+" "+e.queryIdentifier());var s=t.getListenId_(e,r),l={};this.listens_[s]=l;var u=e.getQueryParams().toRestQueryStringParameters();this.restRequest_(a+".json",u,function(e,t){var n=t;if(404===e&&(n=null,e=null),null===e&&o.onDataUpdate_(a,n,!1,r),v.safeGet(o.listens_,s)===l){var u;u=e?401==e?"permission_denied":"rest_error:"+e:"ok",i(u,null)}})},t.prototype.unlisten=function(e,n){var r=t.getListenId_(e,n);delete this.listens_[r]},t.prototype.refreshAuthToken=function(e){},t.prototype.restRequest_=function(e,t,n){var r=this;void 0===t&&(t={}),t.format="export",this.authTokenProvider_.getToken(!1).then(function(i){var o=i&&i.accessToken;o&&(t.auth=o);var a=(r.repoInfo_.secure?"https://":"http://")+r.repoInfo_.host+e+"?"+v.querystring(t);r.log_("Sending REST request for "+a);var s=new XMLHttpRequest;s.onreadystatechange=function(){if(n&&4===s.readyState){r.log_("REST Response for "+a+" received. status:",s.status,"response:",s.responseText);var e=null;if(s.status>=200&&s.status<300){try{e=v.jsonEval(s.responseText)}catch(e){j("Failed to parse JSON response for "+a+": "+s.responseText)}n(null,e)}else 401!==s.status&&404!==s.status&&j("Got unsuccessful REST response for "+a+" Status: "+s.status),n(s.status);n=null}},s.open("GET",a,!0),s.send()})},t}(dn),gn=function(){function e(e,t,n){var r=this;this.repoInfo_=e,this.app=n,this.dataUpdateCount=0,this.statsListener_=null,this.eventQueue_=new Xt,this.nextWriteId_=1,this.interceptServerDataCallback_=null,this.onDisconnect_=new dt,this.persistentConnection_=null;var i=new Ht(n);if(this.stats_=qt.getCollection(e),t||ne())this.server_=new mn(this.repoInfo_,this.onDataUpdate_.bind(this),i),setTimeout(this.onConnectStatus_.bind(this,!0),0);else{var o=n.options.databaseAuthVariableOverride;if("undefined"!==typeof o&&null!==o){if("object"!==typeof o)throw new Error("Only objects are supported for option databaseAuthVariableOverride");try{v.stringify(o)}catch(e){throw new Error("Invalid authOverride provided: "+e)}}this.persistentConnection_=new pn(this.repoInfo_,this.onDataUpdate_.bind(this),this.onConnectStatus_.bind(this),this.onServerInfoUpdate_.bind(this),i,o),this.server_=this.persistentConnection_}i.addTokenChangeListener(function(e){r.server_.refreshAuthToken(e)}),this.statsReporter_=qt.getOrCreateReporter(e,function(){return new Zt(r.stats_,r.server_)}),this.transactions_init_(),this.infoData_=new Ut,this.infoSyncTree_=new zt({startListening:function(e,t,n,i){var o=[],a=r.infoData_.getNode(e.path);return a.isEmpty()||(o=r.infoSyncTree_.applyServerOverwrite(e.path,a),setTimeout(function(){i("ok")},0)),o},stopListening:function(){}}),this.updateInfo_("connected",!1),this.serverSyncTree_=new zt({startListening:function(e,t,n,i){return r.server_.listen(e,n,t,function(t,n){var o=i(t,n);r.eventQueue_.raiseEventsForChangedPath(e.path,o)}),[]},stopListening:function(e,t){r.server_.unlisten(e,t)}})}return e.prototype.toString=function(){return(this.repoInfo_.secure?"https://":"http://")+this.repoInfo_.host},e.prototype.name=function(){return this.repoInfo_.namespace},e.prototype.serverTime=function(){var e=this.infoData_.getNode(new ie(".info/serverTimeOffset")),t=e.val()||0;return(new Date).getTime()+t},e.prototype.generateServerValues=function(){return ft({timestamp:this.serverTime()})},e.prototype.onDataUpdate_=function(e,t,n,r){this.dataUpdateCount++;var i=new ie(e);t=this.interceptServerDataCallback_?this.interceptServerDataCallback_(e,t):t;var o=[];if(r)if(n){var a=v.map(t,function(e){return l(e)});o=this.serverSyncTree_.applyTaggedQueryMerge(i,a,r)}else{var s=l(t);o=this.serverSyncTree_.applyTaggedQueryOverwrite(i,s,r)}else if(n){var u=v.map(t,function(e){return l(e)});o=this.serverSyncTree_.applyServerMerge(i,u)}else{var c=l(t);o=this.serverSyncTree_.applyServerOverwrite(i,c)}var d=i;o.length>0&&(d=this.rerunTransactions_(i)),this.eventQueue_.raiseEventsForChangedPath(d,o)},e.prototype.interceptServerData_=function(e){this.interceptServerDataCallback_=e},e.prototype.onConnectStatus_=function(e){this.updateInfo_("connected",e),!1===e&&this.runOnDisconnectEvents_()},e.prototype.onServerInfoUpdate_=function(e){var t=this;Y(e,function(e,n){t.updateInfo_(n,e)})},e.prototype.updateInfo_=function(e,t){var n=new ie("/.info/"+e),r=l(t);this.infoData_.updateSnapshot(n,r);var i=this.infoSyncTree_.applyServerOverwrite(n,r);this.eventQueue_.raiseEventsForChangedPath(n,i)},e.prototype.getNextWriteId_=function(){return this.nextWriteId_++},e.prototype.setWithPriority=function(e,t,n,r){var i=this;this.log_("set",{path:e.toString(),value:t,priority:n});var o=this.generateServerValues(),a=l(t,n),s=mt(a,o),u=this.getNextWriteId_(),c=this.serverSyncTree_.applyUserOverwrite(e,s,u,!0);this.eventQueue_.queueEvents(c),this.server_.put(e.toString(),a.val(!0),function(t,n){var o="ok"===t;o||j("set at "+e+" failed: "+t);var a=i.serverSyncTree_.ackUserWrite(u,!o);i.eventQueue_.raiseEventsForChangedPath(e,a),i.callOnCompleteCallback(r,t,n)});var d=this.abortTransactions_(e);this.rerunTransactions_(d),this.eventQueue_.raiseEventsForChangedPath(d,[])},e.prototype.update=function(e,t,n){var r=this;this.log_("update",{path:e.toString(),value:t});var i=!0,o=this.generateServerValues(),a={};if(v.forEach(t,function(e,t){i=!1;var n=l(t);a[e]=mt(n,o)}),i)N("update() called with empty data.  Don't do anything."),this.callOnCompleteCallback(n,"ok");else{var s=this.getNextWriteId_(),u=this.serverSyncTree_.applyUserMerge(e,a,s);this.eventQueue_.queueEvents(u),this.server_.merge(e.toString(),t,function(t,i){var o="ok"===t;o||j("update at "+e+" failed: "+t);var a=r.serverSyncTree_.ackUserWrite(s,!o),l=a.length>0?r.rerunTransactions_(e):e;r.eventQueue_.raiseEventsForChangedPath(l,a),r.callOnCompleteCallback(n,t,i)}),v.forEach(t,function(t){var n=r.abortTransactions_(e.child(t));r.rerunTransactions_(n)}),this.eventQueue_.raiseEventsForChangedPath(e,[])}},e.prototype.runOnDisconnectEvents_=function(){var e=this;this.log_("onDisconnectEvents");var t=this.generateServerValues(),n=pt(this.onDisconnect_,t),r=[];n.forEachTree(ie.Empty,function(t,n){r=r.concat(e.serverSyncTree_.applyServerOverwrite(t,n));var i=e.abortTransactions_(t);e.rerunTransactions_(i)}),this.onDisconnect_=new dt,this.eventQueue_.raiseEventsForChangedPath(ie.Empty,r)},e.prototype.onDisconnectCancel=function(e,t){var n=this;this.server_.onDisconnectCancel(e.toString(),function(r,i){"ok"===r&&n.onDisconnect_.forget(e),n.callOnCompleteCallback(t,r,i)})},e.prototype.onDisconnectSet=function(e,t,n){var r=this,i=l(t);this.server_.onDisconnectPut(e.toString(),i.val(!0),function(t,o){"ok"===t&&r.onDisconnect_.remember(e,i),r.callOnCompleteCallback(n,t,o)})},e.prototype.onDisconnectSetWithPriority=function(e,t,n,r){var i=this,o=l(t,n);this.server_.onDisconnectPut(e.toString(),o.val(!0),function(t,n){"ok"===t&&i.onDisconnect_.remember(e,o),i.callOnCompleteCallback(r,t,n)})},e.prototype.onDisconnectUpdate=function(e,t,n){var r=this;if(v.isEmpty(t))return N("onDisconnect().update() called with empty data.  Don't do anything."),void this.callOnCompleteCallback(n,"ok");this.server_.onDisconnectMerge(e.toString(),t,function(i,o){"ok"===i&&v.forEach(t,function(t,n){var i=l(n);r.onDisconnect_.remember(e.child(t),i)}),r.callOnCompleteCallback(n,i,o)})},e.prototype.addEventCallbackForQuery=function(e,t){var n;n=".info"===e.path.getFront()?this.infoSyncTree_.addEventRegistration(e,t):this.serverSyncTree_.addEventRegistration(e,t),this.eventQueue_.raiseEventsAtPath(e.path,n)},e.prototype.removeEventCallbackForQuery=function(e,t){var n;n=".info"===e.path.getFront()?this.infoSyncTree_.removeEventRegistration(e,t):this.serverSyncTree_.removeEventRegistration(e,t),this.eventQueue_.raiseEventsAtPath(e.path,n)},e.prototype.interrupt=function(){this.persistentConnection_&&this.persistentConnection_.interrupt("repo_interrupt")},e.prototype.resume=function(){this.persistentConnection_&&this.persistentConnection_.resume("repo_interrupt")},e.prototype.stats=function(e){if(void 0===e&&(e=!1),"undefined"!==typeof console){var t;e?(this.statsListener_||(this.statsListener_=new Vt(this.stats_)),t=this.statsListener_.get()):t=this.stats_.get();var n=Object.keys(t).reduce(function(e,t){return Math.max(t.length,e)},0);v.forEach(t,function(e,t){for(var r=e.length;r<n+2;r++)e+=" ";console.log(e+t)})}},e.prototype.statsIncrementCounter=function(e){this.stats_.incrementCounter(e),this.statsReporter_.includeStat(e)},e.prototype.log_=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="";this.persistentConnection_&&(n=this.persistentConnection_.id+":"),N.apply(void 0,[n].concat(e))},e.prototype.callOnCompleteCallback=function(e,t,n){e&&te(function(){if("ok"==t)e(null);else{var r=(t||"error").toUpperCase(),i=r;n&&(i+=": "+n);var o=new Error(i);o.code=r,e(o)}})},Object.defineProperty(e.prototype,"database",{get:function(){return this.__database||(this.__database=new Sn(this))},enumerable:!0,configurable:!0}),e}(),vn=function(){function e(t){this.indexedFilter_=new Ot(t.getIndex()),this.index_=t.getIndex(),this.startPost_=e.getStartPost_(t),this.endPost_=e.getEndPost_(t)}return e.prototype.getStartPost=function(){return this.startPost_},e.prototype.getEndPost=function(){return this.endPost_},e.prototype.matches=function(e){return this.index_.compare(this.getStartPost(),e)<=0&&this.index_.compare(e,this.getEndPost())<=0},e.prototype.updateChild=function(e,t,n,r,i,o){return this.matches(new Ie(t,n))||(n=Ze.EMPTY_NODE),this.indexedFilter_.updateChild(e,t,n,r,i,o)},e.prototype.updateFullNode=function(e,t,n){t.isLeafNode()&&(t=Ze.EMPTY_NODE);var r=t.withIndex(this.index_);r=r.updatePriority(Ze.EMPTY_NODE);var i=this;return t.forEachChild(Be,function(e,t){i.matches(new Ie(e,t))||(r=r.updateImmediateChild(e,Ze.EMPTY_NODE))}),this.indexedFilter_.updateFullNode(e,r,n)},e.prototype.updatePriority=function(e,t){return e},e.prototype.filtersNodes=function(){return!0},e.prototype.getIndexedFilter=function(){return this.indexedFilter_},e.prototype.getIndex=function(){return this.index_},e.getStartPost_=function(e){if(e.hasStart()){var t=e.getIndexStartName();return e.getIndex().makePost(e.getIndexStartValue(),t)}return e.getIndex().minPost()},e.getEndPost_=function(e){if(e.hasEnd()){var t=e.getIndexEndName();return e.getIndex().makePost(e.getIndexEndValue(),t)}return e.getIndex().maxPost()},e}(),yn=function(){function e(e){this.rangedFilter_=new vn(e),this.index_=e.getIndex(),this.limit_=e.getLimit(),this.reverse_=!e.isViewFromLeft()}return e.prototype.updateChild=function(e,t,n,r,i,o){return this.rangedFilter_.matches(new Ie(t,n))||(n=Ze.EMPTY_NODE),e.getImmediateChild(t).equals(n)?e:e.numChildren()<this.limit_?this.rangedFilter_.getIndexedFilter().updateChild(e,t,n,r,i,o):this.fullLimitUpdateChild_(e,t,n,i,o)},e.prototype.updateFullNode=function(e,t,n){var r;if(t.isLeafNode()||t.isEmpty())r=Ze.EMPTY_NODE.withIndex(this.index_);else if(2*this.limit_<t.numChildren()&&t.isIndexed(this.index_)){r=Ze.EMPTY_NODE.withIndex(this.index_);var i=void 0;i=this.reverse_?t.getReverseIteratorFrom(this.rangedFilter_.getEndPost(),this.index_):t.getIteratorFrom(this.rangedFilter_.getStartPost(),this.index_);for(var o=0;i.hasNext()&&o<this.limit_;){var a=i.getNext(),s=void 0;if(!(s=this.reverse_?this.index_.compare(this.rangedFilter_.getStartPost(),a)<=0:this.index_.compare(a,this.rangedFilter_.getEndPost())<=0))break;r=r.updateImmediateChild(a.name,a.node),o++}}else{r=t.withIndex(this.index_),r=r.updatePriority(Ze.EMPTY_NODE);var l=void 0,u=void 0,c=void 0,i=void 0;if(this.reverse_){i=r.getReverseIterator(this.index_),l=this.rangedFilter_.getEndPost(),u=this.rangedFilter_.getStartPost();var d=this.index_.getCompare();c=function(e,t){return d(t,e)}}else i=r.getIterator(this.index_),l=this.rangedFilter_.getStartPost(),u=this.rangedFilter_.getEndPost(),c=this.index_.getCompare();for(var o=0,f=!1;i.hasNext();){var a=i.getNext();!f&&c(l,a)<=0&&(f=!0);var s=f&&o<this.limit_&&c(a,u)<=0;s?o++:r=r.updateImmediateChild(a.name,Ze.EMPTY_NODE)}}return this.rangedFilter_.getIndexedFilter().updateFullNode(e,r,n)},e.prototype.updatePriority=function(e,t){return e},e.prototype.filtersNodes=function(){return!0},e.prototype.getIndexedFilter=function(){return this.rangedFilter_.getIndexedFilter()},e.prototype.getIndex=function(){return this.index_},e.prototype.fullLimitUpdateChild_=function(e,t,n,r,i){var o;if(this.reverse_){var a=this.index_.getCompare();o=function(e,t){return a(t,e)}}else o=this.index_.getCompare();var s=e;v.assert(s.numChildren()==this.limit_,"");var l=new Ie(t,n),u=this.reverse_?s.getFirstChild(this.index_):s.getLastChild(this.index_),c=this.rangedFilter_.matches(l);if(s.hasChild(t)){for(var d=s.getImmediateChild(t),f=r.getChildAfterChild(this.index_,u,this.reverse_);null!=f&&(f.name==t||s.hasChild(f.name));)f=r.getChildAfterChild(this.index_,f,this.reverse_);var h=null==f?1:o(f,l);if(c&&!n.isEmpty()&&h>=0)return null!=i&&i.trackChildChange(Ct.childChangedChange(t,n,d)),s.updateImmediateChild(t,n);null!=i&&i.trackChildChange(Ct.childRemovedChange(t,d));var p=s.updateImmediateChild(t,Ze.EMPTY_NODE);return null!=f&&this.rangedFilter_.matches(f)?(null!=i&&i.trackChildChange(Ct.childAddedChange(f.name,f.node)),p.updateImmediateChild(f.name,f.node)):p}return n.isEmpty()?e:c&&o(u,l)>=0?(null!=i&&(i.trackChildChange(Ct.childRemovedChange(u.name,u.node)),i.trackChildChange(Ct.childAddedChange(t,n))),s.updateImmediateChild(t,n).updateImmediateChild(u.name,Ze.EMPTY_NODE)):e},e}(),bn=function(){function e(){this.limitSet_=!1,this.startSet_=!1,this.startNameSet_=!1,this.endSet_=!1,this.endNameSet_=!1,this.limit_=0,this.viewFrom_="",this.indexStartValue_=null,this.indexStartName_="",this.indexEndValue_=null,this.indexEndName_="",this.index_=Be}return e.prototype.hasStart=function(){return this.startSet_},e.prototype.isViewFromLeft=function(){return""===this.viewFrom_?this.startSet_:this.viewFrom_===e.WIRE_PROTOCOL_CONSTANTS_.VIEW_FROM_LEFT},e.prototype.getIndexStartValue=function(){return v.assert(this.startSet_,"Only valid if start has been set"),this.indexStartValue_},e.prototype.getIndexStartName=function(){return v.assert(this.startSet_,"Only valid if start has been set"),this.startNameSet_?this.indexStartName_:z},e.prototype.hasEnd=function(){return this.endSet_},e.prototype.getIndexEndValue=function(){return v.assert(this.endSet_,"Only valid if end has been set"),this.indexEndValue_},e.prototype.getIndexEndName=function(){return v.assert(this.endSet_,"Only valid if end has been set"),this.endNameSet_?this.indexEndName_:U},e.prototype.hasLimit=function(){return this.limitSet_},e.prototype.hasAnchoredLimit=function(){return this.limitSet_&&""!==this.viewFrom_},e.prototype.getLimit=function(){return v.assert(this.limitSet_,"Only valid if limit has been set"),this.limit_},e.prototype.getIndex=function(){return this.index_},e.prototype.copy_=function(){var t=new e;return t.limitSet_=this.limitSet_,t.limit_=this.limit_,t.startSet_=this.startSet_,t.indexStartValue_=this.indexStartValue_,t.startNameSet_=this.startNameSet_,t.indexStartName_=this.indexStartName_,t.endSet_=this.endSet_,t.indexEndValue_=this.indexEndValue_,t.endNameSet_=this.endNameSet_,t.indexEndName_=this.indexEndName_,t.index_=this.index_,t.viewFrom_=this.viewFrom_,t},e.prototype.limit=function(e){var t=this.copy_();return t.limitSet_=!0,t.limit_=e,t.viewFrom_="",t},e.prototype.limitToFirst=function(t){var n=this.copy_();return n.limitSet_=!0,n.limit_=t,n.viewFrom_=e.WIRE_PROTOCOL_CONSTANTS_.VIEW_FROM_LEFT,n},e.prototype.limitToLast=function(t){var n=this.copy_();return n.limitSet_=!0,n.limit_=t,n.viewFrom_=e.WIRE_PROTOCOL_CONSTANTS_.VIEW_FROM_RIGHT,n},e.prototype.startAt=function(e,t){var n=this.copy_();return n.startSet_=!0,void 0===e&&(e=null),n.indexStartValue_=e,null!=t?(n.startNameSet_=!0,n.indexStartName_=t):(n.startNameSet_=!1,n.indexStartName_=""),n},e.prototype.endAt=function(e,t){var n=this.copy_();return n.endSet_=!0,void 0===e&&(e=null),n.indexEndValue_=e,void 0!==t?(n.endNameSet_=!0,n.indexEndName_=t):(n.endNameSet_=!1,n.indexEndName_=""),n},e.prototype.orderBy=function(e){var t=this.copy_();return t.index_=e,t},e.prototype.getQueryObject=function(){var t=e.WIRE_PROTOCOL_CONSTANTS_,n={};if(this.startSet_&&(n[t.INDEX_START_VALUE]=this.indexStartValue_,this.startNameSet_&&(n[t.INDEX_START_NAME]=this.indexStartName_)),this.endSet_&&(n[t.INDEX_END_VALUE]=this.indexEndValue_,this.endNameSet_&&(n[t.INDEX_END_NAME]=this.indexEndName_)),this.limitSet_){n[t.LIMIT]=this.limit_;var r=this.viewFrom_;""===r&&(r=this.isViewFromLeft()?t.VIEW_FROM_LEFT:t.VIEW_FROM_RIGHT),n[t.VIEW_FROM]=r}return this.index_!==Be&&(n[t.INDEX]=this.index_.toString()),n},e.prototype.loadsAllData=function(){return!(this.startSet_||this.endSet_||this.limitSet_)},e.prototype.isDefault=function(){return this.loadsAllData()&&this.index_==Be},e.prototype.getNodeFilter=function(){return this.loadsAllData()?new Ot(this.getIndex()):this.hasLimit()?new yn(this):new vn(this)},e.prototype.toRestQueryStringParameters=function(){var t=e.REST_QUERY_CONSTANTS_,n={};if(this.isDefault())return n;var r;return this.index_===Be?r=t.PRIORITY_INDEX:this.index_===nt?r=t.VALUE_INDEX:this.index_===Me?r=t.KEY_INDEX:(v.assert(this.index_ instanceof rt,"Unrecognized index type!"),r=this.index_.toString()),n[t.ORDER_BY]=v.stringify(r),this.startSet_&&(n[t.START_AT]=v.stringify(this.indexStartValue_),this.startNameSet_&&(n[t.START_AT]+=","+v.stringify(this.indexStartName_))),this.endSet_&&(n[t.END_AT]=v.stringify(this.indexEndValue_),this.endNameSet_&&(n[t.END_AT]+=","+v.stringify(this.indexEndName_))),this.limitSet_&&(this.isViewFromLeft()?n[t.LIMIT_TO_FIRST]=this.limit_:n[t.LIMIT_TO_LAST]=this.limit_),n},e.WIRE_PROTOCOL_CONSTANTS_={INDEX_START_VALUE:"sp",INDEX_START_NAME:"sn",INDEX_END_VALUE:"ep",INDEX_END_NAME:"en",LIMIT:"l",VIEW_FROM:"vf",VIEW_FROM_LEFT:"l",VIEW_FROM_RIGHT:"r",INDEX:"i"},e.REST_QUERY_CONSTANTS_={ORDER_BY:"orderBy",PRIORITY_INDEX:"$priority",VALUE_INDEX:"$value",KEY_INDEX:"$key",START_AT:"startAt",END_AT:"endAt",LIMIT_TO_FIRST:"limitToFirst",LIMIT_TO_LAST:"limitToLast"},e.DEFAULT=new e,e}(),wn=function(e){function t(t,n){if(!(t instanceof gn))throw new Error("new Reference() no longer supported - use app.database().");return e.call(this,t,n,bn.DEFAULT,!1)||this}return b.__extends(t,e),t.prototype.getKey=function(){return v.validateArgCount("Reference.key",0,0,arguments.length),this.path.isEmpty()?null:this.path.getBack()},t.prototype.child=function(e){return v.validateArgCount("Reference.child",1,1,arguments.length),"number"===typeof e?e=String(e):e instanceof ie||(null===this.path.getFront()?xe("Reference.child",1,e,!1):_e("Reference.child",1,e,!1)),new t(this.repo,this.path.child(e))},t.prototype.getParent=function(){v.validateArgCount("Reference.parent",0,0,arguments.length);var e=this.path.parent();return null===e?null:new t(this.repo,e)},t.prototype.getRoot=function(){v.validateArgCount("Reference.root",0,0,arguments.length);for(var e=this;null!==e.getParent();)e=e.getParent();return e},t.prototype.databaseProp=function(){return this.repo.database},t.prototype.set=function(e,t){v.validateArgCount("Reference.set",1,2,arguments.length),ke("Reference.set",this.path),ge("Reference.set",1,e,this.path,!1),v.validateCallback("Reference.set",2,t,!0);var n=new v.Deferred;return this.repo.setWithPriority(this.path,e,null,n.wrapCallback(t)),n.promise},t.prototype.update=function(e,t){if(v.validateArgCount("Reference.update",1,2,arguments.length),ke("Reference.update",this.path),Array.isArray(e)){for(var n={},r=0;r<e.length;++r)n[""+r]=e[r];e=n,j("Passing an Array to Firebase.update() is deprecated. Use set() if you want to overwrite the existing data, or an Object with integer keys if you really do want to only update some of the children.")}be("Reference.update",1,e,this.path,!1),v.validateCallback("Reference.update",2,t,!0);var i=new v.Deferred;return this.repo.update(this.path,e,i.wrapCallback(t)),i.promise},t.prototype.setWithPriority=function(e,t,n){if(v.validateArgCount("Reference.setWithPriority",2,3,arguments.length),ke("Reference.setWithPriority",this.path),ge("Reference.setWithPriority",1,e,this.path,!1),we("Reference.setWithPriority",2,t,!1),v.validateCallback("Reference.setWithPriority",3,n,!0),".length"===this.getKey()||".keys"===this.getKey())throw"Reference.setWithPriority failed: "+this.getKey()+" is a read-only object.";var r=new v.Deferred;return this.repo.setWithPriority(this.path,e,t,r.wrapCallback(n)),r.promise},t.prototype.remove=function(e){return v.validateArgCount("Reference.remove",0,1,arguments.length),ke("Reference.remove",this.path),v.validateCallback("Reference.remove",1,e,!0),this.set(null,e)},t.prototype.transaction=function(e,t,n){if(v.validateArgCount("Reference.transaction",1,3,arguments.length),ke("Reference.transaction",this.path),v.validateCallback("Reference.transaction",1,e,!1),v.validateCallback("Reference.transaction",2,t,!0),Ce("Reference.transaction",3,n,!0),".length"===this.getKey()||".keys"===this.getKey())throw"Reference.transaction failed: "+this.getKey()+" is a read-only object.";void 0===n&&(n=!0);var r=new v.Deferred;"function"===typeof t&&r.promise.catch(function(){});var i=function(e,n,i){e?r.reject(e):r.resolve(new Ae(n,i)),"function"===typeof t&&t(e,n,i)};return this.repo.startTransaction(this.path,e,i,n),r.promise},t.prototype.setPriority=function(e,t){v.validateArgCount("Reference.setPriority",1,2,arguments.length),ke("Reference.setPriority",this.path),we("Reference.setPriority",1,e,!1),v.validateCallback("Reference.setPriority",2,t,!0);var n=new v.Deferred;return this.repo.setWithPriority(this.path.child(".priority"),e,null,n.wrapCallback(t)),n.promise},t.prototype.push=function(e,t){v.validateArgCount("Reference.push",0,2,arguments.length),ke("Reference.push",this.path),ge("Reference.push",1,e,this.path,!0),v.validateCallback("Reference.push",2,t,!0);var n,r=this.repo.serverTime(),i=Pe(r),o=this.child(i),a=this.child(i);return n=null!=e?o.set(e,t).then(function(){return a}):Promise.resolve(a),o.then=n.then.bind(n),o.catch=n.then.bind(n,void 0),"function"===typeof t&&n.catch(function(){}),o},t.prototype.onDisconnect=function(){return ke("Reference.onDisconnect",this.path),new Oe(this.repo,this.path)},Object.defineProperty(t.prototype,"database",{get:function(){return this.databaseProp()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"key",{get:function(){return this.getKey()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this.getParent()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this.getRoot()},enumerable:!0,configurable:!0}),t}(ut);ut.__referenceConstructor=wn,jt.__referenceConstructor=wn;var En,Tn=function(){function e(){this.children={},this.childCount=0,this.value=null}return e}(),_n=function(){function e(e,t,n){void 0===e&&(e=""),void 0===t&&(t=null),void 0===n&&(n=new Tn),this.name_=e,this.parent_=t,this.node_=n}return e.prototype.subTree=function(t){for(var n,r=t instanceof ie?t:new ie(t),i=this;null!==(n=r.getFront());){i=new e(n,i,v.safeGet(i.node_.children,n)||new Tn),r=r.popFront()}return i},e.prototype.getValue=function(){return this.node_.value},e.prototype.setValue=function(e){v.assert("undefined"!==typeof e,"Cannot set value to undefined"),this.node_.value=e,this.updateParents_()},e.prototype.clear=function(){this.node_.value=null,this.node_.children={},this.node_.childCount=0,this.updateParents_()},e.prototype.hasChildren=function(){return this.node_.childCount>0},e.prototype.isEmpty=function(){return null===this.getValue()&&!this.hasChildren()},e.prototype.forEachChild=function(t){var n=this;v.forEach(this.node_.children,function(r,i){t(new e(r,n,i))})},e.prototype.forEachDescendant=function(e,t,n){t&&!n&&e(this),this.forEachChild(function(t){t.forEachDescendant(e,!0,n)}),t&&n&&e(this)},e.prototype.forEachAncestor=function(e,t){for(var n=t?this:this.parent();null!==n;){if(e(n))return!0;n=n.parent()}return!1},e.prototype.forEachImmediateDescendantWithValue=function(e){this.forEachChild(function(t){null!==t.getValue()?e(t):t.forEachImmediateDescendantWithValue(e)})},e.prototype.path=function(){return new ie(null===this.parent_?this.name_:this.parent_.path()+"/"+this.name_)},e.prototype.name=function(){return this.name_},e.prototype.parent=function(){return this.parent_},e.prototype.updateParents_=function(){null!==this.parent_&&this.parent_.updateChild_(this.name_,this)},e.prototype.updateChild_=function(e,t){var n=t.isEmpty(),r=v.contains(this.node_.children,e);n&&r?(delete this.node_.children[e],this.node_.childCount--,this.updateParents_()):n||r||(this.node_.children[e]=t.node_,this.node_.childCount++,this.updateParents_())},e}();!function(e){e[e.RUN=0]="RUN",e[e.SENT=1]="SENT",e[e.COMPLETED=2]="COMPLETED",e[e.SENT_NEEDS_ABORT=3]="SENT_NEEDS_ABORT",e[e.NEEDS_ABORT=4]="NEEDS_ABORT"}(En||(En={})),gn.MAX_TRANSACTION_RETRIES_=25,gn.prototype.transactions_init_=function(){this.transactionQueueTree_=new _n},gn.prototype.startTransaction=function(e,t,n,r){this.log_("transaction on "+e);var i=function(){},o=new wn(this,e);o.on("value",i);var a=function(){o.off("value",i)},s={path:e,update:t,onComplete:n,status:null,order:C(),applyLocally:r,retryCount:0,unwatcher:a,abortReason:null,currentWriteId:null,currentInputSnapshot:null,currentOutputSnapshotRaw:null,currentOutputSnapshotResolved:null},u=this.getLatestState_(e);s.currentInputSnapshot=u;var c=s.update(u.val());if(void 0===c){if(s.unwatcher(),s.currentOutputSnapshotRaw=null,s.currentOutputSnapshotResolved=null,s.onComplete){var d=new it(s.currentInputSnapshot,new wn(this,s.path),Be);s.onComplete(null,!1,d)}}else{ve("transaction failed: Data returned ",c,s.path),s.status=En.RUN;var f=this.transactionQueueTree_.subTree(e),h=f.getValue()||[];h.push(s),f.setValue(h);var p=void 0;if("object"===typeof c&&null!==c&&v.contains(c,".priority"))p=v.safeGet(c,".priority"),v.assert(me(p),"Invalid priority returned by transaction. Priority must be a valid string, finite number, server value, or null.");else{p=(this.serverSyncTree_.calcCompleteEventCache(e)||Ze.EMPTY_NODE).getPriority().val()}p=p;var m=this.generateServerValues(),g=l(c,p),y=mt(g,m);s.currentOutputSnapshotRaw=g,s.currentOutputSnapshotResolved=y,s.currentWriteId=this.getNextWriteId_();var b=this.serverSyncTree_.applyUserOverwrite(e,y,s.currentWriteId,s.applyLocally);this.eventQueue_.raiseEventsForChangedPath(e,b),this.sendReadyTransactions_()}},gn.prototype.getLatestState_=function(e,t){return this.serverSyncTree_.calcCompleteEventCache(e,t)||Ze.EMPTY_NODE},gn.prototype.sendReadyTransactions_=function(e){var t=this;if(void 0===e&&(e=this.transactionQueueTree_),e||this.pruneCompletedTransactionsBelowNode_(e),null!==e.getValue()){var n=this.buildTransactionQueue_(e);v.assert(n.length>0,"Sending zero length transaction queue");n.every(function(e){return e.status===En.RUN})&&this.sendTransactionQueue_(e.path(),n)}else e.hasChildren()&&e.forEachChild(function(e){t.sendReadyTransactions_(e)})},gn.prototype.sendTransactionQueue_=function(e,t){for(var n=this,r=t.map(function(e){return e.currentWriteId}),i=this.getLatestState_(e,r),o=i,a=i.hash(),s=0;s<t.length;s++){var l=t[s];v.assert(l.status===En.RUN,"tryToSendTransactionQueue_: items in queue should all be run."),l.status=En.SENT,l.retryCount++;var u=ie.relativePath(e,l.path);o=o.updateChild(u,l.currentOutputSnapshotRaw)}var c=o.val(!0),d=e;this.server_.put(d.toString(),c,function(r){n.log_("transaction put response",{path:d.toString(),status:r});var i=[];if("ok"===r){for(var o=[],a=0;a<t.length;a++){if(t[a].status=En.COMPLETED,i=i.concat(n.serverSyncTree_.ackUserWrite(t[a].currentWriteId)),t[a].onComplete){var s=t[a].currentOutputSnapshotResolved,l=new wn(n,t[a].path),u=new it(s,l,Be);o.push(t[a].onComplete.bind(null,null,!0,u))}t[a].unwatcher()}n.pruneCompletedTransactionsBelowNode_(n.transactionQueueTree_.subTree(e)),n.sendReadyTransactions_(),n.eventQueue_.raiseEventsForChangedPath(e,i);for(var a=0;a<o.length;a++)te(o[a])}else{if("datastale"===r)for(var a=0;a<t.length;a++)t[a].status===En.SENT_NEEDS_ABORT?t[a].status=En.NEEDS_ABORT:t[a].status=En.RUN;else{j("transaction at "+d.toString()+" failed: "+r);for(var a=0;a<t.length;a++)t[a].status=En.NEEDS_ABORT,t[a].abortReason=r}n.rerunTransactions_(e)}},a)},gn.prototype.rerunTransactions_=function(e){var t=this.getAncestorTransactionNode_(e),n=t.path(),r=this.buildTransactionQueue_(t);return this.rerunTransactionQueue_(r,n),n},gn.prototype.rerunTransactionQueue_=function(e,t){if(0!==e.length){for(var n=[],r=[],i=e.filter(function(e){return e.status===En.RUN}),o=i.map(function(e){return e.currentWriteId}),a=0;a<e.length;a++){var s=e[a],u=ie.relativePath(t,s.path),c=!1,d=void 0;if(v.assert(null!==u,"rerunTransactionsUnderNode_: relativePath should not be null."),s.status===En.NEEDS_ABORT)c=!0,d=s.abortReason,r=r.concat(this.serverSyncTree_.ackUserWrite(s.currentWriteId,!0));else if(s.status===En.RUN)if(s.retryCount>=gn.MAX_TRANSACTION_RETRIES_)c=!0,d="maxretry",r=r.concat(this.serverSyncTree_.ackUserWrite(s.currentWriteId,!0));else{var f=this.getLatestState_(s.path,o);s.currentInputSnapshot=f;var h=e[a].update(f.val());if(void 0!==h){ve("transaction failed: Data returned ",h,s.path);var p=l(h),m="object"===typeof h&&null!=h&&v.contains(h,".priority");m||(p=p.updatePriority(f.getPriority()));var g=s.currentWriteId,y=this.generateServerValues(),b=mt(p,y);s.currentOutputSnapshotRaw=p,s.currentOutputSnapshotResolved=b,s.currentWriteId=this.getNextWriteId_(),o.splice(o.indexOf(g),1),r=r.concat(this.serverSyncTree_.applyUserOverwrite(s.path,b,s.currentWriteId,s.applyLocally)),r=r.concat(this.serverSyncTree_.ackUserWrite(g,!0))}else c=!0,d="nodata",r=r.concat(this.serverSyncTree_.ackUserWrite(s.currentWriteId,!0))}if(this.eventQueue_.raiseEventsForChangedPath(t,r),r=[],c&&(e[a].status=En.COMPLETED,function(e){setTimeout(e,Math.floor(0))}(e[a].unwatcher),e[a].onComplete))if("nodata"===d){var w=new wn(this,e[a].path),E=e[a].currentInputSnapshot,T=new it(E,w,Be);n.push(e[a].onComplete.bind(null,null,!1,T))}else n.push(e[a].onComplete.bind(null,new Error(d),!1,null))}this.pruneCompletedTransactionsBelowNode_(this.transactionQueueTree_);for(var a=0;a<n.length;a++)te(n[a]);this.sendReadyTransactions_()}},gn.prototype.getAncestorTransactionNode_=function(e){for(var t,n=this.transactionQueueTree_;null!==(t=e.getFront())&&null===n.getValue();)n=n.subTree(t),e=e.popFront();return n},gn.prototype.buildTransactionQueue_=function(e){var t=[];return this.aggregateTransactionQueuesForNode_(e,t),t.sort(function(e,t){return e.order-t.order}),t},gn.prototype.aggregateTransactionQueuesForNode_=function(e,t){var n=this,r=e.getValue();if(null!==r)for(var i=0;i<r.length;i++)t.push(r[i]);e.forEachChild(function(e){n.aggregateTransactionQueuesForNode_(e,t)})},gn.prototype.pruneCompletedTransactionsBelowNode_=function(e){var t=this,n=e.getValue();if(n){for(var r=0,i=0;i<n.length;i++)n[i].status!==En.COMPLETED&&(n[r]=n[i],r++);n.length=r,e.setValue(n.length>0?n:null)}e.forEachChild(function(e){t.pruneCompletedTransactionsBelowNode_(e)})},gn.prototype.abortTransactions_=function(e){var t=this,n=this.getAncestorTransactionNode_(e).path(),r=this.transactionQueueTree_.subTree(e);return r.forEachAncestor(function(e){t.abortTransactionsOnNode_(e)}),this.abortTransactionsOnNode_(r),r.forEachDescendant(function(e){t.abortTransactionsOnNode_(e)}),n},gn.prototype.abortTransactionsOnNode_=function(e){var t=e.getValue();if(null!==t){for(var n=[],r=[],i=-1,o=0;o<t.length;o++)if(t[o].status===En.SENT_NEEDS_ABORT);else if(t[o].status===En.SENT)v.assert(i===o-1,"All SENT items should be at beginning of queue."),i=o,t[o].status=En.SENT_NEEDS_ABORT,t[o].abortReason="set";else if(v.assert(t[o].status===En.RUN,"Unexpected transaction status in abort"),t[o].unwatcher(),r=r.concat(this.serverSyncTree_.ackUserWrite(t[o].currentWriteId,!0)),t[o].onComplete){n.push(t[o].onComplete.bind(null,new Error("set"),!1,null))}-1===i?e.setValue(null):t.length=i+1,this.eventQueue_.raiseEventsForChangedPath(e.path(),r);for(var o=0;o<n.length;o++)te(n[o])}};var xn,kn=function(){function e(){this.repos_={},this.useRestClient_=!1}return e.getInstance=function(){return xn||(xn=new e),xn},e.prototype.interrupt=function(){for(var e in this.repos_)for(var t in this.repos_[e])this.repos_[e][t].interrupt()},e.prototype.resume=function(){for(var e in this.repos_)for(var t in this.repos_[e])this.repos_[e][t].resume()},e.prototype.databaseFromApp=function(e,t){var n=t||e.options.databaseURL;void 0===n&&L("Can't determine Firebase Database URL.  Be sure to include databaseURL option when calling firebase.initializeApp().");var r=le(n),i=r.repoInfo;return Se("Invalid Firebase Database URL",1,r),r.path.isEmpty()||L("Database URL must point to the root of a Firebase Database (not including a child path)."),this.createRepo(i,e).database},e.prototype.deleteRepo=function(e){var t=v.safeGet(this.repos_,e.app.name);t&&v.safeGet(t,e.repoInfo_.toURLString())===e||L("Database "+e.app.name+"("+e.repoInfo_+") has already been deleted."),e.interrupt(),delete t[e.repoInfo_.toURLString()]},e.prototype.createRepo=function(e,t){var n=v.safeGet(this.repos_,t.name);n||(n={},this.repos_[t.name]=n);var r=v.safeGet(n,e.toURLString());return r&&L("Database initialized multiple times. Please make sure the format of the database URL matches with each database() call."),r=new gn(e,this.useRestClient_,t),n[e.toURLString()]=r,r},e.prototype.forceRestClient=function(e){this.useRestClient_=e},e}(),Sn=function(){function e(e){this.repo_=e,e instanceof gn||L("Don't call new Database() directly - please use firebase.database()."),this.root_=new wn(e,ie.Empty),this.INTERNAL=new Cn(this)}return Object.defineProperty(e.prototype,"app",{get:function(){return this.repo_.app},enumerable:!0,configurable:!0}),e.prototype.ref=function(e){return this.checkDeleted_("ref"),v.validateArgCount("database.ref",0,1,arguments.length),e instanceof wn?this.refFromURL(e.toString()):void 0!==e?this.root_.child(e):this.root_},e.prototype.refFromURL=function(e){var t="database.refFromURL";this.checkDeleted_(t),v.validateArgCount(t,1,1,arguments.length);var n=le(e);Se(t,1,n);var r=n.repoInfo;return r.host!==this.repo_.repoInfo_.host&&L(t+": Host name does not match the current database: (found "+r.host+" but expected "+this.repo_.repoInfo_.host+")"),this.ref(n.path.toString())},e.prototype.checkDeleted_=function(e){null===this.repo_&&L("Cannot call "+e+" on a deleted database.")},e.prototype.goOffline=function(){v.validateArgCount("database.goOffline",0,0,arguments.length),this.checkDeleted_("goOffline"),this.repo_.interrupt()},e.prototype.goOnline=function(){v.validateArgCount("database.goOnline",0,0,arguments.length),this.checkDeleted_("goOnline"),this.repo_.resume()},e.ServerValue={TIMESTAMP:{".sv":"timestamp"}},e}(),Cn=function(){function e(e){this.database=e}return e.prototype.delete=function(){return b.__awaiter(this,void 0,void 0,function(){return b.__generator(this,function(e){return this.database.checkDeleted_("delete"),kn.getInstance().deleteRepo(this.database.repo_),this.database.repo_=null,this.database.root_=null,this.database.INTERNAL=null,this.database=null,[2]})})},e}(),On=function(){ln.forceDisallow(),on.forceAllow()},An=function(){on.forceDisallow()},Pn=function(){return ln.isAvailable()},In=function(e,t){e.repo.persistentConnection_.securityDebugCallback_=t},Rn=function(e,t){e.repo.stats(t)},Nn=function(e,t){e.repo.statsIncrementCounter(t)},Mn=function(e){return e.repo.dataUpdateCount},Dn=function(e,t){return e.repo.interceptServerData_(t)},Ln=Object.freeze({forceLongPolling:On,forceWebSockets:An,isWebSocketsAvailable:Pn,setSecurityDebugCallback:In,stats:Rn,statsIncrementCounter:Nn,dataUpdateCount:Mn,interceptServerData:Dn}),jn=pn;pn.prototype.simpleListen=function(e,t){this.sendRequest("q",{p:e},t)},pn.prototype.echo=function(e,t){this.sendRequest("echo",{d:e},t)};var Wn=cn,Bn=function(e){var t=pn.prototype.put;return pn.prototype.put=function(n,r,i,o){void 0!==o&&(o=e()),t.call(this,n,r,i,o)},function(){pn.prototype.put=t}},Fn=se,zn=function(e){return e.queryIdentifier()},Un=function(e){return e.repo.persistentConnection_.listens_},Hn=function(e){kn.getInstance().forceRestClient(e)},Gn=Object.freeze({DataConnection:jn,RealTimeConnection:Wn,hijackHash:Bn,ConnectionTarget:Fn,queryIdentifier:zn,listens:Un,forceRestClient:Hn}),qn=Sn.ServerValue;u(w),t.registerDatabase=u,t.Database=Sn,t.Query=ut,t.Reference=wn,t.enableLogging=R,t.ServerValue=qn,t.DataSnapshot=it,t.OnDisconnect=Oe}).call(t,n(43))},function(e,t,n){"use strict";function r(e){o.forEach(function(t){t.logLevel=e})}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"setLogLevel",function(){return r}),n.d(t,"Logger",function(){return l}),n.d(t,"LogLevel",function(){return i});var i,o=[];!function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(i||(i={}));var a=i.INFO,s=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];if(!(t<e.logLevel)){var o=(new Date).toISOString();switch(t){case i.DEBUG:case i.VERBOSE:console.log.apply(console,["["+o+"]  "+e.name+":"].concat(n));break;case i.INFO:console.info.apply(console,["["+o+"]  "+e.name+":"].concat(n));break;case i.WARN:console.warn.apply(console,["["+o+"]  "+e.name+":"].concat(n));break;case i.ERROR:console.error.apply(console,["["+o+"]  "+e.name+":"].concat(n));break;default:throw new Error("Attempted to log a message with an invalid logType (value: "+t+")")}}},l=function(){function e(e){this.name=e,this._logLevel=a,this._logHandler=s,o.push(this)}return Object.defineProperty(e.prototype,"logLevel",{get:function(){return this._logLevel},set:function(e){if(!(e in i))throw new TypeError("Invalid value assigned to `logLevel`");this._logLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"logHandler",{get:function(){return this._logHandler},set:function(e){if("function"!==typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e},enumerable:!0,configurable:!0}),e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._logHandler.apply(this,[this,i.DEBUG].concat(e))},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._logHandler.apply(this,[this,i.VERBOSE].concat(e))},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._logHandler.apply(this,[this,i.INFO].concat(e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._logHandler.apply(this,[this,i.WARN].concat(e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._logHandler.apply(this,[this,i.ERROR].concat(e))},e}()},function(e,t,n){(function(t){function n(){return"undefined"!==typeof navigator?o(navigator.userAgent):i()}function r(e){var t=s(),n=t.filter(function(t){return t.rule&&t.rule.test(e)})[0];return n?n.name:null}function i(){return"undefined"!==typeof t&&t.version&&{name:"node",version:t.version.slice(1),os:t.platform}}function o(e){var t=a();if(!e)return null;var n=t.map(function(t){var n=t.rule.exec(e),r=n&&n[1].split(/[._]/).slice(0,3);return r&&r.length<3&&(r=r.concat(1==r.length?[0,0]:[0])),n&&{name:t.name,version:r.join(".")}}).filter(Boolean)[0]||null;return n&&(n.os=r(e)),/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/i.test(e)&&(n=n||{},n.bot=!0),n}function a(){return l([["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["vivaldi",/Vivaldi\/([0-9\.]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)$/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/]])}function s(){return l([["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/],["Search Bot",/(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(MSNBot)|(Ask Jeeves\/Teoma)|(ia_archiver)/]])}function l(e){return e.map(function(e){return{name:e[0],rule:e[1]}})}e.exports={detect:n,detectOS:r,getNodeVersion:i,parseUserAgent:o}}).call(t,n(43))}]);
+
!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.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=268)}([function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){"use strict";e.exports=n(274)},function(e,t,n){e.exports=n(334)()},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){function r(e,t){if(null==e)return{};var n,r,o=i(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var i=n(290);e.exports=r},function(e,t,n){"use strict";function r(){return P||(P=(0,E.default)())}var i=n(46),o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.sheetsManager=void 0;var a=o(n(3)),s=o(n(8)),l=o(n(9)),u=o(n(10)),c=o(n(11)),d=o(n(12)),f=o(n(4)),h=o(n(1)),p=o(n(2)),m=(o(n(13)),o(n(102))),g=(o(n(103)),o(n(61)),o(n(338))),v=n(158),y=i(n(165)),b=o(n(157)),w=o(n(166)),E=o(n(97)),T=o(n(101)),_=o(n(151)),k=o(n(340)),x=o(n(167)),S=(0,v.create)((0,b.default)()),C=(0,_.default)(),O=-1e11,A=new Map;t.sheetsManager=A;var P,I={},R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var i=t.withTheme,o=void 0!==i&&i,v=t.flip,b=void 0===v?null:v,E=t.name,_=(0,f.default)(t,["withTheme","flip","name"]),P=(0,k.default)(e),R=P.themingEnabled||o||"string"===typeof E;O+=1,P.options.index=O;var N=function(e){function t(e,n){var i;(0,s.default)(this,t),i=(0,u.default)(this,(0,c.default)(t).call(this,e,n)),i.disableStylesGeneration=!1,i.jss=null,i.sheetOptions=null,i.sheetsManager=A,i.stylesCreatorSaved=null,i.theme=null,i.unsubscribeId=null,i.state={},i.jss=n[y.jss]||S;var o=n.muiThemeProviderOptions;return o&&(o.sheetsManager&&(i.sheetsManager=o.sheetsManager),i.disableStylesGeneration=o.disableStylesGeneration),i.stylesCreatorSaved=P,i.sheetOptions=(0,a.default)({generateClassName:C},n[y.sheetOptions]),i.theme=R?T.default.initial(n)||r():I,i.attach(i.theme),i.cacheClasses={value:null,lastProp:null,lastJSS:{}},i}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){var e=this;R&&(this.unsubscribeId=T.default.subscribe(this.context,function(t){var n=e.theme;e.theme=t,e.attach(e.theme),e.setState({},function(){e.detach(n)})}))}},{key:"componentDidUpdate",value:function(){this.stylesCreatorSaved,0}},{key:"componentWillUnmount",value:function(){this.detach(this.theme),null!==this.unsubscribeId&&T.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"getClasses",value:function(){var e=!1;if(!this.disableStylesGeneration){var t=this.sheetsManager.get(this.stylesCreatorSaved),r=t.get(this.theme);r.sheet.classes!==this.cacheClasses.lastJSS&&(this.cacheClasses.lastJSS=r.sheet.classes,e=!0)}return this.props.classes!==this.cacheClasses.lastProp&&(this.cacheClasses.lastProp=this.props.classes,e=!0),e&&(this.cacheClasses.value=(0,w.default)({baseClasses:this.cacheClasses.lastJSS,newClasses:this.props.classes,Component:n,noBase:this.disableStylesGeneration})),this.cacheClasses.value}},{key:"attach",value:function(e){if(!this.disableStylesGeneration){var t=this.stylesCreatorSaved,n=this.sheetsManager.get(t);n||(n=new Map,this.sheetsManager.set(t,n));var r=n.get(e);if(r||(r={refs:0,sheet:null},n.set(e,r)),0===r.refs){var i=t.create(e,E),o=E,s=this.jss.createStyleSheet(i,(0,a.default)({meta:o,classNamePrefix:o,flip:"boolean"===typeof b?b:"rtl"===e.direction,link:!1},this.sheetOptions,t.options,{name:E},_));r.sheet=s,s.attach();var l=this.context[y.sheetsRegistry];l&&l.add(s)}r.refs+=1}}},{key:"detach",value:function(e){if(!this.disableStylesGeneration){var t=this.stylesCreatorSaved,n=this.sheetsManager.get(t),r=n.get(e);if(r.refs-=1,0===r.refs){n.delete(e),this.jss.removeStyleSheet(r.sheet);var i=this.context[y.sheetsRegistry];i&&i.remove(r.sheet)}}}},{key:"render",value:function(){var e=this.props,t=(e.classes,e.innerRef),r=(0,f.default)(e,["classes","innerRef"]),i=(0,x.default)({theme:this.theme,name:E});return o&&(i.theme=this.theme),h.default.createElement(n,(0,a.default)({},i,{classes:this.getClasses(),ref:t},r))}}]),t}(h.default.Component);return N.propTypes={},N.contextTypes=(0,a.default)({muiThemeProviderOptions:p.default.object},g.default,R?T.default.contextTypes:{}),(0,m.default)(N,n),N}},N=R;t.default=N},function(e,t,n){var r,i;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=n.apply(null,r);a&&e.push(a)}else if("object"===i)for(var s in r)o.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(i=function(){return n}.apply(t,r))&&(e.exports=i))}()},function(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=n},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}e.exports=r},function(e,t,n){function r(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?o(e):t}var i=n(75),o=n(47);e.exports=r},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}var i=n(333);e.exports=r},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e,t){return Object.keys(t).every(function(n){return e.hasOwnProperty(n)&&e[n]===t[n]})}function o(e,t){for(var n=(0,u.default)(t),r=0;r<e.length;r+=1){if("function"===n&&!0===!!t(e[r],r,e))return r;if("object"===n&&i(e[r],t))return r;if(-1!==["string","number","boolean"].indexOf(n))return e.indexOf(t)}return-1}function a(e,t){var n=o(e,t);return n>-1?e[n]:void 0}function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r),t.apply(this,r)}},function(){})}var l=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=r,t.contains=i,t.findIndex=o,t.find=a,t.createChainedFunction=s;var u=l(n(75));l(n(13))},function(e,t,n){"use strict";function r(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(e){console.error(e)}}r(),e.exports=n(275)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(390))},function(e,t,n){"use strict";function r(e,t){for(var n,r,a=t.children||[],s=a.length,l=[],u=-1;++u<s;)(n=o(e,a[u],t))&&(u&&"break"===a[u-1].type&&(n.value&&(n.value=i.left(n.value)),(r=n.children&&n.children[0])&&r.value&&(r.value=i.left(r.value))),l=l.concat(n));return l}e.exports=r;var i=n(27),o=n(251)},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(345))},function(e,t,n){"use strict";function r(e){return o.test("number"===typeof e?i(e):e.charAt(0))}e.exports=r;var i=String.fromCharCode,o=/\s/},function(e,t,n){"use strict";var r=n(62);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(463)),o=r(n(466)),a=(r(n(195)),r(n(61)),function(e){var t=(0,i.default)(function(e,t){return!(0,o.default)(e,t)});return t(e)}),s=a;t.default=s},function(e,t,n){"use strict";function r(e,t){if("string"!==typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(i!==e||"undefined"===typeof i)i=e,o="";else if(o.length>=n)return o.substr(0,n);for(;n>o.length&&t>1;)1&t&&(o+=e),t>>=1,e+=e;return o+=e,o=o.substr(0,n)}var i,o="";e.exports=r},function(e,t,n){"use strict";var r=n(70);e.exports=function(e,t,n){return null!=n||"object"==typeof t&&!Array.isArray(t)||(n=t,t={}),r({},t,{type:String(e)},null!=n&&(Array.isArray(n)?{children:n}:{value:String(n)}))}},function(e,t){function n(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var i in n)r.call(n,i)&&(e[i]=n[i])}return e}e.exports=n;var r=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(343))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(393))},function(e,t){function n(e){return e.replace(/^\s*|\s*$/g,"")}t=e.exports=n,t.left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.isNumber=t.isString=t.formatMs=t.duration=t.easing=void 0;var i=r(n(4)),o=(r(n(13)),{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"});t.easing=o;var a={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};t.duration=a;var s=function(e){return"".concat(Math.round(e),"ms")};t.formatMs=s;var l=function(e){return"string"===typeof e};t.isString=l;var u=function(e){return!isNaN(parseFloat(e))};t.isNumber=u;var c={easing:o,duration:a,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?a.standard:n,l=t.easing,u=void 0===l?o.easeInOut:l,c=t.delay,d=void 0===c?0:c;(0,i.default)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map(function(e){return"".concat(e," ").concat("string"===typeof r?r:s(r)," ").concat(u," ").concat("string"===typeof d?d:s(d))}).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}};t.default=c},function(e,t,n){"use strict";function r(){return o||(o=(0,m.default)())}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=i(n(3)),s=i(n(4)),l=i(n(8)),u=i(n(9)),c=i(n(10)),d=i(n(11)),f=i(n(12)),h=i(n(1)),p=(i(n(2)),i(n(102))),m=(i(n(61)),i(n(97))),g=i(n(101)),v=function(){return function(e){var t=function(t){function n(e,t){var i;return(0,l.default)(this,n),i=(0,c.default)(this,(0,d.default)(n).call(this)),i.unsubscribeId=null,i.state={},i.state={theme:g.default.initial(t)||r()},i}return(0,f.default)(n,t),(0,u.default)(n,[{key:"componentDidMount",value:function(){var e=this;this.unsubscribeId=g.default.subscribe(this.context,function(t){e.setState({theme:t})})}},{key:"componentWillUnmount",value:function(){null!==this.unsubscribeId&&g.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"render",value:function(){var t=this.props,n=t.innerRef,r=(0,s.default)(t,["innerRef"]);return h.default.createElement(e,(0,a.default)({theme:this.state.theme,ref:n},r))}}]),n}(h.default.Component);return t.propTypes={},t.contextTypes=g.default.contextTypes,(0,p.default)(t,e),t}},y=v;t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r;t.default=i},function(e,t,n){"use strict";function r(e){return e&&"object"===typeof e&&"default"in e?e.default:e}function i(e,t,n){return Object.defineProperty(e,t,n)}function o(e){return y({},E,e)}function a(e,t,n){var r=[e,t];return r.push(w?n:n.capture),r}function s(e,t,n,r){e.addEventListener.apply(e,a(t,n,r))}function l(e,t,n,r){e.removeEventListener.apply(e,a(t,n,r))}function u(e,t){var n=(e.children,e.target,v(e,["children","target"]));Object.keys(n).forEach(function(e){if("on"===e.substring(0,2)){var r=n[e],i=g(r),a="object"===i,s="function"===i;if(a||s){var l="capture"===e.substr(-7).toLowerCase(),u=e.substring(2).toLowerCase();u=l?u.substring(0,u.length-7):u,a?t(u,r.handler,r.options):t(u,r,o({capture:l}))}}})}function c(e,t){return{handler:e,options:o(t)}}Object.defineProperty(t,"__esModule",{value:!0});var d=r(n(8)),f=r(n(9)),h=r(n(10)),p=r(n(11)),m=r(n(12)),g=r(n(75)),v=r(n(4)),y=r(n(3)),b=r(n(1)),w=(r(n(2)),r(n(13)),function(){var e=null;return function(){if(null!==e)return e;var t=!1;try{window.addEventListener("test",null,i({},"passive",{get:function(){t=!0}}))}catch(e){}return e=t,t}()}()),E={capture:!1,passive:!1},T=function(e){function t(){return d(this,t),h(this,p(t).apply(this,arguments))}return m(t,e),f(t,[{key:"componentDidMount",value:function(){this.applyListeners(s)}},{key:"componentDidUpdate",value:function(e){this.applyListeners(l,e),this.applyListeners(s)}},{key:"componentWillUnmount",value:function(){this.applyListeners(l)}},{key:"applyListeners",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props,n=t.target;if(n){var r=n;"string"===typeof n&&(r=window[n]),u(t,e.bind(null,r))}}},{key:"render",value:function(){return this.props.children||null}}]),t}(b.PureComponent);T.propTypes={},t.withOptions=c,t.default=T},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getColumnProps=t.Col=t.getRowProps=t.Row=t.Grid=void 0;var i=n(617);Object.defineProperty(t,"getRowProps",{enumerable:!0,get:function(){return i.getRowProps}});var o=n(619);Object.defineProperty(t,"getColumnProps",{enumerable:!0,get:function(){return o.getColumnProps}});var a=n(620),s=r(a),l=r(i),u=r(o);t.Grid=s.default,t.Row=l.default,t.Col=u.default},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return e<t?t:e>n?n:e}function i(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length/3,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(function(e){return e+e})),n?"rgb(".concat(n.map(function(e){return parseInt(e,16)}).join(", "),")"):""}function o(e){function t(e){var t=e.toString(16);return 1===t.length?"0".concat(t):t}if(0===e.indexOf("#"))return e;var n=a(e),r=n.values;return r=r.map(function(e){return t(e)}),"#".concat(r.join(""))}function a(e){if("#"===e.charAt(0))return a(i(e));var t=e.indexOf("("),n=e.substring(0,t),r=e.substring(t+1,e.length-1).split(",");return r=r.map(function(e){return parseFloat(e)}),{type:n,values:r}}function s(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")&&(n=n.map(function(e,t){return t<3?parseInt(e,10):e})),-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(e.type,"(").concat(n.join(", "),")")}function l(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e){var t=a(e);if(-1!==t.type.indexOf("rgb")){var n=t.values.map(function(e){return e/=255,e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)});return Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}return t.values[2]/100}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return u(e)>.5?f(e,t):h(e,t)}function d(e,t){return e?(e=a(e),t=r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,s(e)):e}function f(e,t){if(!e)return e;if(e=a(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return s(e)}function h(e,t){if(!e)return e;if(e=a(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return s(e)}var p=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.convertHexToRGB=i,t.rgbToHex=o,t.decomposeColor=a,t.recomposeColor=s,t.getContrastRatio=l,t.getLuminance=u,t.emphasize=c,t.fade=d,t.darken=f,t.lighten=h;p(n(13))},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(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)}function l(){}t.__esModule=!0,t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var u=n(65),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(u),d=n(1),f=r(d),h=n(15),p=r(h),m=n(181),g=(n(182),t.UNMOUNTED="unmounted"),v=t.EXITED="exited",y=t.ENTERING="entering",b=t.ENTERED="entered",w=t.EXITING="exiting",E=function(e){function t(n,r){o(this,t);var i=a(this,e.call(this,n,r)),s=r.transitionGroup,l=s&&!s.isMounting?n.enter:n.appear,u=void 0;return i.appearStatus=null,n.in?l?(u=v,i.appearStatus=y):u=b:u=n.unmountOnExit||n.mountOnEnter?g:v,i.state={status:u},i.nextCallback=null,i}return s(t,e),t.prototype.getChildContext=function(){return{transitionGroup:null}},t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===g?{status:v}:null},t.prototype.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.prototype.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==y&&n!==b&&(t=y):n!==y&&n!==b||(t=w)}this.updateStatus(!1,t)},t.prototype.componentWillUnmount=function(){this.cancelNextCallback()},t.prototype.getTimeouts=function(){var e=this.props.timeout,t=void 0,n=void 0,r=void 0;return t=n=r=e,null!=e&&"number"!==typeof e&&(t=e.exit,n=e.enter,r=e.appear),{exit:t,enter:n,appear:r}},t.prototype.updateStatus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];if(null!==t){this.cancelNextCallback();var n=p.default.findDOMNode(this);t===y?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===v&&this.setState({status:g})},t.prototype.performEnter=function(e,t){var n=this,r=this.props.enter,i=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,o=this.getTimeouts();if(!t&&!r)return void this.safeSetState({status:b},function(){n.props.onEntered(e)});this.props.onEnter(e,i),this.safeSetState({status:y},function(){n.props.onEntering(e,i),n.onTransitionEnd(e,o.enter,function(){n.safeSetState({status:b},function(){n.props.onEntered(e,i)})})})},t.prototype.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();if(!n)return void this.safeSetState({status:v},function(){t.props.onExited(e)});this.props.onExit(e),this.safeSetState({status:w},function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,function(){t.safeSetState({status:v},function(){t.props.onExited(e)})})})},t.prototype.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},t.prototype.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},t.prototype.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},t.prototype.onTransitionEnd=function(e,t,n){this.setNextCallback(n),e?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},t.prototype.render=function(){var e=this.state.status;if(e===g)return null;var t=this.props,n=t.children,r=i(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"===typeof n)return n(e,r);var o=f.default.Children.only(n);return f.default.cloneElement(o,r)},t}(f.default.Component);E.contextTypes={transitionGroup:c.object},E.childContextTypes={transitionGroup:function(){}},E.propTypes={},E.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:l,onEntering:l,onEntered:l,onExit:l,onExiting:l,onExited:l},E.UNMOUNTED=0,E.EXITED=1,E.ENTERING=2,E.ENTERED=3,E.EXITING=4,t.default=(0,m.polyfill)(E)},function(e,t,n){"use strict";function r(e){return e}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.specialProperty=void 0;var o=(i(n(7)),i(n(3)),"exact-prop: \u200b");t.specialProperty=o;var a=r;t.default=a},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){function n(e,t,n){function r(){var u=Date.now()-s;u<t&&u>=0?i=setTimeout(r,t-u):(i=null,n||(l=e.apply(a,o),a=o=null))}var i,o,a,s,l;null==t&&(t=100);var u=function(){a=this,o=arguments,s=Date.now();var u=n&&!i;return i||(i=setTimeout(r,t)),u&&(l=e.apply(a,o),a=o=null),l};return u.clear=function(){i&&(clearTimeout(i),i=null)},u.flush=function(){i&&(l=e.apply(a,o),a=o=null,clearTimeout(i),i=null)},u}n.debounce=n,e.exports=n},function(e,t,n){"use strict";function r(e,t){return l.default.cloneElement(e,{className:(0,u.default)(e.props.className,t)})}function i(e,t){return l.default.Children.map(e,function(e){return l.default.isValidElement(e)&&r(e,t)})}function o(e,t){return l.default.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function a(e,t){return-1!==t.indexOf(e.muiName)}var s=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.cloneElementWithClassName=r,t.cloneChildrenWithClassName=i,t.isMuiElement=o,t.isMuiComponent=a;var l=s(n(1)),u=s(n(6))},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){var n=t.distance,r=t.left,i=t.right,o=t.up,a=t.down,l=t.top,u=t.bottom,c=t.big,f=t.mirror,h=t.opposite,p=(n?n.toString():0)+((r?1:0)|(i?2:0)|(l||a?4:0)|(u||o?8:0)|(f?16:0)|(h?32:0)|(e?64:0)|(c?128:0));if(d.hasOwnProperty(p))return d[p];var m=r||i||o||a||l||u,g=void 0,v=void 0;if(m){if(!f!=!(e&&h)){var y=[i,r,u,l,a,o];r=y[0],i=y[1],l=y[2],u=y[3],o=y[4],a=y[5]}var b=n||(c?"2000px":"100%");g=r?"-"+b:i?b:"0",v=a||l?"-"+b:o||u?b:"0"}return d[p]=(0,s.animation)((e?"to":"from")+" {opacity: 0;"+(m?" transform: translate3d("+g+", "+v+", 0);":"")+"}\n    "+(e?"from":"to")+" {opacity: 1;transform: none;} "),d[p]}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.defaults,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.children,o=(e.out,e.forever),a=e.timeout,l=e.duration,c=void 0===l?s.defaults.duration:l,d=e.delay,f=void 0===d?s.defaults.delay:d,h=e.count,p=void 0===h?s.defaults.count:h,m=r(e,["children","out","forever","timeout","duration","delay","count"]),g={make:i,duration:void 0===a?c:a,delay:f,forever:o,count:p,style:{animationFillMode:"both"},reverse:m.left};return t?(0,u.default)(m,g,g,n):g}Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),s=n(135),l=n(225),u=function(e){return e&&e.__esModule?e:{default:e}}(l),c={out:a.bool,left:a.bool,right:a.bool,top:a.bool,bottom:a.bool,big:a.bool,mirror:a.bool,opposite:a.bool,duration:a.number,timeout:a.number,distance:a.string,delay:a.number,count:a.number,forever:a.bool},d={};o.propTypes=c,t.default=o,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={};r.container={background:"rgba(0, 0, 0, 0.8)",gutter:{horizontal:10,vertical:10},zIndex:2001},r.header={height:40},r.close={fill:"white"},r.footer={color:"white",count:{color:"rgba(255, 255, 255, 0.75)",fontSize:"0.85em"},height:40,gutter:{horizontal:0,vertical:5}},r.thumbnail={activeBorderColor:"white",size:50,gutter:2},r.arrow={background:"none",fill:"white",height:120},t.default=r},function(e,t,n){e.exports=n(821)},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){m&&h&&(m=!1,h.length?p=h.concat(p):g=-1,p.length&&s())}function s(){if(!m){var e=i(a);m=!0;for(var t=p.length;t;){for(h=p,p=[];++g<t;)h&&h[g].run();g=-1,t=p.length}h=null,m=!1,o(e)}}function l(e,t){this.fun=e,this.array=t}function u(){}var c,d,f=e.exports={};!function(){try{c="function"===typeof setTimeout?setTimeout:n}catch(e){c=n}try{d="function"===typeof clearTimeout?clearTimeout:r}catch(e){d=r}}();var h,p=[],m=!1,g=-1;f.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new l(e,t)),1!==p.length||m||i(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.prependListener=u,f.prependOnceListener=u,f.listeners=function(e){return[]},f.binding=function(e){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(e){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},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},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(44),u=r(l),c=n(98),d=r(c),f=n(72),h=r(f),p=function(){function e(t,n,r){i(this,e),this.type="style",this.isProcessed=!1;var o=r.sheet,a=r.Renderer,s=r.selector;this.key=t,this.options=r,this.style=n,s&&(this.selectorText=s),this.renderer=o?o.renderer:new a}return s(e,[{key:"prop",value:function(e,t){if(void 0===t)return this.style[e];if(this.style[e]===t)return this;t=this.options.jss.plugins.onChangeValue(t,e,this);var n=null==t||!1===t,r=e in this.style;if(n&&!r)return this;var i=n&&r;if(i?delete this.style[e]:this.style[e]=t,this.renderable)return i?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,t),this;var o=this.options.sheet;return o&&o.attached&&(0,u.default)(!1,'Rule is not linked. Missing sheet option "link: true".'),this}},{key:"applyTo",value:function(e){var t=this.toJSON();for(var n in t)this.renderer.setProperty(e,n,t[n]);return this}},{key:"toJSON",value:function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==("undefined"===typeof n?"undefined":a(n))?e[t]=n:Array.isArray(n)&&(e[t]=(0,h.default)(n))}return e}},{key:"toString",value:function(e){var t=this.options.sheet,n=!!t&&t.options.link,r=n?o({},e,{allowEmpty:!0}):e;return(0,d.default)(this.selector,this.style,r)}},{key:"selector",set:function(e){if(e!==this.selectorText&&(this.selectorText=e,this.renderable)){if(!this.renderer.setSelector(this.renderable,e)&&this.renderable){var t=this.renderer.replaceRule(this.renderable,this);t&&(this.renderable=t)}}},get:function(){return this.selectorText}}]),e}();t.default=p},function(e,t){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}e.exports=n},function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n},function(e,t,n){var r=n(49),i=n(79);e.exports=n(51)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(64),i=n(171),o=n(110),a=Object.defineProperty;t.f=n(51)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},function(e,t,n){e.exports=!n(78)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(358),i=n(108);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(115)("wks"),i=n(80),o=n(34).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(392))},function(e,t){function n(e){if(e&&"object"===typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"===typeof e)return a[e];var n=String(e),o=r[n.toLowerCase()];if(o)return o;var o=i[n.toLowerCase()];return o||(1===n.length?n.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"===typeof e){var n=e.which||e.keyCode||e.charCode;if(null===n||void 0===n)return!1;if("string"===typeof t){var o=r[t.toLowerCase()];if(o)return o===n;var o=i[t.toLowerCase()];if(o)return o===n}else if("number"===typeof t)return t===n;return!1}},t=e.exports=n;var r=t.code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=t.aliases={windows:91,"\u21e7":16,"\u2325":18,"\u2303":17,"\u2318":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(o=97;o<123;o++)r[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)r[o-48]=o;for(o=1;o<13;o++)r["f"+o]=o+111;for(o=0;o<10;o++)r["numpad "+o]=o+96;var a=t.names=t.title={};for(o in r)a[r[o]]=o;for(var s in i)r[s]=i[s]},function(e,t,n){"use strict";function r(e,t){var n=e.timeout,r=e.style,i=void 0===r?{}:r;return{duration:i.transitionDuration||"number"===typeof n?n:n[t.mode],delay:i.transitionDelay}}Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitionProps=r,t.reflow=void 0;var i=function(e){return e.scrollTop};t.reflow=i},function(e,t,n){"use strict";function r(e,t){var n=[],r=-1,o=e.length;for(t&&n.push(i("text","\n"));++r<o;)r&&n.push(i("text","\n")),n.push(e[r]);return t&&0!==e.length&&n.push(i("text","\n")),n}e.exports=r;var i=n(23)},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=o({},e);return Object.keys(t).forEach(function(o){"object"===i(t[o])&&t[o]&&e[o]?n[o]=r(e[o],t[o]):n[o]=t[o]}),n}Object.defineProperty(t,"__esModule",{value:!0});var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=r},function(e,t,n){"use strict";function r(e){function t(e){return"@media (min-width:".concat("number"===typeof c[e]?c[e]:e).concat(f,")")}function n(e){var n=s.indexOf(e)+1,r=c[s[n]];return n===s.length?t("xs"):"@media (max-width:".concat(("number"===typeof r&&n>0?r:e)-p/100).concat(f,")")}function r(e,n){var r=s.indexOf(n)+1;return r===s.length?t(e):"@media (min-width:".concat(c[e]).concat(f,") and ")+"(max-width:".concat(c[s[r]]-p/100).concat(f,")")}function i(e){return r(e,e)}function l(e){return c[e]}var u=e.values,c=void 0===u?{xs:0,sm:600,md:960,lg:1280,xl:1920}:u,d=e.unit,f=void 0===d?"px":d,h=e.step,p=void 0===h?5:h,m=(0,a.default)(e,["values","unit","step"]);return(0,o.default)({keys:s,values:c,up:t,down:n,between:r,only:i,width:l},m)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,t.keys=void 0;var o=i(n(3)),a=i(n(4)),s=["xs","sm","md","lg","xl"];t.keys=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(73),l=r(s),u=n(161),c=r(u),d=n(45),f=r(d),h=n(307),p=r(h),m=function(){function e(t){var n=this;i(this,e),this.map={},this.raw={},this.index=[],this.update=function(e,t){var r=n.options,i=r.jss.plugins,o=r.sheet;if("string"===typeof e)i.onUpdate(t,n.get(e),o);else for(var a=0;a<n.index.length;a++)i.onUpdate(e,n.index[a],o)},this.options=t,this.classes=t.classes}return a(e,[{key:"add",value:function(e,t,n){var r=this.options,i=r.parent,a=r.sheet,s=r.jss,u=r.Renderer,c=r.generateClassName;n=o({classes:this.classes,parent:i,sheet:a,jss:s,Renderer:u,generateClassName:c},n),!n.selector&&this.classes[e]&&(n.selector="."+(0,p.default)(this.classes[e])),this.raw[e]=t;var d=(0,l.default)(e,t,n),h=void 0;!n.selector&&d instanceof f.default&&(h=c(d,a),d.selector="."+(0,p.default)(h)),this.register(d,h);var m=void 0===n.index?this.index.length:n.index;return this.index.splice(m,0,d),d}},{key:"get",value:function(e){return this.map[e]}},{key:"remove",value:function(e){this.unregister(e),this.index.splice(this.indexOf(e),1)}},{key:"indexOf",value:function(e){return this.index.indexOf(e)}},{key:"process",value:function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)}},{key:"register",value:function(e,t){this.map[e.key]=e,e instanceof f.default&&(this.map[e.selector]=e,t&&(this.classes[e.key]=t))}},{key:"unregister",value:function(e){delete this.map[e.key],e instanceof f.default&&(delete this.map[e.selector],delete this.classes[e.key])}},{key:"link",value:function(e){for(var t=this.options.sheet.renderer.getUnescapedKeysMap(this.index),n=0;n<e.length;n++){var r=e[n],i=this.options.sheet.renderer.getKey(r);t[i]&&(i=t[i]);var o=this.map[i];o&&(0,c.default)(o,r)}}},{key:"toString",value:function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var o=this.index[i],a=o.toString(e);(a||r)&&(t&&(t+="\n"),t+=a)}return t}}]),e}();t.default=m},function(e,t,n){"use strict";var r=n(62);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(103)),o=function(e,t){return t+"("+(0,i.default)(e)+")"},a=o;t.default=a},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t){var n=e.exports={version:"2.5.5"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(50);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=n(399)()},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(132))},function(e,t,n){"use strict";(function(e){function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e){return e.split(";").map(function(e){return e.trim()}).filter(function(e){return e}).reduce(function(e,t){var n=t.indexOf(":"),i=v.camelize(t.slice(0,n)),o=t.slice(n+1).trim();return i.startsWith("webkit")?e[r(i)]=o:e[i]=o,e},{})}function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(t.children||[]).map(o.bind(null,e)),a=Object.keys(t.attributes||{}).reduce(function(e,n){var r=t.attributes[n];switch(n){case"class":e.attrs.className=r,delete t.attributes.class;break;case"style":e.attrs.style=i(r);break;default:0===n.indexOf("aria-")||0===n.indexOf("data-")?e.attrs[n.toLowerCase()]=r:e.attrs[v.camelize(n)]=r}return e},{attrs:{}}),s=n.style,l=void 0===s?{}:s,u=E(n,["style"]);return a.attrs.style=w({},a.attrs.style,l),e.apply(void 0,[t.tag,w({},a.attrs,u)].concat(T(r)))}function a(){if(!_&&console&&"function"===typeof console.error){var e;(e=console).error.apply(e,arguments)}}function s(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?b({},e,t):{}}function l(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-inverse":e.inverse,"fa-border":e.border,"fa-li":e.listItem,"fa-flip-horizontal":"horizontal"===e.flip||"both"===e.flip,"fa-flip-vertical":"vertical"===e.flip||"both"===e.flip},b(t,"fa-"+e.size,null!==e.size),b(t,"fa-rotate-"+e.rotation,null!==e.rotation),b(t,"fa-pull-"+e.pull,null!==e.pull),t);return Object.keys(n).map(function(e){return n[e]?e:null}).filter(function(e){return e})}function u(e){return null===e?null:"object"===("undefined"===typeof e?"undefined":y(e))&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"===typeof e?{prefix:"fas",iconName:e}:void 0}function c(e){var t=e.icon,n=e.mask,r=e.symbol,i=e.className,o=u(t),f=s("classes",[].concat(T(l(e)),T(i.split(" ")))),h=s("transform","string"===typeof e.transform?d.b.transform(e.transform):e.transform),p=s("mask",u(n)),m=Object(d.a)(o,w({},f,h,p,{symbol:r}));if(!m)return a("Could not find icon",o),null;var g=m.abstract,v={};return Object.keys(e).forEach(function(t){c.defaultProps.hasOwnProperty(t)||(v[t]=e[t])}),k(g[0],v)}n.d(t,"a",function(){return c});var d=n(625),f=n(2),h=n.n(f),p=n(1),m=n.n(p),g="undefined"!==typeof window?window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:{},v=function(e,t){return t={exports:{}},e(t,t.exports),t.exports}(function(e){!function(t){var n=function(e,t,r){if(!u(t)||d(t)||f(t)||h(t)||l(t))return t;var i,o=0,a=0;if(c(t))for(i=[],a=t.length;o<a;o++)i.push(n(e,t[o],r));else{i={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(i[e(s,r)]=n(e,t[s],r))}return i},r=function(e,t){t=t||{};var n=t.separator||"_",r=t.split||/(?=[A-Z])/;return e.split(r).join(n)},i=function(e){return p(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))},o=function(e){var t=i(e);return t.substr(0,1).toUpperCase()+t.substr(1)},a=function(e,t){return r(e,t).toLowerCase()},s=Object.prototype.toString,l=function(e){return"function"===typeof e},u=function(e){return e===Object(e)},c=function(e){return"[object Array]"==s.call(e)},d=function(e){return"[object Date]"==s.call(e)},f=function(e){return"[object RegExp]"==s.call(e)},h=function(e){return"[object Boolean]"==s.call(e)},p=function(e){return(e-=0)===e},m=function(e,t){var n=t&&"process"in t?t.process:t;return"function"!==typeof n?e:function(t,r){return n(t,e,r)}},g={camelize:i,decamelize:a,pascalize:o,depascalize:a,camelizeKeys:function(e,t){return n(m(i,t),e)},decamelizeKeys:function(e,t){return n(m(a,t),e,t)},pascalizeKeys:function(e,t){return n(m(o,t),e)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=g:t.humps=g}(g)}),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},b=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},T=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},_=!1;try{_=!0}catch(e){}c.displayName="FontAwesomeIcon",c.propTypes={border:h.a.bool,className:h.a.string,mask:h.a.oneOfType([h.a.object,h.a.array,h.a.string]),fixedWidth:h.a.bool,inverse:h.a.bool,flip:h.a.oneOf(["horizontal","vertical","both"]),icon:h.a.oneOfType([h.a.object,h.a.array,h.a.string]),listItem:h.a.bool,pull:h.a.oneOf(["right","left"]),pulse:h.a.bool,rotation:h.a.oneOf([90,180,270]),size:h.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:h.a.bool,symbol:h.a.oneOfType([h.a.bool,h.a.string]),transform:h.a.oneOfType([h.a.string,h.a.object])},c.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,transform:null};var k=o.bind(null,m.a.createElement)}).call(t,n(18))},function(e,t,n){"use strict";function r(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){function l(e,r,o){var l;return r=r||(o?0:null),t&&e.type!==t&&!i(t,e,r,o||null)||(l=n(e,r,o||null)),l===s?l:e.children&&l!==a&&u(e.children,e)===s?s:l}function u(e,t){for(var n,i,a=r?-1:1,u=(r?e.length:-1)+a;u>-1&&u<e.length;){if(n=e[u],(i=n&&l(n,u,t))===s)return i;u="number"===typeof i?i:u+a}return o}"function"===typeof t&&"function"!==typeof n&&(r=n,n=t,t=null),l(e)}e.exports=r;var i=n(238),o=!0,a="skip",s=!1;r.CONTINUE=o,r.SKIP=a,r.EXIT=s},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=r(e),u=1;u<arguments.length;u++){n=Object(arguments[u]);for(var c in n)o.call(n,c)&&(l[c]=n[c]);if(i){s=i(n);for(var d=0;d<s.length;d++)a.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t,n){"use strict";function r(e){return!!e&&"object"===typeof e}function i(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||o(e)}function o(e){return e.$$typeof===h}function a(e){return Array.isArray(e)?[]:{}}function s(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c(a(e),e,t):e}function l(e,t,n){return e.concat(t).map(function(e){return s(e,n)})}function u(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){r[t]=s(e[t],n)}),Object.keys(t).forEach(function(i){n.isMergeableObject(t[i])&&e[i]?r[i]=c(e[i],t[i],n):r[i]=s(t[i],n)}),r}function c(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||l,n.isMergeableObject=n.isMergeableObject||d;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):u(e,t,n):s(t,n)}Object.defineProperty(t,"__esModule",{value:!0});var d=function(e){return r(e)&&!i(e)},f="function"===typeof Symbol&&Symbol.for,h=f?Symbol.for("react.element"):60103;c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return c(e,n,t)},{})};var p=c;t.default=p},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=i(e[r]," ");else n=i(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unnamed",t=arguments[1],n=arguments[2],r=n.jss,i=(0,c.default)(t),o=r.plugins.onCreateRule(e,i,n);return o||("@"===e[0]&&(0,a.default)(!1,"[JSS] Unknown at-rule %s",e),new l.default(e,i,n))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(44),a=r(o),s=n(45),l=r(s),u=n(303),c=r(u)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"isBrowser",function(){return i});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},i="object"===("undefined"===typeof window?"undefined":r(window))&&"object"===("undefined"===typeof document?"undefined":r(document))&&9===document.nodeType;t.default=i},function(e,t){function n(e){return(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})(e)}function r(t){return"function"===typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){var r=n(34),i=n(63),o=n(170),a=n(48),s=n(37),l=function(e,t,n){var u,c,d,f=e&l.F,h=e&l.G,p=e&l.S,m=e&l.P,g=e&l.B,v=e&l.W,y=h?i:i[t]||(i[t]={}),b=y.prototype,w=h?r:p?r[t]:(r[t]||{}).prototype;h&&(n=t);for(u in n)(c=!f&&w&&void 0!==w[u])&&s(y,u)||(d=c?w[u]:n[u],y[u]=h&&"function"!=typeof w[u]?n[u]:g&&c?o(d,r):v&&w[u]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((y.virtual||(y.virtual={}))[u]=d,e&l.R&&b&&!b[u]&&a(b,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window,n=(0,o.default)(e);return n.defaultView||n.parentView||t}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(30)),a=r;t.default=a},function(e,t,n){function r(e){return i(e)||o(e)||a()}var i=n(396),o=n(397),a=n(398);e.exports=r},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"ModalManager",{enumerable:!0,get:function(){return o.default}});var i=r(n(405)),o=r(n(188))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(461))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(475))},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return o}),n.d(t,"d",function(){return a}),n.d(t,"e",function(){return s});var r={prefix:"fas",iconName:"arrow-alt-circle-right",icon:[512,512,[],"f35a","M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zM140 300h116v70.9c0 10.7 13 16.1 20.5 8.5l114.3-114.9c4.7-4.7 4.7-12.2 0-16.9l-114.3-115c-7.6-7.6-20.5-2.2-20.5 8.5V212H140c-6.6 0-12 5.4-12 12v64c0 6.6 5.4 12 12 12z"]},i={prefix:"fas",iconName:"arrow-circle-left",icon:[512,512,[],"f0a8","M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zm28.9-143.6L209.4 288H392c13.3 0 24-10.7 24-24v-16c0-13.3-10.7-24-24-24H209.4l75.5-72.4c9.7-9.3 9.9-24.8.4-34.3l-11-10.9c-9.4-9.4-24.6-9.4-33.9 0L107.7 239c-9.4 9.4-9.4 24.6 0 33.9l132.7 132.7c9.4 9.4 24.6 9.4 33.9 0l11-10.9c9.5-9.5 9.3-25-.4-34.3z"]},o={prefix:"fas",iconName:"arrow-circle-right",icon:[512,512,[],"f0a9","M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm-28.9 143.6l75.5 72.4H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h182.6l-75.5 72.4c-9.7 9.3-9.9 24.8-.4 34.3l11 10.9c9.4 9.4 24.6 9.4 33.9 0L404.3 273c9.4-9.4 9.4-24.6 0-33.9L271.6 106.3c-9.4-9.4-24.6-9.4-33.9 0l-11 10.9c-9.5 9.6-9.3 25.1.4 34.4z"]},a={prefix:"fas",iconName:"circle",icon:[512,512,[],"f111","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"]},s={prefix:"fas",iconName:"envelope",icon:[512,512,[],"f0e0","M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"]}},function(e,t,n){"use strict";var r=n(646),i=n(658),o=n(705);e.exports=r().use(i).use(o).freeze()},function(e,t,n){"use strict";function r(e,t){var n,r,o={};t||(t={});for(r in g)n=t[r],o[r]=null===n||void 0===n?g[r]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),i(e,o)}function i(e,t){function n(){return{line:ae,column:oe,offset:re+(ee.offset||0)}}function r(e,t){var r=n();r.column+=t,r.offset+=t,X.call(J,A[e],r,e)}function i(t){return e.charAt(t)}function c(){se&&(le.push(se),Y&&Y.call(Q,se,{start:U,end:n()}),se="")}var d,g,P,I,R,N,M,D,L,j,W,B,F,z,U,H,G,q,V=t.additional,K=t.nonTerminated,Y=t.text,Z=t.reference,X=t.warning,Q=t.textContext,$=t.referenceContext,J=t.warningContext,ee=t.position,te=t.indent||[],ne=e.length,re=0,ie=-1,oe=ee.column||1,ae=ee.line||1,se="",le=[];for(U=n(),M=X?r:m,re--,ne++;++re<ne;)if("\n"===I&&(oe=te[ie]||1),"&"!==(I=i(re)))"\n"===I&&(ae++,ie++,oe=0),I?(se+=I,oe++):c();else{if("\t"===(N=i(re+1))||"\n"===N||"\f"===N||" "===N||"<"===N||"&"===N||""===N||V&&N===V){se+=I,oe++;continue}for(B=re+1,W=B,q=B,"#"!==N?F=v:(q=++W,N=i(q),"x"===N||"X"===N?(F=y,q=++W):F=b),d="",j="",P="",z=E[F],q--;++q<ne&&(N=i(q),z(N));)P+=N,F===v&&h.call(l,P)&&(d=P,j=l[P]);g=";"===i(q),g&&(q++,F===v&&h.call(s,P)&&(d=P,j=s[P])),G=1+q-B,(g||K)&&(P?F===v?(g&&!j?M(S,1):(d!==P&&(q=W+d.length,G=1+q-W,g=!1),g||(D=d?T:k,t.attribute?(N=i(q),"="===N?(M(D,G),j=null):f(N)?j=null:M(D,G)):M(D,G))),R=j):(g||M(_,G),R=parseInt(P,w[F]),o(R)?(M(O,G),R="\ufffd"):R in u?(M(C,G),R=u[R]):(L="",a(R)&&M(C,G),R>65535&&(R-=65536,L+=p(R>>>10|55296),R=56320|1023&R),R=L+p(R))):F!==v&&M(x,G)),R?(c(),U=n(),re=q-1,oe+=q-B+1,le.push(R),H=n(),H.offset++,Z&&Z.call($,R,{start:U,end:H},e.slice(B-1,q)),U=H):(P=e.slice(B-1,q),se+=P,oe+=P.length,re=q-1)}return le.join("")}function o(e){return e>=55296&&e<=57343||e>1114111}function a(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535===(65535&e)||65534===(65535&e)}var s=n(664),l=n(232),u=n(665),c=n(68),d=n(233),f=n(234);e.exports=r;var h={}.hasOwnProperty,p=String.fromCharCode,m=Function.prototype,g={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},v="named",y="hexadecimal",b="decimal",w={};w[y]=16,w[b]=10;var E={};E[v]=f,E[b]=c,E[y]=d;var T=1,_=2,k=3,x=4,S=5,C=6,O=7,A={};A[T]="Named character references must be terminated by a semicolon",A[_]="Numeric character references must be terminated by a semicolon",A[k]="Named character references cannot be empty",A[x]="Numeric character references cannot be empty",A[S]="Named character references must be known",A[C]="Numeric character references cannot be disallowed",A[O]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";function r(e){function t(e,t,n){var r=u.call(m,e)?m[e]:e;return n&&-1!==c.indexOf(r)&&(n=n.filter(function(e){return"\n"!==e})),d(r,t,n)}function n(e){var n={type:"element",tagName:"div",properties:{},children:o(e,p).children};return f&&(n=a(n,h)),n=l(n),s(t,n,r.prefix)}var r=e||{},d=r.createElement||i,f=!1!==r.sanitize,h=f&&"boolean"!==typeof r.sanitize?r.sanitize:null,p=r.toHast||{},m=r.remarkReactComponents||{};this.Compiler=n}e.exports=r;var i,o=n(751),a=n(778),s=n(781),l=n(791);try{i=n(1).createElement}catch(e){}var u={}.hasOwnProperty,c=["table","thead","tbody","tfoot","tr"]},function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)r[e.charCodeAt(t)]=e[t];return r}function i(e,t,n){var o,a,s,l,u,c="";for("string"!==typeof t&&(n=t,t=i.defaultChars),"undefined"===typeof n&&(n=!0),u=r(t),o=0,a=e.length;o<a;o++)if(s=e.charCodeAt(o),n&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))c+=e.slice(o,o+3),o+=2;else if(s<128)c+=u[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){c+=encodeURIComponent(e[o]+e[o+1]),o++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[o]);return c}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},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}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length<=2||void 0===arguments[2]?function(e,t){return e+t}:arguments[2];return r({},e,["-webkit-","-moz-",""].map(function(e){return n(e,t)}))},e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n,r,o,a,s,l){if(i(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,s,l],d=0;u=new Error(t.replace(/%s/g,function(){return c[d++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}var i=function(e){};e.exports=r},function(e,t,n){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function i(e,t){if(r(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(!o.call(t,n[a])||!r(e[n[a]],t[n[a]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;e.exports=i},function(e,t,n){"use strict";function r(){function e(e){f(p[e],"delete"),delete p[e]}function t(e){return e=e||s,a(p,e)||i("no-app",{name:e}),p[e]}function n(e,t){if(void 0===t&&(t={}),"object"!==typeof t||null===t){t={name:t}}var n=t;void 0===n.name&&(n.name=s);var r=n.name;"string"===typeof r&&r||i("bad-app-name",{name:r+""}),a(p,r)&&i("duplicate-app",{name:r});var o=new u(e,n,v);return p[r]=o,f(o,"create"),o}function l(){return Object.keys(p).map(function(e){return p[e]})}function c(e,n,r,a,s){m[e]&&i("duplicate-service",{name:e}),m[e]=n,a&&(g[e]=a,l().forEach(function(e){a("create",e)}));var c=function(n){return void 0===n&&(n=t()),"function"!==typeof n[e]&&i("invalid-app-argument",{name:e}),n[e]()};return void 0!==r&&o.deepExtend(c,r),v[e]=c,u.prototype[e]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return this._getService.bind(this,e).apply(this,s?t:[])},c}function d(e){o.deepExtend(v,e)}function f(e,t){Object.keys(m).forEach(function(n){var r=h(e,n);null!==r&&g[r]&&g[r](t,e)})}function h(e,t){if("serverAuth"===t)return null;var n=t;e.options;return n}var p={},m={},g={},v={__esModule:!0,initializeApp:n,app:t,apps:null,Promise:Promise,SDK_VERSION:"5.0.4",INTERNAL:{registerService:c,createFirebaseNamespace:r,extendNamespace:d,createSubscribe:o.createSubscribe,ErrorFactory:o.ErrorFactory,removeApp:e,factories:m,useAsService:h,Promise:Promise,deepExtend:o.deepExtend}};return o.patchProperty(v,"default",v),Object.defineProperty(v,"apps",{get:l}),o.patchProperty(t,"App",u),v}function i(e,t){throw d.create(e,t)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(149),a=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s="[DEFAULT]",l=[],u=function(){function e(e,t,n){this.firebase_=n,this.isDeleted_=!1,this.services_={},this.name_=t.name,this._automaticDataCollectionEnabled=t.automaticDataCollectionEnabled||!1,this.options_=o.deepCopy(e),this.INTERNAL={getUid:function(){return null},getToken:function(){return Promise.resolve(null)},addAuthTokenListener:function(e){l.push(e),setTimeout(function(){return e(null)},0)},removeAuthTokenListener:function(e){l=l.filter(function(t){return t!==e})}}}return Object.defineProperty(e.prototype,"automaticDataCollectionEnabled",{get:function(){return this.checkDestroyed_(),this._automaticDataCollectionEnabled},set:function(e){this.checkDestroyed_(),this._automaticDataCollectionEnabled=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.checkDestroyed_(),this.name_},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this.checkDestroyed_(),this.options_},enumerable:!0,configurable:!0}),e.prototype.delete=function(){var e=this;return new Promise(function(t){e.checkDestroyed_(),t()}).then(function(){e.firebase_.INTERNAL.removeApp(e.name_);var t=[];return Object.keys(e.services_).forEach(function(n){Object.keys(e.services_[n]).forEach(function(r){t.push(e.services_[n][r])})}),Promise.all(t.map(function(e){return e.INTERNAL.delete()}))}).then(function(){e.isDeleted_=!0,e.services_={}})},e.prototype._getService=function(e,t){if(void 0===t&&(t=s),this.checkDestroyed_(),this.services_[e]||(this.services_[e]={}),!this.services_[e][t]){var n=t!==s?t:void 0,r=this.firebase_.INTERNAL.factories[e](this,this.extendApp.bind(this),n);this.services_[e][t]=r}return this.services_[e][t]},e.prototype.extendApp=function(e){var t=this;o.deepExtend(this,e),e.INTERNAL&&e.INTERNAL.addAuthTokenListener&&(l.forEach(function(e){t.INTERNAL.addAuthTokenListener(e)}),l=[])},e.prototype.checkDestroyed_=function(){this.isDeleted_&&i("app-deleted",{name:this.name_})},e}();u.prototype.name&&u.prototype.options||u.prototype.delete||console.log("dc");var c={"no-app":"No Firebase App '{$name}' has been created - call Firebase App.initializeApp()","bad-app-name":"Illegal App name: '{$name}","duplicate-app":"Firebase App named '{$name}' already exists","app-deleted":"Firebase App named '{$name}' already deleted","duplicate-service":"Firebase service named '{$name}' already registered","sa-not-supported":"Initializing the Firebase SDK with a service account is only allowed in a Node.js environment. On client devices, you should instead initialize the SDK with an api key and auth domain","invalid-app-argument":"firebase.{$name}() takes either no argument or a Firebase App instance."},d=new o.ErrorFactory("app","Firebase",c),f=r();t.firebase=f,t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createGenerateClassName",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"createMuiTheme",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"jssPreset",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"MuiThemeProvider",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"createStyles",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"withStyles",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"withTheme",{enumerable:!0,get:function(){return c.default}});var i=r(n(151)),o=r(n(97)),a=r(n(157)),s=r(n(332)),l=r(n(337)),u=r(n(5)),c=r(n(29))},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,i=void 0===r?{}:r,y=e.palette,b=void 0===y?{}:y,w=e.shadows,E=e.typography,T=void 0===E?{}:E,_=(0,a.default)(e,["breakpoints","mixins","palette","shadows","typography"]),k=(0,d.default)(b),x=(0,u.default)(n),S=(0,o.default)({breakpoints:x,direction:"ltr",mixins:(0,c.default)(x,m.default,i),overrides:{},palette:k,props:{},shadows:w||h.default,typography:(0,f.default)(k,T)},(0,s.default)({shape:p.default,spacing:m.default,transitions:g.default,zIndex:v.default},_,{isMergeableObject:l.default}));return S}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(71)),l=i(n(291)),u=(i(n(13)),i(n(59))),c=i(n(293)),d=i(n(294)),f=i(n(295)),h=i(n(296)),p=i(n(297)),m=i(n(298)),g=i(n(28)),v=i(n(299)),y=r;t.default=y},function(e,t,n){"use strict";function r(e,t){for(var n="",r=0;r<t;r++)n+="  ";return n+e}function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i="";if(!t)return i;var o=n.indent,s=void 0===o?0:o,l=t.fallbacks;if(s++,l)if(Array.isArray(l))for(var u=0;u<l.length;u++){var c=l[u];for(var d in c){var f=c[d];null!=f&&(i+="\n"+r(d+": "+(0,a.default)(f)+";",s))}}else for(var h in l){var p=l[h];null!=p&&(i+="\n"+r(h+": "+(0,a.default)(p)+";",s))}for(var m in t){var g=t[m];null!=g&&"fallbacks"!==m&&(i+="\n"+r(m+": "+(0,a.default)(g)+";",s))}return i||n.allowEmpty?(s--,i=r(e+" {"+i+"\n",s)+r("}",s)):i}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(72),a=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(159),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=new i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(74),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o="",a="";if(i.default){var s={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},l=document.createElement("p").style;for(var u in s)if(u+"Transform"in l){o=u,a=s[u];break}}t.default={js:o,css:a}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CHANNEL=void 0;var i=r(n(7)),o=r(n(2)),a="__THEMING__";t.CHANNEL=a;var s={contextTypes:(0,i.default)({},a,o.default.object),initial:function(e){return e[a]?e[a].getState():null},subscribe:function(e,t){return e[a]?e[a].subscribe(t):null},unsubscribe:function(e,t){e[a]&&e[a].unsubscribe(t)}},l=s;t.default=l},function(e,t,n){"use strict";function r(e,t,n){if("string"!==typeof t){if(d){var f=c(t);f&&f!==d&&r(e,f,n)}var h=s(t);l&&(h=h.concat(l(t)));for(var p=0;p<h.length;++p){var m=h[p];if(!i[m]&&!o[m]&&(!n||!n[m])){var g=u(t,m);try{a(e,m,g)}catch(e){}}}return e}return e}var i={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,d=c&&c(Object);e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if("string"===typeof e)return e;if(e)return e.displayName||e.name||"Component"},i=r;t.default=i},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(342))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(344))},function(e,t,n){"use strict";function r(e,t){var n=function(t){return o.default.createElement(s.default,t,e)};return n.displayName=t,n=(0,a.default)(n),n.muiName="SvgIcon",n}var i=n(76);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(1)),a=i(n(347)),s=i(n(16)),l=r;t.default=l},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t){e.exports=!0},function(e,t,n){var r=n(50);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports={}},function(e,t,n){var r=n(64),i=n(357),o=n(116),a=n(114)("IE_PROTO"),s=function(){},l=function(){var e,t=n(172)("iframe"),r=o.length;for(t.style.display="none",n(362).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(174),i=n(116);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(115)("keys"),i=n(80);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(34),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(49).f,i=n(37),o=n(53)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){t.f=n(53)},function(e,t,n){var r=n(34),i=n(63),o=n(109),a=n(118),s=n(49).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(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)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(65),c=r(u),d=n(1),f=r(d),h=n(181),p=n(401),m=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},g=(c.default.any,c.default.node,c.default.bool,c.default.bool,c.default.bool,c.default.func,{component:"div",childFactory:function(e){return e}}),v=function(e){function t(n,r){o(this,t);var i=a(this,e.call(this,n,r)),s=i.handleExited.bind(i);return i.state={handleExited:s,firstRender:!0},i}return s(t,e),t.prototype.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},t.prototype.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,p.getInitialChildMapping)(e,r):(0,p.getNextChildMapping)(e,n,r),firstRender:!1}},t.prototype.handleExited=function(e,t){var n=(0,p.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.setState(function(t){var n=l({},t.children);return delete n[e.key],{children:n}}))},t.prototype.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=i(e,["component","childFactory"]),o=m(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o:f.default.createElement(t,r,o)},t}(f.default.Component);v.childContextTypes={transitionGroup:c.default.object.isRequired},v.propTypes={},v.defaultProps=g,t.default=(0,h.polyfill)(v),e.exports=t.default},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(406))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(407))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(420))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(421))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(424))},function(e,t,n){"use strict";var r=n(426),i=(n.n(r),n(96)),o=(n.n(i),n(104)),a=(n.n(o),n(442)),s=(n.n(a),n(190)),l=(n.n(s),n(443)),u=(n.n(l),n(445)),c=(n.n(u),n(447)),d=(n.n(c),n(54)),f=(n.n(d),n(26)),h=(n.n(f),n(449)),p=(n.n(h),n(451)),m=(n.n(p),n(453)),g=(n.n(m),n(455)),v=(n.n(g),n(457)),y=(n.n(v),n(459)),b=(n.n(y),n(469)),w=(n.n(b),n(472)),E=(n.n(w),n(196)),T=(n.n(E),n(85)),_=(n.n(T),n(476)),k=(n.n(_),n(478)),x=(n.n(k),n(480)),S=(n.n(x),n(482)),C=(n.n(S),n(484)),O=(n.n(C),n(486)),A=(n.n(O),n(488)),P=(n.n(A),n(490)),I=(n.n(P),n(197)),R=(n.n(I),n(493)),N=(n.n(R),n(198)),M=(n.n(N),n(199)),D=(n.n(M),n(124)),L=(n.n(D),n(200)),j=(n.n(L),n(499)),W=(n.n(j),n(201)),B=(n.n(W),n(202)),F=(n.n(B),n(203)),z=(n.n(F),n(504)),U=(n.n(z),n(507)),H=(n.n(U),n(509)),G=(n.n(H),n(511)),q=(n.n(G),n(125)),V=(n.n(q),n(513)),K=(n.n(V),n(518)),Y=(n.n(K),n(84)),Z=n.n(Y);n.d(t,"a",function(){return Z.a});var X=n(66),Q=(n.n(X),n(520)),$=(n.n(Q),n(204)),J=(n.n($),n(205)),ee=(n.n(J),n(192)),te=n.n(ee);n.d(t,"b",function(){return te.a});var ne=n(193),re=n.n(ne);n.d(t,"c",function(){return re.a});var ie=n(524),oe=(n.n(ie),n(526)),ae=(n.n(oe),n(528)),se=(n.n(ae),n(206)),le=(n.n(se),n(531)),ue=(n.n(le),n(183)),ce=(n.n(ue),n(126)),de=(n.n(ce),n(191)),fe=(n.n(de),n(533)),he=(n.n(fe),n(83)),pe=(n.n(he),n(535)),me=(n.n(pe),n(210)),ge=(n.n(me),n(25)),ve=(n.n(ge),n(187)),ye=(n.n(ve),n(211)),be=(n.n(ye),n(123)),we=(n.n(be),n(539)),Ee=(n.n(we),n(543)),Te=(n.n(Ee),n(122)),_e=(n.n(Te),n(134)),ke=(n.n(_e),n(131)),xe=(n.n(ke),n(547)),Se=(n.n(xe),n(212)),Ce=(n.n(Se),n(550)),Oe=(n.n(Ce),n(552)),Ae=(n.n(Oe),n(215)),Pe=(n.n(Ae),n(559)),Ie=(n.n(Pe),n(214)),Re=(n.n(Ie),n(213)),Ne=(n.n(Re),n(561)),Me=(n.n(Ne),n(16)),De=(n.n(Me),n(563)),Le=n.n(De);n.d(t,"d",function(){return Le.a});var je=n(566),We=(n.n(je),n(568)),Be=(n.n(We),n(570)),Fe=(n.n(Be),n(216)),ze=(n.n(Fe),n(573)),Ue=(n.n(ze),n(575)),He=(n.n(Ue),n(577)),Ge=(n.n(He),n(581)),qe=(n.n(Ge),n(583)),Ve=(n.n(qe),n(219)),Ke=(n.n(Ve),n(220)),Ye=(n.n(Ke),n(593)),Ze=(n.n(Ye),n(105)),Xe=(n.n(Ze),n(595)),Qe=(n.n(Xe),n(19)),$e=(n.n(Qe),n(597)),Je=(n.n($e),n(133)),et=(n.n(Je),n(599));n.n(et)},function(e,t,n){"use strict";function r(e,t,n,r,i){return null}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r;t.default=i},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=r(n(2)),p=r(n(6)),m=r(n(5)),g=r(n(84)),v={root:{display:"inline-flex",alignItems:"center",transition:"none","&:hover":{backgroundColor:"transparent"}},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0}};t.styles=v;var y=function(e){function t(e){var n;return(0,s.default)(this,t),n=(0,u.default)(this,(0,c.default)(t).call(this)),n.input=null,n.isControlled=null,n.state={},n.handleFocus=function(e){n.props.onFocus&&n.props.onFocus(e);var t=n.context.muiFormControl;t&&t.onFocus&&t.onFocus(e)},n.handleBlur=function(e){n.props.onBlur&&n.props.onBlur(e);var t=n.context.muiFormControl;t&&t.onBlur&&t.onBlur(e)},n.handleInputChange=function(e){var t=e.target.checked;n.isControlled||n.setState({checked:t}),n.props.onChange&&n.props.onChange(e,t)},n.isControlled=null!=e.checked,n.isControlled||(n.state.checked=void 0!==e.defaultChecked&&e.defaultChecked),n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e,t=this.props,n=t.autoFocus,r=t.checked,s=t.checkedIcon,l=t.classes,u=t.className,c=t.disabled,d=t.icon,h=t.id,m=t.inputProps,v=t.inputRef,y=t.name,b=(t.onBlur,t.onChange,t.onFocus,t.readOnly),w=t.required,E=t.tabIndex,T=t.type,_=t.value,k=(0,a.default)(t,["autoFocus","checked","checkedIcon","classes","className","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),x=this.context.muiFormControl,S=c;x&&"undefined"===typeof S&&(S=x.disabled);var C=this.isControlled?r:this.state.checked,O="checkbox"===T||"radio"===T;return f.default.createElement(g.default,(0,i.default)({component:"span",className:(0,p.default)(l.root,(e={},(0,o.default)(e,l.checked,C),(0,o.default)(e,l.disabled,S),e),u),disabled:S,tabIndex:null,role:void 0,onFocus:this.handleFocus,onBlur:this.handleBlur},k),C?s:d,f.default.createElement("input",(0,i.default)({autoFocus:n,checked:C,className:l.input,disabled:S,id:O&&h,name:y,onChange:this.handleInputChange,readOnly:b,ref:v,required:w,tabIndex:E,type:T,value:_},m)))}}]),t}(f.default.Component);y.propTypes={},y.contextTypes={muiFormControl:h.default.object};var b=(0,m.default)(v,{name:"MuiSwitchBase"})(y);t.default=b},function(e,t,n){"use strict";function r(e){return-1!==["left","right"].indexOf(e.anchor)}function i(e){return"rtl"===e.theme.direction&&r(e)?T[e.anchor]:e.anchor}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.isHorizontal=r,t.getAnchor=i,t.default=t.styles=void 0;var a=o(n(3)),s=o(n(7)),l=o(n(4)),u=o(n(8)),c=o(n(9)),d=o(n(10)),f=o(n(11)),h=o(n(12)),p=o(n(1)),m=(o(n(2)),o(n(6))),g=o(n(83)),v=o(n(5)),y=o(n(131)),b=o(n(25)),w=n(14),E=n(28),T={left:"right",right:"left",top:"down",bottom:"up"},_=function(e){return{docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:e.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:"none"},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(e.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(e.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(e.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(e.palette.divider)},modal:{}}};t.styles=_;var k=function(e){function t(){var e,n;(0,u.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,d.default)(this,(e=(0,f.default)(t)).call.apply(e,[this].concat(i))),n.mounted=!1,n}return(0,h.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"render",value:function(){var e=this.props,t=(e.anchor,e.children),n=e.classes,r=e.className,o=e.elevation,u=e.ModalProps;u=void 0===u?{}:u;var c=u.BackdropProps,d=(0,l.default)(u,["BackdropProps"]),f=e.onClose,h=e.open,v=e.PaperProps,E=e.SlideProps,_=(e.theme,e.transitionDuration),k=e.variant,x=(0,l.default)(e,["anchor","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","theme","transitionDuration","variant"]),S=i(this.props),C=p.default.createElement(b.default,(0,a.default)({elevation:"temporary"===k?o:0,square:!0,className:(0,m.default)(n.paper,n["paperAnchor".concat((0,w.capitalize)(S))],(0,s.default)({},n["paperAnchorDocked".concat((0,w.capitalize)(S))],"temporary"!==k))},v),t);if("permanent"===k)return p.default.createElement("div",(0,a.default)({className:(0,m.default)(n.docked,r)},x),C);var O=p.default.createElement(y.default,(0,a.default)({in:h,direction:T[S],timeout:_,appear:this.mounted},E),C);return"persistent"===k?p.default.createElement("div",(0,a.default)({className:(0,m.default)(n.docked,r)},x),O):p.default.createElement(g.default,(0,a.default)({BackdropProps:(0,a.default)({},c,{transitionDuration:_}),className:(0,m.default)(n.modal,r),open:h,onClose:f},x,d),O)}}]),t}(p.default.Component);k.propTypes={},k.defaultProps={anchor:"left",elevation:16,open:!1,transitionDuration:{enter:E.duration.enteringScreen,exit:E.duration.leavingScreen},variant:"temporary"};var x=(0,v.default)(_,{name:"MuiDrawer",flip:!1,withTheme:!0})(k);t.default=x},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(491))},function(e,t,n){"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function o(e){return e.startAdornment}function a(e,t){var n=e.disabled,r=e.error,i=e.margin,o=e.required;return t&&t.muiFormControl&&("undefined"===typeof n&&(n=t.muiFormControl.disabled),"undefined"===typeof r&&(r=t.muiFormControl.error),"undefined"===typeof i&&(i=t.muiFormControl.margin),"undefined"===typeof o&&(o=t.muiFormControl.required)),{disabled:n,error:r,margin:i,required:o}}var s=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.hasValue=r,t.isFilled=i,t.isAdornedStart=o,t.default=t.styles=void 0;var l=s(n(3)),u=s(n(7)),c=s(n(4)),d=s(n(8)),f=s(n(9)),h=s(n(10)),p=s(n(11)),m=s(n(12)),g=s(n(1)),v=s(n(2)),y=s(n(6)),b=s(n(5)),w=s(n(498)),E=function(e){var t="light"===e.palette.type,n={color:"currentColor",opacity:t?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:0},i={opacity:t?.42:.5},o=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{display:"inline-flex",position:"relative",fontFamily:e.typography.fontFamily,color:e.palette.text.primary,fontSize:e.typography.pxToRem(16),lineHeight:"1.1875em","&$disabled":{color:e.palette.text.disabled}},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary[t?"dark":"light"]),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(o),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):not($focused):not($error):before":{borderBottom:"2px solid ".concat(e.palette.text.primary)},"&$disabled:before":{borderBottom:"1px dotted ".concat(o)}},error:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px")},fullWidth:{width:"100%"},input:{font:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",verticalAlign:"middle",background:"none",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,flexGrow:1,"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},"&$disabled":{opacity:1}},inputMarginDense:{paddingTop:3},inputMultiline:{resize:"none",padding:0},inputType:{height:"1.1875em"},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"}}};t.styles=E;var T=function(e){function t(e,n){var r;(0,d.default)(this,t),r=(0,h.default)(this,(0,p.default)(t).call(this,e,n)),r.isControlled=null,r.input=null,r.state={focused:!1},r.handleFocus=function(e){if(a(r.props,r.context).disabled)return void e.stopPropagation();r.setState({focused:!0}),r.props.onFocus&&r.props.onFocus(e);var t=r.context.muiFormControl;t&&t.onFocus&&t.onFocus(e)},r.handleBlur=function(e){r.setState({focused:!1}),r.props.onBlur&&r.props.onBlur(e);var t=r.context.muiFormControl;t&&t.onBlur&&t.onBlur(e)},r.handleChange=function(e){r.isControlled||r.checkDirty(r.inputRef),r.props.onChange&&r.props.onChange(e)},r.handleRefInput=function(e){r.inputRef=e;var t;r.props.inputRef?t=r.props.inputRef:r.props.inputProps&&r.props.inputProps.ref&&(t=r.props.inputProps.ref),t&&("function"===typeof t?t(e):t.current=e)},r.isControlled=null!=e.value,r.isControlled&&r.checkDirty(e);var i=function(e,t){!a(r.props,r.context).disabled&&a(e,t).disabled&&r.setState({focused:!1})},o=function(e,t,n){if(!a(r.props,r.context).disabled&&a(e,n).disabled){var i=r.context.muiFormControl;i&&i.onBlur&&i.onBlur()}};return g.default.createContext?(r.UNSAFE_componentWillReceiveProps=i,r.UNSAFE_componentWillUpdate=o):(r.componentWillReceiveProps=i,r.componentWillUpdate=o),r}return(0,m.default)(t,e),(0,f.default)(t,[{key:"getChildContext",value:function(){return{muiFormControl:null}}},{key:"componentDidMount",value:function(){this.isControlled||this.checkDirty(this.inputRef)}},{key:"componentDidUpdate",value:function(){this.isControlled&&this.checkDirty(this.props)}},{key:"checkDirty",value:function(e){var t=this.context.muiFormControl;if(i(e))return t&&t.onFilled&&t.onFilled(),void(this.props.onFilled&&this.props.onFilled());t&&t.onEmpty&&t.onEmpty(),this.props.onEmpty&&this.props.onEmpty()}},{key:"render",value:function(){var e,t,n=this.props,r=n.autoComplete,i=n.autoFocus,o=n.classes,s=n.className,d=n.defaultValue,f=(n.disabled,n.disableUnderline),h=n.endAdornment,p=(n.error,n.fullWidth),m=n.id,v=n.inputComponent,b=n.inputProps;b=void 0===b?{}:b;var E=b.className,T=(0,c.default)(b,["className"]),_=(n.inputRef,n.margin,n.multiline),k=n.name,x=(n.onBlur,n.onChange,n.onEmpty,n.onFilled,n.onFocus,n.onKeyDown),S=n.onKeyUp,C=n.placeholder,O=n.readOnly,A=n.rows,P=n.rowsMax,I=n.startAdornment,R=n.type,N=n.value,M=(0,c.default)(n,["autoComplete","autoFocus","classes","className","defaultValue","disabled","disableUnderline","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onEmpty","onFilled","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","rows","rowsMax","startAdornment","type","value"]),D=this.context.muiFormControl,L=a(this.props,this.context),j=L.disabled,W=L.error,B=L.margin,F=L.required,z=(0,y.default)(o.root,(e={},(0,u.default)(e,o.disabled,j),(0,u.default)(e,o.error,W),(0,u.default)(e,o.fullWidth,p),(0,u.default)(e,o.focused,this.state.focused),(0,u.default)(e,o.formControl,D),(0,u.default)(e,o.multiline,_),(0,u.default)(e,o.underline,!f),e),s),U=(0,y.default)(o.input,(t={},(0,u.default)(t,o.disabled,j),(0,u.default)(t,o.inputType,"text"!==R),(0,u.default)(t,o.inputTypeSearch,"search"===R),(0,u.default)(t,o.inputMultiline,_),(0,u.default)(t,o.inputMarginDense,"dense"===B),t),E),H="input",G=(0,l.default)({},T,{ref:this.handleRefInput});return v?(H=v,G=(0,l.default)({inputRef:this.handleRefInput},G,{ref:null})):_&&(A&&!P?H="textarea":(G=(0,l.default)({rowsMax:P,textareaRef:this.handleRefInput},G,{ref:null}),H=w.default)),g.default.createElement("div",(0,l.default)({className:z},M),I,g.default.createElement(H,(0,l.default)({"aria-invalid":W,autoComplete:r,autoFocus:i,className:U,defaultValue:d,disabled:j,id:m,name:k,onBlur:this.handleBlur,onChange:this.handleChange,onFocus:this.handleFocus,onKeyDown:x,onKeyUp:S,placeholder:C,readOnly:O,required:F,rows:A,type:R,value:N},G)),h)}}]),t}(g.default.Component);T.propTypes={},T.muiName="Input",T.defaultProps={disableUnderline:!1,fullWidth:!1,multiline:!1,type:"text"},T.contextTypes={muiFormControl:v.default.object},T.childContextTypes={muiFormControl:v.default.object};var _=(0,b.default)(E,{name:"MuiInput"})(T);t.default=_},function(e,t,n){"use strict";var r=n(46);Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=r(n(516));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(545))},function(e,t,n){"use strict";function r(e){try{return y.insertRule(e,y.cssRules.length)}catch(e){console.warn("react-reveal - animation failed")}}function i(e,t,n,r,i){var o=Math.log(r),a=Math.log(i),s=(a-o)/(n-t);return Math.exp(o+s*(e-t))}function o(e){if(!y)return"";var t="@keyframes "+(b+g)+"{"+e+"}",n=v[e];return n?""+b+n:(y.insertRule(t,y.cssRules.length),v[e]=g,""+b+g++)}function a(){p||(t.globalHide=p=!0,window.removeEventListener("scroll",a,!0),r("."+l+" { opacity: 0; }"),window.removeEventListener("orientationchange",a,!0),window.document.removeEventListener("visibilitychange",a))}function s(e){var n=e.ssrFadeout;t.fadeOutEnabled=h=n}Object.defineProperty(t,"__esModule",{value:!0}),t.insertRule=r,t.cascade=i,t.animation=o,t.hideAll=a,t.default=s;var l=t.namespace="react-reveal",u=(t.defaults={duration:1e3,delay:0,count:1},t.ssr=!0),c=t.observerMode=!1,d=t.raf=function(e){return window.setTimeout(e,66)},f=t.disableSsr=function(){return t.ssr=u=!1},h=t.fadeOutEnabled=!1,p=(t.ssrFadeout=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t.fadeOutEnabled=h=e},t.globalHide=!1),m=(t.ie10=!1,t.collapseend=void 0),g=1,v={},y=!1,b=l+"-"+Math.floor(1e15*Math.random())+"-";if("undefined"!=typeof window&&"nodejs"!==window.name&&window.document&&"undefined"!=typeof navigator){t.observerMode=c="IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&/\{\s*\[native code\]\s*\}/.test(""+IntersectionObserver),t.raf=d=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||d,t.ssr=u=window.document.querySelectorAll("div[data-reactroot]").length>0,-1!==navigator.appVersion.indexOf("MSIE 10")&&(t.ie10=!0),u&&"performance"in window&&"timing"in window.performance&&"domContentLoadedEventEnd"in window.performance.timing&&window.performance.timing.domLoading&&Date.now()-window.performance.timing.domLoading<300&&(t.ssr=u=!1),u&&window.setTimeout(f,1500),c||(t.collapseend=m=document.createEvent("Event"),m.initEvent("collapseend",!0,!0));var w=document.createElement("style");document.head.appendChild(w),w.sheet&&w.sheet.cssRules&&w.sheet.insertRule&&(y=w.sheet,window.addEventListener("scroll",a,!0),window.addEventListener("orientationchange",a,!0),window.document.addEventListener("visibilitychange",a))}},function(e,t,n){"use strict";function r(e){return o.default&&o.default[e]?o.default[e]:e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(618),o=function(e){return e&&e.__esModule?e:{default:e}}(i)},function(e,t,n){"use strict";function r(e,t,n){var r={};Object.keys(t).filter(function(t){return"children"===t||!e[t]}).forEach(function(e){return r[e]=t[e]});var i=n.filter(function(e){return e}).join(" ");return Object.assign({},r,{className:i})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){for(var t=String(e),n=t.length;t.charAt(--n)===i;);return t.slice(0,n+1)}e.exports=r;var i="\n"},function(e,t,n){"use strict";function r(e,t,n,r){for(var i,o,a,s,l,u,c=["pedantic","commonmark"],d=c.length,f=e.length,h=-1;++h<f;){for(i=e[h],o=i[1]||{},a=i[0],s=-1,u=!1;++s<d;)if(l=c[s],void 0!==o[l]&&o[l]!==n.options[l]){u=!0;break}if(!u&&t[a].apply(n,r))return!0}return!1}e.exports=r},function(e,t,n){"use strict";function r(e){return i(e).toLowerCase()}var i=n(241);e.exports=r},function(e,t,n){"use strict";function r(e,t){return t||0===e.length||o.test(e)||i(e,"(")!==i(e,")")?"<"+e+">":e}var i=n(739);e.exports=r;var o=/\s/},function(e,t,n){"use strict";function r(e){var t=-1===e.indexOf('"')?'"':"'";return t+e+t}e.exports=r},function(e,t,n){"use strict";function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}function i(e){for(var t=e.length,n=t,r=0,i=void 0;t>=4;)i=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24,i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16),i^=i>>>24,i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^i,t-=4,++r;switch(t){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)}return n^=n>>>13,n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16),n^=n>>>15,(n>>>0).toString(36)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}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")}}(),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(e){return Object.keys(e).map(function(t){return[t,e[t]]})};t.objectToPairs=s;var l=function(e){var t={};return e.forEach(function(e){var n=o(e,2),r=n[0],i=n[1];t[r]=i}),t},u=function(e,t){return l(s(e).map(t))};t.mapObj=u;var c=function(e){return e.reduce(function(e,t){return e.concat(t)},[])};t.flatten=c;var d=/([A-Z])/g,f=/^ms-/,h=function(e){return e.replace(d,"-$1").toLowerCase()},p=function(e){return h(e).replace(f,"-ms-")};t.kebabifyStyleName=p;var m=function e(t,n){if("object"!==typeof t)return n;var r=a({},t);return Object.keys(n).forEach(function(i){r.hasOwnProperty(i)?r[i]=e(t[i],n[i]):r[i]=n[i]}),r};t.recursiveMerge=m;var g={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},v=["Webkit","ms","Moz","O"];Object.keys(g).forEach(function(e){v.forEach(function(t){g[r(t,e)]=g[e]})});var y=function(e,t){return"number"===typeof t?g[e]?""+t:t+"px":t};t.stringifyValue=y;var b=function(e){return i(JSON.stringify(e))};t.hashObject=b;var w=/^([^:]+:.*?)( !important)?;$/,E=function(e){return e.replace(w,function(e,t,n){return t+" !important;"})};t.importantify=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Array.isArray(e)&&(e=e.join(",")),null!==e.match(/-webkit-|-moz-|-ms-/)},e.exports=t.default},function(e,t,n){"use strict";function r(){}function i(e){try{return e.then}catch(e){return v=e,y}}function o(e,t){try{return e(t)}catch(e){return v=e,y}}function a(e,t,n){try{e(t,n)}catch(e){return v=e,y}}function s(e){if("object"!==typeof this)throw new TypeError("Promises must be constructed via new");if("function"!==typeof e)throw new TypeError("Promise constructor's argument is not a function");this._75=0,this._83=0,this._18=null,this._38=null,e!==r&&m(e,this)}function l(e,t,n){return new e.constructor(function(i,o){var a=new s(r);a.then(i,o),u(e,new p(t,n,a))})}function u(e,t){for(;3===e._83;)e=e._18;if(s._47&&s._47(e),0===e._83)return 0===e._75?(e._75=1,void(e._38=t)):1===e._75?(e._75=2,void(e._38=[e._38,t])):void e._38.push(t);c(e,t)}function c(e,t){g(function(){var n=1===e._83?t.onFulfilled:t.onRejected;if(null===n)return void(1===e._83?d(t.promise,e._18):f(t.promise,e._18));var r=o(n,e._18);r===y?f(t.promise,v):d(t.promise,r)})}function d(e,t){if(t===e)return f(e,new TypeError("A promise cannot be resolved with itself."));if(t&&("object"===typeof t||"function"===typeof t)){var n=i(t);if(n===y)return f(e,v);if(n===e.then&&t instanceof s)return e._83=3,e._18=t,void h(e);if("function"===typeof n)return void m(n.bind(t),e)}e._83=1,e._18=t,h(e)}function f(e,t){e._83=2,e._18=t,s._71&&s._71(e,t),h(e)}function h(e){if(1===e._75&&(u(e,e._38),e._38=null),2===e._75){for(var t=0;t<e._38.length;t++)u(e,e._38[t]);e._38=null}}function p(e,t,n){this.onFulfilled="function"===typeof e?e:null,this.onRejected="function"===typeof t?t:null,this.promise=n}function m(e,t){var n=!1,r=a(e,function(e){n||(n=!0,d(t,e))},function(e){n||(n=!0,f(t,e))});n||r!==y||(n=!0,f(t,v))}var g=n(146),v=null,y={};e.exports=s,s._47=null,s._71=null,s._44=r,s.prototype.then=function(e,t){if(this.constructor!==s)return l(this,e,t);var n=new s(r);return u(this,new p(e,t,n)),n}},function(e,t,n){"use strict";(function(t){function n(e){a.length||(o(),s=!0),a[a.length]=e}function r(){for(;l<a.length;){var e=l;if(l+=1,a[e].call(),l>u){for(var t=0,n=a.length-l;t<n;t++)a[t]=a[t+l];a.length-=l,l=0}}a.length=0,l=0,s=!1}function i(e){return function(){function t(){clearTimeout(n),clearInterval(r),e()}var n=setTimeout(t,0),r=setInterval(t,50)}}e.exports=n;var o,a=[],s=!1,l=0,u=1024,c="undefined"!==typeof t?t:self,d=c.MutationObserver||c.WebKitMutationObserver;o="function"===typeof d?function(e){var t=1,n=new d(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}(r):i(r),n.requestFlush=o,n.makeRequestCallFromTimer=i}).call(t,n(18))},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";n(281);var r=function(e){return e&&"object"===typeof e&&"default"in e?e.default:e}(n(95));e.exports=r},function(e,t,n){"use strict";function r(e){return i(void 0,e)}function i(e,t){if(!(t instanceof Object))return t;switch(t.constructor){case Date:var n=t;return new Date(n.getTime());case Object:void 0===e&&(e={});break;case Array:e=[];break;default:return t}for(var r in t)t.hasOwnProperty(r)&&(e[r]=i(e[r],t[r]));return e}function o(e,t,n){e[t]=n}function a(e){var t=R;return R=e,t}function s(e){return JSON.parse(e)}function l(e){return JSON.stringify(e)}function u(e,t){var n=new ie(e,t);return n.subscribe.bind(n)}function c(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];Promise.resolve(!0).then(function(){e.apply(void 0,n)}).catch(function(e){t&&t(e)})}}function d(e,t){if("object"!==typeof e||null===e)return!1;for(var n=0,r=t;n<r.length;n++){var i=r[n];if(i in e&&"function"===typeof e[i])return!0}return!1}function f(){}function h(e,t,n){var r="";switch(t){case 1:r=n?"first":"First";break;case 2:r=n?"second":"Second";break;case 3:r=n?"third":"Third";break;case 4:r=n?"fourth":"Fourth";break;default:throw new Error("errorPrefix called with argumentNumber > 4.  Need to update it?")}var i=e+" failed: ";return i+=r+" argument "}function p(e,t,n,r){if((!r||n)&&"string"!==typeof n)throw new Error(h(e,t,r)+"must be a valid firebase namespace.")}function m(e,t,n,r){if((!r||n)&&"function"!==typeof n)throw new Error(h(e,t,r)+"must be a valid function.")}function g(e,t,n,r){if((!r||n)&&("object"!==typeof n||null===n))throw new Error(h(e,t,r)+"must be a valid context object.")}Object.defineProperty(t,"__esModule",{value:!0});var v=n(150),y={NODE_CLIENT:!1,NODE_ADMIN:!1,SDK_VERSION:"${JSCORE_VERSION}"},b=function(e,t){if(!e)throw w(t)},w=function(e){return new Error("Firebase Database ("+y.SDK_VERSION+") INTERNAL ASSERT FAILED: "+e)},E=function(e){for(var t=[],n=0,r=0;r<e.length;r++){var i=e.charCodeAt(r);i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):55296==(64512&i)&&r+1<e.length&&56320==(64512&e.charCodeAt(r+1))?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++r)),t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t},T=function(e){for(var t=[],n=0,r=0;n<e.length;){var i=e[n++];if(i<128)t[r++]=String.fromCharCode(i);else if(i>191&&i<224){var o=e[n++];t[r++]=String.fromCharCode((31&i)<<6|63&o)}else if(i>239&&i<365){var o=e[n++],a=e[n++],s=e[n++],l=((7&i)<<18|(63&o)<<12|(63&a)<<6|63&s)-65536;t[r++]=String.fromCharCode(55296+(l>>10)),t[r++]=String.fromCharCode(56320+(1023&l))}else{var o=e[n++],a=e[n++];t[r++]=String.fromCharCode((15&i)<<12|(63&o)<<6|63&a)}}return t.join("")},_={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"===typeof atob,encodeByteArray:function(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();for(var n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[],i=0;i<e.length;i+=3){var o=e[i],a=i+1<e.length,s=a?e[i+1]:0,l=i+2<e.length,u=l?e[i+2]:0,c=o>>2,d=(3&o)<<4|s>>4,f=(15&s)<<2|u>>6,h=63&u;l||(h=64,a||(f=64)),r.push(n[c],n[d],n[f],n[h])}return r.join("")},encodeString:function(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(E(e),t)},decodeString:function(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):T(this.decodeStringToByteArray(e,t))},decodeStringToByteArray:function(e,t){this.init_();for(var n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[],i=0;i<e.length;){var o=n[e.charAt(i++)],a=i<e.length,s=a?n[e.charAt(i)]:0;++i;var l=i<e.length,u=l?n[e.charAt(i)]:64;++i;var c=i<e.length,d=c?n[e.charAt(i)]:64;if(++i,null==o||null==s||null==u||null==d)throw Error();var f=o<<2|s>>4;if(r.push(f),64!=u){var h=s<<4&240|u>>2;if(r.push(h),64!=d){var p=u<<6&192|d;r.push(p)}}}return r},init_:function(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(var e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}},k=function(e){var t=E(e);return _.encodeByteArray(t,!0)},x=function(e){try{return _.decodeString(e,!0)}catch(e){console.error("base64Decode failed: ",e)}return null},S=function(){function e(){var e=this;this.promise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return e.prototype.wrapCallback=function(e){var t=this;return function(n,r){n?t.reject(n):t.resolve(r),"function"===typeof e&&(t.promise.catch(function(){}),1===e.length?e(n):e(n,r))}},e}(),C=function(){return"undefined"!==typeof navigator&&"string"===typeof navigator.userAgent?navigator.userAgent:""},O=function(){return"undefined"!==typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(C())},A=function(){return"object"===typeof navigator&&"ReactNative"===navigator.product},P=function(){return!0===y.NODE_CLIENT||!0===y.NODE_ADMIN},I="FirebaseError",R=Error.captureStackTrace,N=function(){function e(e,t){if(this.code=e,this.message=t,R)R(this,M.prototype.create);else try{throw Error.apply(this,arguments)}catch(e){this.name=I,Object.defineProperty(this,"stack",{get:function(){return e.stack}})}}return e}();N.prototype=Object.create(Error.prototype),N.prototype.constructor=N,N.prototype.name=I;var M=function(){function e(e,t,n){this.service=e,this.serviceName=t,this.errors=n,this.pattern=/\{\$([^}]+)}/g}return e.prototype.create=function(e,t){void 0===t&&(t={});var n,r=this.errors[e],i=this.service+"/"+e;n=void 0===r?"Error":r.replace(this.pattern,function(e,n){var r=t[n];return void 0!==r?r.toString():"<"+n+"?>"}),n=this.serviceName+": "+n+" ("+i+").";var o=new N(i,n);for(var a in t)t.hasOwnProperty(a)&&"_"!==a.slice(-1)&&(o[a]=t[a]);return o},e}(),D=function(e){var t={},n={},r={},i="";try{var o=e.split(".");t=s(x(o[0])||""),n=s(x(o[1])||""),i=o[2],r=n.d||{},delete n.d}catch(e){}return{header:t,claims:n,data:r,signature:i}},L=function(e){var t,n,r=D(e).claims,i=Math.floor((new Date).getTime()/1e3);return"object"===typeof r&&(r.hasOwnProperty("nbf")?t=r.nbf:r.hasOwnProperty("iat")&&(t=r.iat),n=r.hasOwnProperty("exp")?r.exp:t+86400),i&&t&&n&&i>=t&&i<=n},j=function(e){var t=D(e).claims;return"object"===typeof t&&t.hasOwnProperty("iat")?t.iat:null},W=function(e){var t=D(e),n=t.claims;return!!t.signature&&!!n&&"object"===typeof n&&n.hasOwnProperty("iat")},B=function(e){var t=D(e).claims;return"object"===typeof t&&!0===t.admin},F=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},z=function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]},U=function(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t(n,e[n])},H=function(e,t){return U(t,function(t,n){e[t]=n}),e},G=function(e){return H({},e)},q=function(e){return"object"===typeof e&&null!==e},V=function(e){for(var t in e)return!1;return!0},K=function(e){var t=0;for(var n in e)t++;return t},Y=function(e,t,n){var r={};for(var i in e)r[i]=t.call(n,e[i],i,e);return r},Z=function(e,t,n){for(var r in e)if(t.call(n,e[r],r,e))return r},X=function(e,t,n){var r=Z(e,t,n);return r&&e[r]},Q=function(e){for(var t in e)return t},$=function(e){var t=[],n=0;for(var r in e)t[n++]=e[r];return t},J=function(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&!t(n,e[n]))return!1;return!0},ee=function(e){var t=[];return U(e,function(e,n){Array.isArray(n)?n.forEach(function(n){t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))}):t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))}),t.length?"&"+t.join("&"):""},te=function(e){var t={};return e.replace(/^\?/,"").split("&").forEach(function(e){if(e){var n=e.split("=");t[n[0]]=n[1]}}),t},ne=function(){function e(){this.blockSize=-1}return e}(),re=function(e){function t(){var t=e.call(this)||this;t.chain_=[],t.buf_=[],t.W_=[],t.pad_=[],t.inbuf_=0,t.total_=0,t.blockSize=64,t.pad_[0]=128;for(var n=1;n<t.blockSize;++n)t.pad_[n]=0;return t.reset(),t}return v.__extends(t,e),t.prototype.reset=function(){this.chain_[0]=1732584193,this.chain_[1]=4023233417,this.chain_[2]=2562383102,this.chain_[3]=271733878,this.chain_[4]=3285377520,this.inbuf_=0,this.total_=0},t.prototype.compress_=function(e,t){t||(t=0);var n=this.W_;if("string"===typeof e)for(var r=0;r<16;r++)n[r]=e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|e.charCodeAt(t+3),t+=4;else for(var r=0;r<16;r++)n[r]=e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3],t+=4;for(var r=16;r<80;r++){var i=n[r-3]^n[r-8]^n[r-14]^n[r-16];n[r]=4294967295&(i<<1|i>>>31)}for(var o,a,s=this.chain_[0],l=this.chain_[1],u=this.chain_[2],c=this.chain_[3],d=this.chain_[4],r=0;r<80;r++){r<40?r<20?(o=c^l&(u^c),a=1518500249):(o=l^u^c,a=1859775393):r<60?(o=l&u|c&(l|u),a=2400959708):(o=l^u^c,a=3395469782);var i=(s<<5|s>>>27)+o+d+a+n[r]&4294967295;d=c,c=u,u=4294967295&(l<<30|l>>>2),l=s,s=i}this.chain_[0]=this.chain_[0]+s&4294967295,this.chain_[1]=this.chain_[1]+l&4294967295,this.chain_[2]=this.chain_[2]+u&4294967295,this.chain_[3]=this.chain_[3]+c&4294967295,this.chain_[4]=this.chain_[4]+d&4294967295},t.prototype.update=function(e,t){if(null!=e){void 0===t&&(t=e.length);for(var n=t-this.blockSize,r=0,i=this.buf_,o=this.inbuf_;r<t;){if(0==o)for(;r<=n;)this.compress_(e,r),r+=this.blockSize;if("string"===typeof e){for(;r<t;)if(i[o]=e.charCodeAt(r),++o,++r,o==this.blockSize){this.compress_(i),o=0;break}}else for(;r<t;)if(i[o]=e[r],++o,++r,o==this.blockSize){this.compress_(i),o=0;break}}this.inbuf_=o,this.total_+=t}},t.prototype.digest=function(){var e=[],t=8*this.total_;this.inbuf_<56?this.update(this.pad_,56-this.inbuf_):this.update(this.pad_,this.blockSize-(this.inbuf_-56));for(var n=this.blockSize-1;n>=56;n--)this.buf_[n]=255&t,t/=256;this.compress_(this.buf_);for(var r=0,n=0;n<5;n++)for(var i=24;i>=0;i-=8)e[r]=this.chain_[n]>>i&255,++r;return e},t}(ne),ie=function(){function e(e,t){var n=this;this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=t,this.task.then(function(){e(n)}).catch(function(e){n.error(e)})}return e.prototype.next=function(e){this.forEachObserver(function(t){t.next(e)})},e.prototype.error=function(e){this.forEachObserver(function(t){t.error(e)}),this.close(e)},e.prototype.complete=function(){this.forEachObserver(function(e){e.complete()}),this.close()},e.prototype.subscribe=function(e,t,n){var r,i=this;if(void 0===e&&void 0===t&&void 0===n)throw new Error("Missing Observer.");r=d(e,["next","error","complete"])?e:{next:e,error:t,complete:n},void 0===r.next&&(r.next=f),void 0===r.error&&(r.error=f),void 0===r.complete&&(r.complete=f);var o=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(function(){try{i.finalError?r.error(i.finalError):r.complete()}catch(e){}}),this.observers.push(r),o},e.prototype.unsubscribeOne=function(e){void 0!==this.observers&&void 0!==this.observers[e]&&(delete this.observers[e],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))},e.prototype.forEachObserver=function(e){if(!this.finalized)for(var t=0;t<this.observers.length;t++)this.sendOne(t,e)},e.prototype.sendOne=function(e,t){var n=this;this.task.then(function(){if(void 0!==n.observers&&void 0!==n.observers[e])try{t(n.observers[e])}catch(e){"undefined"!==typeof console&&console.error&&console.error(e)}})},e.prototype.close=function(e){var t=this;this.finalized||(this.finalized=!0,void 0!==e&&(this.finalError=e),this.task.then(function(){t.observers=void 0,t.onNoObservers=void 0}))},e}(),oe=function(e,t,n,r){var i;if(r<t?i="at least "+t:r>n&&(i=0===n?"none":"no more than "+n),i){var o=e+" failed: Was called with "+r+(1===r?" argument.":" arguments.")+" Expects "+i+".";throw new Error(o)}},ae=function(e){for(var t=[],n=0,r=0;r<e.length;r++){var i=e.charCodeAt(r);if(i>=55296&&i<=56319){var o=i-55296;r++,b(r<e.length,"Surrogate pair missing trail surrogate.");i=65536+(o<<10)+(e.charCodeAt(r)-56320)}i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):i<65536?(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t},se=function(e){for(var t=0,n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t++:r<2048?t+=2:r>=55296&&r<=56319?(t+=4,n++):t+=3}return t};t.assert=b,t.assertionError=w,t.base64=_,t.base64Decode=x,t.base64Encode=k,t.CONSTANTS=y,t.deepCopy=r,t.deepExtend=i,t.patchProperty=o,t.Deferred=S,t.getUA=C,t.isMobileCordova=O,t.isNodeSdk=P,t.isReactNative=A,t.ErrorFactory=M,t.FirebaseError=N,t.patchCapture=a,t.jsonEval=s,t.stringify=l,t.decode=D,t.isAdmin=B,t.issuedAtTime=j,t.isValidFormat=W,t.isValidTimestamp=L,t.clone=G,t.contains=F,t.every=J,t.extend=H,t.findKey=Z,t.findValue=X,t.forEach=U,t.getAnyKey=Q,t.getCount=K,t.getValues=$,t.isEmpty=V,t.isNonNullObject=q,t.map=Y,t.safeGet=z,t.querystring=ee,t.querystringDecode=te,t.Sha1=re,t.async=c,t.createSubscribe=u,t.errorPrefix=h,t.validateArgCount=oe,t.validateCallback=m,t.validateContextObject=g,t.validateNamespace=p,t.stringLength=se,t.stringToByteArray=ae},function(e,t,n){"use strict";function r(e,t){function n(){this.constructor=e}E(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n}function o(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function a(e,t){return function(n,r){t(n,r,e)}}function s(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(a,s)}l((r=r.apply(e,t||[])).next())})}function u(e,t){function n(e){return function(t){return r([e,t])}}function r(n){if(i)throw new TypeError("Generator is already executing.");for(;l;)try{if(i=1,o&&(a=o[2&n[0]?"return":n[0]?"throw":"next"])&&!(a=a.call(o,n[1])).done)return a;switch(o=0,a&&(n=[0,a.value]),n[0]){case 0:case 1:a=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,o=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(a=l.trys,!(a=a.length>0&&a[a.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!a||n[1]>a[0]&&n[1]<a[3])){l.label=n[1];break}if(6===n[0]&&l.label<a[1]){l.label=a[1],a=n;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(n);break}a[2]&&l.ops.pop(),l.trys.pop();continue}n=t.call(e,l)}catch(e){n=[6,e],o=0}finally{i=a=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}var i,o,a,s,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:n(0),throw:n(1),return:n(2)},"function"===typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s}function c(e,t){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}function d(e){var t="function"===typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function f(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function h(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(f(arguments[t]));return e}function p(e){return this instanceof p?(this.v=e,this):new p(e)}function m(e,t,n){function r(e){c[e]&&(u[e]=function(t){return new Promise(function(n,r){d.push([e,t,n,r])>1||i(e,t)})})}function i(e,t){try{o(c[e](t))}catch(e){l(d[0][3],e)}}function o(e){e.value instanceof p?Promise.resolve(e.value.v).then(a,s):l(d[0][2],e)}function a(e){i("next",e)}function s(e){i("throw",e)}function l(e,t){e(t),d.shift(),d.length&&i(d[0][0],d[0][1])}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u,c=n.apply(e,t||[]),d=[];return u={},r("next"),r("throw"),r("return"),u[Symbol.asyncIterator]=function(){return this},u}function g(e){function t(t,i){e[t]&&(n[t]=function(n){return(r=!r)?{value:p(e[t](n)),done:"return"===t}:i?i(n):n})}var n,r;return n={},t("next"),t("throw",function(e){throw e}),t("return"),n[Symbol.iterator]=function(){return this},n}function v(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator];return t?t.call(e):"function"===typeof d?d(e):e[Symbol.iterator]()}function y(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function b(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function w(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.__extends=r,n.d(t,"__assign",function(){return T}),t.__rest=i,t.__decorate=o,t.__param=a,t.__metadata=s,t.__awaiter=l,t.__generator=u,t.__exportStar=c,t.__values=d,t.__read=f,t.__spread=h,t.__await=p,t.__asyncGenerator=m,t.__asyncDelegator=g,t.__asyncValues=v,t.__makeTemplateObject=y,t.__importStar=b,t.__importDefault=w;var E=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])},T=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}},function(e,t,n){"use strict";(function(e){function r(e){var t=String(e);return t.replace(a,"-")}function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.dangerouslyUseGlobalCSS,i=void 0!==n&&n,o=t.productionPrefix,a=void 0===o?"jss":o,s=0;return"undefined"!==typeof window&&(e.__MUI_GENERATOR_COUNTER__+=1,e.__MUI_GENERATOR_COUNTER__>2&&console.error(["Material-UI: we have detected more than needed creation of the class name generator.","You should only use one class name generator on the client side.","If you do otherwise, you take the risk to have conflicting class names in production."].join("\n"))),function(e,t){if(s+=1,i){if(t){if(t.options.name)return"".concat(t.options.name,"-").concat(e.key);if(t.options.classNamePrefix,!1){return"".concat(r(t.options.classNamePrefix),"-").concat(e.key,"-").concat(s)}}return"".concat(a).concat(s)}return"".concat(a).concat(s)}}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;o(n(13));e.__MUI_GENERATOR_COUNTER__=0;var a=/([[\].#*$><+~=|^:(),"'`\s])/g}).call(t,n(18))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={black:"#000",white:"#fff"},i=r;t.default=i},function(e,t,n){"use strict";function r(){return{plugins:[(0,o.default)(),(0,a.default)(),(0,s.default)(),(0,l.default)(),(0,u.default)(),(0,c.default)()]}}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(300)),a=i(n(321)),s=i(n(323)),l=i(n(324)),u=i(n(326)),c=i(n(331)),d=r;t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.create=t.createGenerateClassName=t.sheets=t.RuleList=t.SheetsManager=t.SheetsRegistry=t.toCssValue=t.getDynamicStyles=void 0;var i=n(301);Object.defineProperty(t,"getDynamicStyles",{enumerable:!0,get:function(){return r(i).default}});var o=n(72);Object.defineProperty(t,"toCssValue",{enumerable:!0,get:function(){return r(o).default}});var a=n(159);Object.defineProperty(t,"SheetsRegistry",{enumerable:!0,get:function(){return r(a).default}});var s=n(302);Object.defineProperty(t,"SheetsManager",{enumerable:!0,get:function(){return r(s).default}});var l=n(60);Object.defineProperty(t,"RuleList",{enumerable:!0,get:function(){return r(l).default}});var u=n(99);Object.defineProperty(t,"sheets",{enumerable:!0,get:function(){return r(u).default}});var c=n(162);Object.defineProperty(t,"createGenerateClassName",{enumerable:!0,get:function(){return r(c).default}});var d=n(309),f=r(d),h=t.create=function(e){return new f.default(e)};t.default=h()},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){r(this,e),this.registry=[]}return i(e,[{key:"add",value:function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e)){if(0===t.length||n>=this.index)return void t.push(e);for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)}}},{key:"reset",value:function(){this.registry=[]}},{key:"remove",value:function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)}},{key:"toString",value:function(e){return this.registry.filter(function(e){return e.attached}).map(function(t){return t.toString(e)}).join("\n")}},{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(304),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){return e&&e[i.default]&&e===e[i.default]()}},function(e,t,n){"use strict";function r(e,t){e.renderable=t,e.rules&&t.cssRules&&e.rules.link(t.cssRules)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(44),o=r(i),a=n(163),s=(r(a),n(308)),l=r(s);t.default=function(){var e=0;return function(t,n){(e+=1)>1e10&&(0,o.default)(!1,"[JSS] You might have a memory leak. Rule counter is at %s.",e);var r="c",i="";return n&&(r=n.options.classNamePrefix||"c",null!=n.options.jss.id&&(i+=n.options.jss.id)),""+r+l.default+i+e}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(161),l=r(s),u=n(60),c=r(u),d=function(){function e(t,n){var r=this;i(this,e),this.update=function(e,t){return"string"===typeof e?r.rules.update(e,t):r.rules.update(e),r},this.attached=!1,this.deployed=!1,this.linked=!1,this.classes={},this.options=o({},n,{sheet:this,parent:this,classes:this.classes}),this.renderer=new n.Renderer(this),this.rules=new c.default(this.options);for(var a in t)this.rules.add(a,t[a]);this.rules.process()}return a(e,[{key:"attach",value:function(){return this.attached?this:(this.deployed||this.deploy(),this.renderer.attach(),!this.linked&&this.options.link&&this.link(),this.attached=!0,this)}},{key:"detach",value:function(){return this.attached?(this.renderer.detach(),this.attached=!1,this):this}},{key:"addRule",value:function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)}},{key:"insertRule",value:function(e){var t=this.renderer.insertRule(e);t&&this.options.link&&(0,l.default)(e,t)}},{key:"addRules",value:function(e,t){var n=[];for(var r in e)n.push(this.addRule(r,e[r],t));return n}},{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"deleteRule",value:function(e){var t=this.rules.get(e);return!!t&&(this.rules.remove(t),!this.attached||!t.renderable||this.renderer.deleteRule(t.renderable))}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"deploy",value:function(){return this.renderer.deploy(),this.deployed=!0,this}},{key:"link",value:function(){var e=this.renderer.getRules();return e&&this.rules.link(e),this.linked=!0,this}},{key:"toString",value:function(e){return this.rules.toString(e)}}]),e}();t.default=d},function(e,t,n){"use strict";function r(e){return e in a?a[e]:a[e]=e.replace(i,"-$&").toLowerCase().replace(o,"-ms-")}var i=/[A-Z]/g,o=/^ms-/,a={};e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.jss="64a55d578f856d258dc345b094a2a2b3",t.sheetsRegistry="d4bd0baacbc52bbd48bbb9eb24344ecd",t.managers="b768b78919504fba9de2c03545c5cd3a",t.sheetOptions="6fc570d6bd61383819d0f9e7407c452d"},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component,e.noBase;return n?(0,o.default)({},t,Object.keys(n).reduce(function(e,r){return n[r]&&(e[r]="".concat(t[r]," ").concat(n[r])),e},{})):t}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=(i(n(13)),i(n(103)),r);t.default=a},function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.name;return n&&t.props&&t.props[n]?t.props[n]:{}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r;t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(351),o=r(i),a=n(369),s=r(a),l="function"===typeof s.default&&"symbol"===typeof o.default?function(e){return typeof e}:function(e){return e&&"function"===typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"===typeof s.default&&"symbol"===l(o.default)?function(e){return"undefined"===typeof e?"undefined":l(e)}:function(e){return e&&"function"===typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"===typeof e?"undefined":l(e)}},function(e,t,n){"use strict";var r=n(109),i=n(77),o=n(173),a=n(48),s=n(111),l=n(356),u=n(117),c=n(363),d=n(53)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,p,m,g,v){l(n,t,p);var y,b,w,E=function(e){if(!f&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},T=t+" Iterator",_="values"==m,k=!1,x=e.prototype,S=x[d]||x["@@iterator"]||m&&x[m],C=S||E(m),O=m?_?E("entries"):C:void 0,A="Array"==t?x.entries||S:S;if(A&&(w=c(A.call(new e)))!==Object.prototype&&w.next&&(u(w,T,!0),r||"function"==typeof w[d]||a(w,d,h)),_&&S&&"values"!==S.name&&(k=!0,C=function(){return S.call(this)}),r&&!v||!f&&!k&&x[d]||a(x,d,C),s[t]=C,s[T]=h,m)if(y={values:_?C:E("values"),keys:g?C:E("keys"),entries:O},v)for(b in y)b in x||o(x,b,y[b]);else i(i.P+i.F*(f||k),t,y);return y}},function(e,t,n){var r=n(355);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){e.exports=!n(51)&&!n(78)(function(){return 7!=Object.defineProperty(n(172)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(50),i=n(34).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){e.exports=n(48)},function(e,t,n){var r=n(37),i=n(52),o=n(359)(!1),a=n(114)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(174),i=n(116).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(120),i=n(79),o=n(52),a=n(110),s=n(37),l=n(171),u=Object.getOwnPropertyDescriptor;t.f=n(51)?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(387),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=function(e){return(0,i.default)("displayName",e)};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(388),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=function(e,t){return t+"("+(0,i.default)(e)+")"};t.default=o},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function i(e){function t(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}this.setState(t.bind(this))}function o(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof e.getDerivedStateFromProps&&"function"!==typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"===typeof t.componentWillMount?n="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?s="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var l=e.displayName||e.name,u="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==a?"\n  "+a:"")+(null!==s?"\n  "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=i),"function"===typeof t.getSnapshotBeforeUpdate){if("function"!==typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;c.call(this,e,t,r)}}return e}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"polyfill",function(){return a}),r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";function r(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!==typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0,t.transitionTimeout=r;var i=n(65),o=function(e){return e&&e.__esModule?e:{default:e}}(i);t.timeoutsShape=o.default.oneOfType([o.default.number,o.default.shape({enter:o.default.number,exit:o.default.number}).isRequired]),t.classNamesShape=o.default.oneOfType([o.default.string,o.default.shape({enter:o.default.string,exit:o.default.string,active:o.default.string}),o.default.shape({enter:o.default.string,enterDone:o.default.string,enterActive:o.default.string,exit:o.default.string,exitDone:o.default.string,exitActive:o.default.string})])},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(184))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(15))),h=r(n(185)),p=r(n(5)),m=r(n(187)),g=r(n(191)),v={vertical:"top",horizontal:"right"},y={vertical:"top",horizontal:"left"},b={paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}};t.styles=b;var w=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.menuListRef=null,n.getContentAnchorEl=function(){return n.menuListRef&&n.menuListRef.selectedItemRef?f.default.findDOMNode(n.menuListRef.selectedItemRef):f.default.findDOMNode(n.menuListRef).firstChild},n.focus=function(){if(n.menuListRef&&n.menuListRef.selectedItemRef)return void f.default.findDOMNode(n.menuListRef.selectedItemRef).focus();var e=f.default.findDOMNode(n.menuListRef);e&&e.firstChild&&e.firstChild.focus()},n.handleEnter=function(e){var t=n.props,r=t.disableAutoFocusItem,i=t.theme,o=f.default.findDOMNode(n.menuListRef);if(!0!==r&&n.focus(),o&&e.clientHeight<o.clientHeight&&!o.style.width){var a="".concat((0,h.default)(),"px");o.style["rtl"===i.direction?"paddingLeft":"paddingRight"]=a,o.style.width="calc(100% + ".concat(a,")")}n.props.onEnter&&n.props.onEnter(e)},n.handleListKeyDown=function(e,t){"tab"===t&&(e.preventDefault(),n.props.onClose&&n.props.onClose(e))},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.props.open&&!0!==this.props.disableAutoFocusItem&&this.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.classes,a=(t.disableAutoFocusItem,t.MenuListProps),s=(t.onEnter,t.PaperProps),l=void 0===s?{}:s,u=t.PopoverClasses,c=t.theme,f=(0,o.default)(t,["children","classes","disableAutoFocusItem","MenuListProps","onEnter","PaperProps","PopoverClasses","theme"]);return d.default.createElement(m.default,(0,i.default)({getContentAnchorEl:this.getContentAnchorEl,classes:u,onEnter:this.handleEnter,anchorOrigin:"rtl"===c.direction?v:y,transformOrigin:"rtl"===c.direction?v:y,PaperProps:(0,i.default)({},l,{classes:(0,i.default)({},l.classes,{root:r.paper})})},f),d.default.createElement(g.default,(0,i.default)({onKeyDown:this.handleListKeyDown},a,{ref:function(t){e.menuListRef=t}}),n))}}]),t}(d.default.Component);w.propTypes={},w.defaultProps={disableAutoFocusItem:!1,transitionDuration:"auto"};var E=(0,p.default)(b,{name:"MuiMenu",withTheme:!0})(w);t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((!o&&0!==o||e)&&i.default){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),o=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return o};var r=n(186),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=void 0;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=!("undefined"===typeof window||!window.document||!window.document.createElement),e.exports=t.default},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(404))},function(e,t,n){"use strict";function r(e,t){var n=-1;return e.some(function(e,r){return!!t(e)&&(n=r,!0)}),n}function i(e){return parseInt((0,c.default)(e,"paddingRight")||0,10)}function o(e,t){var n={overflow:"hidden"};if(e.style={overflow:t.style.overflow,paddingRight:t.style.paddingRight},e.overflowing){var r=(0,d.default)();n.paddingRight="".concat(i(t)+r,"px");for(var o=(0,f.default)(t).querySelectorAll(".mui-fixed"),a=0;a<o.length;a+=1){var s=i(o[a]);e.prevPaddings.push(s),o[a].style.paddingRight="".concat(s+r,"px")}}Object.keys(n).forEach(function(e){t.style[e]=n[e]})}function a(e,t){Object.keys(e.style).forEach(function(n){t.style[n]=e.style[n]});for(var n=(0,f.default)(t).querySelectorAll(".mui-fixed"),r=0;r<n.length;r+=1)n[r].style.paddingRight="".concat(e.prevPaddings[r],"px")}var s=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=s(n(8)),u=s(n(9)),c=s(n(408)),d=s(n(185)),f=s(n(30)),h=s(n(416)),p=n(418),m=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,l.default)(this,e);var n=t.hideSiblingNodes,r=void 0===n||n,i=t.handleContainerOverflow,o=void 0===i||i;this.hideSiblingNodes=r,this.handleContainerOverflow=o,this.modals=[],this.containers=[],this.data=[]}return(0,u.default)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),this.hideSiblingNodes&&(0,p.hideSiblings)(t,e.mountNode);var r=this.containers.indexOf(t);if(-1!==r)return this.data[r].modals.push(e),n;var i={modals:[e],overflowing:(0,h.default)(t),prevPaddings:[]};return this.handleContainerOverflow&&o(i,t),this.containers.push(t),this.data.push(i),n}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=r(this.data,function(t){return-1!==t.modals.indexOf(e)}),i=this.data[n],o=this.containers[n];return i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(t,1),0===i.modals.length?(this.handleContainerOverflow&&a(i,o),this.hideSiblingNodes&&(0,p.showSiblings)(o,e.mountNode),this.containers.splice(n,1),this.data.splice(n,1)):this.hideSiblingNodes&&(0,p.ariaHidden)(!1,i.modals[i.modals.length-1].mountNode),t}},{key:"isTopModal",value:function(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}}]),e}(),g=m;t.default=g},function(e,t,n){"use strict";function r(e){return(0,o.default)(e.replace(a,"ms-"))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(409),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=/^-ms-/;e.exports=t.default},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(419))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(422))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(423))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(425))},function(e,t,n){"use strict";function r(e){var t=e.alt,n=e.children,r=e.childrenClassName,i=e.classes,c=e.className,d=e.component,f=e.imgProps,h=e.sizes,p=e.src,m=e.srcSet,g=(0,s.default)(e,["alt","children","childrenClassName","classes","className","component","imgProps","sizes","src","srcSet"]),v=(0,u.default)(i.root,(0,a.default)({},i.colorDefault,n&&!p&&!m),c),y=null;if(p||m)y=l.default.createElement("img",(0,o.default)({alt:t,src:p,srcSet:m,sizes:h,className:i.img},f));else if(r&&l.default.isValidElement(n)){var b=(0,u.default)(r,n.props.className);y=l.default.cloneElement(n,{className:b})}else y=n;return l.default.createElement(d,(0,o.default)({className:v},g),y)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover"}}};t.styles=d,r.propTypes={},r.defaultProps={component:"div"};var f=(0,c.default)(d,{name:"MuiAvatar"})(r);t.default=f},function(e,t,n){"use strict";var r=n(62);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(465)),o=function(e){return(0,i.default)("displayName",e)},a=o;t.default=a},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(474))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(492))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(495))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(496))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(497))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(501))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(502))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(503))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(522))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(523))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(530))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.IconComponent,i=e.input,u=e.inputProps,c=(0,a.default)(e,["children","classes","IconComponent","input","inputProps"]);return s.default.cloneElement(i,(0,o.default)({inputComponent:l.default,inputProps:(0,o.default)({children:t,classes:n,IconComponent:r,type:void 0},u,i?i.props.inputProps:{})},c))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(208))),u=i(n(5)),c=i(n(209)),d=i(n(66)),f=function(e){return{root:{position:"relative",width:"100%"},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",paddingRight:32,width:"calc(100% - 32px)",minWidth:16,cursor:"pointer","&:focus":{background:"light"===e.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&:-moz-focusring":{color:"transparent",textShadow:"0 0 0 #000"},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"}},selectMenu:{width:"auto",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",minHeight:"1.1875em"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",color:e.palette.action.active,"pointer-events":"none"}}};t.styles=f,r.propTypes={},r.defaultProps={IconComponent:c.default,input:s.default.createElement(d.default,null)},r.muiName="NativeSelect";var h=(0,u.default)(f,{name:"MuiNativeSelect"})(r);t.default=h},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=e.disabled,c=e.IconComponent,d=e.inputRef,f=e.name,h=e.onChange,p=e.value,m=(0,s.default)(e,["children","classes","className","disabled","IconComponent","inputRef","name","onChange","value"]);return l.default.createElement("div",{className:n.root},l.default.createElement("select",(0,o.default)({className:(0,u.default)(n.select,(0,a.default)({},n.disabled,i),r),name:f,disabled:i,onChange:h,value:p,ref:d},m),t),l.default.createElement(c,{className:n.icon}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6)));r.propTypes={};var c=r;t.default=c},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M7 10l5 5 5-5z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(536))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(537))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(549))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(554))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(555))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(558))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(572))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(586))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(592))},function(e,t,n){"use strict";var r=n(76);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(106)),a=(0,o.default)(i.default.createElement("g",null,i.default.createElement("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),"ExpandMore");t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.removeHash=t.goToAnchor=t.configureAnchors=t.goToTop=void 0;var i=n(223);Object.defineProperty(t,"goToAnchor",{enumerable:!0,get:function(){return i.updateHash}}),Object.defineProperty(t,"removeHash",{enumerable:!0,get:function(){return i.removeHash}});var o=n(611);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(o).default}});var a=n(224),s=r(a);t.goToTop=s.default.goToTop,t.configureAnchors=s.default.configure},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.getHash=function(){return decodeURI(window.location.hash.slice(1))},t.updateHash=function(e,t){t?window.location.hash=e:window.location.replace("#"+e)},t.removeHash=function(){history.replaceState("",document.title,window.location.pathname+window.location.search)}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(612),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=n(613),l=n(614),u=n(223),c={offset:0,scrollDuration:400,keepLastAnchorHash:!1},d=function e(){var t=this;r(this,e),this.addListeners=function(){window.addEventListener("scroll",t.scrollHandler,!1),window.addEventListener("hashchange",t.handleHashChange)},this.removeListeners=function(){window.removeEventListener("scroll",t.scrollHandler,!1),window.removeEventListener("hashchange",t.handleHashChange)},this.configure=function(e){t.config=i({},c,e)},this.goToTop=function(){0!==(0,l.getScrollTop)()&&(t.forcedHash=!0,window.scroll(0,0))},this.addAnchor=function(e,n){0===Object.keys(t.anchors).length&&t.addListeners(),t.forceHashUpdate(),t.anchors[e]=n},this.removeAnchor=function(e){delete t.anchors[e],0===Object.keys(t.anchors).length&&t.removeListeners()},this.handleScroll=function(){var e=t.config,n=e.offset,r=e.keepLastAnchorHash,i=(0,l.getBestAnchorGivenScrollLocation)(t.anchors,n);i&&(0,u.getHash)()!==i?(t.forcedHash=!0,(0,u.updateHash)(i,!1)):i||r||(0,u.removeHash)()},this.handleHashChange=function(e){t.forcedHash?t.forcedHash=!1:t.goToSection((0,u.getHash)())},this.goToSection=function(e){var n=t.anchors[e];n?(0,a.default)(n,{duration:t.config.scrollDuration,offset:t.config.offset}):(n=document.getElementById(e))&&(0,a.default)(n,{duration:0,offset:t.config.offset})},this.anchors={},this.forcedHash=!1,this.config=c,this.scrollHandler=(0,s.debounce)(this.handleScroll,100),this.forceHashUpdate=(0,s.debounce)(this.handleHashChange,1)};t.default=new d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n,r){return"in"in e&&(e.when=e.in),s.default.Children.count(r)<2?s.default.createElement(u.default,o({},e,{inEffect:t,outEffect:n,children:r})):(r=s.default.Children.map(r,function(r){return s.default.createElement(u.default,o({},e,{inEffect:t,outEffect:n,children:r}))}),"Fragment"in s.default?s.default.createElement(s.default.Fragment,null,r):s.default.createElement("span",null,r))}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=i;var a=n(1),s=r(a),l=n(616),u=r(l);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ViewportSizeType=t.ColumnSizeType=void 0;var r=n(2),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.ColumnSizeType=i.default.oneOfType([i.default.number,i.default.bool]),t.ViewportSizeType=i.default.oneOf(["xs","sm","md","lg","xl"])},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return o}),n.d(t,"d",function(){return a});var r={prefix:"fab",iconName:"facebook",icon:[448,512,[],"f09a","M448 56.7v398.5c0 13.7-11.1 24.7-24.7 24.7H309.1V306.5h58.2l8.7-67.6h-67v-43.2c0-19.6 5.4-32.9 33.5-32.9h35.8v-60.5c-6.2-.8-27.4-2.7-52.2-2.7-51.6 0-87 31.5-87 89.4v49.9h-58.4v67.6h58.4V480H24.7C11.1 480 0 468.9 0 455.3V56.7C0 43.1 11.1 32 24.7 32h398.5c13.7 0 24.8 11.1 24.8 24.7z"]},i={prefix:"fab",iconName:"github",icon:[496,512,[],"f09b","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]},o={prefix:"fab",iconName:"instagram",icon:[448,512,[],"f16d","M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]},a={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]}},function(e,t,n){function r(e,t,n){var r=u[t];if("undefined"===typeof r&&(r=o(t)),r){if(void 0===n)return e.style[r];e.style[r]=c(r,n)}}function i(e,t){for(var n in t)t.hasOwnProperty(n)&&r(e,n,t[n])}function o(e){var t=l(e),n=s(t);return u[t]=u[e]=u[n]=n,n}function a(){2===arguments.length?"string"===typeof arguments[1]?arguments[0].style.cssText=arguments[1]:i(arguments[0],arguments[1]):r(arguments[0],arguments[1],arguments[2])}var s=n(630),l=n(631),u={float:"cssFloat"},c=n(634);e.exports=a,e.exports.set=a,e.exports.get=function(e,t){return Array.isArray(t)?t.reduce(function(t,n){return t[n]=r(e,n||""),t},{}):r(e,t||"")}},function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var i=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,o=function(e){return i.exec(e).slice(1)};t.resolve=function(){for(var t="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,i="/"===a.charAt(0))}return t=n(r(t.split("/"),function(e){return!!e}),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){var i=t.isAbsolute(e),o="/"===a(e,-1);return e=n(r(e.split("/"),function(e){return!!e}),!i).join("/"),e||i||(e="."),e&&o&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l<a;l++)if(i[l]!==o[l]){s=l;break}for(var u=[],l=s;l<i.length;l++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){var t=o(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},t.basename=function(e,t){var n=o(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){return o(e)[3]};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(t,n(43))},function(e,t,n){"use strict";function r(e){function t(t){return e.apply(this,t)}function n(){return this instanceof n?e.apply(this,arguments):new t(arguments)}var r,a,s;o(n,e),o(t,n),r=n.prototype;for(a in r)(s=r[a])&&"object"===typeof s&&(r[a]="concat"in s?s.concat():i(s));return n}var i=n(24),o=n(659);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){function r(){function r(){i[e]=o}var i=n||this,o=i[e];return i[e]=!t,r}return r}e.exports=r},function(e,t){e.exports={AElig:"\xc6",AMP:"&",Aacute:"\xc1",Acirc:"\xc2",Agrave:"\xc0",Aring:"\xc5",Atilde:"\xc3",Auml:"\xc4",COPY:"\xa9",Ccedil:"\xc7",ETH:"\xd0",Eacute:"\xc9",Ecirc:"\xca",Egrave:"\xc8",Euml:"\xcb",GT:">",Iacute:"\xcd",Icirc:"\xce",Igrave:"\xcc",Iuml:"\xcf",LT:"<",Ntilde:"\xd1",Oacute:"\xd3",Ocirc:"\xd4",Ograve:"\xd2",Oslash:"\xd8",Otilde:"\xd5",Ouml:"\xd6",QUOT:'"',REG:"\xae",THORN:"\xde",Uacute:"\xda",Ucirc:"\xdb",Ugrave:"\xd9",Uuml:"\xdc",Yacute:"\xdd",aacute:"\xe1",acirc:"\xe2",acute:"\xb4",aelig:"\xe6",agrave:"\xe0",amp:"&",aring:"\xe5",atilde:"\xe3",auml:"\xe4",brvbar:"\xa6",ccedil:"\xe7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",ecirc:"\xea",egrave:"\xe8",eth:"\xf0",euml:"\xeb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",iacute:"\xed",icirc:"\xee",iexcl:"\xa1",igrave:"\xec",iquest:"\xbf",iuml:"\xef",laquo:"\xab",lt:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",oacute:"\xf3",ocirc:"\xf4",ograve:"\xf2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",otilde:"\xf5",ouml:"\xf6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',raquo:"\xbb",reg:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",times:"\xd7",uacute:"\xfa",ucirc:"\xfb",ugrave:"\xf9",uml:"\xa8",uuml:"\xfc",yacute:"\xfd",yen:"\xa5",yuml:"\xff"}},function(e,t,n){"use strict";function r(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}e.exports=r},function(e,t,n){"use strict";function r(e){return i(e)||o(e)}var i=n(235),o=n(68);e.exports=r},function(e,t,n){"use strict";function r(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}e.exports=r},function(e,t,n){"use strict";function r(e){var t=e||{};return t.commonmark?a:t.gfm?o:i}e.exports=r;var i=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],o=i.concat(["~","|"]),a=o.concat(["\n",'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);r.default=i,r.gfm=o,r.commonmark=a},function(e,t,n){"use strict";e.exports={position:!0,gfm:!0,commonmark:!1,footnotes:!1,pedantic:!1,blocks:n(668)}},function(e,t,n){"use strict";function r(e,t,n,o,a){var s=null!==o&&void 0!==o,l=null!==n&&void 0!==n,u=i(e);if(l&&("number"!==typeof n||n<0||n===1/0))throw new Error("Expected positive finite index or child node");if(s&&(!r(null,o)||!o.children))throw new Error("Expected parent node");if(!t||!t.type||"string"!==typeof t.type)return!1;if(s!==l)throw new Error("Expected both parent and index");return Boolean(u.call(a,t,n,o))}function i(e){if("string"===typeof e)return l(e);if(null===e||void 0===e)return u;if("object"===typeof e)return("length"in e?s:a)(e);if("function"===typeof e)return e;throw new Error("Expected function, string, or object as test")}function o(e){for(var t=[],n=e.length,r=-1;++r<n;)t[r]=i(e[r]);return t}function a(e){function t(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}return t}function s(e){function t(){for(var e=-1;++e<r;)if(n[e].apply(this,arguments))return!0;return!1}var n=o(e),r=n.length;return t}function l(e){function t(t){return Boolean(t&&t.type===e)}return t}function u(){return!0}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n=0,r=0,o=e.charAt(n),a={};o in i;)t=i[o],r+=t,t>1&&(r=Math.floor(r/t)*t),a[r]=n,o=e.charAt(++n);return{indent:r,stops:a}}e.exports=r;var i={" ":1,"\t":4}},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.openCloseTag=new RegExp("^(?:"+r+"|"+i+")"),t.tag=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Za-z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)")},function(e,t,n){"use strict";function r(e){return String(e).replace(/\s+/g," ")}e.exports=r},function(e,t,n){"use strict";function r(e,t){return e.indexOf("<",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);return-1===r?n:n<r?n:r}e.exports=r},function(e,t,n){"use strict";function r(e){return e}e.exports=r},function(e,t,n){"use strict";function r(e){return e.length}e.exports={gfm:!0,commonmark:!1,pedantic:!1,entities:"false",setext:!1,closeAtx:!1,looseTable:!1,spacedTable:!0,paddedTable:!0,stringLength:r,incrementListMarker:!0,fences:!1,fence:"`",bullet:"-",listItemIndent:"tab",rule:"*",ruleSpaces:!0,ruleRepetition:3,strong:"*",emphasis:"_"}},function(e,t,n){"use strict";function r(e){var t;return"&"!==e.charAt(0)?0:(t=e.split("&",2).join("&"),t.length-i(t).length)}var i=n(88);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n,r;for(e=e.split("\n"),n=e.length,r=i(" ",t*o);n--;)0!==e[n].length&&(e[n]=r+e[n]);return e.join("\n")}var i=n(22);e.exports=r;var o=4},function(e,t,n){"use strict";function r(e,t){var n,r,i=0,o=0;if("string"!==typeof t||1!==t.length)throw new Error("Expected character");for(e=String(e),r=e.indexOf(t),n=r;-1!==r;)i++,r===n?i>o&&(o=i):i=1,n=r+1,r=e.indexOf(t,n);return o}e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.referenceType,n="full"===t?e.identifier:"";return"shortcut"===t?n:"["+n+"]"}e.exports=r},function(e,t,n){"use strict";function r(e){function t(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:isNaN(n.offset)?null:n.offset}}return t.displayName=e,t}var i=t;i.start=r("start"),i.end=r("end")},function(e,t,n){"use strict";function r(e,t){return o(t)?e.augment(t,a("text",t.value)):e(t,"div",s(e,t))}function i(e,t,n){var i=t&&t.type,o=l.call(e.handlers,i)?e.handlers[i]:null;if(!i)throw new Error("Expected node, got `"+t+"`");return("function"===typeof o?o:r)(e,t,n)}function o(e){var t=e.data||{};return!(l.call(t,"hName")||l.call(t,"hProperties")||l.call(t,"hChildren"))&&"value"in e}e.exports=i;var a=n(23),s=n(17),l={}.hasOwnProperty},function(e,t,n){"use strict";function r(e,t){return e(t,"hr")}e.exports=r},function(e,t,n){"use strict";function r(e,t){var n={},r=t.ordered?"ol":"ul";return"number"===typeof t.start&&1!==t.start&&(n.start=t.start),e(t,r,n,i(o(e,t),!0))}e.exports=r;var i=n(57),o=n(17)},function(e,t,n){"use strict";function r(e,t){var n=t.identifier;return e(t.position,"sup",{id:"fnref-"+n},[e(t,"a",{href:"#fn-"+n,className:["footnote-ref"]},[i("text",n)])])}e.exports=r;var i=n(23)},function(e,t,n){"use strict";function r(e,t,n){var r=t.referenceType;if("collapsed"!==r&&"full"!==r&&!n)return"imageReference"===t.type?i("text","!["+t.alt+"]"):[i("text","[")].concat(o(e,t),i("text","]"))}e.exports=r;var i=n(23),o=n(17)},function(e,t,n){"use strict";var r=n(787),i=n(789),o="function"===typeof Symbol&&"symbol"===typeof Symbol(),a=Object.prototype.toString,s=function(e){return"function"===typeof e&&"[object Function]"===a.call(e)},l=Object.defineProperty&&function(){var e={};try{Object.defineProperty(e,"x",{enumerable:!1,value:e});for(var t in e)return!1;return e.x===e}catch(e){return!1}}(),u=function(e,t,n,r){(!(t in e)||s(r)&&r())&&(l?Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},c=function(e,t){var n=arguments.length>2?arguments[2]:{},a=r(t);o&&(a=a.concat(Object.getOwnPropertySymbols(t))),i(a,function(r){u(e,r,t[r],n[r])})};c.supportsDescriptors=!!l,e.exports=c},function(e,t,n){"use strict";e.exports=function(e){return e!==e}},function(e,t,n){"use strict";var r=n(257);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}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")}}(),i=n(143),o=n(260),a={create:function(e){return(0,i.mapObj)(e,function(e){var t=r(e,2),n=t[0],o=t[1];return[n,{_name:n+"_"+(0,i.hashObject)(o),_definition:o}]})},rehydrate:function(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];(0,o.addRenderedClassNames)(e)}},s={renderStatic:function(e){return(0,o.reset)(),(0,o.startBuffering)(),{html:e(),css:{content:(0,o.flushToString)(),renderedClassNames:(0,o.getRenderedClassNames)()}}}},l={suppressStyleInjection:function(){(0,o.reset)(),(0,o.startBuffering)()},clearBufferAndResumeStyleInjection:function(){(0,o.reset)()}},u=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.injectAndGetClassName)(!0,t)};t.default={StyleSheet:a,StyleSheetServer:s,StyleSheetTestUtils:l,css:u},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(801),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=n(802),a=n(143),s=null,l=function(e){if(null==s&&null==(s=document.querySelector("style[data-aphrodite]"))){var t=document.head||document.getElementsByTagName("head")[0];s=document.createElement("style"),s.type="text/css",s.setAttribute("data-aphrodite",""),t.appendChild(s)}s.styleSheet?s.styleSheet.cssText+=e:s.appendChild(document.createTextNode(e))},u={fontFamily:function e(t){return Array.isArray(t)?t.map(e).join(","):"object"===typeof t?(p(t.fontFamily,"@font-face",[t],!1),'"'+t.fontFamily+'"'):t},animationName:function(e){if("object"!==typeof e)return e;var t="keyframe_"+(0,a.hashObject)(e),n="@keyframes "+t+"{";return Object.keys(e).forEach(function(t){n+=(0,o.generateCSS)(t,[e[t]],u,!1)}),n+="}",h(t,n),t}},c={},d="",f=!1,h=function(e,t){if(!c[e]){if(!f){if("undefined"===typeof document)throw new Error("Cannot automatically buffer without a document");f=!0,(0,i.default)(y)}d+=t,c[e]=!0}},p=function(e,t,n,r){if(!c[e]){var i=(0,o.generateCSS)(t,n,u,r);h(e,i)}};t.injectStyleOnce=p;var m=function(){d="",c={},f=!1,s=null};t.reset=m;var g=function(){if(f)throw new Error("Cannot buffer while already buffering");f=!0};t.startBuffering=g;var v=function(){f=!1;var e=d;return d="",e};t.flushToString=v;var y=function(){var e=v();e.length>0&&l(e)};t.flushToStyleTag=y;var b=function(){return Object.keys(c)};t.getRenderedClassNames=b;var w=function(e){e.forEach(function(e){c[e]=!0})};t.addRenderedClassNames=w;var E=function(e,t){var n=t.filter(function(e){return e});if(0===n.length)return"";var r=n.map(function(e){return e._name}).join("-o_O-");return p(r,"."+r,n.map(function(e){return e._definition}),e),r};t.injectAndGetClassName=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={Webkit:{transform:!0,transformOrigin:!0,transformOriginX:!0,transformOriginY:!0,backfaceVisibility:!0,perspective:!0,perspectiveOrigin:!0,transformStyle:!0,transformOriginZ:!0,animation:!0,animationDelay:!0,animationDirection:!0,animationFillMode:!0,animationDuration:!0,animationIterationCount:!0,animationName:!0,animationPlayState:!0,animationTimingFunction:!0,appearance:!0,userSelect:!0,fontKerning:!0,textEmphasisPosition:!0,textEmphasis:!0,textEmphasisStyle:!0,textEmphasisColor:!0,boxDecorationBreak:!0,clipPath:!0,maskImage:!0,maskMode:!0,maskRepeat:!0,maskPosition:!0,maskClip:!0,maskOrigin:!0,maskSize:!0,maskComposite:!0,mask:!0,maskBorderSource:!0,maskBorderMode:!0,maskBorderSlice:!0,maskBorderWidth:!0,maskBorderOutset:!0,maskBorderRepeat:!0,maskBorder:!0,maskType:!0,textDecorationStyle:!0,textDecorationSkip:!0,textDecorationLine:!0,textDecorationColor:!0,filter:!0,fontFeatureSettings:!0,breakAfter:!0,breakBefore:!0,breakInside:!0,columnCount:!0,columnFill:!0,columnGap:!0,columnRule:!0,columnRuleColor:!0,columnRuleStyle:!0,columnRuleWidth:!0,columns:!0,columnSpan:!0,columnWidth:!0,flex:!0,flexBasis:!0,flexDirection:!0,flexGrow:!0,flexFlow:!0,flexShrink:!0,flexWrap:!0,alignContent:!0,alignItems:!0,alignSelf:!0,justifyContent:!0,order:!0,transition:!0,transitionDelay:!0,transitionDuration:!0,transitionProperty:!0,transitionTimingFunction:!0,backdropFilter:!0,scrollSnapType:!0,scrollSnapPointsX:!0,scrollSnapPointsY:!0,scrollSnapDestination:!0,scrollSnapCoordinate:!0,shapeImageThreshold:!0,shapeImageMargin:!0,shapeImageOutside:!0,hyphens:!0,flowInto:!0,flowFrom:!0,regionFragment:!0,textSizeAdjust:!0},Moz:{appearance:!0,userSelect:!0,boxSizing:!0,textAlignLast:!0,textDecorationStyle:!0,textDecorationSkip:!0,textDecorationLine:!0,textDecorationColor:!0,tabSize:!0,hyphens:!0,fontFeatureSettings:!0,breakAfter:!0,breakBefore:!0,breakInside:!0,columnCount:!0,columnFill:!0,columnGap:!0,columnRule:!0,columnRuleColor:!0,columnRuleStyle:!0,columnRuleWidth:!0,columns:!0,columnSpan:!0,columnWidth:!0},ms:{flex:!0,flexBasis:!1,flexDirection:!0,flexGrow:!1,flexFlow:!0,flexShrink:!1,flexWrap:!0,alignContent:!1,alignItems:!1,alignSelf:!1,justifyContent:!1,order:!1,transform:!0,transformOrigin:!0,transformOriginX:!0,transformOriginY:!0,userSelect:!0,wrapFlow:!0,wrapThrough:!0,wrapMargin:!0,scrollSnapType:!0,scrollSnapPointsX:!0,scrollSnapPointsY:!0,scrollSnapDestination:!0,scrollSnapCoordinate:!0,touchAction:!0,hyphens:!0,flowInto:!0,flowFrom:!0,breakBefore:!0,breakAfter:!0,breakInside:!0,regionFragment:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridTemplate:!0,gridAutoColumns:!0,gridAutoRows:!0,gridAutoFlow:!0,grid:!0,gridRowStart:!0,gridColumnStart:!0,gridRowEnd:!0,gridRow:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridRowGap:!0,gridArea:!0,gridGap:!0,textSizeAdjust:!0}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e.exports=t.default},function(e,t,n){var r;!function(){"use strict";var i=!("undefined"===typeof window||!window.document||!window.document.createElement),o={canUseDOM:i,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0!==(r=function(){return o}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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.defaultProps=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(1),l=(function(e){e&&e.__esModule}(s),t.defaultProps={attributes:{},styles:{}}),u=function(e){function t(){var e,n,o,a;r(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=o=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.originalAttributes={},o.originalStyles={},a=n,i(o,a)}return o(t,e),a(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.styles,i=t.target,o=void 0===i?document.body:i;o&&(this.attributeKeys=Object.keys(n),this.styleKeys=Object.keys(r),this.styleKeys.length&&this.styleKeys.forEach(function(t){e.originalStyles[t]=o.style.getPropertyValue(t),o.style.setProperty(t,r[t])}),this.attributeKeys.length&&this.attributeKeys.forEach(function(t){e.originalAttributes[t]=o.getAttribute(t)||"",o.setAttribute(t,n[t])}))}},{key:"componentWillUnmount",value:function(){var e=this,t=this.props.target,n=void 0===t?document.body:t;n&&(this.styleKeys.length&&this.styleKeys.forEach(function(t){n.style.setProperty(t,e.originalStyles[t])}),this.attributeKeys.length&&this.attributeKeys.forEach(function(t){e.originalAttributes[t]?n.setAttribute(t,e.originalAttributes[t]):n.removeAttribute(t)}))}},{key:"render",value:function(){return null}}]),t}(s.PureComponent);u.defaultProps=l,t.default=u},function(e,t,n){"use strict";function r(e){e.preventDefault()}function i(e){e.stopPropagation()}function o(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function a(){return!!window&&("ontouchstart"in window||navigator.maxTouchPoints)}function s(){if(!document||!window)return 0;var e=parseInt(document.body.paddingRight,10)||0,t=document.body?document.body.clientWidth:0;return window.innerWidth-t+e||0}function l(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if(window&&window.innerHeight)return window.innerHeight*e}function c(){if(document&&document.body)return document.body.clientHeight}function d(e){return isNaN(e)?e:e+"px"}Object.defineProperty(t,"__esModule",{value:!0}),t.preventTouchMove=r,t.allowTouchMove=i,t.preventInertiaScroll=o,t.isTouchDevice=a,t.getPadding=s,t.camelToKebab=l,t.getWindowHeight=u,t.getDocumentHeight=c,t.parse=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=t.theme,r=e.direction,o=e.icon,s=e.onClick,l=e.size,u=i(e,["direction","icon","onClick","size"]),f=d.StyleSheet.create((0,m.default)(y,n));return c.default.createElement("button",a({type:"button",className:(0,d.css)(f.arrow,f["arrow__direction__"+r],l&&f["arrow__size__"+l]),onClick:s,onTouchEnd:s},u),c.default.createElement(v.default,{fill:!!n.arrow&&n.arrow.fill||h.default.arrow.fill,type:o}))}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(2),l=r(s),u=n(1),c=r(u),d=n(42),f=n(41),h=r(f),p=n(58),m=r(p),g=n(267),v=r(g);o.propTypes={direction:l.default.oneOf(["left","right"]),icon:l.default.string,onClick:l.default.func.isRequired,size:l.default.oneOf(["medium","small"]).isRequired},o.defaultProps={size:"medium"},o.contextTypes={theme:l.default.object.isRequired};var y={arrow:{background:"none",border:"none",borderRadius:4,cursor:"pointer",outline:"none",padding:10,position:"absolute",top:"50%",WebkitTouchCallout:"none",userSelect:"none"},arrow__size__medium:{height:h.default.arrow.height,marginTop:h.default.arrow.height/-2,width:40,"@media (min-width: 768px)":{width:70}},arrow__size__small:{height:h.default.thumbnail.size,marginTop:h.default.thumbnail.size/-2,width:30,"@media (min-width: 500px)":{width:40}},arrow__direction__right:{right:h.default.container.gutter.horizontal},arrow__direction__left:{left:h.default.container.gutter.horizontal}};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(2),s=r(a),l=n(1),u=r(l),c=n(822),d=r(c),f=n(823),h=r(f),p=n(824),m=r(p),g={arrowLeft:d.default,arrowRight:h.default,close:m.default},v=function(e){var t=e.fill,n=e.type,r=i(e,["fill","type"]),a=g[n];return u.default.createElement("span",o({dangerouslySetInnerHTML:{__html:a(t)}},r))};v.propTypes={fill:s.default.string,type:s.default.oneOf(Object.keys(g))},v.defaultProps={fill:"white"},t.default=v},function(e,t,n){n(269),e.exports=n(273)},function(e,t,n){"use strict";"undefined"===typeof Promise&&(n(270).enable(),window.Promise=n(271)),n(272),Object.assign=n(70)},function(e,t,n){"use strict";function r(){u=!1,s._47=null,s._71=null}function i(e){function t(t){(e.allRejections||a(d[t].error,e.whitelist||l))&&(d[t].displayId=c++,e.onUnhandled?(d[t].logged=!0,e.onUnhandled(d[t].displayId,d[t].error)):(d[t].logged=!0,o(d[t].displayId,d[t].error)))}function n(t){d[t].logged&&(e.onHandled?e.onHandled(d[t].displayId,d[t].error):d[t].onUnhandled||(console.warn("Promise Rejection Handled (id: "+d[t].displayId+"):"),console.warn('  This means you can ignore any previous messages of the form "Possible Unhandled Promise Rejection" with id '+d[t].displayId+".")))}e=e||{},u&&r(),u=!0;var i=0,c=0,d={};s._47=function(e){2===e._83&&d[e._56]&&(d[e._56].logged?n(e._56):clearTimeout(d[e._56].timeout),delete d[e._56])},s._71=function(e,n){0===e._75&&(e._56=i++,d[e._56]={displayId:null,error:n,timeout:setTimeout(t.bind(null,e._56),a(n,l)?100:2e3),logged:!1})}}function o(e,t){console.warn("Possible Unhandled Promise Rejection (id: "+e+"):"),((t&&(t.stack||t))+"").split("\n").forEach(function(e){console.warn("  "+e)})}function a(e,t){return t.some(function(t){return e instanceof t})}var s=n(145),l=[ReferenceError,TypeError,RangeError],u=!1;t.disable=r,t.enable=i},function(e,t,n){"use strict";function r(e){var t=new i(i._44);return t._83=1,t._18=e,t}var i=n(145);e.exports=i;var o=r(!0),a=r(!1),s=r(null),l=r(void 0),u=r(0),c=r("");i.resolve=function(e){if(e instanceof i)return e;if(null===e)return s;if(void 0===e)return l;if(!0===e)return o;if(!1===e)return a;if(0===e)return u;if(""===e)return c;if("object"===typeof e||"function"===typeof e)try{var t=e.then;if("function"===typeof t)return new i(t.bind(e))}catch(e){return new i(function(t,n){n(e)})}return r(e)},i.all=function(e){var t=Array.prototype.slice.call(e);return new i(function(e,n){function r(a,s){if(s&&("object"===typeof s||"function"===typeof s)){if(s instanceof i&&s.then===i.prototype.then){for(;3===s._83;)s=s._18;return 1===s._83?r(a,s._18):(2===s._83&&n(s._18),void s.then(function(e){r(a,e)},n))}var l=s.then;if("function"===typeof l){return void new i(l.bind(s)).then(function(e){r(a,e)},n)}}t[a]=s,0===--o&&e(t)}if(0===t.length)return e([]);for(var o=t.length,a=0;a<t.length;a++)r(a,t[a])})},i.reject=function(e){return new i(function(t,n){n(e)})},i.race=function(e){return new i(function(t,n){e.forEach(function(e){i.resolve(e).then(t,n)})})},i.prototype.catch=function(e){return this.then(null,e)}},function(e,t){!function(e){"use strict";function t(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!==typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return v.iterable&&(t[Symbol.iterator]=function(){return t}),t}function i(e){this.map={},e instanceof i?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function o(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function a(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function s(e){var t=new FileReader,n=a(t);return t.readAsArrayBuffer(e),n}function l(e){var t=new FileReader,n=a(t);return t.readAsText(e),n}function u(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function c(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"===typeof e)this._bodyText=e;else if(v.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(v.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(v.arrayBuffer&&v.blob&&b(e))this._bodyArrayBuffer=c(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!v.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!w(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=c(e)}else this._bodyText="";this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},v.blob&&(this.blob=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?o(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(s)}),this.text=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return l(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(u(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},v.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(e){var t=e.toUpperCase();return E.indexOf(t)>-1?t:e}function h(e,t){t=t||{};var n=t.body;if(e instanceof h){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new i(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new i(t.headers)),this.method=f(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function m(e){var t=new i;return e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t}function g(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new i(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var v={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(v.arrayBuffer)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(e){return e&&DataView.prototype.isPrototypeOf(e)},w=ArrayBuffer.isView||function(e){return e&&y.indexOf(Object.prototype.toString.call(e))>-1};i.prototype.append=function(e,r){e=t(e),r=n(r);var i=this.map[e];this.map[e]=i?i+","+r:r},i.prototype.delete=function(e){delete this.map[t(e)]},i.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},i.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},i.prototype.set=function(e,r){this.map[t(e)]=n(r)},i.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},i.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},i.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},i.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},v.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries);var E=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];h.prototype.clone=function(){return new h(this,{body:this._bodyInit})},d.call(h.prototype),d.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},g.error=function(){var e=new g(null,{status:0,statusText:""});return e.type="error",e};var T=[301,302,303,307,308];g.redirect=function(e,t){if(-1===T.indexOf(t))throw new RangeError("Invalid status code");return new g(null,{status:t,headers:{location:e}})},e.Headers=i,e.Request=h,e.Response=g,e.fetch=function(e,t){return new Promise(function(n,r){var i=new h(e,t),o=new XMLHttpRequest;o.onload=function(){var e={status:o.status,statusText:o.statusText,headers:m(o.getAllResponseHeaders()||"")};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var t="response"in o?o.response:o.responseText;n(new g(t,e))},o.onerror=function(){r(new TypeError("Network request failed"))},o.ontimeout=function(){r(new TypeError("Network request failed"))},o.open(i.method,i.url,!0),"include"===i.credentials&&(o.withCredentials=!0),"responseType"in o&&v.blob&&(o.responseType="blob"),i.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send("undefined"===typeof i._bodyInit?null:i._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!==typeof self?self:this)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n.n(r),o=n(15),a=n.n(o),s=n(148),l=n.n(s),u=n(285),c=(n.n(u),n(286)),d=n(856),f=(n.n(d),Object(d.detect)()),h=function(e){alert(e.toUpperCase()+" is not entirely supported by Team Washington's Team Wiki. For best performance please use Firefox or Google Chrome! \n    \nYou may continue to use the site, but please note that there will be bugs and poor performance. Sorry for any inconvenience, and thank you!")};switch(document.title="Washington iGEM",f&&f.name){case"edge":case"ie":h(f.name)}var p={apiKey:"AIzaSyDCQF40jxKpF8So-kbj_uqtYKBnlGHVReA",authDomain:"wiki2018-987d7.firebaseapp.com",databaseURL:"https://wiki2018-987d7.firebaseio.com",projectId:"wiki2018-987d7",storageBucket:"wiki2018-987d7.appspot.com",messagingSenderId:"158742751002"};l.a.initializeApp(p),window.W_IGEM_VERSION="1.0.5",a.a.render(i.a.createElement(c.a,null),document.getElementById("root"))},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);y(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function i(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||R}function o(){}function a(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||R}function s(e,t,n){var r=void 0,i={},o=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(o=""+t.key),t)D.call(t,r)&&!L.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===i[r]&&(i[r]=s[r]);return{$$typeof:T,type:e,key:o,ref:a,props:i,_owner:M.current}}function l(e){return"object"===typeof e&&null!==e&&e.$$typeof===T}function u(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function c(e,t,n,r){if(W.length){var i=W.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function d(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>W.length&&W.push(e)}function f(e,t,n,i){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var a=!1;if(null===e)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case T:case _:a=!0}}if(a)return n(i,e,""===t?"."+h(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var s=0;s<e.length;s++){o=e[s];var l=t+h(o,s);a+=f(o,l,n,i)}else if(null===e||"undefined"===typeof e?l=null:(l=I&&e[I]||e["@@iterator"],l="function"===typeof l?l:null),"function"===typeof l)for(e=l.call(e),s=0;!(o=e.next()).done;)o=o.value,l=t+h(o,s++),a+=f(o,l,n,i);else"object"===o&&(n=""+e,r("31","[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return a}function h(e,t){return"object"===typeof e&&null!==e&&null!=e.key?u(e.key):t.toString(36)}function p(e,t){e.func.call(e.context,t,e.count++)}function m(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?g(e,r,n,w.thatReturnsArgument):null!=e&&(l(e)&&(t=i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+n,e={$$typeof:T,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),r.push(e))}function g(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(j,"$&/")+"/"),t=c(t,o,r,i),null==e||f(e,"",m,t),d(t)}var v=n(70),y=n(92),b=n(147),w=n(93),E="function"===typeof Symbol&&Symbol.for,T=E?Symbol.for("react.element"):60103,_=E?Symbol.for("react.portal"):60106,k=E?Symbol.for("react.fragment"):60107,x=E?Symbol.for("react.strict_mode"):60108,S=E?Symbol.for("react.profiler"):60114,C=E?Symbol.for("react.provider"):60109,O=E?Symbol.for("react.context"):60110,A=E?Symbol.for("react.async_mode"):60111,P=E?Symbol.for("react.forward_ref"):60112;E&&Symbol.for("react.timeout");var I="function"===typeof Symbol&&Symbol.iterator,R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};i.prototype.isReactComponent={},i.prototype.setState=function(e,t){"object"!==typeof e&&"function"!==typeof e&&null!=e&&r("85"),this.updater.enqueueSetState(this,e,t,"setState")},i.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=i.prototype;var N=a.prototype=new o;N.constructor=a,v(N,i.prototype),N.isPureReactComponent=!0;var M={current:null},D=Object.prototype.hasOwnProperty,L={key:!0,ref:!0,__self:!0,__source:!0},j=/\/+/g,W=[],B={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return g(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;t=c(null,null,t,n),null==e||f(e,"",p,t),d(t)},count:function(e){return null==e?0:f(e,"",w.thatReturnsNull,null)},toArray:function(e){var t=[];return g(e,t,null,w.thatReturnsArgument),t},only:function(e){return l(e)||r("143"),e}},createRef:function(){return{current:null}},Component:i,PureComponent:a,createContext:function(e,t){return void 0===t&&(t=null),e={$$typeof:O,_calculateChangedBits:t,_defaultValue:e,_currentValue:e,_currentValue2:e,_changedBits:0,_changedBits2:0,Provider:null,Consumer:null},e.Provider={$$typeof:C,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:P,render:e}},Fragment:k,StrictMode:x,unstable_AsyncMode:A,unstable_Profiler:S,createElement:s,cloneElement:function(e,t,n){(null===e||void 0===e)&&r("267",e);var i=void 0,o=v({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(s=t.ref,l=M.current),void 0!==t.key&&(a=""+t.key);var u=void 0;e.type&&e.type.defaultProps&&(u=e.type.defaultProps);for(i in t)D.call(t,i)&&!L.hasOwnProperty(i)&&(o[i]=void 0===t[i]&&void 0!==u?u[i]:t[i])}if(1===(i=arguments.length-2))o.children=n;else if(1<i){u=Array(i);for(var c=0;c<i;c++)u[c]=arguments[c+2];o.children=u}return{$$typeof:T,type:e.type,key:a,ref:s,props:o,_owner:l}},createFactory:function(e){var t=s.bind(null,e);return t.type=e,t},isValidElement:l,version:"16.4.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:M,assign:v}},F={default:B},z=F&&B||F;e.exports=z.default?z.default:z},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);Mr(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function i(e,t,n,r,i,o,a,s,l){this._hasCaughtError=!1,this._caughtError=null;var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this._caughtError=e,this._hasCaughtError=!0}}function o(){if(Hr._hasRethrowError){var e=Hr._rethrowError;throw Hr._rethrowError=null,Hr._hasRethrowError=!1,e}}function a(){if(Gr)for(var e in qr){var t=qr[e],n=Gr.indexOf(e);if(-1<n||r("96",e),!Vr[n]){t.extractEvents||r("97",e),Vr[n]=t,n=t.eventTypes;for(var i in n){var o=void 0,a=n[i],l=t,u=i;Kr.hasOwnProperty(u)&&r("99",u),Kr[u]=a;var c=a.phasedRegistrationNames;if(c){for(o in c)c.hasOwnProperty(o)&&s(c[o],l,u);o=!0}else a.registrationName?(s(a.registrationName,l,u),o=!0):o=!1;o||r("98",i,e)}}}}function s(e,t,n){Yr[e]&&r("100",e),Yr[e]=t,Zr[e]=t.eventTypes[n].dependencies}function l(e){Gr&&r("101"),Gr=Array.prototype.slice.call(e),a()}function u(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var i=e[t];qr.hasOwnProperty(t)&&qr[t]===i||(qr[t]&&r("102",t),qr[t]=i,n=!0)}n&&a()}function c(e,t,n,r){t=e.type||"unknown-event",e.currentTarget=Jr(r),Hr.invokeGuardedCallbackAndCatchFirstError(t,n,void 0,e),e.currentTarget=null}function d(e,t){return null==t&&r("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function f(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function h(e,t){if(e){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var i=0;i<n.length&&!e.isPropagationStopped();i++)c(e,t,n[i],r[i]);else n&&c(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function p(e){return h(e,!0)}function m(e){return h(e,!1)}function g(e,t){var n=e.stateNode;if(!n)return null;var i=Qr(n);if(!i)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(i=!i.disabled)||(e=e.type,i=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!i;break e;default:e=!1}return e?null:(n&&"function"!==typeof n&&r("231",t,typeof n),n)}function v(e,t){null!==e&&(ei=d(ei,e)),e=ei,ei=null,e&&(t?f(e,p):f(e,m),ei&&r("95"),Hr.rethrowCaughtError())}function y(e,t,n,r){for(var i=null,o=0;o<Vr.length;o++){var a=Vr[o];a&&(a=a.extractEvents(e,t,n,r))&&(i=d(i,a))}v(i,!1)}function b(e){if(e[ii])return e[ii];for(;!e[ii];){if(!e.parentNode)return null;e=e.parentNode}return e=e[ii],5===e.tag||6===e.tag?e:null}function w(e){if(5===e.tag||6===e.tag)return e.stateNode;r("33")}function E(e){return e[oi]||null}function T(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function _(e,t,n){for(var r=[];e;)r.push(e),e=T(e);for(e=r.length;0<e--;)t(r[e],"captured",n);for(e=0;e<r.length;e++)t(r[e],"bubbled",n)}function k(e,t,n){(t=g(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=d(n._dispatchListeners,t),n._dispatchInstances=d(n._dispatchInstances,e))}function x(e){e&&e.dispatchConfig.phasedRegistrationNames&&_(e._targetInst,k,e)}function S(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst;t=t?T(t):null,_(t,k,e)}}function C(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=g(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=d(n._dispatchListeners,t),n._dispatchInstances=d(n._dispatchInstances,e))}function O(e){e&&e.dispatchConfig.registrationName&&C(e._targetInst,null,e)}function A(e){f(e,x)}function P(e,t,n,r){if(n&&r)e:{for(var i=n,o=r,a=0,s=i;s;s=T(s))a++;s=0;for(var l=o;l;l=T(l))s++;for(;0<a-s;)i=T(i),a--;for(;0<s-a;)o=T(o),s--;for(;a--;){if(i===o||i===o.alternate)break e;i=T(i),o=T(o)}i=null}else i=null;for(o=i,i=[];n&&n!==o&&(null===(a=n.alternate)||a!==o);)i.push(n),n=T(n);for(n=[];r&&r!==o&&(null===(a=r.alternate)||a!==o);)n.push(r),r=T(r);for(r=0;r<i.length;r++)C(i[r],"bubbled",e);for(e=n.length;0<e--;)C(n[e],"captured",t)}function I(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function R(e){if(ui[e])return ui[e];if(!li[e])return e;var t,n=li[e];for(t in n)if(n.hasOwnProperty(t)&&t in ci)return ui[e]=n[t];return e}function N(){return!gi&&Lr.canUseDOM&&(gi="textContent"in document.documentElement?"textContent":"innerText"),gi}function M(){if(vi._fallbackText)return vi._fallbackText;var e,t,n=vi._startText,r=n.length,i=D(),o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return vi._fallbackText=i.slice(e,1<t?1-t:void 0),vi._fallbackText}function D(){return"value"in vi._root?vi._root.value:vi._root[N()]}function L(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface;for(var i in e)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Wr.thatReturnsTrue:Wr.thatReturnsFalse,this.isPropagationStopped=Wr.thatReturnsFalse,this}function j(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function W(e){e instanceof this||r("223"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function B(e){e.eventPool=[],e.getPooled=j,e.release=W}function F(e,t){switch(e){case"keyup":return-1!==Ti.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function z(e){return e=e.detail,"object"===typeof e&&"data"in e?e.data:null}function U(e,t){switch(e){case"compositionend":return z(t);case"keypress":return 32!==t.which?null:(Ai=!0,Ci);case"textInput":return e=t.data,e===Ci&&Ai?null:e;default:return null}}function H(e,t){if(Pi)return"compositionend"===e||!_i&&F(e,t)?(e=M(),vi._root=null,vi._startText=null,vi._fallbackText=null,Pi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Si?null:t.data;default:return null}}function G(e){if(e=$r(e)){Ri&&"function"===typeof Ri.restoreControlledState||r("194");var t=Qr(e.stateNode);Ri.restoreControlledState(e.stateNode,e.type,t)}}function q(e){Mi?Di?Di.push(e):Di=[e]:Mi=e}function V(){return null!==Mi||null!==Di}function K(){if(Mi){var e=Mi,t=Di;if(Di=Mi=null,G(e),t)for(e=0;e<t.length;e++)G(t[e])}}function Y(e,t){return e(t)}function Z(e,t,n){return e(t,n)}function X(){}function Q(e,t){if(ji)return e(t);ji=!0;try{return Y(e,t)}finally{ji=!1,V()&&(X(),K())}}function $(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wi[e.type]:"textarea"===t}function J(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ee(e,t){return!(!Lr.canUseDOM||t&&!("addEventListener"in document))&&(e="on"+e,t=e in document,t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t="function"===typeof t[e]),t)}function te(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ne(e){var t=te(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function re(e){e._valueTracker||(e._valueTracker=ne(e))}function ie(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=te(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function oe(e){return null===e||"undefined"===typeof e?null:(e=Qi&&e[Qi]||e["@@iterator"],"function"===typeof e?e:null)}function ae(e){var t=e.type;if("function"===typeof t)return t.displayName||t.name;if("string"===typeof t)return t;switch(t){case Yi:return"AsyncMode";case Ki:return"Context.Consumer";case Hi:return"ReactFragment";case Ui:return"ReactPortal";case qi:return"Profiler("+e.pendingProps.id+")";case Vi:return"Context.Provider";case Gi:return"StrictMode";case Xi:return"Timeout"}if("object"===typeof t&&null!==t)switch(t.$$typeof){case Zi:return e=t.render.displayName||t.render.name||"",""!==e?"ForwardRef("+e+")":"ForwardRef"}return null}function se(e){var t="";do{e:switch(e.tag){case 0:case 1:case 2:case 5:var n=e._debugOwner,r=e._debugSource,i=ae(e),o=null;n&&(o=ae(n)),n=r,i="\n    in "+(i||"Unknown")+(n?" (at "+n.fileName.replace(/^.*[\\\/]/,"")+":"+n.lineNumber+")":o?" (created by "+o+")":"");break e;default:i=""}t+=i,e=e.return}while(e);return t}function le(e){return!!Ji.call(to,e)||!Ji.call(eo,e)&&($i.test(e)?to[e]=!0:(eo[e]=!0,!1))}function ue(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}function ce(e,t,n,r){if(null===t||"undefined"===typeof t||ue(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function de(e,t,n,r,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t}function fe(e){return e[1].toUpperCase()}function he(e,t,n,r){var i=no.hasOwnProperty(t)?no[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(ce(t,n,i,r)&&(n=null),r||null===i?le(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(i=i.type,n=3===i||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function pe(e,t){var n=t.checked;return jr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function me(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=we(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ge(e,t){null!=(t=t.checked)&&he(e,"checked",t,!1)}function ve(e,t){ge(e,t);var n=we(t.value);null!=n&&("number"===t.type?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n)),t.hasOwnProperty("value")?be(e,t.type,n):t.hasOwnProperty("defaultValue")&&be(e,t.type,we(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ye(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){t=""+e._wrapperState.initialValue;var r=e.value;n||t===r||(e.value=t),e.defaultValue=t}n=e.name,""!==n&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,""!==n&&(e.name=n)}function be(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function we(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Ee(e,t,n){return e=L.getPooled(io.change,e,t,n),e.type="change",q(n),A(e),e}function Te(e){v(e,!1)}function _e(e){if(ie(w(e)))return e}function ke(e,t){if("change"===e)return t}function xe(){oo&&(oo.detachEvent("onpropertychange",Se),ao=oo=null)}function Se(e){"value"===e.propertyName&&_e(ao)&&(e=Ee(ao,e,J(e)),Q(Te,e))}function Ce(e,t,n){"focus"===e?(xe(),oo=t,ao=n,oo.attachEvent("onpropertychange",Se)):"blur"===e&&xe()}function Oe(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return _e(ao)}function Ae(e,t){if("click"===e)return _e(t)}function Pe(e,t){if("input"===e||"change"===e)return _e(t)}function Ie(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=co[e])&&!!t[e]}function Re(){return Ie}function Ne(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!==(2&t.effectTag))return 1;for(;t.return;)if(t=t.return,0!==(2&t.effectTag))return 1}return 3===t.tag?2:3}function Me(e){2!==Ne(e)&&r("188")}function De(e){var t=e.alternate;if(!t)return t=Ne(e),3===t&&r("188"),1===t?null:e;for(var n=e,i=t;;){var o=n.return,a=o?o.alternate:null;if(!o||!a)break;if(o.child===a.child){for(var s=o.child;s;){if(s===n)return Me(o),e;if(s===i)return Me(o),t;s=s.sibling}r("188")}if(n.return!==i.return)n=o,i=a;else{s=!1;for(var l=o.child;l;){if(l===n){s=!0,n=o,i=a;break}if(l===i){s=!0,i=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,i=o;break}if(l===i){s=!0,i=a,n=o;break}l=l.sibling}s||r("189")}}n.alternate!==i&&r("190")}return 3!==n.tag&&r("188"),n.stateNode.current===n?e:t}function Le(e){if(!(e=De(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function je(e){if(!(e=De(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child&&4!==t.tag)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function We(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Be(e,t){var n=e[0];e=e[1];var r="on"+(e[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:r,captured:r+"Capture"},dependencies:[n],isInteractive:t},Co[e]=t,Oo[n]=t}function Fe(e){var t=e.targetInst;do{if(!t){e.ancestors.push(t);break}var n;for(n=t;n.return;)n=n.return;if(!(n=3!==n.tag?null:n.stateNode.containerInfo))break;e.ancestors.push(t),t=b(n)}while(t);for(n=0;n<e.ancestors.length;n++)t=e.ancestors[n],y(e.topLevelType,t,e.nativeEvent,J(e.nativeEvent))}function ze(e){Ro=!!e}function Ue(e,t){if(!t)return null;var n=(Po(e)?Ge:qe).bind(null,e);t.addEventListener(e,n,!1)}function He(e,t){if(!t)return null;var n=(Po(e)?Ge:qe).bind(null,e);t.addEventListener(e,n,!0)}function Ge(e,t){Z(qe,e,t)}function qe(e,t){if(Ro){var n=J(t);if(n=b(n),null===n||"number"!==typeof n.tag||2===Ne(n)||(n=null),Io.length){var r=Io.pop();r.topLevelType=e,r.nativeEvent=t,r.targetInst=n,e=r}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{Q(Fe,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>Io.length&&Io.push(e)}}}function Ve(e){return Object.prototype.hasOwnProperty.call(e,Lo)||(e[Lo]=Do++,Mo[e[Lo]]={}),Mo[e[Lo]]}function Ke(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ye(e,t){var n=Ke(e);e=0;for(var r;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ke(n)}}function Ze(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Xe(e,t){if(Uo||null==Bo||Bo!==Br())return null;var n=Bo;return"selectionStart"in n&&Ze(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?(n=window.getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}):n=void 0,zo&&Fr(zo,n)?null:(zo=n,e=L.getPooled(Wo.select,Fo,e,t),e.type="select",e.target=Bo,A(e),e)}function Qe(e){var t="";return Dr.Children.forEach(e,function(e){null==e||"string"!==typeof e&&"number"!==typeof e||(t+=e)}),t}function $e(e,t){return e=jr({children:void 0},t),(t=Qe(t.children))&&(e.children=t),e}function Je(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+n,t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function et(e,t){var n=t.value;e._wrapperState={initialValue:null!=n?n:t.defaultValue,wasMultiple:!!t.multiple}}function tt(e,t){return null!=t.dangerouslySetInnerHTML&&r("91"),jr({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function nt(e,t){var n=t.value;null==n&&(n=t.defaultValue,t=t.children,null!=t&&(null!=n&&r("92"),Array.isArray(t)&&(1>=t.length||r("93"),t=t[0]),n=""+t),null==n&&(n="")),e._wrapperState={initialValue:""+n}}function rt(e,t){var n=t.value;null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)}function it(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function ot(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function at(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ot(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function st(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function lt(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=n,o=t[n];i=null==o||"boolean"===typeof o||""===o?"":r||"number"!==typeof o||0===o||ma.hasOwnProperty(i)&&ma[i]?(""+o).trim():o+"px","float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}function ut(e,t,n){t&&(va[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&r("137",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&r("60"),"object"===typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||r("61")),null!=t.style&&"object"!==typeof t.style&&r("62",n()))}function ct(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function dt(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=Ve(e);t=Zr[t];for(var r=0;r<t.length;r++){var i=t[r];if(!n.hasOwnProperty(i)||!n[i]){switch(i){case"scroll":He("scroll",e);break;case"focus":case"blur":He("focus",e),He("blur",e),n.blur=!0,n.focus=!0;break;case"cancel":case"close":ee(i,!0)&&He(i,e);break;case"invalid":case"submit":case"reset":break;default:-1===mi.indexOf(i)&&Ue(i,e)}n[i]=!0}}}function ft(e,t,n,r){return n=9===n.nodeType?n:n.ownerDocument,r===fa.html&&(r=ot(e)),r===fa.html?"script"===e?(e=n.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):e="string"===typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(r,e),e}function ht(e,t){return(9===t.nodeType?t:t.ownerDocument).createTextNode(e)}function pt(e,t,n,r){var i=ct(t,n);switch(t){case"iframe":case"object":Ue("load",e);var o=n;break;case"video":case"audio":for(o=0;o<mi.length;o++)Ue(mi[o],e);o=n;break;case"source":Ue("error",e),o=n;break;case"img":case"image":case"link":Ue("error",e),Ue("load",e),o=n;break;case"form":Ue("reset",e),Ue("submit",e),o=n;break;case"details":Ue("toggle",e),o=n;break;case"input":me(e,n),o=pe(e,n),Ue("invalid",e),dt(r,"onChange");break;case"option":o=$e(e,n);break;case"select":et(e,n),o=jr({},n,{value:void 0}),Ue("invalid",e),dt(r,"onChange");break;case"textarea":nt(e,n),o=tt(e,n),Ue("invalid",e),dt(r,"onChange");break;default:o=n}ut(t,o,ya);var a,s=o;for(a in s)if(s.hasOwnProperty(a)){var l=s[a];"style"===a?lt(e,l,ya):"dangerouslySetInnerHTML"===a?null!=(l=l?l.__html:void 0)&&pa(e,l):"children"===a?"string"===typeof l?("textarea"!==t||""!==l)&&st(e,l):"number"===typeof l&&st(e,""+l):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(Yr.hasOwnProperty(a)?null!=l&&dt(r,a):null!=l&&he(e,a,l,i))}switch(t){case"input":re(e),ye(e,n,!1);break;case"textarea":re(e),it(e,n);break;case"option":null!=n.value&&e.setAttribute("value",n.value);break;case"select":e.multiple=!!n.multiple,t=n.value,null!=t?Je(e,!!n.multiple,t,!1):null!=n.defaultValue&&Je(e,!!n.multiple,n.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Wr)}}function mt(e,t,n,r,i){var o=null;switch(t){case"input":n=pe(e,n),r=pe(e,r),o=[];break;case"option":n=$e(e,n),r=$e(e,r),o=[];break;case"select":n=jr({},n,{value:void 0}),r=jr({},r,{value:void 0}),o=[];break;case"textarea":n=tt(e,n),r=tt(e,r),o=[];break;default:"function"!==typeof n.onClick&&"function"===typeof r.onClick&&(e.onclick=Wr)}ut(t,r,ya),t=e=void 0;var a=null;for(e in n)if(!r.hasOwnProperty(e)&&n.hasOwnProperty(e)&&null!=n[e])if("style"===e){var s=n[e];for(t in s)s.hasOwnProperty(t)&&(a||(a={}),a[t]="")}else"dangerouslySetInnerHTML"!==e&&"children"!==e&&"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&"autoFocus"!==e&&(Yr.hasOwnProperty(e)?o||(o=[]):(o=o||[]).push(e,null));for(e in r){var l=r[e];if(s=null!=n?n[e]:void 0,r.hasOwnProperty(e)&&l!==s&&(null!=l||null!=s))if("style"===e)if(s){for(t in s)!s.hasOwnProperty(t)||l&&l.hasOwnProperty(t)||(a||(a={}),a[t]="");for(t in l)l.hasOwnProperty(t)&&s[t]!==l[t]&&(a||(a={}),a[t]=l[t])}else a||(o||(o=[]),o.push(e,a)),a=l;else"dangerouslySetInnerHTML"===e?(l=l?l.__html:void 0,s=s?s.__html:void 0,null!=l&&s!==l&&(o=o||[]).push(e,""+l)):"children"===e?s===l||"string"!==typeof l&&"number"!==typeof l||(o=o||[]).push(e,""+l):"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&(Yr.hasOwnProperty(e)?(null!=l&&dt(i,e),o||s===l||(o=[])):(o=o||[]).push(e,l))}return a&&(o=o||[]).push("style",a),o}function gt(e,t,n,r,i){"input"===n&&"radio"===i.type&&null!=i.name&&ge(e,i),ct(n,r),r=ct(n,i);for(var o=0;o<t.length;o+=2){var a=t[o],s=t[o+1];"style"===a?lt(e,s,ya):"dangerouslySetInnerHTML"===a?pa(e,s):"children"===a?st(e,s):he(e,a,s,r)}switch(n){case"input":ve(e,i);break;case"textarea":rt(e,i);break;case"select":e._wrapperState.initialValue=void 0,t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!i.multiple,n=i.value,null!=n?Je(e,!!i.multiple,n,!1):t!==!!i.multiple&&(null!=i.defaultValue?Je(e,!!i.multiple,i.defaultValue,!0):Je(e,!!i.multiple,i.multiple?[]:"",!1))}}function vt(e,t,n,r,i){switch(t){case"iframe":case"object":Ue("load",e);break;case"video":case"audio":for(r=0;r<mi.length;r++)Ue(mi[r],e);break;case"source":Ue("error",e);break;case"img":case"image":case"link":Ue("error",e),Ue("load",e);break;case"form":Ue("reset",e),Ue("submit",e);break;case"details":Ue("toggle",e);break;case"input":me(e,n),Ue("invalid",e),dt(i,"onChange");break;case"select":et(e,n),Ue("invalid",e),dt(i,"onChange");break;case"textarea":nt(e,n),Ue("invalid",e),dt(i,"onChange")}ut(t,n,ya),r=null;for(var o in n)if(n.hasOwnProperty(o)){var a=n[o];"children"===o?"string"===typeof a?e.textContent!==a&&(r=["children",a]):"number"===typeof a&&e.textContent!==""+a&&(r=["children",""+a]):Yr.hasOwnProperty(o)&&null!=a&&dt(i,o)}switch(t){case"input":re(e),ye(e,n,!0);break;case"textarea":re(e),it(e,n);break;case"select":case"option":break;default:"function"===typeof n.onClick&&(e.onclick=Wr)}return r}function yt(e,t){return e.nodeValue!==t}function bt(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function wt(e,t){return"textarea"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&"string"===typeof t.dangerouslySetInnerHTML.__html}function Et(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function Tt(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function _t(e){return{current:e}}function kt(e){0>Sa||(e.current=xa[Sa],xa[Sa]=null,Sa--)}function xt(e,t){Sa++,xa[Sa]=e.current,e.current=t}function St(e){return Ot(e)?Aa:Ca.current}function Ct(e,t){var n=e.type.contextTypes;if(!n)return Ur;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ot(e){return 2===e.tag&&null!=e.type.childContextTypes}function At(e){Ot(e)&&(kt(Oa,e),kt(Ca,e))}function Pt(e){kt(Oa,e),kt(Ca,e)}function It(e,t,n){Ca.current!==Ur&&r("168"),xt(Ca,t,e),xt(Oa,n,e)}function Rt(e,t){var n=e.stateNode,i=e.type.childContextTypes;if("function"!==typeof n.getChildContext)return t;n=n.getChildContext();for(var o in n)o in i||r("108",ae(e)||"Unknown",o);return jr({},t,n)}function Nt(e){if(!Ot(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Ur,Aa=Ca.current,xt(Ca,t,e),xt(Oa,Oa.current,e),!0}function Mt(e,t){var n=e.stateNode;if(n||r("169"),t){var i=Rt(e,Aa);n.__reactInternalMemoizedMergedChildContext=i,kt(Oa,e),kt(Ca,e),xt(Ca,i,e)}else kt(Oa,e);xt(Oa,t,e)}function Dt(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function Lt(e,t,n){var r=e.alternate;return null===r?(r=new Dt(e.tag,t,e.key,e.mode),r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.expirationTime=n,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function jt(e,t,n){var i=e.type,o=e.key;if(e=e.props,"function"===typeof i)var a=i.prototype&&i.prototype.isReactComponent?2:0;else if("string"===typeof i)a=5;else switch(i){case Hi:return Wt(e.children,t,n,o);case Yi:a=11,t|=3;break;case Gi:a=11,t|=2;break;case qi:return i=new Dt(15,e,o,4|t),i.type=qi,i.expirationTime=n,i;case Xi:a=16,t|=2;break;default:e:{switch("object"===typeof i&&null!==i?i.$$typeof:null){case Vi:a=13;break e;case Ki:a=12;break e;case Zi:a=14;break e;default:r("130",null==i?i:typeof i,"")}a=void 0}}return t=new Dt(a,e,o,t),t.type=i,t.expirationTime=n,t}function Wt(e,t,n,r){return e=new Dt(10,e,r,t),e.expirationTime=n,e}function Bt(e,t,n){return e=new Dt(6,e,null,t),e.expirationTime=n,e}function Ft(e,t,n){return t=new Dt(4,null!==e.children?e.children:[],e.key,t),t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zt(e,t,n){return t=new Dt(3,null,null,t?3:0),e={current:t,containerInfo:e,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,pendingCommitExpirationTime:0,finishedWork:null,context:null,pendingContext:null,hydrate:n,remainingExpirationTime:0,firstBatch:null,nextScheduledRoot:null},t.stateNode=e}function Ut(e){return function(t){try{return e(t)}catch(e){}}}function Ht(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Pa=Ut(function(e){return t.onCommitFiberRoot(n,e)}),Ia=Ut(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Gt(e){"function"===typeof Pa&&Pa(e)}function qt(e){"function"===typeof Ia&&Ia(e)}function Vt(e){return{expirationTime:0,baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Kt(e){return{expirationTime:e.expirationTime,baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Yt(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Zt(e,t,n){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t),(0===e.expirationTime||e.expirationTime>n)&&(e.expirationTime=n)}function Xt(e,t,n){var r=e.alternate;if(null===r){var i=e.updateQueue,o=null;null===i&&(i=e.updateQueue=Vt(e.memoizedState))}else i=e.updateQueue,o=r.updateQueue,null===i?null===o?(i=e.updateQueue=Vt(e.memoizedState),o=r.updateQueue=Vt(r.memoizedState)):i=e.updateQueue=Kt(o):null===o&&(o=r.updateQueue=Kt(i));null===o||i===o?Zt(i,t,n):null===i.lastUpdate||null===o.lastUpdate?(Zt(i,t,n),Zt(o,t,n)):(Zt(i,t,n),o.lastUpdate=t)}function Qt(e,t,n){var r=e.updateQueue;r=null===r?e.updateQueue=Vt(e.memoizedState):$t(e,r),null===r.lastCapturedUpdate?r.firstCapturedUpdate=r.lastCapturedUpdate=t:(r.lastCapturedUpdate.next=t,r.lastCapturedUpdate=t),(0===r.expirationTime||r.expirationTime>n)&&(r.expirationTime=n)}function $t(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Kt(t)),t}function Jt(e,t,n,r,i,o){switch(n.tag){case 1:return e=n.payload,"function"===typeof e?e.call(o,r,i):e;case 3:e.effectTag=-1025&e.effectTag|64;case 0:if(e=n.payload,null===(i="function"===typeof e?e.call(o,r,i):e)||void 0===i)break;return jr({},r,i);case 2:Ra=!0}return r}function en(e,t,n,r,i){if(Ra=!1,!(0===t.expirationTime||t.expirationTime>i)){t=$t(e,t);for(var o=t.baseState,a=null,s=0,l=t.firstUpdate,u=o;null!==l;){var c=l.expirationTime;c>i?(null===a&&(a=l,o=u),(0===s||s>c)&&(s=c)):(u=Jt(e,t,l,u,n,r),null!==l.callback&&(e.effectTag|=32,l.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=l:(t.lastEffect.nextEffect=l,t.lastEffect=l))),l=l.next}for(c=null,l=t.firstCapturedUpdate;null!==l;){var d=l.expirationTime;d>i?(null===c&&(c=l,null===a&&(o=u)),(0===s||s>d)&&(s=d)):(u=Jt(e,t,l,u,n,r),null!==l.callback&&(e.effectTag|=32,l.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=l:(t.lastCapturedEffect.nextEffect=l,t.lastCapturedEffect=l))),l=l.next}null===a&&(t.lastUpdate=null),null===c?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===c&&(o=u),t.baseState=o,t.firstUpdate=a,t.firstCapturedUpdate=c,t.expirationTime=s,e.memoizedState=u}}function tn(e,t){"function"!==typeof e&&r("191",e),e.call(t)}function nn(e,t,n){for(null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),e=t.firstEffect,t.firstEffect=t.lastEffect=null;null!==e;){var r=e.callback;null!==r&&(e.callback=null,tn(r,n)),e=e.nextEffect}for(e=t.firstCapturedEffect,t.firstCapturedEffect=t.lastCapturedEffect=null;null!==e;)t=e.callback,null!==t&&(e.callback=null,tn(t,n)),e=e.nextEffect}function rn(e,t){return{value:e,source:t,stack:se(t)}}function on(e){var t=e.type._context;xt(Da,t._changedBits,e),xt(Ma,t._currentValue,e),xt(Na,e,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode}function an(e){var t=Da.current,n=Ma.current;kt(Na,e),kt(Ma,e),kt(Da,e),e=e.type._context,e._currentValue=n,e._changedBits=t}function sn(e){return e===La&&r("174"),e}function ln(e,t){xt(Ba,t,e),xt(Wa,e,e),xt(ja,La,e);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:at(null,"");break;default:n=8===n?t.parentNode:t,t=n.namespaceURI||null,n=n.tagName,t=at(t,n)}kt(ja,e),xt(ja,t,e)}function un(e){kt(ja,e),kt(Wa,e),kt(Ba,e)}function cn(e){Wa.current===e&&(kt(ja,e),kt(Wa,e))}function dn(e,t,n){var r=e.memoizedState;t=t(n,r),r=null===t||void 0===t?r:jr({},r,t),e.memoizedState=r,null!==(e=e.updateQueue)&&0===e.expirationTime&&(e.baseState=r)}function fn(e,t,n,r,i,o){var a=e.stateNode;return e=e.type,"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(n,i,o):!e.prototype||!e.prototype.isPureReactComponent||(!Fr(t,n)||!Fr(r,i))}function hn(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Fa.enqueueReplaceState(t,t.state,null)}function pn(e,t){var n=e.type,r=e.stateNode,i=e.pendingProps,o=St(e);r.props=i,r.state=e.memoizedState,r.refs=Ur,r.context=Ct(e,o),o=e.updateQueue,null!==o&&(en(e,o,i,r,t),r.state=e.memoizedState),o=e.type.getDerivedStateFromProps,"function"===typeof o&&(dn(e,o,i),r.state=e.memoizedState),"function"===typeof n.getDerivedStateFromProps||"function"===typeof r.getSnapshotBeforeUpdate||"function"!==typeof r.UNSAFE_componentWillMount&&"function"!==typeof r.componentWillMount||(n=r.state,"function"===typeof r.componentWillMount&&r.componentWillMount(),"function"===typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),n!==r.state&&Fa.enqueueReplaceState(r,r.state,null),null!==(o=e.updateQueue)&&(en(e,o,i,r,t),r.state=e.memoizedState)),"function"===typeof r.componentDidMount&&(e.effectTag|=4)}function mn(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){n=n._owner;var i=void 0;n&&(2!==n.tag&&r("110"),i=n.stateNode),i||r("147",e);var o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=i.refs===Ur?i.refs={}:i.refs;null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}"string"!==typeof e&&r("148"),n._owner||r("254",e)}return e}function gn(e,t){"textarea"!==e.type&&r("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function vn(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function i(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t,n){return e=Lt(e,t,n),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index,r<n?(t.effectTag=2,n):r):(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?(t=Bt(n,e.mode,r),t.return=e,t):(t=o(t,n,r),t.return=e,t)}function u(e,t,n,r){return null!==t&&t.type===n.type?(r=o(t,n.props,r),r.ref=mn(e,t,n),r.return=e,r):(r=jt(n,e.mode,r),r.ref=mn(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Ft(n,e.mode,r),t.return=e,t):(t=o(t,n.children||[],r),t.return=e,t)}function d(e,t,n,r,i){return null===t||10!==t.tag?(t=Wt(n,e.mode,r,i),t.return=e,t):(t=o(t,n,r),t.return=e,t)}function f(e,t,n){if("string"===typeof t||"number"===typeof t)return t=Bt(""+t,e.mode,n),t.return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case zi:return n=jt(t,e.mode,n),n.ref=mn(e,null,t),n.return=e,n;case Ui:return t=Ft(t,e.mode,n),t.return=e,t}if(za(t)||oe(t))return t=Wt(t,e.mode,n,null),t.return=e,t;gn(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==i?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case zi:return n.key===i?n.type===Hi?d(e,t,n.props.children,r,i):u(e,t,n,r):null;case Ui:return n.key===i?c(e,t,n,r):null}if(za(n)||oe(n))return null!==i?null:d(e,t,n,r,null);gn(e,n)}return null}function p(e,t,n,r,i){if("string"===typeof r||"number"===typeof r)return e=e.get(n)||null,l(t,e,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case zi:return e=e.get(null===r.key?n:r.key)||null,r.type===Hi?d(t,e,r.props.children,i,r.key):u(t,e,r,i);case Ui:return e=e.get(null===r.key?n:r.key)||null,c(t,e,r,i)}if(za(r)||oe(r))return e=e.get(n)||null,d(t,e,r,i,null);gn(t,r)}return null}function m(r,o,s,l){for(var u=null,c=null,d=o,m=o=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=h(r,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(r,d),o=a(v,o,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===s.length)return n(r,d),u;if(null===d){for(;m<s.length;m++)(d=f(r,s[m],l))&&(o=a(d,o,m),null===c?u=d:c.sibling=d,c=d);return u}for(d=i(r,d);m<s.length;m++)(g=p(d,r,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),o=a(g,o,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(r,e)}),u}function g(o,s,l,u){var c=oe(l);"function"!==typeof c&&r("150"),null==(l=c.call(l))&&r("151");for(var d=c=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=h(o,m,y.value,u);if(null===b){m||(m=v);break}e&&m&&null===b.alternate&&t(o,m),s=a(b,s,g),null===d?c=b:d.sibling=b,d=b,m=v}if(y.done)return n(o,m),c;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=f(o,y.value,u))&&(s=a(y,s,g),null===d?c=y:d.sibling=y,d=y);return c}for(m=i(o,m);!y.done;g++,y=l.next())null!==(y=p(m,o,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=a(y,s,g),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach(function(e){return t(o,e)}),c}return function(e,i,a,l){var u="object"===typeof a&&null!==a&&a.type===Hi&&null===a.key;u&&(a=a.props.children);var c="object"===typeof a&&null!==a;if(c)switch(a.$$typeof){case zi:e:{for(c=a.key,u=i;null!==u;){if(u.key===c){if(10===u.tag?a.type===Hi:u.type===a.type){n(e,u.sibling),i=o(u,a.type===Hi?a.props.children:a.props,l),i.ref=mn(e,u,a),i.return=e,e=i;break e}n(e,u);break}t(e,u),u=u.sibling}a.type===Hi?(i=Wt(a.props.children,e.mode,l,a.key),i.return=e,e=i):(l=jt(a,e.mode,l),l.ref=mn(e,i,a),l.return=e,e=l)}return s(e);case Ui:e:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(e,i.sibling),i=o(i,a.children||[],l),i.return=e,e=i;break e}n(e,i);break}t(e,i),i=i.sibling}i=Ft(a,e.mode,l),i.return=e,e=i}return s(e)}if("string"===typeof a||"number"===typeof a)return a=""+a,null!==i&&6===i.tag?(n(e,i.sibling),i=o(i,a,l),i.return=e,e=i):(n(e,i),i=Bt(a,e.mode,l),i.return=e,e=i),s(e);if(za(a))return m(e,i,a,l);if(oe(a))return g(e,i,a,l);if(c&&gn(e,a),"undefined"===typeof a&&!u)switch(e.tag){case 2:case 1:l=e.type,r("152",l.displayName||l.name||"Component")}return n(e,i)}}function yn(e,t){var n=new Dt(5,null,null,0);n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function bn(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function wn(e){if(Va){var t=qa;if(t){var n=t;if(!bn(e,t)){if(!(t=Et(n))||!bn(e,t))return e.effectTag|=2,Va=!1,void(Ga=e);yn(Ga,n)}Ga=e,qa=Tt(t)}else e.effectTag|=2,Va=!1,Ga=e}}function En(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;Ga=e}function Tn(e){if(e!==Ga)return!1;if(!Va)return En(e),Va=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!wt(t,e.memoizedProps))for(t=qa;t;)yn(e,t),t=Et(t);return En(e),qa=Ga?Et(e.stateNode):null,!0}function _n(){qa=Ga=null,Va=!1}function kn(e,t,n){xn(e,t,n,t.expirationTime)}function xn(e,t,n,r){t.child=null===e?Ha(t,null,n,r):Ua(t,e.child,n,r)}function Sn(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Cn(e,t,n,r,i){Sn(e,t);var o=0!==(64&t.effectTag);if(!n&&!o)return r&&Mt(t,!1),In(e,t);n=t.stateNode,Bi.current=t;var a=o?null:n.render();return t.effectTag|=1,o&&(xn(e,t,null,i),t.child=null),xn(e,t,a,i),t.memoizedState=n.state,t.memoizedProps=n.props,r&&Mt(t,!0),t.child}function On(e){var t=e.stateNode;t.pendingContext?It(e,t.pendingContext,t.pendingContext!==t.context):t.context&&It(e,t.context,!1),ln(e,t.containerInfo)}function An(e,t,n,r){var i=e.child;for(null!==i&&(i.return=e);null!==i;){switch(i.tag){case 12:var o=0|i.stateNode;if(i.type===t&&0!==(o&n)){for(o=i;null!==o;){var a=o.alternate;if(0===o.expirationTime||o.expirationTime>r)o.expirationTime=r,null!==a&&(0===a.expirationTime||a.expirationTime>r)&&(a.expirationTime=r);else{if(null===a||!(0===a.expirationTime||a.expirationTime>r))break;a.expirationTime=r}o=o.return}o=null}else o=i.child;break;case 13:o=i.type===e.type?null:i.child;break;default:o=i.child}if(null!==o)o.return=i;else for(o=i;null!==o;){if(o===e){o=null;break}if(null!==(i=o.sibling)){i.return=o.return,o=i;break}o=o.return}i=o}}function Pn(e,t,n){var r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=!0;if(Oa.current)a=!1;else if(o===i)return t.stateNode=0,on(t),In(e,t);var s=i.value;if(t.memoizedProps=i,null===o)s=1073741823;else if(o.value===i.value){if(o.children===i.children&&a)return t.stateNode=0,on(t),In(e,t);s=0}else{var l=o.value;if(l===s&&(0!==l||1/l===1/s)||l!==l&&s!==s){if(o.children===i.children&&a)return t.stateNode=0,on(t),In(e,t);s=0}else if(s="function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,s):1073741823,0===(s|=0)){if(o.children===i.children&&a)return t.stateNode=0,on(t),In(e,t)}else An(t,r,s,n)}return t.stateNode=s,on(t),kn(e,t,i.children),t.child}function In(e,t){if(null!==e&&t.child!==e.child&&r("153"),null!==t.child){e=t.child;var n=Lt(e,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,n=n.sibling=Lt(e,e.pendingProps,e.expirationTime),n.return=t;n.sibling=null}return t.child}function Rn(e,t,n){if(0===t.expirationTime||t.expirationTime>n){switch(t.tag){case 3:On(t);break;case 2:Nt(t);break;case 4:ln(t,t.stateNode.containerInfo);break;case 13:on(t)}return null}switch(t.tag){case 0:null!==e&&r("155");var i=t.type,o=t.pendingProps,a=St(t);return a=Ct(t,a),i=i(o,a),t.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof?(a=t.type,t.tag=2,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,a=a.getDerivedStateFromProps,"function"===typeof a&&dn(t,a,o),o=Nt(t),i.updater=Fa,t.stateNode=i,i._reactInternalFiber=t,pn(t,n),e=Cn(e,t,!0,o,n)):(t.tag=1,kn(e,t,i),t.memoizedProps=o,e=t.child),e;case 1:return o=t.type,n=t.pendingProps,Oa.current||t.memoizedProps!==n?(i=St(t),i=Ct(t,i),o=o(n,i),t.effectTag|=1,kn(e,t,o),t.memoizedProps=n,e=t.child):e=In(e,t),e;case 2:if(o=Nt(t),null===e)if(null===t.stateNode){var s=t.pendingProps,l=t.type;i=St(t);var u=2===t.tag&&null!=t.type.contextTypes;a=u?Ct(t,i):Ur,s=new l(s,a),t.memoizedState=null!==s.state&&void 0!==s.state?s.state:null,s.updater=Fa,t.stateNode=s,s._reactInternalFiber=t,u&&(u=t.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=i,u.__reactInternalMemoizedMaskedChildContext=a),pn(t,n),i=!0}else{l=t.type,i=t.stateNode,u=t.memoizedProps,a=t.pendingProps,i.props=u;var c=i.context;s=St(t),s=Ct(t,s);var d=l.getDerivedStateFromProps;(l="function"===typeof d||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(u!==a||c!==s)&&hn(t,i,a,s),Ra=!1;var f=t.memoizedState;c=i.state=f;var h=t.updateQueue;null!==h&&(en(t,h,a,i,n),c=t.memoizedState),u!==a||f!==c||Oa.current||Ra?("function"===typeof d&&(dn(t,d,a),c=t.memoizedState),(u=Ra||fn(t,u,a,f,c,s))?(l||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||("function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"===typeof i.componentDidMount&&(t.effectTag|=4)):("function"===typeof i.componentDidMount&&(t.effectTag|=4),t.memoizedProps=a,t.memoizedState=c),i.props=a,i.state=c,i.context=s,i=u):("function"===typeof i.componentDidMount&&(t.effectTag|=4),i=!1)}else l=t.type,i=t.stateNode,a=t.memoizedProps,u=t.pendingProps,i.props=a,c=i.context,s=St(t),s=Ct(t,s),d=l.getDerivedStateFromProps,(l="function"===typeof d||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(a!==u||c!==s)&&hn(t,i,u,s),Ra=!1,c=t.memoizedState,f=i.state=c,h=t.updateQueue,null!==h&&(en(t,h,u,i,n),f=t.memoizedState),a!==u||c!==f||Oa.current||Ra?("function"===typeof d&&(dn(t,d,u),f=t.memoizedState),(d=Ra||fn(t,a,u,c,f,s))?(l||"function"!==typeof i.UNSAFE_componentWillUpdate&&"function"!==typeof i.componentWillUpdate||("function"===typeof i.componentWillUpdate&&i.componentWillUpdate(u,f,s),"function"===typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(u,f,s)),"function"===typeof i.componentDidUpdate&&(t.effectTag|=4),"function"===typeof i.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!==typeof i.componentDidUpdate||a===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!==typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=u,t.memoizedState=f),i.props=u,i.state=f,i.context=s,i=d):("function"!==typeof i.componentDidUpdate||a===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!==typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),i=!1);return Cn(e,t,i,o,n);case 3:return On(t),o=t.updateQueue,null!==o?(i=t.memoizedState,i=null!==i?i.element:null,en(t,o,t.pendingProps,null,n),(o=t.memoizedState.element)===i?(_n(),e=In(e,t)):(i=t.stateNode,(i=(null===e||null===e.child)&&i.hydrate)&&(qa=Tt(t.stateNode.containerInfo),Ga=t,i=Va=!0),i?(t.effectTag|=2,t.child=Ha(t,null,o,n)):(_n(),kn(e,t,o)),e=t.child)):(_n(),e=In(e,t)),e;case 5:return sn(Ba.current),o=sn(ja.current),i=at(o,t.type),o!==i&&(xt(Wa,t,t),xt(ja,i,t)),null===e&&wn(t),o=t.type,u=t.memoizedProps,i=t.pendingProps,a=null!==e?e.memoizedProps:null,Oa.current||u!==i||((u=1&t.mode&&!!i.hidden)&&(t.expirationTime=1073741823),u&&1073741823===n)?(u=i.children,wt(o,i)?u=null:a&&wt(o,a)&&(t.effectTag|=16),Sn(e,t),1073741823!==n&&1&t.mode&&i.hidden?(t.expirationTime=1073741823,t.memoizedProps=i,e=null):(kn(e,t,u),t.memoizedProps=i,e=t.child)):e=In(e,t),e;case 6:return null===e&&wn(t),t.memoizedProps=t.pendingProps,null;case 16:return null;case 4:return ln(t,t.stateNode.containerInfo),o=t.pendingProps,Oa.current||t.memoizedProps!==o?(null===e?t.child=Ua(t,null,o,n):kn(e,t,o),t.memoizedProps=o,e=t.child):e=In(e,t),e;case 14:return o=t.type.render,n=t.pendingProps,i=t.ref,Oa.current||t.memoizedProps!==n||i!==(null!==e?e.ref:null)?(o=o(n,i),kn(e,t,o),t.memoizedProps=n,e=t.child):e=In(e,t),e;case 10:return n=t.pendingProps,Oa.current||t.memoizedProps!==n?(kn(e,t,n),t.memoizedProps=n,e=t.child):e=In(e,t),e;case 11:return n=t.pendingProps.children,Oa.current||null!==n&&t.memoizedProps!==n?(kn(e,t,n),t.memoizedProps=n,e=t.child):e=In(e,t),e;case 15:return n=t.pendingProps,t.memoizedProps===n?e=In(e,t):(kn(e,t,n.children),t.memoizedProps=n,e=t.child),e;case 13:return Pn(e,t,n);case 12:e:if(i=t.type,a=t.pendingProps,u=t.memoizedProps,o=i._currentValue,s=i._changedBits,Oa.current||0!==s||u!==a){if(t.memoizedProps=a,l=a.unstable_observedBits,void 0!==l&&null!==l||(l=1073741823),t.stateNode=l,0!==(s&l))An(t,i,s,n);else if(u===a){e=In(e,t);break e}n=a.children,n=n(o),t.effectTag|=1,kn(e,t,n),e=t.child}else e=In(e,t);return e;default:r("156")}}function Nn(e){e.effectTag|=4}function Mn(e,t){var n=t.pendingProps;switch(t.tag){case 1:return null;case 2:return At(t),null;case 3:un(t),Pt(t);var i=t.stateNode;return i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),null!==e&&null!==e.child||(Tn(t),t.effectTag&=-3),Ka(t),null;case 5:cn(t),i=sn(Ba.current);var o=t.type;if(null!==e&&null!=t.stateNode){var a=e.memoizedProps,s=t.stateNode,l=sn(ja.current);s=mt(s,o,a,n,i),Ya(e,t,s,o,a,n,i,l),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!n)return null===t.stateNode&&r("166"),null;if(e=sn(ja.current),Tn(t))n=t.stateNode,o=t.type,a=t.memoizedProps,n[ii]=t,n[oi]=a,i=vt(n,o,a,e,i),t.updateQueue=i,null!==i&&Nn(t);else{e=ft(o,n,i,e),e[ii]=t,e[oi]=n;e:for(a=t.child;null!==a;){if(5===a.tag||6===a.tag)e.appendChild(a.stateNode);else if(4!==a.tag&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}pt(e,o,n,i),bt(o,n)&&Nn(t),t.stateNode=e}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Za(e,t,e.memoizedProps,n);else{if("string"!==typeof n)return null===t.stateNode&&r("166"),null;i=sn(Ba.current),sn(ja.current),Tn(t)?(i=t.stateNode,n=t.memoizedProps,i[ii]=t,yt(i,n)&&Nn(t)):(i=ht(n,i),i[ii]=t,t.stateNode=i)}return null;case 14:case 16:case 10:case 11:case 15:return null;case 4:return un(t),Ka(t),null;case 13:return an(t),null;case 12:return null;case 0:r("167");default:r("156")}}function Dn(e,t){var n=t.source;null===t.stack&&null!==n&&se(n),null!==n&&ae(n),t=t.value,null!==e&&2===e.tag&&ae(e);try{t&&t.suppressReactErrorLogging||console.error(t)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}}function Ln(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(t){Xn(e,t)}else t.current=null}function jn(e){switch("function"===typeof qt&&qt(e),e.tag){case 2:Ln(e);var t=e.stateNode;if("function"===typeof t.componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Xn(e,t)}break;case 5:Ln(e);break;case 4:Fn(e)}}function Wn(e){return 5===e.tag||3===e.tag||4===e.tag}function Bn(e){e:{for(var t=e.return;null!==t;){if(Wn(t)){var n=t;break e}t=t.return}r("160"),n=void 0}var i=t=void 0;switch(n.tag){case 5:t=n.stateNode,i=!1;break;case 3:case 4:t=n.stateNode.containerInfo,i=!0;break;default:r("161")}16&n.effectTag&&(st(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Wn(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var o=e;;){if(5===o.tag||6===o.tag)if(n)if(i){var a=t,s=o.stateNode,l=n;8===a.nodeType?a.parentNode.insertBefore(s,l):a.insertBefore(s,l)}else t.insertBefore(o.stateNode,n);else i?(a=t,s=o.stateNode,8===a.nodeType?a.parentNode.insertBefore(s,a):a.appendChild(s)):t.appendChild(o.stateNode);else if(4!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function Fn(e){for(var t=e,n=!1,i=void 0,o=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&r("160"),n.tag){case 5:i=n.stateNode,o=!1;break e;case 3:case 4:i=n.stateNode.containerInfo,o=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var a=t,s=a;;)if(jn(s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===a)break;for(;null===s.sibling;){if(null===s.return||s.return===a)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}o?(a=i,s=t.stateNode,8===a.nodeType?a.parentNode.removeChild(s):a.removeChild(s)):i.removeChild(t.stateNode)}else if(4===t.tag?i=t.stateNode.containerInfo:jn(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return,4===t.tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function zn(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var i=t.memoizedProps;e=null!==e?e.memoizedProps:i;var o=t.type,a=t.updateQueue;t.updateQueue=null,null!==a&&(n[oi]=i,gt(n,a,o,e,i))}break;case 6:null===t.stateNode&&r("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 15:case 16:break;default:r("163")}}function Un(e,t,n){n=Yt(n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){pr(r),Dn(e,t)},n}function Hn(e,t,n){n=Yt(n),n.tag=3;var r=e.stateNode;return null!==r&&"function"===typeof r.componentDidCatch&&(n.callback=function(){null===cs?cs=new Set([this]):cs.add(this);var n=t.value,r=t.stack;Dn(e,t),this.componentDidCatch(n,{componentStack:null!==r?r:""})}),n}function Gn(e,t,n,r,i,o){n.effectTag|=512,n.firstEffect=n.lastEffect=null,r=rn(r,n),e=t;do{switch(e.tag){case 3:return e.effectTag|=1024,r=Un(e,r,o),void Qt(e,r,o);case 2:if(t=r,n=e.stateNode,0===(64&e.effectTag)&&null!==n&&"function"===typeof n.componentDidCatch&&(null===cs||!cs.has(n)))return e.effectTag|=1024,r=Hn(e,t,o),void Qt(e,r,o)}e=e.return}while(null!==e)}function qn(e){switch(e.tag){case 2:At(e);var t=e.effectTag;return 1024&t?(e.effectTag=-1025&t|64,e):null;case 3:return un(e),Pt(e),t=e.effectTag,1024&t?(e.effectTag=-1025&t|64,e):null;case 5:return cn(e),null;case 16:return t=e.effectTag,1024&t?(e.effectTag=-1025&t|64,e):null;case 4:return un(e),null;case 13:return an(e),null;default:return null}}function Vn(){if(null!==ns)for(var e=ns.return;null!==e;){var t=e;switch(t.tag){case 2:At(t);break;case 3:un(t),Pt(t);break;case 5:cn(t);break;case 4:un(t);break;case 13:an(t)}e=e.return}rs=null,is=0,os=-1,as=!1,ns=null,us=!1}function Kn(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0===(512&e.effectTag)){t=Mn(t,e,is);var i=e;if(1073741823===is||1073741823!==i.expirationTime){var o=0;switch(i.tag){case 3:case 2:var a=i.updateQueue;null!==a&&(o=a.expirationTime)}for(a=i.child;null!==a;)0!==a.expirationTime&&(0===o||o>a.expirationTime)&&(o=a.expirationTime),a=a.sibling;i.expirationTime=o}if(null!==t)return t;if(null!==n&&0===(512&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e)),null!==r)return r;if(null===n){us=!0;break}e=n}else{if(null!==(e=qn(e,as,is)))return e.effectTag&=511,e;if(null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=512),null!==r)return r;if(null===n)break;e=n}}return null}function Yn(e){var t=Rn(e.alternate,e,is);return null===t&&(t=Kn(e)),Bi.current=null,t}function Zn(e,t,n){ts&&r("243"),ts=!0,t===is&&e===rs&&null!==ns||(Vn(),rs=e,is=t,os=-1,ns=Lt(rs.current,null,is),e.pendingCommitExpirationTime=0);var i=!1;for(as=!n||is<=Qa;;){try{if(n)for(;null!==ns&&!hr();)ns=Yn(ns);else for(;null!==ns;)ns=Yn(ns)}catch(t){if(null===ns)i=!0,pr(t);else{null===ns&&r("271"),n=ns;var o=n.return;if(null===o){i=!0,pr(t);break}Gn(e,o,n,t,as,is,$a),ns=Kn(n)}}break}if(ts=!1,i)return null;if(null===ns){if(us)return e.pendingCommitExpirationTime=t,e.current.alternate;as&&r("262"),0<=os&&setTimeout(function(){var t=e.current.expirationTime;0!==t&&(0===e.remainingExpirationTime||e.remainingExpirationTime<t)&&ir(e,t)},os),mr(e.current.expirationTime)}return null}function Xn(e,t){var n;e:{for(ts&&!ls&&r("263"),n=e.return;null!==n;){switch(n.tag){case 2:var i=n.stateNode;if("function"===typeof n.type.getDerivedStateFromCatch||"function"===typeof i.componentDidCatch&&(null===cs||!cs.has(i))){e=rn(t,e),e=Hn(n,e,1),Xt(n,e,1),Jn(n,1),n=void 0;break e}break;case 3:e=rn(t,e),e=Un(n,e,1),Xt(n,e,1),Jn(n,1),n=void 0;break e}n=n.return}3===e.tag&&(n=rn(t,e),n=Un(e,n,1),Xt(e,n,1),Jn(e,1)),n=void 0}return n}function Qn(){var e=2+25*(1+((er()-2+500)/25|0));return e<=Ja&&(e=Ja+1),Ja=e}function $n(e,t){return e=0!==es?es:ts?ls?1:is:1&t.mode?xs?2+10*(1+((e-2+15)/10|0)):2+25*(1+((e-2+500)/25|0)):1,xs&&(0===ys||e>ys)&&(ys=e),e}function Jn(e,t){for(;null!==e;){if((0===e.expirationTime||e.expirationTime>t)&&(e.expirationTime=t),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>t)&&(e.alternate.expirationTime=t),null===e.return){if(3!==e.tag)break;var n=e.stateNode;!ts&&0!==is&&t<is&&Vn();var i=n.current.expirationTime;ts&&!ls&&rs===n||ir(n,i),Os>Cs&&r("185")}e=e.return}}function er(){return $a=Ta()-Xa,Qa=2+($a/10|0)}function tr(e){var t=es;es=2+25*(1+((er()-2+500)/25|0));try{return e()}finally{es=t}}function nr(e,t,n,r,i){var o=es;es=1;try{return e(t,n,r,i)}finally{es=o}}function rr(e){if(0!==hs){if(e>hs)return;null!==ps&&ka(ps)}var t=Ta()-Xa;hs=e,ps=_a(ar,{timeout:10*(e-2)-t})}function ir(e,t){if(null===e.nextScheduledRoot)e.remainingExpirationTime=t,null===fs?(ds=fs=e,e.nextScheduledRoot=e):(fs=fs.nextScheduledRoot=e,fs.nextScheduledRoot=ds);else{var n=e.remainingExpirationTime;(0===n||t<n)&&(e.remainingExpirationTime=t)}ms||(_s?ks&&(gs=e,vs=1,dr(e,1,!1)):1===t?sr():rr(t))}function or(){var e=0,t=null;if(null!==fs)for(var n=fs,i=ds;null!==i;){var o=i.remainingExpirationTime;if(0===o){if((null===n||null===fs)&&r("244"),i===i.nextScheduledRoot){ds=fs=i.nextScheduledRoot=null;break}if(i===ds)ds=o=i.nextScheduledRoot,fs.nextScheduledRoot=o,i.nextScheduledRoot=null;else{if(i===fs){fs=n,fs.nextScheduledRoot=ds,i.nextScheduledRoot=null;break}n.nextScheduledRoot=i.nextScheduledRoot,i.nextScheduledRoot=null}i=n.nextScheduledRoot}else{if((0===e||o<e)&&(e=o,t=i),i===fs)break;n=i,i=i.nextScheduledRoot}}n=gs,null!==n&&n===t&&1===e?Os++:Os=0,gs=t,vs=e}function ar(e){lr(0,!0,e)}function sr(){lr(1,!1,null)}function lr(e,t,n){if(Ts=n,or(),t)for(;null!==gs&&0!==vs&&(0===e||e>=vs)&&(!bs||er()>=vs);)er(),dr(gs,vs,!bs),or();else for(;null!==gs&&0!==vs&&(0===e||e>=vs);)dr(gs,vs,!1),or();null!==Ts&&(hs=0,ps=null),0!==vs&&rr(vs),Ts=null,bs=!1,cr()}function ur(e,t){ms&&r("253"),gs=e,vs=t,dr(e,t,!1),sr(),cr()}function cr(){if(Os=0,null!==Ss){var e=Ss;Ss=null;for(var t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(e){ws||(ws=!0,Es=e)}}}if(ws)throw e=Es,Es=null,ws=!1,e}function dr(e,t,n){ms&&r("245"),ms=!0,n?(n=e.finishedWork,null!==n?fr(e,n,t):null!==(n=Zn(e,t,!0))&&(hr()?e.finishedWork=n:fr(e,n,t))):(n=e.finishedWork,null!==n?fr(e,n,t):null!==(n=Zn(e,t,!1))&&fr(e,n,t)),ms=!1}function fr(e,t,n){var i=e.firstBatch;if(null!==i&&i._expirationTime<=n&&(null===Ss?Ss=[i]:Ss.push(i),i._defer))return e.finishedWork=t,void(e.remainingExpirationTime=0);if(e.finishedWork=null,ls=ts=!0,n=t.stateNode,n.current===t&&r("177"),i=n.pendingCommitExpirationTime,0===i&&r("261"),n.pendingCommitExpirationTime=0,er(),Bi.current=null,1<t.effectTag)if(null!==t.lastEffect){t.lastEffect.nextEffect=t;var o=t.firstEffect}else o=t;else o=t.firstEffect;wa=Ro;var a=Br();if(Ze(a)){if("selectionStart"in a)var s={start:a.selectionStart,end:a.selectionEnd};else e:{var l=window.getSelection&&window.getSelection();if(l&&0!==l.rangeCount){s=l.anchorNode;var u=l.anchorOffset,c=l.focusNode;l=l.focusOffset;try{s.nodeType,c.nodeType}catch(e){s=null;break e}var d=0,f=-1,h=-1,p=0,m=0,g=a,v=null;t:for(;;){for(var y;g!==s||0!==u&&3!==g.nodeType||(f=d+u),g!==c||0!==l&&3!==g.nodeType||(h=d+l),3===g.nodeType&&(d+=g.nodeValue.length),null!==(y=g.firstChild);)v=g,g=y;for(;;){if(g===a)break t;if(v===s&&++p===u&&(f=d),v===c&&++m===l&&(h=d),null!==(y=g.nextSibling))break;g=v,v=g.parentNode}g=y}s=-1===f||-1===h?null:{start:f,end:h}}else s=null}s=s||{start:0,end:0}}else s=null;for(Ea={focusedElem:a,selectionRange:s},ze(!1),ss=o;null!==ss;){a=!1,s=void 0;try{for(;null!==ss;){if(256&ss.effectTag){var b=ss.alternate;switch(u=ss,u.tag){case 2:if(256&u.effectTag&&null!==b){var w=b.memoizedProps,E=b.memoizedState,T=u.stateNode;T.props=u.memoizedProps,T.state=u.memoizedState;var _=T.getSnapshotBeforeUpdate(w,E);T.__reactInternalSnapshotBeforeUpdate=_}break;case 3:case 5:case 6:case 4:break;default:r("163")}}ss=ss.nextEffect}}catch(e){a=!0,s=e}a&&(null===ss&&r("178"),Xn(ss,s),null!==ss&&(ss=ss.nextEffect))}for(ss=o;null!==ss;){b=!1,w=void 0;try{for(;null!==ss;){var k=ss.effectTag;if(16&k&&st(ss.stateNode,""),128&k){var x=ss.alternate;if(null!==x){var S=x.ref;null!==S&&("function"===typeof S?S(null):S.current=null)}}switch(14&k){case 2:Bn(ss),ss.effectTag&=-3;break;case 6:Bn(ss),ss.effectTag&=-3,zn(ss.alternate,ss);break;case 4:zn(ss.alternate,ss);break;case 8:E=ss,Fn(E),E.return=null,E.child=null,E.alternate&&(E.alternate.child=null,E.alternate.return=null)}ss=ss.nextEffect}}catch(e){b=!0,w=e}b&&(null===ss&&r("178"),Xn(ss,w),null!==ss&&(ss=ss.nextEffect))}if(S=Ea,x=Br(),k=S.focusedElem,b=S.selectionRange,x!==k&&zr(document.documentElement,k)){null!==b&&Ze(k)&&(x=b.start,S=b.end,void 0===S&&(S=x),"selectionStart"in k?(k.selectionStart=x,k.selectionEnd=Math.min(S,k.value.length)):window.getSelection&&(x=window.getSelection(),w=k[N()].length,S=Math.min(b.start,w),b=void 0===b.end?S:Math.min(b.end,w),!x.extend&&S>b&&(w=b,b=S,S=w),w=Ye(k,S),E=Ye(k,b),w&&E&&(1!==x.rangeCount||x.anchorNode!==w.node||x.anchorOffset!==w.offset||x.focusNode!==E.node||x.focusOffset!==E.offset)&&(T=document.createRange(),T.setStart(w.node,w.offset),x.removeAllRanges(),S>b?(x.addRange(T),x.extend(E.node,E.offset)):(T.setEnd(E.node,E.offset),x.addRange(T))))),x=[];for(S=k;S=S.parentNode;)1===S.nodeType&&x.push({element:S,left:S.scrollLeft,top:S.scrollTop});for("function"===typeof k.focus&&k.focus(),k=0;k<x.length;k++)S=x[k],S.element.scrollLeft=S.left,S.element.scrollTop=S.top}for(Ea=null,ze(wa),wa=null,n.current=t,ss=o;null!==ss;){o=!1,k=void 0;try{for(x=i;null!==ss;){var C=ss.effectTag;if(36&C){var O=ss.alternate;switch(S=ss,b=x,S.tag){case 2:var A=S.stateNode;if(4&S.effectTag)if(null===O)A.props=S.memoizedProps,A.state=S.memoizedState,A.componentDidMount();else{var P=O.memoizedProps,I=O.memoizedState;A.props=S.memoizedProps,A.state=S.memoizedState,A.componentDidUpdate(P,I,A.__reactInternalSnapshotBeforeUpdate)}var R=S.updateQueue;null!==R&&(A.props=S.memoizedProps,A.state=S.memoizedState,nn(S,R,A,b));break;case 3:var M=S.updateQueue;if(null!==M){if(w=null,null!==S.child)switch(S.child.tag){case 5:w=S.child.stateNode;break;case 2:w=S.child.stateNode}nn(S,M,w,b)}break;case 5:var D=S.stateNode;null===O&&4&S.effectTag&&bt(S.type,S.memoizedProps)&&D.focus();break;case 6:case 4:case 15:case 16:break;default:r("163")}}if(128&C){S=void 0;var L=ss.ref;if(null!==L){var j=ss.stateNode;switch(ss.tag){case 5:S=j;break;default:S=j}"function"===typeof L?L(S):L.current=S}}var W=ss.nextEffect;ss.nextEffect=null,ss=W}}catch(e){o=!0,k=e}o&&(null===ss&&r("178"),Xn(ss,k),null!==ss&&(ss=ss.nextEffect))}ts=ls=!1,"function"===typeof Gt&&Gt(t.stateNode),t=n.current.expirationTime,0===t&&(cs=null),e.remainingExpirationTime=t}function hr(){return!(null===Ts||Ts.timeRemaining()>As)&&(bs=!0)}function pr(e){null===gs&&r("246"),gs.remainingExpirationTime=0,ws||(ws=!0,Es=e)}function mr(e){null===gs&&r("246"),gs.remainingExpirationTime=e}function gr(e,t){var n=_s;_s=!0;try{return e(t)}finally{(_s=n)||ms||sr()}}function vr(e,t){if(_s&&!ks){ks=!0;try{return e(t)}finally{ks=!1}}return e(t)}function yr(e,t){ms&&r("187");var n=_s;_s=!0;try{return nr(e,t)}finally{_s=n,sr()}}function br(e,t,n){if(xs)return e(t,n);_s||ms||0===ys||(lr(ys,!1,null),ys=0);var r=xs,i=_s;_s=xs=!0;try{return e(t,n)}finally{xs=r,(_s=i)||ms||sr()}}function wr(e){var t=_s;_s=!0;try{nr(e)}finally{(_s=t)||ms||lr(1,!1,null)}}function Er(e,t,n,i,o){var a=t.current;if(n){n=n._reactInternalFiber;var s;e:{for(2===Ne(n)&&2===n.tag||r("170"),s=n;3!==s.tag;){if(Ot(s)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}(s=s.return)||r("171")}s=s.stateNode.context}n=Ot(n)?Rt(n,s):s}else n=Ur;return null===t.context?t.context=n:t.pendingContext=n,t=o,o=Yt(i),o.payload={element:e},t=void 0===t?null:t,null!==t&&(o.callback=t),Xt(a,o,i),Jn(a,i),i}function Tr(e){var t=e._reactInternalFiber;return void 0===t&&("function"===typeof e.render?r("188"):r("268",Object.keys(e))),e=Le(t),null===e?null:e.stateNode}function _r(e,t,n,r){var i=t.current;return i=$n(er(),i),Er(e,t,n,i,r)}function kr(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function xr(e){var t=e.findFiberByHostInstance;return Ht(jr({},e,{findHostInstanceByFiber:function(e){return e=Le(e),null===e?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}function Sr(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ui,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Cr(e){this._expirationTime=Qn(),this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Or(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Ar(e,t,n){this._internalRoot=zt(e,t,n)}function Pr(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ir(e,t){if(t||(t=e?9===e.nodeType?e.documentElement:e.firstChild:null,t=!(!t||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Ar(e,!1,t)}function Rr(e,t,n,i,o){Pr(n)||r("200");var a=n._reactRootContainer;if(a){if("function"===typeof o){var s=o;o=function(){var e=kr(a._internalRoot);s.call(e)}}null!=e?a.legacy_renderSubtreeIntoContainer(e,t,o):a.render(t,o)}else{if(a=n._reactRootContainer=Ir(n,i),"function"===typeof o){var l=o;o=function(){var e=kr(a._internalRoot);l.call(e)}}vr(function(){null!=e?a.legacy_renderSubtreeIntoContainer(e,t,o):a.render(t,o)})}return kr(a._internalRoot)}function Nr(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return Pr(t)||r("200"),Sr(e,t,null,n)}var Mr=n(92),Dr=n(1),Lr=n(276),jr=n(70),Wr=n(93),Br=n(277),Fr=n(94),zr=n(278),Ur=n(147);Dr||r("227");var Hr={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,invokeGuardedCallback:function(e,t,n,r,o,a,s,l,u){i.apply(Hr,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,r,i,o,a,s,l){if(Hr.invokeGuardedCallback.apply(this,arguments),Hr.hasCaughtError()){var u=Hr.clearCaughtError();Hr._hasRethrowError||(Hr._hasRethrowError=!0,Hr._rethrowError=u)}},rethrowCaughtError:function(){return o.apply(Hr,arguments)},hasCaughtError:function(){return Hr._hasCaughtError},clearCaughtError:function(){if(Hr._hasCaughtError){var e=Hr._caughtError;return Hr._caughtError=null,Hr._hasCaughtError=!1,e}r("198")}},Gr=null,qr={},Vr=[],Kr={},Yr={},Zr={},Xr={plugins:Vr,eventNameDispatchConfigs:Kr,registrationNameModules:Yr,registrationNameDependencies:Zr,possibleRegistrationNames:null,injectEventPluginOrder:l,injectEventPluginsByName:u},Qr=null,$r=null,Jr=null,ei=null,ti={injectEventPluginOrder:l,injectEventPluginsByName:u},ni={injection:ti,getListener:g,runEventsInBatch:v,runExtractedEventsInBatch:y},ri=Math.random().toString(36).slice(2),ii="__reactInternalInstance$"+ri,oi="__reactEventHandlers$"+ri,ai={precacheFiberNode:function(e,t){t[ii]=e},getClosestInstanceFromNode:b,getInstanceFromNode:function(e){return e=e[ii],!e||5!==e.tag&&6!==e.tag?null:e},getNodeFromInstance:w,getFiberCurrentPropsFromNode:E,updateFiberProps:function(e,t){e[oi]=t}},si={accumulateTwoPhaseDispatches:A,accumulateTwoPhaseDispatchesSkipTarget:function(e){f(e,S)},accumulateEnterLeaveDispatches:P,accumulateDirectDispatches:function(e){f(e,O)}},li={animationend:I("Animation","AnimationEnd"),animationiteration:I("Animation","AnimationIteration"),animationstart:I("Animation","AnimationStart"),transitionend:I("Transition","TransitionEnd")},ui={},ci={};Lr.canUseDOM&&(ci=document.createElement("div").style,"AnimationEvent"in window||(delete li.animationend.animation,delete li.animationiteration.animation,delete li.animationstart.animation),"TransitionEvent"in window||delete li.transitionend.transition);var di=R("animationend"),fi=R("animationiteration"),hi=R("animationstart"),pi=R("transitionend"),mi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),gi=null,vi={_root:null,_startText:null,_fallbackText:null},yi="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),bi={type:null,target:null,currentTarget:Wr.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};jr(L.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Wr.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Wr.thatReturnsTrue)},persist:function(){this.isPersistent=Wr.thatReturnsTrue},isPersistent:Wr.thatReturnsFalse,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;t<yi.length;t++)this[yi[t]]=null}}),L.Interface=bi,L.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return jr(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=jr({},r.Interface,e),n.extend=r.extend,B(n),n},B(L);var wi=L.extend({data:null}),Ei=L.extend({data:null}),Ti=[9,13,27,32],_i=Lr.canUseDOM&&"CompositionEvent"in window,ki=null;Lr.canUseDOM&&"documentMode"in document&&(ki=document.documentMode);var xi=Lr.canUseDOM&&"TextEvent"in window&&!ki,Si=Lr.canUseDOM&&(!_i||ki&&8<ki&&11>=ki),Ci=String.fromCharCode(32),Oi={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Ai=!1,Pi=!1,Ii={eventTypes:Oi,extractEvents:function(e,t,n,r){var i=void 0,o=void 0;if(_i)e:{switch(e){case"compositionstart":i=Oi.compositionStart;break e;case"compositionend":i=Oi.compositionEnd;break e;case"compositionupdate":i=Oi.compositionUpdate;break e}i=void 0}else Pi?F(e,n)&&(i=Oi.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=Oi.compositionStart);return i?(Si&&(Pi||i!==Oi.compositionStart?i===Oi.compositionEnd&&Pi&&(o=M()):(vi._root=r,vi._startText=D(),Pi=!0)),i=wi.getPooled(i,t,n,r),o?i.data=o:null!==(o=z(n))&&(i.data=o),A(i),o=i):o=null,(e=xi?U(e,n):H(e,n))?(t=Ei.getPooled(Oi.beforeInput,t,n,r),t.data=e,A(t)):t=null,null===o?t:null===t?o:[o,t]}},Ri=null,Ni={injectFiberControlledHostComponent:function(e){Ri=e}},Mi=null,Di=null,Li={injection:Ni,enqueueStateRestore:q,needsStateRestore:V,restoreStateIfNeeded:K},ji=!1,Wi={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Bi=Dr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Fi="function"===typeof Symbol&&Symbol.for,zi=Fi?Symbol.for("react.element"):60103,Ui=Fi?Symbol.for("react.portal"):60106,Hi=Fi?Symbol.for("react.fragment"):60107,Gi=Fi?Symbol.for("react.strict_mode"):60108,qi=Fi?Symbol.for("react.profiler"):60114,Vi=Fi?Symbol.for("react.provider"):60109,Ki=Fi?Symbol.for("react.context"):60110,Yi=Fi?Symbol.for("react.async_mode"):60111,Zi=Fi?Symbol.for("react.forward_ref"):60112,Xi=Fi?Symbol.for("react.timeout"):60113,Qi="function"===typeof Symbol&&Symbol.iterator,$i=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ji=Object.prototype.hasOwnProperty,eo={},to={},no={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){no[e]=new de(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];no[t]=new de(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){no[e]=new de(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){no[e]=new de(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){no[e]=new de(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){no[e]=new de(e,3,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){no[e]=new de(e,4,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){no[e]=new de(e,6,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){no[e]=new de(e,5,!1,e.toLowerCase(),null)});var ro=/[\-:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ro,fe);no[t]=new de(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ro,fe);no[t]=new de(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ro,fe);no[t]=new de(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),no.tabIndex=new de("tabIndex",1,!1,"tabindex",null);var io={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},oo=null,ao=null,so=!1;Lr.canUseDOM&&(so=ee("input")&&(!document.documentMode||9<document.documentMode));var lo={eventTypes:io,_isInputEventSupported:so,extractEvents:function(e,t,n,r){var i=t?w(t):window,o=void 0,a=void 0,s=i.nodeName&&i.nodeName.toLowerCase();if("select"===s||"input"===s&&"file"===i.type?o=ke:$(i)?so?o=Pe:(o=Oe,a=Ce):(s=i.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(o=Ae),o&&(o=o(e,t)))return Ee(o,n,r);a&&a(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&be(i,"number",i.value)}},uo=L.extend({view:null,detail:null}),co={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},fo=uo.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Re,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)}}),ho=fo.extend({pointerId:null,width:null,height:null,pressure:null,tiltX:null,tiltY:null,pointerType:null,isPrimary:null}),po={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},mo={eventTypes:po,extractEvents:function(e,t,n,r){var i="mouseover"===e||"pointerover"===e,o="mouseout"===e||"pointerout"===e;if(i&&(n.relatedTarget||n.fromElement)||!o&&!i)return null;if(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,o?(o=t,t=(t=n.relatedTarget||n.toElement)?b(t):null):o=null,o===t)return null;var a=void 0,s=void 0,l=void 0,u=void 0;return"mouseout"===e||"mouseover"===e?(a=fo,s=po.mouseLeave,l=po.mouseEnter,u="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=ho,s=po.pointerLeave,l=po.pointerEnter,u="pointer"),e=null==o?i:w(o),i=null==t?i:w(t),s=a.getPooled(s,o,n,r),s.type=u+"leave",s.target=e,s.relatedTarget=i,n=a.getPooled(l,t,n,r),n.type=u+"enter",n.target=i,n.relatedTarget=e,P(s,n,o,t),[s,n]}},go=L.extend({animationName:null,elapsedTime:null,pseudoElement:null}),vo=L.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yo=uo.extend({relatedTarget:null}),bo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wo={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Eo=uo.extend({key:function(e){if(e.key){var t=bo[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?(e=We(e),13===e?"Enter":String.fromCharCode(e)):"keydown"===e.type||"keyup"===e.type?wo[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Re,charCode:function(e){return"keypress"===e.type?We(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?We(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),To=fo.extend({dataTransfer:null}),_o=uo.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Re}),ko=L.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),xo=fo.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),So=[["abort","abort"],[di,"animationEnd"],[fi,"animationIteration"],[hi,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[pi,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],Co={},Oo={};[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(e){Be(e,!0)}),So.forEach(function(e){Be(e,!1)});var Ao={eventTypes:Co,isInteractiveTopLevelEventType:function(e){return void 0!==(e=Oo[e])&&!0===e.isInteractive},extractEvents:function(e,t,n,r){var i=Oo[e];if(!i)return null;switch(e){case"keypress":if(0===We(n))return null;case"keydown":case"keyup":e=Eo;break;case"blur":case"focus":e=yo;break;case"click":if(2===n.button)return null;case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=fo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=To;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=_o;break;case di:case fi:case hi:e=go;break;case pi:e=ko;break;case"scroll":e=uo;break;case"wheel":e=xo;break;case"copy":case"cut":case"paste":e=vo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=ho;break;default:e=L}return t=e.getPooled(i,t,n,r),A(t),t}},Po=Ao.isInteractiveTopLevelEventType,Io=[],Ro=!0,No={get _enabled(){return Ro},setEnabled:ze,isEnabled:function(){return Ro},trapBubbledEvent:Ue,trapCapturedEvent:He,dispatchEvent:qe},Mo={},Do=0,Lo="_reactListenersID"+(""+Math.random()).slice(2),jo=Lr.canUseDOM&&"documentMode"in document&&11>=document.documentMode,Wo={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Bo=null,Fo=null,zo=null,Uo=!1,Ho={eventTypes:Wo,extractEvents:function(e,t,n,r){var i,o=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(i=!o)){e:{o=Ve(o),i=Zr.onSelect;for(var a=0;a<i.length;a++){var s=i[a];if(!o.hasOwnProperty(s)||!o[s]){o=!1;break e}}o=!0}i=!o}if(i)return null;switch(o=t?w(t):window,e){case"focus":($(o)||"true"===o.contentEditable)&&(Bo=o,Fo=t,zo=null);break;case"blur":zo=Fo=Bo=null;break;case"mousedown":Uo=!0;break;case"contextmenu":case"mouseup":return Uo=!1,Xe(n,r);case"selectionchange":if(jo)break;case"keydown":case"keyup":return Xe(n,r)}return null}};ti.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),Qr=ai.getFiberCurrentPropsFromNode,$r=ai.getInstanceFromNode,Jr=ai.getNodeFromInstance,ti.injectEventPluginsByName({SimpleEventPlugin:Ao,EnterLeaveEventPlugin:mo,ChangeEventPlugin:lo,SelectEventPlugin:Ho,BeforeInputEventPlugin:Ii});var Go="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,qo=Date,Vo=setTimeout,Ko=clearTimeout,Yo=void 0;if("object"===typeof performance&&"function"===typeof performance.now){var Zo=performance;Yo=function(){return Zo.now()}}else Yo=function(){return qo.now()};var Xo=void 0,Qo=void 0;if(Lr.canUseDOM){var $o="function"===typeof Go?Go:function(){r("276")},Jo=null,ea=null,ta=-1,na=!1,ra=!1,ia=0,oa=33,aa=33,sa={didTimeout:!1,timeRemaining:function(){var e=ia-Yo();return 0<e?e:0}},la=function(e,t){var n=e.scheduledCallback,r=!1;try{n(t),r=!0}finally{Qo(e),r||(na=!0,window.postMessage(ua,"*"))}},ua="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(e){if(e.source===window&&e.data===ua&&(na=!1,null!==Jo)){if(null!==Jo){var t=Yo();if(!(-1===ta||ta>t)){e=-1;for(var n=[],r=Jo;null!==r;){var i=r.timeoutTime;-1!==i&&i<=t?n.push(r):-1!==i&&(-1===e||i<e)&&(e=i),r=r.next}if(0<n.length)for(sa.didTimeout=!0,t=0,r=n.length;t<r;t++)la(n[t],sa);ta=e}}for(e=Yo();0<ia-e&&null!==Jo;)e=Jo,sa.didTimeout=!1,la(e,sa),e=Yo();null===Jo||ra||(ra=!0,$o(ca))}},!1);var ca=function(e){ra=!1;var t=e-ia+aa;t<aa&&oa<aa?(8>t&&(t=8),aa=t<oa?oa:t):oa=t,ia=e+aa,na||(na=!0,window.postMessage(ua,"*"))};Xo=function(e,t){var n=-1;return null!=t&&"number"===typeof t.timeout&&(n=Yo()+t.timeout),(-1===ta||-1!==n&&n<ta)&&(ta=n),e={scheduledCallback:e,timeoutTime:n,prev:null,next:null},null===Jo?Jo=e:null!==(t=e.prev=ea)&&(t.next=e),ea=e,ra||(ra=!0,$o(ca)),e},Qo=function(e){if(null!==e.prev||Jo===e){var t=e.next,n=e.prev;e.next=null,e.prev=null,null!==t?null!==n?(n.next=t,t.prev=n):(t.prev=null,Jo=t):null!==n?(n.next=null,ea=n):ea=Jo=null}}}else{var da=new Map;Xo=function(e){var t={scheduledCallback:e,timeoutTime:0,next:null,prev:null},n=Vo(function(){e({timeRemaining:function(){return 1/0},didTimeout:!1})});return da.set(e,n),t},Qo=function(e){var t=da.get(e.scheduledCallback);da.delete(e),Ko(t)}}var fa={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},ha=void 0,pa=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if(e.namespaceURI!==fa.svg||"innerHTML"in e)e.innerHTML=t;else{for(ha=ha||document.createElement("div"),ha.innerHTML="<svg>"+t+"</svg>",t=ha.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),ma={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ga=["Webkit","ms","Moz","O"];Object.keys(ma).forEach(function(e){ga.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ma[t]=ma[e]})});var va=jr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),ya=Wr.thatReturns(""),ba={createElement:ft,createTextNode:ht,setInitialProperties:pt,diffProperties:mt,updateProperties:gt,diffHydratedProperties:vt,diffHydratedText:yt,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(e,t,n){switch(t){case"input":if(ve(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var o=E(i);o||r("90"),ie(i),ve(i,o)}}}break;case"textarea":rt(e,n);break;case"select":null!=(t=n.value)&&Je(e,!!n.multiple,t,!1)}}},wa=null,Ea=null,Ta=Yo,_a=Xo,ka=Qo;new Set;var xa=[],Sa=-1,Ca=_t(Ur),Oa=_t(!1),Aa=Ur,Pa=null,Ia=null,Ra=!1,Na=_t(null),Ma=_t(null),Da=_t(0),La={},ja=_t(La),Wa=_t(La),Ba=_t(La),Fa={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===Ne(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=er();r=$n(r,e);var i=Yt(r);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),Xt(e,i,r),Jn(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=er();r=$n(r,e);var i=Yt(r);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),Xt(e,i,r),Jn(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=er();n=$n(n,e);var r=Yt(n);r.tag=2,void 0!==t&&null!==t&&(r.callback=t),Xt(e,r,n),Jn(e,n)}},za=Array.isArray,Ua=vn(!0),Ha=vn(!1),Ga=null,qa=null,Va=!1,Ka=void 0,Ya=void 0,Za=void 0;Ka=function(){},Ya=function(e,t,n){(t.updateQueue=n)&&Nn(t)},Za=function(e,t,n,r){n!==r&&Nn(t)};var Xa=Ta(),Qa=2,$a=Xa,Ja=0,es=0,ts=!1,ns=null,rs=null,is=0,os=-1,as=!1,ss=null,ls=!1,us=!1,cs=null,ds=null,fs=null,hs=0,ps=void 0,ms=!1,gs=null,vs=0,ys=0,bs=!1,ws=!1,Es=null,Ts=null,_s=!1,ks=!1,xs=!1,Ss=null,Cs=1e3,Os=0,As=1,Ps={updateContainerAtExpirationTime:Er,createContainer:function(e,t,n){return zt(e,t,n)},updateContainer:_r,flushRoot:ur,requestWork:ir,computeUniqueAsyncExpiration:Qn,batchedUpdates:gr,unbatchedUpdates:vr,deferredUpdates:tr,syncUpdates:nr,interactiveUpdates:br,flushInteractiveUpdates:function(){ms||0===ys||(lr(ys,!1,null),ys=0)},flushControlled:wr,flushSync:yr,getPublicRootInstance:kr,findHostInstance:Tr,findHostInstanceWithNoPortals:function(e){return e=je(e),null===e?null:e.stateNode},injectIntoDevTools:xr};Ni.injectFiberControlledHostComponent(ba),Cr.prototype.render=function(e){this._defer||r("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,i=new Or;return Er(e,t,null,n,i._onCommit),i},Cr.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Cr.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||r("251"),this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var i=null,o=t;o!==this;)i=o,o=o._next;null===i&&r("251"),i._next=o._next,this._next=t,e.firstBatch=this}this._defer=!1,ur(e,n),t=this._next,this._next=null,t=e.firstBatch=t,null!==t&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},Cr.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},Or.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Or.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!==typeof n&&r("191",n),n()}}},Ar.prototype.render=function(e,t){var n=this._internalRoot,r=new Or;return t=void 0===t?null:t,null!==t&&r.then(t),_r(e,n,null,r._onCommit),r},Ar.prototype.unmount=function(e){var t=this._internalRoot,n=new Or;return e=void 0===e?null:e,null!==e&&n.then(e),_r(null,t,null,n._onCommit),n},Ar.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var r=this._internalRoot,i=new Or;return n=void 0===n?null:n,null!==n&&i.then(n),_r(t,r,e,i._onCommit),i},Ar.prototype.createBatch=function(){var e=new Cr(this),t=e._expirationTime,n=this._internalRoot,r=n.firstBatch;if(null===r)n.firstBatch=e,e._next=null;else{for(n=null;null!==r&&r._expirationTime<=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},Y=Ps.batchedUpdates,Z=Ps.interactiveUpdates,X=Ps.flushInteractiveUpdates;var Is={createPortal:Nr,findDOMNode:function(e){return null==e?null:1===e.nodeType?e:Tr(e)},hydrate:function(e,t,n){return Rr(null,e,t,!0,n)},render:function(e,t,n){return Rr(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,i){return(null==e||void 0===e._reactInternalFiber)&&r("38"),Rr(e,t,n,!1,i)},unmountComponentAtNode:function(e){return Pr(e)||r("40"),!!e._reactRootContainer&&(vr(function(){Rr(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return Nr.apply(void 0,arguments)},unstable_batchedUpdates:gr,unstable_deferredUpdates:tr,unstable_interactiveUpdates:br,flushSync:yr,unstable_flushControlled:wr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:ni,EventPluginRegistry:Xr,EventPropagators:si,ReactControlledComponent:Li,ReactDOMComponentTree:ai,ReactDOMEventListener:No},unstable_createRoot:function(e,t){return new Ar(e,!0,null!=t&&!0===t.hydrate)}};xr({findFiberByHostInstance:b,bundleType:0,version:"16.4.2",rendererPackageName:"react-dom"});var Rs={default:Is},Ns=Rs&&Is||Rs;e.exports=Ns.default?Ns.default:Ns},function(e,t,n){"use strict";var r=!("undefined"===typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=i},function(e,t,n){"use strict";function r(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=r},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!i(e)&&(i(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var i=n(279);e.exports=r},function(e,t,n){"use strict";function r(e){return i(e)&&3==e.nodeType}var i=n(280);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"===typeof n.Node?e instanceof n.Node:"object"===typeof e&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){function r(){}function i(e,t){return function(){e.apply(t,arguments)}}function o(e){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!==typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this)}function a(e,t){for(;3===e._state;)e=e._value;if(0===e._state)return void e._deferreds.push(t);e._handled=!0,o._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null===n)return void(1===e._state?s:l)(t.promise,e._value);var r;try{r=n(e._value)}catch(e){return void l(t.promise,e)}s(t.promise,r)})}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===typeof t||"function"===typeof t)){var n=t.then;if(t instanceof o)return e._state=3,e._value=t,void u(e);if("function"===typeof n)return void d(i(n,t),e)}e._state=1,e._value=t,u(e)}catch(t){l(e,t)}}function l(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&o._immediateFn(function(){e._handled||o._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)a(e,e._deferreds[t]);e._deferreds=null}function c(e,t,n){this.onFulfilled="function"===typeof e?e:null,this.onRejected="function"===typeof t?t:null,this.promise=n}function d(e,t){var n=!1;try{e(function(e){n||(n=!0,s(t,e))},function(e){n||(n=!0,l(t,e))})}catch(e){if(n)return;n=!0,l(t,e)}}function f(e,t){return t={exports:{}},e(t,t.exports),t.exports}var h=n(284),p=(n.n(h),setTimeout);o.prototype.catch=function(e){return this.then(null,e)},o.prototype.then=function(e,t){var n=new this.constructor(r);return a(this,new c(e,t,n)),n},o.prototype.finally=function(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){return t.reject(n)})})},o.all=function(e){return new o(function(t,n){function r(e,a){try{if(a&&("object"===typeof a||"function"===typeof a)){var s=a.then;if("function"===typeof s)return void s.call(a,function(t){r(e,t)},n)}i[e]=a,0===--o&&t(i)}catch(e){n(e)}}if(!e||"undefined"===typeof e.length)throw new TypeError("Promise.all accepts an array");var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var o=i.length,a=0;a<i.length;a++)r(a,i[a])})},o.resolve=function(e){return e&&"object"===typeof e&&e.constructor===o?e:new o(function(t){t(e)})},o.reject=function(e){return new o(function(t,n){n(e)})},o.race=function(e){return new o(function(t,n){for(var r=0,i=e.length;r<i;r++)e[r].then(t,n)})},o._immediateFn="function"===typeof e&&function(t){e(t)}||function(e){p(e,0)},o._unhandledRejectionFn=function(e){"undefined"!==typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var m=function(){if("undefined"!==typeof self)return self;if("undefined"!==typeof window)return window;if("undefined"!==typeof t)return t;throw new Error("unable to locate global object")}();m.Promise||(m.Promise=o);var g=f(function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),v=f(function(e){var t=e.exports={version:"2.5.5"};"number"==typeof __e&&(__e=t)}),y=(v.version,function(e){return"object"===typeof e?null!==e:"function"===typeof e}),b=function(e){if(!y(e))throw TypeError(e+" is not an object!");return e},w=function(e){try{return!!e()}catch(e){return!0}},E=!w(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),T=g.document,_=y(T)&&y(T.createElement),k=function(e){return _?T.createElement(e):{}},x=!E&&!w(function(){return 7!=Object.defineProperty(k("div"),"a",{get:function(){return 7}}).a}),S=function(e,t){if(!y(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!y(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},C=Object.defineProperty,O=E?Object.defineProperty:function(e,t,n){if(b(e),t=S(t,!0),b(n),x)try{return C(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e},A={f:O},P=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},I=E?function(e,t,n){return A.f(e,t,P(1,n))}:function(e,t,n){return e[t]=n,e},R={}.hasOwnProperty,N=function(e,t){return R.call(e,t)},M=0,D=Math.random(),L=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++M+D).toString(36))},j=f(function(e){var t=L("src"),n=Function.toString,r=(""+n).split("toString");v.inspectSource=function(e){return n.call(e)},(e.exports=function(e,n,i,o){var a="function"==typeof i;a&&(N(i,"name")||I(i,"name",n)),e[n]!==i&&(a&&(N(i,t)||I(i,t,e[n]?""+e[n]:r.join(String(n)))),e===g?e[n]=i:o?e[n]?e[n]=i:I(e,n,i):(delete e[n],I(e,n,i)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[t]||n.call(this)})}),W=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},B=function(e,t,n){if(W(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},F=function(e,t,n){var r,i,o,a,s=e&F.F,l=e&F.G,u=e&F.S,c=e&F.P,d=e&F.B,f=l?g:u?g[t]||(g[t]={}):(g[t]||{}).prototype,h=l?v:v[t]||(v[t]={}),p=h.prototype||(h.prototype={});l&&(n=t);for(r in n)i=!s&&f&&void 0!==f[r],o=(i?f:n)[r],a=d&&i?B(o,g):c&&"function"==typeof o?B(Function.call,o):o,f&&j(f,r,o,e&F.U),h[r]!=o&&I(h,r,a),c&&p[r]!=o&&(p[r]=o)};g.core=v,F.F=1,F.G=2,F.S=4,F.P=8,F.B=16,F.W=32,F.U=64,F.R=128;var z=F,U={}.toString,H=function(e){return U.call(e).slice(8,-1)},G=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==H(e)?e.split(""):Object(e)},q=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e},V=function(e){return Object(q(e))},K=Math.ceil,Y=Math.floor,Z=function(e){return isNaN(e=+e)?0:(e>0?Y:K)(e)},X=Math.min,Q=function(e){return e>0?X(Z(e),9007199254740991):0},$=Array.isArray||function(e){return"Array"==H(e)},J=g["__core-js_shared__"]||(g["__core-js_shared__"]={}),ee=function(e){return J[e]||(J[e]={})},te=f(function(e){var t=ee("wks"),n=g.Symbol,r="function"==typeof n;(e.exports=function(e){return t[e]||(t[e]=r&&n[e]||(r?n:L)("Symbol."+e))}).store=t}),ne=te("species"),re=function(e){var t;return $(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!$(t.prototype)||(t=void 0),y(t)&&null===(t=t[ne])&&(t=void 0)),void 0===t?Array:t},ie=function(e,t){return new(re(e))(t)},oe=function(e,t){var n=1==e,r=2==e,i=3==e,o=4==e,a=6==e,s=5==e||a,l=t||ie;return function(t,u,c){for(var d,f,h=V(t),p=G(h),m=B(u,c,3),g=Q(p.length),v=0,y=n?l(t,g):r?l(t,0):void 0;g>v;v++)if((s||v in p)&&(d=p[v],f=m(d,v,h),e))if(n)y[v]=f;else if(f)switch(e){case 3:return!0;case 5:return d;case 6:return v;case 2:y.push(d)}else if(o)return!1;return a?-1:i||o?o:y}},ae=te("unscopables"),se=Array.prototype;void 0==se[ae]&&I(se,ae,{});var le=function(e){se[ae][e]=!0},ue=oe(5),ce=!0;"find"in[]&&Array(1).find(function(){ce=!1}),z(z.P+z.F*ce,"Array",{find:function(e){return ue(this,e,arguments.length>1?arguments[1]:void 0)}}),le("find");var de=(v.Array.find,oe(6)),fe=!0;"findIndex"in[]&&Array(1).findIndex(function(){fe=!1}),z(z.P+z.F*fe,"Array",{findIndex:function(e){return de(this,e,arguments.length>1?arguments[1]:void 0)}}),le("findIndex");var he=(v.Array.findIndex,function(e){return G(q(e))}),pe=Math.max,me=Math.min,ge=function(e,t){return e=Z(e),e<0?pe(e+t,0):me(e,t)},ve=ee("keys"),ye=function(e){return ve[e]||(ve[e]=L(e))},be=function(e){return function(t,n,r){var i,o=he(t),a=Q(o.length),s=ge(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}}(!1),we=ye("IE_PROTO"),Ee=function(e,t){var n,r=he(e),i=0,o=[];for(n in r)n!=we&&N(r,n)&&o.push(n);for(;t.length>i;)N(r,n=t[i++])&&(~be(o,n)||o.push(n));return o},Te="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),_e=Object.keys||function(e){return Ee(e,Te)},ke=Object.getOwnPropertySymbols,xe={f:ke},Se={}.propertyIsEnumerable,Ce={f:Se},Oe=Object.assign,Ae=!Oe||w(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=Oe({},e)[n]||Object.keys(Oe({},t)).join("")!=r})?function(e,t){for(var n=V(e),r=arguments.length,i=1,o=xe.f,a=Ce.f;r>i;)for(var s,l=G(arguments[i++]),u=o?_e(l).concat(o(l)):_e(l),c=u.length,d=0;c>d;)a.call(l,s=u[d++])&&(n[s]=l[s]);return n}:Oe;z(z.S+z.F,"Object",{assign:Ae});var Pe=(v.Object.assign,te("match")),Ie=function(e){var t;return y(e)&&(void 0!==(t=e[Pe])?!!t:"RegExp"==H(e))},Re=function(e,t,n){if(Ie(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(q(e))},Ne=te("match"),Me="".startsWith;z(z.P+z.F*function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Ne]=!1,!"/./"[e](t)}catch(e){}}return!0}("startsWith"),"String",{startsWith:function(e){var t=Re(this,e,"startsWith"),n=Q(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return Me?Me.call(t,r,n):t.slice(n,n+r.length)===r}});var De=(v.String.startsWith,function(e){var t=String(q(this)),n="",r=Z(e);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n});z(z.P,"String",{repeat:De});var Le=(v.String.repeat,f(function(e){var t=L("meta"),n=A.f,r=0,i=Object.isExtensible||function(){return!0},o=!w(function(){return i(Object.preventExtensions({}))}),a=function(e){n(e,t,{value:{i:"O"+ ++r,w:{}}})},s=function(e,n){if(!y(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!N(e,t)){if(!i(e))return"F";if(!n)return"E";a(e)}return e[t].i},l=function(e,n){if(!N(e,t)){if(!i(e))return!0;if(!n)return!1;a(e)}return e[t].w},u=function(e){return o&&c.NEED&&i(e)&&!N(e,t)&&a(e),e},c=e.exports={KEY:t,NEED:!1,fastKey:s,getWeak:l,onFreeze:u}})),je=(Le.KEY,Le.NEED,Le.fastKey,Le.getWeak,Le.onFreeze,A.f),We=te("toStringTag"),Be=function(e,t,n){e&&!N(e=n?e:e.prototype,We)&&je(e,We,{configurable:!0,value:t})},Fe=te,ze={f:Fe},Ue=A.f,He=function(e){var t=v.Symbol||(v.Symbol=g.Symbol||{});"_"==e.charAt(0)||e in t||Ue(t,e,{value:ze.f(e)})},Ge=function(e){var t=_e(e),n=xe.f;if(n)for(var r,i=n(e),o=Ce.f,a=0;i.length>a;)o.call(e,r=i[a++])&&t.push(r);return t},qe=E?Object.defineProperties:function(e,t){b(e);for(var n,r=_e(t),i=r.length,o=0;i>o;)A.f(e,n=r[o++],t[n]);return e},Ve=g.document,Ke=Ve&&Ve.documentElement,Ye=ye("IE_PROTO"),Ze=function(){},Xe=function(){var e,t=k("iframe"),n=Te.length;for(t.style.display="none",Ke.appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),Xe=e.F;n--;)delete Xe.prototype[Te[n]];return Xe()},Qe=Object.create||function(e,t){var n;return null!==e?(Ze.prototype=b(e),n=new Ze,Ze.prototype=null,n[Ye]=e):n=Xe(),void 0===t?n:qe(n,t)},$e=Te.concat("length","prototype"),Je=Object.getOwnPropertyNames||function(e){return Ee(e,$e)},et={f:Je},tt=et.f,nt={}.toString,rt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],it=function(e){try{return tt(e)}catch(e){return rt.slice()}},ot=function(e){return rt&&"[object Window]"==nt.call(e)?it(e):tt(he(e))},at={f:ot},st=Object.getOwnPropertyDescriptor,lt=E?st:function(e,t){if(e=he(e),t=S(t,!0),x)try{return st(e,t)}catch(e){}if(N(e,t))return P(!Ce.f.call(e,t),e[t])},ut={f:lt},ct=Le.KEY,dt=ut.f,ft=A.f,ht=at.f,pt=g.Symbol,mt=g.JSON,gt=mt&&mt.stringify,vt=te("_hidden"),yt=te("toPrimitive"),bt={}.propertyIsEnumerable,wt=ee("symbol-registry"),Et=ee("symbols"),Tt=ee("op-symbols"),_t=Object.prototype,kt="function"==typeof pt,xt=g.QObject,St=!xt||!xt.prototype||!xt.prototype.findChild,Ct=E&&w(function(){return 7!=Qe(ft({},"a",{get:function(){return ft(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=dt(_t,t);r&&delete _t[t],ft(e,t,n),r&&e!==_t&&ft(_t,t,r)}:ft,Ot=function(e){var t=Et[e]=Qe(pt.prototype);return t._k=e,t},At=kt&&"symbol"==typeof pt.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof pt},Pt=function(e,t,n){return e===_t&&Pt(Tt,t,n),b(e),t=S(t,!0),b(n),N(Et,t)?(n.enumerable?(N(e,vt)&&e[vt][t]&&(e[vt][t]=!1),n=Qe(n,{enumerable:P(0,!1)})):(N(e,vt)||ft(e,vt,P(1,{})),e[vt][t]=!0),Ct(e,t,n)):ft(e,t,n)},It=function(e,t){b(e);for(var n,r=Ge(t=he(t)),i=0,o=r.length;o>i;)Pt(e,n=r[i++],t[n]);return e},Rt=function(e,t){return void 0===t?Qe(e):It(Qe(e),t)},Nt=function(e){var t=bt.call(this,e=S(e,!0));return!(this===_t&&N(Et,e)&&!N(Tt,e))&&(!(t||!N(this,e)||!N(Et,e)||N(this,vt)&&this[vt][e])||t)},Mt=function(e,t){if(e=he(e),t=S(t,!0),e!==_t||!N(Et,t)||N(Tt,t)){var n=dt(e,t);return!n||!N(Et,t)||N(e,vt)&&e[vt][t]||(n.enumerable=!0),n}},Dt=function(e){for(var t,n=ht(he(e)),r=[],i=0;n.length>i;)N(Et,t=n[i++])||t==vt||t==ct||r.push(t);return r},Lt=function(e){for(var t,n=e===_t,r=ht(n?Tt:he(e)),i=[],o=0;r.length>o;)!N(Et,t=r[o++])||n&&!N(_t,t)||i.push(Et[t]);return i};kt||(pt=function(){if(this instanceof pt)throw TypeError("Symbol is not a constructor!");var e=L(arguments.length>0?arguments[0]:void 0),t=function(n){this===_t&&t.call(Tt,n),N(this,vt)&&N(this[vt],e)&&(this[vt][e]=!1),Ct(this,e,P(1,n))};return E&&St&&Ct(_t,e,{configurable:!0,set:t}),Ot(e)},j(pt.prototype,"toString",function(){return this._k}),ut.f=Mt,A.f=Pt,et.f=at.f=Dt,Ce.f=Nt,xe.f=Lt,E&&j(_t,"propertyIsEnumerable",Nt,!0),ze.f=function(e){return Ot(te(e))}),z(z.G+z.W+z.F*!kt,{Symbol:pt});for(var jt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Wt=0;jt.length>Wt;)te(jt[Wt++]);for(var Bt=_e(te.store),Ft=0;Bt.length>Ft;)He(Bt[Ft++]);z(z.S+z.F*!kt,"Symbol",{for:function(e){return N(wt,e+="")?wt[e]:wt[e]=pt(e)},keyFor:function(e){if(!At(e))throw TypeError(e+" is not a symbol!");for(var t in wt)if(wt[t]===e)return t},useSetter:function(){St=!0},useSimple:function(){St=!1}}),z(z.S+z.F*!kt,"Object",{create:Rt,defineProperty:Pt,defineProperties:It,getOwnPropertyDescriptor:Mt,getOwnPropertyNames:Dt,getOwnPropertySymbols:Lt}),mt&&z(z.S+z.F*(!kt||w(function(){var e=pt();return"[null]"!=gt([e])||"{}"!=gt({a:e})||"{}"!=gt(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!At(e))return $(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!At(t))return t}),r[1]=t,gt.apply(mt,r)}}),pt.prototype[yt]||I(pt.prototype,yt,pt.prototype.valueOf),Be(pt,"Symbol"),Be(Math,"Math",!0),Be(g.JSON,"JSON",!0);var zt=te("toStringTag"),Ut="Arguments"==H(function(){return arguments}()),Ht=function(e,t){try{return e[t]}catch(e){}},Gt=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=Ht(t=Object(e),zt))?n:Ut?H(t):"Object"==(r=H(t))&&"function"==typeof t.callee?"Arguments":r},qt={};qt[te("toStringTag")]="z",qt+""!="[object z]"&&j(Object.prototype,"toString",function(){return"[object "+Gt(this)+"]"},!0),He("asyncIterator"),He("observable");var Vt=(v.Symbol,{}),Kt={};I(Kt,te("iterator"),function(){return this});var Yt=function(e,t,n){e.prototype=Qe(Kt,{next:P(1,n)}),Be(e,t+" Iterator")},Zt=ye("IE_PROTO"),Xt=Object.prototype,Qt=Object.getPrototypeOf||function(e){return e=V(e),N(e,Zt)?e[Zt]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Xt:null},$t=te("iterator"),Jt=!([].keys&&"next"in[].keys()),en=function(){return this},tn=function(e,t,n,r,i,o,a){Yt(n,t,r);var s,l,u,c=function(e){if(!Jt&&e in p)return p[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},d=t+" Iterator",f="values"==i,h=!1,p=e.prototype,m=p[$t]||p["@@iterator"]||i&&p[i],g=m||c(i),v=i?f?c("entries"):g:void 0,y="Array"==t?p.entries||m:m;if(y&&(u=Qt(y.call(new e)))!==Object.prototype&&u.next&&(Be(u,d,!0),"function"!=typeof u[$t]&&I(u,$t,en)),f&&m&&"values"!==m.name&&(h=!0,g=function(){return m.call(this)}),(Jt||h||!p[$t])&&I(p,$t,g),Vt[t]=g,Vt[d]=en,i)if(s={values:f?g:c("values"),keys:o?g:c("keys"),entries:v},a)for(l in s)l in p||j(p,l,s[l]);else z(z.P+z.F*(Jt||h),t,s);return s},nn=function(e){return function(t,n){var r,i,o=String(q(t)),a=Z(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o.charCodeAt(a),r<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536)}}(!0);tn(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=nn(t,n),this._i+=e.length,{value:e,done:!1})});var rn=function(e,t){return{value:t,done:!!e}},on=tn(Array,"Array",function(e,t){this._t=he(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,rn(1)):"keys"==t?rn(0,n):"values"==t?rn(0,e[n]):rn(0,[n,e[n]])},"values");Vt.Arguments=Vt.Array,le("keys"),le("values"),le("entries");for(var an=te("iterator"),sn=te("toStringTag"),ln=Vt.Array,un={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},cn=_e(un),dn=0;dn<cn.length;dn++){var fn,hn=cn[dn],pn=un[hn],mn=g[hn],gn=mn&&mn.prototype;if(gn&&(gn[an]||I(gn,an,ln),gn[sn]||I(gn,sn,hn),Vt[hn]=ln,pn))for(fn in on)gn[fn]||j(gn,fn,on[fn],!0)}ze.f("iterator")}.call(t,n(282).setImmediate,n(18))},function(e,t,n){(function(e){function r(e,t){this._id=e,this._clearFn=t}var i="undefined"!==typeof e&&e||"undefined"!==typeof self&&self||window,o=Function.prototype.apply;t.setTimeout=function(){return new r(o.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(i,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(283),t.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(18))},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){"function"!==typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return u[l]=r,s(l),l++}function i(e){delete u[e]}function o(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}function a(e){if(c)setTimeout(a,0,e);else{var t=u[e];if(t){c=!0;try{o(t)}finally{i(e),c=!1}}}}if(!e.setImmediate){var s,l=1,u={},c=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?function(){s=function(e){t.nextTick(function(){a(e)})}}():function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"===typeof n.data&&0===n.data.indexOf(t)&&a(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),s=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){a(e.data)},s=function(t){e.port2.postMessage(t)}}():d&&"onreadystatechange"in d.createElement("script")?function(){var e=d.documentElement;s=function(t){var n=d.createElement("script");n.onreadystatechange=function(){a(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():function(){s=function(e){setTimeout(a,0,e)}}(),f.setImmediate=r,f.clearImmediate=i}}("undefined"===typeof self?"undefined"===typeof e?this:e:self)}).call(t,n(18),n(43))},function(e,t){!function(e){"use strict";function t(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!==typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return v.iterable&&(t[Symbol.iterator]=function(){return t}),t}function i(e){this.map={},e instanceof i?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function o(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function a(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function s(e){var t=new FileReader,n=a(t);return t.readAsArrayBuffer(e),n}function l(e){var t=new FileReader,n=a(t);return t.readAsText(e),n}function u(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function c(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"===typeof e)this._bodyText=e;else if(v.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(v.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(v.arrayBuffer&&v.blob&&b(e))this._bodyArrayBuffer=c(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!v.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!w(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=c(e)}else this._bodyText="";this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},v.blob&&(this.blob=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?o(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(s)}),this.text=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return l(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(u(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},v.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(e){var t=e.toUpperCase();return E.indexOf(t)>-1?t:e}function h(e,t){t=t||{};var n=t.body;if(e instanceof h){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new i(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new i(t.headers)),this.method=f(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function m(e){var t=new i;return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t}function g(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new i(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var v={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(v.arrayBuffer)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(e){return e&&DataView.prototype.isPrototypeOf(e)},w=ArrayBuffer.isView||function(e){return e&&y.indexOf(Object.prototype.toString.call(e))>-1};i.prototype.append=function(e,r){e=t(e),r=n(r);var i=this.map[e];this.map[e]=i?i+","+r:r},i.prototype.delete=function(e){delete this.map[t(e)]},i.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},i.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},i.prototype.set=function(e,r){this.map[t(e)]=n(r)},i.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},i.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},i.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},i.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},v.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries);var E=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];h.prototype.clone=function(){return new h(this,{body:this._bodyInit})},d.call(h.prototype),d.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},g.error=function(){var e=new g(null,{status:0,statusText:""});return e.type="error",e};var T=[301,302,303,307,308];g.redirect=function(e,t){if(-1===T.indexOf(t))throw new RangeError("Invalid status code");return new g(null,{status:t,headers:{location:e}})},e.Headers=i,e.Request=h,e.Response=g,e.fetch=function(e,t){return new Promise(function(n,r){var i=new h(e,t),o=new XMLHttpRequest;o.onload=function(){var e={status:o.status,statusText:o.statusText,headers:m(o.getAllResponseHeaders()||"")};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var t="response"in o?o.response:o.responseText;n(new g(t,e))},o.onerror=function(){r(new TypeError("Network request failed"))},o.ontimeout=function(){r(new TypeError("Network request failed"))},o.open(i.method,i.url,!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&v.blob&&(o.responseType="blob"),i.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send("undefined"===typeof i._bodyInit?null:i._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!==typeof self?self:this)},function(e,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 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 o(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)}var a=n(1),s=n.n(a),l=n(287),u=n(288),c=n(96),d=(n.n(c),n(341)),f=n(605),h=n(847),p=n(850),m=n(148),g=n.n(m),v=(n(851),n(853),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}());window.addEventListener("unload",function(){});var y=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.debugURL="/Model",n.name="https://2018.igem.org/Team:Washington",n.state={loading:!0,data:new p.a},n.displayLoadingMessage=n.displayLoadingMessage.bind(n),n.getContentData=n.getContentData.bind(n),n.setEdit=n.setEdit.bind(n),n.imgsToPrefetch=n.state.data.getImgsToPrefetch(),n}return o(t,e),v(t,[{key:"prefetchImages",value:function(){this.imgsToPrefetch.forEach(function(e){(new Image).src=e})}},{key:"componentDidMount",value:function(){this.prefetchImages()}},{key:"componentWillMount",value:function(){var e=this,t=window.location.href.split("igem");if(this.pageTitle=this.debugURL,this.debugMode=!0,2===t.length){var n=t[1].split("Team:Washington")[1];this.pageTitle=n,this.debugMode=!1}this.setState({loading:!1});var r=this.state.data.getDisplayConstants(this.pageTitle),i=Object(c.createMuiTheme)({palette:{primary:{main:r.primaryColor},secondary:{main:r.secondaryColor}},typography:{fontFamily:["Raleway"]}});this.theme=i,this.firebasePassIn=null,this.firebasePassIn=g.a,g.a.database().ref("/").on("value",function(t){e.firebaseIsSet=!0,e.setState({contentData:t.val()})})}},{key:"getContentData",value:function(){return this.firebaseIsSet&&Date.now()<153983514e4?this.state.contentData.pageData:this.state.data.getContentData()}},{key:"displayLoadingMessage",value:function(){var e=this;this.setState({loading:!0}),setTimeout(function(){e.setState({loading:!1})},500)}},{key:"setEdit",value:function(e,t){this.setState({setEditData:{page:e,index:t}})}},{key:"render",value:function(){var e=this,t=this.displayLoadingMessage,n=this.getContentData(),r="/Editor"===this.pageTitle;return s.a.createElement("div",{className:"App"},s.a.createElement(c.MuiThemeProvider,{theme:this.theme},this.debugMode&&s.a.createElement(l.a,null),s.a.createElement(d.a,{name:this.name,pageTitle:this.pageTitle,data:this.state.data,a:t}),!this.state.loading&&s.a.createElement("div",null,"/ASDFTest"===this.pageTitle&&s.a.createElement("h1",null,s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("a",{onClick:function(){return e.displayLoadingMessage()},style:{color:"white"},href:this.name+"/TempMain"},"page is asdftest")),"/ASDFTestA"===this.pageTitle&&s.a.createElement("h1",null,"Page is not asdftest"),s.a.createElement("div",{style:{minHeight:"100vh"}}," ",s.a.createElement(f.a,{setEdit:this.setEdit,setEditData:this.state.setEditData,edit:r,pageTitle:r?n[0].pageTitle:this.pageTitle,a:t,data:this.state.data,contentData:n,firebase:this.firebasePassIn})),s.a.createElement(h.a,null)),this.state.loading&&s.a.createElement(u.a,null)))}}]),t}(a.Component);t.a=y},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return u});var a=n(1),s=n.n(a),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),l(t,[{key:"render",value:function(){return s.a.createElement("div",{className:"debugheader"})}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return c});var a=n(1),s=n.n(a),l=n(289),u=(n.n(l),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),c=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),u(t,[{key:"render",value:function(){return s.a.createElement("div",null,s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("h1",null,"Page loading..."),s.a.createElement("div",{className:"sk-circle"},s.a.createElement("div",{className:"sk-circle1 sk-child"}),s.a.createElement("div",{className:"sk-circle2 sk-child"}),s.a.createElement("div",{className:"sk-circle3 sk-child"}),s.a.createElement("div",{className:"sk-circle4 sk-child"}),s.a.createElement("div",{className:"sk-circle5 sk-child"}),s.a.createElement("div",{className:"sk-circle6 sk-child"}),s.a.createElement("div",{className:"sk-circle7 sk-child"}),s.a.createElement("div",{className:"sk-circle8 sk-child"}),s.a.createElement("div",{className:"sk-circle9 sk-child"}),s.a.createElement("div",{className:"sk-circle10 sk-child"}),s.a.createElement("div",{className:"sk-circle11 sk-child"}),s.a.createElement("div",{className:"sk-circle12 sk-child"})))}}]),t}(a.Component)},function(e,t){},function(e,t){function n(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}e.exports=n},function(e,t,n){"use strict";function r(e){return!0===i(e)&&"[object Object]"===Object.prototype.toString.call(e)}var i=n(292);e.exports=function(e){var t,n;return!1!==r(e)&&("function"===typeof(t=e.constructor)&&(n=t.prototype,!1!==r(n)&&!1!==n.hasOwnProperty("isPrototypeOf")))}},function(e,t,n){"use strict";e.exports=function(e){return null!=e&&"object"===typeof e&&!1===Array.isArray(e)}},function(e,t,n){"use strict";function r(e,t,n){var r;return(0,a.default)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,a.default)({paddingLeft:2*t.unit,paddingRight:2*t.unit},n,(0,o.default)({},e.up("sm"),(0,a.default)({paddingLeft:3*t.unit,paddingRight:3*t.unit},n[e.up("sm")])))},toolbar:(r={minHeight:56},(0,o.default)(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,o.default)(r,e.up("sm"),{minHeight:64}),r)},n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=i(n(7)),a=i(n(3))},function(e,t,n){"use strict";function r(e,t,n,r){e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,p.lighten)(e.main,r):"dark"===t&&(e.dark=(0,p.darken)(e.main,1.5*r)))}function i(e){function t(e){var t=(0,p.getContrastRatio)(e,g.text.primary)>=k?g.text.primary:m.text.primary;return t}function n(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;!e.main&&e[n]&&(e.main=e[n]),r(e,"light",i,S),r(e,"dark",o,S),e.contrastText||(e.contrastText=t(e.main))}var i=e.primary,o=void 0===i?{light:u.default[300],main:u.default[500],dark:u.default[700]}:i,v=e.secondary,y=void 0===v?{light:c.default.A200,main:c.default.A400,dark:c.default.A700}:v,b=e.error,w=void 0===b?{light:f.default[300],main:f.default[500],dark:f.default[700]}:b,E=e.type,T=void 0===E?"light":E,_=e.contrastThreshold,k=void 0===_?3:_,x=e.tonalOffset,S=void 0===x?.2:x,C=(0,s.default)(e,["primary","secondary","error","type","contrastThreshold","tonalOffset"]);n(o),n(y,"A400","A200","A700"),n(w);var O={dark:g,light:m};return(0,l.default)((0,a.default)({common:h.default,type:T,primary:o,secondary:y,error:w,grey:d.default,contrastThreshold:k,getContrastText:t,augmentColor:n,tonalOffset:S},O[T]),C,{clone:!1})}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=i,t.dark=t.light=void 0;var a=o(n(3)),s=o(n(4)),l=(o(n(13)),o(n(71))),u=o(n(152)),c=o(n(153)),d=o(n(154)),f=o(n(155)),h=o(n(156)),p=n(33),m={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:h.default.white,default:d.default[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.08)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.14)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)"}};t.light=m;var g={text:{primary:h.default.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:d.default[800],default:"#303030"},action:{active:h.default.white,hover:"rgba(255, 255, 255, 0.1)",hoverOpacity:.1,selected:"rgba(255, 255, 255, 0.2)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)"}};t.dark=g},function(e,t,n){"use strict";function r(e){return Math.round(1e5*e)/1e5}function i(e,t){function n(e){return"".concat(e/b*T,"rem")}var i="function"===typeof t?t(e):t,o=i.fontFamily,u=void 0===o?'"Roboto", "Helvetica", "Arial", sans-serif':o,c=i.fontSize,d=void 0===c?14:c,f=i.fontWeightLight,h=void 0===f?300:f,p=i.fontWeightRegular,m=void 0===p?400:p,g=i.fontWeightMedium,v=void 0===g?500:g,y=i.htmlFontSize,b=void 0===y?16:y,w=i.allVariants,E=(0,s.default)(i,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","htmlFontSize","allVariants"]),T=d/14;return(0,l.default)({pxToRem:n,round:r,fontFamily:u,fontSize:d,fontWeightLight:h,fontWeightRegular:m,fontWeightMedium:v,display4:(0,a.default)({fontSize:n(112),fontWeight:h,fontFamily:u,letterSpacing:"-.04em",lineHeight:"".concat(r(128/112),"em"),marginLeft:"-.04em",color:e.text.secondary},w),display3:(0,a.default)({fontSize:n(56),fontWeight:m,fontFamily:u,letterSpacing:"-.02em",lineHeight:"".concat(r(73/56),"em"),marginLeft:"-.02em",color:e.text.secondary},w),display2:(0,a.default)({fontSize:n(45),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(51/45),"em"),marginLeft:"-.02em",color:e.text.secondary},w),display1:(0,a.default)({fontSize:n(34),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(41/34),"em"),color:e.text.secondary},w),headline:(0,a.default)({fontSize:n(24),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(32.5/24),"em"),color:e.text.primary},w),title:(0,a.default)({fontSize:n(21),fontWeight:v,fontFamily:u,lineHeight:"".concat(r(24.5/21),"em"),color:e.text.primary},w),subheading:(0,a.default)({fontSize:n(16),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(1.5),"em"),color:e.text.primary},w),body2:(0,a.default)({fontSize:n(14),fontWeight:v,fontFamily:u,lineHeight:"".concat(r(24/14),"em"),color:e.text.primary},w),body1:(0,a.default)({fontSize:n(14),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(20.5/14),"em"),color:e.text.primary},w),caption:(0,a.default)({fontSize:n(12),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(1.375),"em"),color:e.text.secondary},w),button:(0,a.default)({fontSize:n(14),textTransform:"uppercase",fontWeight:v,fontFamily:u,color:e.text.primary},w)},E,{clone:!1})}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=o(n(3)),s=o(n(4)),l=o(n(71))},function(e,t,n){"use strict";function r(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0, 0, 0, ").concat(i,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0, 0, 0, ").concat(o,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0, 0, 0, ").concat(a,")")].join(",")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=.2,o=.14,a=.12,s=["none",r(0,1,3,0,0,1,1,0,0,2,1,-1),r(0,1,5,0,0,2,2,0,0,3,1,-2),r(0,1,8,0,0,3,4,0,0,3,3,-2),r(0,2,4,-1,0,4,5,0,0,1,10,0),r(0,3,5,-1,0,5,8,0,0,1,14,0),r(0,3,5,-1,0,6,10,0,0,1,18,0),r(0,4,5,-2,0,7,10,1,0,2,16,1),r(0,5,5,-3,0,8,10,1,0,3,14,2),r(0,5,6,-3,0,9,12,1,0,3,16,2),r(0,6,6,-3,0,10,14,1,0,4,18,3),r(0,6,7,-4,0,11,15,1,0,4,20,3),r(0,7,8,-4,0,12,17,2,0,5,22,4),r(0,7,8,-4,0,13,19,2,0,5,24,4),r(0,7,9,-4,0,14,21,2,0,5,26,4),r(0,8,9,-5,0,15,22,2,0,6,28,5),r(0,8,10,-5,0,16,24,2,0,6,30,5),r(0,8,11,-5,0,17,26,2,0,6,32,5),r(0,9,11,-5,0,18,28,2,0,7,34,6),r(0,9,12,-6,0,19,29,2,0,7,36,6),r(0,10,13,-6,0,20,31,3,0,8,38,7),r(0,10,13,-6,0,21,33,3,0,8,40,7),r(0,10,14,-6,0,22,35,3,0,8,42,7),r(0,11,14,-7,0,23,36,3,0,9,44,8),r(0,11,15,-7,0,24,38,3,0,9,46,8)],l=s;t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={borderRadius:4},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={unit:8},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={mobileStepper:1e3,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},i=r;t.default=i},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=e.split(m),r="",i=0;i<n.length;i++)r+=t+" "+n[i].trim(),n[i+1]&&(r+=", ");return r}function o(e){var t=e.options,n=e.style,r=n[d];if(r){for(var o in r)t.sheet.addRule(o,r[o],l({},t,{selector:i(o,e.selector)}));delete n[d]}}function a(e){var t=e.options,n=e.style;for(var r in n)if(r.substr(0,d.length)===d){var o=i(r.substr(d.length),e.selector);t.sheet.addRule(o,n[r],l({},t,{selector:o})),delete n[r]}}function s(){function e(e,t,n){if(e===d)return new h(e,t,n);if("@"===e[0]&&e.substr(0,f.length)===f)return new p(e,t,n);var r=n.parent;return r&&("global"!==r.type&&"global"!==r.options.parent.type||(n.global=!0)),n.global&&(n.selector=e),null}function t(e){"style"===e.type&&(o(e),a(e))}return{onCreateRule:e,onProcessRule:t}}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=s;var c=n(158),d="@global",f="@global ",h=function(){function e(t,n,i){r(this,e),this.type="global",this.key=t,this.options=i,this.rules=new c.RuleList(l({},i,{parent:this}));for(var o in n)this.rules.add(o,n[o],{selector:o});this.rules.process()}return u(e,[{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"addRule",value:function(e,t,n){var r=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(r),r}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"toString",value:function(){return this.rules.toString()}}]),e}(),p=function(){function e(t,n,i){r(this,e),this.name=t,this.options=i;var o=t.substr(f.length);this.rule=i.jss.createRule(o,n,l({},i,{parent:this,selector:o}))}return u(e,[{key:"toString",value:function(e){return this.rule.toString(e)}}]),e}(),m=/\s*,\s*/g},function(e,t,n){"use strict";function r(e){var t=null;for(var n in e){var o=e[n],a="undefined"===typeof o?"undefined":i(o);if("function"===a)t||(t={}),t[n]=o;else if("object"===a&&null!==o&&!Array.isArray(o)){var s=r(o);s&&(t||(t={}),t[n]=s)}}return t}Object.defineProperty(t,"__esModule",{value:!0});var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=r},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(44),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=function(){function e(){r(this,e),this.sheets=[],this.refs=[],this.keys=[]}return i(e,[{key:"get",value:function(e){var t=this.keys.indexOf(e);return this.sheets[t]}},{key:"add",value:function(e,t){var n=this.sheets,r=this.refs,i=this.keys,o=n.indexOf(t);return-1!==o?o:(n.push(t),r.push(0),i.push(e),n.length-1)}},{key:"manage",value:function(e){var t=this.keys.indexOf(e),n=this.sheets[t];return 0===this.refs[t]&&n.attach(),this.refs[t]++,this.keys[t]||this.keys.splice(t,0,e),n}},{key:"unmanage",value:function(e){var t=this.keys.indexOf(e);if(-1===t)return void(0,a.default)(!1,"SheetsManager: can't find sheet to unmanage");this.refs[t]>0&&0===--this.refs[t]&&this.sheets[t].detach()}},{key:"size",get:function(){return this.keys.length}}]),e}();t.default=s},function(e,t,n){"use strict";function r(e){if(null==e)return e;var t="undefined"===typeof e?"undefined":i(e);if("string"===t||"number"===t||"function"===t)return e;if(s(e))return e.map(r);if((0,a.default)(e))return e;var n={};for(var o in e){var l=e[o];"object"!==("undefined"===typeof l?"undefined":i(l))?n[o]=l:n[o]=r(l)}return n}Object.defineProperty(t,"__esModule",{value:!0});var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=r;var o=n(160),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=Array.isArray},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,r){var i,o=n(306);i="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:r;var a=Object(o.a)(i);t.default=a}.call(t,n(18),n(305)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"===typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}t.a=r},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});e.CSS;t.default=function(e){return e}}).call(t,n(18))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n="2f1acc6c3a606b082e5eef5e54414ffb";null==e[n]&&(e[n]=0),t.default=e[n]++}).call(t,n(18))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(74),u=r(l),c=n(163),d=r(c),f=n(310),h=r(f),p=n(311),m=r(p),g=n(317),v=r(g),y=n(318),b=r(y),w=n(99),E=r(w),T=n(45),_=r(T),k=n(162),x=r(k),S=n(73),C=r(S),O=n(319),A=r(O),P=n(320),I=r(P),R=m.default.concat([v.default,b.default]),N=0,M=function(){function e(t){i(this,e),this.id=N++,this.version="9.8.7",this.plugins=new h.default,this.options={createGenerateClassName:x.default,Renderer:u.default?A.default:I.default,plugins:[]},this.generateClassName=(0,x.default)(),this.use.apply(this,R),this.setup(t)}return s(e,[{key:"setup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.createGenerateClassName&&(this.options.createGenerateClassName=e.createGenerateClassName,this.generateClassName=e.createGenerateClassName()),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),(e.virtual||e.Renderer)&&(this.options.Renderer=e.Renderer||(e.virtual?I.default:A.default)),e.plugins&&this.use.apply(this,e.plugins),this}},{key:"createStyleSheet",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index;"number"!==typeof n&&(n=0===E.default.index?0:E.default.index+1);var r=new d.default(e,a({},t,{jss:this,generateClassName:t.generateClassName||this.generateClassName,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r}},{key:"removeStyleSheet",value:function(e){return e.detach(),E.default.remove(e),this}},{key:"createRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"object"===("undefined"===typeof e?"undefined":o(e))&&(n=t,t=e,e=void 0);var r=n;r.jss=this,r.Renderer=this.options.Renderer,r.generateClassName||(r.generateClassName=this.generateClassName),r.classes||(r.classes={});var i=(0,C.default)(e,t,r);return!r.selector&&i instanceof _.default&&(i.selector="."+r.generateClassName(i)),this.plugins.onProcessRule(i),i}},{key:"use",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach(function(t){-1===e.options.plugins.indexOf(t)&&(e.options.plugins.push(t),e.plugins.use(t))}),this}}]),e}();t.default=M},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(44),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=function(){function e(){r(this,e),this.hooks={onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}}return i(e,[{key:"onCreateRule",value:function(e,t,n){for(var r=0;r<this.hooks.onCreateRule.length;r++){var i=this.hooks.onCreateRule[r](e,t,n);if(i)return i}return null}},{key:"onProcessRule",value:function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.hooks.onProcessRule.length;n++)this.hooks.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}}},{key:"onProcessStyle",value:function(e,t,n){for(var r=e,i=0;i<this.hooks.onProcessStyle.length;i++)r=this.hooks.onProcessStyle[i](r,t,n),t.style=r}},{key:"onProcessSheet",value:function(e){for(var t=0;t<this.hooks.onProcessSheet.length;t++)this.hooks.onProcessSheet[t](e)}},{key:"onUpdate",value:function(e,t,n){for(var r=0;r<this.hooks.onUpdate.length;r++)this.hooks.onUpdate[r](e,t,n)}},{key:"onChangeValue",value:function(e,t,n){for(var r=e,i=0;i<this.hooks.onChangeValue.length;i++)r=this.hooks.onChangeValue[i](r,t,n);return r}},{key:"use",value:function(e){for(var t in e)this.hooks[t]?this.hooks[t].push(e[t]):(0,a.default)(!1,'[JSS] Unknown hook "%s".',t)}}]),e}();t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(312),o=r(i),a=n(313),s=r(a),l=n(314),u=r(l),c=n(315),d=r(c),f=n(316),h=r(f),p={"@charset":o.default,"@import":o.default,"@namespace":o.default,"@keyframes":s.default,"@media":u.default,"@supports":u.default,"@font-face":d.default,"@viewport":h.default,"@-ms-viewport":h.default},m=Object.keys(p).map(function(e){var t=new RegExp("^"+e),n=p[e];return{onCreateRule:function(e,r,i){return t.test(e)?new n(e,r,i):null}}});t.default=m},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n,i){r(this,e),this.type="simple",this.isProcessed=!1,this.key=t,this.value=n,this.options=i}return i(e,[{key:"toString",value:function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"}}]),e}();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")}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(60),s=function(e){return e&&e.__esModule?e:{default:e}}(a),l=function(){function e(t,n,o){r(this,e),this.type="keyframes",this.isProcessed=!1,this.key=t,this.options=o,this.rules=new s.default(i({},o,{parent:this}));for(var a in n)this.rules.add(a,n[a],i({},this.options,{parent:this,selector:a}));this.rules.process()}return o(e,[{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t&&(t+="\n"),this.key+" {\n"+t+"}"}}]),e}();t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(60),s=function(e){return e&&e.__esModule?e:{default:e}}(a),l=function(){function e(t,n,o){r(this,e),this.type="conditional",this.isProcessed=!1,this.key=t,this.options=o,this.rules=new s.default(i({},o,{parent:this}));for(var a in n)this.rules.add(a,n[a]);this.rules.process()}return o(e,[{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"addRule",value:function(e,t,n){var r=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(r),r}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""}}]),e}();t.default=l},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(98),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=function(){function e(t,n,i){r(this,e),this.type="font-face",this.isProcessed=!1,this.key=t,this.style=n,this.options=i}return i(e,[{key:"toString",value:function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=(0,a.default)(this.key,this.style[n]),this.style[n+1]&&(t+="\n");return t}return(0,a.default)(this.key,this.style,e)}}]),e}();t.default=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")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(98),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=function(){function e(t,n,i){r(this,e),this.type="viewport",this.isProcessed=!1,this.key=t,this.style=n,this.options=i}return i(e,[{key:"toString",value:function(e){return(0,a.default)(this.key,this.style,e)}}]),e}();t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(45),o=r(i),a=n(73),s=r(a),l=n(160),u=r(l);t.default={onCreateRule:function(e,t,n){if(!(0,u.default)(t))return null;var r=t,i=(0,s.default)(e,{},n);return r.subscribe(function(e){for(var t in e)i.prop(t,e[t])}),i},onProcessRule:function(e){if(e instanceof o.default){var t=e,n=t.style;for(var r in n){(function(e){var r=n[e];if(!(0,u.default)(r))return"continue";delete n[e],r.subscribe({next:function(n){t.prop(e,n)}})})(r)}}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(60),o=r(i),a=n(45),s=r(a),l=n(73),u=r(l),c=Date.now(),d="fnValues"+c,f="fnStyle"+ ++c;t.default={onCreateRule:function(e,t,n){if("function"!==typeof t)return null;var r=(0,u.default)(e,{},n);return r[f]=t,r},onProcessStyle:function(e,t){var n={};for(var r in e){var i=e[r];"function"===typeof i&&(delete e[r],n[r]=i)}return t=t,t[d]=n,e},onUpdate:function(e,t){if(t.rules instanceof o.default)return void t.rules.update(e);if(t instanceof s.default){if(t=t,t[d])for(var n in t[d])t.prop(n,t[d][n](e));t=t;var r=t[f];if(r){var i=r(e);for(var a in i)t.prop(a,i[a])}}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){try{return e.style.getPropertyValue(t)}catch(e){return""}}function a(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=(0,T.default)(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.style.setProperty(t,r)}catch(e){return!1}return!0}function s(e,t){try{e.style.removeProperty(t)}catch(e){(0,g.default)(!1,'[JSS] DOMException "%s" was thrown. Tried to remove property "%s".',e.message,t)}}function l(e,t){return e.selectorText=t,e.selectorText===t}function u(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}function c(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}function d(e){for(var t=S(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}function f(e){var t=y.default.registry;if(t.length>0){var n=u(t,e);if(n)return n.renderer.element;if(n=c(t,e))return n.renderer.element.nextElementSibling}var r=e.insertionPoint;if(r&&"string"===typeof r){var i=d(r);if(i)return i.nextSibling;(0,g.default)("jss"===r,'[JSS] Insertion point "%s" not found.',r)}return null}function h(e,t){var n=t.insertionPoint,r=f(t);if(r){var i=r.parentNode;return void(i&&i.insertBefore(e,r))}if(n&&"number"===typeof n.nodeType){var o=n,a=o.parentNode;return void(a?a.insertBefore(e,o.nextSibling):(0,g.default)(!1,"[JSS] Insertion point is not in the DOM."))}S().insertBefore(e,r)}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=n(44),g=r(m),v=n(99),y=r(v),b=n(45),w=r(b),E=n(72),T=r(E),_=function(e){var t=void 0;return function(){return t||(t=e()),t}},k={STYLE_RULE:1,KEYFRAMES_RULE:7},x=function(){var e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.substr(t,e.indexOf("{")-1)};return function(t){if(t.type===k.STYLE_RULE)return t.selectorText;if(t.type===k.KEYFRAMES_RULE){var n=t.name;if(n)return"@keyframes "+n;var r=t.cssText;return"@"+e(r,r.indexOf("keyframes"))}return e(t.cssText)}}(),S=_(function(){return document.head||document.getElementsByTagName("head")[0]}),C=function(){var e=void 0,t=!1;return function(n){var r={};e||(e=document.createElement("style"));for(var i=0;i<n.length;i++){var o=n[i];if(o instanceof w.default){var a=o.selector;if(a&&-1!==a.indexOf("\\")){t||(S().appendChild(e),t=!0),e.textContent=a+" {}";var s=e,l=s.sheet;if(l){var u=l.cssRules;u&&(r[u[0].selectorText]=o.key)}}}}return t&&(S().removeChild(e),t=!1),r}}(),O=_(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),A=function(){function e(t){i(this,e),this.getPropertyValue=o,this.setProperty=a,this.removeProperty=s,this.setSelector=l,this.getKey=x,this.getUnescapedKeysMap=C,this.hasInsertedRules=!1,t&&y.default.add(t),this.sheet=t;var n=this.sheet?this.sheet.options:{},r=n.media,u=n.meta,c=n.element;this.element=c||document.createElement("style"),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),u&&this.element.setAttribute("data-meta",u);var d=O();d&&this.element.setAttribute("nonce",d)}return p(e,[{key:"attach",value:function(){!this.element.parentNode&&this.sheet&&(this.hasInsertedRules&&(this.deploy(),this.hasInsertedRules=!1),h(this.element,this.sheet.options))}},{key:"detach",value:function(){this.element.parentNode.removeChild(this.element)}},{key:"deploy",value:function(){this.sheet&&(this.element.textContent="\n"+this.sheet.toString()+"\n")}},{key:"insertRule",value:function(e,t){var n=this.element.sheet,r=n.cssRules,i=e.toString();if(t||(t=r.length),!i)return!1;try{n.insertRule(i,t)}catch(t){return(0,g.default)(!1,"[JSS] Can not insert an unsupported rule \n\r%s",e),!1}return this.hasInsertedRules=!0,r[t]}},{key:"deleteRule",value:function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),!0)}},{key:"indexOf",value:function(e){for(var t=this.element.sheet.cssRules,n=0;n<t.length;n++)if(e===t[n])return n;return-1}},{key:"replaceRule",value:function(e,t){var n=this.indexOf(e),r=this.insertRule(t,n);return this.element.sheet.deleteRule(n),r}},{key:"getRules",value:function(){return this.element.sheet.cssRules}}]),e}();t.default=A},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){r(this,e)}return i(e,[{key:"setProperty",value:function(){return!0}},{key:"getPropertyValue",value:function(){return""}},{key:"removeProperty",value:function(){}},{key:"setSelector",value:function(){return!0}},{key:"getKey",value:function(){return""}},{key:"attach",value:function(){}},{key:"detach",value:function(){}},{key:"deploy",value:function(){}},{key:"insertRule",value:function(){return!1}},{key:"deleteRule",value:function(){return!0}},{key:"replaceRule",value:function(){return!1}},{key:"getRules",value:function(){}},{key:"indexOf",value:function(){return-1}}]),e}();t.default=o},function(e,t,n){"use strict";function r(){function e(e){return function(t,n){var r=e.getRule(n);return r?r.selector:((0,a.default)(!1,"[JSS] Could not find the referenced rule %s in %s.",n,e.options.meta||e),n)}}function t(e,t){for(var n=t.split(s),r=e.split(s),i="",a=0;a<n.length;a++)for(var u=n[a],c=0;c<r.length;c++){var d=r[c];i&&(i+=", "),i+=o(d)?d.replace(l,u):u+" "+d}return i}function n(e,t,n){if(n)return i({},n,{index:n.index+1});var r=e.options.nestingLevel;return r=void 0===r?1:r+1,i({},e.options,{nestingLevel:r,index:t.indexOf(e)+1})}function r(r,a){if("style"!==a.type)return r;var s=a.options.parent,l=void 0,c=void 0;for(var d in r){var f=o(d),h="@"===d[0];if(f||h){if(l=n(a,s,l),f){var p=t(d,a.selector);c||(c=e(s)),p=p.replace(u,c),s.addRule(p,r[d],i({},l,{selector:p}))}else h&&s.addRule(d,null,l).addRule(a.key,r[d],{selector:a.selector});delete r[d]}}return r}var o=function(e){return-1!==e.indexOf("&")};return{onProcessStyle:r}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=r;var o=n(322),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=/\s*,\s*/g,l=/&/g,u=/\$([\w-]+)/g},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){var t={};for(var n in e)t[(0,a.default)(n)]=e[n];return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(r):t.fallbacks=r(e.fallbacks)),t}function i(){function e(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=r(e[t]);return e}return r(e)}function t(e,t,n){var r=(0,a.default)(t);return t===r?e:(n.prop(r,e),null)}return{onProcessStyle:e,onChangeValue:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(164),a=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t,n){"use strict";function r(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var i in e)r[i]=e[i],r[i.replace(t,n)]=e[i];return r}function i(e,t,n){if(!t)return t;var r=t,o="undefined"===typeof t?"undefined":a(t);switch("object"===o&&Array.isArray(t)&&(o="array"),o){case"object":if("fallbacks"===e){for(var s in t)t[s]=i(s,t[s],n);break}for(var l in t)t[l]=i(e+"-"+l,t[l],n);break;case"array":for(var c=0;c<t.length;c++)t[c]=i(e,t[c],n);break;case"number":0!==t&&(r=t+(n[e]||u[e]||""))}return r}function o(){function e(e,t){if("style"!==t.type)return e;for(var n in e)e[n]=i(n,e[n],o);return e}function t(e,t){return i(t,e,o)}var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=r(n);return{onProcessStyle:e,onChangeValue:t}}Object.defineProperty(t,"__esModule",{value:!0});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};t.default=o;var s=n(325),l=function(e){return e&&e.__esModule?e:{default:e}}(s),u=r(l.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"animation-delay":"ms","animation-duration":"ms","background-position":"px","background-position-x":"px","background-position-y":"px","background-size":"px",border:"px","border-bottom":"px","border-bottom-left-radius":"px","border-bottom-right-radius":"px","border-bottom-width":"px","border-left":"px","border-left-width":"px","border-radius":"px","border-right":"px","border-right-width":"px","border-spacing":"px","border-top":"px","border-top-left-radius":"px","border-top-right-radius":"px","border-top-width":"px","border-width":"px","border-after-width":"px","border-before-width":"px","border-end-width":"px","border-horizontal-spacing":"px","border-start-width":"px","border-vertical-spacing":"px",bottom:"px","box-shadow":"px","column-gap":"px","column-rule":"px","column-rule-width":"px","column-width":"px","flex-basis":"px","font-size":"px","font-size-delta":"px",height:"px",left:"px","letter-spacing":"px","logical-height":"px","logical-width":"px",margin:"px","margin-after":"px","margin-before":"px","margin-bottom":"px","margin-left":"px","margin-right":"px","margin-top":"px","max-height":"px","max-width":"px","margin-end":"px","margin-start":"px","mask-position-x":"px","mask-position-y":"px","mask-size":"px","max-logical-height":"px","max-logical-width":"px","min-height":"px","min-width":"px","min-logical-height":"px","min-logical-width":"px",motion:"px","motion-offset":"px",outline:"px","outline-offset":"px","outline-width":"px",padding:"px","padding-bottom":"px","padding-left":"px","padding-right":"px","padding-top":"px","padding-after":"px","padding-before":"px","padding-end":"px","padding-start":"px","perspective-origin-x":"%","perspective-origin-y":"%",perspective:"px",right:"px","shape-margin":"px",size:"px","text-indent":"px","text-stroke":"px","text-stroke-width":"px",top:"px","transform-origin":"%","transform-origin-x":"%","transform-origin-y":"%","transform-origin-z":"%","transition-delay":"ms","transition-duration":"ms","vertical-align":"px",width:"px","word-spacing":"px","box-shadow-x":"px","box-shadow-y":"px","box-shadow-blur":"px","box-shadow-spread":"px","font-line-height":"px","text-shadow-x":"px","text-shadow-y":"px","text-shadow-blur":"px"}},function(e,t,n){"use strict";function r(){function e(e){"keyframes"===e.type&&(e.key="@"+o.prefix.css+e.key.substr(1))}function t(e,t){if("style"!==t.type)return e;for(var n in e){var r=e[n],i=!1,a=o.supportedProperty(n);a&&a!==n&&(i=!0);var s=!1,l=o.supportedValue(a,r);l&&l!==r&&(s=!0),(i||s)&&(i&&delete e[n],e[a||n]=l||r)}return e}function n(e,t){return o.supportedValue(t,e)}return{onProcessRule:e,onProcessStyle:t,onChangeValue:n}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(327),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.supportedValue=t.supportedProperty=t.prefix=void 0;var i=n(100),o=r(i),a=n(328),s=r(a),l=n(330),u=r(l);t.default={prefix:o.default,supportedProperty:s.default,supportedValue:u.default},t.prefix=o.default,t.supportedProperty=s.default,t.supportedValue=u.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return d?null!=f[e]?f[e]:((0,c.default)(e)in d.style?f[e]=e:l.default.js+(0,c.default)("-"+e)in d.style?f[e]=l.default.css+e:f[e]=!1,f[e]):e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(74),a=r(o),s=n(100),l=r(s),u=n(329),c=r(u),d=void 0,f={};if(a.default){d=document.createElement("p");var h=window.getComputedStyle(document.documentElement,"");for(var p in h)isNaN(p)||(f[h[p]]=h[p])}},function(e,t,n){"use strict";function r(e){return e.replace(o,i)}function i(e,t){return t?t.toUpperCase():""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=/[-\s]+(.)?/g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!c)return t;if("string"!==typeof t||!isNaN(parseInt(t,10)))return t;var n=e+t;if(null!=u[n])return u[n];try{c.style[e]=t}catch(e){return u[n]=!1,!1}return""!==c.style[e]?u[n]=t:(t=l.default.css+t,"-ms-flex"===t&&(t="-ms-flexbox"),c.style[e]=t,""!==c.style[e]&&(u[n]=t)),u[n]||(u[n]=!1),c.style[e]="",u[n]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(74),a=r(o),s=n(100),l=r(s),u={},c=void 0;a.default&&(c=document.createElement("p"))},function(e,t,n){"use strict";function r(){function e(e,t){return e.length-t.length}function t(t,n){if("style"!==n.type)return t;var r={},i=Object.keys(t).sort(e);for(var o in i)r[i[o]]=t[i[o]];return r}return{onProcessStyle:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";var r=n(46),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(8)),l=i(n(9)),u=i(n(10)),c=i(n(11)),d=i(n(12)),f=i(n(1)),h=i(n(2)),p=(i(n(13)),i(n(336))),m=r(n(101)),g=(i(n(36)),function(e){function t(e,n){var r;return(0,s.default)(this,t),r=(0,u.default)(this,(0,c.default)(t).call(this)),r.broadcast=(0,p.default)(),r.unsubscribeId=null,r.outerTheme=null,r.outerTheme=m.default.initial(n),r.broadcast.setState(r.mergeOuterLocalTheme(e.theme)),r}return(0,d.default)(t,e),(0,l.default)(t,[{key:"getChildContext",value:function(){var e,t=this.props,n=t.sheetsManager,r=t.disableStylesGeneration,i=this.context.muiThemeProviderOptions||{};return void 0!==n&&(i.sheetsManager=n),void 0!==r&&(i.disableStylesGeneration=r),e={},(0,a.default)(e,m.CHANNEL,this.broadcast),(0,a.default)(e,"muiThemeProviderOptions",i),e}},{key:"componentDidMount",value:function(){var e=this;this.unsubscribeId=m.default.subscribe(this.context,function(t){e.outerTheme=t,e.broadcast.setState(e.mergeOuterLocalTheme(e.props.theme))})}},{key:"componentDidUpdate",value:function(e){this.props.theme!==e.theme&&this.broadcast.setState(this.mergeOuterLocalTheme(this.props.theme))}},{key:"componentWillUnmount",value:function(){null!==this.unsubscribeId&&m.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"mergeOuterLocalTheme",value:function(e){return"function"===typeof e?e(this.outerTheme):this.outerTheme?(0,o.default)({},this.outerTheme,e):e}},{key:"render",value:function(){return this.props.children}}]),t}(f.default.Component));g.propTypes={},g.propTypes={},g.childContextTypes=(0,o.default)({},m.default.contextTypes,{muiThemeProviderOptions:h.default.object}),g.contextTypes=(0,o.default)({},m.default.contextTypes,{muiThemeProviderOptions:h.default.object});var v=g;t.default=v},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";var r=n(93),i=n(92),o=n(335);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e){function t(){return s}function n(e){s=e;for(var t=Object.keys(o),n=0,r=t.length;n<r;n++)o[t[n]]&&o[t[n]](e)}function r(e){if("function"!==typeof e)throw new Error("listener must be a function.");var t=a;return o[t]=e,a+=1,t}function i(e){o[e]=void 0}var o={},a=1,s=e;return{getState:t,setState:n,subscribe:r,unsubscribe:i}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},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}Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(2),a=n(165),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(a),l=n(339),u=function(e){return e&&e.__esModule?e:{default:e}}(l);t.default=(i={},r(i,s.jss,u.default.jss),r(i,s.sheetOptions,o.object),r(i,s.sheetsRegistry,u.default.registry),r(i,s.managers,o.object),i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);t.default={jss:(0,r.shape)({options:(0,r.shape)({createGenerateClassName:r.func.isRequired}).isRequired,createStyleSheet:r.func.isRequired,removeStyleSheet:r.func.isRequired}),registry:(0,r.shape)({add:r.func.isRequired,toString:r.func.isRequired})}},function(e,t,n){"use strict";function r(e,t){return t}function i(e){function t(t,i){var o=n?e(t):e;if(!i||!t.overrides||!t.overrides[i])return o;var l=t.overrides[i],u=(0,a.default)({},o);return Object.keys(l).forEach(function(e){u[e]=(0,s.default)(u[e],l[e],{arrayMerge:r})}),u}var n="function"===typeof e;return{create:t,options:{},themingEnabled:n}}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(3)),s=(o(n(75)),o(n(13)),o(n(71))),l=i;t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return E});var a=n(1),s=n.n(a),l=n(104),u=n.n(l),c=n(105),d=n.n(c),f=n(19),h=n.n(f),p=n(346),m=n.n(p),g=n(391),v=n(127),y=n(601),b=n(604),w=(n.n(b),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),E=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setHovered=function(){},n.removeHovered=function(){},n.setPageTop=function(){},n.removePageTop=function(){},n.state={sidebarEnabled:!1,minimized:!1,drawerOpen:!1,hovered:!1,pageTop:!0},n.updateDim=n.updateDim.bind(n),n.toggleDrawer=n.toggleDrawer.bind(n),n.appbarStyle={flexGrow:1,paddingTop:"2px"},n.logoStyle={flex:1,textAlign:"left",marginBottom:-5},n.logoHeight=30,n.minWidth=768,n.hoveredColor="#420dab",n.pageTopThresHeight=300,n}return o(t,e),w(t,[{key:"componentWillMount",value:function(){window.addEventListener("resize",this.updateDim),window.innerWidth<=this.minWidth&&this.setState({minimized:!0}),this.hamburgerStyle={paddingTop:this.props.data.getButtonHeight()}}},{key:"updateDim",value:function(){window.innerWidth<=this.minWidth&&!this.state.minimized?this.setState({minimized:!0}):window.innerWidth>this.minWidth&&this.state.minimized&&this.setState({minimized:!1,drawerOpen:!1})}},{key:"toggleDrawer",value:function(){this.setState({drawerOpen:!this.state.drawerOpen})}},{key:"render",value:function(){var e=this,t=this.props.a;return s.a.createElement("div",{style:Object.assign({},this.appbarStyle)},s.a.createElement(u.a,{className:"navHov",style:{backgroundColor:this.state.pageTop||this.state.hovered?this.hoveredColor:this.notHoveredColor,boxShadow:"none"},onMouseEnter:this.setHovered,onMouseLeave:this.removeHovered},s.a.createElement(d.a,null,s.a.createElement(h.a,{style:this.logoStyle,variant:"title",color:"primary"},s.a.createElement("a",{href:"https://2018.igem.org/Team:Washington"},s.a.createElement("svg",{style:{color:"white"},height:this.logoHeight,viewBox:"0 0 116.25 80"},s.a.createElement("g",null,s.a.createElement("path",{style:{fill:"white",stroke:"none",strokeWidth:4},d:"M84.384,3.819c0,0.858,0,12.238,0,13.098c0.856,0,9.206,0,9.206,0\r L83.311,55.168c0,0-12.577-50.636-12.756-51.349c-0.687,0-12.626,0-13.303,0c-0.188,0.696-13.796,51.352-13.796,51.352\r l-9.466-38.254c0,0,8.726,0,9.585,0c0-0.859,0-12.239,0-13.098c-0.919,0-37.532,0-38.451,0c0,0.858,0,12.238,0,13.098\r c0.851,0,8.52,0,8.52,0s14.703,58.809,14.88,59.523c0.708,0,19.942,0,20.639,0c0.183-0.697,9.852-37.454,9.852-37.454\r s9.187,36.747,9.364,37.454c0.707,0,19.941,0,20.639,0c0.186-0.702,15.656-59.523,15.656-59.523s7.6,0,8.449,0\r c0-0.859,0-12.239,0-13.098C112.217,3.819,85.292,3.819,84.384,3.819z"}))))),!this.state.minimized&&this.props.data.getNavbarData().map(function(n,r){return s.a.createElement(g.a,{a:t,data:e.props.data,name:e.props.name,pageTitle:e.props.pageTitle,nav:n,key:"abmL-"+r,hovered:e.state.hovered,removeHovered:e.removeHovered})}),this.state.minimized&&s.a.createElement("div",{style:this.hamburgerStyle},s.a.createElement(v.a,{color:"inherit","aria-label":"open drawer",onClick:function(){return e.toggleDrawer()}},s.a.createElement(m.a,null)),s.a.createElement(y.a,{drawerOpen:this.state.drawerOpen,toggleDrawer:this.toggleDrawer,data:this.props.data,side:"right",name:this.props.name,title:this.props.pageTitle,a:t})))))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.classes,i=e.className,c=e.color,h=e.position,p=(0,s.default)(e,["children","classes","className","color","position"]),m=(0,u.default)(r.root,r["position".concat((0,d.capitalize)(h))],(t={},(0,a.default)(t,r["color".concat((0,d.capitalize)(c))],"inherit"!==c),(0,a.default)(t,"mui-fixed","fixed"===h),t),i);return l.default.createElement(f.default,(0,o.default)({square:!0,component:"header",elevation:4,className:m},p),n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=i(n(25)),h=function(e){var t="light"===e.palette.type?e.palette.grey[100]:e.palette.grey[900];return{root:{display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",zIndex:e.zIndex.appBar,flexShrink:0},positionFixed:{position:"fixed",top:0,left:"auto",right:0},positionAbsolute:{position:"absolute",top:0,left:"auto",right:0},positionSticky:{position:"sticky",top:0,left:"auto",right:0},positionStatic:{position:"static"},colorDefault:{backgroundColor:t,color:e.palette.getContrastText(t)},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText}}};t.styles=h,r.propTypes={},r.defaultProps={color:"primary",position:"fixed"};var p=(0,c.default)(h,{name:"MuiAppBar"})(r);t.default=p},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.component,i=e.square,c=e.elevation,d=(0,a.default)(e,["classes","className","component","square","elevation"]),f=(0,u.default)(t.root,t["elevation".concat(c)],(0,o.default)({},t.rounded,!i),n);return l.default.createElement(r,(0,s.default)({className:f},d))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(4)),s=i(n(3)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=(i(n(13)),i(n(5))),d=function(e){var t={};return e.shadows.forEach(function(e,n){t["elevation".concat(n)]={boxShadow:e}}),(0,s.default)({root:{backgroundColor:e.palette.background.paper},rounded:{borderRadius:e.shape.borderRadius}},t)};t.styles=d,r.propTypes={},r.defaultProps={component:"div",elevation:2,square:!1};var f=(0,c.default)(d,{name:"MuiPaper"})(r);t.default=f},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=e.disableGutters,c=e.variant,d=(0,s.default)(e,["children","classes","className","disableGutters","variant"]),f=(0,u.default)(n.root,n[c],(0,a.default)({},n.gutters,!i),r);return l.default.createElement("div",(0,o.default)({className:f},d),t)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=function(e){return{root:{position:"relative",display:"flex",alignItems:"center"},gutters:e.mixins.gutters(),regular:e.mixins.toolbar,dense:{minHeight:48}}};t.styles=d,r.propTypes={},r.defaultProps={disableGutters:!1,variant:"regular"};var f=(0,c.default)(d,{name:"MuiToolbar"})(r);t.default=f},function(e,t,n){"use strict";function r(e){var t,n=e.align,r=e.classes,i=e.className,c=e.color,f=e.component,h=e.gutterBottom,p=e.headlineMapping,m=e.noWrap,g=e.paragraph,v=e.variant,y=(0,s.default)(e,["align","classes","className","color","component","gutterBottom","headlineMapping","noWrap","paragraph","variant"]),b=(0,u.default)(r.root,r[v],(t={},(0,a.default)(t,r["color".concat((0,d.capitalize)(c))],"default"!==c),(0,a.default)(t,r.noWrap,m),(0,a.default)(t,r.gutterBottom,h),(0,a.default)(t,r.paragraph,g),(0,a.default)(t,r["align".concat((0,d.capitalize)(n))],"inherit"!==n),t),i),w=f||(g?"p":p[v])||"span";return l.default.createElement(w,(0,o.default)({className:b},y))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=function(e){return{root:{display:"block",margin:0},display4:e.typography.display4,display3:e.typography.display3,display2:e.typography.display2,display1:e.typography.display1,headline:e.typography.headline,title:e.typography.title,subheading:e.typography.subheading,body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main}}};t.styles=f,r.propTypes={},r.defaultProps={align:"inherit",color:"default",gutterBottom:!1,headlineMapping:{display4:"h1",display3:"h1",display2:"h1",display1:"h1",headline:"h1",title:"h2",subheading:"h3",body2:"aside",body1:"p"},noWrap:!1,paragraph:!1,variant:"body1"};var h=(0,c.default)(f,{name:"MuiTypography"})(r);t.default=h},function(e,t,n){"use strict";var r=n(76);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(106)),a=(0,o.default)(i.default.createElement("g",null,i.default.createElement("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"})),"Menu");t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(348),o=r(i),a=n(389),s=r(a),l=n(179),u=(r(l),n(180)),c=(r(u),function(e){var t=(0,o.default)(function(e,t){return!(0,s.default)(e,t)});return t(e)});t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(349),o=r(i),a=n(350),s=r(a),l=n(379),u=r(l),c=n(1),d=n(179),f=(r(d),n(180)),h=(r(f),function(e){return function(t){var n=(0,c.createFactory)(t),r=function(t){function r(){return(0,o.default)(this,r),(0,s.default)(this,t.apply(this,arguments))}return(0,u.default)(r,t),r.prototype.shouldComponentUpdate=function(t){return e(this.props,t)},r.prototype.render=function(){return n(this.props)},r}(c.Component);return r}});t.default=h},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(168),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"===typeof t?"undefined":(0,i.default)(t))&&"function"!==typeof t?e:t}},function(e,t,n){e.exports={default:n(352),__esModule:!0}},function(e,t,n){n(353),n(365),e.exports=n(118).f("iterator")},function(e,t,n){"use strict";var r=n(354)(!0);n(169)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(107),i=n(108);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(112),i=n(79),o=n(117),a={};n(48)(a,n(53)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(49),i=n(64),o=n(113);e.exports=n(51)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(175);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(52),i=n(360),o=n(361);e.exports=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(107),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(107),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(34).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(37),i=n(364),o=n(114)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(108);e.exports=function(e){return Object(r(e))}},function(e,t,n){n(366);for(var r=n(34),i=n(48),o=n(111),a=n(53)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=r[u],d=c&&c.prototype;d&&!d[a]&&i(d,a,u),o[u]=o.Array}},function(e,t,n){"use strict";var r=n(367),i=n(368),o=n(111),a=n(52);e.exports=n(169)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(370),__esModule:!0}},function(e,t,n){n(371),n(376),n(377),n(378),e.exports=n(63).Symbol},function(e,t,n){"use strict";var r=n(34),i=n(37),o=n(51),a=n(77),s=n(173),l=n(372).KEY,u=n(78),c=n(115),d=n(117),f=n(80),h=n(53),p=n(118),m=n(119),g=n(373),v=n(374),y=n(64),b=n(50),w=n(52),E=n(110),T=n(79),_=n(112),k=n(375),x=n(178),S=n(49),C=n(113),O=x.f,A=S.f,P=k.f,I=r.Symbol,R=r.JSON,N=R&&R.stringify,M=h("_hidden"),D=h("toPrimitive"),L={}.propertyIsEnumerable,j=c("symbol-registry"),W=c("symbols"),B=c("op-symbols"),F=Object.prototype,z="function"==typeof I,U=r.QObject,H=!U||!U.prototype||!U.prototype.findChild,G=o&&u(function(){return 7!=_(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(F,t);r&&delete F[t],A(e,t,n),r&&e!==F&&A(F,t,r)}:A,q=function(e){var t=W[e]=_(I.prototype);return t._k=e,t},V=z&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},K=function(e,t,n){return e===F&&K(B,t,n),y(e),t=E(t,!0),y(n),i(W,t)?(n.enumerable?(i(e,M)&&e[M][t]&&(e[M][t]=!1),n=_(n,{enumerable:T(0,!1)})):(i(e,M)||A(e,M,T(1,{})),e[M][t]=!0),G(e,t,n)):A(e,t,n)},Y=function(e,t){y(e);for(var n,r=g(t=w(t)),i=0,o=r.length;o>i;)K(e,n=r[i++],t[n]);return e},Z=function(e,t){return void 0===t?_(e):Y(_(e),t)},X=function(e){var t=L.call(this,e=E(e,!0));return!(this===F&&i(W,e)&&!i(B,e))&&(!(t||!i(this,e)||!i(W,e)||i(this,M)&&this[M][e])||t)},Q=function(e,t){if(e=w(e),t=E(t,!0),e!==F||!i(W,t)||i(B,t)){var n=O(e,t);return!n||!i(W,t)||i(e,M)&&e[M][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=P(w(e)),r=[],o=0;n.length>o;)i(W,t=n[o++])||t==M||t==l||r.push(t);return r},J=function(e){for(var t,n=e===F,r=P(n?B:w(e)),o=[],a=0;r.length>a;)!i(W,t=r[a++])||n&&!i(F,t)||o.push(W[t]);return o};z||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(B,n),i(this,M)&&i(this[M],e)&&(this[M][e]=!1),G(this,e,T(1,n))};return o&&H&&G(F,e,{configurable:!0,set:t}),q(e)},s(I.prototype,"toString",function(){return this._k}),x.f=Q,S.f=K,n(177).f=k.f=$,n(120).f=X,n(176).f=J,o&&!n(109)&&s(F,"propertyIsEnumerable",X,!0),p.f=function(e){return q(h(e))}),a(a.G+a.W+a.F*!z,{Symbol:I});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)h(ee[te++]);for(var ne=C(h.store),re=0;ne.length>re;)m(ne[re++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return i(j,e+="")?j[e]:j[e]=I(e)},keyFor:function(e){if(!V(e))throw TypeError(e+" is not a symbol!");for(var t in j)if(j[t]===e)return t},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!z,"Object",{create:Z,defineProperty:K,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:$,getOwnPropertySymbols:J}),R&&a(a.S+a.F*(!z||u(function(){var e=I();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!V(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!V(t))return t}),r[1]=t,N.apply(R,r)}}),I.prototype[D]||n(48)(I.prototype,D,I.prototype.valueOf),d(I,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(80)("meta"),i=n(50),o=n(37),a=n(49).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(78)(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},f=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},h=function(e){return u&&p.NEED&&l(e)&&!o(e,r)&&c(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:f,onFreeze:h}},function(e,t,n){var r=n(113),i=n(176),o=n(120);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,n){var r=n(175);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(52),i=n(177).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},function(e,t){},function(e,t,n){n(119)("asyncIterator")},function(e,t,n){n(119)("observable")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(380),o=r(i),a=n(384),s=r(a),l=n(168),u=r(l);t.default=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof t?"undefined":(0,u.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(o.default?(0,o.default)(e,t):e.__proto__=t)}},function(e,t,n){e.exports={default:n(381),__esModule:!0}},function(e,t,n){n(382),e.exports=n(63).Object.setPrototypeOf},function(e,t,n){var r=n(77);r(r.S,"Object",{setPrototypeOf:n(383).set})},function(e,t,n){var r=n(50),i=n(64),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(170)(Function.call,n(178).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){e.exports={default:n(385),__esModule:!0}},function(e,t,n){n(386);var r=n(63).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(77);r(r.S,"Object",{create:n(112)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){return function(n){return n[e]=t,n}};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if("string"===typeof e)return e;if(e)return e.displayName||e.name||"Component"};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(94),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=i.default},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.classes,i=e.className,c=e.color,f=e.component,h=e.fontSize,p=e.nativeColor,m=e.titleAccess,g=e.viewBox,v=(0,s.default)(e,["children","classes","className","color","component","fontSize","nativeColor","titleAccess","viewBox"]),y=(0,u.default)(r.root,(t={},(0,a.default)(t,r.fontSizeInherit,"inherit"===h),(0,a.default)(t,r["color".concat((0,d.capitalize)(c))],"inherit"!==c),t),i);return l.default.createElement(f,(0,o.default)({className:y,focusable:"false",viewBox:g,color:p,"aria-hidden":m?"false":"true"},v),n,m?l.default.createElement("title",null,m):null)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:24,transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"}}};t.styles=f,r.propTypes={},r.defaultProps={color:"inherit",component:"svg",fontSize:"default",viewBox:"0 0 24 24"},r.muiName="SvgIcon";var h=(0,c.default)(f,{name:"MuiSvgIcon"})(r);t.default=h},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return m});var a=n(1),s=n.n(a),l=n(54),u=n.n(l),c=n(183),d=n.n(c),f=n(126),h=n.n(f),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClick=function(e){n.setState({anchorEl:e.currentTarget})},n.handleClose=function(){n.setState({anchorEl:null}),n.props.removeHovered()},n.handleLink=function(){n.a(),n.handleClose()},n.state={anchorEl:null},n.getLink=n.getLink.bind(n),n.buttonStyle={margin:"2px",textTransform:"none",fontFamily:"RalewayBold",marginLeft:15},n.anchorElSpacing=45,n.buttonVariant="text",n.menuItemStyles={color:"#000000",textDecoration:"none",fontFamily:"RalewayBold"},n}return o(t,e),p(t,[{key:"componentWillMount",value:function(){this.appbarStyle={paddingTop:this.props.data.getButtonHeight()},this.a=this.props.a}},{key:"getLink",value:function(e){var t=""+this.props.name+this.props.nav.links[e];return"Home"===this.props.nav.title&&(t=this.props.nav.links[e]),t}},{key:"render",value:function(){var e=this,t=this.state.anchorEl;return s.a.createElement("div",{style:this.appbarStyle},s.a.createElement(u.a,{variant:this.buttonVariant,"aria-owns":t?"simple-menu":null,"aria-haspopup":"true",onClick:this.handleClick,color:"inherit",style:this.buttonStyle},this.props.nav.title),s.a.createElement(d.a,{id:"simple-menu",anchorEl:t,open:Boolean(t),onClose:this.handleClose,anchorOrigin:{vertical:this.anchorElSpacing,horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},getContentAnchorEl:null},this.props.nav.names.map(function(t,n){return s.a.createElement(h.a,{style:e.menuItemStyles,component:"a",href:e.getLink(n),disabled:e.props.pageTitle===e.props.nav.links[n],key:t+"-"+n,onClick:e.handleLink,value:n},t)})))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.classes,i=e.className,c=e.color,d=e.disabled,p=e.disableFocusRipple,m=e.fullWidth,g=e.focusVisibleClassName,v=e.mini,y=e.size,b=e.variant,w=(0,a.default)(e,["children","classes","className","color","disabled","disableFocusRipple","fullWidth","focusVisibleClassName","mini","size","variant"]),E="fab"===b||"extendedFab"===b,T="contained"===b||"raised"===b,_="text"===b||"flat"===b||"outlined"===b,k=(0,u.default)(r.root,(t={},(0,o.default)(t,r.fab,E),(0,o.default)(t,r.mini,E&&v),(0,o.default)(t,r.extendedFab,"extendedFab"===b),(0,o.default)(t,r.text,_),(0,o.default)(t,r.textPrimary,_&&"primary"===c),(0,o.default)(t,r.textSecondary,_&&"secondary"===c),(0,o.default)(t,r.flat,"text"===b||"flat"===b),(0,o.default)(t,r.flatPrimary,("text"===b||"flat"===b)&&"primary"===c),(0,o.default)(t,r.flatSecondary,("text"===b||"flat"===b)&&"secondary"===c),(0,o.default)(t,r.contained,T||E),(0,o.default)(t,r.containedPrimary,(T||E)&&"primary"===c),(0,o.default)(t,r.containedSecondary,(T||E)&&"secondary"===c),(0,o.default)(t,r.raised,T||E),(0,o.default)(t,r.raisedPrimary,(T||E)&&"primary"===c),(0,o.default)(t,r.raisedSecondary,(T||E)&&"secondary"===c),(0,o.default)(t,r.outlined,"outlined"===b),(0,o.default)(t,r.outlinedPrimary,"outlined"===b&&"primary"===c),(0,o.default)(t,r.outlinedSecondary,"outlined"===b&&"secondary"===c),(0,o.default)(t,r["size".concat((0,h.capitalize)(y))],"medium"!==y),(0,o.default)(t,r.disabled,d),(0,o.default)(t,r.fullWidth,m),(0,o.default)(t,r.colorInherit,"inherit"===c),t),i);return l.default.createElement(f.default,(0,s.default)({className:k,disabled:d,focusRipple:!p,focusVisibleClassName:(0,u.default)(r.focusVisible,g)},w),l.default.createElement("span",{className:r.label},n))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(4)),s=i(n(3)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(33),f=i(n(26)),h=n(14),p=function(e){return{root:(0,s.default)({},e.typography.button,{lineHeight:"1.4em",boxSizing:"border-box",minWidth:64,minHeight:36,padding:"8px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:(0,d.fade)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,d.fade)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,d.fade)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},flat:{},flatPrimary:{},flatSecondary:{},outlined:{border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},outlinedPrimary:{border:"1px solid ".concat((0,d.fade)(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main)}},outlinedSecondary:{border:"1px solid ".concat((0,d.fade)(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground},"&:hover":{backgroundColor:e.palette.grey.A100,"@media (hover: none)":{backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},raised:{},raisedPrimary:{},raisedSecondary:{},fab:{borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,boxShadow:e.shadows[6],"&:active":{boxShadow:e.shadows[12]}},extendedFab:{borderRadius:24,padding:"0 16px",width:"auto",minWidth:48,height:48},focusVisible:{},disabled:{},colorInherit:{color:"inherit"},mini:{width:40,height:40},sizeSmall:{padding:"7px 8px",minWidth:64,minHeight:32,fontSize:e.typography.pxToRem(13)},sizeLarge:{padding:"8px 24px",minWidth:112,minHeight:40,fontSize:e.typography.pxToRem(15)},fullWidth:{width:"100%"}}};t.styles=p,r.propTypes={},r.defaultProps={color:"default",component:"button",disabled:!1,disableFocusRipple:!1,fullWidth:!1,mini:!1,size:"medium",type:"button",variant:"text"};var m=(0,c.default)(p,{name:"MuiButton"})(r);t.default=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(47)),h=r(n(1)),p=(r(n(2)),r(n(15))),m=r(n(6)),g=r(n(55)),v=r(n(81)),y=r(n(5)),b=n(394),w=r(n(395)),E=r(n(403)),T={root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:"none",border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"}},disabled:{},focusVisible:{}};t.styles=T;var _=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.ripple=null,n.keyDown=!1,n.button=null,n.focusVisibleTimeout=null,n.focusVisibleCheckTime=50,n.focusVisibleMaxCheckTimes=5,n.handleMouseDown=(0,E.default)((0,f.default)((0,f.default)(n)),"MouseDown","start",function(){clearTimeout(n.focusVisibleTimeout),n.state.focusVisible&&n.setState({focusVisible:!1})}),n.handleMouseUp=(0,E.default)((0,f.default)((0,f.default)(n)),"MouseUp","stop"),n.handleMouseLeave=(0,E.default)((0,f.default)((0,f.default)(n)),"MouseLeave","stop",function(e){n.state.focusVisible&&e.preventDefault()}),n.handleTouchStart=(0,E.default)((0,f.default)((0,f.default)(n)),"TouchStart","start"),n.handleTouchEnd=(0,E.default)((0,f.default)((0,f.default)(n)),"TouchEnd","stop"),n.handleTouchMove=(0,E.default)((0,f.default)((0,f.default)(n)),"TouchMove","stop"),n.handleBlur=(0,E.default)((0,f.default)((0,f.default)(n)),"Blur","stop",function(){clearTimeout(n.focusVisibleTimeout),n.state.focusVisible&&n.setState({focusVisible:!1})}),n.state={},n.onRippleRef=function(e){n.ripple=e},n.onFocusVisibleHandler=function(e){n.keyDown=!1,n.setState({focusVisible:!0}),n.props.onFocusVisible&&n.props.onFocusVisible(e)},n.handleKeyDown=function(e){var t=n.props,r=t.component,i=t.focusRipple,o=t.onKeyDown,a=t.onClick,s=(0,g.default)(e);i&&!n.keyDown&&n.state.focusVisible&&n.ripple&&"space"===s&&(n.keyDown=!0,e.persist(),n.ripple.stop(e,function(){n.ripple.start(e)})),o&&o(e),e.target!==e.currentTarget||!r||"button"===r||"space"!==s&&"enter"!==s||"A"===n.button.tagName&&n.button.href||(e.preventDefault(),a&&a(e))},n.handleKeyUp=function(e){n.props.focusRipple&&"space"===(0,g.default)(e)&&n.ripple&&n.state.focusVisible&&(n.keyDown=!1,e.persist(),n.ripple.stop(e,function(){n.ripple.pulsate(e)})),n.props.onKeyUp&&n.props.onKeyUp(e)},n.handleFocus=function(e){n.props.disabled||(n.button||(n.button=e.currentTarget),e.persist(),(0,b.detectFocusVisible)((0,f.default)((0,f.default)(n)),n.button,function(){n.onFocusVisibleHandler(e)}),n.props.onFocus&&n.props.onFocus(e))},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){var e=this;this.button=p.default.findDOMNode(this),(0,b.listenForFocusKeys)((0,v.default)(this.button)),this.props.action&&this.props.action({focusVisible:function(){e.setState({focusVisible:!0}),e.button.focus()}})}},{key:"componentDidUpdate",value:function(e,t){this.props.focusRipple&&!this.props.disableRipple&&!t.focusVisible&&this.state.focusVisible&&this.ripple.pulsate()}},{key:"componentWillUnmount",value:function(){this.button=null,clearTimeout(this.focusVisibleTimeout)}},{key:"render",value:function(){var e,t=this.props,n=(t.action,t.buttonRef),r=t.centerRipple,s=t.children,l=t.classes,u=t.className,c=t.component,d=t.disabled,f=t.disableRipple,p=(t.disableTouchRipple,t.focusRipple,t.focusVisibleClassName),g=(t.onBlur,t.onFocus,t.onFocusVisible,t.onKeyDown,t.onKeyUp,t.onMouseDown,t.onMouseLeave,t.onMouseUp,t.onTouchEnd,t.onTouchMove,t.onTouchStart,t.tabIndex),v=t.TouchRippleProps,y=t.type,b=(0,a.default)(t,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","type"]),E=(0,m.default)(l.root,(e={},(0,o.default)(e,l.disabled,d),(0,o.default)(e,l.focusVisible,this.state.focusVisible),(0,o.default)(e,p,this.state.focusVisible),e),u),T={},_=c;return"button"===_&&b.href&&(_="a"),"button"===_?(T.type=y||"button",T.disabled=d):T.role="button",h.default.createElement(_,(0,i.default)({onBlur:this.handleBlur,onFocus:this.handleFocus,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onMouseDown:this.handleMouseDown,onMouseLeave:this.handleMouseLeave,onMouseUp:this.handleMouseUp,onTouchEnd:this.handleTouchEnd,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,tabIndex:d?"-1":g,className:E,ref:n},T,b),s,f||d?null:h.default.createElement(w.default,(0,i.default)({innerRef:this.onRippleRef,center:r},v)))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return"undefined"===typeof t.focusVisible?{focusVisible:!1,lastDisabled:e.disabled}:!t.prevState&&e.disabled&&t.focusVisible?{focusVisible:!1,lastDisabled:e.disabled}:{lastDisabled:e.disabled}}}]),t}(h.default.Component);_.propTypes={},_.defaultProps={centerRipple:!1,component:"button",disableRipple:!1,disableTouchRipple:!1,focusRipple:!1,tabIndex:"0",type:"button"};var k=(0,y.default)(T,{name:"MuiButtonBase"})(_);t.default=k},function(e,t,n){"use strict";function r(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;e.focusVisibleTimeout=setTimeout(function(){var o=(0,l.default)(t);u.focusKeyPressed&&(o.activeElement===t||t.contains(o.activeElement))?n():i<e.focusVisibleMaxCheckTimes&&r(e,t,n,i+1)},e.focusVisibleCheckTime)}function i(e){return c.indexOf((0,s.default)(e))>-1}function o(e){e.addEventListener("keyup",d)}var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.detectFocusVisible=r,t.listenForFocusKeys=o;var s=a(n(55)),l=(a(n(13)),a(n(30))),u={focusKeyPressed:!1,keyUpEventTimeout:-1},c=["tab","enter","space","esc","up","down","left","right"],d=function(e){i(e)&&(u.focusKeyPressed=!0,clearTimeout(u.keyUpEventTimeout),u.keyUpEventTimeout=setTimeout(function(){u.focusKeyPressed=!1},1e3))}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=t.DELAY_RIPPLE=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(82)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(47)),h=r(n(1)),p=(r(n(2)),r(n(15))),m=r(n(121)),g=r(n(6)),v=r(n(5)),y=r(n(402)),b=550,w=80;t.DELAY_RIPPLE=w;var E=function(e){return{root:{display:"block",position:"absolute",overflow:"hidden",borderRadius:"inherit",width:"100%",height:"100%",left:0,top:0,pointerEvents:"none",zIndex:0},ripple:{width:50,height:50,left:0,top:0,opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"mui-ripple-enter ".concat(b,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"mui-ripple-exit ".concat(b,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"mui-ripple-pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes mui-ripple-enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes mui-ripple-exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes mui-ripple-pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}};t.styles=E;var T=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.ignoringMouseDown=!1,n.startTimer=null,n.startTimerCommit=null,n.state={nextKey:0,ripples:[]},n.pulsate=function(){n.start({},{pulsate:!0})},n.start=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=t.pulsate,o=void 0!==i&&i,a=t.center,s=void 0===a?n.props.center||t.pulsate:a,l=t.fakeElement,u=void 0!==l&&l;if("mousedown"===e.type&&n.ignoringMouseDown)return void(n.ignoringMouseDown=!1);"touchstart"===e.type&&(n.ignoringMouseDown=!0);var c,d,h,m=u?null:p.default.findDOMNode((0,f.default)((0,f.default)(n))),g=m?m.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(g.width/2),d=Math.round(g.height/2);else{var v=e.clientX?e.clientX:e.touches[0].clientX,y=e.clientY?e.clientY:e.touches[0].clientY;c=Math.round(v-g.left),d=Math.round(y-g.top)}if(s)(h=Math.sqrt((2*Math.pow(g.width,2)+Math.pow(g.height,2))/3))%2===0&&(h+=1);else{var b=2*Math.max(Math.abs((m?m.clientWidth:0)-c),c)+2,E=2*Math.max(Math.abs((m?m.clientHeight:0)-d),d)+2;h=Math.sqrt(Math.pow(b,2)+Math.pow(E,2))}e.touches?(n.startTimerCommit=function(){n.startCommit({pulsate:o,rippleX:c,rippleY:d,rippleSize:h,cb:r})},n.startTimer=setTimeout(function(){n.startTimerCommit&&(n.startTimerCommit(),n.startTimerCommit=null)},w)):n.startCommit({pulsate:o,rippleX:c,rippleY:d,rippleSize:h,cb:r})},n.startCommit=function(e){var t=e.pulsate,r=e.rippleX,i=e.rippleY,o=e.rippleSize,s=e.cb;n.setState(function(e){return{nextKey:e.nextKey+1,ripples:(0,a.default)(e.ripples).concat([h.default.createElement(y.default,{key:e.nextKey,classes:n.props.classes,timeout:{exit:b,enter:b},pulsate:t,rippleX:r,rippleY:i,rippleSize:o})])}},s)},n.stop=function(e,t){clearTimeout(n.startTimer);var r=n.state.ripples;if("touchend"===e.type&&n.startTimerCommit)return e.persist(),n.startTimerCommit(),n.startTimerCommit=null,void(n.startTimer=setTimeout(function(){n.stop(e,t)},0));n.startTimerCommit=null,r&&r.length&&n.setState({ripples:r.slice(1)},t)},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.startTimer)}},{key:"render",value:function(){var e=this.props,t=(e.center,e.classes),n=e.className,r=(0,o.default)(e,["center","classes","className"]);return h.default.createElement(m.default,(0,i.default)({component:"span",enter:!0,exit:!0,className:(0,g.default)(t.root,n)},r),this.state.ripples)}}]),t}(h.default.PureComponent);T.propTypes={},T.defaultProps={center:!1};var _=(0,v.default)(E,{flip:!1,name:"MuiTouchRipple"})(T);t.default=_},function(e,t){function n(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}e.exports=n},function(e,t){function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}e.exports=n},function(e,t){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance")}e.exports=n},function(e,t,n){"use strict";function r(){}var i=n(400);e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e,t){var n=function(e){return t&&(0,l.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&l.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function i(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var a=void 0,s={};for(var l in t){if(r[l])for(a=0;a<r[l].length;a++){var u=r[l][a];s[r[l][a]]=n(u)}s[l]=n(l)}for(a=0;a<i.length;a++)s[i[a]]=n(i[a]);return s}function o(e,t,n){return null!=n[t]?n[t]:e.props[t]}function a(e,t){return r(e.children,function(n){return(0,l.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:o(n,"appear",e),enter:o(n,"enter",e),exit:o(n,"exit",e)})})}function s(e,t,n){var a=r(e.children),s=i(t,a);return Object.keys(s).forEach(function(r){var i=s[r];if((0,l.isValidElement)(i)){var u=r in t,c=r in a,d=t[r],f=(0,l.isValidElement)(d)&&!d.props.in;!c||u&&!f?c||!u||f?c&&u&&(0,l.isValidElement)(d)&&(s[r]=(0,l.cloneElement)(i,{onExited:n.bind(null,i),in:d.props.in,exit:o(i,"exit",e),enter:o(i,"enter",e)})):s[r]=(0,l.cloneElement)(i,{in:!1}):s[r]=(0,l.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:o(i,"exit",e),enter:o(i,"enter",e)})}}),s}t.__esModule=!0,t.getChildMapping=r,t.mergeChildMappings=i,t.getInitialChildMapping=a,t.getNextChildMapping=s;var l=n(1)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(35)),m=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.state={visible:!1,leaving:!1},n.handleEnter=function(){n.setState({visible:!0})},n.handleExit=function(){n.setState({leaving:!0})},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e,t,n=this.props,r=n.classes,s=n.className,l=n.pulsate,u=n.rippleX,c=n.rippleY,d=n.rippleSize,m=(0,a.default)(n,["classes","className","pulsate","rippleX","rippleY","rippleSize"]),g=this.state,v=g.visible,y=g.leaving,b=(0,h.default)(r.ripple,(e={},(0,o.default)(e,r.rippleVisible,v),(0,o.default)(e,r.ripplePulsate,l),e),s),w={width:d,height:d,top:-d/2+c,left:-d/2+u},E=(0,h.default)(r.child,(t={},(0,o.default)(t,r.childLeaving,y),(0,o.default)(t,r.childPulsate,l),t));return f.default.createElement(p.default,(0,i.default)({onEnter:this.handleEnter,onExit:this.handleExit},m),f.default.createElement("span",{className:b,style:w},f.default.createElement("span",{className:E})))}}]),t}(f.default.Component);m.propTypes={},m.defaultProps={pulsate:!1};var g=m;t.default=g},function(e,t,n){"use strict";function r(e,t,n,r){return function(i){r&&r.call(e,i);var o=!1;return i.defaultPrevented&&(o=!0),e.props.disableTouchRipple&&"Blur"!==t&&(o=!0),!o&&e.ripple&&e.ripple[n](i),"function"===typeof e.props["on".concat(t)]&&e.props["on".concat(t)](i),!0}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r;t.default=i},function(e,t,n){"use strict";function r(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function i(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function o(e){return[e.horizontal,e.vertical].map(function(e){return"number"===typeof e?"".concat(e,"px"):e}).join(" ")}function a(e,t){for(var n=t,r=0;n&&n!==e;)n=n.parentNode,r+=n.scrollTop;return r}function s(e){return"function"===typeof e?e():e}var l=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var u=l(n(3)),c=l(n(4)),d=l(n(8)),f=l(n(9)),h=l(n(10)),p=l(n(11)),m=l(n(12)),g=l(n(1)),v=(l(n(2)),l(n(15))),y=(l(n(13)),l(n(38))),b=l(n(31)),w=l(n(30)),E=l(n(81)),T=l(n(5)),_=l(n(83)),k=l(n(125)),x=l(n(25)),S={paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:"none"}};t.styles=S;var C=function(e){function t(){var e,n;(0,d.default)(this,t);for(var a=arguments.length,l=new Array(a),u=0;u<a;u++)l[u]=arguments[u];return n=(0,h.default)(this,(e=(0,p.default)(t)).call.apply(e,[this].concat(l))),n.paperRef=null,n.handleGetOffsetTop=r,n.handleGetOffsetLeft=i,n.handleResize=(0,y.default)(function(){n.setPositioningStyles(n.paperRef)},166),n.componentWillUnmount=function(){n.handleResize.clear()},n.setPositioningStyles=function(e){if(e&&e.style){var t=n.getPositioningStyle(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}},n.getPositioningStyle=function(e){var t=n.props,r=t.anchorEl,i=t.anchorReference,a=t.marginThreshold,l=n.getContentAnchorOffset(e),u={width:e.clientWidth,height:e.clientHeight},c=n.getTransformOrigin(u,l);if("none"===i)return{top:null,left:null,transformOrigin:o(c)};var d=n.getAnchorOffset(l),f=d.top-c.vertical,h=d.left-c.horizontal,p=f+u.height,m=h+u.width,g=(0,E.default)(s(r)),v=g.innerHeight-a,y=g.innerWidth-a;if(f<a){var b=f-a;f-=b,c.vertical+=b}else if(p>v){var w=p-v;f-=w,c.vertical+=w}if(h<a){var T=h-a;h-=T,c.horizontal+=T}else if(m>y){var _=m-y;h-=_,c.horizontal+=_}return{top:"".concat(f,"px"),left:"".concat(h,"px"),transformOrigin:o(c)}},n.handleEnter=function(e){n.props.onEnter&&n.props.onEnter(e),n.setPositioningStyles(e)},n}return(0,m.default)(t,e),(0,f.default)(t,[{key:"componentDidMount",value:function(){this.props.action&&this.props.action({updatePosition:this.handleResize})}},{key:"getAnchorOffset",value:function(e){var t=this.props,n=t.anchorEl,r=t.anchorOrigin,i=t.anchorReference,o=t.anchorPosition;if("anchorPosition"===i)return o;var a=s(n)||(0,w.default)(this.paperRef).body,l=a.getBoundingClientRect(),u=0===e?r.vertical:"center";return{top:l.top+this.handleGetOffsetTop(l,u),left:l.left+this.handleGetOffsetLeft(l,r.horizontal)}}},{key:"getContentAnchorOffset",value:function(e){var t=this.props,n=t.getContentAnchorEl,r=t.anchorReference,i=0;if(n&&"anchorEl"===r){var o=n(e);if(o&&e.contains(o)){var s=a(e,o);i=o.offsetTop+o.clientHeight/2-s||0}}return i}},{key:"getTransformOrigin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.props.transformOrigin;return{vertical:this.handleGetOffsetTop(e,n.vertical)+t,horizontal:this.handleGetOffsetLeft(e,n.horizontal)}}},{key:"render",value:function(){var e=this,t=this.props,n=(t.action,t.anchorEl),r=(t.anchorOrigin,t.anchorPosition,t.anchorReference,t.children),i=t.classes,o=t.container,a=t.elevation,l=(t.getContentAnchorEl,t.marginThreshold,t.ModalClasses),d=(t.onEnter,t.onEntered),f=t.onEntering,h=t.onExit,p=t.onExited,m=t.onExiting,y=t.open,E=t.PaperProps,T=t.role,k=(t.transformOrigin,t.TransitionComponent),S=t.transitionDuration,C=t.TransitionProps,O=(0,c.default)(t,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","container","elevation","getContentAnchorEl","marginThreshold","ModalClasses","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","role","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),A=S;"auto"!==S||k.muiSupportAuto||(A=void 0);var P=o||(n?(0,w.default)(s(n)).body:void 0);return g.default.createElement(_.default,(0,u.default)({classes:l,container:P,open:y,BackdropProps:{invisible:!0}},O),g.default.createElement(k,(0,u.default)({appear:!0,in:y,onEnter:this.handleEnter,onEntered:d,onEntering:f,onExit:h,onExited:p,onExiting:m,role:T,timeout:A},C),g.default.createElement(x.default,(0,u.default)({className:i.paper,elevation:a,ref:function(t){e.paperRef=v.default.findDOMNode(t)}},E),g.default.createElement(b.default,{target:"window",onResize:this.handleResize}),r)))}}]),t}(g.default.Component);C.propTypes={},C.defaultProps={anchorReference:"anchorEl",anchorOrigin:{vertical:"top",horizontal:"left"},elevation:8,marginThreshold:16,transformOrigin:{vertical:"top",horizontal:"left"},TransitionComponent:k.default,transitionDuration:"auto"};var O=(0,T.default)(S,{name:"MuiPopover"})(C);t.default=O},function(e,t,n){"use strict";function r(e,t){return e="function"===typeof e?e():e,g.default.findDOMNode(e)||t}function i(e){return!!e.children&&e.children.props.hasOwnProperty("in")}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var a=o(n(3)),s=o(n(7)),l=o(n(4)),u=o(n(8)),c=o(n(9)),d=o(n(10)),f=o(n(11)),h=o(n(12)),p=o(n(47)),m=o(n(1)),g=o(n(15)),v=(o(n(2)),o(n(6))),y=(o(n(13)),o(n(55))),b=o(n(30)),w=o(n(122)),E=o(n(123)),T=n(14),_=o(n(5)),k=o(n(188)),x=o(n(190)),S=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}};t.styles=S;var C=function(e){function t(e){var n;return(0,u.default)(this,t),n=(0,d.default)(this,(0,f.default)(t).call(this)),n.mountNode=null,n.modalRef=null,n.dialogRef=null,n.mounted=!1,n.handleRendered=function(){n.autoFocus(),n.modalRef.scrollTop=0,n.props.onRendered&&n.props.onRendered()},n.handleOpen=function(){var e=(0,b.default)(n.mountNode),t=r(n.props.container,e.body);n.props.manager.add((0,p.default)((0,p.default)(n)),t),e.addEventListener("keydown",n.handleDocumentKeyDown),e.addEventListener("focus",n.enforceFocus,!0)},n.handleClose=function(){n.props.manager.remove((0,p.default)((0,p.default)(n)));var e=(0,b.default)(n.mountNode);e.removeEventListener("keydown",n.handleDocumentKeyDown),e.removeEventListener("focus",n.enforceFocus,!0),n.restoreLastFocus()},n.handleExited=function(){n.setState({exited:!0}),n.handleClose()},n.handleBackdropClick=function(e){e.target===e.currentTarget&&(n.props.onBackdropClick&&n.props.onBackdropClick(e),!n.props.disableBackdropClick&&n.props.onClose&&n.props.onClose(e,"backdropClick"))},n.handleDocumentKeyDown=function(e){n.isTopModal()&&"esc"===(0,y.default)(e)&&(e.defaultPrevented||(n.props.onEscapeKeyDown&&n.props.onEscapeKeyDown(e),!n.props.disableEscapeKeyDown&&n.props.onClose&&n.props.onClose(e,"escapeKeyDown")))},n.checkForFocus=function(){n.lastFocus=(0,b.default)(n.mountNode).activeElement},n.enforceFocus=function(){if(!n.props.disableEnforceFocus&&n.mounted&&n.isTopModal()){var e=(0,b.default)(n.mountNode).activeElement;n.dialogRef&&!n.dialogRef.contains(e)&&n.dialogRef.focus()}},n.state={exited:!e.open},n}return(0,h.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.props.open&&this.handleOpen()}},{key:"componentDidUpdate",value:function(e){!e.open&&this.props.open&&this.checkForFocus(),!e.open||this.props.open||i(this.props)?!e.open&&this.props.open&&this.handleOpen():this.handleClose()}},{key:"componentWillUnmount",value:function(){this.mounted=!1,(this.props.open||i(this.props)&&!this.state.exited)&&this.handleClose()}},{key:"autoFocus",value:function(){if(!this.props.disableAutoFocus){var e=(0,b.default)(this.mountNode).activeElement;this.dialogRef&&!this.dialogRef.contains(e)&&(this.lastFocus=e,this.dialogRef.hasAttribute("tabIndex")||this.dialogRef.setAttribute("tabIndex",-1),this.dialogRef.focus())}}},{key:"restoreLastFocus",value:function(){this.props.disableRestoreFocus||this.lastFocus&&(this.lastFocus.focus&&this.lastFocus.focus(),this.lastFocus=null)}},{key:"isTopModal",value:function(){return this.props.manager.isTopModal(this)}},{key:"render",value:function(){var e=this,t=this.props,n=t.BackdropComponent,r=t.BackdropProps,o=t.children,u=t.classes,c=t.className,d=t.container,f=(t.disableAutoFocus,t.disableBackdropClick,t.disableEnforceFocus,t.disableEscapeKeyDown,t.disablePortal),h=(t.disableRestoreFocus,t.hideBackdrop),p=t.keepMounted,g=(t.manager,t.onBackdropClick,t.onClose,t.onEscapeKeyDown,t.onRendered,t.open),y=(0,l.default)(t,["BackdropComponent","BackdropProps","children","classes","className","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),b=this.state.exited,_=i(this.props),k={};return p||g||_&&!b?(_&&(k.onExited=(0,T.createChainedFunction)(this.handleExited,o.props.onExited)),void 0===o.props.role&&(k.role=o.props.role||"document"),void 0===o.props.tabIndex&&(k.tabIndex=o.props.tabIndex||"-1"),m.default.createElement(E.default,{ref:function(t){e.mountNode=t?t.getMountNode():t},container:d,disablePortal:f,onRendered:this.handleRendered},m.default.createElement("div",(0,a.default)({ref:function(t){e.modalRef=t},className:(0,v.default)(u.root,c,(0,s.default)({},u.hidden,b))},y),h?null:m.default.createElement(n,(0,a.default)({open:g,onClick:this.handleBackdropClick},r)),m.default.createElement(w.default,{rootRef:function(t){e.dialogRef=t}},m.default.cloneElement(o,k))))):null}}],[{key:"getDerivedStateFromProps",value:function(e){return e.open?{exited:!1}:i(e)?null:{exited:!0}}}]),t}(m.default.Component);C.propTypes={},C.defaultProps={disableAutoFocus:!1,disableBackdropClick:!1,disableEnforceFocus:!1,disableEscapeKeyDown:!1,disablePortal:!1,disableRestoreFocus:!1,hideBackdrop:!1,keepMounted:!1,manager:new k.default,BackdropComponent:x.default};var O=(0,_.default)(S,{flip:!1,name:"MuiModal"})(C);t.default=O},function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(8)),a=i(n(9)),s=i(n(10)),l=i(n(11)),u=i(n(12)),c=i(n(1)),d=i(n(15)),f=(i(n(2)),i(n(36)),function(e){function t(){return(0,o.default)(this,t),(0,s.default)(this,(0,l.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){r(this.props.rootRef,d.default.findDOMNode(this))}},{key:"componentDidUpdate",value:function(e){e.rootRef!==this.props.rootRef&&(r(e.rootRef,null),r(this.props.rootRef,d.default.findDOMNode(this)))}},{key:"componentWillUnmount",value:function(){r(this.props.rootRef,null)}},{key:"render",value:function(){return this.props.children}}]),t}(c.default.Component));f.propTypes={},f.propTypes={};var h=f;t.default=h},function(e,t,n){"use strict";function r(e,t){return e="function"===typeof e?e():e,f.default.findDOMNode(e)||t}function i(e){return(0,h.default)(f.default.findDOMNode(e))}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(8)),s=o(n(9)),l=o(n(10)),u=o(n(11)),c=o(n(12)),d=o(n(1)),f=o(n(15)),h=(o(n(2)),o(n(30))),p=(o(n(36)),function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.getMountNode=function(){return n.mountNode},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.setMountNode(this.props.container),this.props.disablePortal||this.forceUpdate(this.props.onRendered)}},{key:"componentDidUpdate",value:function(e){e.container===this.props.container&&e.disablePortal===this.props.disablePortal||(this.setMountNode(this.props.container),this.props.disablePortal||this.forceUpdate(this.props.onRendered))}},{key:"componentWillUnmount",value:function(){this.mountNode=null}},{key:"setMountNode",value:function(e){if(this.props.disablePortal)return void(this.mountNode=f.default.findDOMNode(this).parentElement);this.mountNode=r(e,i(this).body)}},{key:"render",value:function(){var e=this.props,t=e.children;return e.disablePortal?t:this.mountNode?f.default.createPortal(t,this.mountNode):null}}]),t}(d.default.Component));p.propTypes={},p.defaultProps={disablePortal:!1},p.propTypes={};var m=p;t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){var r="",i="",o=t;if("string"===typeof t){if(void 0===n)return e.style[(0,a.default)(t)]||(0,c.default)(e).getPropertyValue((0,l.default)(t));(o={})[t]=n}Object.keys(o).forEach(function(t){var n=o[t];n||0===n?(0,m.default)(t)?i+=t+"("+n+") ":r+=(0,l.default)(t)+": "+n+";":(0,f.default)(e,(0,l.default)(t))}),i&&(r+=h.transform+": "+i+";"),e.style.cssText+=";"+r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(189),a=r(o),s=n(410),l=r(s),u=n(412),c=r(u),d=n(413),f=r(d),h=n(414),p=n(415),m=r(p);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e.replace(i,function(e,t){return t.toUpperCase()})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=/-(.)/g;e.exports=t.default},function(e,t,n){"use strict";function r(e){return(0,o.default)(e).replace(a,"-ms-")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(411),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=/^ms-/;e.exports=t.default},function(e,t,n){"use strict";function r(e){return e.replace(i,"-$1").toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=/([A-Z])/g;e.exports=t.default},function(e,t,n){"use strict";function r(e){if(!e)throw new TypeError("No Element passed to `getComputedStyle()`");var t=e.ownerDocument;return"defaultView"in t?t.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):{getPropertyValue:function(t){var n=e.style;"float"==(t=(0,o.default)(t))&&(t="styleFloat");var r=e.currentStyle[t]||null;if(null==r&&n&&n[t]&&(r=n[t]),s.test(r)&&!a.test(t)){var i=n.left,l=e.runtimeStyle,u=l&&l.left;u&&(l.left=e.currentStyle.left),n.left="fontSize"===t?"1em":r,r=n.pixelLeft+"px",n.left=i,u&&(l.left=u)}return r}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(189),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=/^(top|right|bottom|left)$/,s=/^([+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/i;e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return"removeProperty"in e.style?e.style.removeProperty(t):e.style.removeAttribute(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var r=n(186),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o="transform",a=void 0,s=void 0,l=void 0,u=void 0,c=void 0,d=void 0,f=void 0,h=void 0,p=void 0,m=void 0,g=void 0;if(i.default){var v=function(){for(var e=document.createElement("div").style,t={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},n=Object.keys(t),r=void 0,i=void 0,o="",a=0;a<n.length;a++){var s=n[a];if(s+"TransitionProperty"in e){o="-"+s.toLowerCase(),r=t[s]("TransitionEnd"),i=t[s]("AnimationEnd");break}}return!r&&"transitionProperty"in e&&(r="transitionend"),!i&&"animationName"in e&&(i="animationend"),e=null,{animationEnd:i,transitionEnd:r,prefix:o}}();a=v.prefix,t.transitionEnd=s=v.transitionEnd,t.animationEnd=l=v.animationEnd,t.transform=o=a+"-"+o,t.transitionProperty=u=a+"-transition-property",t.transitionDuration=c=a+"-transition-duration",t.transitionDelay=f=a+"-transition-delay",t.transitionTiming=d=a+"-transition-timing-function",t.animationName=h=a+"-animation-name",t.animationDuration=p=a+"-animation-duration",t.animationTiming=m=a+"-animation-delay",t.animationDelay=g=a+"-animation-timing-function"}t.transform=o,t.transitionProperty=u,t.transitionTiming=d,t.transitionDelay=f,t.transitionDuration=c,t.transitionEnd=s,t.animationName=h,t.animationDuration=p,t.animationTiming=m,t.animationDelay=g,t.animationEnd=l,t.default={transform:o,end:s,property:u,timing:d,delay:f,duration:c}},function(e,t,n){"use strict";function r(e){return!(!e||!i.test(e))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&"body"===e.tagName.toLowerCase()}function i(e){var t=(0,s.default)(e),n=(0,l.default)(t);if(!(0,a.default)(t)&&!r(e))return e.scrollHeight>e.clientHeight;var i=n.getComputedStyle(t.body),o=parseInt(i.getPropertyValue("margin-left"),10),u=parseInt(i.getPropertyValue("margin-right"),10);return o+t.body.clientWidth+u<n.innerWidth}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.isBody=r,t.default=i;var a=o(n(417)),s=o(n(30)),l=o(n(81))},function(e,t,n){"use strict";function r(e){return e===e.window?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e){return 1===e.nodeType&&-1===l.indexOf(e.tagName.toLowerCase())}function i(e,t,n){t=[].concat(t),[].forEach.call(e.children,function(e){-1===t.indexOf(e)&&r(e)&&n(e)})}function o(e,t){t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))}function a(e,t){i(e,t,function(e){return o(!0,e)})}function s(e,t){i(e,t,function(e){return o(!1,e)})}Object.defineProperty(t,"__esModule",{value:!0}),t.ariaHidden=o,t.hideSiblings=a,t.showSiblings=s;var l=["template","script","style"]},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.invisible,i=e.open,c=e.transitionDuration,f=(0,s.default)(e,["classes","className","invisible","open","transitionDuration"]);return l.default.createElement(d.default,(0,o.default)({appear:!0,in:i,timeout:c},f),l.default.createElement("div",{className:(0,u.default)(t.root,(0,a.default)({},t.invisible,r),n),"aria-hidden":"true"}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(124)),f={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",touchAction:"none"},invisible:{backgroundColor:"transparent"}};t.styles=f,r.propTypes={},r.defaultProps={invisible:!1};var h=(0,c.default)(f,{name:"MuiBackdrop"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(35))),h=n(28),p=r(n(29)),m=n(56),g={entering:{opacity:1},entered:{opacity:1}},v=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.handleEnter=function(e){var t=n.props.theme;(0,m.reflow)(e);var r=(0,m.getTransitionProps)(n.props,{mode:"enter"});e.style.webkitTransition=t.transitions.create("opacity",r),e.style.transition=t.transitions.create("opacity",r),n.props.onEnter&&n.props.onEnter(e)},n.handleExit=function(e){var t=n.props.theme,r=(0,m.getTransitionProps)(n.props,{mode:"exit"});e.style.webkitTransition=t.transitions.create("opacity",r),e.style.transition=t.transitions.create("opacity",r),n.props.onExit&&n.props.onExit(e)},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=(e.onEnter,e.onExit,e.style),r=(e.theme,(0,o.default)(e,["children","onEnter","onExit","style","theme"])),a=(0,i.default)({},n,d.default.isValidElement(t)?t.props.style:{});return d.default.createElement(f.default,(0,i.default)({appear:!0,onEnter:this.handleEnter,onExit:this.handleExit},r),function(e,n){return d.default.cloneElement(t,(0,i.default)({style:(0,i.default)({opacity:0,willChange:"opacity"},g[e],a)},n))})}}]),t}(d.default.Component);v.propTypes={},v.defaultProps={timeout:{enter:h.duration.enteringScreen,exit:h.duration.leavingScreen}};var y=(0,p.default)()(v);t.default=y},function(e,t,n){"use strict";function r(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(8)),l=i(n(9)),u=i(n(10)),c=i(n(11)),d=i(n(12)),f=i(n(1)),h=(i(n(2)),i(n(35))),p=i(n(29)),m=n(56),g={entering:{opacity:1,transform:r(1)},entered:{opacity:1,transform:"".concat(r(1)," translateZ(0)")}},v=function(e){function t(){var e,n;(0,s.default)(this,t);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(o))),n.autoTimeout=null,n.timer=null,n.handleEnter=function(e){var t=n.props,r=t.theme,i=t.timeout;(0,m.reflow)(e);var o=(0,m.getTransitionProps)(n.props,{mode:"enter"}),a=o.duration,s=o.delay,l=0;"auto"===i?(l=r.transitions.getAutoHeightDuration(e.clientHeight),n.autoTimeout=l):l=a,e.style.transition=[r.transitions.create("opacity",{duration:l,delay:s}),r.transitions.create("transform",{duration:.666*l,delay:s})].join(","),n.props.onEnter&&n.props.onEnter(e)},n.handleExit=function(e){var t=n.props,i=t.theme,o=t.timeout,a=0,s=(0,m.getTransitionProps)(n.props,{mode:"exit"}),l=s.duration,u=s.delay;"auto"===o?(a=i.transitions.getAutoHeightDuration(e.clientHeight),n.autoTimeout=a):a=l,e.style.transition=[i.transitions.create("opacity",{duration:a,delay:u}),i.transitions.create("transform",{duration:.666*a,delay:u||.333*a})].join(","),e.style.opacity="0",e.style.transform=r(.75),n.props.onExit&&n.props.onExit(e)},n.addEndListener=function(e,t){"auto"===n.props.timeout&&(n.timer=setTimeout(t,n.autoTimeout||0))},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.timer)}},{key:"render",value:function(){var e=this.props,t=e.children,n=(e.onEnter,e.onExit,e.style),i=(e.theme,e.timeout),s=(0,a.default)(e,["children","onEnter","onExit","style","theme","timeout"]),l=(0,o.default)({},n,f.default.isValidElement(t)?t.props.style:{});return f.default.createElement(h.default,(0,o.default)({appear:!0,onEnter:this.handleEnter,onExit:this.handleExit,addEndListener:this.addEndListener,timeout:"auto"===i?null:i},s),function(e,n){return f.default.cloneElement(t,(0,o.default)({style:(0,o.default)({opacity:0,transform:r(.75)},g[e],l)},n))})}}]),t}(f.default.Component);v.propTypes={},v.defaultProps={timeout:"auto"},v.muiSupportAuto=!0;var y=(0,p.default)()(v);t.default=y},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(15))),h=r(n(55)),p=(r(n(13)),r(n(30))),m=r(n(192)),g=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.listRef=null,n.selectedItemRef=null,n.blurTimer=null,n.state={currentTabIndex:null},n.handleBlur=function(e){n.blurTimer=setTimeout(function(){if(n.listRef){var e=n.listRef,t=(0,p.default)(e).activeElement;e.contains(t)||n.resetTabIndex()}},30),n.props.onBlur&&n.props.onBlur(e)},n.handleKeyDown=function(e){var t=n.listRef,r=(0,h.default)(e),i=(0,p.default)(t).activeElement;"up"!==r&&"down"!==r||i&&(!i||t.contains(i))?"down"===r?(e.preventDefault(),i.nextElementSibling&&i.nextElementSibling.focus()):"up"===r&&(e.preventDefault(),i.previousElementSibling&&i.previousElementSibling.focus()):n.selectedItemRef?n.selectedItemRef.focus():t.firstChild.focus(),n.props.onKeyDown&&n.props.onKeyDown(e,r)},n.handleItemFocus=function(e){var t=n.listRef;if(t)for(var r=0;r<t.children.length;r+=1)if(t.children[r]===e.currentTarget){n.setTabIndex(r);break}},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.resetTabIndex()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.blurTimer)}},{key:"setTabIndex",value:function(e){this.setState({currentTabIndex:e})}},{key:"focus",value:function(){var e=this.state.currentTabIndex,t=this.listRef;t&&t.children&&t.firstChild&&(e&&e>=0?t.children[e].focus():t.firstChild.focus())}},{key:"resetTabIndex",value:function(){for(var e=this.listRef,t=(0,p.default)(e).activeElement,n=[],r=0;r<e.children.length;r+=1)n.push(e.children[r]);var i=n.indexOf(t);return-1!==i?this.setTabIndex(i):this.selectedItemRef?this.setTabIndex(n.indexOf(this.selectedItemRef)):this.setTabIndex(0)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.className,a=(t.onBlur,t.onKeyDown,(0,o.default)(t,["children","className","onBlur","onKeyDown"]));return d.default.createElement(m.default,(0,i.default)({role:"menu",ref:function(t){e.listRef=f.default.findDOMNode(t)},className:r,onKeyDown:this.handleKeyDown,onBlur:this.handleBlur},a),d.default.Children.map(n,function(t,n){return d.default.isValidElement(t)?d.default.cloneElement(t,{tabIndex:n===e.state.currentTabIndex?0:-1,ref:t.props.selected?function(t){e.selectedItemRef=f.default.findDOMNode(t)}:void 0,onFocus:e.handleItemFocus}):null}))}}]),t}(d.default.Component);g.propTypes={};var v=g;t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=r(n(2)),p=r(n(6)),m=r(n(5)),g={root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{paddingTop:4,paddingBottom:4},subheader:{paddingTop:0}};t.styles=g;var v=function(e){function t(){return(0,s.default)(this,t),(0,u.default)(this,(0,c.default)(t).apply(this,arguments))}return(0,d.default)(t,e),(0,l.default)(t,[{key:"getChildContext",value:function(){return{dense:this.props.dense}}},{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.classes,s=t.className,l=t.component,u=t.dense,c=t.disablePadding,d=t.subheader,h=(0,a.default)(t,["children","classes","className","component","dense","disablePadding","subheader"]),m=(0,p.default)(r.root,(e={},(0,o.default)(e,r.dense,u&&!c),(0,o.default)(e,r.padding,!c),(0,o.default)(e,r.subheader,d),e),s);return f.default.createElement(l,(0,i.default)({className:m},h),d,n)}}]),t}(f.default.Component);v.propTypes={},v.defaultProps={component:"ul",dense:!1,disablePadding:!1},v.childContextTypes={dense:h.default.bool};var y=(0,m.default)(g,{name:"MuiList"})(v);t.default=y},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.component,i=e.selected,c=e.role,f=(0,a.default)(e,["classes","className","component","selected","role"]);return l.default.createElement(d.default,(0,s.default)({button:!0,role:c,tabIndex:-1,className:(0,u.default)(t.root,(0,o.default)({},t.selected,i),n),component:r},f))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(4)),s=i(n(3)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(193)),f=function(e){return{root:(0,s.default)({},e.typography.subheading,{height:24,boxSizing:"content-box",width:"auto",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",paddingLeft:16,paddingRight:16,"&$selected":{backgroundColor:e.palette.action.selected}}),selected:{}}};t.styles=f,r.propTypes={},r.defaultProps={component:"li",role:"menuitem",selected:!1};var h=(0,c.default)(f,{name:"MuiMenuItem"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=r(n(2)),p=r(n(6)),m=r(n(5)),g=r(n(26)),v=n(39),y=function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:12,paddingBottom:12},container:{position:"relative"},focusVisible:{backgroundColor:e.palette.action.hover},default:{},dense:{paddingTop:8,paddingBottom:8},disabled:{opacity:.5},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:e.mixins.gutters(),button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:32}}};t.styles=y;var b=function(e){function t(){return(0,s.default)(this,t),(0,u.default)(this,(0,c.default)(t).apply(this,arguments))}return(0,d.default)(t,e),(0,l.default)(t,[{key:"getChildContext",value:function(){return{dense:this.props.dense||this.context.dense||!1}}},{key:"render",value:function(){var e,t=this.props,n=t.button,r=t.children,s=t.classes,l=t.className,u=t.component,c=t.ContainerComponent,d=t.ContainerProps;d=void 0===d?{}:d;var h=d.className,m=(0,a.default)(d,["className"]),y=t.dense,b=t.disabled,w=t.disableGutters,E=t.divider,T=t.focusVisibleClassName,_=(0,a.default)(t,["button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName"]),k=y||this.context.dense||!1,x=f.default.Children.toArray(r),S=x.some(function(e){return(0,v.isMuiElement)(e,["ListItemAvatar"])}),C=x.length&&(0,v.isMuiElement)(x[x.length-1],["ListItemSecondaryAction"]),O=(0,p.default)(s.root,s.default,(e={},(0,o.default)(e,s.dense,k||S),(0,o.default)(e,s.gutters,!w),(0,o.default)(e,s.divider,E),(0,o.default)(e,s.disabled,b),(0,o.default)(e,s.button,n),(0,o.default)(e,s.secondaryAction,C),e),l),A=(0,i.default)({className:O,disabled:b},_),P=u||"li";return n&&(A.component=u||"div",A.focusVisibleClassName=(0,p.default)(s.focusVisible,T),P=g.default),C?(P=A.component||u?P:"div","li"===c&&("li"===P?P="div":"li"===A.component&&(A.component="div")),f.default.createElement(c,(0,i.default)({className:(0,p.default)(s.container,h)},m),f.default.createElement(P,A,x),x.pop())):f.default.createElement(P,A,x)}}]),t}(f.default.Component);b.propTypes={},b.defaultProps={button:!1,ContainerComponent:"li",dense:!1,disabled:!1,disableGutters:!1,divider:!1},b.contextTypes={dense:h.default.bool},b.childContextTypes={dense:h.default.bool};var w=(0,m.default)(y,{name:"MuiListItem"})(b);t.default=w},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"common",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"red",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"pink",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"purple",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"deepPurple",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"indigo",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"blue",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"lightBlue",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"cyan",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"teal",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"green",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"lightGreen",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"lime",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"yellow",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"amber",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"orange",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"deepOrange",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"brown",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"grey",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"blueGrey",{enumerable:!0,get:function(){return _.default}});var i=r(n(156)),o=r(n(155)),a=r(n(153)),s=r(n(427)),l=r(n(428)),u=r(n(152)),c=r(n(429)),d=r(n(430)),f=r(n(431)),h=r(n(432)),p=r(n(433)),m=r(n(434)),g=r(n(435)),v=r(n(436)),y=r(n(437)),b=r(n(438)),w=r(n(439)),E=r(n(440)),T=r(n(154)),_=r(n(441))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"},i=r;t.default=i},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(194))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(444))},function(e,t,n){"use strict";function r(e){var t=e.badgeContent,n=e.children,r=e.classes,i=e.className,c=e.color,f=e.component,h=(0,s.default)(e,["badgeContent","children","classes","className","color","component"]),p=(0,u.default)(r.badge,(0,a.default)({},r["color".concat((0,d.capitalize)(c))],"default"!==c));return l.default.createElement(f,(0,o.default)({className:(0,u.default)(r.root,i)},h),n,l.default.createElement("span",{className:p},t))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=function(e){return{root:{position:"relative",display:"inline-flex",verticalAlign:"middle"},badge:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",top:-11,right:-11,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeight,fontSize:e.typography.pxToRem(12),width:22,height:22,borderRadius:"50%",backgroundColor:e.palette.color,color:e.palette.textColor,zIndex:1},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},colorError:{backgroundColor:e.palette.error.main,color:e.palette.error.contrastText}}};t.styles=f,r.propTypes={},r.defaultProps={color:"default",component:"span"};var h=(0,c.default)(f,{name:"MuiBadge"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(446))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=e.onChange,u=e.showLabels,c=e.value,d=(0,a.default)(e,["children","classes","className","onChange","showLabels","value"]),f=(0,l.default)(n.root,r),h=s.default.Children.map(t,function(e,t){if(!s.default.isValidElement(e))return null;var n=void 0===e.props.value?t:e.props.value;return s.default.cloneElement(e,{selected:n===c,showLabel:void 0!==e.props.showLabel?e.props.showLabel:u,value:n,onChange:i})});return s.default.createElement("div",(0,o.default)({className:f},d),h)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=(i(n(13)),i(n(5))),c=function(e){return{root:{display:"flex",justifyContent:"center",height:56,backgroundColor:e.palette.background.paper}}};t.styles=c,r.propTypes={},r.defaultProps={showLabels:!1};var d=(0,u.default)(c,{name:"MuiBottomNavigation"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(448))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(5)),m=r(n(26)),g=(r(n(128)),function(e){return{root:{transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),paddingTop:8,paddingBottom:10,paddingLeft:12,paddingRight:12,minWidth:80,maxWidth:168,color:e.palette.text.secondary,flex:"1","&$iconOnly":{paddingTop:16},"&$selected":{paddingTop:6,color:e.palette.primary.main}},selected:{},iconOnly:{},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"},label:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s","&$iconOnly":{opacity:0,transitionDelay:"0s"},"&$selected":{fontSize:e.typography.pxToRem(14)}}}});t.styles=g;var v=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.handleChange=function(e){var t=n.props,r=t.onChange,i=t.value,o=t.onClick;r&&r(e,i),o&&o(e)},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e,t,n=this.props,r=n.classes,s=n.className,l=n.icon,u=n.label,c=(n.onChange,n.onClick,n.selected),d=n.showLabel,p=(n.value,(0,a.default)(n,["classes","className","icon","label","onChange","onClick","selected","showLabel","value"])),g=(0,h.default)(r.root,(e={},(0,o.default)(e,r.selected,c),(0,o.default)(e,r.iconOnly,!d&&!c),e),s),v=(0,h.default)(r.label,(t={},(0,o.default)(t,r.selected,c),(0,o.default)(t,r.iconOnly,!d&&!c),t));return f.default.createElement(m.default,(0,i.default)({className:g,focusRipple:!0,onClick:this.handleChange},p),f.default.createElement("span",{className:r.wrapper},l,f.default.createElement("span",{className:v},u)))}}]),t}(f.default.Component);v.propTypes={};var y=(0,p.default)(g,{name:"MuiBottomNavigationAction"})(v);t.default=y},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(450))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.raised,i=(0,a.default)(e,["classes","className","raised"]);return s.default.createElement(u.default,(0,o.default)({className:(0,l.default)(t.root,n),elevation:r?8:1},i))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(25)),c=i(n(5)),d={root:{overflow:"hidden"}};t.styles=d,r.propTypes={},r.defaultProps={raised:!1};var f=(0,c.default)(d,{name:"MuiCard"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(452))},function(e,t,n){"use strict";function r(e){var t=e.disableActionSpacing,n=e.children,r=e.classes,i=e.className,s=(0,a.default)(e,["disableActionSpacing","children","classes","className"]);return l.default.createElement("div",(0,o.default)({className:(0,u.default)(r.root,i)},s),t?n:(0,d.cloneChildrenWithClassName)(n,r.action))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(7)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(39);n(54);var f=function(e){return{root:(0,s.default)({display:"flex",alignItems:"center",boxSizing:"border-box",padding:"8px 4px"},e.breakpoints.up("sm"),{padding:"8px 12px"}),action:{margin:"0 4px"}}};t.styles=f,r.propTypes={},r.defaultProps={disableActionSpacing:!1};var h=(0,c.default)(f,{name:"MuiCardActions"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(454))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.component,i=(0,a.default)(e,["classes","className","component"]);return s.default.createElement(r,(0,o.default)({className:(0,l.default)(t.root,n)},i))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=function(e){return{root:e.mixins.gutters({paddingTop:16,paddingBottom:16,"&:last-child":{paddingBottom:24}})}};t.styles=c,r.propTypes={},r.defaultProps={component:"div"};var d=(0,u.default)(c,{name:"MuiCardContent"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(456))},function(e,t,n){"use strict";function r(e){var t=e.action,n=e.avatar,r=e.classes,i=e.className,s=e.component,c=e.disableTypography,f=e.subheader,h=e.subheaderTypographyProps,p=e.title,m=e.titleTypographyProps,g=(0,a.default)(e,["action","avatar","classes","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"]),v=p;null==v||v.type===d.default||c||(v=l.default.createElement(d.default,(0,o.default)({variant:n?"body2":"headline",className:r.title,component:"span"},m),v));var y=f;return null==y||y.type===d.default||c||(y=l.default.createElement(d.default,(0,o.default)({variant:n?"body2":"body1",className:r.subheader,color:"textSecondary",component:"span"},h),y)),l.default.createElement(s,(0,o.default)({className:(0,u.default)(r.root,i)},g),n&&l.default.createElement("div",{className:r.avatar},n),l.default.createElement("div",{className:r.content},v,y),t&&l.default.createElement("div",{className:r.action},t))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(7)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(19)),f=function(e){return{root:e.mixins.gutters({display:"flex",alignItems:"center",paddingTop:16,paddingBottom:16}),avatar:{flex:"0 0 auto",marginRight:16},action:(0,s.default)({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-8,marginRight:-12},e.breakpoints.up("sm"),{marginRight:-20}),content:{flex:"1 1 auto"},title:{},subheader:{}}};t.styles=f,r.propTypes={},r.defaultProps={component:"div",disableTypography:!1};var h=(0,c.default)(f,{name:"MuiCardHeader"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(458))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.component,i=e.image,c=e.src,d=e.style,h=(0,s.default)(e,["classes","className","component","image","src","style"]),p=-1!==f.indexOf(r),m=!p&&i?(0,a.default)({backgroundImage:'url("'.concat(i,'")')},d):d;return l.default.createElement(r,(0,a.default)({className:(0,u.default)(t.root,(0,o.default)({},t.media,p),n),style:m,src:p?i||c:void 0},h))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(3)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=(i(n(13)),i(n(5))),d={root:{display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},media:{width:"100%"}};t.styles=d;var f=["video","audio","picture","iframe","img"];r.propTypes={},r.defaultProps={component:"div"};var h=(0,c.default)(d,{name:"MuiCardMedia"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(460))},function(e,t,n){"use strict";function r(e){var t=e.checkedIcon,n=e.classes,r=e.color,i=e.icon,c=e.indeterminate,d=e.indeterminateIcon,f=(0,a.default)(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon"]);return s.default.createElement(u.default,(0,o.default)({type:"checkbox",checkedIcon:c?d:t,classes:{root:(0,l.default)(n.root,n["color".concat((0,h.capitalize)(r))]),checked:n.checked,disabled:n.disabled},icon:c?d:i},f))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(129)),c=i(n(462)),d=i(n(467)),f=i(n(468)),h=n(14),p=i(n(5)),m=function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:e.palette.primary.main},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.action.disabled}}}};t.styles=m,r.propTypes={},r.defaultProps={checkedIcon:s.default.createElement(d.default,null),color:"secondary",icon:s.default.createElement(c.default,null),indeterminate:!1,indeterminateIcon:s.default.createElement(f.default,null)};var g=(0,p.default)(m,{name:"MuiCheckbox"})(r);t.default=g},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.classes,i=e.className,c=e.color,d=e.disabled,p=(0,s.default)(e,["children","classes","className","color","disabled"]);return l.default.createElement(f.default,(0,o.default)({className:(0,u.default)(r.root,(t={},(0,a.default)(t,r["color".concat((0,h.capitalize)(c))],"default"!==c),(0,a.default)(t,r.disabled,d),t),i),centerRipple:!0,focusRipple:!0,disabled:d},p),l.default.createElement("span",{className:r.label},n))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(33),f=i(n(26)),h=n(14),p=function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),width:48,height:48,padding:0,borderRadius:"50%",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:(0,d.fade)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,d.fade)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,d.fade)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}};t.styles=p,r.propTypes={},r.defaultProps={color:"default",disabled:!1};var m=(0,c.default)(p,{name:"MuiIconButton"})(r);t.default=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(62);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(464)),o=n(1),a=(r(n(195)),r(n(61)),function(e){return function(t){var n=(0,o.createFactory)(t),r=function(t){function r(){return t.apply(this,arguments)||this}(0,i.default)(r,t);var o=r.prototype;return o.shouldComponentUpdate=function(t){return e(this.props,t)},o.render=function(){return n(this.props)},r}(o.Component);return r}}),s=a;t.default=s},function(e,t){function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){return function(n){return n[e]=t,n}},i=r;t.default=i},function(e,t,n){"use strict";var r=n(62);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(94)),o=i.default;t.default=o},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(470))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(55)),m=r(n(471)),g=r(n(5)),v=n(33),y=(r(n(128)),n(14));n(194);var b=function(e){var t="light"===e.palette.type?e.palette.grey[300]:e.palette.grey[700],n=(0,v.fade)(e.palette.text.primary,.26);return{root:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:e.palette.getContrastText(t),backgroundColor:t,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:"none",textDecoration:"none",border:"none",padding:0},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},clickable:{WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover, &:focus":{backgroundColor:(0,v.emphasize)(t,.08)},"&:active":{boxShadow:e.shadows[1],backgroundColor:(0,v.emphasize)(t,.12)}},clickableColorPrimary:{"&:hover, &:focus":{backgroundColor:(0,v.emphasize)(e.palette.primary.main,.08)},"&:active":{backgroundColor:(0,v.emphasize)(e.palette.primary.main,.12)}},clickableColorSecondary:{"&:hover, &:focus":{backgroundColor:(0,v.emphasize)(e.palette.secondary.main,.08)},"&:active":{backgroundColor:(0,v.emphasize)(e.palette.secondary.main,.12)}},deletable:{"&:focus":{backgroundColor:(0,v.emphasize)(t,.08)}},deletableColorPrimary:{"&:focus":{backgroundColor:(0,v.emphasize)(e.palette.primary.main,.2)}},deletableColorSecondary:{"&:focus":{backgroundColor:(0,v.emphasize)(e.palette.secondary.main,.2)}},avatar:{marginRight:-4,width:32,height:32,color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],fontSize:e.typography.pxToRem(16)},avatarColorPrimary:{color:(0,v.darken)(e.palette.primary.contrastText,.1),backgroundColor:e.palette.primary.dark},avatarColorSecondary:{color:(0,v.darken)(e.palette.secondary.contrastText,.1),backgroundColor:e.palette.secondary.dark},avatarChildren:{width:19,height:19},label:{display:"flex",alignItems:"center",paddingLeft:12,paddingRight:12,userSelect:"none",whiteSpace:"nowrap",cursor:"inherit"},deleteIcon:{WebkitTapHighlightColor:"transparent",color:n,cursor:"pointer",height:"auto",margin:"0 4px 0 -8px","&:hover":{color:(0,v.fade)(n,.4)}},deleteIconColorPrimary:{color:(0,v.fade)(e.palette.primary.contrastText,.65),"&:hover, &:active":{color:e.palette.primary.contrastText}},deleteIconColorSecondary:{color:(0,v.fade)(e.palette.primary.contrastText,.65),"&:hover, &:active":{color:e.palette.primary.contrastText}}}};t.styles=b;var w=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.chipRef=null,n.handleDeleteIconClick=function(e){e.stopPropagation();var t=n.props.onDelete;t&&t(e)},n.handleKeyDown=function(e){if(e.currentTarget===e.target){var t=n.props,r=t.onClick,i=t.onDelete,o=t.onKeyDown,a=(0,p.default)(e);!r||"space"!==a&&"enter"!==a?i&&"backspace"===a?(e.preventDefault(),i(e)):"esc"===a&&(e.preventDefault(),n.chipRef&&n.chipRef.blur()):(e.preventDefault(),r(e)),o&&o(e)}},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.avatar,r=t.classes,s=t.className,l=t.clickable,u=t.color,c=t.component,d=t.deleteIcon,p=t.label,g=t.onClick,v=t.onDelete,b=(t.onKeyDown,t.tabIndex),w=(0,a.default)(t,["avatar","classes","className","clickable","color","component","deleteIcon","label","onClick","onDelete","onKeyDown","tabIndex"]),E=(0,h.default)(r.root,(0,o.default)({},r["color".concat((0,y.capitalize)(u))],"default"!==u),(0,o.default)({},r.clickable,g||l),(0,o.default)({},r["clickableColor".concat((0,y.capitalize)(u))],(g||l)&&"default"!==u),(0,o.default)({},r.deletable,v),(0,o.default)({},r["deletableColor".concat((0,y.capitalize)(u))],v&&"default"!==u),s),T=null;v&&(T=d&&f.default.isValidElement(d)?f.default.cloneElement(d,{className:(0,h.default)(d.props.className,r.deleteIcon,(0,o.default)({},r["deleteIconColor".concat((0,y.capitalize)(u))],"default"!==u)),onClick:this.handleDeleteIconClick}):f.default.createElement(m.default,{className:(0,h.default)(r.deleteIcon,(0,o.default)({},r["deleteIconColor".concat((0,y.capitalize)(u))],"default"!==u)),onClick:this.handleDeleteIconClick}));var _=null;n&&f.default.isValidElement(n)&&(_=f.default.cloneElement(n,{className:(0,h.default)(r.avatar,n.props.className,(0,o.default)({},r["avatarColor".concat((0,y.capitalize)(u))],"default"!==u)),childrenClassName:(0,h.default)(r.avatarChildren,n.props.childrenClassName)}));var k=b;return k||(k=g||v||l?0:-1),f.default.createElement(c,(0,i.default)({role:"button",className:E,tabIndex:k,onClick:g,onKeyDown:this.handleKeyDown,ref:function(t){e.chipRef=t}},w),_,f.default.createElement("span",{className:r.label},p),T)}}]),t}(f.default.Component);w.propTypes={},w.defaultProps={clickable:!1,component:"div",color:"default"};var E=(0,g.default)(b,{name:"MuiChip"})(w);t.default=E},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(473))},function(e,t,n){"use strict";function r(e,t,n){return(Math.min(Math.max(t,e),n)-t)/(n-t)}function i(e){return e=r(e,0,1),e=(e-=1)*e*e+1}function o(e){return e*e}function a(e){var t,n,r=e.classes,a=e.className,s=e.color,h=e.size,g=e.style,v=e.thickness,y=e.value,b=e.variant,w=(0,c.default)(e,["classes","className","color","size","style","thickness","value","variant"]),E={},T={},_={};if("determinate"===b||"static"===b){var k=2*Math.PI*((m-v)/2);E.strokeDasharray=k.toFixed(3),_["aria-valuenow"]=Math.round(y),"static"===b?(E.strokeDashoffset="".concat(((100-y)/100*k).toFixed(3),"px"),T.transform="rotate(-90deg)"):(E.strokeDashoffset="".concat((o((100-y)/100)*k).toFixed(3),"px"),T.transform="rotate(".concat((270*i(y/70)).toFixed(3),"deg)"))}return d.default.createElement("div",(0,l.default)({className:(0,f.default)(r.root,(t={},(0,u.default)(t,r["color".concat((0,p.capitalize)(s))],"inherit"!==s),(0,u.default)(t,r.indeterminate,"indeterminate"===b),(0,u.default)(t,r.static,"static"===b),t),a),style:(0,l.default)({width:h,height:h},T,g),role:"progressbar"},_,w),d.default.createElement("svg",{className:r.svg,viewBox:"".concat(m/2," ").concat(m/2," ").concat(m," ").concat(m)},d.default.createElement("circle",{className:(0,f.default)(r.circle,(n={},(0,u.default)(n,r.circleIndeterminate,"indeterminate"===b),(0,u.default)(n,r.circleStatic,"static"===b),n)),style:E,cx:m,cy:m,r:(m-v)/2,fill:"none",strokeWidth:v})))}var s=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var l=s(n(3)),u=s(n(7)),c=s(n(4)),d=s(n(1)),f=(s(n(2)),s(n(6))),h=s(n(5)),p=n(14),m=44,g=function(e){return{root:{display:"inline-block",lineHeight:1},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"mui-progress-circular-rotate 1.4s linear infinite"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"mui-progress-circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},"@keyframes mui-progress-circular-rotate":{"100%":{transform:"rotate(360deg)"}},"@keyframes mui-progress-circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-120px"}}}};t.styles=g,a.propTypes={},a.defaultProps={color:"primary",size:40,thickness:3.6,value:0,variant:"indeterminate"};var v=(0,h.default)(g,{name:"MuiCircularProgress",flip:!1})(a);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=r(n(15)),h=(r(n(2)),r(n(31))),p=r(n(30)),m=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.node=null,n.mounted=null,n.handleClickAway=function(e){if(!e.defaultPrevented&&n.mounted&&n.node){var t=(0,p.default)(n.node);t.documentElement&&t.documentElement.contains(e.target)&&!n.node.contains(e.target)&&n.props.onClickAway(e)}},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.node=f.default.findDOMNode(this),this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.mouseEvent,r=e.touchEvent,a=(e.onClickAway,(0,o.default)(e,["children","mouseEvent","touchEvent","onClickAway"])),s={};return!1!==n&&(s[n]=this.handleClickAway),!1!==r&&(s[r]=this.handleClickAway),d.default.createElement(h.default,(0,i.default)({target:"document"},s,a),t)}}]),t}(d.default.Component);m.propTypes={},m.defaultProps={mouseEvent:"onMouseUp",touchEvent:"onTouchEnd"};var g=m;t.default=g},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=r(n(6)),p=(r(n(2)),r(n(35))),m=r(n(5)),g=n(28),v=n(56),y=function(e){return{container:{height:0,overflow:"hidden",transition:e.transitions.create("height")},entered:{height:"auto"},wrapper:{display:"flex"},wrapperInner:{width:"100%"}}};t.styles=y;var b=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.wrapper=null,n.autoTransitionDuration=null,n.timer=null,n.handleEnter=function(e){e.style.height=n.props.collapsedHeight,n.props.onEnter&&n.props.onEnter(e)},n.handleEntering=function(e){var t=n.props,r=t.timeout,i=t.theme,o=n.wrapperRef?n.wrapperRef.clientHeight:0,a=(0,v.getTransitionProps)(n.props,{mode:"enter"}),s=a.duration;if("auto"===r){var l=i.transitions.getAutoHeightDuration(o);e.style.transitionDuration="".concat(l,"ms"),n.autoTransitionDuration=l}else e.style.transitionDuration="string"===typeof s?s:"".concat(s,"ms");e.style.height="".concat(o,"px"),n.props.onEntering&&n.props.onEntering(e)},n.handleEntered=function(e){e.style.height="auto",n.props.onEntered&&n.props.onEntered(e)},n.handleExit=function(e){var t=n.wrapperRef?n.wrapperRef.clientHeight:0;e.style.height="".concat(t,"px"),n.props.onExit&&n.props.onExit(e)},n.handleExiting=function(e){var t=n.props,r=t.timeout,i=t.theme,o=n.wrapperRef?n.wrapperRef.clientHeight:0,a=(0,v.getTransitionProps)(n.props,{mode:"exit"}),s=a.duration;if("auto"===r){var l=i.transitions.getAutoHeightDuration(o);e.style.transitionDuration="".concat(l,"ms"),n.autoTransitionDuration=l}else e.style.transitionDuration="string"===typeof s?s:"".concat(s,"ms");e.style.height=n.props.collapsedHeight,n.props.onExiting&&n.props.onExiting(e)},n.addEndListener=function(e,t){"auto"===n.props.timeout&&(n.timer=setTimeout(t,n.autoTransitionDuration||0))},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.timer)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.classes,s=t.className,l=t.collapsedHeight,u=t.component,c=(t.onEnter,t.onEntered,t.onEntering,t.onExit,t.onExiting,t.style),d=(t.theme,t.timeout),m=(0,a.default)(t,["children","classes","className","collapsedHeight","component","onEnter","onEntered","onEntering","onExit","onExiting","style","theme","timeout"]);return f.default.createElement(p.default,(0,i.default)({onEnter:this.handleEnter,onEntered:this.handleEntered,onEntering:this.handleEntering,onExit:this.handleExit,onExiting:this.handleExiting,addEndListener:this.addEndListener,timeout:"auto"===d?null:d},m),function(t,a){return f.default.createElement(u,(0,i.default)({className:(0,h.default)(r.container,(0,o.default)({},r.entered,"entered"===t),s),style:(0,i.default)({},c,{minHeight:l})},a),f.default.createElement("div",{className:r.wrapper,ref:function(t){e.wrapperRef=t}},f.default.createElement("div",{className:r.wrapperInner},n)))})}}]),t}(f.default.Component);b.propTypes={},b.defaultProps={collapsedHeight:"0px",component:"div",timeout:g.duration.standard},b.muiSupportAuto=!0;var w=(0,m.default)(y,{withTheme:!0,name:"MuiCollapse"})(b);t.default=w},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(477))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(8)),o=r(n(9)),a=r(n(10)),s=r(n(11)),l=r(n(12)),u=r(n(1)),c=(r(n(2)),n(96)),d=(r(n(36)),function(e){return{"@global":{html:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box"},"*, *::before, *::after":{boxSizing:"inherit"},body:{margin:0,backgroundColor:e.palette.background.default,"@media print":{backgroundColor:e.palette.common.white}}}}}),f=function(e){function t(){return(0,i.default)(this,t),(0,a.default)(this,(0,s.default)(t).apply(this,arguments))}return(0,l.default)(t,e),(0,o.default)(t,[{key:"render",value:function(){return this.props.children}}]),t}(u.default.Component);f.propTypes={},f.propTypes={},f.defaultProps={children:null};var h=(0,c.withStyles)(d,{name:"MuiCssBaseline"})(f);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(479))},function(e,t,n){"use strict";function r(e){var t,n=e.BackdropProps,r=e.children,i=e.classes,c=e.className,h=e.disableBackdropClick,p=e.disableEscapeKeyDown,g=e.fullScreen,v=e.fullWidth,y=e.maxWidth,b=e.onBackdropClick,w=e.onClose,E=e.onEnter,T=e.onEntered,_=e.onEntering,k=e.onEscapeKeyDown,x=e.onExit,S=e.onExited,C=e.onExiting,O=e.open,A=e.PaperProps,P=e.scroll,I=e.TransitionComponent,R=e.transitionDuration,N=e.TransitionProps,M=(0,a.default)(e,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"]);return l.default.createElement(f.default,(0,o.default)({className:(0,u.default)(i.root,i["scroll".concat((0,d.capitalize)(P))],c),BackdropProps:(0,o.default)({transitionDuration:R},n),disableBackdropClick:h,disableEscapeKeyDown:p,onBackdropClick:b,onEscapeKeyDown:k,onClose:w,open:O,role:"dialog"},M),l.default.createElement(I,(0,o.default)({appear:!0,in:O,timeout:R,onEnter:E,onEntering:_,onEntered:T,onExit:x,onExiting:C,onExited:S},N),l.default.createElement(m.default,(0,o.default)({elevation:24,className:(0,u.default)(i.paper,i["paperScroll".concat((0,d.capitalize)(P))],(t={},(0,s.default)(t,i["paperWidth".concat(y?(0,d.capitalize)(y):"")],y),(0,s.default)(t,i.paperFullScreen,g),(0,s.default)(t,i.paperFullWidth,v),t))},A),r)))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(7)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=i(n(83)),h=i(n(124)),p=n(28),m=i(n(25)),g=function(e){return{root:{},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden"},paper:{display:"flex",flexDirection:"column",margin:48,position:"relative",overflowY:"auto",outline:"none"},paperScrollPaper:{flex:"0 1 auto",maxHeight:"calc(100% - 96px)"},paperScrollBody:{margin:"48px auto"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,360),"&$paperScrollBody":(0,s.default)({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,360)+96),{margin:48})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,"&$paperScrollBody":(0,s.default)({},e.breakpoints.down(e.breakpoints.values.sm+96),{margin:48})},paperWidthMd:{maxWidth:e.breakpoints.values.md,"&$paperScrollBody":(0,s.default)({},e.breakpoints.down(e.breakpoints.values.md+96),{margin:48})},paperFullWidth:{width:"100%"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0}}};t.styles=g,r.propTypes={},r.defaultProps={disableBackdropClick:!1,disableEscapeKeyDown:!1,fullScreen:!1,fullWidth:!1,maxWidth:"sm",scroll:"paper",TransitionComponent:h.default,transitionDuration:{enter:p.duration.enteringScreen,exit:p.duration.leavingScreen}};var v=(0,c.default)(g,{name:"MuiDialog"})(r);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(481))},function(e,t,n){"use strict";function r(e){var t=e.disableActionSpacing,n=e.children,r=e.classes,i=e.className,u=(0,a.default)(e,["disableActionSpacing","children","classes","className"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(r.root,i)},u),t?n:(0,c.cloneChildrenWithClassName)(n,r.action))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=n(39);n(54);var d={root:{display:"flex",alignItems:"center",justifyContent:"flex-end",flex:"0 0 auto",margin:"8px 4px"},action:{margin:"0 4px"}};t.styles=d,r.propTypes={},r.defaultProps={disableActionSpacing:!1};var f=(0,u.default)(d,{name:"MuiDialogActions"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(483))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.children,r=e.className,i=(0,a.default)(e,["classes","children","className"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(t.root,r)},i),n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c={root:{flex:"1 1 auto",overflowY:"auto",WebkitOverflowScrolling:"touch",padding:"0 24px 24px","&:first-child":{paddingTop:24}}};t.styles=c,r.propTypes={};var d=(0,u.default)(c,{name:"MuiDialogContent"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(485))},function(e,t,n){"use strict";function r(e){return a.default.createElement(l.default,(0,o.default)({component:"p",variant:"subheading",color:"textSecondary"},e))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(1)),s=(i(n(2)),i(n(5))),l=i(n(19)),u={root:{}};t.styles=u,r.propTypes={};var c=(0,s.default)(u,{name:"MuiDialogContentText"})(r);t.default=c},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(487))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=e.disableTypography,u=(0,a.default)(e,["children","classes","className","disableTypography"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(n.root,r)},u),i?t:s.default.createElement(c.default,{variant:"title"},t))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=i(n(19)),d={root:{margin:0,padding:"24px 24px 20px",flex:"0 0 auto"}};t.styles=d,r.propTypes={},r.defaultProps={disableTypography:!1};var f=(0,u.default)(d,{name:"MuiDialogTitle"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(489))},function(e,t,n){"use strict";function r(e){var t,n=e.absolute,r=e.classes,i=e.className,c=e.component,d=e.inset,f=e.light,h=(0,s.default)(e,["absolute","classes","className","component","inset","light"]),p=(0,u.default)(r.root,(t={},(0,a.default)(t,r.absolute,n),(0,a.default)(t,r.inset,d),(0,a.default)(t,r.light,f),t),i);return l.default.createElement(c,(0,o.default)({className:p},h))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(33),f=function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:(0,d.fade)(e.palette.divider,.08)}}};t.styles=f,r.propTypes={},r.defaultProps={absolute:!1,component:"hr",inset:!1,light:!1};var h=(0,c.default)(f,{name:"MuiDivider"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(130))},function(e,t,n){"use strict";function r(e,t){var n,r=e.direction,i=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var o=(0,y.default)(t).getComputedStyle(t);n=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var a=0,s=0;if(n&&"none"!==n&&"string"===typeof n){var l=n.split("(")[1].split(")")[0].split(",");a=parseInt(l[4],10),s=parseInt(l[5],10)}return"left"===r?"translateX(100vw) translateX(-".concat(i.left-a,"px)"):"right"===r?"translateX(-".concat(i.left+i.width+T-a,"px)"):"up"===r?"translateY(100vh) translateY(-".concat(i.top-s,"px)"):"translateY(-".concat(i.top+i.height+T-s,"px)")}function i(e,t){var n=r(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.setTranslateValue=i,t.default=void 0;var a=o(n(4)),s=o(n(3)),l=o(n(8)),u=o(n(9)),c=o(n(10)),d=o(n(11)),f=o(n(12)),h=o(n(1)),p=(o(n(2)),o(n(15))),m=o(n(31)),g=o(n(38)),v=o(n(35)),y=o(n(81)),b=o(n(29)),w=n(28),E=n(56),T=24,_=function(e){function t(){var e,n;(0,l.default)(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=(0,c.default)(this,(e=(0,d.default)(t)).call.apply(e,[this].concat(o))),n.mounted=!1,n.transition=null,n.handleResize=(0,g.default)(function(){n.props.in||"down"===n.props.direction||"right"===n.props.direction||n.transitionRef&&i(n.props,n.transitionRef)},166),n.handleEnter=function(e){i(n.props,e),(0,E.reflow)(e),n.props.onEnter&&n.props.onEnter(e)},n.handleEntering=function(e){var t=n.props.theme,r=(0,E.getTransitionProps)(n.props,{mode:"enter"});e.style.webkitTransition=t.transitions.create("-webkit-transform",(0,s.default)({},r,{easing:t.transitions.easing.easeOut})),e.style.transition=t.transitions.create("transform",(0,s.default)({},r,{easing:t.transitions.easing.easeOut})),e.style.webkitTransform="translate(0, 0)",e.style.transform="translate(0, 0)",n.props.onEntering&&n.props.onEntering(e)},n.handleExit=function(e){var t=n.props.theme,r=(0,E.getTransitionProps)(n.props,{mode:"exit"});e.style.webkitTransition=t.transitions.create("-webkit-transform",(0,s.default)({},r,{easing:t.transitions.easing.sharp})),e.style.transition=t.transitions.create("transform",(0,s.default)({},r,{easing:t.transitions.easing.sharp})),i(n.props,e),n.props.onExit&&n.props.onExit(e)},n.handleExited=function(e){e.style.webkitTransition="",e.style.transition="",n.props.onExited&&n.props.onExited(e)},n}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){this.props.in||this.updatePosition(),this.mounted=!0}},{key:"componentDidUpdate",value:function(e){e.direction===this.props.direction||this.props.in||this.updatePosition()}},{key:"componentWillUnmount",value:function(){this.handleResize.clear()}},{key:"updatePosition",value:function(){this.transitionRef&&(this.transitionRef.style.visibility="inherit",i(this.props,this.transitionRef))}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=(t.onEnter,t.onEntering,t.onExit,t.onExited,t.style),i=(t.theme,(0,a.default)(t,["children","onEnter","onEntering","onExit","onExited","style","theme"])),o={};return this.props.in||this.mounted||(o.visibility="hidden"),o=(0,s.default)({},o,r,h.default.isValidElement(n)?n.props.style:{}),h.default.createElement(m.default,{target:"window",onResize:this.handleResize},h.default.createElement(v.default,(0,s.default)({onEnter:this.handleEnter,onEntering:this.handleEntering,onExit:this.handleExit,onExited:this.handleExited,appear:!0,style:o,ref:function(t){e.transitionRef=p.default.findDOMNode(t)}},i),n))}}]),t}(h.default.Component);_.propTypes={},_.defaultProps={direction:"down",timeout:{enter:w.duration.enteringScreen,exit:w.duration.leavingScreen}};var k=(0,b.default)()(_);t.default=k},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(7)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(3)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=(r(n(13)),r(n(85))),m=r(n(25)),g=r(n(5)),v=n(39),y="undefined"!==typeof window&&/jsdom/.test(window.navigator.userAgent)?{}:{"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}},b=function(e){var t={duration:e.transitions.duration.shortest};return{root:{position:"relative",transition:e.transitions.create(["margin"],t),"&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:e.palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-child":{borderTopLeftRadius:2,borderTopRightRadius:2,"&:before":{display:"none"}},"&:last-child":(0,d.default)({borderBottomLeftRadius:2,borderBottomRightRadius:2},y),"&$expanded + &":{"&:before":{display:"none"}}},expanded:{margin:"16px 0","&:first-child":{marginTop:0},"&:last-child":{marginBottom:0},"&:before":{opacity:0}},disabled:{backgroundColor:e.palette.action.disabledBackground}}};t.styles=b;var w=function(e){function t(e){var n;return(0,a.default)(this,t),n=(0,l.default)(this,(0,u.default)(t).call(this)),n.isControlled=null,n.state={},n.handleChange=function(e){var t=n.isControlled?n.props.expanded:n.state.expanded;n.isControlled||n.setState({expanded:!t}),n.props.onChange&&n.props.onChange(e,!t)},n.isControlled=null!=e.expanded,n.isControlled||(n.state.expanded=void 0!==e.defaultExpanded&&e.defaultExpanded),n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e,t=this,n=this.props,r=n.children,a=n.classes,s=n.className,l=n.CollapseProps,u=(n.defaultExpanded,n.disabled),c=n.expanded,g=(n.onChange,(0,o.default)(n,["children","classes","className","CollapseProps","defaultExpanded","disabled","expanded","onChange"])),y=this.isControlled?c:this.state.expanded,b=(0,h.default)(a.root,(e={},(0,i.default)(e,a.expanded,y),(0,i.default)(e,a.disabled,u),e),s),w=null,E=f.default.Children.map(r,function(e){return f.default.isValidElement(e)?(0,v.isMuiElement)(e,["ExpansionPanelSummary"])?(w=f.default.cloneElement(e,{disabled:u,expanded:y,onChange:t.handleChange}),null):e:null}),T=y?null:{"aria-hidden":"true"};return f.default.createElement(m.default,(0,d.default)({className:b,elevation:1,square:!0},g),w,f.default.createElement(p.default,(0,d.default)({in:y,timeout:"auto"},T,l),E))}}]),t}(f.default.Component);w.propTypes={},w.defaultProps={defaultExpanded:!1,disabled:!1};var E=(0,g.default)(b,{name:"MuiExpansionPanel"})(w);t.default=E},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(494))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=(0,a.default)(e,["children","classes","className"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(n.root,r)},i),(0,c.cloneChildrenWithClassName)(t,n.action))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=n(39);n(54);var d={root:{display:"flex",alignItems:"center",justifyContent:"flex-end",padding:"16px 8px"},action:{marginLeft:8}};t.styles=d,r.propTypes={};var f=(0,u.default)(d,{name:"MuiExpansionPanelActions"})(r);t.default=f},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.children,r=e.className,i=(0,a.default)(e,["classes","children","className"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(t.root,r)},i),n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c={root:{display:"flex",padding:"8px 24px 24px"}};t.styles=c,r.propTypes={};var d=(0,u.default)(c,{name:"MuiExpansionPanelDetails"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(26)),m=r(n(84)),g=r(n(5)),v=function(e){var t={duration:e.transitions.duration.shortest};return{root:{display:"flex",minHeight:48,transition:e.transitions.create(["min-height","background-color"],t),padding:"0 24px 0 24px","&:hover:not($disabled)":{cursor:"pointer"},"&$expanded":{minHeight:64},"&$focused":{backgroundColor:e.palette.grey[300]},"&$disabled":{opacity:.38}},expanded:{},focused:{},disabled:{},content:{display:"flex",flexGrow:1,transition:e.transitions.create(["margin"],t),margin:"12px 0","& > :last-child":{paddingRight:32},"&$expanded":{margin:"20px 0"}},expandIcon:{position:"absolute",top:"50%",right:8,transform:"translateY(-50%) rotate(0deg)",transition:e.transitions.create("transform",t),"&:hover":{backgroundColor:"transparent"},"&$expanded":{transform:"translateY(-50%) rotate(180deg)"}}}};t.styles=v;var y=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.state={focused:!1},n.handleFocus=function(){n.setState({focused:!0})},n.handleBlur=function(){n.setState({focused:!1})},n.handleChange=function(e){var t=n.props,r=t.onChange,i=t.onClick;r&&r(e),i&&i(e)},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.classes,s=t.className,l=t.disabled,u=t.expanded,c=t.expandIcon,d=t.IconButtonProps,g=(t.onChange,(0,a.default)(t,["children","classes","className","disabled","expanded","expandIcon","IconButtonProps","onChange"])),v=this.state.focused;return f.default.createElement(p.default,(0,i.default)({focusRipple:!1,disableRipple:!0,disabled:l,component:"div","aria-expanded":u,className:(0,h.default)(r.root,(e={},(0,o.default)(e,r.disabled,l),(0,o.default)(e,r.expanded,u),(0,o.default)(e,r.focused,v),e),s)},g,{onFocusVisible:this.handleFocus,onBlur:this.handleBlur,onClick:this.handleChange}),f.default.createElement("div",{className:(0,h.default)(r.content,(0,o.default)({},r.expanded,u))},n),c&&f.default.createElement(m.default,(0,i.default)({disabled:l,className:(0,h.default)(r.expandIcon,(0,o.default)({},r.expanded,u)),component:"div",tabIndex:-1,"aria-hidden":"true"},d),c))}}]),t}(f.default.Component);y.propTypes={},y.defaultProps={disabled:!1},y.muiName="ExpansionPanelSummary";var b=(0,g.default)(v,{name:"MuiExpansionPanelSummary"})(y);t.default=b},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=r(n(2)),p=r(n(6)),m=r(n(5)),g=n(132),v=n(14),y=n(39),b={root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}};t.styles=b;var w=function(e){function t(e){var n;(0,s.default)(this,t),n=(0,u.default)(this,(0,c.default)(t).call(this)),n.state={adornedStart:!1,filled:!1,focused:!1},n.handleFocus=function(){n.setState(function(e){return e.focused?null:{focused:!0}})},n.handleBlur=function(){n.setState(function(e){return e.focused?{focused:!1}:null})},n.handleDirty=function(){n.state.filled||n.setState({filled:!0})},n.handleClean=function(){n.state.filled&&n.setState({filled:!1})};var r=e.children;return r&&f.default.Children.forEach(r,function(e){if((0,y.isMuiElement)(e,["Input","Select","NativeSelect"])){(0,g.isFilled)(e.props,!0)&&(n.state.filled=!0);var t=(0,y.isMuiElement)(e,["Select","NativeSelect"])?e.props.input:e;t&&(0,g.isAdornedStart)(t.props)&&(n.state.adornedStart=!0)}}),n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"getChildContext",value:function(){var e=this.props,t=e.disabled,n=e.error,r=e.required,i=e.margin,o=this.state;return{muiFormControl:{adornedStart:o.adornedStart,disabled:t,error:n,filled:o.filled,focused:o.focused,margin:i,onBlur:this.handleBlur,onEmpty:this.handleClean,onFilled:this.handleDirty,onFocus:this.handleFocus,required:r}}}},{key:"render",value:function(){var e,t=this.props,n=t.classes,r=t.className,s=t.component,l=(t.disabled,t.error,t.fullWidth),u=t.margin,c=(t.required,(0,a.default)(t,["classes","className","component","disabled","error","fullWidth","margin","required"]));return f.default.createElement(s,(0,i.default)({className:(0,p.default)(n.root,(e={},(0,o.default)(e,n["margin".concat((0,v.capitalize)(u))],"none"!==u),(0,o.default)(e,n.fullWidth,l),e),r)},c))}}]),t}(f.default.Component);w.propTypes={},w.defaultProps={component:"div",disabled:!1,error:!1,fullWidth:!1,margin:"none",required:!1},w.childContextTypes={muiFormControl:h.default.object};var E=(0,m.default)(b,{name:"MuiFormControl"})(w);t.default=E},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(6))),h=r(n(38)),p=r(n(31)),m=r(n(5)),g=19,v={root:{position:"relative",width:"100%"},textarea:{width:"100%",height:"100%",resize:"none",font:"inherit",padding:0,cursor:"inherit",boxSizing:"border-box",lineHeight:"inherit",border:"none",outline:"none",background:"transparent"},shadow:{overflow:"hidden",visibility:"hidden",position:"absolute",height:"auto",whiteSpace:"pre-wrap"}};t.styles=v;var y=function(e){function t(e){var n;return(0,a.default)(this,t),n=(0,l.default)(this,(0,u.default)(t).call(this)),n.isControlled=null,n.shadowRef=null,n.singlelineShadowRef=null,n.inputRef=null,n.value=null,n.handleResize=(0,h.default)(function(){n.syncHeightWithShadow()},166),n.state={height:null},n.handleRefInput=function(e){n.inputRef=e;var t=n.props.textareaRef;t&&("function"===typeof t?t(e):t.current=e)},n.handleRefSinglelineShadow=function(e){n.singlelineShadowRef=e},n.handleRefShadow=function(e){n.shadowRef=e},n.handleChange=function(e){n.value=e.target.value,n.isControlled||(n.shadowRef.value=n.value,n.syncHeightWithShadow()),n.props.onChange&&n.props.onChange(e)},n.isControlled=null!=e.value,n.value=e.value||e.defaultValue||"",n.state={height:Number(e.rows)*g},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.syncHeightWithShadow()}},{key:"componentDidUpdate",value:function(){this.syncHeightWithShadow()}},{key:"componentWillUnmount",value:function(){this.handleResize.clear()}},{key:"syncHeightWithShadow",value:function(){var e=this.props;if(this.shadowRef){this.isControlled&&(this.shadowRef.value=null==e.value?"":String(e.value));var t=this.singlelineShadowRef.scrollHeight,n=this.shadowRef.scrollHeight;void 0!==n&&(Number(e.rowsMax)>=Number(e.rows)&&(n=Math.min(Number(e.rowsMax)*t,n)),n=Math.max(n,t),Math.abs(this.state.height-n)>1&&this.setState({height:n}))}}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.className,r=e.defaultValue,a=(e.onChange,e.rows),s=(e.rowsMax,e.textareaRef,e.value),l=(0,o.default)(e,["classes","className","defaultValue","onChange","rows","rowsMax","textareaRef","value"]);return d.default.createElement("div",{className:t.root,style:{height:this.state.height}},d.default.createElement(p.default,{target:"window",onResize:this.handleResize}),d.default.createElement("textarea",{"aria-hidden":"true",className:(0,f.default)(t.textarea,t.shadow),readOnly:!0,ref:this.handleRefSinglelineShadow,rows:"1",tabIndex:-1,value:""}),d.default.createElement("textarea",{"aria-hidden":"true",className:(0,f.default)(t.textarea,t.shadow),defaultValue:r,readOnly:!0,ref:this.handleRefShadow,rows:a,tabIndex:-1,value:s}),d.default.createElement("textarea",(0,i.default)({rows:a,className:(0,f.default)(t.textarea,n),defaultValue:r,value:s,onChange:this.handleChange,ref:this.handleRefInput},l)))}}]),t}(d.default.Component);y.propTypes={},y.defaultProps={rows:1};var b=(0,m.default)(v)(y);t.default=b},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(500))},function(e,t,n){"use strict";function r(e,t){var n,r=(e.checked,e.classes),i=e.className,u=e.control,d=e.disabled,h=(e.inputRef,e.label),p=e.labelPlacement,m=(e.name,e.onChange,e.value,(0,s.default)(e,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"])),g=t.muiFormControl,v=d;"undefined"===typeof v&&"undefined"!==typeof u.props.disabled&&(v=u.props.disabled),"undefined"===typeof v&&g&&(v=g.disabled);var y={disabled:v};return["checked","name","onChange","value","inputRef"].forEach(function(t){"undefined"===typeof u.props[t]&&"undefined"!==typeof e[t]&&(y[t]=e[t])}),l.default.createElement("label",(0,o.default)({className:(0,c.default)(r.root,(n={},(0,a.default)(n,r.labelPlacementStart,"start"===p),(0,a.default)(n,r.disabled,v),n),i)},m),l.default.cloneElement(u,y),l.default.createElement(f.default,{component:"span",className:(0,c.default)(r.label,(0,a.default)({},r.disabled,v))},h))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=i(n(19)),h=function(e){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-14,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse"},disabled:{},label:{"&$disabled":{color:e.palette.text.disabled}}}};t.styles=h,r.propTypes={},r.defaultProps={labelPlacement:"end"},r.contextTypes={muiFormControl:u.default.object};var p=(0,d.default)(h,{name:"MuiFormControlLabel"})(r);t.default=p},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.children,i=e.row,c=(0,s.default)(e,["classes","className","children","row"]);return l.default.createElement("div",(0,o.default)({className:(0,u.default)(t.root,(0,a.default)({},t.row,i),n)},c),r)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d={root:{display:"flex",flexDirection:"column",flexWrap:"wrap"},row:{flexDirection:"row"}};t.styles=d,r.propTypes={},r.defaultProps={row:!1};var f=(0,c.default)(d,{name:"MuiFormGroup"})(r);t.default=f},function(e,t,n){"use strict";function r(e,t){var n,r=e.classes,i=e.className,u=e.component,d=e.disabled,f=e.error,h=e.filled,p=e.focused,m=e.margin,g=e.required,v=(0,s.default)(e,["classes","className","component","disabled","error","filled","focused","margin","required"]),y=t.muiFormControl,b=d,w=f,E=h,T=p,_=m,k=g;y&&("undefined"===typeof b&&(b=y.disabled),"undefined"===typeof w&&(w=y.error),"undefined"===typeof _&&(_=y.margin),"undefined"===typeof k&&(k=y.required),"undefined"===typeof T&&(T=y.focused),"undefined"===typeof E&&(E=y.filled));var x=(0,c.default)(r.root,(n={},(0,a.default)(n,r.disabled,b),(0,a.default)(n,r.error,w),(0,a.default)(n,r.filled,E),(0,a.default)(n,r.focused,T),(0,a.default)(n,r.marginDense,"dense"===_),(0,a.default)(n,r.required,k),n),i);return l.default.createElement(u,(0,o.default)({className:x},v))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=function(e){return{root:{color:e.palette.text.secondary,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),textAlign:"left",marginTop:8,lineHeight:"1em",minHeight:"1em",margin:0,"&$error":{color:e.palette.error.main},"&$disabled":{color:e.palette.text.disabled}},error:{},disabled:{},marginDense:{marginTop:4},focused:{},filled:{},required:{}}};t.styles=f,r.propTypes={},r.defaultProps={component:"p"},r.contextTypes={muiFormControl:u.default.object};var h=(0,d.default)(f,{name:"MuiFormHelperText"})(r);t.default=h},function(e,t,n){"use strict";function r(e,t){var n,r=e.children,i=e.classes,u=e.className,d=e.component,f=e.disabled,h=e.error,p=e.filled,m=e.focused,g=e.required,v=(0,s.default)(e,["children","classes","className","component","disabled","error","filled","focused","required"]),y=t.muiFormControl,b=f,w=h,E=p,T=m,_=g;y&&("undefined"===typeof _&&(_=y.required),"undefined"===typeof T&&(T=y.focused),"undefined"===typeof b&&(b=y.disabled),"undefined"===typeof w&&(w=y.error),"undefined"===typeof E&&(E=y.filled));var k=(0,c.default)(i.root,(n={},(0,a.default)(n,i.disabled,b),(0,a.default)(n,i.error,w),(0,a.default)(n,i.filled,E),(0,a.default)(n,i.focused,T),(0,a.default)(n,i.required,_),n),u);return l.default.createElement(d,(0,o.default)({className:k},v),r,_&&l.default.createElement("span",{className:(0,c.default)(i.asterisk,(0,a.default)({},i.error,w))},"\u2009*"))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=function(e){return{root:{fontFamily:e.typography.fontFamily,color:e.palette.text.secondary,fontSize:e.typography.pxToRem(16),lineHeight:1,padding:0,"&$focused":{color:e.palette.primary["light"===e.palette.type?"dark":"light"]},"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:e.palette.error.main}}}};t.styles=f,r.propTypes={},r.defaultProps={component:"label"},r.contextTypes={muiFormControl:u.default.object};var h=(0,d.default)(f,{name:"MuiFormLabel"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(505))},function(e,t,n){"use strict";function r(e,t,n){var r={};m.forEach(function(e){var t="grid-".concat(n,"-").concat(e);if(!0===e)return void(r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"});if("auto"===e)return void(r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"});var i="".concat(Math.round(e/12*1e7)/1e5,"%");r[t]={flexBasis:i,flexGrow:0,maxWidth:i}}),"xs"===n?(0,u.default)(e,r):e[t.breakpoints.up(n)]=r}function i(e,t){var n={};return p.forEach(function(e,r){0!==r&&(n["spacing-".concat(t,"-").concat(e)]={margin:-e/2,width:"calc(100% + ".concat(e,"px)"),"& > $item":{padding:e/2}})}),n}function o(e){var t,n=e.alignContent,r=e.alignItems,i=e.classes,a=e.className,f=e.component,h=e.container,p=e.direction,m=e.item,g=e.justify,v=e.lg,y=e.md,b=e.sm,w=e.spacing,E=e.wrap,T=e.xl,_=e.xs,k=e.zeroMinWidth,x=(0,l.default)(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),S=(0,d.default)((t={},(0,s.default)(t,i.container,h),(0,s.default)(t,i.item,m),(0,s.default)(t,i.zeroMinWidth,k),(0,s.default)(t,i["spacing-xs-".concat(String(w))],h&&0!==w),(0,s.default)(t,i["direction-xs-".concat(String(p))],p!==o.defaultProps.direction),(0,s.default)(t,i["wrap-xs-".concat(String(E))],E!==o.defaultProps.wrap),(0,s.default)(t,i["align-items-xs-".concat(String(r))],r!==o.defaultProps.alignItems),(0,s.default)(t,i["align-content-xs-".concat(String(n))],n!==o.defaultProps.alignContent),(0,s.default)(t,i["justify-xs-".concat(String(g))],g!==o.defaultProps.justify),(0,s.default)(t,i["grid-xs-".concat(String(_))],!1!==_),(0,s.default)(t,i["grid-sm-".concat(String(b))],!1!==b),(0,s.default)(t,i["grid-md-".concat(String(y))],!1!==y),(0,s.default)(t,i["grid-lg-".concat(String(v))],!1!==v),(0,s.default)(t,i["grid-xl-".concat(String(T))],!1!==T),t),a);return c.default.createElement(f,(0,u.default)({className:S},x))}var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var s=a(n(7)),l=a(n(4)),u=a(n(3)),c=a(n(1)),d=(a(n(2)),a(n(6))),f=a(n(5)),h=n(59),p=(a(n(506)),[0,8,16,24,32,40]),m=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],g=function(e){return(0,u.default)({container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-xs-center":{justifyContent:"center"},"justify-xs-flex-end":{justifyContent:"flex-end"},"justify-xs-space-between":{justifyContent:"space-between"},"justify-xs-space-around":{justifyContent:"space-around"},"justify-xs-space-evenly":{justifyContent:"space-evenly"}},i(e,"xs"),h.keys.reduce(function(t,n){return r(t,e,n),t},{}))};t.styles=g,o.propTypes={},o.defaultProps={alignContent:"stretch",alignItems:"stretch",component:"div",container:!1,direction:"row",item:!1,justify:"flex-start",lg:!1,md:!1,sm:!1,spacing:0,wrap:"wrap",xl:!1,xs:!1,zeroMinWidth:!1};var v=(0,f.default)(g,{name:"MuiGrid"})(o),y=v;t.default=y},function(e,t,n){"use strict";function r(e){return function(){return null}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r;t.default=i},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(508))},function(e,t,n){"use strict";function r(e){var t=e.cellHeight,n=e.children,r=e.classes,i=e.className,u=e.cols,c=e.component,d=e.spacing,f=e.style,h=(0,a.default)(e,["cellHeight","children","classes","className","cols","component","spacing","style"]);return s.default.createElement(c,(0,o.default)({className:(0,l.default)(r.root,i),style:(0,o.default)({margin:-d/2},f)},h),s.default.Children.map(n,function(e){if(!s.default.isValidElement(e))return null;var n=e.props.cols||1,r=e.props.rows||1;return s.default.cloneElement(e,{style:(0,o.default)({width:"".concat(100/u*n,"%"),height:"auto"===t?"auto":t*r+d,padding:d/2},e.props.style)})}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=(i(n(13)),i(n(5))),c={root:{display:"flex",flexWrap:"wrap",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch"}};t.styles=c,r.propTypes={},r.defaultProps={cellHeight:180,cols:2,component:"ul",spacing:4};var d=(0,u.default)(c,{name:"MuiGridList"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(510))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(82)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(31)),m=r(n(38)),g=r(n(5)),v={root:{boxSizing:"border-box",flexShrink:0},tile:{position:"relative",display:"block",height:"100%",overflow:"hidden"},imgFullHeight:{height:"100%",transform:"translateX(-50%)",position:"relative",left:"50%"},imgFullWidth:{width:"100%",position:"relative",transform:"translateY(-50%)",top:"50%"}};t.styles=v;var y=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.imgElement=null,n.handleResize=(0,m.default)(function(){n.fit()},166),n.fit=function(){var e=n.imgElement;if(e&&e.complete){if(e.width/e.height>e.parentNode.offsetWidth/e.parentNode.offsetHeight){var t,r;(t=e.classList).remove.apply(t,(0,a.default)(n.props.classes.imgFullWidth.split(" "))),(r=e.classList).add.apply(r,(0,a.default)(n.props.classes.imgFullHeight.split(" ")))}else{var i,o;(i=e.classList).remove.apply(i,(0,a.default)(n.props.classes.imgFullHeight.split(" "))),(o=e.classList).add.apply(o,(0,a.default)(n.props.classes.imgFullWidth.split(" ")))}e.removeEventListener("load",n.fit)}},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.ensureImageCover()}},{key:"componentDidUpdate",value:function(){this.ensureImageCover()}},{key:"componentWillUnmount",value:function(){this.handleResize.clear()}},{key:"ensureImageCover",value:function(){this.imgElement&&(this.imgElement.complete?this.fit():this.imgElement.addEventListener("load",this.fit))}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.classes,a=t.className,s=(t.cols,t.component),l=(t.rows,(0,o.default)(t,["children","classes","className","cols","component","rows"]));return f.default.createElement(s,(0,i.default)({className:(0,h.default)(r.root,a)},l),f.default.createElement(p.default,{target:"window",onResize:this.handleResize}),f.default.createElement("div",{className:r.tile},f.default.Children.map(n,function(t){return f.default.isValidElement(t)?"img"===t.type?f.default.cloneElement(t,{ref:function(t){e.imgElement=t}}):t:null})))}}]),t}(f.default.Component);y.propTypes={},y.defaultProps={cols:1,component:"li",rows:1};var b=(0,g.default)(v,{name:"MuiGridListTile"})(y);t.default=b},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(512))},function(e,t,n){"use strict";function r(e){var t,n,r=e.actionIcon,i=e.actionPosition,c=e.classes,d=e.className,f=e.subtitle,h=e.title,p=e.titlePosition,m=(0,s.default)(e,["actionIcon","actionPosition","classes","className","subtitle","title","titlePosition"]),g=r&&i,v=(0,u.default)(c.root,(t={},(0,a.default)(t,c.titlePositionBottom,"bottom"===p),(0,a.default)(t,c.titlePositionTop,"top"===p),(0,a.default)(t,c.rootSubtitle,f),t),d),y=(0,u.default)(c.titleWrap,(n={},(0,a.default)(n,c.titleWrapActionPosLeft,"left"===g),(0,a.default)(n,c.titleWrapActionPosRight,"right"===g),n));return l.default.createElement("div",(0,o.default)({className:v},m),l.default.createElement("div",{className:y},l.default.createElement("div",{className:c.title},h),f?l.default.createElement("div",{className:c.subtitle},f):null),r?l.default.createElement("div",{className:(0,u.default)(c.actionIcon,(0,a.default)({},c.actionIconActionPosLeft,"left"===g))},r):null)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=function(e){return{root:{position:"absolute",left:0,right:0,height:48,background:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",fontFamily:e.typography.fontFamily},titlePositionBottom:{bottom:0},titlePositionTop:{top:0},rootSubtitle:{height:68},titleWrap:{flexGrow:1,marginLeft:e.mixins.gutters().paddingLeft,marginRight:e.mixins.gutters().paddingRight,color:e.palette.common.white,overflow:"hidden"},titleWrapActionPosLeft:{marginLeft:0},titleWrapActionPosRight:{marginRight:0},title:{fontSize:e.typography.pxToRem(16),lineHeight:"24px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},subtitle:{fontSize:e.typography.pxToRem(12),lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},actionIcon:{},actionIconActionPosLeft:{order:-1}}};t.styles=d,r.propTypes={},r.defaultProps={actionPosition:"right",titlePosition:"bottom"};var f=(0,c.default)(d,{name:"MuiGridListTileBar"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(514))},function(e,t,n){"use strict";function r(e){var t=e.implementation,n=(0,o.default)(e,["implementation"]);return"js"===t?a.default.createElement(s.default,n):a.default.createElement(l.default,n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(4)),a=i(n(1)),s=(i(n(2)),i(n(515))),l=i(n(517));r.propTypes={},r.defaultProps={implementation:"js",lgDown:!1,lgUp:!1,mdDown:!1,mdUp:!1,smDown:!1,smUp:!1,xlDown:!1,xlUp:!1,xsDown:!1,xsUp:!1};var u=r;t.default=u},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.only,r=e.width,i=!0;if(n)if(Array.isArray(n))for(var o=0;o<n.length;o+=1){var a=n[o];if(r===a){i=!1;break}}else n&&r===n&&(i=!1);if(i)for(var u=0;u<s.keys.length;u+=1){var c=s.keys[u],d=e["".concat(c,"Up")],f=e["".concat(c,"Down")];if(d&&(0,l.isWidthUp)(c,r)||f&&(0,l.isWidthDown)(c,r)){i=!1;break}}return i?t:null}var i=n(46),o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(2)),s=n(59),l=i(n(133)),u=o(n(36));r.propTypes={children:a.default.node,className:a.default.string,implementation:a.default.oneOf(["js","css"]),initialWidth:a.default.oneOf(["xs","sm","md","lg","xl"]),lgDown:a.default.bool,lgUp:a.default.bool,mdDown:a.default.bool,mdUp:a.default.bool,only:a.default.oneOfType([a.default.oneOf(["xs","sm","md","lg","xl"]),a.default.arrayOf(a.default.oneOf(["xs","sm","md","lg","xl"]))]),smDown:a.default.bool,smUp:a.default.bool,width:a.default.string.isRequired,xlDown:a.default.bool,xlUp:a.default.bool,xsDown:a.default.bool,xsUp:a.default.bool},r.propTypes=(0,u.default)(r.propTypes);var c=(0,l.default)()(r);t.default=c},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.isWidthDown=t.isWidthUp=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(31))),h=r(n(38)),p=(r(n(61)),r(n(102))),m=r(n(29)),g=n(59),v=r(n(167)),y=function(e,t){return arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?g.keys.indexOf(e)<g.keys.indexOf(t):g.keys.indexOf(e)<=g.keys.indexOf(t)};t.isWidthUp=y;var b=function(e,t){return arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?g.keys.indexOf(t)<g.keys.indexOf(e):g.keys.indexOf(t)<=g.keys.indexOf(e)};t.isWidthDown=b;var w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=e.withTheme,r=void 0!==n&&n,y=e.noSSR,b=void 0!==y&&y,w=e.initialWidth,E=e.resizeInterval,T=void 0===E?166:E,_=function(e){function n(e){var t;return(0,a.default)(this,n),t=(0,l.default)(this,(0,u.default)(n).call(this,e)),t.handleResize=(0,h.default)(function(){var e=t.getWidth();e!==t.state.width&&t.setState({width:e})},T),t.state={width:void 0},b&&(t.state.width=t.getWidth()),t}return(0,c.default)(n,e),(0,s.default)(n,[{key:"componentDidMount",value:function(){var e=this.getWidth();e!==this.state.width&&this.setState({width:e})}},{key:"componentWillUnmount",value:function(){this.handleResize.clear()}},{key:"getWidth",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.innerWidth,t=this.props.theme.breakpoints,n=null,r=1;null===n&&r<g.keys.length;){var i=g.keys[r];if(e<t.values[i]){n=g.keys[r-1];break}r+=1}return n=n||"xl"}},{key:"render",value:function(){var e=this.props,n=e.initialWidth,a=e.theme,s=e.width,l=(0,o.default)(e,["initialWidth","theme","width"]),u=(0,i.default)({width:s||this.state.width||n||w||(0,v.default)({theme:a,name:"MuiWithWidth"}).initialWidth},l),c={};return r&&(c.theme=a),void 0===u.width?null:d.default.createElement(f.default,{target:"window",onResize:this.handleResize},d.default.createElement(t,(0,i.default)({},c,u)))}}]),n}(d.default.Component);return _.propTypes={},(0,p.default)(_,t),(0,m.default)()(_)}},E=w;t.default=E},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=(e.lgDown,e.lgUp,e.mdDown,e.mdUp,e.only),a=(e.smDown,e.smUp,e.xlDown,e.xlUp,e.xsDown,e.xsUp,(0,o.default)(e,["children","classes","className","lgDown","lgUp","mdDown","mdUp","only","smDown","smUp","xlDown","xlUp","xsDown","xsUp"]),[]);r&&a.push(r);for(var c=0;c<l.keys.length;c+=1){var d=l.keys[c],f=e["".concat(d,"Up")],h=e["".concat(d,"Down")];f&&a.push(n["".concat(d,"Up")]),h&&a.push(n["".concat(d,"Down")])}if(i){(Array.isArray(i)?i:[i]).forEach(function(e){a.push(n["only".concat((0,u.capitalize)(e))])})}return s.default.createElement("div",{className:a.join(" ")},t)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(4)),a=i(n(7)),s=i(n(1)),l=(i(n(2)),i(n(13)),n(59)),u=n(14),c=i(n(5)),d=function(e){var t={display:"none"};return l.keys.reduce(function(n,r){return n["only".concat((0,u.capitalize)(r))]=(0,a.default)({},e.breakpoints.only(r),t),n["".concat(r,"Up")]=(0,a.default)({},e.breakpoints.up(r),t),n["".concat(r,"Down")]=(0,a.default)({},e.breakpoints.down(r),t),n},{})};r.propTypes={};var f=(0,c.default)(d)(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(519))},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.classes,i=e.className,c=e.color,f=e.fontSize,h=(0,s.default)(e,["children","classes","className","color","fontSize"]);return l.default.createElement("span",(0,o.default)({className:(0,u.default)("material-icons",r.root,(t={},(0,a.default)(t,r["color".concat((0,d.capitalize)(c))],"inherit"!==c),(0,a.default)(t,r["fontSize".concat((0,d.capitalize)(f))],"default"!==f),t),i),"aria-hidden":"true"},h),n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=function(e){return{root:{userSelect:"none",fontSize:24,width:"1em",height:"1em",overflow:"hidden",flexShrink:0},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"}}};t.styles=f,r.propTypes={},r.defaultProps={color:"inherit",fontSize:"default"},r.muiName="Icon";var h=(0,c.default)(f,{name:"MuiIcon"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(521))},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.component,i=e.classes,d=e.className,f=e.disableTypography,h=e.position,p=(0,s.default)(e,["children","component","classes","className","disableTypography","position"]);return l.default.createElement(r,(0,o.default)({className:(0,u.default)(i.root,(t={},(0,a.default)(t,i.positionStart,"start"===h),(0,a.default)(t,i.positionEnd,"end"===h),t),d)},p),"string"!==typeof n||f?n:l.default.createElement(c.default,{color:"textSecondary"},n))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(19)),d=i(n(5)),f={root:{display:"flex",maxHeight:"2em",alignItems:"center"},positionStart:{marginRight:8},positionEnd:{marginLeft:8}};t.styles=f,r.propTypes={},r.defaultProps={component:"div",disableTypography:!1};var h=(0,d.default)(f,{name:"MuiInputAdornment"})(r);t.default=h},function(e,t,n){"use strict";function r(e,t){var n,r=e.children,i=e.classes,u=e.className,d=e.disableAnimation,h=e.FormLabelClasses,p=e.margin,m=e.shrink,g=(0,s.default)(e,["children","classes","className","disableAnimation","FormLabelClasses","margin","shrink"]),v=t.muiFormControl,y=m;"undefined"===typeof y&&v&&(y=v.filled||v.focused||v.adornedStart);var b=p;"undefined"===typeof b&&v&&(b=v.margin);var w=(0,c.default)(i.root,(n={},(0,a.default)(n,i.formControl,v),(0,a.default)(n,i.animated,!d),(0,a.default)(n,i.shrink,y),(0,a.default)(n,i.marginDense,"dense"===b),n),u);return l.default.createElement(f.default,(0,o.default)({"data-shrink":y,className:w,classes:h},g),r)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=i(n(203)),h=function(e){return{root:{transformOrigin:"top left"},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}}};t.styles=h,r.propTypes={},r.defaultProps={disableAnimation:!1},r.contextTypes={muiFormControl:u.default.object};var p=(0,d.default)(h,{name:"MuiInputLabel"})(r);t.default=p},function(e,t,n){"use strict";function r(e){var t,n,r,i,c=e.classes,d=e.className,f=e.color,h=e.value,p=e.valueBuffer,m=e.variant,g=(0,s.default)(e,["classes","className","color","value","valueBuffer","variant"]),v=(0,u.default)(c.root,(t={},(0,a.default)(t,c.colorPrimary,"primary"===f),(0,a.default)(t,c.colorSecondary,"secondary"===f),(0,a.default)(t,c.buffer,"buffer"===m),(0,a.default)(t,c.query,"query"===m),t),d),y=(0,u.default)(c.dashed,(n={},(0,a.default)(n,c.dashedColorPrimary,"primary"===f),(0,a.default)(n,c.dashedColorSecondary,"secondary"===f),n)),b=(0,u.default)(c.bar,(r={},(0,a.default)(r,c.barColorPrimary,"primary"===f),(0,a.default)(r,c.barColorSecondary,"secondary"===f),(0,a.default)(r,c.bar1Indeterminate,"indeterminate"===m||"query"===m),(0,a.default)(r,c.bar1Determinate,"determinate"===m),(0,a.default)(r,c.bar1Buffer,"buffer"===m),r)),w=(0,u.default)(c.bar,(i={},(0,a.default)(i,c.barColorPrimary,"primary"===f&&"buffer"!==m),(0,a.default)(i,c.colorPrimary,"primary"===f&&"buffer"===m),(0,a.default)(i,c.barColorSecondary,"secondary"===f&&"buffer"!==m),(0,a.default)(i,c.colorSecondary,"secondary"===f&&"buffer"===m),(0,a.default)(i,c.bar2Indeterminate,"indeterminate"===m||"query"===m),(0,a.default)(i,c.bar2Determinate,"determinate"===m),(0,a.default)(i,c.bar2Buffer,"buffer"===m),i)),E={},T={bar1:{},bar2:{}};return"determinate"!==m&&"buffer"!==m||void 0!==h&&(E["aria-valuenow"]=Math.round(h),T.bar1.transform="scaleX(".concat(h/100,")")),"buffer"===m&&void 0!==p&&(T.bar2.transform="scaleX(".concat((p||0)/100,")")),l.default.createElement("div",(0,o.default)({className:v,role:"progressbar"},E,g),"buffer"===m?l.default.createElement("div",{className:y}):null,l.default.createElement("div",{className:b,style:T.bar1}),"determinate"===m?null:l.default.createElement("div",{className:w,style:T.bar2}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=(i(n(13)),i(n(5))),d=n(33),f=function(e){return{root:{position:"relative",overflow:"hidden",height:5},colorPrimary:{backgroundColor:(0,d.lighten)(e.palette.primary.light,.6)},colorSecondary:{backgroundColor:(0,d.lighten)(e.palette.secondary.light,.4)},buffer:{backgroundColor:"transparent"},query:{transform:"rotate(180deg)"},dashed:{position:"absolute",marginTop:0,height:"100%",width:"100%",animation:"buffer 3s infinite linear"},dashedColorPrimary:{backgroundImage:"radial-gradient(".concat((0,d.lighten)(e.palette.primary.light,.6)," 0%, ").concat((0,d.lighten)(e.palette.primary.light,.6)," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0px -23px"},dashedColorSecondary:{backgroundImage:"radial-gradient(".concat((0,d.lighten)(e.palette.secondary.light,.4)," 0%, ").concat((0,d.lighten)(e.palette.secondary.light,.6)," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0px -23px"},bar:{width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},barColorPrimary:{backgroundColor:e.palette.primary.main},barColorSecondary:{backgroundColor:e.palette.secondary.main},bar1Indeterminate:{width:"auto",willChange:"left, right",animation:"mui-indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite"},bar1Determinate:{willChange:"transform",transition:"transform .".concat(4,"s linear")},bar1Buffer:{zIndex:1,transition:"transform .".concat(4,"s linear")},bar2Indeterminate:{width:"auto",willChange:"left, right",animation:"mui-indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite",animationDelay:"1.15s"},bar2Determinate:{},bar2Buffer:{transition:"transform .".concat(4,"s linear")},"@keyframes mui-indeterminate1":{"0%":{left:"-35%",right:"100%"},"60%":{left:"100%",right:"-90%"},"100%":{left:"100%",right:"-90%"}},"@keyframes mui-indeterminate2":{"0%":{left:"-200%",right:"100%"},"60%":{left:"107%",right:"-8%"},"100%":{left:"107%",right:"-8%"}},"@keyframes buffer":{"0%":{opacity:1,backgroundPosition:"0px -23px"},"50%":{opacity:0,backgroundPosition:"0px -23px"},"100%":{opacity:1,backgroundPosition:"-200px -23px"}}}};t.styles=f,r.propTypes={},r.defaultProps={color:"primary",variant:"indeterminate"};var h=(0,c.default)(f,{name:"MuiLinearProgress"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(525))},function(e,t,n){"use strict";function r(e,t){var n=e.children,r=e.classes,i=e.className,u=(0,s.default)(e,["children","classes","className"]);return void 0===t.dense?e.children:l.default.cloneElement(n,(0,a.default)({className:(0,c.default)((0,o.default)({},r.root,t.dense),i,n.props.className),childrenClassName:(0,c.default)((0,o.default)({},r.icon,t.dense),n.props.childrenClassName)},u))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(3)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=(i(n(13)),i(n(5))),f=function(e){return{root:{width:36,height:36,fontSize:e.typography.pxToRem(18),marginRight:4},icon:{width:20,height:20,fontSize:e.typography.pxToRem(20)}}};t.styles=f,r.propTypes={},r.contextTypes={dense:u.default.bool},r.muiName="ListItemAvatar";var h=(0,d.default)(f,{name:"MuiListItemAvatar"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(527))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=(0,a.default)(e,["children","classes","className"]);return s.default.cloneElement(t,(0,o.default)({className:(0,l.default)(n.root,r,t.props.className)},i))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=function(e){return{root:{marginRight:16,color:e.palette.action.active,flexShrink:0}}};t.styles=c,r.propTypes={};var d=(0,u.default)(c,{name:"MuiListItemIcon"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(529))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=(0,a.default)(e,["children","classes","className"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(n.root,r)},i),t)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c={root:{position:"absolute",right:4,top:"50%",transform:"translateY(-50%)"}};t.styles=c,r.propTypes={},r.muiName="ListItemSecondaryAction";var d=(0,u.default)(c,{name:"MuiListItemSecondaryAction"})(r);t.default=d},function(e,t,n){"use strict";function r(e,t){var n,r=e.children,i=e.classes,u=e.className,d=e.disableTypography,h=e.inset,p=e.primary,m=e.primaryTypographyProps,g=e.secondary,v=e.secondaryTypographyProps,y=(0,s.default)(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),b=t.dense,w=null!=p?p:r;null==w||w.type===f.default||d||(w=l.default.createElement(f.default,(0,o.default)({variant:"subheading",className:(0,c.default)(i.primary,(0,a.default)({},i.textDense,b)),component:"span"},m),w));var E=g;return null==E||E.type===f.default||d||(E=l.default.createElement(f.default,(0,o.default)({variant:"body1",className:(0,c.default)(i.secondary,(0,a.default)({},i.textDense,b)),color:"textSecondary"},v),E)),l.default.createElement("div",(0,o.default)({className:(0,c.default)(i.root,(n={},(0,a.default)(n,i.dense,b),(0,a.default)(n,i.inset,h),n),u)},y),w,E)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=i(n(19)),h=function(e){return{root:{flex:"1 1 auto",minWidth:0,padding:"0 16px","&:first-child":{paddingLeft:0}},inset:{"&:first-child":{paddingLeft:56}},dense:{fontSize:e.typography.pxToRem(13)},primary:{"&$textDense":{fontSize:"inherit"}},secondary:{"&$textDense":{fontSize:"inherit"}},textDense:{}}};t.styles=h,r.propTypes={},r.defaultProps={disableTypography:!1,inset:!1},r.contextTypes={dense:u.default.bool};var p=(0,d.default)(h,{name:"MuiListItemText"})(r);t.default=p},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(532))},function(e,t,n){"use strict";function r(e){var t,n=e.classes,r=e.className,i=e.color,c=e.component,f=e.disableGutters,h=e.disableSticky,p=e.inset,m=(0,s.default)(e,["classes","className","color","component","disableGutters","disableSticky","inset"]);return l.default.createElement(c,(0,o.default)({className:(0,u.default)(n.root,(t={},(0,a.default)(t,n["color".concat((0,d.capitalize)(i))],"default"!==i),(0,a.default)(t,n.inset,p),(0,a.default)(t,n.sticky,!h),(0,a.default)(t,n.gutters,!f),t),r)},m))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=function(e){return{root:{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:e.palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},colorPrimary:{color:e.palette.primary.main},colorInherit:{color:"inherit"},gutters:e.mixins.gutters(),inset:{paddingLeft:72},sticky:{position:"sticky",top:0,zIndex:1,backgroundColor:"inherit"}}};t.styles=f,r.propTypes={},r.defaultProps={color:"default",component:"li",disableGutters:!1,disableSticky:!1,inset:!1},r.muiName="ListSubheader";var h=(0,c.default)(f,{name:"MuiListSubheader"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(534))},function(e,t,n){"use strict";function r(e){var t=e.activeStep,n=e.backButton,r=e.classes,i=e.className,d=e.LinearProgressProps,m=e.nextButton,g=e.position,v=e.steps,y=e.variant,b=(0,l.default)(e,["activeStep","backButton","classes","className","LinearProgressProps","nextButton","position","steps","variant"]),w=(0,c.default)(r.root,r["position".concat((0,h.capitalize)(g))],i);return u.default.createElement(f.default,(0,o.default)({square:!0,elevation:0,className:w},b),n,"dots"===y&&u.default.createElement("div",{className:r.dots},(0,s.default)(new Array(v)).map(function(e,n){var i=(0,c.default)(r.dot,(0,a.default)({},r.dotActive,n===t));return u.default.createElement("div",{key:n,className:i})})),"progress"===y&&u.default.createElement(p.default,(0,o.default)({className:r.progress,variant:"determinate",value:Math.ceil(t/(v-1)*100)},d)),m)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(82)),l=i(n(4)),u=i(n(1)),c=(i(n(2)),i(n(6))),d=i(n(5)),f=i(n(25)),h=n(14),p=i(n(205)),m=function(e){return{root:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:e.palette.background.default,padding:8},positionBottom:{position:"fixed",bottom:0,left:0,right:0,zIndex:e.zIndex.mobileStepper},positionTop:{position:"fixed",top:0,left:0,right:0,zIndex:e.zIndex.mobileStepper},positionStatic:{},dots:{display:"flex",flexDirection:"row"},dot:{backgroundColor:e.palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"},dotActive:{backgroundColor:e.palette.primary.main},progress:{width:"50%"}}};t.styles=m,r.propTypes={},r.defaultProps={activeStep:0,position:"bottom",variant:"dots"};var g=(0,d.default)(m,{name:"MuiMobileStepper"})(r);t.default=g},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(207))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(8)),o=r(n(9)),a=r(n(10)),s=r(n(11)),l=r(n(12)),u=r(n(1)),c=(r(n(2)),r(n(36)),function(e){function t(){var e,n;(0,i.default)(this,t);for(var r=arguments.length,o=new Array(r),l=0;l<r;l++)o[l]=arguments[l];return n=(0,a.default)(this,(e=(0,s.default)(t)).call.apply(e,[this].concat(o))),n.state={mounted:!1},n}return(0,l.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){var e=this;this.mounted=!0,this.props.defer?requestAnimationFrame(function(){requestAnimationFrame(function(){e.mounted&&e.setState({mounted:!0})})}):this.setState({mounted:!0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.fallback;return this.state.mounted?t:n}}]),t}(u.default.Component));c.propTypes={},c.propTypes={},c.defaultProps={defer:!1,fallback:null};var d=c;t.default=d},function(e,t,n){"use strict";function r(e,t){if("rtl"!==e.direction)return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}function i(e){return"function"===typeof e?e():e}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(4)),s=o(n(3)),l=o(n(8)),u=o(n(9)),c=o(n(10)),d=o(n(11)),f=o(n(12)),h=o(n(47)),p=o(n(1)),m=o(n(15)),g=(o(n(2)),o(n(538))),v=o(n(29)),y=o(n(123)),b=function(e){function t(e){var n;return(0,l.default)(this,t),n=(0,c.default)(this,(0,d.default)(t).call(this)),n.popper=null,n.handleOpen=function(){var e=n.props,t=e.anchorEl,o=e.modifiers,a=e.open,l=e.placement,u=e.popperOptions,c=void 0===u?{}:u,d=e.theme,f=e.disablePortal,p=m.default.findDOMNode((0,h.default)((0,h.default)(n)));p&&t&&a&&(n.popper&&(n.popper.destroy(),n.popper=null),n.popper=new g.default(i(t),p,(0,s.default)({placement:r(d,l)},c,{modifiers:(0,s.default)({},f?{}:{preventOverflow:{boundariesElement:"window"}},o,c.modifiers),onCreate:n.handlePopperUpdate,onUpdate:n.handlePopperUpdate})))},n.handlePopperUpdate=function(e){e.placement!==n.state.placement&&n.setState({placement:e.placement})},n.handleExited=function(){n.setState({exited:!0}),n.handleClose()},n.handleClose=function(){n.popper&&(n.popper.destroy(),n.popper=null)},n.state={exited:!e.open},n}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentDidUpdate",value:function(e){e.open===this.props.open||this.props.open||this.props.transition||this.handleClose(),e.open===this.props.open&&e.anchorEl===this.props.anchorEl&&e.popperOptions===this.props.popperOptions&&e.modifiers===this.props.modifiers&&e.disablePortal===this.props.disablePortal&&e.placement===this.props.placement||this.handleOpen()}},{key:"componentWillUnmount",value:function(){this.handleClose()}},{key:"render",value:function(){var e=this.props,t=(e.anchorEl,e.children),n=e.container,i=e.disablePortal,o=e.keepMounted,l=(e.modifiers,e.open),u=e.placement,c=(e.popperOptions,e.theme),d=e.transition,f=(0,a.default)(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","theme","transition"]),h=this.state,m=h.exited,g=h.placement;if(!o&&!l&&(!d||m))return null;var v={placement:g||r(c,u)};return d&&(v.TransitionProps={in:l,onExited:this.handleExited}),p.default.createElement(y.default,{onRendered:this.handleOpen,disablePortal:i,container:n},p.default.createElement("div",(0,s.default)({role:"tooltip",style:{position:"absolute"}},f),"function"===typeof t?t(v):t))}}],[{key:"getDerivedStateFromProps",value:function(e){return e.open?{exited:!1}:e.transition?null:{exited:!0}}}]),t}(p.default.Component);b.propTypes={},b.defaultProps={disablePortal:!1,placement:"bottom",transition:!1};var w=(0,v.default)()(b);t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){function n(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function r(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},de))}}function i(e){var t={};return e&&"[object Function]"===t.toString.call(e)}function o(e,t){if(1!==e.nodeType)return[];var n=getComputedStyle(e,null);return t?n[t]:n}function a(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function s(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=o(e),n=t.overflow,r=t.overflowX;return/(auto|scroll|overlay)/.test(n+t.overflowY+r)?e:s(a(e))}function l(e){return 11===e?me:10===e?ge:me||ge}function u(e){if(!e)return document.documentElement;for(var t=l(10)?document.body:null,n=e.offsetParent;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===o(n,"position")?u(n):n:e?e.ownerDocument.documentElement:document.documentElement}function c(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||u(e.firstElementChild)===e)}function d(e){return null!==e.parentNode?d(e.parentNode):e}function f(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(e!==a&&t!==a||r.contains(i))return c(a)?a:u(a);var s=d(e);return s.host?f(s.host,t):f(e,d(t).host)}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[n]}return e[n]}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h(t,"top"),i=h(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}function m(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function g(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],l(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function v(e){var t=e.body,n=e.documentElement,r=l(10)&&getComputedStyle(n);return{height:g("Height",t,n,r),width:g("Width",t,n,r)}}function y(e){return we({},e,{right:e.left+e.width,bottom:e.top+e.height})}function b(e){var t={};try{if(l(10)){t=e.getBoundingClientRect();var n=h(e,"top"),r=h(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?v(e.ownerDocument):{},s=a.width||e.clientWidth||i.right-i.left,u=a.height||e.clientHeight||i.bottom-i.top,c=e.offsetWidth-s,d=e.offsetHeight-u;if(c||d){var f=o(e);c-=m(f,"x"),d-=m(f,"y"),i.width-=c,i.height-=d}return y(i)}function w(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=l(10),i="HTML"===t.nodeName,a=b(e),u=b(t),c=s(e),d=o(t),f=parseFloat(d.borderTopWidth,10),h=parseFloat(d.borderLeftWidth,10);n&&i&&(u.top=Math.max(u.top,0),u.left=Math.max(u.left,0));var m=y({top:a.top-u.top-f,left:a.left-u.left-h,width:a.width,height:a.height});if(m.marginTop=0,m.marginLeft=0,!r&&i){var g=parseFloat(d.marginTop,10),v=parseFloat(d.marginLeft,10);m.top-=f-g,m.bottom-=f-g,m.left-=h-v,m.right-=h-v,m.marginTop=g,m.marginLeft=v}return(r&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(m=p(m,t)),m}function E(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=w(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:h(n),s=t?0:h(n,"left");return y({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o})}function T(e){var t=e.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===o(e,"position")||T(a(e)))}function _(e){if(!e||!e.parentElement||l())return document.documentElement;for(var t=e.parentElement;t&&"none"===o(t,"transform");)t=t.parentElement;return t||document.documentElement}function k(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},l=i?_(e):f(e,t);if("viewport"===r)o=E(l,i);else{var u=void 0;"scrollParent"===r?(u=s(a(t)),"BODY"===u.nodeName&&(u=e.ownerDocument.documentElement)):u="window"===r?e.ownerDocument.documentElement:r;var c=w(u,l,i);if("HTML"!==u.nodeName||T(l))o=c;else{var d=v(e.ownerDocument),h=d.height,p=d.width;o.top+=c.top-c.marginTop,o.bottom=h+c.top,o.left+=c.left-c.marginLeft,o.right=p+c.left}}n=n||0;var m="number"===typeof n;return o.left+=m?n:n.left||0,o.top+=m?n:n.top||0,o.right-=m?n:n.right||0,o.bottom-=m?n:n.bottom||0,o}function x(e){return e.width*e.height}function S(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=k(n,r,o,i),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){return we({key:e},s[e],{area:x(s[e])})}).sort(function(e,t){return t.area-e.area}),u=l.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,d=e.split("-")[1];return c+(d?"-"+d:"")}function C(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return w(n,r?_(t):f(t,n),r)}function O(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function A(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function P(e,t,n){n=n.split("-")[0];var r=O(e),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return i[a]=t[a]+t[l]/2-r[l]/2,i[s]=n===s?t[s]-r[u]:t[A(s)],i}function I(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function R(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var r=I(e,function(e){return e[t]===n});return e.indexOf(r)}function N(e,t,n){return(void 0===n?e:e.slice(0,R(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=y(t.offsets.popper),t.offsets.reference=y(t.offsets.reference),t=n(t,e))}),t}function M(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=C(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=S(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=P(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=N(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function D(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function L(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],o=i?""+i+n:e;if("undefined"!==typeof document.body.style[o])return o}return null}function j(){return this.state.isDestroyed=!0,D(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[L("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function W(e){var t=e.ownerDocument;return t?t.defaultView:window}function B(e,t,n,r){var i="BODY"===e.nodeName,o=i?e.ownerDocument.defaultView:e;o.addEventListener(t,n,{passive:!0}),i||B(s(o.parentNode),t,n,r),r.push(o)}function F(e,t,n,r){n.updateBound=r,W(e).addEventListener("resize",n.updateBound,{passive:!0});var i=s(e);return B(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function z(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}function U(e,t){return W(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function H(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=U(this.reference,this.state))}function G(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function q(e,t){Object.keys(t).forEach(function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&G(t[n])&&(r="px"),e.style[n]=t[n]+r})}function V(e,t){Object.keys(t).forEach(function(n){!1!==t[n]?e.setAttribute(n,t[n]):e.removeAttribute(n)})}function K(e){return q(e.instance.popper,e.styles),V(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&q(e.arrowElement,e.arrowStyles),e}function Y(e,t,n,r,i){var o=C(i,t,e,n.positionFixed),a=S(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),q(t,{position:n.positionFixed?"fixed":"absolute"}),n}function Z(e,t){var n=t.x,r=t.y,i=e.offsets.popper,o=I(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:t.gpuAcceleration,s=u(e.instance.popper),l=b(s),c={position:i.position},d={left:Math.floor(i.left),top:Math.round(i.top),bottom:Math.round(i.bottom),right:Math.floor(i.right)},f="bottom"===n?"top":"bottom",h="right"===r?"left":"right",p=L("transform"),m=void 0,g=void 0;if(g="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+d.bottom:-l.height+d.bottom:d.top,m="right"===h?"HTML"===s.nodeName?-s.clientWidth+d.right:-l.width+d.right:d.left,a&&p)c[p]="translate3d("+m+"px, "+g+"px, 0)",c[f]=0,c[h]=0,c.willChange="transform";else{var v="bottom"===f?-1:1,y="right"===h?-1:1;c[f]=g*v,c[h]=m*y,c.willChange=f+", "+h}var w={"x-placement":e.placement};return e.attributes=we({},w,e.attributes),e.styles=we({},c,e.styles),e.arrowStyles=we({},e.offsets.arrow,e.arrowStyles),e}function X(e,t,n){var r=I(e,function(e){return e.name===t}),i=!!r&&e.some(function(e){return e.name===n&&e.enabled&&e.order<r.order});if(!i){var o="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}function Q(e,t){var n;if(!X(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"===typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],a=e.offsets,s=a.popper,l=a.reference,u=-1!==["left","right"].indexOf(i),c=u?"height":"width",d=u?"Top":"Left",f=d.toLowerCase(),h=u?"left":"top",p=u?"bottom":"right",m=O(r)[c];l[p]-m<s[f]&&(e.offsets.popper[f]-=s[f]-(l[p]-m)),l[f]+m>s[p]&&(e.offsets.popper[f]+=l[f]+m-s[p]),e.offsets.popper=y(e.offsets.popper);var g=l[f]+l[c]/2-m/2,v=o(e.instance.popper),b=parseFloat(v["margin"+d],10),w=parseFloat(v["border"+d+"Width"],10),E=g-e.offsets.popper[f]-b-w;return E=Math.max(Math.min(s[c]-m,E),0),e.arrowElement=r,e.offsets.arrow=(n={},be(n,f,Math.round(E)),be(n,h,""),n),e}function $(e){return"end"===e?"start":"start"===e?"end":e}function J(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Te.indexOf(e),r=Te.slice(n+1).concat(Te.slice(0,n));return t?r.reverse():r}function ee(e,t){if(D(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=k(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=A(r),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case _e.FLIP:a=[r,i];break;case _e.CLOCKWISE:a=J(r);break;case _e.COUNTERCLOCKWISE:a=J(r,!0);break;default:a=t.behavior}return a.forEach(function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],i=A(r);var u=e.offsets.popper,c=e.offsets.reference,d=Math.floor,f="left"===r&&d(u.right)>d(c.left)||"right"===r&&d(u.left)<d(c.right)||"top"===r&&d(u.bottom)>d(c.top)||"bottom"===r&&d(u.top)<d(c.bottom),h=d(u.left)<d(n.left),p=d(u.right)>d(n.right),m=d(u.top)<d(n.top),g=d(u.bottom)>d(n.bottom),v="left"===r&&h||"right"===r&&p||"top"===r&&m||"bottom"===r&&g,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===o&&h||y&&"end"===o&&p||!y&&"start"===o&&m||!y&&"end"===o&&g);(f||v||b)&&(e.flipped=!0,(f||v)&&(r=a[l+1]),b&&(o=$(o)),e.placement=r+(o?"-"+o:""),e.offsets.popper=we({},e.offsets.popper,P(e.instance.popper,e.offsets.reference,e.placement)),e=N(e.instance.modifiers,e,"flip"))}),e}function te(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]<o(r[l])&&(e.offsets.popper[l]=o(r[l])-n[u]),n[l]>o(r[s])&&(e.offsets.popper[l]=o(r[s])),e}function ne(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return y(s)[t]/100*o}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}return o}function re(e,t,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(I(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return u=u.map(function(e,r){var i=(1===r?!o:o)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return ne(e,i,t,n)})}),u.forEach(function(e,t){e.forEach(function(n,r){G(n)&&(i[t]+=n*("-"===e[r-1]?-1:1))})}),i}function ie(e,t){var n=t.offset,r=e.placement,i=e.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],l=void 0;return l=G(+n)?[+n,0]:re(n,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),e.popper=o,e}function oe(e,t){var n=t.boundariesElement||u(e.instance.popper);e.instance.reference===n&&(n=u(n));var r=L("transform"),i=e.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var l=k(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=o,i.left=a,i[r]=s,t.boundaries=l;var c=t.priority,d=e.offsets.popper,f={primary:function(e){var n=d[e];return d[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(d[e],l[e])),be({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=d[n];return d[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(d[n],l[e]-("right"===e?d.width:d.height))),be({},n,r)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";d=we({},d,f[t](e))}),e.offsets.popper=d,e}function ae(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",c={start:be({},l,o[l]),end:be({},l,o[l]+o[u]-a[u])};e.offsets.popper=we({},a,c[r])}return e}function se(e){if(!X(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=I(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}function le(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),e.placement=A(t),e.offsets.popper=y(i),e}for(var ue="undefined"!==typeof window&&"undefined"!==typeof document,ce=["Edge","Trident","Firefox"],de=0,fe=0;fe<ce.length;fe+=1)if(ue&&navigator.userAgent.indexOf(ce[fe])>=0){de=1;break}var he=ue&&window.Promise,pe=he?n:r,me=ue&&!(!window.MSInputMethodContext||!document.documentMode),ge=ue&&/MSIE 10/.test(navigator.userAgent),ve=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},ye=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),be=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},we=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ee=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Te=Ee.slice(3),_e={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},ke={shift:{order:100,enabled:!0,fn:ae},offset:{order:200,enabled:!0,fn:ie,offset:0},preventOverflow:{order:300,enabled:!0,fn:oe,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:te},arrow:{order:500,enabled:!0,fn:Q,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:ee,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:le},hide:{order:800,enabled:!0,fn:se},computeStyle:{order:850,enabled:!0,fn:Z,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:K,onLoad:Y,gpuAcceleration:void 0}},xe={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:ke},Se=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ve(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=pe(this.update.bind(this)),this.options=we({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(we({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){r.options.modifiers[t]=we({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return we({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&i(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return ye(e,[{key:"update",value:function(){return M.call(this)}},{key:"destroy",value:function(){return j.call(this)}},{key:"enableEventListeners",value:function(){return z.call(this)}},{key:"disableEventListeners",value:function(){return H.call(this)}}]),e}();Se.Utils=("undefined"!==typeof window?window:e).PopperUtils,Se.placements=Ee,Se.Defaults=xe,t.default=Se}.call(t,n(18))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(540))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.color,r=(0,a.default)(e,["classes","color"]);return s.default.createElement(u.default,(0,o.default)({type:"radio",icon:m,checkedIcon:g,classes:{root:(0,l.default)(t.root,t["color".concat((0,f.capitalize)(n))]),checked:t.checked,disabled:t.disabled}},r))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(129)),c=i(n(541)),d=i(n(542)),f=n(14),h=i(n(5)),p=function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:e.palette.primary.main},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.action.disabled}}}};t.styles=p;var m=s.default.createElement(c.default,null),g=s.default.createElement(d.default,null);r.propTypes={},r.defaultProps={color:"secondary"};var v=(0,h.default)(p,{name:"MuiRadio"})(r);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(544))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(13)),r(n(201))),h=n(14),p=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.radios=[],n.focus=function(){if(n.radios&&n.radios.length){var e=n.radios.filter(function(e){return!e.disabled});if(e.length){var t=(0,h.find)(e,function(e){return e.checked});if(t)return void t.focus();e[0].focus()}}},n.handleRadioChange=function(e,t){t&&n.props.onChange&&n.props.onChange(e,e.target.value)},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.name,a=t.value,s=(t.onChange,(0,o.default)(t,["children","name","value","onChange"]));return this.radios=[],d.default.createElement(f.default,(0,i.default)({role:"radiogroup"},s),d.default.Children.map(n,function(t){return d.default.isValidElement(t)?d.default.cloneElement(t,{name:r,inputRef:function(t){t&&e.radios.push(t)},checked:a===t.props.value,onChange:(0,h.createChainedFunction)(t.props.onChange,e.handleRadioChange)}):null}))}}]),t}(d.default.Component);p.propTypes={};var m=p;t.default=m},function(e,t,n){"use strict";function r(e){var t=e.autoWidth,n=e.children,i=e.classes,u=e.displayEmpty,d=e.IconComponent,f=e.input,h=e.inputProps,m=e.MenuProps,g=e.multiple,v=e.native,y=e.onClose,b=e.onOpen,w=e.open,E=e.renderValue,T=e.SelectDisplayProps,_=(0,a.default)(e,["autoWidth","children","classes","displayEmpty","IconComponent","input","inputProps","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps"]),k=v?p.default:l.default;return s.default.cloneElement(f,(0,o.default)({inputComponent:k,inputProps:(0,o.default)({children:n,IconComponent:d,type:void 0},v?{}:{autoWidth:t,displayEmpty:u,MenuProps:m,multiple:g,onClose:y,onOpen:b,open:w,renderValue:E,SelectDisplayProps:T},h,{classes:h?(0,c.default)({baseClasses:i,newClasses:h.classes,Component:r}):i},f?f.props.inputProps:{})},_))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(546))),u=i(n(5)),c=i(n(166)),d=i(n(209)),f=i(n(66)),h=n(207),p=i(n(208)),m=h.styles;t.styles=m,r.propTypes={},r.defaultProps={autoWidth:!1,displayEmpty:!1,IconComponent:d.default,input:s.default.createElement(f.default,null),multiple:!1,native:!1},r.muiName="Select";var g=(0,u.default)(h.styles,{name:"MuiSelect"})(r);t.default=g},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(82)),l=r(n(8)),u=r(n(9)),c=r(n(10)),d=r(n(11)),f=r(n(12)),h=r(n(1)),p=(r(n(2)),r(n(6))),m=r(n(55)),g=(r(n(13)),r(n(184))),v=n(132),y=function(e){function t(){var e,n;(0,l.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,c.default)(this,(e=(0,d.default)(t)).call.apply(e,[this].concat(i))),n.ignoreNextBlur=!1,n.displayRef=null,n.isOpenControlled=void 0!==n.props.open,n.state={menuMinWidth:null,open:!1},n.update=function(e){var t=e.event,r=e.open;if(n.isOpenControlled)return void(r?n.props.onOpen(t):n.props.onClose(t));n.setState({menuMinWidth:n.props.autoWidth?null:n.displayRef.clientWidth,open:r})},n.handleClick=function(e){n.ignoreNextBlur=!0,n.update({open:!0,event:e})},n.handleClose=function(e){n.update({open:!1,event:e})},n.handleItemClick=function(e){return function(t){n.props.multiple||n.update({open:!1,event:t});var r=n.props,i=r.onChange,o=r.name;if(i){var a;if(n.props.multiple){a=Array.isArray(n.props.value)?(0,s.default)(n.props.value):[];var l=a.indexOf(e.props.value);-1===l?a.push(e.props.value):a.splice(l,1)}else a=e.props.value;t.persist(),t.target={value:a,name:o},i(t,e)}}},n.handleBlur=function(e){if(!0===n.ignoreNextBlur)return e.stopPropagation(),void(n.ignoreNextBlur=!1);if(n.props.onBlur){var t=n.props,r=t.value,i=t.name;e.persist(),e.target={value:r,name:i},n.props.onBlur(e)}},n.handleKeyDown=function(e){n.props.readOnly||-1!==["space","up","down"].indexOf((0,m.default)(e))&&(e.preventDefault(),n.ignoreNextBlur=!0,n.update({open:!0,event:e}))},n.handleDisplayRef=function(e){n.displayRef=e},n.handleInputRef=function(e){var t=n.props.inputRef;if(t){var r={node:e,value:n.props.value};"function"===typeof t?t(r):t.current=r}},n}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){this.isOpenControlled&&this.props.open&&(this.displayRef.focus(),this.forceUpdate()),this.props.autoFocus&&this.displayRef.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.autoWidth,r=t.children,s=t.classes,l=t.className,u=t.disabled,c=t.displayEmpty,d=t.IconComponent,f=(t.inputRef,t.MenuProps),m=void 0===f?{}:f,y=t.multiple,b=t.name,w=(t.onBlur,t.onChange,t.onClose,t.onFocus),E=(t.onOpen,t.open),T=t.readOnly,_=t.renderValue,k=(t.required,t.SelectDisplayProps),x=t.tabIndex,S=t.type,C=void 0===S?"hidden":S,O=t.value,A=(0,a.default)(t,["autoWidth","children","classes","className","disabled","displayEmpty","IconComponent","inputRef","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","required","SelectDisplayProps","tabIndex","type","value"]),P=this.isOpenControlled&&this.displayRef?E:this.state.open;delete A["aria-invalid"];var I,R="",N=[],M=!1;((0,v.isFilled)(this.props)||c)&&(_?I=_(O):M=!0);var D=h.default.Children.map(r,function(t){if(!h.default.isValidElement(t))return null;var n;if(y){if(!Array.isArray(O))throw new Error("Material-UI: the `value` property must be an array when using the `Select` component with `multiple`.");n=-1!==O.indexOf(t.props.value),n&&M&&N.push(t.props.children)}else(n=O===t.props.value)&&M&&(R=t.props.children);return h.default.cloneElement(t,{onClick:e.handleItemClick(t),role:"option",selected:n,value:void 0,"data-value":t.props.value})});M&&(I=y?N.join(", "):R);var L=this.state.menuMinWidth;!n&&this.isOpenControlled&&this.displayRef&&(L=this.displayRef.clientWidth);var j;return j="undefined"!==typeof x?x:u?null:0,h.default.createElement("div",{className:s.root},h.default.createElement("div",(0,i.default)({className:(0,p.default)(s.select,s.selectMenu,(0,o.default)({},s.disabled,u),l),ref:this.handleDisplayRef,"aria-pressed":P?"true":"false",tabIndex:j,role:"button","aria-owns":P?"menu-".concat(b||""):null,"aria-haspopup":"true",onKeyDown:this.handleKeyDown,onBlur:this.handleBlur,onClick:u||T?null:this.handleClick,onFocus:w},k),I||h.default.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})),h.default.createElement("input",(0,i.default)({value:Array.isArray(O)?O.join(","):O,name:b,ref:this.handleInputRef,type:C},A)),h.default.createElement(d,{className:s.icon}),h.default.createElement(g.default,(0,i.default)({id:"menu-".concat(b||""),anchorEl:this.displayRef,open:P,onClose:this.handleClose},m,{MenuListProps:(0,i.default)({role:"listbox"},m.MenuListProps),PaperProps:(0,i.default)({},m.PaperProps,{style:(0,i.default)({minWidth:L},null!=m.PaperProps?m.PaperProps.style:null)})}),D))}}]),t}(h.default.Component);y.propTypes={};var b=y;t.default=b},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(548))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(4)),o=r(n(8)),a=r(n(9)),s=r(n(10)),l=r(n(11)),u=r(n(12)),c=r(n(7)),d=r(n(3)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(31)),m=r(n(5)),g=n(28),v=r(n(196)),y=n(14),b=r(n(131)),w=r(n(212)),E=function(e){var t={top:0},n={bottom:0},r={justifyContent:"flex-end"},i={justifyContent:"flex-start"},o={top:24},a={bottom:24},s={right:24},l={left:24},u={left:"50%",right:"auto",transform:"translateX(-50%)"};return{root:{zIndex:e.zIndex.snackbar,position:"fixed",display:"flex",left:0,right:0,justifyContent:"center",alignItems:"center"},anchorOriginTopCenter:(0,d.default)({},t,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({},u))),anchorOriginBottomCenter:(0,d.default)({},n,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({},u))),anchorOriginTopRight:(0,d.default)({},t,r,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({left:"auto"},o,s))),anchorOriginBottomRight:(0,d.default)({},n,r,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({left:"auto"},a,s))),anchorOriginTopLeft:(0,d.default)({},t,i,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({right:"auto"},o,l))),anchorOriginBottomLeft:(0,d.default)({},n,i,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({right:"auto"},a,l)))}};t.styles=E;var T=function(e){function t(){var e,n;(0,o.default)(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=(0,s.default)(this,(e=(0,l.default)(t)).call.apply(e,[this].concat(i))),n.timerAutoHide=null,n.state={},n.handleMouseEnter=function(e){n.props.onMouseEnter&&n.props.onMouseEnter(e),n.handlePause()},n.handleMouseLeave=function(e){n.props.onMouseLeave&&n.props.onMouseLeave(e),n.handleResume()},n.handleClickAway=function(e){n.props.onClose&&n.props.onClose(e,"clickaway")},n.handlePause=function(){clearTimeout(n.timerAutoHide)},n.handleResume=function(){if(null!=n.props.autoHideDuration){if(null!=n.props.resumeHideDuration)return void n.setAutoHideTimer(n.props.resumeHideDuration);n.setAutoHideTimer(.5*n.props.autoHideDuration)}},n.handleExited=function(){n.setState({exited:!0})},n}return(0,u.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){this.props.open&&this.setAutoHideTimer()}},{key:"componentDidUpdate",value:function(e){e.open!==this.props.open&&(this.props.open?this.setAutoHideTimer():clearTimeout(this.timerAutoHide))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timerAutoHide)}},{key:"setAutoHideTimer",value:function(e){var t=this,n=null!=e?e:this.props.autoHideDuration;this.props.onClose&&null!=n&&(clearTimeout(this.timerAutoHide),this.timerAutoHide=setTimeout(function(){var n=null!=e?e:t.props.autoHideDuration;t.props.onClose&&null!=n&&t.props.onClose(null,"timeout")},n))}},{key:"render",value:function(){var e=this.props,t=e.action,n=e.anchorOrigin,r=n.vertical,o=n.horizontal,a=(e.autoHideDuration,e.children),s=e.classes,l=e.className,u=e.ContentProps,c=e.disableWindowBlurListener,m=e.message,g=(e.onClose,e.onEnter),b=e.onEntered,E=e.onEntering,T=e.onExit,_=e.onExited,k=e.onExiting,x=(e.onMouseEnter,e.onMouseLeave,e.open),S=(e.resumeHideDuration,e.TransitionComponent),C=e.transitionDuration,O=e.TransitionProps,A=(0,i.default)(e,["action","anchorOrigin","autoHideDuration","children","classes","className","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]);return!x&&this.state.exited?null:f.default.createElement(v.default,{onClickAway:this.handleClickAway},f.default.createElement("div",(0,d.default)({className:(0,h.default)(s.root,s["anchorOrigin".concat((0,y.capitalize)(r)).concat((0,y.capitalize)(o))],l),onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},A),f.default.createElement(p.default,{target:"window",onFocus:c?void 0:this.handleResume,onBlur:c?void 0:this.handlePause}),f.default.createElement(S,(0,d.default)({appear:!0,in:x,onEnter:g,onEntered:b,onEntering:E,onExit:T,onExited:(0,y.createChainedFunction)(this.handleExited,_),onExiting:k,timeout:C,direction:"top"===r?"down":"up"},O),a||f.default.createElement(w.default,(0,d.default)({message:m,action:t},u)))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return"undefined"===typeof t.exited?{exited:!e.open}:e.open?{exited:!1}:null}}]),t}(f.default.Component);T.propTypes={},T.defaultProps={anchorOrigin:{vertical:"bottom",horizontal:"center"},disableWindowBlurListener:!1,TransitionComponent:b.default,transitionDuration:{enter:g.duration.enteringScreen,exit:g.duration.leavingScreen}};var _=(0,m.default)(E,{flip:!1,name:"MuiSnackbar"})(T);t.default=_},function(e,t,n){"use strict";function r(e){var t=e.action,n=e.classes,r=e.className,i=e.message,s=(0,a.default)(e,["action","classes","className","message"]);return l.default.createElement(d.default,(0,o.default)({component:f.default,headlineMapping:{body1:"div"},role:"alertdialog",square:!0,elevation:6,className:(0,u.default)(n.root,r)},s),l.default.createElement("div",{className:n.message},i),t?l.default.createElement("div",{className:n.action},t):null)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(7)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(25)),f=i(n(19)),h=n(33),p=function(e){var t,n="light"===e.palette.type?.8:.98,r=(0,h.emphasize)(e.palette.background.default,n);return{root:(t={color:e.palette.getContrastText(r),backgroundColor:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 24px"},(0,s.default)(t,e.breakpoints.up("md"),{minWidth:288,maxWidth:568,borderRadius:e.shape.borderRadius}),(0,s.default)(t,e.breakpoints.down("sm"),{flexGrow:1}),t),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:24,marginRight:-8}}};t.styles=p,r.propTypes={};var m=(0,c.default)(p,{name:"MuiSnackbarContent"})(r);t.default=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(551))},function(e,t,n){"use strict";function r(e){var t,n=e.active,r=e.alternativeLabel,i=e.children,c=e.classes,d=e.className,f=e.completed,h=e.connector,p=e.disabled,m=e.index,g=e.last,v=e.orientation,y=(0,s.default)(e,["active","alternativeLabel","children","classes","className","completed","connector","disabled","index","last","orientation"]),b=(0,u.default)(c.root,c[v],(t={},(0,a.default)(t,c.alternativeLabel,r),(0,a.default)(t,c.completed,f),t),d);return l.default.createElement("div",(0,o.default)({className:b},y),l.default.Children.map(i,function(e){return l.default.isValidElement(e)?l.default.cloneElement(e,(0,o.default)({active:n,alternativeLabel:r,completed:f,disabled:p,icon:m+1,last:g,orientation:v},e.props)):null}),h&&r&&!g&&l.default.cloneElement(h,{orientation:v,alternativeLabel:r}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=(i(n(13)),i(n(5))),d={root:{},horizontal:{paddingLeft:8,paddingRight:8,"&:first-child":{paddingLeft:0},"&:last-child":{paddingRight:0}},vertical:{},alternativeLabel:{flex:1,position:"relative"},completed:{}};t.styles=d,r.propTypes={},r.defaultProps={active:!1,completed:!1,disabled:!1};var f=(0,c.default)(d,{name:"MuiStep"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(553))},function(e,t,n){"use strict";function r(e){var t=e.active,n=e.alternativeLabel,r=e.children,i=e.classes,u=e.className,h=e.completed,p=e.disabled,m=e.icon,g=(e.last,e.optional),v=e.orientation,y=(0,a.default)(e,["active","alternativeLabel","children","classes","className","completed","disabled","icon","last","optional","orientation"]),b={active:t,alternativeLabel:n,completed:h,disabled:p,icon:m,optional:g,orientation:v},w=(0,f.isMuiElement)(r,["StepLabel"])?s.default.cloneElement(r,b):s.default.createElement(d.default,b,r);return s.default.createElement(c.default,(0,o.default)({disabled:p,TouchRippleProps:{className:i.touchRipple},className:(0,l.default)(i.root,i[v],u)},y),w)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=i(n(26)),d=i(n(213)),f=n(39),h={root:{width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},horizontal:{},vertical:{justifyContent:"flex-start"},touchRipple:{color:"rgba(0, 0, 0, 0.3)"}};t.styles=h,r.propTypes={};var p=(0,u.default)(h,{name:"MuiStepButton"})(r);t.default=p},function(e,t,n){"use strict";function r(e){var t,n,r=e.active,i=e.alternativeLabel,c=e.children,h=e.classes,p=e.className,m=e.completed,g=e.disabled,v=e.error,y=e.icon,b=(e.last,e.optional),w=e.orientation,E=e.StepIconProps,T=(0,s.default)(e,["active","alternativeLabel","children","classes","className","completed","disabled","error","icon","last","optional","orientation","StepIconProps"]);return l.default.createElement("span",(0,o.default)({className:(0,u.default)(h.root,h[w],(t={},(0,a.default)(t,h.disabled,g),(0,a.default)(t,h.alternativeLabel,i),(0,a.default)(t,h.error,v),t),p)},T),y&&l.default.createElement("span",{className:(0,u.default)(h.iconContainer,(0,a.default)({},h.alternativeLabel,i))},l.default.createElement(f.default,(0,o.default)({completed:m,active:r,error:v,icon:y},E))),l.default.createElement("span",{className:h.labelContainer},l.default.createElement(d.default,{variant:"body1",component:"span",className:(0,u.default)(h.label,(n={},(0,a.default)(n,h.alternativeLabel,i),(0,a.default)(n,h.completed,m),(0,a.default)(n,h.active,r),(0,a.default)(n,h.error,v),n))},c),b))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(19)),f=i(n(214)),h=function(e){return{root:{display:"flex",alignItems:"center","&$alternativeLabel":{flexDirection:"column"},"&$disabled":{cursor:"default"}},horizontal:{},vertical:{},label:{color:e.palette.text.secondary,"&$active":{color:e.palette.text.primary,fontWeight:500},"&$completed":{color:e.palette.text.primary,fontWeight:500},"&$alternativeLabel":{textAlign:"center",marginTop:16},"&$error":{color:e.palette.error.main}},active:{},completed:{},error:{},disabled:{},iconContainer:{paddingRight:8,"&$alternativeLabel":{paddingRight:0}},alternativeLabel:{},labelContainer:{width:"100%"}}};t.styles=h,r.propTypes={},r.defaultProps={active:!1,alternativeLabel:!1,completed:!1,disabled:!1,error:!1,last:!1,orientation:"horizontal"},r.muiName="StepLabel";var p=(0,c.default)(h,{name:"MuiStepLabel"})(r);t.default=p},function(e,t,n){"use strict";function r(e){var t=e.completed,n=e.icon,r=e.active,i=e.error,c=e.classes;return"number"===typeof n||"string"===typeof n?i?a.default.createElement(u.default,{className:(0,s.default)(c.root,c.error)}):t?a.default.createElement(l.default,{className:(0,s.default)(c.root,c.completed)}):a.default.createElement(d.default,{className:(0,s.default)(c.root,(0,o.default)({},c.active,r))},h,a.default.createElement("text",{className:c.text,x:"12",y:"16",textAnchor:"middle"},n)):n}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(1)),s=(i(n(2)),i(n(6))),l=i(n(556)),u=i(n(557)),c=i(n(5)),d=i(n(16)),f=function(e){return{root:{display:"block",color:e.palette.text.disabled,"&$active":{color:e.palette.primary.main},"&$completed":{color:e.palette.primary.main},"&$error":{color:e.palette.error.main}},text:{fill:e.palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily},active:{},completed:{},error:{}}};t.styles=f;var h=a.default.createElement("circle",{cx:"12",cy:"12",r:"12"});r.propTypes={},r.defaultProps={active:!1,completed:!1,error:!1};var p=(0,c.default)(f,{name:"MuiStepIcon"})(r);t.default=p},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";function r(e){var t,n=e.alternativeLabel,r=e.className,i=e.classes,c=e.orientation,d=(0,s.default)(e,["alternativeLabel","className","classes","orientation"]),f=(0,u.default)(i.root,i[c],(0,a.default)({},i.alternativeLabel,n),r),h=(0,u.default)(i.line,(t={},(0,a.default)(t,i.lineHorizontal,"horizontal"===c),(0,a.default)(t,i.lineVertical,"vertical"===c),t));return l.default.createElement("div",(0,o.default)({className:f},d),l.default.createElement("span",{className:h}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=function(e){return{root:{flex:"1 1 auto"},horizontal:{},vertical:{marginLeft:12,padding:"0 0 8px"},alternativeLabel:{position:"absolute",top:12,left:"calc(50% + 20px)",right:"calc(-50% + 20px)"},line:{display:"block",borderColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},lineHorizontal:{borderTopStyle:"solid",borderTopWidth:1},lineVertical:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}};t.styles=d,r.propTypes={},r.defaultProps={alternativeLabel:!1,orientation:"horizontal"};var f=(0,c.default)(d,{name:"MuiStepConnector"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(560))},function(e,t,n){"use strict";function r(e){var t=e.active,n=(e.alternativeLabel,e.children),r=e.classes,i=e.className,c=(e.completed,e.last),d=(e.optional,e.orientation,e.TransitionComponent),f=e.transitionDuration,h=e.TransitionProps,p=(0,s.default)(e,["active","alternativeLabel","children","classes","className","completed","last","optional","orientation","TransitionComponent","transitionDuration","TransitionProps"]),m=f;return"auto"!==f||d.muiSupportAuto||(m=void 0),l.default.createElement("div",(0,o.default)({className:(0,u.default)(r.root,(0,a.default)({},r.last,c),i)},p),l.default.createElement(d,(0,o.default)({in:t,className:r.transition,timeout:m,unmountOnExit:!0},h),n))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(13)),i(n(6))),c=i(n(85)),d=i(n(5)),f=function(e){return{root:{marginTop:8,marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:"1px solid ".concat("light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600])},last:{borderLeft:"none"},transition:{}}};t.styles=f,r.propTypes={},r.defaultProps={TransitionComponent:c.default,transitionDuration:"auto"};var h=(0,d.default)(f,{name:"MuiStepContent"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(562))},function(e,t,n){"use strict";function r(e){var t=e.activeStep,n=e.alternativeLabel,r=e.children,i=e.classes,c=e.className,f=e.connector,h=e.nonLinear,p=e.orientation,m=(0,s.default)(e,["activeStep","alternativeLabel","children","classes","className","connector","nonLinear","orientation"]),g=(0,u.default)(i.root,i[p],(0,a.default)({},i.alternativeLabel,n),c),v=l.default.isValidElement(f)?l.default.cloneElement(f,{orientation:p}):null,y=l.default.Children.toArray(r),b=y.map(function(e,r){var i={index:r,orientation:p,active:!1,completed:!1,disabled:!1,last:r+1===y.length,alternativeLabel:n,connector:f};return t===r?i.active=!0:!h&&t>r?i.completed=!0:!h&&t<r&&(i.disabled=!0),[!n&&v&&r>0&&l.default.cloneElement(v,{key:r}),l.default.cloneElement(e,(0,o.default)({},i,e.props))]});return l.default.createElement(d.default,(0,o.default)({square:!0,elevation:0,className:g},m),b)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(25)),f=i(n(215)),h={root:{display:"flex",padding:24},horizontal:{flexDirection:"row",alignItems:"center"},vertical:{flexDirection:"column"},alternativeLabel:{alignItems:"flex-start"}};t.styles=h,r.propTypes={},r.defaultProps={activeStep:0,alternativeLabel:!1,connector:l.default.createElement(f.default,null),nonLinear:!1,orientation:"horizontal"},r.muiName="Stepper";var p=(0,c.default)(h,{name:"MuiStepper"})(r);t.default=p},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(564))},function(e,t,n){"use strict";function r(){_=null}var i=n(46),o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.reset=r,t.default=void 0;var a=o(n(3)),s=o(n(4)),l=o(n(8)),u=o(n(9)),c=o(n(10)),d=o(n(11)),f=o(n(12)),h=o(n(47)),p=o(n(1)),m=(o(n(2)),o(n(15))),g=i(n(130)),v=n(28),y=o(n(29)),b=n(56),w=o(n(210)),E=o(n(565)),T=3,_=null,k=function(e){function t(){var e,n;(0,l.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,c.default)(this,(e=(0,d.default)(t)).call.apply(e,[this].concat(i))),n.backdrop=null,n.paper=null,n.isSwiping=null,n.startX=null,n.startY=null,n.state={},n.handleBodyTouchStart=function(e){if(null===_||_===(0,h.default)((0,h.default)(n))){var t=n.props,r=t.disableDiscovery,i=t.disableSwipeToOpen,o=t.open,a=t.swipeAreaWidth,s=(0,g.getAnchor)(n.props),l="right"===s?document.body.offsetWidth-e.touches[0].pageX:e.touches[0].pageX,u="bottom"===s?window.innerHeight-e.touches[0].clientY:e.touches[0].clientY;if(!o){if(i)return;if((0,g.isHorizontal)(n.props)){if(l>a)return}else if(u>a)return}_=(0,h.default)((0,h.default)(n)),n.startX=l,n.startY=u,n.setState({maybeSwiping:!0}),!o&&n.paper&&n.setPosition(n.getMaxTranslate()+(r?20:-a),{changeTransition:!1}),document.body.addEventListener("touchmove",n.handleBodyTouchMove,{passive:!1}),document.body.addEventListener("touchend",n.handleBodyTouchEnd),document.body.addEventListener("touchcancel",n.handleBodyTouchEnd)}},n.handleBodyTouchMove=function(e){if(n.paper){var t=(0,g.getAnchor)(n.props),r=(0,g.isHorizontal)(n.props),i="right"===t?document.body.offsetWidth-e.touches[0].pageX:e.touches[0].pageX,o="bottom"===t?window.innerHeight-e.touches[0].clientY:e.touches[0].clientY;if(null==n.isSwiping){var a=Math.abs(i-n.startX),s=Math.abs(o-n.startY);a>s&&e.preventDefault();var l=r?a>s&&a>T:s>a&&s>T;if(!0===l||(r?s>T:a>T)){if(n.isSwiping=l,!l)return void n.handleBodyTouchEnd(e);n.startX=i,n.startY=o,n.props.disableDiscovery||n.props.open||(r?n.startX-=n.props.swipeAreaWidth:n.startY-=n.props.swipeAreaWidth)}}n.isSwiping&&(e.preventDefault(),n.setPosition(n.getTranslate(r?i:o)))}},n.handleBodyTouchEnd=function(e){if(_=null,n.removeBodyTouchListeners(),n.setState({maybeSwiping:!1}),!n.isSwiping)return void(n.isSwiping=null);var t,r=(0,g.getAnchor)(n.props);t=(0,g.isHorizontal)(n.props)?"right"===r?document.body.offsetWidth-e.changedTouches[0].pageX:e.changedTouches[0].pageX:"bottom"===r?window.innerHeight-e.changedTouches[0].clientY:e.changedTouches[0].clientY,n.getTranslate(t)/n.getMaxTranslate()>.5?n.isSwiping&&!n.props.open?n.setPosition(n.getMaxTranslate(),{mode:"enter"}):n.props.onClose():n.isSwiping&&!n.props.open?n.props.onOpen():n.setPosition(0,{mode:"exit"}),n.isSwiping=null},n.handleBackdropRef=function(e){n.backdrop=e?m.default.findDOMNode(e):null},n.handlePaperRef=function(e){n.paper=e?m.default.findDOMNode(e):null},n}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){"temporary"===this.props.variant&&this.listenTouchStart()}},{key:"componentDidUpdate",value:function(e){var t=this.props.variant,n=e.variant;t!==n&&("temporary"===t?this.listenTouchStart():"temporary"===n&&this.removeTouchStart())}},{key:"componentWillUnmount",value:function(){this.removeTouchStart(),this.removeBodyTouchListeners(),_===this&&(_=null)}},{key:"getMaxTranslate",value:function(){return(0,g.isHorizontal)(this.props)?this.paper.clientWidth:this.paper.clientHeight}},{key:"getTranslate",value:function(e){var t=(0,g.isHorizontal)(this.props)?this.startX:this.startY;return Math.min(Math.max(this.props.open?t-e:this.getMaxTranslate()+t-e,0),this.getMaxTranslate())}},{key:"setPosition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.mode,r=void 0===n?null:n,i=t.changeTransition,o=void 0===i||i,a=(0,g.getAnchor)(this.props),s=-1!==["right","bottom"].indexOf(a)?1:-1,l=(0,g.isHorizontal)(this.props)?"translate(".concat(s*e,"px, 0)"):"translate(0, ".concat(s*e,"px)"),u=this.paper.style;u.webkitTransform=l,u.transform=l;var c="";if(r&&(c=this.props.theme.transitions.create("all",(0,b.getTransitionProps)({timeout:this.props.transitionDuration},{mode:r}))),o&&(u.webkitTransition=c,u.transition=c),!this.props.disableBackdropTransition){var d=this.backdrop.style;d.opacity=1-e/this.getMaxTranslate(),o&&(d.webkitTransition=c,d.transition=c)}}},{key:"listenTouchStart",value:function(){document.body.addEventListener("touchstart",this.handleBodyTouchStart)}},{key:"removeTouchStart",value:function(){document.body.removeEventListener("touchstart",this.handleBodyTouchStart)}},{key:"removeBodyTouchListeners",value:function(){document.body.removeEventListener("touchmove",this.handleBodyTouchMove,{passive:!1}),document.body.removeEventListener("touchend",this.handleBodyTouchEnd),document.body.removeEventListener("touchcancel",this.handleBodyTouchEnd)}},{key:"render",value:function(){var e=this.props,t=e.anchor,n=(e.disableBackdropTransition,e.disableDiscovery),r=e.disableSwipeToOpen,i=e.ModalProps;i=void 0===i?{}:i;var o=i.BackdropProps,l=(0,s.default)(i,["BackdropProps"]),u=(e.onOpen,e.open),c=e.PaperProps,d=void 0===c?{}:c,f=e.swipeAreaWidth,h=e.variant,m=(0,s.default)(e,["anchor","disableBackdropTransition","disableDiscovery","disableSwipeToOpen","ModalProps","onOpen","open","PaperProps","swipeAreaWidth","variant"]),v=this.state.maybeSwiping;return p.default.createElement(p.default.Fragment,null,p.default.createElement(g.default,(0,a.default)({open:!("temporary"!==h||!v)||u,variant:h,ModalProps:(0,a.default)({BackdropProps:(0,a.default)({},o,{ref:this.handleBackdropRef})},l),PaperProps:(0,a.default)({},d,{style:(0,a.default)({pointerEvents:"temporary"!==h||u?"":"none"},d.style),ref:this.handlePaperRef}),anchor:t},m)),!n&&!r&&"temporary"===h&&p.default.createElement(w.default,null,p.default.createElement(E.default,{anchor:t,width:f})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return"undefined"===typeof t.maybeSwiping?{maybeSwiping:!1,open:e.open}:!e.open&&t.open?{maybeSwiping:!1,open:e.open}:{open:e.open}}}]),t}(p.default.Component);k.propTypes={},k.defaultProps={anchor:"left",disableBackdropTransition:!1,disableDiscovery:!1,disableSwipeToOpen:"undefined"!==typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent),swipeAreaWidth:20,transitionDuration:{enter:v.duration.enteringScreen,exit:v.duration.leavingScreen},variant:"temporary"};var x=(0,y.default)()(k);t.default=x},function(e,t,n){"use strict";function r(e){var t=e.anchor,n=e.classes,r=e.width,i=(0,s.default)(e,["anchor","classes","width"]);return l.default.createElement("div",(0,o.default)({className:(0,u.default)(n.root,n["anchor".concat((0,d.capitalize)(t))]),style:(0,a.default)({},(0,f.isHorizontal)(e)?"width":"height",r)},i))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=n(130),h=function(e){return{root:{position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1},anchorLeft:{right:"auto"},anchorRight:{left:"auto",right:0},anchorTop:{bottom:"auto",right:0},anchorBottom:{top:"auto",bottom:0,right:0}}};t.styles=h,r.propTypes={};var p=(0,c.default)(h)(r);t.default=p},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(567))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.color,i=(0,a.default)(e,["classes","className","color"]);return s.default.createElement("span",{className:(0,l.default)(t.root,n)},s.default.createElement(d.default,(0,o.default)({type:"checkbox",icon:s.default.createElement("span",{className:t.icon}),classes:{root:(0,l.default)(t.switchBase,t["color".concat((0,c.capitalize)(r))]),checked:t.checked,disabled:t.disabled},checkedIcon:s.default.createElement("span",{className:(0,l.default)(t.icon,t.iconChecked)})},i)),s.default.createElement("span",{className:t.bar}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=n(14),d=i(n(129)),f=function(e){return{root:{display:"inline-flex",width:62,position:"relative",flexShrink:0,verticalAlign:"middle"},icon:{boxShadow:e.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"},iconChecked:{boxShadow:e.shadows[2]},switchBase:{zIndex:1,color:"light"===e.palette.type?e.palette.grey[50]:e.palette.grey[400],transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest})},checked:{transform:"translateX(14px)","& + $bar":{opacity:.5}},colorPrimary:{"&$checked":{color:e.palette.primary.main,"& + $bar":{backgroundColor:e.palette.primary.main}}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"& + $bar":{backgroundColor:e.palette.secondary.main}}},disabled:{"& + $bar":{opacity:"light"===e.palette.type?.12:.1},"& $icon":{boxShadow:e.shadows[1]},"&$switchBase":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800],"& + $bar":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}}},bar:{borderRadius:7,display:"block",position:"absolute",width:34,height:14,top:"50%",left:"50%",marginTop:-7,marginLeft:-17,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.type?.38:.3}}};t.styles=f,r.propTypes={},r.defaultProps={color:"secondary"};var h=(0,u.default)(f,{name:"MuiSwitch"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(569))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=r(n(2)),h=r(n(6)),p=r(n(5)),m=function(e){return{root:{display:"table",fontFamily:e.typography.fontFamily,width:"100%",borderCollapse:"collapse",borderSpacing:0}}};t.styles=m;var g=function(e){function t(){return(0,a.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"getChildContext",value:function(){return{table:{padding:this.props.padding}}}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.className,r=e.component,a=(e.padding,(0,o.default)(e,["classes","className","component","padding"]));return d.default.createElement(r,(0,i.default)({className:(0,h.default)(t.root,n)},a))}}]),t}(d.default.Component);g.propTypes={},g.defaultProps={component:"table",padding:"default"},g.childContextTypes={table:f.default.object};var v=(0,p.default)(m,{name:"MuiTable"})(g);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(571))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=r(n(2)),h=r(n(6)),p=r(n(5)),m={root:{display:"table-row-group"}};t.styles=m;var g=function(e){function t(){return(0,a.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"getChildContext",value:function(){return{tablelvl2:{variant:"body"}}}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.className,r=e.component,a=(0,o.default)(e,["classes","className","component"]);return d.default.createElement(r,(0,i.default)({className:(0,h.default)(t.root,n)},a))}}]),t}(d.default.Component);g.propTypes={},g.defaultProps={component:"tbody"},g.childContextTypes={tablelvl2:f.default.object};var v=(0,p.default)(m,{name:"MuiTableBody"})(g);t.default=v},function(e,t,n){"use strict";function r(e,t){var n,r,i=e.children,u=e.classes,d=e.className,h=e.component,p=e.sortDirection,m=e.numeric,g=e.padding,v=e.scope,y=e.variant,b=(0,s.default)(e,["children","classes","className","component","sortDirection","numeric","padding","scope","variant"]),w=t.table,E=t.tablelvl2;r=h||(E&&"head"===E.variant?"th":"td");var T=v;!T&&E&&"head"===E.variant&&(T="col");var _=g||(w&&w.padding?w.padding:"default"),k=(0,c.default)(u.root,(n={},(0,a.default)(n,u.head,y?"head"===y:E&&"head"===E.variant),(0,a.default)(n,u.body,y?"body"===y:E&&"body"===E.variant),(0,a.default)(n,u.footer,y?"footer"===y:E&&"footer"===E.variant),(0,a.default)(n,u.numeric,m),(0,a.default)(n,u["padding".concat((0,f.capitalize)(_))],"default"!==_),n),d),x=null;return p&&(x="asc"===p?"ascending":"descending"),l.default.createElement(r,(0,o.default)({className:k,"aria-sort":x,scope:T},b),i)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=n(14),h=n(33),p=function(e){return{root:{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n    ".concat("light"===e.palette.type?(0,h.lighten)((0,h.fade)(e.palette.divider,1),.88):(0,h.darken)((0,h.fade)(e.palette.divider,1),.8)),textAlign:"left",padding:"4px 56px 4px 24px","&:last-child":{paddingRight:24}},head:{color:e.palette.text.secondary,fontSize:e.typography.pxToRem(12),fontWeight:e.typography.fontWeightMedium},body:{color:e.palette.text.primary,fontSize:e.typography.pxToRem(13),fontWeight:e.typography.fontWeightRegular},footer:{borderBottom:0,color:e.palette.text.secondary,fontSize:e.typography.pxToRem(12)},numeric:{textAlign:"right",flexDirection:"row-reverse"},paddingDense:{paddingRight:24},paddingCheckbox:{padding:"0 12px","&:last-child":{paddingRight:12}},paddingNone:{padding:0,"&:last-child":{padding:0}}}};t.styles=p,r.propTypes={},r.defaultProps={numeric:!1},r.contextTypes={table:u.default.object,tablelvl2:u.default.object};var m=(0,d.default)(p,{name:"MuiTableCell"})(r);t.default=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(574))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=r(n(2)),h=r(n(6)),p=r(n(5)),m={root:{display:"table-footer-group"}};t.styles=m;var g=function(e){function t(){return(0,a.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"getChildContext",value:function(){return{tablelvl2:{variant:"footer"}}}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.className,r=e.component,a=(0,o.default)(e,["classes","className","component"]);return d.default.createElement(r,(0,i.default)({className:(0,h.default)(t.root,n)},a))}}]),t}(d.default.Component);g.propTypes={},g.defaultProps={component:"tfoot"},g.childContextTypes={tablelvl2:f.default.object};var v=(0,p.default)(m,{name:"MuiTableFooter"})(g);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(576))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=r(n(2)),h=r(n(6)),p=r(n(5)),m={root:{display:"table-header-group"}};t.styles=m;var g=function(e){function t(){return(0,a.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"getChildContext",value:function(){return{tablelvl2:{variant:"head"}}}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.className,r=e.component,a=(0,o.default)(e,["classes","className","component"]);return d.default.createElement(r,(0,i.default)({className:(0,h.default)(t.root,n)},a))}}]),t}(d.default.Component);g.propTypes={},g.defaultProps={component:"thead"},g.childContextTypes={tablelvl2:f.default.object};var v=(0,p.default)(m,{name:"MuiTableHead"})(g);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(578))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(5))),h=r(n(66)),p=r(n(126)),m=r(n(134)),g=r(n(216)),v=r(n(105)),y=r(n(19)),b=r(n(579)),w=function(e){return{root:{fontSize:e.typography.pxToRem(12),"&:last-child":{padding:0}},toolbar:{height:56,minHeight:56,paddingRight:2},spacer:{flex:"1 1 100%"},caption:{flexShrink:0},selectRoot:{marginRight:32,marginLeft:8,color:e.palette.text.secondary},select:{paddingLeft:8,paddingRight:16},selectIcon:{top:1},input:{fontSize:"inherit",flexShrink:0},menuItem:{},actions:{flexShrink:0,color:e.palette.text.secondary,marginLeft:20}}};t.styles=w;var E=function(e){function t(){return(0,a.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.count,n=e.onChangePage,r=e.page,i=e.rowsPerPage,o=Math.max(0,Math.ceil(t/i)-1);r>o&&n(null,o)}},{key:"render",value:function(){var e,t=this.props,n=t.ActionsComponent,r=t.backIconButtonProps,a=t.classes,s=t.colSpan,l=t.component,u=t.count,c=t.labelDisplayedRows,f=t.labelRowsPerPage,b=t.nextIconButtonProps,w=t.onChangePage,E=t.onChangeRowsPerPage,T=t.page,_=t.rowsPerPage,k=t.rowsPerPageOptions,x=t.SelectProps,S=(0,o.default)(t,["ActionsComponent","backIconButtonProps","classes","colSpan","component","count","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onChangePage","onChangeRowsPerPage","page","rowsPerPage","rowsPerPageOptions","SelectProps"]);return l!==g.default&&"td"!==l||(e=s||1e3),d.default.createElement(l,(0,i.default)({className:a.root,colSpan:e},S),d.default.createElement(v.default,{className:a.toolbar},d.default.createElement("div",{className:a.spacer}),k.length>1&&d.default.createElement(y.default,{variant:"caption",className:a.caption},f),k.length>1&&d.default.createElement(m.default,(0,i.default)({classes:{root:a.selectRoot,select:a.select,icon:a.selectIcon},input:d.default.createElement(h.default,{className:a.input,disableUnderline:!0}),value:_,onChange:E},x),k.map(function(e){return d.default.createElement(p.default,{className:a.menuItem,key:e,value:e},e)})),d.default.createElement(y.default,{variant:"caption",className:a.caption},c({from:0===u?0:T*_+1,to:Math.min(u,(T+1)*_),count:u,page:T})),d.default.createElement(n,{className:a.actions,backIconButtonProps:r,count:u,nextIconButtonProps:b,onChangePage:w,page:T,rowsPerPage:_})))}}]),t}(d.default.Component);E.propTypes={},E.defaultProps={ActionsComponent:b.default,component:g.default,labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," of ").concat(r)},labelRowsPerPage:"Rows per page:",rowsPerPageOptions:[5,10,25]};var T=(0,f.default)(w,{name:"MuiTablePagination"})(E);t.default=T},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(580))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(217))),h=r(n(218)),p=r(n(29)),m=r(n(84)),g=d.default.createElement(h.default,null),v=d.default.createElement(f.default,null),y=d.default.createElement(f.default,null),b=d.default.createElement(h.default,null),w=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.handleBackButtonClick=function(e){n.props.onChangePage(e,n.props.page-1)},n.handleNextButtonClick=function(e){n.props.onChangePage(e,n.props.page+1)},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e=this.props,t=e.backIconButtonProps,n=e.count,r=e.nextIconButtonProps,a=(e.onChangePage,e.page),s=e.rowsPerPage,l=e.theme,u=(0,o.default)(e,["backIconButtonProps","count","nextIconButtonProps","onChangePage","page","rowsPerPage","theme"]);return d.default.createElement("div",u,d.default.createElement(m.default,(0,i.default)({onClick:this.handleBackButtonClick,disabled:0===a},t),"rtl"===l.direction?g:v),d.default.createElement(m.default,(0,i.default)({onClick:this.handleNextButtonClick,disabled:a>=Math.ceil(n/s)-1},r),"rtl"===l.direction?y:b))}}]),t}(d.default.Component);w.propTypes={};var E=(0,p.default)()(w);t.default=E},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(582))},function(e,t,n){"use strict";function r(e,t){var n,r=e.classes,i=e.className,u=e.component,d=e.hover,f=e.selected,h=(0,s.default)(e,["classes","className","component","hover","selected"]),p=t.tablelvl2,m=(0,c.default)(r.root,(n={},(0,a.default)(n,r.head,p&&"head"===p.variant),(0,a.default)(n,r.footer,p&&"footer"===p.variant),(0,a.default)(n,r.hover,d),(0,a.default)(n,r.selected,f),n),i);return l.default.createElement(u,(0,o.default)({className:m},h))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=function(e){return{root:{color:"inherit",display:"table-row",height:48,verticalAlign:"middle",outline:"none","&$selected":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.04)":"rgba(255, 255, 255, 0.08)"},"&$hover:hover":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.07)":"rgba(255, 255, 255, 0.14)"}},selected:{},hover:{},head:{height:56},footer:{height:56}}};t.styles=f,r.propTypes={},r.defaultProps={component:"tr",hover:!1,selected:!1},r.contextTypes={tablelvl2:u.default.object};var h=(0,d.default)(f,{name:"MuiTableRow"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(584))},function(e,t,n){"use strict";function r(e){var t=e.active,n=e.classes,r=e.className,i=e.children,d=e.direction,p=(0,s.default)(e,["active","classes","className","children","direction"]);return l.default.createElement(f.default,(0,o.default)({className:(0,u.default)(n.root,(0,a.default)({},n.active,t),r),component:"span",disableRipple:!0},p),i,l.default.createElement(c.default,{className:(0,u.default)(n.icon,n["iconDirection".concat((0,h.capitalize)(d))])}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(585)),d=i(n(5)),f=i(n(26)),h=n(14),p=function(e){return{root:{cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:hover":{color:e.palette.text.primary},"&:focus":{color:e.palette.text.primary}},active:{color:e.palette.text.primary,"& $icon":{opacity:1}},icon:{height:16,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none",width:16},iconDirectionDesc:{transform:"rotate(0deg)"},iconDirectionAsc:{transform:"rotate(180deg)"}}};t.styles=p,r.propTypes={},r.defaultProps={active:!1,direction:"desc"};var m=(0,d.default)(p,{name:"MuiTableSortLabel"})(r);t.default=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(7)),f=r(n(1)),h=(r(n(2)),r(n(13)),r(n(6))),p=r(n(31)),m=r(n(38)),g=n(587),v=r(n(588)),y=r(n(589)),b=r(n(5)),w=r(n(590)),E=r(n(591)),T=function(e){return{root:{overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch"},flexContainer:{display:"flex"},centered:{justifyContent:"center"},scroller:{position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},fixed:{overflowX:"hidden",width:"100%"},scrollable:{overflowX:"scroll"},scrollButtons:{},scrollButtonsAuto:(0,d.default)({},e.breakpoints.down("xs"),{display:"none"}),indicator:{}}};t.styles=T;var _=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.tabs=null,n.valueToIndex=new Map,n.handleResize=(0,m.default)(function(){n.updateIndicatorState(n.props),n.updateScrollButtonState()},166),n.handleTabsScroll=(0,m.default)(function(){n.updateScrollButtonState()},166),n.state={indicatorStyle:{},scrollerStyle:{marginBottom:0},showLeftScroll:!1,showRightScroll:!1,mounted:!1},n.getConditionalElements=function(){var e=n.props,t=e.classes,r=e.scrollable,i=e.ScrollButtonComponent,o=e.scrollButtons,a=e.theme,s={};s.scrollbarSizeListener=r?f.default.createElement(y.default,{onLoad:n.handleScrollbarSizeChange,onChange:n.handleScrollbarSizeChange}):null;var l=r&&("auto"===o||"on"===o);return s.scrollButtonLeft=l?f.default.createElement(i,{direction:a&&"rtl"===a.direction?"right":"left",onClick:n.handleLeftScrollClick,visible:n.state.showLeftScroll,className:(0,h.default)(t.scrollButtons,(0,d.default)({},t.scrollButtonsAuto,"auto"===o))}):null,s.scrollButtonRight=l?f.default.createElement(i,{direction:a&&"rtl"===a.direction?"left":"right",onClick:n.handleRightScrollClick,visible:n.state.showRightScroll,className:(0,h.default)(t.scrollButtons,(0,d.default)({},t.scrollButtonsAuto,"auto"===o))}):null,s},n.getTabsMeta=function(e,t){var r;if(n.tabsRef){var i=n.tabsRef.getBoundingClientRect();r={clientWidth:n.tabsRef.clientWidth,scrollLeft:n.tabsRef.scrollLeft,scrollLeftNormalized:(0,g.getNormalizedScrollLeft)(n.tabsRef,t),scrollWidth:n.tabsRef.scrollWidth,left:i.left,right:i.right}}var o;if(n.tabsRef&&!1!==e){var a=n.tabsRef.children[0].children;if(a.length>0){var s=a[n.valueToIndex.get(e)];o=s?s.getBoundingClientRect():null}}return{tabsMeta:r,tabMeta:o}},n.handleLeftScrollClick=function(){n.moveTabsScroll(-n.tabsRef.clientWidth)},n.handleRightScrollClick=function(){n.moveTabsScroll(n.tabsRef.clientWidth)},n.handleScrollbarSizeChange=function(e){var t=e.scrollbarHeight;n.setState({scrollerStyle:{marginBottom:-t}})},n.moveTabsScroll=function(e){var t=n.props.theme,r="rtl"===t.direction?-1:1,i=n.tabsRef.scrollLeft+e*r,o="rtl"===t.direction&&"reverse"===(0,g.detectScrollType)()?-1:1;n.scroll(o*i)},n.scrollSelectedIntoView=function(){var e=n.props,t=e.theme,r=e.value,i=n.getTabsMeta(r,t.direction),o=i.tabsMeta,a=i.tabMeta;if(a&&o)if(a.left<o.left){var s=o.scrollLeft+(a.left-o.left);n.scroll(s)}else if(a.right>o.right){var l=o.scrollLeft+(a.right-o.right);n.scroll(l)}},n.scroll=function(e){(0,v.default)("scrollLeft",n.tabsRef,e)},n.updateScrollButtonState=function(){var e=n.props,t=e.scrollable,r=e.scrollButtons,i=e.theme;if(t&&"off"!==r){var o=n.tabsRef,a=o.scrollWidth,s=o.clientWidth,l=(0,g.getNormalizedScrollLeft)(n.tabsRef,i.direction),u="rtl"===i.direction?a>s+l:l>0,c="rtl"===i.direction?l>0:a>s+l;u===n.state.showLeftScroll&&c===n.state.showRightScroll||n.setState({showLeftScroll:u,showRightScroll:c})}},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.setState({mounted:!0}),this.updateIndicatorState(this.props),this.updateScrollButtonState(),this.props.action&&this.props.action({updateIndicator:this.handleResize})}},{key:"componentDidUpdate",value:function(e,t){this.updateIndicatorState(this.props),this.updateScrollButtonState(),this.state.indicatorStyle!==t.indicatorStyle&&this.scrollSelectedIntoView()}},{key:"componentWillUnmount",value:function(){this.handleResize.clear(),this.handleTabsScroll.clear()}},{key:"updateIndicatorState",value:function(e){var t=e.theme,n=e.value,r=this.getTabsMeta(n,t.direction),i=r.tabsMeta,o=r.tabMeta,a=0;if(o&&i){var s="rtl"===t.direction?i.scrollLeftNormalized+i.clientWidth-i.scrollWidth:i.scrollLeft;a=Math.round(o.left-i.left+s)}var l={left:a,width:o?Math.round(o.width):0};l.left===this.state.indicatorStyle.left&&l.width===this.state.indicatorStyle.width||isNaN(l.left)||isNaN(l.width)||this.setState({indicatorStyle:l})}},{key:"render",value:function(){var e,t=this,n=this.props,r=(n.action,n.centered),a=n.children,s=n.classes,l=n.className,u=n.component,c=n.fullWidth,m=n.indicatorColor,g=n.onChange,v=n.scrollable,y=(n.ScrollButtonComponent,n.scrollButtons,n.TabIndicatorProps),b=void 0===y?{}:y,E=n.textColor,T=(n.theme,n.value),_=(0,o.default)(n,["action","centered","children","classes","className","component","fullWidth","indicatorColor","onChange","scrollable","ScrollButtonComponent","scrollButtons","TabIndicatorProps","textColor","theme","value"]),k=(0,h.default)(s.root,l),x=(0,h.default)(s.flexContainer,(0,d.default)({},s.centered,r&&!v)),S=(0,h.default)(s.scroller,(e={},(0,d.default)(e,s.fixed,!v),(0,d.default)(e,s.scrollable,v),e)),C=f.default.createElement(w.default,(0,i.default)({className:s.indicator,color:m},b,{style:(0,i.default)({},this.state.indicatorStyle,b.style)}));this.valueToIndex=new Map;var O=0,A=f.default.Children.map(a,function(e){if(!f.default.isValidElement(e))return null;var n=void 0===e.props.value?O:e.props.value;t.valueToIndex.set(n,O);var r=n===T;return O+=1,f.default.cloneElement(e,{fullWidth:c,indicator:r&&!t.state.mounted&&C,selected:r,onChange:g,textColor:E,value:n})}),P=this.getConditionalElements();return f.default.createElement(u,(0,i.default)({className:k},_),f.default.createElement(p.default,{target:"window",onResize:this.handleResize}),P.scrollbarSizeListener,f.default.createElement("div",{className:s.flexContainer},P.scrollButtonLeft,f.default.createElement("div",{className:S,style:this.state.scrollerStyle,ref:function(e){t.tabsRef=e},role:"tablist",onScroll:this.handleTabsScroll},f.default.createElement("div",{className:x},A),this.state.mounted&&C),P.scrollButtonRight))}}]),t}(f.default.Component);_.propTypes={},_.defaultProps={centered:!1,component:"div",fullWidth:!1,indicatorColor:"secondary",scrollable:!1,ScrollButtonComponent:E.default,scrollButtons:"auto",textColor:"inherit"};var k=(0,b.default)(T,{name:"MuiTabs",withTheme:!0})(_);t.default=k},function(e,t,n){"use strict";function r(e){s=e}function i(){if(s)return s;if(!l||!window.document.body)return"indeterminate";var e=window.document.createElement("div");return e.appendChild(document.createTextNode("ABCD")),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),s="reverse",e.scrollLeft>0?s="default":(e.scrollLeft=1,0===e.scrollLeft&&(s="negative")),document.body.removeChild(e),s}function o(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;var r=i();if("indeterminate"===r)return Number.NaN;switch(r){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n}return n}function a(e,t,n){if("rtl"!==n)return void(e.scrollLeft=t);var r=i();if("indeterminate"!==r)switch(r){case"negative":e.scrollLeft=e.clientWidth-e.scrollWidth+t;break;case"reverse":e.scrollLeft=e.scrollWidth-e.clientWidth-t;break;default:e.scrollLeft=t}}Object.defineProperty(t,"__esModule",{value:!0});var s,l=!("undefined"===typeof window||!window.document||!window.document.createElement);t._setScrollType=r,t.detectScrollType=i,t.getNormalizedScrollLeft=o,t.setNormalizedScrollLeft=a},function(e,t,n){"use strict";function r(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function i(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},a=i.ease,s=void 0===a?r:a,l=i.duration,u=void 0===l?300:l,c=null,d=t[e],f=!1,h=function(){f=!0},p=function r(i){if(f)return void o(new Error("Animation cancelled"));null===c&&(c=i);var a=Math.min(1,(i-c)/u);if(t[e]=s(a)*(n-d)+d,a>=1)return void requestAnimationFrame(function(){o(null)});requestAnimationFrame(r)};return d===n?(o(new Error("Element already at target position")),h):(requestAnimationFrame(p),h)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i;t.default=o},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(8)),o=r(n(9)),a=r(n(10)),s=r(n(11)),l=r(n(12)),u=r(n(1)),c=(r(n(2)),r(n(31))),d=r(n(38)),f={width:100,height:100,position:"absolute",top:-1e4,overflow:"scroll",msOverflowStyle:"scrollbar"},h=function(e){function t(){var e,n;(0,i.default)(this,t);for(var r=arguments.length,o=new Array(r),l=0;l<r;l++)o[l]=arguments[l];return n=(0,a.default)(this,(e=(0,s.default)(t)).call.apply(e,[this].concat(o))),n.handleResize=(0,d.default)(function(){var e=n.props.onChange,t=n.scrollbarHeight,r=n.scrollbarWidth;n.setMeasurements(),t===n.scrollbarHeight&&r===n.scrollbarWidth||e({scrollbarHeight:n.scrollbarHeight,scrollbarWidth:n.scrollbarWidth})},166),n.setMeasurements=function(){var e=n.nodeRef;e&&(n.scrollbarHeight=e.offsetHeight-e.clientHeight,n.scrollbarWidth=e.offsetWidth-e.clientWidth)},n}return(0,l.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){this.setMeasurements(),this.props.onLoad({scrollbarHeight:this.scrollbarHeight,scrollbarWidth:this.scrollbarWidth})}},{key:"componentWillUnmount",value:function(){this.handleResize.clear()}},{key:"render",value:function(){var e=this,t=this.props.onChange;return u.default.createElement("div",null,t?u.default.createElement(c.default,{target:"window",onResize:this.handleResize}):null,u.default.createElement("div",{style:f,ref:function(t){e.nodeRef=t}}))}}]),t}(u.default.Component);h.propTypes={};var p=h;t.default=p},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.color,i=(0,a.default)(e,["classes","className","color"]);return s.default.createElement("span",(0,o.default)({className:(0,l.default)(t.root,t["color".concat((0,c.capitalize)(r))],n)},i))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=n(14),d=function(e){return{root:{position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),willChange:"left, width"},colorPrimary:{backgroundColor:e.palette.primary.main},colorSecondary:{backgroundColor:e.palette.secondary.main}}};t.styles=d,r.propTypes={};var f=(0,u.default)(d)(r);t.default=f},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.direction,i=e.onClick,u=e.visible,c=(0,a.default)(e,["classes","className","direction","onClick","visible"]),d=(0,l.default)(t.root,n);return u?s.default.createElement(f.default,(0,o.default)({className:d,onClick:i,tabIndex:-1},c),"left"===r?p:m):s.default.createElement("div",{className:d})}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(217)),c=i(n(218)),d=i(n(5)),f=i(n(26)),h={root:{color:"inherit",flex:"0 0 56px"}};t.styles=h;var p=s.default.createElement(u.default,null),m=s.default.createElement(c.default,null);r.propTypes={},r.defaultProps={visible:!0};var g=(0,d.default)(h,{name:"MuiTabScrollButton"})(r);t.default=g},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(4)),o=r(n(8)),a=r(n(9)),s=r(n(10)),l=r(n(11)),u=r(n(12)),c=r(n(7)),d=r(n(3)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(5)),m=r(n(26)),g=n(14),v=(r(n(128)),function(e){return{root:(0,d.default)({},e.typography.button,(0,c.default)({maxWidth:264,position:"relative",minWidth:72,padding:0,minHeight:48,flexShrink:0,overflow:"hidden"},e.breakpoints.up("md"),{minWidth:160})),labelIcon:{minHeight:72},textColorInherit:{color:"inherit",opacity:.7,"&$selected":{opacity:1},"&$disabled":{opacity:.4}},textColorPrimary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled}},textColorSecondary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.text.disabled}},selected:{},disabled:{},fullWidth:{flexShrink:1,flexGrow:1,maxWidth:"none"},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"},labelContainer:(0,c.default)({paddingTop:6,paddingBottom:6,paddingLeft:12,paddingRight:12},e.breakpoints.up("md"),{paddingLeft:24,paddingRight:24}),label:(0,c.default)({fontSize:e.typography.pxToRem(14),whiteSpace:"normal"},e.breakpoints.up("md"),{fontSize:e.typography.pxToRem(13)}),labelWrapped:(0,c.default)({},e.breakpoints.down("sm"),{fontSize:e.typography.pxToRem(12)})}});t.styles=v;var y=function(e){function t(){var e,n;(0,o.default)(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=(0,s.default)(this,(e=(0,l.default)(t)).call.apply(e,[this].concat(i))),n.label=null,n.state={labelWrapped:!1},n.handleChange=function(e){var t=n.props,r=t.onChange,i=t.value,o=t.onClick;r&&r(e,i),o&&o(e)},n.checkTextWrap=function(){if(n.labelRef){var e=n.labelRef.getClientRects().length>1;n.state.labelWrapped!==e&&n.setState({labelWrapped:e})}},n}return(0,u.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){this.checkTextWrap()}},{key:"componentDidUpdate",value:function(e,t){this.state.labelWrapped===t.labelWrapped&&this.checkTextWrap()}},{key:"render",value:function(){var e,t,n=this,r=this.props,o=r.classes,a=r.className,s=r.disabled,l=r.fullWidth,u=r.icon,p=r.indicator,v=r.label,y=(r.onChange,r.selected),b=r.textColor,w=(r.value,(0,i.default)(r,["classes","className","disabled","fullWidth","icon","indicator","label","onChange","selected","textColor","value"]));void 0!==v&&(t=f.default.createElement("span",{className:o.labelContainer},f.default.createElement("span",{className:(0,h.default)(o.label,(0,c.default)({},o.labelWrapped,this.state.labelWrapped)),ref:function(e){n.labelRef=e}},v)));var E=(0,h.default)(o.root,o["textColor".concat((0,g.capitalize)(b))],(e={},(0,c.default)(e,o.disabled,s),(0,c.default)(e,o.selected,y),(0,c.default)(e,o.labelIcon,u&&t),(0,c.default)(e,o.fullWidth,l),e),a);return f.default.createElement(m.default,(0,d.default)({focusRipple:!0,className:E,role:"tab","aria-selected":y,disabled:s},w,{onClick:this.handleChange}),f.default.createElement("span",{className:o.wrapper},u,t),p)}}]),t}(f.default.Component);y.propTypes={},y.defaultProps={disabled:!1,textColor:"inherit"};var b=(0,p.default)(v,{name:"MuiTab"})(y);t.default=b},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(594))},function(e,t,n){"use strict";function r(e){var t=e.autoComplete,n=e.autoFocus,r=e.children,i=e.className,h=e.defaultValue,p=e.error,m=e.FormHelperTextProps,g=e.fullWidth,v=e.helperText,y=e.id,b=e.InputLabelProps,w=e.inputProps,E=e.InputProps,T=e.inputRef,_=e.label,k=e.multiline,x=e.name,S=e.onBlur,C=e.onChange,O=e.onFocus,A=e.placeholder,P=e.required,I=e.rows,R=e.rowsMax,N=e.select,M=e.SelectProps,D=e.type,L=e.value,j=(0,a.default)(e,["autoComplete","autoFocus","children","className","defaultValue","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","select","SelectProps","type","value"]),W=v&&y?"".concat(y,"-helper-text"):void 0,B=s.default.createElement(l.default,(0,o.default)({autoComplete:t,autoFocus:n,defaultValue:h,fullWidth:g,multiline:k,name:x,rows:I,rowsMax:R,type:D,value:L,id:y,inputRef:T,onBlur:S,onChange:C,onFocus:O,placeholder:A,inputProps:w},E));return s.default.createElement(c.default,(0,o.default)({"aria-describedby":W,className:i,error:p,fullWidth:g,required:P},j),_&&s.default.createElement(u.default,(0,o.default)({htmlFor:y},b),_),N?s.default.createElement(f.default,(0,o.default)({value:L,input:B},M),r):B,v&&s.default.createElement(d.default,(0,o.default)({id:W},m),v))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(13)),i(n(2)),i(n(66))),u=i(n(204)),c=i(n(200)),d=i(n(202)),f=i(n(134));r.propTypes={},r.defaultProps={required:!1,select:!1};var h=r;t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(596))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(8)),a=r(n(9)),s=r(n(10)),l=r(n(11)),u=r(n(12)),c=r(n(7)),d=r(n(1)),f=(r(n(2)),r(n(13)),r(n(6))),h=r(n(122)),p=r(n(5)),m=n(14),g=(r(n(36)),r(n(125))),v=r(n(211)),y=function(e){return{popper:{zIndex:e.zIndex.tooltip,opacity:.9},tooltip:{backgroundColor:e.palette.grey[700],borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat(e.typography.round(1.4),"em"),maxWidth:300},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat(e.typography.round(16/14),"em")},tooltipPlacementLeft:(0,c.default)({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:(0,c.default)({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:(0,c.default)({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:(0,c.default)({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}};t.styles=y;var b=function(e){function t(e){var n;return(0,o.default)(this,t),n=(0,s.default)(this,(0,l.default)(t).call(this)),n.childrenRef=null,n.closeTimer=null,n.defaultId=null,n.enterTimer=null,n.focusTimer=null,n.ignoreNonTouchEvents=!1,n.isControlled=null,n.leaveTimer=null,n.touchTimer=null,n.onRootRef=function(e){n.childrenRef=e},n.handleFocus=function(e){e.persist(),n.focusTimer=setTimeout(function(){n.handleEnter(e)})},n.handleEnter=function(e){var t=n.props,r=t.children,i=t.enterDelay,o=r.props;"focus"===e.type&&o.onFocus&&o.onFocus(e),"mouseover"===e.type&&o.onMouseOver&&o.onMouseOver(e),n.ignoreNonTouchEvents&&"touchstart"!==e.type||(n.childrenRef.setAttribute("title",""),clearTimeout(n.enterTimer),clearTimeout(n.leaveTimer),i?(e.persist(),n.enterTimer=setTimeout(function(){n.handleOpen(e)},i)):n.handleOpen(e))},n.handleOpen=function(e){n.isControlled||n.state.open||n.setState({open:!0}),n.props.onOpen&&n.props.onOpen(e)},n.handleLeave=function(e){var t=n.props,r=t.children,i=t.leaveDelay,o=r.props;"blur"===e.type&&o.onBlur&&o.onBlur(e),"mouseleave"===e.type&&o.onMouseLeave&&o.onMouseLeave(e),clearTimeout(n.enterTimer),clearTimeout(n.leaveTimer),i?(e.persist(),n.leaveTimer=setTimeout(function(){n.handleClose(e)},i)):n.handleClose(e)},n.handleClose=function(e){n.isControlled||n.setState({open:!1}),n.props.onClose&&n.props.onClose(e),clearTimeout(n.closeTimer),n.closeTimer=setTimeout(function(){n.ignoreNonTouchEvents=!1},n.props.theme.transitions.duration.shortest)},n.handleTouchStart=function(e){n.ignoreNonTouchEvents=!0;var t=n.props,r=t.children,i=t.enterTouchDelay;r.props.onTouchStart&&r.props.onTouchStart(e),clearTimeout(n.leaveTimer),clearTimeout(n.closeTimer),clearTimeout(n.touchTimer),e.persist(),n.touchTimer=setTimeout(function(){n.handleEnter(e)},i)},n.handleTouchEnd=function(e){var t=n.props,r=t.children,i=t.leaveTouchDelay;r.props.onTouchEnd&&r.props.onTouchEnd(e),clearTimeout(n.touchTimer),clearTimeout(n.leaveTimer),e.persist(),n.leaveTimer=setTimeout(function(){n.handleClose(e)},i)},n.isControlled=null!=e.open,n.state={open:null},n.isControlled||(n.state.open=!1),n}return(0,u.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){this.defaultId="mui-tooltip-".concat(Math.round(1e5*Math.random())),this.props.open&&this.forceUpdate()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.closeTimer),clearTimeout(this.enterTimer),clearTimeout(this.focusTimer),clearTimeout(this.leaveTimer),clearTimeout(this.touchTimer)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.classes,o=t.disableFocusListener,a=t.disableHoverListener,s=t.disableTouchListener,l=t.id,u=t.open,p=t.placement,g=t.PopperProps,y=t.theme,b=t.title,w=t.TransitionComponent,E=t.TransitionProps,T=this.isControlled?u:this.state.open;""===b&&(T=!1);var _={"aria-describedby":T?l||this.defaultId:null,title:T||"string"!==typeof b?null:b};return s||(_.onTouchStart=this.handleTouchStart,_.onTouchEnd=this.handleTouchEnd),a||(_.onMouseOver=this.handleEnter,_.onMouseLeave=this.handleLeave),o||(_.onFocus=this.handleFocus,_.onBlur=this.handleLeave),d.default.createElement(d.default.Fragment,null,d.default.createElement(h.default,{rootRef:this.onRootRef},d.default.cloneElement(n,_)),d.default.createElement(v.default,(0,i.default)({className:r.popper,placement:p,anchorEl:this.childrenRef,open:T,id:_["aria-describedby"],transition:!0},g),function(t){var n=t.placement,o=t.TransitionProps;return d.default.createElement(w,(0,i.default)({timeout:y.transitions.duration.shorter},o,E),d.default.createElement("div",{className:(0,f.default)(r.tooltip,(0,c.default)({},r.touch,e.ignoreNonTouchEvents),r["tooltipPlacement".concat((0,m.capitalize)(n.split("-")[0]))])},b))}))}}]),t}(d.default.Component);b.propTypes={},b.propTypes={},b.defaultProps={disableFocusListener:!1,disableHoverListener:!1,disableTouchListener:!1,enterDelay:0,enterTouchDelay:1e3,leaveDelay:0,leaveTouchDelay:1500,placement:"bottom",TransitionComponent:g.default};var w=(0,p.default)(y,{name:"MuiTooltip",withTheme:!0})(b);t.default=w},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(598))},function(e,t,n){"use strict";var r=n(46),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(1)),s=(i(n(2)),r(n(133))),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){function n(e){return a.default.createElement(t,(0,o.default)({fullScreen:(0,s.isWidthDown)(i,e.width)},e))}var r=e.breakpoint,i=void 0===r?"sm":r;return n.propTypes={},(0,s.default)()(n)}},u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(600))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(35))),h=n(28),p=r(n(29)),m=n(56),g={entering:{transform:"scale(1)"},entered:{transform:"scale(1)"}},v=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.handleEnter=function(e){var t=n.props.theme;(0,m.reflow)(e);var r=(0,m.getTransitionProps)(n.props,{mode:"enter"});e.style.webkitTransition=t.transitions.create("transform",r),e.style.transition=t.transitions.create("transform",r),n.props.onEnter&&n.props.onEnter(e)},n.handleExit=function(e){var t=n.props.theme,r=(0,m.getTransitionProps)(n.props,{mode:"exit"});e.style.webkitTransition=t.transitions.create("transform",r),e.style.transition=t.transitions.create("transform",r),n.props.onExit&&n.props.onExit(e)},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=(e.onEnter,e.onExit,e.style),r=(e.theme,(0,o.default)(e,["children","onEnter","onExit","style","theme"])),a=(0,i.default)({},n,d.default.isValidElement(t)?t.props.style:{});return d.default.createElement(f.default,(0,i.default)({appear:!0,onEnter:this.handleEnter,onExit:this.handleExit},r),function(e,n){return d.default.cloneElement(t,(0,i.default)({style:(0,i.default)({transform:"scale(0)",willChange:"transform"},g[e],a)},n))})}}]),t}(d.default.Component);v.propTypes={},v.defaultProps={timeout:{enter:h.duration.enteringScreen,exit:h.duration.leavingScreen}};var y=(0,p.default)()(v);t.default=y},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return d});var a=n(1),s=n.n(a),l=n(127),u=n(602),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={drawerOpen:!1},n.drawerWidth=250,n}return o(t,e),c(t,[{key:"componentWillMount",value:function(){this.setState({drawerOpen:this.props.drawerOpen})}},{key:"componentWillReceiveProps",value:function(e){this.setState({drawerOpen:e.drawerOpen})}},{key:"render",value:function(){var e=this,t=this.props.a;return s.a.createElement(l.d,{anchor:this.props.side,open:this.state.drawerOpen,onClose:function(){return e.props.toggleDrawer()},onOpen:function(){return e.props.toggleDrawer()}},s.a.createElement("div",{tabIndex:0,role:"button"},s.a.createElement("div",{style:{width:this.drawerWidth}},s.a.createElement(l.b,{style:{paddingTop:this.props.data.getButtonHeight()}},this.props.data.getNavbarData().map(function(n,r){return s.a.createElement(u.a,{data:e.props.data,name:e.props.name,pageTitle:e.props.pageTitle,nav:n,key:"sbit-"+r,a:t})})))))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return y});var a=n(1),s=n.n(a),l=n(127),u=n(206),c=n.n(u),d=n(85),f=n.n(d),h=n(603),p=n.n(h),m=n(221),g=n.n(m),v=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),y=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={open:!1},n.handleClick=n.handleClick.bind(n),n.handleLinkClick=n.handleLinkClick.bind(n),n.getLink=n.getLink.bind(n),n.firstPadding="15px",n.secondPadding="30px",n}return o(t,e),v(t,[{key:"handleClick",value:function(){this.setState({open:!this.state.open})}},{key:"handleLinkClick",value:function(e){if(window){var t=""+this.props.name+this.props.nav.links[e];"Home"===this.props.nav.title&&(t=this.props.nav.links[e]),window.location.href=t}}},{key:"getLink",value:function(e){var t=""+this.props.name+this.props.nav.links[e];return"Home"===this.props.nav.title&&(t=this.props.nav.links[e]),t}},{key:"render",value:function(){var e=this,t=this.props.a;return s.a.createElement("div",null,s.a.createElement(l.c,{button:!0,onClick:this.handleClick},s.a.createElement(c.a,{style:{paddingLeft:this.firstPadding},primary:this.props.nav.title}),this.state.open?s.a.createElement(p.a,null):s.a.createElement(g.a,null)),s.a.createElement(f.a,{in:this.state.open,timeout:"auto",unmountOnExit:!0},s.a.createElement(l.b,{component:"div"},this.props.nav.names.map(function(n,r){return s.a.createElement(l.c,{button:!0,key:n+"-"+r,component:"a",href:e.getLink(r),onClick:t},s.a.createElement(c.a,{style:{paddingLeft:e.secondPadding},primary:n,disabled:e.props.pageTitle===e.props.nav.links[r],key:n+"-li-"+r}))}))))}}]),t}(a.Component)},function(e,t,n){"use strict";var r=n(76);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(106)),a=(0,o.default)(i.default.createElement("g",null,i.default.createElement("path",{d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"})),"ExpandLess");t.default=a},function(e,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 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 o(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)}n.d(t,"a",function(){return j});var a=n(1),s=n.n(a),l=n(606),u=(n.n(l),n(607)),c=(n.n(u),n(609)),d=(n.n(c),n(610)),f=n(621),h=n(622),p=n(624),m=n(643),g=n(644),v=n(87),y=n.n(v),b=n(89),w=n.n(b),E=n(40),T=n.n(E),_=n(222),k=n.n(_),x=n(15),S=n.n(x),C=n(32),O=(n.n(C),n(792)),A=n(794),P=n(796),I=n(797),R=n(841),N=n(842),M=n(844),D=n(845),L=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();Object(_.configureAnchors)({offset:-64,scrollDuration:1e3});var j=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.updateDim=function(){window.innerWidth<=n.minWidth&&!n.state.minimized?n.setState({minimized:!0}):window.innerWidth>n.minWidth&&n.state.minimized&&n.setState({minimized:!1});var e=Object.keys(n.refs);if(e.length>0){var t=n.state.initPositions;e.forEach(function(e){var r=S.a.findDOMNode(n.refs[e]);r&&(t[e]=r.getBoundingClientRect().top+window.scrollY)}),n.setState({initPositions:t})}},n.state={contentData:null,setEditData:null,firebase:null,tempEditType:"",tempEditContent:"",canEdit:!1,currentEmail:"",pageTitle:"",newPage:"",isContent:!1,spyPositions:{},initPositions:{}},n.possibleTypes=["MARKDOWN","LATEX","IMAGE","SPECIAL"],window.scrollTo(0,0),window.addEventListener("scroll",function(){var e=n.state.initPositions,t=Object.keys(e);if(t.length>0){var r=n.state.spyPositions,i=window.scrollY;t.forEach(function(t){r[t]=e[t]-i}),n.setState({spyPositions:r})}});var o=window.setInterval(function(){var e=Object.keys(n.refs);if(e.length>0){var t=n.state.initPositions;e.forEach(function(e){var r=S.a.findDOMNode(n.refs[e]);r&&(t[e]=r.getBoundingClientRect().top)}),n.setState({initPositions:t}),window.clearInterval(o)}},20);return n.minWidth=1e3,window.addEventListener("resize",n.updateDim),n}return o(t,e),L(t,[{key:"componentWillMount",value:function(){var e=this;this.setState({contentData:this.props.contentData,setEditData:this.props.setEditData,firebase:this.props.firebase,pageTitle:this.props.pageTitle}),this.props.edit&&this.props.firebase.auth().onAuthStateChanged(function(t){if(t)e.setState({canEdit:!0,currentEmail:t.email});else{var n=new e.props.firebase.auth.GoogleAuthProvider;e.props.firebase.auth().signInWithPopup(n).then(function(t){var n=t.user,r=n.email.split("@")[1];"uw.edu"===r||"washington.edu"===r||"u.washington.edu"===r?e.setState({canEdit:!0,currentEmail:n.email}):(alert("email not allowed, your email has been logged and will be reported to igem administration"),e.props.firebase.database().ref("evilPeople").push(n.email))}).catch(function(e){var t=e.code,n=e.message,r=e.email,i=e.credential;console.log(t,n,r,i,"error, email did not work")})}}),window.innerWidth<=this.minWidth&&this.setState({minimized:!0})}},{key:"componentWillReceiveProps",value:function(e){this.setState({contentData:e.contentData,setEditData:e.setEditData,firebase:this.props.firebase})}},{key:"filterToPage",value:function(){if(this.state.contentData){var e=0,t=!0,n=!1,r=void 0;try{for(var i,o=this.state.contentData[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=i.value;if(a.pageTitle===this.state.pageTitle)return this.pageIndex=e,a;e++}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}return null}},{key:"storeWhoEdit",value:function(){var e=this,t=this.state.currentEmail,n=this.state.tempEditContent,r=this.state.pageTitle,i=this.props.firebase.auth().currentUser?this.props.firebase.auth().currentUser:null,o=i?i.uid:"",a=i&&i.displayName?i.displayName:"",s={email:t,tempEditContent:n,uid:o,displayName:a};this.props.firebase.database().ref("editData/"+r).push(Object.assign({},s,{timestamp:this.props.firebase.database.ServerValue.TIMESTAMP}),function(){e.setState({setEditData:null,tempEditContent:null,tempEditType:null})})}},{key:"createSpecial",value:function(e){var t=null,n=e.split("\n");switch(n[0].trim()){case"HOMEPAGE":var r=n.slice(1),i={};r.forEach(function(e){var t=e.split("="),n=t[0].trim(),r=t[1].trim();i[n]=r}),t=s.a.createElement("div",null,s.a.createElement(d.a,{params:i}));break;case"CRAFTY":t=s.a.createElement("div",null,s.a.createElement(h.a,{text:n.slice(1).join()}));break;case"SECTION":var o=n[1];t=s.a.createElement("div",{id:"spy-"+o,ref:"spy-"+o},s.a.createElement(k.a,{id:o},s.a.createElement("div",null)));break;case"HEADER":var a=n.slice(1),l={};a.forEach(function(e){var t=e.split("="),n=t[0].trim(),r=t[1].trim();l[n]=r}),t=s.a.createElement("div",null,s.a.createElement(m.a,{params:l}));break;case"TEAM":var u=n.slice(1),c=[];u.forEach(function(e){var t=e.split(";"),n={};t.forEach(function(e){var t=e.split("="),r=t[0].trim(),i=t[1].trim();n[r]=i}),c.push(n)}),t=s.a.createElement("div",null,s.a.createElement(p.a,{data:c}));break;case"SPONSORS":var f=n.slice(1),v=[];f.forEach(function(e){var t=e.split(";"),n={};t.forEach(function(e){var t=e.split("="),r=t[0].trim(),i=t[1].trim();n[r]=i}),v.push(n)}),t=s.a.createElement("div",null,s.a.createElement(R.a,{data:v}));break;case"SUBIMAGES":var y=Number(n[1].split("=")[1].trim()),b=n.slice(2),w=[];b.forEach(function(e){var t=e.split(";"),n={};t.forEach(function(e){var t=e.split("="),r=t[0].trim(),i=t[1].trim();n[r]=i}),w.push(n)}),t=s.a.createElement("div",null,s.a.createElement(g.a,{maxImagesPerRow:y,data:w}));break;case"SEP":t=s.a.createElement("div",{style:{margin:"auto",marginTop:30,marginBottom:5,width:"33%",height:5,backgroundColor:"#420dab"}}," ");break;case"TAB":var E=e.split("===").slice(1),T=E.map(function(e){var t=e.split("\n");return{title:t[1],data:t.slice(2).join("\n")}});t=s.a.createElement("div",null,s.a.createElement(A.a,{tabObjs:T,updateDim:this.updateDim}));break;case"ACCORDION":var _=e.split("===").slice(1),x=_.map(function(e){var t=e.split("\n");return{title:t[1],data:t.slice(2).join("\n")}});t=s.a.createElement("div",null,s.a.createElement(N.a,{accObjs:x}));break;case"PDF":var S=n[1];t=s.a.createElement("div",{style:{margin:"0",textAlign:"center"}},s.a.createElement(P.a,{pdfLink:S}));break;case"GALLERY":var C=n.slice(1),O=[];C.forEach(function(e){var t=e.split(";"),n={};t.forEach(function(e){var t=e.split("="),r=t[0].trim(),i=t[1].trim();"width"!==r&&"height"!==r||(i=Number(i)),n[r]=i}),O.push(n)}),t=s.a.createElement("div",null,s.a.createElement(I.a,{photos:O}));break;case"SPLITVIEW":var L=e.split("===").slice(1),j=L.map(function(e){var t=e.split("\n");return{title:t[1],data:t.slice(2).join("\n")}});t=s.a.createElement("div",null,s.a.createElement(M.a,{spObjs:j}));break;case"NAVIGATION":var W=n.slice(1),B={};W.forEach(function(e){e.split(";").forEach(function(e){var t=e.split("="),n=t[0].trim(),r=t[1].trim();B[n]=r})}),t=s.a.createElement("div",null,s.a.createElement(D.a,{navParams:B}));break;case"VIDEO":var F=n[1];t=s.a.createElement("div",{style:{marginTop:20,marginBottom:20,textAlign:"center"}},s.a.createElement("video",{width:"95%",height:"auto",controls:!0,style:{margin:"auto",boxShadow:"5px 5px 10px gray"}},s.a.createElement("source",{src:F,type:"video/mp4"}),"Your browser does not support the video tag."));break;default:t=s.a.createElement("div",{className:"stub-div"})}return t}},{key:"generateSegment",value:function(e,t,n){var r=this,i=null;switch(e.type){case"MARKDOWN":i=s.a.createElement("div",{style:{marginLeft:"5%",marginRight:"5%"},className:"md"},s.a.createElement(T.a,{clear:!0,cascade:!0,duration:500},y()().use(w.a).processSync(e.data).contents));break;case"LATEX":i=s.a.createElement(u.BlockMath,{style:{marginLeft:"5%",marginRight:"5%"}},e.data);break;case"IMAGE":var o=e.data.split(","),a=o.slice(2),l=a.map(function(e){var t=e.split(":");return{K:t[0].trim(),V:t[1].trim()}});i=s.a.createElement(f.a,{style:{marginLeft:"5%",marginRight:"5%"},imageUrl:o[0].trim(),alt:o[1].trim(),params:l});break;case"SPECIAL":i=this.createSpecial(e.data);break;default:i=s.a.createElement("div",null,"stub div")}var c=!1;return this.props.edit&&this.state.setEditData&&this.state.setEditData.index===t&&(c=!0),s.a.createElement("div",{key:"segment"+t,className:(this.props.edit?"editBorder":"")+" "+(c?"greenBorder":"")},i,this.props.edit&&s.a.createElement("div",null,!c&&s.a.createElement("div",null,s.a.createElement("button",{onClick:function(){r.props.setEdit(r.state.pageTitle,t),r.setState({tempEditContent:null,tempEditType:null})}},"edit"),s.a.createElement("button",{style:{margin:10},onClick:function(){var e=n;e.content.splice(t,0,{type:"MARKDOWN",data:"Insert text"}),r.props.firebase.database().ref("pageData/"+r.pageIndex).set(e),r.props.setEdit(r.props.pageTitle,t),r.setState({setEditData:null,tempEditContent:null,tempEditType:null})}},"insert before"),s.a.createElement("button",{style:{margin:10},onClick:function(){var e=n;e.content.splice(t+1,0,{type:"MARKDOWN",data:"Insert text"}),r.props.firebase.database().ref("pageData/"+r.pageIndex).set(e),r.props.setEdit(r.props.pageTitle,t+1),r.setState({setEditData:null,tempEditContent:null,tempEditType:null})}},"insert after"),s.a.createElement("button",{onClick:function(){var e=n;e.content.splice(t,1),r.props.firebase.database().ref("pageData/"+r.pageIndex).set(e),r.setState({setEditData:null,tempEditContent:null,tempEditType:null})}},"delete")),c&&s.a.createElement("div",null,s.a.createElement("select",{value:null!==this.state.tempEditType?this.state.tempEditType:e.type,onChange:function(e){r.setState({tempEditType:e.target.value})}},this.possibleTypes.map(function(e){return s.a.createElement("option",{value:e,key:e},e)})),s.a.createElement("button",{onClick:function(){var i=n;i.content[t]={data:null!==r.state.tempEditContent?r.state.tempEditContent:e.data,type:null!==r.state.tempEditType?r.state.tempEditType:e.type},"/Team"===r.state.pageTitle&&-1===r.state.currentEmail.indexOf("wkwok16")||r.props.firebase.database().ref("pageData/"+r.pageIndex).set(i),r.storeWhoEdit()}},"submit"),s.a.createElement("button",{onClick:function(){r.setState({setEditData:null,tempEditContent:null,tempEditType:null})}},"cancel"),s.a.createElement("br",null),s.a.createElement("textarea",{style:{margin:"auto"},cols:100,rows:30,value:null!==this.state.tempEditContent?this.state.tempEditContent:e.data,onChange:function(e){r.setState({tempEditContent:e.target.value})}}))))}},{key:"submitNewPage",value:function(){var e=this;if(this.state.newPage&&"/"===this.state.newPage[0]){var t={pageTitle:this.state.newPage,isContent:this.state.isContent},n=this.state.contentData;n.push(t),this.props.firebase.database().ref("pageData").set(n,function(){e.setState({newPage:"",pageTitle:e.state.newPage,isContent:!1})})}else alert("error, invalid string")}},{key:"render",value:function(){var e=this,t=this.filterToPage(),n=[],r=this.state.contentData?this.state.contentData.reduce(function(e,t){return e.push(t.pageTitle),e},[]):[];if(t&&!t.content&&(t.content=[]),t&&!t.isContent||this.state.minimized)n=t.content.map(function(n,r){return e.generateSegment(n,r,t)});else if(t){var i=[];t.content.forEach(function(e,t){"SPECIAL"===e.type&&"SECTION"===e.data.split("\n")[0]&&i.push(e)}),n=s.a.createElement("div",null,this.generateSegment(t.content[0],0,t),s.a.createElement(C.Grid,{fluid:!0},s.a.createElement(C.Row,null,s.a.createElement(C.Col,{md:3},s.a.createElement(O.a,{spyArr:i,positions:this.state.spyPositions,updateDim:this.updateDim})),s.a.createElement(C.Col,{md:8},t.content.map(function(n,r){return r>0?e.generateSegment(n,r,t):s.a.createElement("div",{key:"blank"+r})})))))}return s.a.createElement("div",{style:{marginTop:0,marginBottom:50}}," ",(this.props.edit&&this.state.canEdit||!this.props.edit)&&s.a.createElement("div",null,this.props.edit&&s.a.createElement("div",{style:{marginTop:80}},s.a.createElement("h1",null,"Choose a page to edit:"),s.a.createElement("select",{value:this.state.pageTitle?this.state.pageTitle:this.props.pageTitle,onChange:function(t){e.setState({pageTitle:t.target.value})}},r.map(function(e){return s.a.createElement("option",{value:e,key:e},e)})),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("h1",null,"Create new page"),s.a.createElement("p",null,"Must have / before it, and correct capitalization"),s.a.createElement("input",{value:this.state.newPage,onChange:function(t){e.setState({newPage:t.target.value})}}),s.a.createElement("br",null),s.a.createElement("input",{type:"checkbox",checked:this.state.isContent,onChange:function(t){e.setState({isContent:!e.state.isContent})}}),"Is content",s.a.createElement("br",null),s.a.createElement("button",{onClick:function(){e.submitNewPage()}},"submit new page"),s.a.createElement("br",null),s.a.createElement("br",null)),n&&n,this.props.edit&&s.a.createElement("div",null,s.a.createElement("button",{style:{margin:10},onClick:function(){var n=t;n.content.push({type:"MARKDOWN",data:"Insert text"}),e.props.firebase.database().ref("pageData/"+e.pageIndex).set(n),e.setState({setEditData:null,tempEditContent:null,tempEditType:null})}},"insert after"),s.a.createElement("button",{onClick:function(){e.props.firebase.auth().signOut()}},"sign out"))))}}]),t}(a.Component)},function(e,t){},function(e,t,n){!function(e,r){r(t,n(1),n(2),n(608))}(0,function(e,t,n,r){"use strict";t=t&&"default"in t?t.default:t,n=n&&"default"in n?n.default:n,r=r&&"default"in r?r.default:r;var i=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},s=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},l=function(e,l){var u=l.displayMode,c=function(n){function l(e){i(this,l);var t=s(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return t.usedProp=e.math?"math":"children",t.state=t.createNewState(null,e),t}return a(l,n),o(l,[{key:"componentWillReceiveProps",value:function(){this.setState(this.createNewState)}},{key:"shouldComponentUpdate",value:function(e){return e[this.usedProp]!==this.props[this.usedProp]}},{key:"createNewState",value:function(e,t){try{return{html:this.generateHtml(t),error:void 0}}catch(e){if(e instanceof r.ParseError||e instanceof TypeError)return{error:e};throw e}}},{key:"generateHtml",value:function(e){var t=e.errorColor,n=e.renderError;return r.renderToString(e[this.usedProp],{displayMode:u,errorColor:t,throwOnError:!!n})}},{key:"render",value:function(){var n=this.state,r=n.error,i=n.html,o=this.props.renderError;return r?o?o(r):t.createElement(e,{html:""+r.message}):t.createElement(e,{html:i})}}]),l}(t.Component);return c.propTypes={children:n.string,errorColor:n.string,math:n.string,renderError:n.func},c},u=function(e){var n=e.html;return t.createElement("span",{dangerouslySetInnerHTML:{__html:n}})};u.propTypes={html:n.string.isRequired};var c=l(u,{displayMode:!1}),d=function(e){var n=e.html;return t.createElement("div",{dangerouslySetInnerHTML:{__html:n}})};d.propTypes={html:n.string.isRequired};var f=l(d,{displayMode:!0});e.InlineMath=c,e.BlockMath=f,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){!function(t,n){e.exports=n()}(0,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.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=63)}([function(e,t,n){"use strict";var r=n(57),i=n.n(r),o=n(18),a=n.n(o),s=n(12),l=n(30),u=n(28),c=n(5),d=n(13),f=n(19),h=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xa3"],p=function(e,t,n){return u.a[n][e]&&u.a[n][e].replace&&(e=u.a[n][e].replace),{value:e,metrics:l.a.getCharacterMetrics(e,t,n)}},m=function(e,t,n,r,i){var o=p(e,t,n),a=o.metrics;e=o.value;var l=void 0;if(a){var u=a.italic;"text"===n&&(u=0),l=new s.a.symbolNode(e,a.height,a.depth,u,a.skew,a.width,i)}else"undefined"!==typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"'"),l=new s.a.symbolNode(e,0,0,0,0,0,i);if(r){l.maxFontSize=r.sizeMultiplier,r.style.isTight()&&l.classes.push("mtight");var c=r.getColor();c&&(l.style.color=c)}return l},g=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return n&&n.fontFamily&&"boldsymbol"===n.fontFamily&&p(e,"Main-Bold",t).metrics?m(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===u.a[t][e].font?m(e,"Main-Regular",t,n,r):m(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},v=function(e,t,n,r,i){if("mathord"===i){var o=y(e,t,n,r);return m(e,o.fontName,t,n,r.concat([o.fontClass]))}if("textord"===i){if("ams"===(u.a[t][e]&&u.a[t][e].font)){var a=I("amsrm",n.fontWeight,n.fontShape);return m(e,a,t,n,r.concat("amsrm",n.fontWeight,n.fontShape))}var s=I("textrm",n.fontWeight,n.fontShape);return m(e,s,t,n,r.concat(n.fontWeight,n.fontShape))}throw new Error("unexpected type: "+i+" in mathDefault")},y=function(e,t,n,r){return/[0-9]/.test(e.charAt(0))||c.a.contains(h,e)?{fontName:"Main-Italic",fontClass:"mainit"}:{fontName:"Math-Italic",fontClass:"mathit"}},b=function(e,t,n,r){return p(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},w=function(e,t,n){var r=e.mode,i=e.value,o=["mord"],a=t.fontFamily;if(a){var s=void 0,l=void 0;if("boldsymbol"===a){var u=b(i,r);s=u.fontName,l=[u.fontClass]}else if("mathit"===a||c.a.contains(h,i)){var d=y(i,r,t,o);s=d.fontName,l=[d.fontClass]}else-1!==a.indexOf("math")||"math"===r?(s=D[a].fontName,l=[a]):(s=I(a,t.fontWeight,t.fontShape),l=[a,t.fontWeight,t.fontShape]);return p(i,s,r).metrics?m(i,s,r,t,o.concat(l)):v(i,r,t,o,n)}return v(i,r,t,o,n)},E=function(e){for(var t=0;t<e.length-1;t++)e[t].tryCombine(e[t+1])&&(e.splice(t+1,1),t--);return e},T=function(e){var t=0,n=0,r=0,i=!0,o=!1,s=void 0;try{for(var l,u=a()(e.children);!(i=(l=u.next()).done);i=!0){var c=l.value;c.height>t&&(t=c.height),c.depth>n&&(n=c.depth),c.maxFontSize>r&&(r=c.maxFontSize)}}catch(e){o=!0,s=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw s}}e.height=t,e.depth=n,e.maxFontSize=r},_=function(e,t,n,r){var i=new s.a.span(e,t,n,r);return T(i),i},k=function(e,t){var n=t.fontMetrics().defaultRuleThickness,r=d.a.ruleSpan(e,n,t);return r.height=n,r.style.height=5*r.height+"em",r.maxFontSize=1,r},x=function(e,t,n,r){var i=new s.a.anchor(e,t,n,r);return T(i),i},S=function(e){var t=new s.a.documentFragment(e);return T(t),t},C=function(e){if("individualShift"===e.positionType){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,i=r,o=1;o<t.length;o++){var s=-t[o].shift-i-t[o].elem.depth,l=s-(t[o-1].elem.height+t[o-1].elem.depth);i+=s,n.push({type:"kern",size:l}),n.push(t[o])}return{children:n,depth:r}}var u=void 0;if("top"===e.positionType){var c=e.positionData,d=!0,f=!1,h=void 0;try{for(var p,m=a()(e.children);!(d=(p=m.next()).done);d=!0){var g=p.value;c-="kern"===g.type?g.size:g.elem.height+g.elem.depth}}catch(e){f=!0,h=e}finally{try{!d&&m.return&&m.return()}finally{if(f)throw h}}u=c}else if("bottom"===e.positionType)u=-e.positionData;else{var v=e.children[0];if("elem"!==v.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)u=-v.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");u=-v.elem.depth}}return{children:e.children,depth:u}},O=function(e,t){var n=C(e),r=n.children,i=n.depth,o=0,l=!0,u=!1,c=void 0;try{for(var d,f=a()(r);!(l=(d=f.next()).done);l=!0){var h=d.value;if("elem"===h.type){var p=h.elem;o=Math.max(o,p.maxFontSize,p.height)}}}catch(e){u=!0,c=e}finally{try{!l&&f.return&&f.return()}finally{if(u)throw c}}o+=2;var m=_(["pstrut"],[]);m.style.height=o+"em";var g=[],v=i,y=i,b=i,w=!0,E=!1,T=void 0;try{for(var k,x=a()(r);!(w=(k=x.next()).done);w=!0){var S=k.value;if("kern"===S.type)b+=S.size;else{var O=S.elem,A=S.wrapperClasses||[],P=S.wrapperStyle||{},I=_(A,[m,O],void 0,P);I.style.top=-o-b-O.depth+"em",S.marginLeft&&(I.style.marginLeft=S.marginLeft),S.marginRight&&(I.style.marginRight=S.marginRight),g.push(I),b+=O.height+O.depth}v=Math.min(v,b),y=Math.max(y,b)}}catch(e){E=!0,T=e}finally{try{!w&&x.return&&x.return()}finally{if(E)throw T}}var R=_(["vlist"],g);R.style.height=y+"em";var N=void 0;if(v<0){var M=_(["vlist"],[]);M.style.height=-v+"em";var D=_(["vlist-s"],[new s.a.symbolNode("\u200b")]);N=[_(["vlist-r"],[R,D]),_(["vlist-r"],[M])]}else N=[_(["vlist-r"],[R])];var L=_(["vlist-t"],N);return 2===N.length&&L.classes.push("vlist-t2"),L.height=y,L.depth=-v,L},A=function(e,t){var n=e.value.body;return n=e.value.star?n.replace(/ /g,"\u2423"):n.replace(/ /g,"\xa0")},P=function(e,t){var n=_(["mord","rule"],[],t),r=Object(f.a)(e,t);return n.style.marginRight=r+"em",n},I=function(e,t,n){return R(e)+"-"+N(t,n)},R=function(e){var t="";switch(e){case"amsrm":t="AMS";break;case"textrm":t="Main";break;case"textsf":t="SansSerif";break;case"texttt":t="Typewriter";break;default:throw new Error("Invalid font provided: "+e)}return t},N=function(e,t){var n="";return"textbf"===e&&(n+="Bold"),"textit"===t&&(n+="Italic"),n||"Regular"},M={"\\qquad":{size:"2em",className:"qquad"},"\\quad":{size:"1em",className:"quad"},"\\enspace":{size:"0.5em",className:"enspace"},"\\;":{size:"0.277778em",className:"thickspace"},"\\:":{size:"0.22222em",className:"mediumspace"},"\\,":{size:"0.16667em",className:"thinspace"},"\\!":{size:"-0.16667em",className:"negativethinspace"}},D={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},L={vec:["vec",.471,.714]},j=function(e,t){var n=i()(L[e],3),r=n[0],o=n[1],a=n[2],l=new s.a.pathNode(r),u=new s.a.svgNode([l],{width:o+"em",height:a+"em",style:"width:"+o+"em",viewBox:"0 0 "+1e3*o+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),c=_(["overlay"],[u],t);return c.height=a,c.style.height=a+"em",c.style.width=o+"em",c};t.a={fontMap:D,makeSymbol:m,mathsym:g,makeSpan:_,makeLineSpan:k,makeAnchor:x,makeFragment:S,makeVList:O,makeOrd:w,makeVerb:A,makeGlue:P,staticSvg:j,svgData:L,tryCombineChars:E,spacingFunctions:M}},function(e,t,n){"use strict";var r=n(18),i=n.n(r),o=n(7),a=n.n(o),s=n(10),l=n.n(s),u=n(5),c=function(){function e(t,n){a()(this,e),this.type=t,this.attributes={},this.children=n||[]}return l()(e,[{key:"setAttribute",value:function(e,t){this.attributes[e]=t}},{key:"toNode",value:function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);var n=!0,r=!1,o=void 0;try{for(var a,s=i()(this.children);!(n=(a=s.next()).done);n=!0){var l=a.value;e.appendChild(l.toNode())}}catch(e){r=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return e}},{key:"toMarkup",value:function(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=u.a.escape(this.attributes[t]),e+='"');e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</"+this.type+">"}},{key:"toText",value:function(){return"mspace"===this.type?"0.16667em"===this.attributes.width?"\u2006":" ":this.children.map(function(e){return e.toText()}).join("")}}]),e}(),d=function(){function e(t){a()(this,e),this.text=t}return l()(e,[{key:"toNode",value:function(){return document.createTextNode(this.text)}},{key:"toMarkup",value:function(){return u.a.escape(this.text)}},{key:"toText",value:function(){return this.text}}]),e}();t.a={MathNode:c,TextNode:d}},function(e,t,n){"use strict";function r(e,t,n){var r=g(e,n),o=new a.a.MathNode("mrow",r),s=new a.a.MathNode("annotation",[new a.a.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new a.a.MathNode("semantics",[o,s]),u=new a.a.MathNode("math",[l]);return i.a.makeSpan(["katex-mathml"],[u])}n.d(t,"e",function(){return f}),n.d(t,"d",function(){return p}),n.d(t,"a",function(){return g}),n.d(t,"b",function(){return v}),t.c=r;var i=n(0),o=n(30),a=n(1),s=n(6),l=n(9),u=n(28),c=n(5),d=n(13),f=function(e,t){return u.a[t][e]&&u.a[t][e].replace&&(e=u.a[t][e].replace),new a.a.TextNode(e)},h=function(e,t){var n=t.fontFamily;if(!n)return null;var r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"bold-italic";var a=e.value;if(c.a.contains(["\\imath","\\jmath"],a))return null;u.a[r][a]&&u.a[r][a].replace&&(a=u.a[r][a].replace);var s=i.a.fontMap[n].fontName;return o.a.getCharacterMetrics(a,s,r)?i.a.fontMap[n].variant:null},p={},m={mi:"italic",mn:"normal",mtext:"normal"};p.mathord=function(e,t){var n=new a.a.MathNode("mi",[f(e.value,e.mode)]),r=h(e,t)||"italic";return r!==m[n.type]&&n.setAttribute("mathvariant",r),n},p.textord=function(e,t){var n=f(e.value,e.mode),r=h(e,t)||"normal",i=void 0;return i="text"===e.mode?new a.a.MathNode("mtext",[n]):/[0-9]/.test(e.value)?new a.a.MathNode("mn",[n]):"\\prime"===e.value?new a.a.MathNode("mo",[n]):new a.a.MathNode("mi",[n]),r!==m[i.type]&&i.setAttribute("mathvariant",r),i},p.bin=function(e,t){var n=new a.a.MathNode("mo",[f(e.value,e.mode)]),r=h(e,t);return"bold-italic"===r&&n.setAttribute("mathvariant",r),n},p.rel=function(e){return new a.a.MathNode("mo",[f(e.value,e.mode)])},p.open=function(e){return new a.a.MathNode("mo",[f(e.value,e.mode)])},p.close=function(e){return new a.a.MathNode("mo",[f(e.value,e.mode)])},p.inner=function(e){return new a.a.MathNode("mo",[f(e.value,e.mode)])},p.punct=function(e){var t=new a.a.MathNode("mo",[f(e.value,e.mode)]);return t.setAttribute("separator","true"),t},p.ordgroup=function(e,t){var n=g(e.value,t);return new a.a.MathNode("mrow",n)},p.supsub=function(e,t){var n=!1,r=void 0;e.value.base&&"horizBrace"===e.value.base.value.type&&!!e.value.sup===e.value.base.value.isOver&&(n=!0,r=e.value.base.value.isOver);var i=[v(e.value.base,t,!0)];e.value.sub&&i.push(v(e.value.sub,t,!0)),e.value.sup&&i.push(v(e.value.sup,t,!0));var o=void 0;if(n)o=r?"mover":"munder";else if(e.value.sub)if(e.value.sup){var s=e.value.base;o=s&&s.value.limits&&t.style===l.a.DISPLAY?"munderover":"msubsup"}else{var u=e.value.base;o=u&&u.value.limits&&t.style===l.a.DISPLAY?"munder":"msub"}else{var c=e.value.base;o=c&&c.value.limits&&t.style===l.a.DISPLAY?"mover":"msup"}return new a.a.MathNode(o,i)},p.spacing=function(e){var t=void 0;return"\\ "===e.value||"\\space"===e.value||" "===e.value||"~"===e.value?t=new a.a.MathNode("mtext",[new a.a.TextNode("\xa0")]):(t=new a.a.MathNode("mspace"),t.setAttribute("width",i.a.spacingFunctions[e.value].size)),t},p.horizBrace=function(e,t){var n=d.a.mathMLnode(e.value.label);return new a.a.MathNode(e.value.isOver?"mover":"munder",[v(e.value.base,t),n])},p.xArrow=function(e,t){var n=d.a.mathMLnode(e.value.label),r=void 0,i=void 0;if(e.value.body){var o=v(e.value.body,t);e.value.below?(i=v(e.value.below,t),r=new a.a.MathNode("munderover",[n,i,o])):r=new a.a.MathNode("mover",[n,o])}else e.value.below?(i=v(e.value.below,t),r=new a.a.MathNode("munder",[n,i])):r=new a.a.MathNode("mover",[n]);return r},p.mclass=function(e,t){var n=g(e.value.value,t);return new a.a.MathNode("mstyle",n)},p.raisebox=function(e,t){var n=new a.a.MathNode("mpadded",[v(e.value.body,t)]),r=e.value.dy.value.number+e.value.dy.value.unit;return n.setAttribute("voffset",r),n};var g=function(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r];n.push(v(i,t))}return n},v=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return new a.a.MathNode("mrow");if(p[e.type]){var r=p[e.type](e,t);return n&&"mrow"===r.type&&1===r.children.length?r.children[0]:r}throw new s.a("Got group of unknown type: '"+e.type+"'")}},function(e,t,n){"use strict";function r(e){for(var t=e.type,n=e.names,r=e.props,s=e.handler,l=e.htmlBuilder,u=e.mathmlBuilder,c={numArgs:r.numArgs,argTypes:r.argTypes,greediness:void 0===r.greediness?1:r.greediness,allowedInText:!!r.allowedInText,allowedInMath:void 0===r.allowedInMath||r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,handler:s},d=0;d<n.length;++d)a[n[d]]=c;t&&(l&&(i.d[t]=l),u&&(o.d[t]=u))}n.d(t,"a",function(){return a}),t.b=r,n.d(t,"c",function(){return s});var i=n(4),o=n(2),a={},s=function(e){return"ordgroup"===e.type?e.value:[e]}},function(e,t,n){"use strict";function r(e,t){e=JSON.parse(o()(e));var n=w(e,t,!0),r=g(["base"],n,t),i=g(["strut"]),a=g(["strut","bottom"]);i.style.height=r.height+"em",a.style.height=r.height+r.depth+"em",a.style.verticalAlign=-r.depth+"em";var s=g(["katex-html"],[i,a,r]);return s.setAttribute("aria-hidden","true"),s}n.d(t,"a",function(){return w}),n.d(t,"e",function(){return x}),n.d(t,"d",function(){return S}),n.d(t,"b",function(){return C}),t.c=r;var i=n(77),o=n.n(i),a=n(35),s=n.n(a),l=n(6),u=n(9),c=n(0),d=n(12),f=n(19),h=n(5),p=n(13),m=n(112),g=c.a.makeSpan,v=function(e,t){return e?h.a.contains(["mbin","mopen","mrel","mop","mpunct"],T(e,"right")):t},y=function(e,t){return e?h.a.contains(["mrel","mclose","mpunct"],T(e,"left")):t},b={display:u.a.DISPLAY,text:u.a.TEXT,script:u.a.SCRIPT,scriptscript:u.a.SCRIPTSCRIPT},w=function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[null,null],i=[],o=0;o<e.length;o++){var a=e[o],l=C(a,t);l instanceof d.a.documentFragment?i.push.apply(i,s()(l.children)):i.push(l)}for(var u=[r[0]&&g([r[0]],[],t)].concat(s()(i.filter(function(e){return e&&"mspace"!==e.classes[0]})),[r[1]&&g([r[1]],[],t)]),f=1;f<u.length-1;f++){var h=E(u[f],"left");"mbin"===h.classes[0]&&v(u[f-1],n)&&(h.classes[0]="mord");var p=E(u[f],"right");"mbin"===p.classes[0]&&y(u[f+1],n)&&(p.classes[0]="mord")}for(var w=[],k=0,x=0;x<i.length;x++)if(w.push(i[x]),"mspace"!==i[x].classes[0]&&k<u.length-1){0===k&&(w.pop(),x--);var S=T(u[k],"right"),O=T(u[k+1],"left");if(S&&O&&n){var A=_(u[k+1])?m.b[S][O]:m.a[S][O];if(A){var P=t;1===e.length&&("sizing"===e[0].type?P=t.havingSize(e[0].value.size):"styling"===e[0].type&&(P=t.havingStyle(b[e[0].value.style]))),w.push(c.a.makeGlue(A,P))}}k++}for(var I=0;I<w.length;I++)"\u0338"===w[I].value&&(w[I].style.position="absolute",w[I].style.paddingLeft="0.8em");return w},E=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";if((t instanceof d.a.documentFragment||t instanceof d.a.anchor)&&t.children.length){if("right"===n)return e(t.children[t.children.length-1]);if("left"===n)return e(t.children[0])}return t},T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";return e?(e=E(e,t),h.a.contains(["mord","mop","mbin","mrel","mopen","mclose","mpunct","minner"],e.classes[0])?e.classes[0]:null):null},_=function(e){return e=E(e,"left"),h.a.contains(e.classes,"mtight")},k=function(e,t){if(e.value.base){var n=e.value.base;if("op"===n.type)return n.value.limits&&(t.style.size===u.a.DISPLAY.size||n.value.alwaysHandleSupSub);if("accent"===n.type)return h.a.isCharacterBox(n.value.base);if("horizBrace"===n.type){return!e.value.sub===n.value.isOver}return null}return!1},x=function(e,t){var n=["nulldelimiter"].concat(e.baseSizingClasses());return g(t.concat(n))},S={};S.mathord=function(e,t){return c.a.makeOrd(e,t,"mathord")},S.textord=function(e,t){return c.a.makeOrd(e,t,"textord")},S.bin=function(e,t){return c.a.mathsym(e.value,e.mode,t,["mbin"])},S.rel=function(e,t){return c.a.mathsym(e.value,e.mode,t,["mrel"])},S.open=function(e,t){return c.a.mathsym(e.value,e.mode,t,["mopen"])},S.close=function(e,t){return c.a.mathsym(e.value,e.mode,t,["mclose"])},S.inner=function(e,t){return c.a.mathsym(e.value,e.mode,t,["minner"])},S.punct=function(e,t){return c.a.mathsym(e.value,e.mode,t,["mpunct"])},S.ordgroup=function(e,t){return g(["mord"],w(e.value,t,!0),t)},S.supsub=function(e,t){if(k(e,t))return S[e.value.base.type](e,t);var n=C(e.value.base,t),r=void 0,i=void 0,o=t.fontMetrics(),a=void 0,s=0,l=0;e.value.sup&&(a=t.havingStyle(t.style.sup()),r=C(e.value.sup,a,t),h.a.isCharacterBox(e.value.base)||(s=n.height-a.fontMetrics().supDrop*a.sizeMultiplier/t.sizeMultiplier)),e.value.sub&&(a=t.havingStyle(t.style.sub()),i=C(e.value.sub,a,t),h.a.isCharacterBox(e.value.base)||(l=n.depth+a.fontMetrics().subDrop*a.sizeMultiplier/t.sizeMultiplier));var f=void 0;f=t.style===u.a.DISPLAY?o.sup1:t.style.cramped?o.sup3:o.sup2;var p=t.sizeMultiplier,m=.5/o.ptPerEm/p+"em",v=void 0;if(e.value.sup)if(e.value.sub){s=Math.max(s,f,r.depth+.25*o.xHeight),l=Math.max(l,o.sub2);var y=o.defaultRuleThickness;if(s-r.depth-(i.height-l)<4*y){l=4*y-(s-r.depth)+i.height;var b=.8*o.xHeight-(s-r.depth);b>0&&(s+=b,l-=b)}var w=[{type:"elem",elem:i,shift:l,marginRight:m},{type:"elem",elem:r,shift:-s,marginRight:m}];n instanceof d.a.symbolNode&&(w[0].marginLeft=-n.italic+"em"),v=c.a.makeVList({positionType:"individualShift",children:w},t)}else s=Math.max(s,f,r.depth+.25*o.xHeight),v=c.a.makeVList({positionType:"shift",positionData:-s,children:[{type:"elem",elem:r,marginRight:m}]},t);else{l=Math.max(l,o.sub1,i.height-.8*o.xHeight);var E=[{type:"elem",elem:i,marginRight:m}];n instanceof d.a.symbolNode&&(E[0].marginLeft=-n.italic+"em"),v=c.a.makeVList({positionType:"shift",positionData:l,children:E},t)}var _=T(n)||"mord";return g([_],[n,g(["msupsub"],[v])],t)},S.spacing=function(e,t){return"\\ "===e.value||"\\space"===e.value||" "===e.value||"~"===e.value?"text"===e.mode?c.a.makeOrd(e,t,"textord"):g(["mspace"],[c.a.mathsym(e.value,e.mode,t)],t):g(["mspace",c.a.spacingFunctions[e.value].className],[],t)},S.horizBrace=function(e,t){var n=t.style,r="supsub"===e.type,i=void 0,o=void 0;r&&(e.value.sup?(o=t.havingStyle(n.sup()),i=C(e.value.sup,o,t)):(o=t.havingStyle(n.sub()),i=C(e.value.sub,o,t)),e=e.value.base);var a=C(e.value.base,t.havingBaseStyle(u.a.DISPLAY)),s=p.a.svgSpan(e,t),l=void 0;if(e.value.isOver?(l=c.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t),l.children[0].children[0].children[1].classes.push("svg-align")):(l=c.a.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t),l.children[0].children[0].children[0].classes.push("svg-align")),r){var d=g(["mord",e.value.isOver?"mover":"munder"],[l],t);l=e.value.isOver?c.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:d},{type:"kern",size:.2},{type:"elem",elem:i}]},t):c.a.makeVList({positionType:"bottom",positionData:d.depth+.2+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.2},{type:"elem",elem:d}]},t)}return g(["mord",e.value.isOver?"mover":"munder"],[l],t)},S.xArrow=function(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=C(e.value.body,r,t);i.classes.push("x-arrow-pad");var o=void 0;e.value.below&&(r=t.havingStyle(n.sub()),o=C(e.value.below,r,t),o.classes.push("x-arrow-pad"));var a=p.a.svgSpan(e,t),s=-t.fontMetrics().axisHeight+.5*a.height,l=-t.fontMetrics().axisHeight-.5*a.height-.111;"\\xleftequilibrium"===e.value.label&&(l-=i.depth);var u=void 0;if(e.value.below){var d=-t.fontMetrics().axisHeight+o.height+.5*a.height+.111;u=c.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:l},{type:"elem",elem:a,shift:s},{type:"elem",elem:o,shift:d}]},t)}else u=c.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:l},{type:"elem",elem:a,shift:s}]},t);return u.children[0].children[0].children[1].classes.push("svg-align"),g(["mrel","x-arrow"],[u],t)},S.mclass=function(e,t){var n=w(e.value.value,t,!0);return g([e.value.mclass],n,t)},S.raisebox=function(e,t){var n=S.sizing({value:{value:[{type:"text",value:{body:e.value.value,font:"mathrm"}}],size:6}},t),r=Object(f.a)(e.value.dy.value,t);return c.a.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)};var C=function(e,t,n){if(!e)return g();if(S[e.type]){var r=S[e.type](e,t);if(n&&t.size!==n.size){r=g(t.sizingClasses(n),[r],t);var i=t.sizeMultiplier/n.sizeMultiplier;r.height*=i,r.depth*=i}return r}throw new l.a("Got group of unknown type: '"+e.type+"'")}},function(e,t,n){"use strict";function r(e){return String(e).replace(f,function(e){return d[e]})}function i(e){h(e,"")}var o=Array.prototype.indexOf,a=function(e,t){if(null==e)return-1;if(o&&e.indexOf===o)return e.indexOf(t);for(var n=e.length,r=0;r<n;r++)if(e[r]===t)return r;return-1},s=function(e,t){return-1!==a(e,t)},l=function(e,t){return void 0===e?t:e},u=/([A-Z])/g,c=function(e){return e.replace(u,"-$1").toLowerCase()},d={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},f=/[&><"']/g,h=void 0;if("undefined"!==typeof document){var p=document.createElement("span");h="textContent"in p?function(e,t){e.textContent=t}:function(e,t){e.innerText=t}}var m=function e(t){return!!t&&("ordgroup"===t.type?1===t.value.length?e(t.value[0]):t:"color"===t.type?1===t.value.value.length?e(t.value.value[0]):t:"font"===t.type?e(t.value.body):t)},g=function(e){var t=m(e);return"mathord"===t.type||"textord"===t.type||"bin"===t.type||"rel"===t.type||"inner"===t.type||"open"===t.type||"close"===t.type||"punct"===t.type};t.a={contains:s,deflt:l,escape:r,hyphenate:c,indexOf:a,setTextContent:h,clearNode:i,getBaseElem:m,isCharacterBox:g}},function(e,t,n){"use strict";var r=n(7),i=n.n(r),o=(n(14),n(27),function e(t,n){i()(this,e);var r="KaTeX parse error: "+t,o=void 0,a=n&&n.loc;if(a&&a.start<=a.end){var s=a.lexer.input;o=a.start;var l=a.end;o===s.length?r+=" at end of input: ":r+=" at position "+(o+1)+": ";var u=s.slice(o,l).replace(/[^]/g,"$&\u0332"),c=void 0;c=o>15?"\u2026"+s.slice(o-15,o):s.slice(0,o);var d=void 0;d=l+15<s.length?s.slice(l,l+15)+"\u2026":s.slice(l),r+=c+u+d}var f=new Error(r);return f.name="ParseError",f.__proto__=e.prototype,f.position=o,f});o.prototype.__proto__=Error.prototype,t.a=o},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";var r=n(7),i=n.n(r),o=n(10),a=n.n(o),s=function(){function e(t,n,r){i()(this,e),this.id=t,this.size=n,this.cramped=r}return a()(e,[{key:"sup",value:function(){return l[u[this.id]]}},{key:"sub",value:function(){return l[c[this.id]]}},{key:"fracNum",value:function(){return l[d[this.id]]}},{key:"fracDen",value:function(){return l[f[this.id]]}},{key:"cramp",value:function(){return l[h[this.id]]}},{key:"text",value:function(){return l[p[this.id]]}},{key:"isTight",value:function(){return this.size>=2}}]),e}(),l=[new s(0,0,!1),new s(1,0,!0),new s(2,1,!1),new s(3,1,!0),new s(4,2,!1),new s(5,2,!0),new s(6,3,!1),new s(7,3,!0)],u=[4,5,4,5,6,7,6,7],c=[5,5,5,5,7,7,7,7],d=[2,3,4,5,6,7,6,7],f=[3,3,5,5,7,7,7,7],h=[1,1,3,3,5,5,7,7],p=[0,1,2,3,2,3,2,3];t.a={DISPLAY:l[0],TEXT:l[2],SCRIPT:l[4],SCRIPTSCRIPT:l[6]}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(73),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){var r=n(52)("wks"),i=n(32),o=n(16).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r=n(18),i=n.n(r),o=n(105),a=n.n(o),s=n(7),l=n.n(s),u=n(10),c=n.n(u),d=n(42),f=n(5),h=n(111),p=function(e){e=e.slice();for(var t=e.length-1;t>=0;t--)e[t]||e.splice(t,1);return e.join(" ")},m=function(){function e(t,n,r,i){if(l()(this,e),this.classes=t||[],this.children=n||[],this.height=0,this.depth=0,this.maxFontSize=0,this.style=a()({},i),this.attributes={},r){r.style.isTight()&&this.classes.push("mtight");var o=r.getColor();o&&(this.style.color=o)}}return c()(e,[{key:"setAttribute",value:function(e,t){this.attributes[e]=t}},{key:"tryCombine",value:function(e){return!1}},{key:"toNode",value:function(){var e=document.createElement("span");e.className=p(this.classes);for(var t in this.style)Object.prototype.hasOwnProperty.call(this.style,t)&&(e.style[t]=this.style[t]);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}},{key:"toMarkup",value:function(){var e="<span";this.classes.length&&(e+=' class="',e+=f.a.escape(p(this.classes)),e+='"');var t="";for(var n in this.style)this.style.hasOwnProperty(n)&&(t+=f.a.hyphenate(n)+":"+this.style[n]+";");t&&(e+=' style="'+f.a.escape(t)+'"');for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="',e+=f.a.escape(this.attributes[r]),e+='"');e+=">";for(var i=0;i<this.children.length;i++)e+=this.children[i].toMarkup();return e+="</span>"}}]),e}(),g=function(){function e(t,n,r,i){l()(this,e),this.href=t,this.classes=n,this.children=r,this.height=0,this.depth=0,this.maxFontSize=0,this.style={},this.attributes={},i.style.isTight()&&this.classes.push("mtight");var o=i.getColor();o&&(this.style.color=o)}return c()(e,[{key:"setAttribute",value:function(e,t){this.attributes[e]=t}},{key:"tryCombine",value:function(e){return!1}},{key:"toNode",value:function(){var e=document.createElement("a");e.setAttribute("href",this.href),this.classes.length&&(e.className=p(this.classes));for(var t in this.style)Object.prototype.hasOwnProperty.call(this.style,t)&&(e.style[t]=this.style[t]);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}},{key:"toMarkup",value:function(){var e="<a";e+='href="'+(e+=f.a.escape(this.href))+'"',this.classes.length&&(e+=' class="'+f.a.escape(p(this.classes))+'"');var t="";for(var n in this.style)this.style.hasOwnProperty(n)&&(t+=f.a.hyphenate(n)+":"+this.style[n]+";");t&&(e+=' style="'+f.a.escape(t)+'"');for(var r in this.attributes)"href"!==r&&Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="'+f.a.escape(this.attributes[r])+'"');e+=">";var o=!0,a=!1,s=void 0;try{for(var l,u=i()(this.children);!(o=(l=u.next()).done);o=!0){e+=l.value.toMarkup()}}catch(e){a=!0,s=e}finally{try{!o&&u.return&&u.return()}finally{if(a)throw s}}return e+="</a>"}}]),e}(),v=function(){function e(t){l()(this,e),this.children=t||[],this.height=0,this.depth=0,this.maxFontSize=0}return c()(e,[{key:"toNode",value:function(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}},{key:"toMarkup",value:function(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}}]),e}(),y={"\xee":"\u0131\u0302","\xef":"\u0131\u0308","\xed":"\u0131\u0301","\xec":"\u0131\u0300"},b=function(){function e(t,n,r,i,o,s,u,c){l()(this,e),this.value=t,this.height=n||0,this.depth=r||0,this.italic=i||0,this.skew=o||0,this.width=s||0,this.classes=u||[],this.style=a()({},c),this.maxFontSize=0;var f=Object(d.a)(this.value.charCodeAt(0));f&&this.classes.push(f+"_fallback"),/[\xee\xef\xed\xec]/.test(this.value)&&(this.value=y[this.value])}return c()(e,[{key:"tryCombine",value:function(t){if(!t||!(t instanceof e)||this.italic>0||p(this.classes)!==p(t.classes)||this.skew!==t.skew||this.maxFontSize!==t.maxFontSize)return!1;for(var n in this.style)if(this.style.hasOwnProperty(n)&&this.style[n]!==t.style[n])return!1;for(var r in t.style)if(t.style.hasOwnProperty(r)&&this.style[r]!==t.style[r])return!1;return this.value+=t.value,this.height=Math.max(this.height,t.height),this.depth=Math.max(this.depth,t.depth),this.italic=t.italic,!0}},{key:"toNode",value:function(){var e=document.createTextNode(this.value),t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=this.italic+"em"),this.classes.length>0&&(t=t||document.createElement("span"),t.className=p(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e}},{key:"toMarkup",value:function(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=f.a.escape(p(this.classes)),t+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=f.a.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+f.a.escape(n)+'"');var i=f.a.escape(this.value);return e?(t+=">",t+=i,t+="</span>"):i}}]),e}(),w=function(){function e(t,n){l()(this,e),this.children=t||[],this.attributes=n||{},this.height=0,this.depth=0,this.maxFontSize=0}return c()(e,[{key:"toNode",value:function(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}},{key:"toMarkup",value:function(){var e="<svg";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</svg>"}}]),e}(),E=function(){function e(t,n){l()(this,e),this.pathName=t,this.alternate=n}return c()(e,[{key:"toNode",value:function(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",h.a.path[this.pathName]),e}},{key:"toMarkup",value:function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+h.a.path[this.pathName]+"'/>"}}]),e}(),T=function(){function e(t){l()(this,e),this.attributes=t||{}}return c()(e,[{key:"toNode",value:function(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}},{key:"toMarkup",value:function(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");return e+="/>"}}]),e}();t.a={span:m,anchor:g,documentFragment:v,symbolNode:b,svgNode:w,pathNode:E,lineNode:T}},function(e,t,n){"use strict";var r=n(57),i=n.n(r),o=n(12),a=n(0),s=n(1),l=n(5),u={widehat:"^",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23b5",overbrace:"\u23de",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21d2",xRightarrow:"\u21d2",overleftharpoon:"\u21bc",xleftharpoonup:"\u21bc",overrightharpoon:"\u21c0",xrightharpoonup:"\u21c0",xLeftarrow:"\u21d0",xLeftrightarrow:"\u21d4",xhookleftarrow:"\u21a9",xhookrightarrow:"\u21aa",xmapsto:"\u21a6",xrightharpoondown:"\u21c1",xleftharpoondown:"\u21bd",xrightleftharpoons:"\u21cc",xleftrightharpoons:"\u21cb",xtwoheadleftarrow:"\u219e",xtwoheadrightarrow:"\u21a0",xlongequal:"=",xtofrom:"\u21c4",xrightleftarrows:"\u21c4",xrightequilibrium:"\u21cc",xleftequilibrium:"\u21cb"},c=function(e){var t=new s.a.MathNode("mo",[new s.a.TextNode(u[e.substr(1)])]);return t.setAttribute("stretchy","true"),t},d={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,667],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},f=function(e){return"ordgroup"===e.type?e.value.length:1},h=function(e,t){var n=function(){var n=4e5,r=e.value.label.substr(1);if(l.a.contains(["widehat","widetilde","utilde"],r)){var s=f(e.value.base),u=void 0,c=void 0,h=void 0;if(s>5)u="widehat"===r?420:312,n="widehat"===r?2364:2340,h="widehat"===r?.42:.34,c=("widehat"===r?"widehat":"tilde")+"4";else{var p=[1,1,2,2,3,3][s];"widehat"===r?(n=[0,1062,2364,2364,2364][p],u=[0,239,300,360,420][p],h=[0,.24,.3,.3,.36,.42][p],c="widehat"+p):(n=[0,600,1033,2339,2340][p],u=[0,260,286,306,312][p],h=[0,.26,.286,.3,.306,.34][p],c="tilde"+p)}var m=new o.a.pathNode(c),g=new o.a.svgNode([m],{width:"100%",height:h+"em",viewBox:"0 0 "+n+" "+u,preserveAspectRatio:"none"});return{span:a.a.makeSpan([],[g],t),minWidth:0,height:h}}var v=[],y=i()(d[r],4),b=y[0],w=y[1],E=y[2],T=y[3],_=E/1e3,k=b.length,x=void 0,S=void 0;if(1===k)x=["hide-tail"],S=[T];else if(2===k)x=["halfarrow-left","halfarrow-right"],S=["xMinYMin","xMaxYMin"];else{if(3!==k)throw new Error("Correct katexImagesData or update code here to support\n                    "+k+" children.");x=["brace-left","brace-center","brace-right"],S=["xMinYMin","xMidYMin","xMaxYMin"]}for(var C=0;C<k;C++){var O=new o.a.pathNode(b[C]),A=new o.a.svgNode([O],{width:"400em",height:_+"em",viewBox:"0 0 "+n+" "+E,preserveAspectRatio:S[C]+" slice"}),P=a.a.makeSpan([x[C]],[A],t);if(1===k)return{span:P,minWidth:w,height:_};P.style.height=_+"em",v.push(P)}return{span:a.a.makeSpan(["stretchy"],v,t),minWidth:w,height:_}}(),r=n.span,s=n.minWidth,u=n.height;return r.height=u,r.style.height=u+"em",s>0&&(r.style.minWidth=s+"em"),r},p=function(e,t,n,r){var i=void 0,s=e.height+e.depth+2*n;if(/fbox|color/.test(t)){if(i=a.a.makeSpan(["stretchy",t],[],r),"fbox"===t){var l=r.color&&r.getColor();l&&(i.style.borderColor=l)}}else{var u=[];/^[bx]cancel$/.test(t)&&u.push(new o.a.lineNode({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&u.push(new o.a.lineNode({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new o.a.svgNode(u,{width:"100%",height:s+"em"});i=a.a.makeSpan([],[c],r)}return i.height=s,i.style.height=s+"em",i},m=function(e,t,n){var r=void 0,i=void 0,s="stretchy";return"vertical-separator"===e?(r=new o.a.pathNode("vertSeparator"),i=new o.a.svgNode([r],{width:"0.25em",height:"400em",viewBox:"0 0 250 400000",preserveAspectRatio:"xMinYMin slice"}),s="vertical-separator"):(r=new o.a.pathNode("stdHorizRule"),i=new o.a.svgNode([r],{width:"400em",height:5*t+"em",viewBox:"0 0 400000 200",preserveAspectRatio:"xMinYMin slice"})),a.a.makeSpan([s],[i],n)};t.a={encloseSpan:p,mathMLnode:c,ruleSpan:m,svgSpan:h}},function(e,t,n){"use strict";var r=n(7),i=n.n(r),o=n(31),a=function e(t,n,r,a,s){i()(this,e),this.type=t,this.value=n,this.mode=r,this.loc=o.a.range(a,s)};t.a=a},function(e,t,n){var r=n(22),i=n(70),o=n(71),a=Object.defineProperty;t.f=n(23)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports={}},function(e,t,n){e.exports={default:n(103),__esModule:!0}},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return s});var r=n(6),i=(n(43),{pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375}),o={ex:!0,em:!0,mu:!0},a=function(e){return"string"!==typeof e&&(e=e.unit),e in i||e in o||"ex"===e},s=function(e,t){var n=void 0;if(e.unit in i)n=i[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{var o=void 0;if(o=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=o.fontMetrics().xHeight;else{if("em"!==e.unit)throw new r.a("Invalid unit: '"+e.unit+"'");n=o.fontMetrics().quad}o!==t&&(n*=o.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)}},function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(20);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(16),i=n(8),o=n(47),a=n(26),s=function(e,t,n){var l,u,c,d=e&s.F,f=e&s.G,h=e&s.S,p=e&s.P,m=e&s.B,g=e&s.W,v=f?i:i[t]||(i[t]={}),y=v.prototype,b=f?r:h?r[t]:(r[t]||{}).prototype;f&&(n=t);for(l in n)(u=!d&&b&&void 0!==b[l])&&l in v||(c=u?b[l]:n[l],v[l]=f&&"function"!=typeof b[l]?n[l]:m&&u?o(c,r):g&&b[l]==c?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(c):p&&"function"==typeof c?o(Function.call,c):c,p&&((v.virtual||(v.virtual={}))[l]=c,e&s.R&&y&&!y[l]&&a(y,l,c)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,n){var r=n(15),i=n(33);e.exports=n(23)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(7),i=n.n(r),o=n(10),a=n.n(o),s=n(31),l=function(){function e(t,n){i()(this,e),this.text=t,this.loc=n}return a()(e,[{key:"range",value:function(t,n){return new e(n,s.a.range(this,t))}}]),e}()},function(e,t,n){"use strict";function r(e,t,n,r,o,a){i[e][o]={font:t,group:n,replace:r},a&&r&&(i[e][r]=i[e][o])}var i={math:{},text:{}};t.a=i;var o="math",a="text",s="main",l="ams",u="accent",c="bin",d="close",f="mathord",h="op",p="open",m="rel",g="spacing",v="textord";r(o,s,m,"\u2261","\\equiv",!0),r(o,s,m,"\u227a","\\prec",!0),r(o,s,m,"\u227b","\\succ",!0),r(o,s,m,"\u223c","\\sim",!0),r(o,s,m,"\u22a5","\\perp"),r(o,s,m,"\u2aaf","\\preceq",!0),r(o,s,m,"\u2ab0","\\succeq",!0),r(o,s,m,"\u2243","\\simeq",!0),r(o,s,m,"\u2223","\\mid",!0),r(o,s,m,"\u226a","\\ll"),r(o,s,m,"\u226b","\\gg",!0),r(o,s,m,"\u224d","\\asymp",!0),r(o,s,m,"\u2225","\\parallel"),r(o,s,m,"\u22c8","\\bowtie",!0),r(o,s,m,"\u2323","\\smile",!0),r(o,s,m,"\u2291","\\sqsubseteq",!0),r(o,s,m,"\u2292","\\sqsupseteq",!0),r(o,s,m,"\u2250","\\doteq",!0),r(o,s,m,"\u2322","\\frown",!0),r(o,s,m,"\u220b","\\ni",!0),r(o,s,m,"\u221d","\\propto",!0),r(o,s,m,"\u22a2","\\vdash",!0),r(o,s,m,"\u22a3","\\dashv",!0),r(o,s,m,"\u220b","\\owns"),r(o,s,"punct",".","\\ldotp"),r(o,s,"punct","\u22c5","\\cdotp"),r(o,s,v,"#","\\#"),r(a,s,v,"#","\\#"),r(o,s,v,"&","\\&"),r(a,s,v,"&","\\&"),r(o,s,v,"\u2135","\\aleph",!0),r(o,s,v,"\u2200","\\forall",!0),r(o,s,v,"\u210f","\\hbar"),r(o,s,v,"\u2203","\\exists",!0),r(o,s,v,"\u2207","\\nabla",!0),r(o,s,v,"\u266d","\\flat",!0),r(o,s,v,"\u2113","\\ell",!0),r(o,s,v,"\u266e","\\natural",!0),r(o,s,v,"\u2663","\\clubsuit",!0),r(o,s,v,"\u2118","\\wp",!0),r(o,s,v,"\u266f","\\sharp",!0),r(o,s,v,"\u2662","\\diamondsuit",!0),r(o,s,v,"\u211c","\\Re",!0),r(o,s,v,"\u2661","\\heartsuit",!0),r(o,s,v,"\u2111","\\Im",!0),r(o,s,v,"\u2660","\\spadesuit",!0),r(a,s,v,"\xa7","\\S",!0),r(a,s,v,"\xb6","\\P",!0),r(o,s,v,"\u2020","\\dag"),r(a,s,v,"\u2020","\\dag"),r(a,s,v,"\u2020","\\textdagger"),r(o,s,v,"\u2021","\\ddag"),r(a,s,v,"\u2021","\\ddag"),r(a,s,v,"\u2020","\\textdaggerdbl"),r(o,s,d,"\u23b1","\\rmoustache"),r(o,s,p,"\u23b0","\\lmoustache"),r(o,s,d,"\u27ef","\\rgroup"),r(o,s,p,"\u27ee","\\lgroup"),r(o,s,c,"\u2213","\\mp",!0),r(o,s,c,"\u2296","\\ominus",!0),r(o,s,c,"\u228e","\\uplus",!0),r(o,s,c,"\u2293","\\sqcap",!0),r(o,s,c,"\u2217","\\ast"),r(o,s,c,"\u2294","\\sqcup",!0),r(o,s,c,"\u25ef","\\bigcirc"),r(o,s,c,"\u2219","\\bullet"),r(o,s,c,"\u2021","\\ddagger"),r(o,s,c,"\u2240","\\wr",!0),r(o,s,c,"\u2a3f","\\amalg"),r(o,s,c,"&","\\And"),r(o,s,m,"\u27f5","\\longleftarrow",!0),r(o,s,m,"\u21d0","\\Leftarrow",!0),r(o,s,m,"\u27f8","\\Longleftarrow",!0),r(o,s,m,"\u27f6","\\longrightarrow",!0),r(o,s,m,"\u21d2","\\Rightarrow",!0),r(o,s,m,"\u27f9","\\Longrightarrow",!0),r(o,s,m,"\u2194","\\leftrightarrow",!0),r(o,s,m,"\u27f7","\\longleftrightarrow",!0),r(o,s,m,"\u21d4","\\Leftrightarrow",!0),r(o,s,m,"\u27fa","\\Longleftrightarrow",!0),r(o,s,m,"\u21a6","\\mapsto",!0),r(o,s,m,"\u27fc","\\longmapsto",!0),r(o,s,m,"\u2197","\\nearrow",!0),r(o,s,m,"\u21a9","\\hookleftarrow",!0),r(o,s,m,"\u21aa","\\hookrightarrow",!0),r(o,s,m,"\u2198","\\searrow",!0),r(o,s,m,"\u21bc","\\leftharpoonup",!0),r(o,s,m,"\u21c0","\\rightharpoonup",!0),r(o,s,m,"\u2199","\\swarrow",!0),r(o,s,m,"\u21bd","\\leftharpoondown",!0),r(o,s,m,"\u21c1","\\rightharpoondown",!0),r(o,s,m,"\u2196","\\nwarrow",!0),r(o,s,m,"\u21cc","\\rightleftharpoons",!0),r(o,l,m,"\u226e","\\nless",!0),r(o,l,m,"\ue010","\\nleqslant"),r(o,l,m,"\ue011","\\nleqq"),r(o,l,m,"\u2a87","\\lneq",!0),r(o,l,m,"\u2268","\\lneqq",!0),r(o,l,m,"\ue00c","\\lvertneqq"),r(o,l,m,"\u22e6","\\lnsim",!0),r(o,l,m,"\u2a89","\\lnapprox",!0),r(o,l,m,"\u2280","\\nprec",!0),r(o,l,m,"\u22e0","\\npreceq",!0),r(o,l,m,"\u22e8","\\precnsim",!0),r(o,l,m,"\u2ab9","\\precnapprox",!0),r(o,l,m,"\u2241","\\nsim",!0),r(o,l,m,"\ue006","\\nshortmid"),r(o,l,m,"\u2224","\\nmid",!0),r(o,l,m,"\u22ac","\\nvdash",!0),r(o,l,m,"\u22ad","\\nvDash",!0),r(o,l,m,"\u22ea","\\ntriangleleft"),r(o,l,m,"\u22ec","\\ntrianglelefteq",!0),r(o,l,m,"\u228a","\\subsetneq",!0),r(o,l,m,"\ue01a","\\varsubsetneq"),r(o,l,m,"\u2acb","\\subsetneqq",!0),r(o,l,m,"\ue017","\\varsubsetneqq"),r(o,l,m,"\u226f","\\ngtr",!0),r(o,l,m,"\ue00f","\\ngeqslant"),r(o,l,m,"\ue00e","\\ngeqq"),r(o,l,m,"\u2a88","\\gneq",!0),r(o,l,m,"\u2269","\\gneqq",!0),r(o,l,m,"\ue00d","\\gvertneqq"),r(o,l,m,"\u22e7","\\gnsim",!0),r(o,l,m,"\u2a8a","\\gnapprox",!0),r(o,l,m,"\u2281","\\nsucc",!0),r(o,l,m,"\u22e1","\\nsucceq",!0),r(o,l,m,"\u22e9","\\succnsim",!0),r(o,l,m,"\u2aba","\\succnapprox",!0),r(o,l,m,"\u2246","\\ncong",!0),r(o,l,m,"\ue007","\\nshortparallel"),r(o,l,m,"\u2226","\\nparallel",!0),r(o,l,m,"\u22af","\\nVDash",!0),r(o,l,m,"\u22eb","\\ntriangleright"),r(o,l,m,"\u22ed","\\ntrianglerighteq",!0),r(o,l,m,"\ue018","\\nsupseteqq"),r(o,l,m,"\u228b","\\supsetneq",!0),r(o,l,m,"\ue01b","\\varsupsetneq"),r(o,l,m,"\u2acc","\\supsetneqq",!0),r(o,l,m,"\ue019","\\varsupsetneqq"),r(o,l,m,"\u22ae","\\nVdash",!0),r(o,l,m,"\u2ab5","\\precneqq",!0),r(o,l,m,"\u2ab6","\\succneqq",!0),r(o,l,m,"\ue016","\\nsubseteqq"),r(o,l,c,"\u22b4","\\unlhd"),r(o,l,c,"\u22b5","\\unrhd"),r(o,l,m,"\u219a","\\nleftarrow",!0),r(o,l,m,"\u219b","\\nrightarrow",!0),r(o,l,m,"\u21cd","\\nLeftarrow",!0),r(o,l,m,"\u21cf","\\nRightarrow",!0),r(o,l,m,"\u21ae","\\nleftrightarrow",!0),r(o,l,m,"\u21ce","\\nLeftrightarrow",!0),r(o,l,m,"\u25b3","\\vartriangle"),r(o,l,v,"\u210f","\\hslash"),r(o,l,v,"\u25bd","\\triangledown"),r(o,l,v,"\u25ca","\\lozenge"),r(o,l,v,"\u24c8","\\circledS"),r(o,l,v,"\xae","\\circledR"),r(a,l,v,"\xae","\\circledR"),r(o,l,v,"\u2221","\\measuredangle",!0),r(o,l,v,"\u2204","\\nexists"),r(o,l,v,"\u2127","\\mho"),r(o,l,v,"\u2132","\\Finv",!0),r(o,l,v,"\u2141","\\Game",!0),r(o,l,v,"k","\\Bbbk"),r(o,l,v,"\u2035","\\backprime"),r(o,l,v,"\u25b2","\\blacktriangle"),r(o,l,v,"\u25bc","\\blacktriangledown"),r(o,l,v,"\u25a0","\\blacksquare"),r(o,l,v,"\u29eb","\\blacklozenge"),r(o,l,v,"\u2605","\\bigstar"),r(o,l,v,"\u2222","\\sphericalangle",!0),r(o,l,v,"\u2201","\\complement",!0),r(o,l,v,"\xf0","\\eth",!0),r(o,l,v,"\u2571","\\diagup"),r(o,l,v,"\u2572","\\diagdown"),r(o,l,v,"\u25a1","\\square"),r(o,l,v,"\u25a1","\\Box"),r(o,l,v,"\u25ca","\\Diamond"),r(o,l,v,"\xa5","\\yen",!0),r(o,l,v,"\u2713","\\checkmark",!0),r(a,l,v,"\u2713","\\checkmark"),r(o,l,v,"\u2136","\\beth",!0),r(o,l,v,"\u2138","\\daleth",!0),r(o,l,v,"\u2137","\\gimel",!0),r(o,l,v,"\u03dd","\\digamma"),r(o,l,v,"\u03f0","\\varkappa"),r(o,l,p,"\u250c","\\ulcorner"),r(o,l,d,"\u2510","\\urcorner"),r(o,l,p,"\u2514","\\llcorner"),r(o,l,d,"\u2518","\\lrcorner"),r(o,l,m,"\u2266","\\leqq",!0),r(o,l,m,"\u2a7d","\\leqslant"),r(o,l,m,"\u2a95","\\eqslantless",!0),r(o,l,m,"\u2272","\\lesssim"),r(o,l,m,"\u2a85","\\lessapprox"),r(o,l,m,"\u224a","\\approxeq",!0),r(o,l,c,"\u22d6","\\lessdot"),r(o,l,m,"\u22d8","\\lll"),r(o,l,m,"\u2276","\\lessgtr"),r(o,l,m,"\u22da","\\lesseqgtr");r(o,l,m,"\u2a8b","\\lesseqqgtr"),r(o,l,m,"\u2251","\\doteqdot"),r(o,l,m,"\u2253","\\risingdotseq",!0),r(o,l,m,"\u2252","\\fallingdotseq",!0),r(o,l,m,"\u223d","\\backsim",!0),r(o,l,m,"\u22cd","\\backsimeq",!0),r(o,l,m,"\u2ac5","\\subseteqq",!0),r(o,l,m,"\u22d0","\\Subset",!0),r(o,l,m,"\u228f","\\sqsubset",!0),r(o,l,m,"\u227c","\\preccurlyeq",!0),r(o,l,m,"\u22de","\\curlyeqprec",!0),r(o,l,m,"\u227e","\\precsim",!0),r(o,l,m,"\u2ab7","\\precapprox",!0),r(o,l,m,"\u22b2","\\vartriangleleft"),r(o,l,m,"\u22b4","\\trianglelefteq"),r(o,l,m,"\u22a8","\\vDash"),r(o,l,m,"\u22aa","\\Vvdash",!0),r(o,l,m,"\u2323","\\smallsmile"),r(o,l,m,"\u2322","\\smallfrown"),r(o,l,m,"\u224f","\\bumpeq",!0),r(o,l,m,"\u224e","\\Bumpeq",!0),r(o,l,m,"\u2267","\\geqq",!0),r(o,l,m,"\u2a7e","\\geqslant",!0),r(o,l,m,"\u2a96","\\eqslantgtr",!0),r(o,l,m,"\u2273","\\gtrsim",!0),r(o,l,m,"\u2a86","\\gtrapprox",!0),r(o,l,c,"\u22d7","\\gtrdot"),r(o,l,m,"\u22d9","\\ggg",!0),r(o,l,m,"\u2277","\\gtrless",!0),r(o,l,m,"\u22db","\\gtreqless",!0),r(o,l,m,"\u2a8c","\\gtreqqless",!0),r(o,l,m,"\u2256","\\eqcirc",!0),r(o,l,m,"\u2257","\\circeq",!0),r(o,l,m,"\u225c","\\triangleq",!0),r(o,l,m,"\u223c","\\thicksim"),r(o,l,m,"\u2248","\\thickapprox"),r(o,l,m,"\u2ac6","\\supseteqq",!0),r(o,l,m,"\u22d1","\\Supset",!0),r(o,l,m,"\u2290","\\sqsupset",!0),r(o,l,m,"\u227d","\\succcurlyeq",!0),r(o,l,m,"\u22df","\\curlyeqsucc",!0),r(o,l,m,"\u227f","\\succsim",!0),r(o,l,m,"\u2ab8","\\succapprox",!0),r(o,l,m,"\u22b3","\\vartriangleright"),r(o,l,m,"\u22b5","\\trianglerighteq"),r(o,l,m,"\u22a9","\\Vdash",!0),r(o,l,m,"\u2223","\\shortmid"),r(o,l,m,"\u2225","\\shortparallel"),r(o,l,m,"\u226c","\\between",!0),r(o,l,m,"\u22d4","\\pitchfork",!0),r(o,l,m,"\u221d","\\varpropto"),r(o,l,m,"\u25c0","\\blacktriangleleft"),r(o,l,m,"\u2234","\\therefore",!0),r(o,l,m,"\u220d","\\backepsilon"),r(o,l,m,"\u25b6","\\blacktriangleright"),r(o,l,m,"\u2235","\\because",!0),r(o,l,m,"\u22d8","\\llless"),r(o,l,m,"\u22d9","\\gggtr"),r(o,l,c,"\u22b2","\\lhd"),r(o,l,c,"\u22b3","\\rhd"),r(o,l,m,"\u2242","\\eqsim",!0),r(o,s,m,"\u22c8","\\Join"),r(o,l,m,"\u2251","\\Doteq",!0),r(o,l,c,"\u2214","\\dotplus",!0),r(o,l,c,"\u2216","\\smallsetminus"),r(o,l,c,"\u22d2","\\Cap",!0),r(o,l,c,"\u22d3","\\Cup",!0),r(o,l,c,"\u2a5e","\\doublebarwedge",!0),r(o,l,c,"\u229f","\\boxminus",!0),r(o,l,c,"\u229e","\\boxplus",!0),r(o,l,c,"\u22c7","\\divideontimes",!0),r(o,l,c,"\u22c9","\\ltimes",!0),r(o,l,c,"\u22ca","\\rtimes",!0),r(o,l,c,"\u22cb","\\leftthreetimes",!0),r(o,l,c,"\u22cc","\\rightthreetimes",!0),r(o,l,c,"\u22cf","\\curlywedge",!0),r(o,l,c,"\u22ce","\\curlyvee",!0),r(o,l,c,"\u229d","\\circleddash",!0),r(o,l,c,"\u229b","\\circledast",!0),r(o,l,c,"\u22c5","\\centerdot"),r(o,l,c,"\u22ba","\\intercal",!0),r(o,l,c,"\u22d2","\\doublecap"),r(o,l,c,"\u22d3","\\doublecup"),r(o,l,c,"\u22a0","\\boxtimes",!0),r(o,l,m,"\u21e2","\\dashrightarrow",!0),r(o,l,m,"\u21e0","\\dashleftarrow",!0),r(o,l,m,"\u21c7","\\leftleftarrows",!0),r(o,l,m,"\u21c6","\\leftrightarrows",!0),r(o,l,m,"\u21da","\\Lleftarrow",!0),r(o,l,m,"\u219e","\\twoheadleftarrow",!0),r(o,l,m,"\u21a2","\\leftarrowtail",!0),r(o,l,m,"\u21ab","\\looparrowleft",!0),r(o,l,m,"\u21cb","\\leftrightharpoons",!0),r(o,l,m,"\u21b6","\\curvearrowleft",!0),r(o,l,m,"\u21ba","\\circlearrowleft",!0),r(o,l,m,"\u21b0","\\Lsh",!0),r(o,l,m,"\u21c8","\\upuparrows",!0),r(o,l,m,"\u21bf","\\upharpoonleft",!0),r(o,l,m,"\u21c3","\\downharpoonleft",!0),r(o,l,m,"\u22b8","\\multimap",!0),r(o,l,m,"\u21ad","\\leftrightsquigarrow",!0),r(o,l,m,"\u21c9","\\rightrightarrows",!0),r(o,l,m,"\u21c4","\\rightleftarrows",!0),r(o,l,m,"\u21a0","\\twoheadrightarrow",!0),r(o,l,m,"\u21a3","\\rightarrowtail",!0),r(o,l,m,"\u21ac","\\looparrowright",!0),r(o,l,m,"\u21b7","\\curvearrowright",!0),r(o,l,m,"\u21bb","\\circlearrowright",!0),r(o,l,m,"\u21b1","\\Rsh",!0),r(o,l,m,"\u21ca","\\downdownarrows",!0),r(o,l,m,"\u21be","\\upharpoonright",!0),r(o,l,m,"\u21c2","\\downharpoonright",!0),r(o,l,m,"\u21dd","\\rightsquigarrow",!0),r(o,l,m,"\u21dd","\\leadsto"),r(o,l,m,"\u21db","\\Rrightarrow",!0),r(o,l,m,"\u21be","\\restriction"),r(o,s,v,"\u2018","`"),r(o,s,v,"$","\\$"),r(a,s,v,"$","\\$"),r(a,s,v,"$","\\textdollar"),r(o,s,v,"%","\\%"),r(a,s,v,"%","\\%"),r(o,s,v,"_","\\_"),r(a,s,v,"_","\\_"),r(a,s,v,"_","\\textunderscore"),r(o,s,v,"\u2220","\\angle",!0),r(o,s,v,"\u221e","\\infty",!0),r(o,s,v,"\u2032","\\prime"),r(o,s,v,"\u25b3","\\triangle"),r(o,s,v,"\u0393","\\Gamma",!0),r(o,s,v,"\u0394","\\Delta",!0),r(o,s,v,"\u0398","\\Theta",!0),r(o,s,v,"\u039b","\\Lambda",!0),r(o,s,v,"\u039e","\\Xi",!0),r(o,s,v,"\u03a0","\\Pi",!0),r(o,s,v,"\u03a3","\\Sigma",!0),r(o,s,v,"\u03a5","\\Upsilon",!0),r(o,s,v,"\u03a6","\\Phi",!0),r(o,s,v,"\u03a8","\\Psi",!0),r(o,s,v,"\u03a9","\\Omega",!0),r(o,s,v,"\xac","\\neg"),r(o,s,v,"\xac","\\lnot"),r(o,s,v,"\u22a4","\\top"),r(o,s,v,"\u22a5","\\bot"),r(o,s,v,"\u2205","\\emptyset"),r(o,l,v,"\u2205","\\varnothing"),r(o,s,f,"\u03b1","\\alpha",!0),r(o,s,f,"\u03b2","\\beta",!0),r(o,s,f,"\u03b3","\\gamma",!0),r(o,s,f,"\u03b4","\\delta",!0),r(o,s,f,"\u03f5","\\epsilon",!0),r(o,s,f,"\u03b6","\\zeta",!0),r(o,s,f,"\u03b7","\\eta",!0),r(o,s,f,"\u03b8","\\theta",!0),r(o,s,f,"\u03b9","\\iota",!0),r(o,s,f,"\u03ba","\\kappa",!0),r(o,s,f,"\u03bb","\\lambda",!0),r(o,s,f,"\u03bc","\\mu",!0),r(o,s,f,"\u03bd","\\nu",!0),r(o,s,f,"\u03be","\\xi",!0),r(o,s,f,"\u03bf","\\omicron",!0),r(o,s,f,"\u03c0","\\pi",!0),r(o,s,f,"\u03c1","\\rho",!0),r(o,s,f,"\u03c3","\\sigma",!0),r(o,s,f,"\u03c4","\\tau",!0),r(o,s,f,"\u03c5","\\upsilon",!0),r(o,s,f,"\u03d5","\\phi",!0),r(o,s,f,"\u03c7","\\chi",!0),r(o,s,f,"\u03c8","\\psi",!0),r(o,s,f,"\u03c9","\\omega",!0),r(o,s,f,"\u03b5","\\varepsilon",!0),r(o,s,f,"\u03d1","\\vartheta",!0),r(o,s,f,"\u03d6","\\varpi",!0),r(o,s,f,"\u03f1","\\varrho",!0),r(o,s,f,"\u03c2","\\varsigma",!0),r(o,s,f,"\u03c6","\\varphi",!0),r(o,s,c,"\u2217","*"),r(o,s,c,"+","+"),r(o,s,c,"\u2212","-"),r(o,s,c,"\u22c5","\\cdot",!0),r(o,s,c,"\u2218","\\circ"),r(o,s,c,"\xf7","\\div",!0),r(o,s,c,"\xb1","\\pm",!0),r(o,s,c,"\xd7","\\times",!0),r(o,s,c,"\u2229","\\cap",!0),r(o,s,c,"\u222a","\\cup",!0),r(o,s,c,"\u2216","\\setminus"),r(o,s,c,"\u2227","\\land"),r(o,s,c,"\u2228","\\lor"),r(o,s,c,"\u2227","\\wedge",!0),r(o,s,c,"\u2228","\\vee",!0),r(o,s,v,"\u221a","\\surd"),r(o,s,p,"(","("),r(o,s,p,"[","["),r(o,s,p,"\u27e8","\\langle",!0),r(o,s,p,"\u2223","\\lvert"),r(o,s,p,"\u2225","\\lVert"),r(o,s,d,")",")"),r(o,s,d,"]","]"),r(o,s,d,"?","?");r(o,s,d,"!","!"),r(o,s,d,"\u27e9","\\rangle",!0),r(o,s,d,"\u2223","\\rvert"),r(o,s,d,"\u2225","\\rVert"),r(o,s,m,"=","="),r(o,s,m,"<","<"),r(o,s,m,">",">"),r(o,s,m,":",":"),r(o,s,m,"\u2248","\\approx",!0),r(o,s,m,"\u2245","\\cong",!0),r(o,s,m,"\u2265","\\ge"),r(o,s,m,"\u2265","\\geq",!0),r(o,s,m,"\u2190","\\gets"),r(o,s,m,">","\\gt"),r(o,s,m,"\u2208","\\in",!0),r(o,s,m,"\u2209","\\notin",!0),r(o,s,m,"\u0338","\\not"),r(o,s,m,"\u2282","\\subset",!0),r(o,s,m,"\u2283","\\supset",!0),r(o,s,m,"\u2286","\\subseteq",!0),r(o,s,m,"\u2287","\\supseteq",!0),r(o,l,m,"\u2288","\\nsubseteq",!0),r(o,l,m,"\u2289","\\nsupseteq",!0),r(o,s,m,"\u22a8","\\models"),r(o,s,m,"\u2190","\\leftarrow",!0),r(o,s,m,"\u2264","\\le"),r(o,s,m,"\u2264","\\leq",!0),r(o,s,m,"<","\\lt"),r(o,s,m,"\u2260","\\ne",!0),r(o,s,m,"\u2260","\\neq"),r(o,s,m,"\u2192","\\rightarrow",!0),r(o,s,m,"\u2192","\\to"),r(o,l,m,"\u2271","\\ngeq",!0),r(o,l,m,"\u2270","\\nleq",!0),r(o,s,g,null,"\\!"),r(o,s,g,"\xa0","\\ "),r(o,s,g,"\xa0","~"),r(o,s,g,null,"\\,"),r(o,s,g,null,"\\:"),r(o,s,g,null,"\\;"),r(o,s,g,null,"\\enspace"),r(o,s,g,null,"\\qquad"),r(o,s,g,null,"\\quad"),r(o,s,g,"\xa0","\\space"),r(o,s,g,"\xa0","\\nobreakspace"),r(a,s,g,null,"\\!"),r(a,s,g,"\xa0","\\ "),r(a,s,g,"\xa0","~"),r(a,s,g,null,"\\,"),r(a,s,g,null,"\\:"),r(a,s,g,null,"\\;"),r(a,s,g,null,"\\enspace"),r(a,s,g,null,"\\qquad"),r(a,s,g,null,"\\quad"),r(a,s,g,"\xa0","\\space"),r(a,s,g,"\xa0","\\nobreakspace"),r(o,s,"punct",",",","),r(o,s,"punct",";",";"),r(o,s,"punct",":","\\colon"),r(o,l,c,"\u22bc","\\barwedge",!0),r(o,l,c,"\u22bb","\\veebar",!0),r(o,s,c,"\u2299","\\odot",!0),r(o,s,c,"\u2295","\\oplus",!0),r(o,s,c,"\u2297","\\otimes",!0),r(o,s,v,"\u2202","\\partial",!0),r(o,s,c,"\u2298","\\oslash",!0),r(o,l,c,"\u229a","\\circledcirc",!0),r(o,l,c,"\u22a1","\\boxdot",!0),r(o,s,c,"\u25b3","\\bigtriangleup"),r(o,s,c,"\u25bd","\\bigtriangledown"),r(o,s,c,"\u2020","\\dagger"),r(o,s,c,"\u22c4","\\diamond"),r(o,s,c,"\u22c6","\\star"),r(o,s,c,"\u25c3","\\triangleleft"),r(o,s,c,"\u25b9","\\triangleright"),r(o,s,p,"{","\\{"),r(a,s,v,"{","\\{"),r(a,s,v,"{","\\textbraceleft"),r(o,s,d,"}","\\}"),r(a,s,v,"}","\\}"),r(a,s,v,"}","\\textbraceright"),r(o,s,p,"{","\\lbrace"),r(o,s,d,"}","\\rbrace"),r(o,s,p,"[","\\lbrack"),r(o,s,d,"]","\\rbrack"),r(a,s,v,"<","\\textless"),r(a,s,v,">","\\textgreater"),r(o,s,p,"\u230a","\\lfloor"),r(o,s,d,"\u230b","\\rfloor"),r(o,s,p,"\u2308","\\lceil"),r(o,s,d,"\u2309","\\rceil"),r(o,s,v,"\\","\\backslash"),r(o,s,v,"\u2223","|"),r(o,s,v,"\u2223","\\vert"),r(a,s,v,"|","\\textbar"),r(o,s,v,"\u2225","\\|"),r(o,s,v,"\u2225","\\Vert"),r(a,s,v,"\u2225","\\textbardbl"),r(o,s,m,"\u2191","\\uparrow",!0),r(o,s,m,"\u21d1","\\Uparrow",!0),r(o,s,m,"\u2193","\\downarrow",!0),r(o,s,m,"\u21d3","\\Downarrow",!0),r(o,s,m,"\u2195","\\updownarrow",!0),r(o,s,m,"\u21d5","\\Updownarrow",!0),r(o,s,h,"\u2210","\\coprod"),r(o,s,h,"\u22c1","\\bigvee"),r(o,s,h,"\u22c0","\\bigwedge"),r(o,s,h,"\u2a04","\\biguplus"),r(o,s,h,"\u22c2","\\bigcap"),r(o,s,h,"\u22c3","\\bigcup"),r(o,s,h,"\u222b","\\int"),r(o,s,h,"\u222b","\\intop"),r(o,s,h,"\u222c","\\iint"),r(o,s,h,"\u222d","\\iiint"),r(o,s,h,"\u220f","\\prod"),r(o,s,h,"\u2211","\\sum"),r(o,s,h,"\u2a02","\\bigotimes"),r(o,s,h,"\u2a01","\\bigoplus"),r(o,s,h,"\u2a00","\\bigodot"),r(o,s,h,"\u222e","\\oint"),r(o,s,h,"\u2a06","\\bigsqcup"),r(o,s,h,"\u222b","\\smallint"),r(a,s,"inner","\u2026","\\textellipsis"),r(o,s,"inner","\u2026","\\mathellipsis"),r(a,s,"inner","\u2026","\\ldots",!0),r(o,s,"inner","\u2026","\\ldots",!0),r(o,s,"inner","\u22ef","\\@cdots",!0),r(o,s,"inner","\u22f1","\\ddots",!0),r(o,s,v,"\u22ee","\\vdots",!0),r(o,s,u,"\u02ca","\\acute"),r(o,s,u,"\u02cb","\\grave"),r(o,s,u,"\xa8","\\ddot"),r(o,s,u,"~","\\tilde"),r(o,s,u,"\u02c9","\\bar"),r(o,s,u,"\u02d8","\\breve"),r(o,s,u,"\u02c7","\\check"),r(o,s,u,"^","\\hat"),r(o,s,u,"\u20d7","\\vec"),r(o,s,u,"\u02d9","\\dot"),r(o,s,u,"\u02da","\\mathring"),r(o,s,f,"\u0131","\\imath",!0),r(o,s,f,"\u0237","\\jmath",!0),r(a,s,v,"\u0131","\\i",!0),r(a,s,v,"\u0237","\\j",!0),r(a,s,v,"\xdf","\\ss",!0),r(a,s,v,"\xe6","\\ae",!0),r(a,s,v,"\xe6","\\ae",!0),r(a,s,v,"\u0153","\\oe",!0),r(a,s,v,"\xf8","\\o",!0),r(a,s,v,"\xc6","\\AE",!0),r(a,s,v,"\u0152","\\OE",!0),r(a,s,v,"\xd8","\\O",!0),r(a,s,u,"\u02ca","\\'"),r(a,s,u,"\u02cb","\\`"),r(a,s,u,"\u02c6","\\^"),r(a,s,u,"\u02dc","\\~"),r(a,s,u,"\u02c9","\\="),r(a,s,u,"\u02d8","\\u"),r(a,s,u,"\u02d9","\\."),r(a,s,u,"\u02da","\\r"),r(a,s,u,"\u02c7","\\v"),r(a,s,u,"\xa8",'\\"'),r(a,s,u,"\u02dd","\\H"),r(a,s,v,"\u2013","--"),r(a,s,v,"\u2013","\\textendash"),r(a,s,v,"\u2014","---"),r(a,s,v,"\u2014","\\textemdash"),r(a,s,v,"\u2018","`"),r(a,s,v,"\u2018","\\textquoteleft"),r(a,s,v,"\u2019","'"),r(a,s,v,"\u2019","\\textquoteright"),r(a,s,v,"\u201c","``"),r(a,s,v,"\u201c","\\textquotedblleft"),r(a,s,v,"\u201d","''"),r(a,s,v,"\u201d","\\textquotedblright"),r(o,s,v,"\xb0","\\degree"),r(a,s,v,"\xb0","\\degree"),r(o,s,f,"\xa3","\\pounds"),r(o,s,f,"\xa3","\\mathsterling",!0),r(a,s,f,"\xa3","\\pounds"),r(a,s,f,"\xa3","\\textsterling",!0),r(o,l,v,"\u2720","\\maltese"),r(a,l,v,"\u2720","\\maltese"),r(a,s,g,"\xa0","\\ "),r(a,s,g,"\xa0"," "),r(a,s,g,"\xa0","~");for(var y='0123456789/@."',b=0;b<y.length;b++){var w=y.charAt(b);r(o,s,v,w,w)}for(var E='0123456789!@*()-=+[]<>|";:?/.,',T=0;T<E.length;T++){var _=E.charAt(T);r(a,s,v,_,_)}for(var k="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",x=0;x<k.length;x++){var S=k.charAt(x);r(o,s,f,S,S),r(a,s,v,S,S)}for(var C="\xc7\xd0\xde\xe7\xfe",O=0;O<C.length;O++){var A=C.charAt(O);r(o,s,f,A,A),r(a,s,v,A,A)}r(a,s,v,"\xf0","\xf0"),r(a,s,v,"\u2013","\u2013"),r(a,s,v,"\u2014","\u2014"),r(a,s,v,"\u2018","\u2018"),r(a,s,v,"\u2019","\u2019"),r(a,s,v,"\u201c","\u201c"),r(a,s,v,"\u201d","\u201d")},function(e,t,n){var r=n(38);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(42),i=n(59),o={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2]},a={"\xc5":"A","\xc7":"C","\xd0":"D","\xde":"o","\xe5":"a","\xe7":"c","\xf0":"d","\xfe":"o","\u0410":"A","\u0411":"B","\u0412":"B","\u0413":"F","\u0414":"A","\u0415":"E","\u0416":"K","\u0417":"3","\u0418":"N","\u0419":"N","\u041a":"K","\u041b":"N","\u041c":"M","\u041d":"H","\u041e":"O","\u041f":"N","\u0420":"P","\u0421":"C","\u0422":"T","\u0423":"y","\u0424":"O","\u0425":"X","\u0426":"U","\u0427":"h","\u0428":"W","\u0429":"W","\u042a":"B","\u042b":"X","\u042c":"B","\u042d":"3","\u042e":"X","\u042f":"R","\u0430":"a","\u0431":"b","\u0432":"a","\u0433":"r","\u0434":"y","\u0435":"e","\u0436":"m","\u0437":"e","\u0438":"n","\u0439":"n","\u043a":"n","\u043b":"n","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"n","\u0440":"p","\u0441":"c","\u0442":"o","\u0443":"y","\u0444":"b","\u0445":"x","\u0446":"n","\u0447":"n","\u0448":"w","\u0449":"w","\u044a":"a","\u044b":"m","\u044c":"a","\u044d":"e","\u044e":"m","\u044f":"r"},s=function(e,t,n){if(!i.a[t])throw new Error("Font metrics not found for font: "+t+".");var o=e.charCodeAt(0);e[0]in a&&(o=a[e[0]].charCodeAt(0));var s=i.a[t][o];if(s||"text"!==n||Object(r.b)(o)&&(s=i.a[t][77]),s)return{depth:s[0],height:s[1],italic:s[2],skew:s[3],width:s[4]}},l={},u=function(e){var t=void 0;if(t=e>=5?0:e>=3?1:2,!l[t]){var n=l[t]={cssEmPerMu:o.quad[t]/18};for(var r in o)o.hasOwnProperty(r)&&(n[r]=o[r][t])}return l[t]};t.a={getFontMetrics:u,getCharacterMetrics:s}},function(e,t,n){"use strict";var r=n(66),i=n.n(r),o=n(7),a=n.n(o),s=n(10),l=n.n(s),u=function(){function e(t,n,r){a()(this,e),this.lexer=t,this.start=n,this.end=r,i()(this)}return l()(e,null,[{key:"range",value:function(t,n){return n?t&&t.loc&&n.loc&&t.loc.lexer===n.loc.lexer?new e(t.loc.lexer,t.loc.start,n.loc.end):null:t&&t.loc}}]),e}();t.a=u},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var r=n(7),i=n.n(r),o=n(5),a=function e(t){i()(this,e),t=t||{},this.displayMode=o.a.deflt(t.displayMode,!1),this.throwOnError=o.a.deflt(t.throwOnError,!0),this.errorColor=o.a.deflt(t.errorColor,"#cc0000"),this.macros=t.macros||{},this.colorIsTextColor=o.a.deflt(t.colorIsTextColor,!1),this.maxSize=Math.max(0,o.a.deflt(t.maxSize,1/0))};t.a=a},function(e,t,n){"use strict";t.__esModule=!0;var r=n(79),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},function(e,t,n){"use strict";var r=n(81)(!0);n(48)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){var r=n(87),i=n(53);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(49),i=n(38);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(52)("keys"),i=n(32);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){"use strict";function r(e){var t=!0,n=!1,r=void 0;try{for(var i,o=l()(u);!(t=(i=o.next()).done);t=!0){var a=i.value,s=!0,c=!1,d=void 0;try{for(var f,h=l()(a.blocks);!(s=(f=h.next()).done);s=!0){var p=f.value;if(e>=p[0]&&e<=p[1])return a.name}}catch(e){c=!0,d=e}finally{try{!s&&h.return&&h.return()}finally{if(c)throw d}}}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}return null}function i(e){for(var t=0;t<c.length;t+=2)if(e>=c[t]&&e<=c[t+1])return!0;return!1}t.a=r,t.b=i;var o=n(35),a=n.n(o),s=n(18),l=n.n(s),u=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],c=[];u.forEach(function(e){return e.blocks.forEach(function(e){return c.push.apply(c,a()(e))})})},function(e,t,n){"use strict";var r=n(7),i=n.n(r),o=n(10),a=n.n(o),s=n(30),l=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],u=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],c=function(e,t){return t.size<2?e:l[e-1][t.size-1]},d=function(){function e(t){i()(this,e),this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.fontFamily=t.fontFamily,this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=u[this.size-1],this.maxSize=t.maxSize,this._fontMetrics=void 0}return a()(e,[{key:"extend",value:function(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new e(n)}},{key:"havingStyle",value:function(e){return this.style===e?this:this.extend({style:e,size:c(this.textSize,e)})}},{key:"havingCrampedStyle",value:function(){return this.havingStyle(this.style.cramp())}},{key:"havingSize",value:function(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:u[e-1]})}},{key:"havingBaseStyle",value:function(t){t=t||this.style.text();var n=c(e.BASESIZE,t);return this.size===n&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}},{key:"withColor",value:function(e){return this.extend({color:e})}},{key:"withPhantom",value:function(){return this.extend({phantom:!0})}},{key:"withFontFamily",value:function(e){return this.extend({fontFamily:e||this.fontFamily})}},{key:"withFontWeight",value:function(e){return this.extend({fontWeight:e})}},{key:"withFontShape",value:function(e){return this.extend({fontShape:e})}},{key:"sizingClasses",value:function(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}},{key:"baseSizingClasses",value:function(){return this.size!==e.BASESIZE?["sizing","reset-size"+this.size,"size"+e.BASESIZE]:[]}},{key:"fontMetrics",value:function(){return this._fontMetrics||(this._fontMetrics=s.a.getFontMetrics(this.size)),this._fontMetrics}},{key:"getColor",value:function(){return this.phantom?"transparent":null!=this.color&&e.colorMap.hasOwnProperty(this.color)?e.colorMap[this.color]:this.color}}]),e}();d.BASESIZE=6,d.colorMap={"katex-blue":"#6495ed","katex-orange":"#ffa500","katex-pink":"#ff00af","katex-red":"#df0030","katex-green":"#28ae7b","katex-gray":"gray","katex-purple":"#9d38bd","katex-blueA":"#ccfaff","katex-blueB":"#80f6ff","katex-blueC":"#63d9ea","katex-blueD":"#11accd","katex-blueE":"#0c7f99","katex-tealA":"#94fff5","katex-tealB":"#26edd5","katex-tealC":"#01d1c1","katex-tealD":"#01a995","katex-tealE":"#208170","katex-greenA":"#b6ffb0","katex-greenB":"#8af281","katex-greenC":"#74cf70","katex-greenD":"#1fab54","katex-greenE":"#0d923f","katex-goldA":"#ffd0a9","katex-goldB":"#ffbb71","katex-goldC":"#ff9c39","katex-goldD":"#e07d10","katex-goldE":"#a75a05","katex-redA":"#fca9a9","katex-redB":"#ff8482","katex-redC":"#f9685d","katex-redD":"#e84d39","katex-redE":"#bc2612","katex-maroonA":"#ffbde0","katex-maroonB":"#ff92c6","katex-maroonC":"#ed5fa6","katex-maroonD":"#ca337c","katex-maroonE":"#9e034e","katex-purpleA":"#ddd7ff","katex-purpleB":"#c6b9fc","katex-purpleC":"#aa87ff","katex-purpleD":"#7854ab","katex-purpleE":"#543b78","katex-mintA":"#f5f9e8","katex-mintB":"#edf2df","katex-mintC":"#e0e5cc","katex-grayA":"#f6f7f7","katex-grayB":"#f0f1f2","katex-grayC":"#e3e5e6","katex-grayD":"#d6d8da","katex-grayE":"#babec2","katex-grayF":"#888d93","katex-grayG":"#626569","katex-grayH":"#3b3e40","katex-grayI":"#21242c","katex-kaBlue":"#314453","katex-kaGreen":"#71B307"},t.a=d},function(e,t,n){"use strict";var r=n(6),i=n(9),o=n(12),a=n(0),s=n(30),l=n(28),u=n(5),c=function(e,t,n){return l.a.math[e]&&l.a.math[e].replace?s.a.getCharacterMetrics(l.a.math[e].replace,t,n):s.a.getCharacterMetrics(e,t,n)},d=function(e,t,n,r){var i=n.havingBaseStyle(t),o=a.a.makeSpan((r||[]).concat(i.sizingClasses(n)),[e],n);return o.delimSizeMultiplier=i.sizeMultiplier/n.sizeMultiplier,o.height*=o.delimSizeMultiplier,o.depth*=o.delimSizeMultiplier,o.maxFontSize=i.sizeMultiplier,o},f=function(e,t,n){var r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=i+"em",e.height-=i,e.depth+=i},h=function(e,t,n,r,i,o){var s=a.a.makeSymbol(e,"Main-Regular",i,r),l=d(s,t,r,o);return n&&f(l,r,t),l},p=function(e,t,n,r){return a.a.makeSymbol(e,"Size"+t+"-Regular",n,r)},m=function(e,t,n,r,o,s){var l=p(e,t,o,r),u=d(a.a.makeSpan(["delimsizing","size"+t],[l],r),i.a.TEXT,r,s);return n&&f(u,r,i.a.TEXT),u},g=function(e,t,n){var r=void 0;return"Size1-Regular"===t?r="delim-size1":"Size4-Regular"===t&&(r="delim-size4"),{type:"elem",elem:a.a.makeSpan(["delimsizinginner",r],[a.a.makeSpan([],[a.a.makeSymbol(e,t,n)])])}},v=function(e,t,n,r,o,s){var l=void 0,u=void 0,f=void 0,h=void 0;l=f=h=e,u=null;var p="Size1-Regular";"\\uparrow"===e?f=h="\u23d0":"\\Uparrow"===e?f=h="\u2016":"\\downarrow"===e?l=f="\u23d0":"\\Downarrow"===e?l=f="\u2016":"\\updownarrow"===e?(l="\\uparrow",f="\u23d0",h="\\downarrow"):"\\Updownarrow"===e?(l="\\Uparrow",f="\u2016",h="\\Downarrow"):"["===e||"\\lbrack"===e?(l="\u23a1",f="\u23a2",h="\u23a3",p="Size4-Regular"):"]"===e||"\\rbrack"===e?(l="\u23a4",f="\u23a5",h="\u23a6",p="Size4-Regular"):"\\lfloor"===e?(f=l="\u23a2",h="\u23a3",p="Size4-Regular"):"\\lceil"===e?(l="\u23a1",f=h="\u23a2",p="Size4-Regular"):"\\rfloor"===e?(f=l="\u23a5",h="\u23a6",p="Size4-Regular"):"\\rceil"===e?(l="\u23a4",f=h="\u23a5",p="Size4-Regular"):"("===e?(l="\u239b",f="\u239c",h="\u239d",p="Size4-Regular"):")"===e?(l="\u239e",f="\u239f",h="\u23a0",p="Size4-Regular"):"\\{"===e||"\\lbrace"===e?(l="\u23a7",u="\u23a8",h="\u23a9",f="\u23aa",p="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(l="\u23ab",u="\u23ac",h="\u23ad",f="\u23aa",p="Size4-Regular"):"\\lgroup"===e?(l="\u23a7",h="\u23a9",f="\u23aa",p="Size4-Regular"):"\\rgroup"===e?(l="\u23ab",h="\u23ad",f="\u23aa",p="Size4-Regular"):"\\lmoustache"===e?(l="\u23a7",h="\u23ad",f="\u23aa",p="Size4-Regular"):"\\rmoustache"===e&&(l="\u23ab",h="\u23a9",f="\u23aa",p="Size4-Regular");var m=c(l,p,o),v=m.height+m.depth,y=c(f,p,o),b=y.height+y.depth,w=c(h,p,o),E=w.height+w.depth,T=0,_=1;if(null!==u){var k=c(u,p,o);T=k.height+k.depth,_=2}var x=v+E+T,S=Math.ceil((t-x)/(_*b)),C=x+S*_*b,O=r.fontMetrics().axisHeight;n&&(O*=r.sizeMultiplier);var A=C/2-O,P=[];if(P.push(g(h,p,o)),null===u)for(var I=0;I<S;I++)P.push(g(f,p,o));else{for(var R=0;R<S;R++)P.push(g(f,p,o));P.push(g(u,p,o));for(var N=0;N<S;N++)P.push(g(f,p,o))}P.push(g(l,p,o));var M=r.havingBaseStyle(i.a.TEXT),D=a.a.makeVList({positionType:"bottom",positionData:A,children:P},M);return d(a.a.makeSpan(["delimsizing","mult"],[D],M),i.a.TEXT,r,s)},y=function(e,t,n,r){var i=void 0;if("sqrtTall"===e){i="M702 80H400000v40H742v"+(n-54-80)+"l-4 4-4 4c-.667.7\n-2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1h-12l-28-84c-16.667-52-96.667\n-294.333-240-727l-212 -643 -85 170c-4-3.333-8.333-7.667-13 -13l-13-13l77-155\n 77-156c66 199.333 139 419.667 219 661 l218 661zM702 80H400000v40H742z"}var s=new o.a.pathNode(e,i),l=new o.a.svgNode([s],{width:"400em",height:t+"em",viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return a.a.makeSpan(["hide-tail"],[l],r)},b=function(e,t){var n=A("\\surd",e,C,t),r=void 0,i=t.sizeMultiplier,o=0,a=0,s=0;if("small"===n.type){s=1080;i=t.havingBaseStyle(n.style).sizeMultiplier/t.sizeMultiplier,o=1.08*i,a=1*i,r=y("sqrtMain",o,s,t),r.style.minWidth="0.853em",r.advanceWidth=.833*i}else"large"===n.type?(s=1080*_[n.size],a=_[n.size]/i,o=(_[n.size]+.08)/i,r=y("sqrtSize"+n.size,o,s,t),r.style.minWidth="1.02em",r.advanceWidth=1/i):(o=e/i+.08,a=e/i,s=Math.floor(1e3*e)+80,r=y("sqrtTall",o,s,t),r.style.minWidth="0.742em",r.advanceWidth=1.056/i);return r.height=a,r.style.height=o+"em",{span:r,ruleWidth:t.fontMetrics().sqrtRuleThickness*i}},w=["(",")","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd"],E=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache"],T=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],_=[0,1.2,1.8,2.4,3],k=function(e,t,n,i,o){if("<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),u.a.contains(w,e)||u.a.contains(T,e))return m(e,t,!1,n,i,o);if(u.a.contains(E,e))return v(e,_[t],!1,n,i,o);throw new r.a("Illegal delimiter: '"+e+"'")},x=[{type:"small",style:i.a.SCRIPTSCRIPT},{type:"small",style:i.a.SCRIPT},{type:"small",style:i.a.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],S=[{type:"small",style:i.a.SCRIPTSCRIPT},{type:"small",style:i.a.SCRIPT},{type:"small",style:i.a.TEXT},{type:"stack"}],C=[{type:"small",style:i.a.SCRIPTSCRIPT},{type:"small",style:i.a.SCRIPT},{type:"small",style:i.a.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],O=function(e){return"small"===e.type?"Main-Regular":"large"===e.type?"Size"+e.size+"-Regular":"stack"===e.type?"Size4-Regular":void 0},A=function(e,t,n,r){for(var i=Math.min(2,3-r.style.size),o=i;o<n.length&&"stack"!==n[o].type;o++){var a=c(e,O(n[o]),"math"),s=a.height+a.depth;if("small"===n[o].type){s*=r.havingBaseStyle(n[o].style).sizeMultiplier}if(s>t)return n[o]}return n[n.length-1]},P=function(e,t,n,r,i,o){"<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle");var a=void 0;a=u.a.contains(T,e)?x:u.a.contains(w,e)?C:S;var s=A(e,t,a,r);return"small"===s.type?h(e,s.style,n,r,i,o):"large"===s.type?m(e,s.size,n,r,i,o):v(e,t,n,r,i,o)},I=function(e,t,n,r,i,o){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,s=5/r.fontMetrics().ptPerEm,l=Math.max(t-a,n+a),u=Math.max(l/500*901,2*l-s);return P(e,u,!0,r,i,o)};t.a={sqrtImage:b,sizedDelim:k,customSizedDelim:P,leftRightDelim:I}},function(e,t,n){var r=n(20),i=n(16).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(25),i=n(8),o=n(24);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(e,t,n){var r=n(72);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";var r=n(82),i=n(25),o=n(83),a=n(26),s=n(21),l=n(17),u=n(84),c=n(54),d=n(91),f=n(11)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,m,g,v,y){u(n,t,m);var b,w,E,T=function(e){if(!h&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",k="values"==g,x=!1,S=e.prototype,C=S[f]||S["@@iterator"]||g&&S[g],O=C||T(g),A=g?k?T("entries"):O:void 0,P="Array"==t?S.entries||C:C;if(P&&(E=d(P.call(new e)))!==Object.prototype&&(c(E,_,!0),r||s(E,f)||a(E,f,p)),k&&C&&"values"!==C.name&&(x=!0,O=function(){return C.call(this)}),r&&!y||!h&&!x&&S[f]||a(S,f,O),l[t]=O,l[_]=p,g)if(b={values:k?O:T("values"),keys:v?O:T("keys"),entries:A},y)for(w in b)w in S||o(S,w,b[w]);else i(i.P+i.F*(h||x),t,b);return b}},function(e,t,n){var r=n(50);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(37),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(16),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(15).f,i=n(21),o=n(11)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(56),i=n(11)("iterator"),o=n(17);e.exports=n(8).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(50),i=n(11)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(97),o=r(i),a=n(18),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,l=(0,s.default)(e);!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,o.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){n(99);for(var r=n(16),i=n(26),o=n(17),a=n(11)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],l=0;l<5;l++){var u=s[l],c=r[u],d=c&&c.prototype;d&&!d[a]&&i(d,a,u),o[u]=o.Array}},function(e,t,n){"use strict";t.a={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1187],8674:[-.064,.437,0,0,1167],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],824:[.19444,.69444,0,0,0],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,0],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,0],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],824:[.19444,.69444,0,0,0],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1015],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,889],8617:[.011,.511,0,0,1015],8618:[.011,.511,0,0,1015],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,889],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,667],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,666],8800:[.215,.716,0,0,666],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,692],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,847],8942:[.03,.9,0,0,121],8943:[-.19,.31,0,0,1015],8945:[-.1,.82,0,0,1015],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,301],9137:[.244,.744,0,0,301],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,184],10223:[.244,.744,0,0,184],10229:[.011,.511,0,0,1470],10230:[.011,.511,0,0,1469],10231:[.011,.511,0,0,1748],10232:[.024,.525,0,0,1497],10233:[.024,.525,0,0,1526],10234:[.024,.525,0,0,1746],10236:[.011,.511,0,0,1498],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778]},"Math-BoldItalic":{47:[.19444,.69444,0,0,0],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{47:[.19444,.69444,0,0,0],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],176:[0,.69444,0,0,.66667],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],733:[0,.69444,0,0,.5],771:[0,.67659,0,0,.5],776:[0,.67937,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],176:[0,.61111,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}}},function(e,t,n){"use strict";function r(e,t,n){for(var r=l.a(e,t,!1),o=t.sizeMultiplier/n.sizeMultiplier,a=0;a<r.length;a++){var u=s.a.indexOf(r[a].classes,"sizing");u<0?Array.prototype.push.apply(r[a].classes,t.sizingClasses(n)):r[a].classes[u+1]==="reset-size"+t.size&&(r[a].classes[u+1]="reset-size"+n.size),r[a].height*=o,r[a].depth*=o}return i.a.makeFragment(r)}t.a=r;var i=n(0),o=n(3),a=n(1),s=n(5),l=n(4),u=n(2),c=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Object(o.b)({type:"sizing",names:c,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser;i.consumeSpaces();var o=i.parseExpression(!1,n);return{type:"sizing",size:s.a.indexOf(c,r)+1,value:o}},htmlBuilder:function(e,t){var n=t.havingSize(e.value.size);return r(e.value.value,n,t)},mathmlBuilder:function(e,t){var n=t.havingSize(e.value.size),r=u.a(e.value.value,n),i=new a.a.MathNode("mstyle",r);return i.setAttribute("mathsize",n.sizeMultiplier+"em"),i}})},function(e,t,n){"use strict";function r(e){for(var t=e.type,n=e.names,r=e.props,s=e.handler,l=e.htmlBuilder,u=e.mathmlBuilder,c={numArgs:r.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:s},d=0;d<n.length;++d)a[n[d]]=c;l&&(i.d[t]=l),u&&(o.d[t]=u)}n.d(t,"a",function(){return a}),t.b=r;var i=n(4),o=n(2),a=(n(43),n(14),{})},function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return p});var r=n(7),i=n.n(r),o=n(10),a=n.n(o),s=n(145),l=n.n(s),u=n(6),c=n(31),d=n(27),f=new RegExp("[\u0300-\u036f]+$"),h=new RegExp("([ \r\n\t]+)|(%[^\n]*[\n]|[!-\\[\\]-\u2027\u202a-\ud7ff\uf900-\uffff][\u0300-\u036f]*|[\ud800-\udbff][\udc00-\udfff][\u0300-\u036f]*|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\[a-zA-Z@]+|\\\\[^\ud800-\udfff])"),p=new RegExp("^\\\\[a-zA-Z@]+"),m=new RegExp("^%[^\n]*[\n]"),g=function(){function e(t){i()(this,e),this.input=t,this.pos=0}return a()(e,[{key:"lex",value:function(){var e=this.input,t=this.pos;if(t===e.length)return new d.a("EOF",new c.a(this,t,t));var n=l()(h,e,t);if(null===n)throw new u.a("Unexpected character: '"+e[t]+"'",new d.a(e[t],new c.a(this,t,t+1)));var r=n[2]||" ",i=this.pos;this.pos+=n[0].length;var o=this.pos;return m.test(r)?this.lex():new d.a(r,new c.a(this,i,o))}}]),e}();t.c=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64),i=(n.n(r),n(65));t.default=i.a},function(e,t){},function(e,t,n){"use strict";var r=n(6),i=n(34),o=n(76),a=n(113),s=n(5),l=function(e,t,n){s.a.clearNode(t);var r=d(e,n).toNode();t.appendChild(r)};"undefined"!==typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!==typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),l=function(){throw new r.a("KaTeX doesn't work in quirks mode.")});var u=function(e,t){return d(e,t).toMarkup()},c=function(e,t){var n=new i.a(t);return Object(a.a)(e,n)},d=function(e,t){var n=new i.a(t),r=Object(a.a)(e,n);return Object(o.b)(r,e,n)},f=function(e,t){var n=new i.a(t),r=Object(a.a)(e,n);return Object(o.a)(r,e,n)};t.a={render:l,renderToString:u,ParseError:r.a,__parse:c,__renderToDomTree:d,__renderToHTMLTree:f}},function(e,t,n){e.exports={default:n(67),__esModule:!0}},function(e,t,n){n(68),e.exports=n(8).Object.freeze},function(e,t,n){var r=n(20),i=n(69).onFreeze;n(46)("freeze",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(32)("meta"),i=n(20),o=n(21),a=n(15).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(24)(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},f=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},h=function(e){return u&&p.NEED&&l(e)&&!o(e,r)&&c(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:f,onFreeze:h}},function(e,t,n){e.exports=!n(23)&&!n(24)(function(){return 7!=Object.defineProperty(n(45)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(20);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){e.exports={default:n(74),__esModule:!0}},function(e,t,n){n(75);var r=n(8).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(25);r(r.S+r.F*!n(23),"Object",{defineProperty:n(15).f})},function(e,t,n){"use strict";n.d(t,"b",function(){return u}),n.d(t,"a",function(){return c});var r=n(4),i=n(2),o=n(0),a=n(43),s=(n(34),n(9)),l=function(e){return new a.a({style:e.displayMode?s.a.DISPLAY:s.a.TEXT,maxSize:e.maxSize})},u=function(e,t,n){var a=l(n),s=Object(i.c)(e,t,a),u=Object(r.c)(e,a),c=o.a.makeSpan(["katex"],[s,u]);return n.displayMode?o.a.makeSpan(["katex-display"],[c]):c},c=function(e,t,n){var i=l(n),a=Object(r.c)(e,i),s=o.a.makeSpan(["katex"],[a]);return n.displayMode?o.a.makeSpan(["katex-display"],[s]):s}},function(e,t,n){e.exports={default:n(78),__esModule:!0}},function(e,t,n){var r=n(8),i=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return i.stringify.apply(i,arguments)}},function(e,t,n){e.exports={default:n(80),__esModule:!0}},function(e,t,n){n(36),n(92),e.exports=n(8).Array.from},function(e,t,n){var r=n(37),i=n(38);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},function(e,t){e.exports=!0},function(e,t,n){e.exports=n(26)},function(e,t,n){"use strict";var r=n(85),i=n(33),o=n(54),a={};n(26)(a,n(11)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(22),i=n(86),o=n(53),a=n(41)("IE_PROTO"),s=function(){},l=function(){var e,t=n(45)("iframe"),r=o.length;for(t.style.display="none",n(90).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(15),i=n(22),o=n(39);e.exports=n(23)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(21),i=n(40),o=n(88)(!1),a=n(41)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},function(e,t,n){var r=n(40),i=n(51),o=n(89);e.exports=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(37),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){e.exports=n(16).document&&document.documentElement},function(e,t,n){var r=n(21),i=n(29),o=n(41)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";var r=n(47),i=n(25),o=n(29),a=n(93),s=n(94),l=n(51),u=n(95),c=n(55);i(i.S+i.F*!n(96)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,d,f=o(e),h="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,v=0,y=c(f);if(g&&(m=r(m,p>2?arguments[2]:void 0,2)),void 0==y||h==Array&&s(y))for(t=l(f.length),n=new h(t);t>v;v++)u(n,v,g?m(f[v],v):f[v]);else for(d=y.call(f),n=new h;!(i=d.next()).done;v++)u(n,v,g?a(d,m,[i.value,v],!0):i.value);return n.length=v,n}})},function(e,t,n){var r=n(22);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(17),i=n(11)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(15),i=n(33);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(11)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},function(e,t,n){e.exports={default:n(98),__esModule:!0}},function(e,t,n){n(58),n(36),e.exports=n(102)},function(e,t,n){"use strict";var r=n(100),i=n(101),o=n(17),a=n(40);e.exports=n(48)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(56),i=n(11)("iterator"),o=n(17);e.exports=n(8).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||o.hasOwnProperty(r(t))}},function(e,t,n){n(58),n(36),e.exports=n(104)},function(e,t,n){var r=n(22),i=n(55);e.exports=n(8).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){e.exports={default:n(106),__esModule:!0}},function(e,t,n){n(107),e.exports=n(8).Object.assign},function(e,t,n){var r=n(25);r(r.S+r.F,"Object",{assign:n(108)})},function(e,t,n){"use strict";var r=n(39),i=n(109),o=n(110),a=n(29),s=n(49),l=Object.assign;e.exports=!l||n(24)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=a(e),l=arguments.length,u=1,c=i.f,d=o.f;l>u;)for(var f,h=s(arguments[u++]),p=c?r(h).concat(c(h)):r(h),m=p.length,g=0;m>g;)d.call(h,f=p[g++])&&(n[f]=h[f]);return n}:l},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r={stdHorizRule:"M0 80H400000 v40H0z M0 80H400000 v40H0z",vertSeparator:"M100 0h50V400000h-50zM100 0h50V400000h-50z",sqrtMain:"M95,702c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,\n-10,-9.5,-14c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54c44.2,-33.3,65.8,\n-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10s173,378,173,378c0.7,0,\n35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429c69,-144,104.5,-217.7,106.5,\n-221c5.3,-9.3,12,-14,20,-14H400000v40H845.2724s-225.272,467,-225.272,467\ns-235,486,-235,486c-2.7,4.7,-9,7,-19,7c-6,0,-10,-1,-12,-3s-194,-422,-194,-422\ns-65,47,-65,47z M834 80H400000v40H845z",sqrtSize1:"M263,681c0.7,0,18,39.7,52,119c34,79.3,68.167,\n158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120c340,-704.7,510.7,-1060.3,512,-1067\nc4.7,-7.3,11,-11,19,-11H40000v40H1012.3s-271.3,567,-271.3,567c-38.7,80.7,-84,\n175,-136,283c-52,108,-89.167,185.3,-111.5,232c-22.3,46.7,-33.8,70.3,-34.5,71\nc-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1s-109,-253,-109,-253c-72.7,-168,-109.3,\n-252,-110,-252c-10.7,8,-22,16.7,-34,26c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26\ns76,-59,76,-59s76,-60,76,-60z M1001 80H40000v40H1012z",sqrtSize2:"M1001,80H400000v40H1013.1s-83.4,268,-264.1,840c-180.7,\n572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,\n-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744c-10,12,-21,25,-33,39s-32,39,-32,39\nc-6,-5.3,-15,-14,-27,-26s25,-30,25,-30c26.7,-32.7,52,-63,76,-91s52,-60,52,-60\ns208,722,208,722c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,\n-658.5c53.7,-170.3,84.5,-266.8,92.5,-289.5c4,-6.7,10,-10,18,-10z\nM1001 80H400000v40H1013z",sqrtSize3:"M424,2478c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,\n-342,-109.8,-513.3,-110.5,-514c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,\n25c-5.7,9.3,-9.8,16,-12.5,20s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,\n-13s76,-122,76,-122s77,-121,77,-121s209,968,209,968c0,-2,84.7,-361.7,254,-1079\nc169.3,-717.3,254.7,-1077.7,256,-1081c4,-6.7,10,-10,18,-10H400000v40H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M1001 80H400000v40H1014z",sqrtSize4:"M473,2793c339.3,-1799.3,509.3,-2700,510,-2702\nc3.3,-7.3,9.3,-11,18,-11H400000v40H1017.7s-90.5,478,-276.2,1466c-185.7,988,\n-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,\n-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200c0,-1.3,-5.3,8.7,-16,30c-10.7,\n21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26s76,-153,76,-153s77,-151,\n77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,606z\nM1001 80H400000v40H1017z",doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",baraboveleftarrow:"M1 500c30.67-18 59-41.833 85-71.5s45-61.17 57-94.5h23\nc15.33 0 23 .33 23 1 0 .67-5.33 12.67-16 36-16.67 34.67-39 67.33-67 98l-10 11\nh39904v40H96l9 10c27.33 30.67 50.67 65 70 103l14 33c0 .67-7.67 1-23 1h-22\nC116.67 596.33 69 540.67 1 500z M96 480 H400000 v40 H96z\nM1 147 H399905 v40  H1z M0 147 H399905 v40  H0z",rightarrowabovebar:"M400000 167c-70.67 42-118 97.67-142 167h-23c-15.33 0\n-23-.33-23-1 0-1.33 5.33-13.67 16-37 18-35.33 41.33-69 70-101l7-8h-39905\nv-40h39905c-389 0 0 0 0 0l-7-8c-28.67-32-52-65.67-70-101-10.67-23.33-16-35.67\n-16-37 0-.67 7.67-1 23-1h23c11.33 33.33 30 64.833 56 94.5s54.67 53.83 86 72.5z\nM0 147 H399905 v40  H0z M96 480 H400000 v40 H0z M96 480 H400000 v40 H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};t.a={path:r}},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s});var r={number:3,unit:"mu"},i={number:4,unit:"mu"},o={number:5,unit:"mu"},a={mord:{mop:r,mbin:i,mrel:o,minner:r},mop:{mord:r,mop:r,mrel:o,minner:r},mbin:{mord:i,mop:i,mopen:i,minner:i},mrel:{mord:o,mop:o,mopen:o,minner:o},mopen:{},mclose:{mop:r,mbin:i,mrel:o,minner:r},mpunct:{mord:r,mop:r,mrel:o,mopen:r,mclose:r,mpunct:r,minner:r},minner:{mord:r,mop:r,mbin:i,mrel:o,mopen:r,mpunct:r,minner:r}},s={mord:{mop:r},mop:{mord:r,mop:r},mbin:{},mrel:{},mopen:{},mclose:{mop:r},mpunct:{},minner:{mop:r}}},function(e,t,n){"use strict";var r=n(114),i=function(e,t){if(!("string"===typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");return new r.a(e,t).parse()};t.a=i},function(e,t,n){"use strict";function r(e,t){return{type:"arg",result:e,token:t}}function i(e){return{type:"fn",result:e.text,token:e}}function o(e){return{type:"$",result:"$",token:e}}function a(e){if("$"===e.type)throw new E.a("Unexpected $",e.token);return e}var s=n(7),l=n.n(s),u=n(10),c=n.n(u),d=n(115),f=n(142),h=n(144),p=n(28),m=n(19),g=n(42),v=n(148),y=n.n(v),b=n(149),w=n(14),E=n(6),T=n(62),_=(n(34),n(27),function(){function e(t,n){l()(this,e),this.mode="math",this.gullet=new h.a(t,n.macros,this.mode),n.colorIsTextColor&&(this.gullet.macros["\\color"]="\\textcolor"),this.settings=n,this.leftrightDepth=0}return c()(e,[{key:"expect",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.nextToken.text!==e)throw new E.a("Expected '"+e+"', got '"+this.nextToken.text+"'",this.nextToken);t&&this.consume()}},{key:"consume",value:function(){this.nextToken=this.gullet.expandNextToken()}},{key:"switchMode",value:function(e){this.mode=e,this.gullet.switchMode(e)}},{key:"parse",value:function(){return this.consume(),this.parseInput()}},{key:"parseInput",value:function(){var e=this.parseExpression(!1);return this.expect("EOF",!1),e}},{key:"parseExpression",value:function(t,n){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var i=this.nextToken;if(-1!==e.endOfExpression.indexOf(i.text))break;if(n&&i.text===n)break;if(t&&d.a[i.text]&&d.a[i.text].infix)break;var o=this.parseAtom(n);if(!o){if(!this.settings.throwOnError&&"\\"===i.text[0]){var a=this.handleUnsupportedCmd();r.push(a);continue}break}r.push(o)}return this.handleInfixNodes(r)}},{key:"handleInfixNodes",value:function(e){for(var t=-1,n=void 0,r=0;r<e.length;r++){var i=e[r];if("infix"===i.type){if(-1!==t)throw new E.a("only one infix operator per group",i.value.token);t=r,n=i.value.replaceWith}}if(-1!==t&&n){var o=void 0,a=void 0,s=e.slice(0,t),l=e.slice(t+1);o=1===s.length&&"ordgroup"===s[0].type?s[0]:new w.a("ordgroup",s,this.mode),a=1===l.length&&"ordgroup"===l[0].type?l[0]:new w.a("ordgroup",l,this.mode);var u=this.callFunction(n,[o,a],[]);return[new w.a(u.type,u,this.mode)]}return e}},{key:"handleSupSubscript",value:function(t){var n=this.nextToken,r=n.text;this.consume(),this.consumeSpaces();var i=this.parseGroup();if(!i){if(this.settings.throwOnError||"\\"!==this.nextToken.text[0])throw new E.a("Expected group after '"+r+"'",n);return this.handleUnsupportedCmd()}var o=a(i);if("fn"===o.type){if(d.a[o.result].greediness>e.SUPSUB_GREEDINESS)return this.parseGivenFunction(i);throw new E.a("Got function '"+o.result+"' with no arguments as "+t,n)}return o.result}},{key:"handleUnsupportedCmd",value:function(){for(var e=this.nextToken.text,t=[],n=0;n<e.length;n++)t.push(new w.a("textord",e[n],"text"));var r=new w.a("text",{body:t,type:"text"},this.mode),i=new w.a("color",{color:this.settings.errorColor,value:[r],type:"color"},this.mode);return this.consume(),i}},{key:"parseAtom",value:function(e){var t=this.parseImplicitGroup(e);if("text"===this.mode)return t;for(var n=void 0,r=void 0;;){this.consumeSpaces();var i=this.nextToken;if("\\limits"===i.text||"\\nolimits"===i.text){if(!t||"op"!==t.type)throw new E.a("Limit controls must follow a math operator",i);var o="\\limits"===i.text;t.value.limits=o,t.value.alwaysHandleSupSub=!0,this.consume()}else if("^"===i.text){if(n)throw new E.a("Double superscript",i);n=this.handleSupSubscript("superscript")}else if("_"===i.text){if(r)throw new E.a("Double subscript",i);r=this.handleSupSubscript("subscript")}else{if("'"!==i.text)break;if(n)throw new E.a("Double superscript",i);var a=new w.a("textord","\\prime",this.mode),s=[a];for(this.consume();"'"===this.nextToken.text;)s.push(a),this.consume();"^"===this.nextToken.text&&s.push(this.handleSupSubscript("superscript")),n=new w.a("ordgroup",s,this.mode)}}return n||r?new w.a("supsub",{base:t,sup:n,sub:r},this.mode):t}},{key:"parseImplicitGroup",value:function(e){var t=this.parseSymbol();if(null==t)return this.parseFunction();if("arg"===t.type)return this.parseGivenFunction(t);var n=t.result;if("$"===n){if("math"===this.mode)throw new E.a("$ within math mode");var r=this.mode;this.switchMode("math"),this.consume();var i=this.parseExpression(!1,"$");return this.expect("$",!1),this.switchMode(r),this.consume(),new w.a("styling",{style:"text",value:i},"math")}if("\\begin"===n){var o=this.parseGivenFunction(t),a=o.value.name;if(!f.a.hasOwnProperty(a))throw new E.a("No such environment: "+a,o.value.nameGroup);var s=f.a[a],l=this.parseArguments("\\begin{"+a+"}",s),u=l.args,c=l.optArgs,d={mode:this.mode,envName:a,parser:this},h=s.handler(d,u,c);this.expect("\\end",!1);var p=this.nextToken,m=this.parseFunction();if(!m)throw new E.a("failed to parse function after \\end");if(m.value.name!==a)throw new E.a("Mismatch: \\begin{"+a+"} matched by \\end{"+m.value.name+"}",p);return h}return this.parseGivenFunction(t,e)}},{key:"parseFunction",value:function(){var e=this.parseGroup();return e?this.parseGivenFunction(e):null}},{key:"parseGivenFunction",value:function(e,t){if(e=a(e),"fn"===e.type){var n=e.result,r=d.a[n];if("text"===this.mode&&!r.allowedInText)throw new E.a("Can't use function '"+n+"' in text mode",e.token);if("math"===this.mode&&!1===r.allowedInMath)throw new E.a("Can't use function '"+n+"' in math mode",e.token);var i=this.parseArguments(n,r),o=i.args,s=i.optArgs,l=e.token,u=this.callFunction(n,o,s,l,t);return new w.a(u.type,u,this.mode)}return e.result}},{key:"callFunction",value:function(e,t,n,r,i){var o={funcName:e,parser:this,token:r,breakOnTokenText:i},a=d.a[e];if(a&&a.handler)return a.handler(o,t,n);throw new E.a("No function handler for "+e)}},{key:"parseArguments",value:function(e,t){var n=t.numArgs+t.numOptionalArgs;if(0===n)return{args:[],optArgs:[]};for(var i=t.greediness,o=[],s=[],l=0;l<n;l++){var u=t.argTypes&&t.argTypes[l],c=l<t.numOptionalArgs;l>0&&!c&&this.consumeSpaces(),0!==l||c||"math"!==this.mode||this.consumeSpaces();var f=this.nextToken,h=u?this.parseGroupOfType(u,c):this.parseGroup(c);if(!h){if(c){s.push(null);continue}if(this.settings.throwOnError||"\\"!==this.nextToken.text[0])throw new E.a("Expected group after '"+e+"'",f);h=r(this.handleUnsupportedCmd(),f)}var p=void 0;if(h=a(h),"fn"===h.type){if(!(d.a[h.result].greediness>i))throw new E.a("Got function '"+h.result+"' as argument to '"+e+"'",f);p=this.parseGivenFunction(h)}else p=h.result;(c?s:o).push(p)}return{args:o,optArgs:s}}},{key:"parseGroupOfType",value:function(e,t){return"original"===e&&(e=this.mode),"color"===e?this.parseColorGroup(t):"size"===e?this.parseSizeGroup(t):"url"===e?this.parseUrlGroup(t):this.parseGroup(t,e)}},{key:"consumeSpaces",value:function(){for(;" "===this.nextToken.text;)this.consume()}},{key:"parseStringGroup",value:function(e,t){if(t&&"["!==this.nextToken.text)return null;var n=this.mode;this.mode="text",this.expect(t?"[":"{");for(var r="",i=this.nextToken,o=i;this.nextToken.text!==(t?"]":"}");){if("EOF"===this.nextToken.text)throw new E.a("Unexpected end of input in "+e,i.range(this.nextToken,r));o=this.nextToken,r+=o.text,this.consume()}return this.mode=n,this.expect(t?"]":"}"),i.range(o,r)}},{key:"parseStringGroupWithBalancedBraces",value:function(e,t){if(t&&"["!==this.nextToken.text)return null;var n=this.mode;this.mode="text",this.expect(t?"[":"{");for(var r="",i=0,o=this.nextToken,a=o;i>0||this.nextToken.text!==(t?"]":"}");){if("EOF"===this.nextToken.text)throw new E.a("Unexpected end of input in "+e,o.range(this.nextToken,r));if(a=this.nextToken,r+=a.text,"{"===a.text)i+=1;else if("}"===a.text){if(i<=0)throw new E.a("Unbalanced brace of input in "+e,o.range(this.nextToken,r));i-=1}this.consume()}return this.mode=n,this.expect(t?"]":"}"),o.range(a,r)}},{key:"parseRegexGroup",value:function(e,t){var n=this.mode;this.mode="text";for(var r=this.nextToken,i=r,o="";"EOF"!==this.nextToken.text&&e.test(o+this.nextToken.text);)i=this.nextToken,o+=i.text,this.consume();if(""===o)throw new E.a("Invalid "+t+": '"+r.text+"'",r);return this.mode=n,r.range(i,o)}},{key:"parseColorGroup",value:function(e){var t=this.parseStringGroup("color",e);if(!t)return null;var n=/^(#[a-f0-9]{3}|#[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new E.a("Invalid color: '"+t.text+"'",t);return r(new w.a("color",n[0],this.mode),t)}},{key:"parseUrlGroup",value:function(e){var t=this.parseStringGroupWithBalancedBraces("url",e);if(!t)return null;var n=t.text,i=n.replace(/\\([#$%&~_^{}])/g,"$1");return r(new w.a("url",i,this.mode),t)}},{key:"parseSizeGroup",value:function(e){var t=void 0;if(!(t=e||"{"===this.nextToken.text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!n)throw new E.a("Invalid size: '"+t.text+"'",t);var i={number:+(n[1]+n[2]),unit:n[3]};if(!Object(m.b)(i))throw new E.a("Invalid unit: '"+i.unit+"'",t);return r(new w.a("size",i,this.mode),t)}},{key:"parseGroup",value:function(e,t){var n=this.mode,i=this.nextToken;if(this.nextToken.text===(e?"[":"{")){t&&this.switchMode(t),this.consume();var o=this.parseExpression(!1,e?"]":"}"),a=this.nextToken;return t&&this.switchMode(n),this.expect(e?"]":"}"),"text"===t&&this.formLigatures(o),r(new w.a("ordgroup",o,this.mode,i,a),i.range(a,i.text))}t&&this.switchMode(t);var s=e?null:this.parseSymbol();return t&&this.switchMode(n),s}},{key:"formLigatures",value:function(e){for(var t=e.length-1,n=0;n<t;++n){var r=e[n],i=r.value;"-"===i&&"-"===e[n+1].value&&(n+1<t&&"-"===e[n+2].value?(e.splice(n,3,new w.a("textord","---","text",r,e[n+2])),t-=2):(e.splice(n,2,new w.a("textord","--","text",r,e[n+1])),t-=1)),"'"!==i&&"`"!==i||e[n+1].value!==i||(e.splice(n,2,new w.a("textord",i+i,"text",r,e[n+1])),t-=1)}}},{key:"parseSymbol",value:function(){var e=this.nextToken,t=e.text;if(d.a[t])return this.consume(),i(e);if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var n=t.slice(5),a="*"===n.charAt(0);if(a&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new E.a("\\verb assertion failed --\n                    please report what input caused this bug");return n=n.slice(1,-1),r(new w.a("verb",{body:n,star:a},"text"),e)}if("$"===t)return o(e);b.a.hasOwnProperty(t[0])&&!p.a[this.mode][t[0]]&&(t=b.a[t[0]]+t.substr(1));var s=T.a.exec(t);s&&(t=t.substring(0,s.index),"i"===t?t="\u0131":"j"===t&&(t="\u0237"));var l=null;if(p.a[this.mode][t])l=new w.a(p.a[this.mode][t].group,t,this.mode,e);else{if("text"!==this.mode||!Object(g.b)(t.charCodeAt(0)))return null;l=new w.a("textord",t,this.mode,e)}if(this.consume(),s)for(var u=0;u<s[0].length;u++){var c=s[0][u];if(!y.a[c])throw new E.a("Unknown accent ' "+c+"'",e);var f=y.a[c][this.mode];if(!f)throw new E.a("Accent "+c+" unsupported in "+this.mode+" mode",e);l=new w.a("accent",{type:"accent",label:f,isStretchy:!1,isShifty:!0,base:l},this.mode,e)}return r(l,e)}}]),e}());_.endOfExpression=["}","\\end","\\right","&","\\\\","\\cr"],_.SUPSUB_GREEDINESS=1,t.a=_},function(e,t,n){"use strict";var r=n(6),i=n(14),o=n(3),a=(n(116),n(117),n(118),n(119),n(120),n(121),n(122),n(123),n(124),n(125),n(126),n(127),n(128),n(129),n(130),n(131),n(60),n(132),n(133),n(137),n(138),n(139),n(140),n(141),o.a);t.a=a;var s=function(e,t,n){Object(o.b)({names:e,props:t,handler:n})};s(["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],{numArgs:1},function(e,t){var n=t[0];return{type:"mclass",mclass:"m"+e.funcName.substr(5),value:Object(o.c)(n)}}),s(["\\stackrel"],{numArgs:2},function(e,t){var n=t[0],r=t[1],a=new i.a("op",{type:"op",limits:!0,alwaysHandleSupSub:!0,symbol:!1,value:Object(o.c)(r)},r.mode);return{type:"mclass",mclass:"mrel",value:[new i.a("supsub",{base:a,sup:n,sub:null},n.mode)]}});var l={"\u222b":"\\int","\u222c":"\\iint","\u222d":"\\iiint","\u222e":"\\oint"};s(["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],{numArgs:0},function(e){return{type:"op",limits:!1,symbol:!1,body:e.funcName}}),s(["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],{numArgs:0},function(e){return{type:"op",limits:!0,symbol:!1,body:e.funcName}}),s(["\\int","\\iint","\\iiint","\\oint","\u222b","\u222c","\u222d","\u222e"],{numArgs:0},function(e){var t=e.funcName;return 1===t.length&&(t=l[t]),{type:"op",limits:!1,symbol:!0,body:t}}),s(["\\overbrace","\\underbrace"],{numArgs:1},function(e,t){var n=t[0];return{type:"horizBrace",label:e.funcName,isOver:/^\\over/.test(e.funcName),base:n}}),s(["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],{numArgs:1,numOptionalArgs:1},function(e,t,n){var r=n[0],i=t[0];return{type:"xArrow",label:e.funcName,body:i,below:r}}),s(["\\over","\\choose","\\atop"],{numArgs:0,infix:!0},function(e){var t=void 0;switch(e.funcName){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",replaceWith:t,token:e.token}}),s(["\\\\","\\cr"],{numArgs:0,numOptionalArgs:1,argTypes:["size"]},function(e,t,n){return{type:"cr",size:n[0]}}),s(["\\begin","\\end"],{numArgs:1,argTypes:["text"]},function(e,t){var n=t[0];if("ordgroup"!==n.type)throw new r.a("Invalid environment name",n);for(var i="",o=0;o<n.value.length;++o)i+=n.value[o].value;return{type:"environment",name:i,nameGroup:n}}),s(["\\raisebox"],{numArgs:2,argTypes:["size","text"],allowedInText:!0},function(e,t){var n=t[0],r=t[1];return{type:"raisebox",dy:n,body:r,value:Object(o.c)(r)}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(12),a=n(1),s=n(44),l=n(9),u=n(4),c=n(2);Object(r.b)({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,n){var r=n[0];return{type:"sqrt",body:t[0],index:r}},htmlBuilder:function(e,t){var n=u.b(e.value.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n instanceof o.a.documentFragment&&(n=i.a.makeSpan([],[n],t));var r=t.fontMetrics(),a=r.defaultRuleThickness,c=a;t.style.id<l.a.TEXT.id&&(c=t.fontMetrics().xHeight);var d=a+c/4,f=(n.height+n.depth+d+a)*t.sizeMultiplier,h=s.a.sqrtImage(f,t),p=h.span,m=h.ruleWidth,g=p.height-m;g>n.height+n.depth+d&&(d=(d+g-n.height-n.depth)/2);var v=p.height-n.height-d-m;n.style.paddingLeft=p.advanceWidth+"em";var y=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+v)},{type:"elem",elem:p},{type:"kern",size:m}]},t);if(e.value.index){var b=t.havingStyle(l.a.SCRIPTSCRIPT),w=u.b(e.value.index,b,t),E=.6*(y.height-y.depth),T=i.a.makeVList({positionType:"shift",positionData:-E,children:[{type:"elem",elem:w}]},t),_=i.a.makeSpan(["root"],[T]);return i.a.makeSpan(["mord","sqrt"],[_,y],t)}return i.a.makeSpan(["mord","sqrt"],[y],t)},mathmlBuilder:function(e,t){return e.value.index?new a.a.MathNode("mroot",[c.b(e.value.body,t),c.b(e.value.index,t)]):new a.a.MathNode("msqrt",[c.b(e.value.body,t)])}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(6),s=n(4),l=n(2),u=function(e,t){var n=s.a(e.value.value,t.withColor(e.value.color),!1);return new i.a.makeFragment(n)},c=function(e,t){var n=l.a(e.value.value,t),r=new o.a.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.value.color),r};Object(r.b)({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(e,t){var n=t[0],i=t[1];return{type:"color",color:n.value,value:Object(r.c)(i)}},htmlBuilder:u,mathmlBuilder:c}),Object(r.b)({type:"color",names:["\\blue","\\orange","\\pink","\\red","\\green","\\gray","\\purple","\\blueA","\\blueB","\\blueC","\\blueD","\\blueE","\\tealA","\\tealB","\\tealC","\\tealD","\\tealE","\\greenA","\\greenB","\\greenC","\\greenD","\\greenE","\\goldA","\\goldB","\\goldC","\\goldD","\\goldE","\\redA","\\redB","\\redC","\\redD","\\redE","\\maroonA","\\maroonB","\\maroonC","\\maroonD","\\maroonE","\\purpleA","\\purpleB","\\purpleC","\\purpleD","\\purpleE","\\mintA","\\mintB","\\mintC","\\grayA","\\grayB","\\grayC","\\grayD","\\grayE","\\grayF","\\grayG","\\grayH","\\grayI","\\kaBlue","\\kaGreen"],props:{numArgs:1,allowedInText:!0,greediness:3},handler:function(e,t){var n=t[0];return{type:"color",color:"katex-"+e.funcName.slice(1),value:Object(r.c)(n)}},htmlBuilder:u,mathmlBuilder:c}),Object(r.b)({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(e,t){var n=e.parser,r=e.breakOnTokenText,i=t[0];if(!i)throw new a.a("\\color not followed by color");var o=n.parseExpression(!0,r);return{type:"color",color:i.value,value:o}},htmlBuilder:u,mathmlBuilder:c})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2),l={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},u={"\\textbf":"textbf"},c={"\\textit":"textit"};Object(r.b)({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textit"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(e,t){var n=t[0];return{type:"text",body:Object(r.c)(n),font:e.funcName}},htmlBuilder:function(e,t){var n=e.value.font,r=void 0;r=l[n]?t.withFontFamily(l[n]):u[n]?t.withFontWeight(u[n]):t.withFontShape(c[n]);var o=a.a(e.value.body,r,!0);return i.a.tryCombineChars(o),i.a.makeSpan(["mord","text"],o,r)},mathmlBuilder:function(e,t){for(var n=e.value.body,r=[],i=null,a=0;a<n.length;a++){var l=s.b(n[a],t);"mtext"===l.type&&null!=i?Array.prototype.push.apply(i.children,l.children):(r.push(l),"mtext"===l.type&&(i=l))}return 1===r.length?r[0]:new o.a.MathNode("mrow",r)}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(5),s=n(13),l=n(4),u=n(2),c=function(e,t){var n=l.b(e.value.body,t),r=e.value.label.substr(1),o=t.sizeMultiplier,u=void 0,c=0,d=/color/.test(r);if("sout"===r)u=i.a.makeSpan(["stretchy","sout"]),u.height=t.fontMetrics().defaultRuleThickness/o,c=-.5*t.fontMetrics().xHeight;else{n.classes.push(/cancel/.test(r)?"cancel-pad":"boxpad");var f=0;f=/box/.test(r)?"colorbox"===r?.3:.34:a.a.isCharacterBox(e.value.body)?.2:0,u=s.a.encloseSpan(n,r,f,t),c=n.depth+f,d&&(u.style.backgroundColor=e.value.backgroundColor.value,"fcolorbox"===r&&(u.style.borderColor=e.value.borderColor.value))}var h=void 0;return h=d?i.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:c},{type:"elem",elem:n,shift:0}]},t):i.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:u,shift:c,wrapperClasses:/cancel/.test(r)?["svg-align"]:[]}]},t),/cancel/.test(r)?i.a.makeSpan(["mord","cancel-lap"],[h],t):i.a.makeSpan(["mord"],[h],t)},d=function(e,t){var n=new o.a.MathNode("menclose",[u.b(e.value.body,t)]);switch(e.value.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\colorbox":n.setAttribute("mathbackground",e.value.backgroundColor.value);break;case"\\fcolorbox":n.setAttribute("mathbackground",e.value.backgroundColor.value),n.setAttribute("notation","box");break;default:n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return n};Object(r.b)({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(e,t,n){var r=t[0],i=t[1];return{type:"enclose",label:e.funcName,backgroundColor:r,body:i}},htmlBuilder:c,mathmlBuilder:d}),Object(r.b)({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(e,t,n){var r=t[0],i=t[1],o=t[2];return{type:"enclose",label:e.funcName,backgroundColor:i,borderColor:r,body:o}},htmlBuilder:c,mathmlBuilder:d}),Object(r.b)({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\fbox"],props:{numArgs:1},handler:function(e,t,n){var r=t[0];return{type:"enclose",label:e.funcName,body:r}},htmlBuilder:c,mathmlBuilder:d})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(e,t){return{type:"overline",body:t[0]}},htmlBuilder:function(e,t){var n=a.b(e.value.body,t.havingCrampedStyle()),r=i.a.makeLineSpan("overline-line",t),o=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:r.height},{type:"elem",elem:r}]},t);return i.a.makeSpan(["mord","overline"],[o],t)},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mo",[new o.a.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new o.a.MathNode("mover",[s.b(e.value.body,t),n]);return r.setAttribute("accent","true"),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){return{type:"underline",body:t[0]}},htmlBuilder:function(e,t){var n=a.b(e.value.body,t),r=i.a.makeLineSpan("underline-line",t),o=i.a.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r},{type:"kern",size:5*r.height},{type:"elem",elem:n}]},t);return i.a.makeSpan(["mord","underline"],[o],t)},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mo",[new o.a.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new o.a.MathNode("munder",[s.b(e.value.body,t),n]);return r.setAttribute("accentunder","true"),r}})},function(e,t,n){"use strict";var r=n(0),i=n(3),o=n(1),a=n(19);Object(i.b)({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(e,t,n){var r=n[0],i=t[0],o=t[1];return{type:"rule",shift:r&&r.value,width:i.value,height:o.value}},htmlBuilder:function(e,t){var n=r.a.makeSpan(["mord","rule"],[],t),i=0;e.value.shift&&(i=Object(a.a)(e.value.shift,t));var o=Object(a.a)(e.value.width,t),s=Object(a.a)(e.value.height,t);return n.style.borderRightWidth=o+"em",n.style.borderTopWidth=s+"em",n.style.bottom=i+"em",n.width=o,n.height=s+i,n.depth=-i,n.maxFontSize=1.125*s*t.sizeMultiplier,n},mathmlBuilder:function(e,t){return new o.a.MathNode("mrow")}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(19),s=n(6);Object(r.b)({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t){var n="m"===e.funcName[1],r="mu"===t[0].value.unit;if(n){if(r||"undefined"!==typeof console&&console.warn("In LaTeX, "+e.funcName+" supports only mu units, not "+t[0].value.unit+" units"),"math"!==e.parser.mode)throw new s.a("Can't use function '"+e.funcName+"' in text mode")}else r&&"undefined"!==typeof console&&console.warn("In LaTeX, "+e.funcName+" does not support mu units");return{type:"kern",dimension:t[0].value}},htmlBuilder:function(e,t){return i.a.makeGlue(e.value.dimension,t)},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mspace"),r=Object(a.a)(e.value.dimension,t);return n.setAttribute("width",r+"em"),n}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"phantom",names:["\\phantom"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"phantom",value:Object(r.c)(n)}},htmlBuilder:function(e,t){var n=a.a(e.value.value,t.withPhantom(),!1);return new i.a.makeFragment(n)},mathmlBuilder:function(e,t){var n=s.a(e.value.value,t);return new o.a.MathNode("mphantom",n)}}),Object(r.b)({type:"hphantom",names:["\\hphantom"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"hphantom",value:Object(r.c)(n),body:n}},htmlBuilder:function(e,t){var n=i.a.makeSpan([],[a.b(e.value.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(e,t){var n=s.a(e.value.value,t),r=new o.a.MathNode("mphantom",n);return r.setAttribute("height","0px"),r}}),Object(r.b)({type:"vphantom",names:["\\vphantom"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"vphantom",value:Object(r.c)(n),body:n}},htmlBuilder:function(e,t){var n=i.a.makeSpan(["inner"],[a.b(e.value.body,t.withPhantom())]),r=i.a.makeSpan(["fix"],[]);return i.a.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:function(e,t){var n=s.a(e.value.value,t),r=new o.a.MathNode("mphantom",n);return r.setAttribute("width","0px"),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(9),s=n(4),l=n(2),u=function(e,t){var n=[];if("bmod"===e.value.modType?t.style.isTight()?n.push(i.a.makeSpan(["mspace","thickspace"],[],t)):n.push(i.a.makeSpan(["mspace","muspace"],[],t)):t.style.size===a.a.DISPLAY.size?n.push(i.a.makeSpan(["mspace","quad"],[],t)):"mod"===e.value.modType?n.push(i.a.makeSpan(["mspace","twelvemuspace"],[],t)):n.push(i.a.makeSpan(["mspace","eightmuspace"],[],t)),"pod"!==e.value.modType&&"pmod"!==e.value.modType||n.push(i.a.mathsym("(",e.mode)),"pod"!==e.value.modType){var r=[i.a.mathsym("m",e.mode),i.a.mathsym("o",e.mode),i.a.mathsym("d",e.mode)];"bmod"===e.value.modType?(n.push(i.a.makeSpan(["mbin"],r,t)),t.style.isTight()?n.push(i.a.makeSpan(["mspace","thickspace"],[],t)):n.push(i.a.makeSpan(["mspace","muspace"],[],t))):(Array.prototype.push.apply(n,r),n.push(i.a.makeSpan(["mspace","sixmuspace"],[],t)))}return e.value.value&&Array.prototype.push.apply(n,s.a(e.value.value,t,!1)),"pod"!==e.value.modType&&"pmod"!==e.value.modType||n.push(i.a.mathsym(")",e.mode)),i.a.makeFragment(n)},c=function(e,t){var n=[];if("pod"!==e.value.modType&&"pmod"!==e.value.modType||n.push(new o.a.MathNode("mo",[l.e("(",e.mode)])),"pod"!==e.value.modType&&n.push(new o.a.MathNode("mo",[l.e("mod",e.mode)])),e.value.value){var r=new o.a.MathNode("mspace");r.setAttribute("width","0.333333em"),n.push(r),n=n.concat(l.a(e.value.value,t))}return"pod"!==e.value.modType&&"pmod"!==e.value.modType||n.push(new o.a.MathNode("mo",[l.e(")",e.mode)])),new o.a.MathNode("mo",n)};Object(r.b)({type:"mod",names:["\\bmod"],props:{numArgs:0},handler:function(e,t){return{type:"mod",modType:"bmod",value:null}},htmlBuilder:u,mathmlBuilder:c}),Object(r.b)({type:"mod",names:["\\pod","\\pmod","\\mod"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"mod",modType:e.funcName.substr(1),value:Object(r.c)(n)}},htmlBuilder:u,mathmlBuilder:c})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(12),a=n(1),s=n(5),l=n(9),u=n(4),c=n(2),d=function(e,t){var n=void 0,r=void 0,a=!1;"supsub"===e.type&&(n=e.value.sup,r=e.value.sub,e=e.value.base,a=!0);var c=t.style,d=["\\smallint"],f=!1;c.size===l.a.DISPLAY.size&&e.value.symbol&&!s.a.contains(d,e.value.body)&&(f=!0);var h=void 0;if(e.value.symbol){var p=f?"Size2-Regular":"Size1-Regular";h=i.a.makeSymbol(e.value.body,p,"math",t,["mop","op-symbol",f?"large-op":"small-op"])}else if(e.value.value){var m=u.a(e.value.value,t,!0);1===m.length&&m[0]instanceof o.a.symbolNode?(h=m[0],h.classes[0]="mop"):h=i.a.makeSpan(["mop"],m,t)}else{for(var g=[],v=1;v<e.value.body.length;v++)g.push(i.a.mathsym(e.value.body[v],e.mode));h=i.a.makeSpan(["mop"],g,t)}var y=0,b=0;if(h instanceof o.a.symbolNode&&(y=(h.height-h.depth)/2-t.fontMetrics().axisHeight,b=h.italic),a){h=i.a.makeSpan([],[h]);var w=void 0,E=void 0;if(n){var T=u.b(n,t.havingStyle(c.sup()),t);E={elem:T,kern:Math.max(t.fontMetrics().bigOpSpacing1,t.fontMetrics().bigOpSpacing3-T.depth)}}if(r){var _=u.b(r,t.havingStyle(c.sub()),t);w={elem:_,kern:Math.max(t.fontMetrics().bigOpSpacing2,t.fontMetrics().bigOpSpacing4-_.height)}}var k=void 0;if(E&&w){var x=t.fontMetrics().bigOpSpacing5+w.elem.height+w.elem.depth+w.kern+h.depth+y;k=i.a.makeVList({positionType:"bottom",positionData:x,children:[{type:"kern",size:t.fontMetrics().bigOpSpacing5},{type:"elem",elem:w.elem,marginLeft:-b+"em"},{type:"kern",size:w.kern},{type:"elem",elem:h},{type:"kern",size:E.kern},{type:"elem",elem:E.elem,marginLeft:b+"em"},{type:"kern",size:t.fontMetrics().bigOpSpacing5}]},t)}else if(w){var S=h.height-y;k=i.a.makeVList({positionType:"top",positionData:S,children:[{type:"kern",size:t.fontMetrics().bigOpSpacing5},{type:"elem",elem:w.elem,marginLeft:-b+"em"},{type:"kern",size:w.kern},{type:"elem",elem:h}]},t)}else{if(!E)return h;var C=h.depth+y;k=i.a.makeVList({positionType:"bottom",positionData:C,children:[{type:"elem",elem:h},{type:"kern",size:E.kern},{type:"elem",elem:E.elem,marginLeft:b+"em"},{type:"kern",size:t.fontMetrics().bigOpSpacing5}]},t)}return i.a.makeSpan(["mop","op-limits"],[k],t)}return y&&(h.style.position="relative",h.style.top=y+"em"),h},f=function(e,t){var n=void 0;if(e.value.symbol)n=new a.a.MathNode("mo",[c.e(e.value.body,e.mode)]);else{if(!e.value.value){n=new a.a.MathNode("mi",[new a.a.TextNode(e.value.body.slice(1))]);var r=new a.a.MathNode("mo",[c.e("\u2061","text")]);return new o.a.documentFragment([n,r])}n=new a.a.MathNode("mo",c.a(e.value.value,t))}return n},h={"\u220f":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22c0":"\\bigwedge","\u22c1":"\\bigvee","\u22c2":"\\bigcap","\u22c3":"\\bigcap","\u2a00":"\\bigodot","\u2a01":"\\bigoplus","\u2a02":"\\bigotimes","\u2a04":"\\biguplus","\u2a06":"\\bigsqcup"};Object(r.b)({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220f","\u2210","\u2211","\u22c0","\u22c1","\u22c2","\u22c3","\u2a00","\u2a01","\u2a02","\u2a04","\u2a06"],props:{numArgs:0},handler:function(e,t){var n=e.funcName;return 1===n.length&&(n=h[n]),{type:"op",limits:!0,symbol:!0,body:n}},htmlBuilder:d,mathmlBuilder:f}),Object(r.b)({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"op",limits:!1,symbol:!1,value:Object(r.c)(n)}},htmlBuilder:d,mathmlBuilder:f})},function(e,t,n){"use strict";var r=n(18),i=n.n(r),o=n(3),a=n(0),s=n(1),l=n(12),u=n(4),c=n(2);Object(o.b)({type:"operatorname",names:["\\operatorname"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"operatorname",value:Object(o.c)(n)}},htmlBuilder:function(e,t){var n=[];if(e.value.value.length>0){var r="",o="",s=!0,c=!1,d=void 0;try{for(var f,h=i()(e.value.value);!(s=(f=h.next()).done);s=!0){var p=f.value;-1!=="*-/:".indexOf(p.value)&&(p.type="textord")}}catch(e){c=!0,d=e}finally{try{!s&&h.return&&h.return()}finally{if(c)throw d}}var m=u.a(e.value.value,t.withFontFamily("mathrm"),!0),g=!0,v=!1,y=void 0;try{for(var b,w=i()(m);!(g=(b=w.next()).done);g=!0){var E=b.value;E instanceof l.a.symbolNode?(r=E.value,r=r.replace(/\u2212/,"-"),r=r.replace(/\u2217/,"*"),o=/[\u0391-\u03D7]/.test(r)?"math":"text",n.push(a.a.mathsym(r,o))):n.push(E)}}catch(e){v=!0,y=e}finally{try{!g&&w.return&&w.return()}finally{if(v)throw y}}}return a.a.makeSpan(["mop"],n,t)},mathmlBuilder:function(e,t){var n=[];if(e.value.value.length>0){var r=c.a(e.value.value,t.withFontFamily("mathrm")),i=r.map(function(e){return e.toText()}).join("");i=i.replace(/\u2212/g,"-"),i=i.replace(/\u2217/g,"*"),n=[new s.a.TextNode(i)]}var o=new s.a.MathNode("mi",n);o.setAttribute("mathvariant","normal");var a=new s.a.MathNode("mo",[c.e("\u2061","text")]);return new l.a.documentFragment([o,a])}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(44),a=n(1),s=n(9),l=n(4),u=n(2);Object(r.b)({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac"],props:{numArgs:2,greediness:2},handler:function(e,t){var n=t[0],r=t[1],i=void 0,o=null,a=null,s="auto";switch(e.funcName){case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,o="(",a=")";break;default:throw new Error("Unrecognized genfrac command")}switch(e.funcName){case"\\dfrac":case"\\dbinom":s="display";break;case"\\tfrac":case"\\tbinom":s="text"}return{type:"genfrac",numer:n,denom:r,hasBarLine:i,leftDelim:o,rightDelim:a,size:s}},htmlBuilder:function(e,t){var n=t.style;"display"===e.value.size?n=s.a.DISPLAY:"text"===e.value.size&&(n=s.a.TEXT);var r=n.fracNum(),a=n.fracDen(),u=void 0;u=t.havingStyle(r);var c=l.b(e.value.numer,u,t);u=t.havingStyle(a);var d=l.b(e.value.denom,u,t),f=void 0,h=void 0,p=void 0;e.value.hasBarLine?(f=i.a.makeLineSpan("frac-line",t),h=f.height,p=f.height):(f=null,h=0,p=t.fontMetrics().defaultRuleThickness);var m=void 0,g=void 0,v=void 0;n.size===s.a.DISPLAY.size?(m=t.fontMetrics().num1,g=h>0?3*p:7*p,v=t.fontMetrics().denom1):(h>0?(m=t.fontMetrics().num2,g=p):(m=t.fontMetrics().num3,g=3*p),v=t.fontMetrics().denom2);var y=void 0;if(f){var b=t.fontMetrics().axisHeight;m-c.depth-(b+.5*h)<g&&(m+=g-(m-c.depth-(b+.5*h))),b-.5*h-(d.height-v)<g&&(v+=g-(b-.5*h-(d.height-v)));var w=-(b-.5*h);y=i.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:d,shift:v},{type:"elem",elem:f,shift:w+2*h},{type:"elem",elem:c,shift:-m}]},t)}else{var E=m-c.depth-(d.height-v);E<g&&(m+=.5*(g-E),v+=.5*(g-E)),y=i.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:d,shift:v},{type:"elem",elem:c,shift:-m}]},t)}u=t.havingStyle(n),y.height*=u.sizeMultiplier/t.sizeMultiplier,y.depth*=u.sizeMultiplier/t.sizeMultiplier;var T=void 0;T=n.size===s.a.DISPLAY.size?t.fontMetrics().delim1:t.fontMetrics().delim2;var _=void 0,k=void 0;return _=null==e.value.leftDelim?l.e(t,["mopen"]):o.a.customSizedDelim(e.value.leftDelim,T,!0,t.havingStyle(n),e.mode,["mopen"]),k=null==e.value.rightDelim?l.e(t,["mclose"]):o.a.customSizedDelim(e.value.rightDelim,T,!0,t.havingStyle(n),e.mode,["mclose"]),i.a.makeSpan(["mord"].concat(u.sizingClasses(t)),[_,i.a.makeSpan(["mfrac"],[y]),k],t)},mathmlBuilder:function(e,t){var n=new a.a.MathNode("mfrac",[u.b(e.value.numer,t),u.b(e.value.denom,t)]);if(e.value.hasBarLine||n.setAttribute("linethickness","0px"),null!=e.value.leftDelim||null!=e.value.rightDelim){var r=[];if(null!=e.value.leftDelim){var i=new a.a.MathNode("mo",[new a.a.TextNode(e.value.leftDelim)]);i.setAttribute("fence","true"),r.push(i)}if(r.push(n),null!=e.value.rightDelim){var o=new a.a.MathNode("mo",[new a.a.TextNode(e.value.rightDelim)]);o.setAttribute("fence","true"),r.push(o)}return new a.a.MathNode("mrow",r)}return n}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=t[0];return{type:"lap",alignment:e.funcName.slice(5),body:n}},htmlBuilder:function(e,t){var n=void 0;"clap"===e.value.alignment?(n=i.a.makeSpan([],[a.b(e.value.body,t)]),n=i.a.makeSpan(["inner"],[n],t)):n=i.a.makeSpan(["inner"],[a.b(e.value.body,t)]);var r=i.a.makeSpan(["fix"],[]);return i.a.makeSpan(["mord",e.value.alignment],[n,r],t)},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mpadded",[s.b(e.value.body,t)]);if("rlap"!==e.value.alignment){var r="llap"===e.value.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,n){var r=!1,i=!1,o=n[0];if(o)for(var a="",s=0;s<o.value.length;++s)if("t"===(a=o.value[s].value))r=!0;else{if("b"!==a){r=!1,i=!1;break}i=!0}else r=!0,i=!0;return{type:"smash",body:t[0],smashHeight:r,smashDepth:i}},htmlBuilder:function(e,t){var n=i.a.makeSpan(["mord"],[a.b(e.value.body,t)]);if(!e.value.smashHeight&&!e.value.smashDepth)return n;if(e.value.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(e.value.smashDepth&&(n.depth=0,n.children))for(var o=0;o<n.children.length;o++)n.children[o].depth=0;return i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mpadded",[s.b(e.value.body,t)]);return e.value.smashHeight&&n.setAttribute("height","0px"),e.value.smashDepth&&n.setAttribute("depth","0px"),n}})},function(e,t,n){"use strict";function r(e,t){if(u.a.contains(h,e.value))return e;throw new l.a("Invalid delimiter: '"+e.value+"' after '"+t.funcName+"'",e)}var i=n(0),o=n(3),a=n(44),s=n(1),l=n(6),u=n(5),c=n(4),d=n(2),f={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},h=["(",")","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","<",">","\\langle","\u27e8","\\rangle","\u27e9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];Object(o.b)({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(e,t){var n=r(t[0],e);return{type:"delimsizing",size:f[e.funcName].size,mclass:f[e.funcName].mclass,value:n.value}},htmlBuilder:function(e,t){var n=e.value.value;return"."===n?i.a.makeSpan([e.value.mclass]):a.a.sizedDelim(n,e.value.size,t,e.mode,[e.value.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.value.value&&t.push(d.e(e.value.value,e.mode));var n=new s.a.MathNode("mo",t);return"mopen"===e.value.mclass||"mclose"===e.value.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n}}),Object(o.b)({type:"leftright",names:["\\left","\\right"],props:{numArgs:1},handler:function(e,t){var n=r(t[0],e);if("\\left"===e.funcName){var i=e.parser;++i.leftrightDepth;var o=i.parseExpression(!1);--i.leftrightDepth,i.expect("\\right",!1);var a=i.parseFunction();if(!a)throw new l.a("failed to parse function after \\right");return{type:"leftright",body:o,left:n.value,right:a.value.value}}return{type:"leftright",value:n.value}},htmlBuilder:function(e,t){for(var n=c.a(e.value.body,t,!0,[null,"mclose"]),r=0,o=0,s=!1,l=0;l<n.length;l++)n[l].isMiddle?s=!0:(r=Math.max(n[l].height,r),o=Math.max(n[l].depth,o));r*=t.sizeMultiplier,o*=t.sizeMultiplier;var u=void 0;if(u="."===e.value.left?c.e(t,["mopen"]):a.a.leftRightDelim(e.value.left,r,o,t,e.mode,["mopen"]),n.unshift(u),s)for(var d=1;d<n.length;d++){var f=n[d];f.isMiddle&&(n[d]=a.a.leftRightDelim(f.isMiddle.value,r,o,f.isMiddle.options,e.mode,[]))}var h=void 0;return h="."===e.value.right?c.e(t,["mclose"]):a.a.leftRightDelim(e.value.right,r,o,t,e.mode,["mclose"]),n.push(h),i.a.makeSpan(["minner"],n,t)},mathmlBuilder:function(e,t){var n=d.a(e.value.body,t);if("."!==e.value.left){var r=new s.a.MathNode("mo",[d.e(e.value.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if("."!==e.value.right){var i=new s.a.MathNode("mo",[d.e(e.value.right,e.mode)]);i.setAttribute("fence","true"),n.push(i)}return new s.a.MathNode("mrow",n)}}),Object(o.b)({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(e,t){var n=r(t[0],e);if(!e.parser.leftrightDepth)throw new l.a("\\middle without preceding \\left",n);return{type:"middle",value:n.value}},htmlBuilder:function(e,t){var n=void 0;return"."===e.value.value?n=c.e(t,[]):(n=a.a.sizedDelim(e.value.value,1,t,e.mode,[]),n.isMiddle={value:e.value.value,options:t}),n},mathmlBuilder:function(e,t){var n=new s.a.MathNode("mo",[d.e(e.value.middle,e.mode)]);return n.setAttribute("fence","true"),n}})},function(e,t,n){"use strict";var r=n(3),i=n(1),o=n(9),a=n(60),s=n(2),l={display:o.a.DISPLAY,text:o.a.TEXT,script:o.a.SCRIPT,scriptscript:o.a.SCRIPTSCRIPT};Object(r.b)({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser;i.consumeSpaces();var o=i.parseExpression(!0,n);return{type:"styling",style:r.slice(1,r.length-5),value:o}},htmlBuilder:function(e,t){var n=l[e.value.style],r=t.havingStyle(n);return Object(a.a)(e.value.value,r,t)},mathmlBuilder:function(e,t){var n={display:o.a.DISPLAY,text:o.a.TEXT,script:o.a.SCRIPT,scriptscript:o.a.SCRIPTSCRIPT},r=n[e.value.style],a=t.havingStyle(r),l=s.a(e.value.value,a),u=new i.a.MathNode("mstyle",l),c={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},d=c[e.value.style];return u.setAttribute("scriptlevel",d[0]),u.setAttribute("displaystyle",d[1]),u}})},function(e,t,n){"use strict";var r=n(134),i=n.n(r),o=n(3),a=n(14),s=n(4),l=n(2),u=function(e,t){var n=e.value.font;return s.b(e.value.body,t.withFontFamily(n))},c=function(e,t){var n=e.value.font;return l.b(e.value.body,t.withFontFamily(n))},d={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Object(o.b)({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\boldsymbol","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak","\\bm"],props:{numArgs:1,greediness:2},handler:function(e,t){var n=t[0],r=e.funcName;return r in d&&(r=d[r]),{type:"font",font:r.slice(1),body:n}},htmlBuilder:u,mathmlBuilder:c});var f={"\\rm":"mathrm","\\sf":"mathsf","\\tt":"mathtt","\\bf":"mathbf","\\it":"mathit"};Object(o.b)({type:"font",names:i()(f),props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=e.breakOnTokenText;n.consumeSpaces();var o=n.parseExpression(!0,i);return{type:"font",font:f[r],body:new a.a("ordgroup",o,n.mode)}},htmlBuilder:u,mathmlBuilder:c})},function(e,t,n){e.exports={default:n(135),__esModule:!0}},function(e,t,n){n(136),e.exports=n(8).Object.keys},function(e,t,n){var r=n(29),i=n(39);n(46)("keys",function(){return function(e){return i(r(e))}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(5),s=n(13),l=n(4),u=n(2),c=function(e,t){var n=e.value.base,r=void 0;if("supsub"===e.type){var o=e;e=o.value.base,n=e.value.base,o.value.base=n,r=l.b(o,t)}var u=l.b(n,t.havingCrampedStyle()),c=e.value.isShifty&&a.a.isCharacterBox(n),d=0;if(c){var f=a.a.getBaseElem(n);d=l.b(f,t.havingCrampedStyle()).skew}var h=Math.min(u.height,t.fontMetrics().xHeight),p=void 0;if(e.value.isStretchy)p=s.a.svgSpan(e,t),p=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"elem",elem:p,wrapperClasses:["svg-align"],wrapperStyle:d>0?{width:"calc(100% - "+2*d+"em)",marginLeft:2*d+"em"}:void 0}]},t);else{var m=void 0,g=void 0;"\\vec"===e.value.label?(m=i.a.staticSvg("vec",t),g=i.a.svgData.vec[1]):(m=i.a.makeSymbol(e.value.label,"Main-Regular",e.mode,t),m.italic=0,g=m.width),p=i.a.makeSpan(["accent-body"],[m]);var v=-g/2;v+=d,p.style.left=v+"em",p=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:-h},{type:"elem",elem:p}]},t)}var y=i.a.makeSpan(["mord","accent"],[p],t);return r?(r.children[0]=y,r.height=Math.max(y.height,r.height),r.classes[0]="mord",r):y},d=function(e,t){var n=void 0;n=e.value.isStretchy?s.a.mathMLnode(e.value.label):new o.a.MathNode("mo",[u.e(e.value.label,e.mode)]);var r=new o.a.MathNode("mover",[u.b(e.value.base,t),n]);return r.setAttribute("accent","true"),r},f=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(e){return"\\"+e}).join("|"));Object(r.b)({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(e,t){var n=t[0],r=!f.test(e.funcName),i=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName;return{type:"accent",label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:c,mathmlBuilder:d}),Object(r.b)({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=t[0];return{type:"accent",label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:c,mathmlBuilder:d})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(13),s=n(4),l=n(2);Object(r.b)({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"accentUnder",label:e.funcName,base:n}},htmlBuilder:function(e,t){var n=s.b(e.value.base,t),r=a.a.svgSpan(e,t),o="\\utilde"===e.value.label?.12:0,l=i.a.makeVList({positionType:"bottom",positionData:r.height+o,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:n}]},t);return i.a.makeSpan(["mord","accentunder"],[l],t)},mathmlBuilder:function(e,t){var n=a.a.mathMLnode(e.value.label),r=new o.a.MathNode("munder",[l.b(e.value.body,t),n]);return r.setAttribute("accentunder","true"),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(6);Object(r.b)({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,n){throw new a.a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var n=i.a.makeVerb(e,t),r=[],o=t.havingStyle(t.style.text()),a=0;a<n.length;a++)if("\xa0"===n[a]){var s=i.a.makeSpan(["mord","rule"],[],o);s.style.marginLeft="0.525em",r.push(s)}else r.push(i.a.makeSymbol(n[a],"Typewriter-Regular",e.mode,o,["mathtt"]));return i.a.tryCombineChars(r),i.a.makeSpan(["mord","text"].concat(o.sizingClasses(t)),r,o)},mathmlBuilder:function(e,t){var n=new o.a.TextNode(i.a.makeVerb(e,t)),r=new o.a.MathNode("mtext",[n]);return r.setAttribute("mathvariant",i.a.fontMap.mathtt.variant),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"]},handler:function(e,t){var n=t[1];return{type:"href",href:t[0].value,body:Object(r.c)(n)}},htmlBuilder:function(e,t){var n=a.a(e.value.body,t,!1),r=e.value.href;return new i.a.makeAnchor(r,[],n,t)},mathmlBuilder:function(e,t){var n=s.a(e.value.body,t),r=new o.a.MathNode("mrow",n);return r.setAttribute("href",e.value.href),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(9),s=n(4),l=n(2),u=function(e,t){var n=t.style;return n.size===a.a.DISPLAY.size?e.value.display:n.size===a.a.TEXT.size?e.value.text:n.size===a.a.SCRIPT.size?e.value.script:n.size===a.a.SCRIPTSCRIPT.size?e.value.scriptscript:e.value.text};Object(r.b)({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(e,t){return{type:"mathchoice",display:Object(r.c)(t[0]),text:Object(r.c)(t[1]),script:Object(r.c)(t[2]),scriptscript:Object(r.c)(t[3])}},htmlBuilder:function(e,t){var n=u(e,t),r=s.a(n,t,!1);return new i.a.makeFragment(r)},mathmlBuilder:function(e,t){var n=u(e,t),r=l.a(n,t,!1);return new o.a.MathNode("mrow",r)}})},function(e,t,n){"use strict";var r=n(61),i=(n(143),r.a);t.a=i},function(e,t,n){"use strict";function r(e,t,n){for(var r=[],i=[r],o=[];;){var a=e.parseExpression(!1,void 0);a=new u.a("ordgroup",a,e.mode),n&&(a=new u.a("styling",{style:n,value:[a]},e.mode)),r.push(a);var s=e.nextToken.text;if("&"===s)e.consume();else{if("\\end"===s){var c=i[i.length-1];i.length>1&&1===c.length&&0===c[0].value.value[0].value.length&&i.pop();break}if("\\\\"!==s&&"\\cr"!==s)throw new l.a("Expected & or \\\\ or \\end",e.nextToken);var d=e.parseFunction();if(!d)throw new l.a("Failed to parse function after "+s);o.push(d.value.size),r=[],i.push(r)}}return t.body=i,t.rowGaps=o,new u.a(t.type,t,e.mode)}function i(e){return"d"===e.substr(0,1)?"display":"text"}var o=n(0),a=n(61),s=n(1),l=n(6),u=n(14),c=n(19),d=n(5),f=n(13),h=n(4),p=n(2),m=function(e,t){var n=void 0,r=void 0,i=e.value.body.length,a=0,s=new Array(i),u=1/t.fontMetrics().ptPerEm,p=5*u,m=12*u,g=3*u,v=d.a.deflt(e.value.arraystretch,1),y=v*m,b=.7*y,w=.3*y,E=0;for(n=0;n<e.value.body.length;++n){var T=e.value.body[n],_=b,k=w;a<T.length&&(a=T.length);var x=new Array(T.length);for(r=0;r<T.length;++r){var S=h.b(T[r],t);k<S.depth&&(k=S.depth),_<S.height&&(_=S.height),x[r]=S}var C=0;e.value.rowGaps[n]&&(C=Object(c.a)(e.value.rowGaps[n].value,t))>0&&(C+=w,k<C&&(k=C),C=0),e.value.addJot&&(k+=g),x.height=_,x.depth=k,E+=_,x.pos=E,E+=k+C,s[n]=x}var O=E/2+t.fontMetrics().axisHeight,A=e.value.cols||[],P=[],I=void 0,R=void 0;for(r=0,R=0;r<a||R<A.length;++r,++R){for(var N=A[R]||{},M=!0;"separator"===N.type;){if(M||(I=o.a.makeSpan(["arraycolsep"],[]),I.style.width=t.fontMetrics().doubleRuleSep+"em",P.push(I)),"|"!==N.separator)throw new l.a("Invalid separator type: "+N.separator);var D=f.a.ruleSpan("vertical-separator",.05,t);D.style.height=E+"em",D.style.verticalAlign=-(E-O)+"em",P.push(D),R++,N=A[R]||{},M=!1}if(!(r>=a)){var L=void 0;(r>0||e.value.hskipBeforeAndAfter)&&0!==(L=d.a.deflt(N.pregap,p))&&(I=o.a.makeSpan(["arraycolsep"],[]),I.style.width=L+"em",P.push(I));var j=[];for(n=0;n<i;++n){var W=s[n],B=W[r];if(B){var F=W.pos-O;B.depth=W.depth,B.height=W.height,j.push({type:"elem",elem:B,shift:F})}}j=o.a.makeVList({positionType:"individualShift",children:j},t),j=o.a.makeSpan(["col-align-"+(N.align||"c")],[j]),P.push(j),(r<a-1||e.value.hskipBeforeAndAfter)&&0!==(L=d.a.deflt(N.postgap,p))&&(I=o.a.makeSpan(["arraycolsep"],[]),I.style.width=L+"em",P.push(I))}}return s=o.a.makeSpan(["mtable"],P),o.a.makeSpan(["mord"],[s],t)},g=function(e,t){return new s.a.MathNode("mtable",e.value.body.map(function(e){return new s.a.MathNode("mtr",e.map(function(e){return new s.a.MathNode("mtd",[p.b(e,t)])}))}))},v=function(e,t){var n={type:"array",cols:[],addJot:!0};n=r(e.parser,n,"display");var i=void 0,o=0,a=new u.a("ordgroup",[],e.mode);if(t[0]&&t[0].value){for(var s="",c=0;c<t[0].value.length;c++)s+=t[0].value[c].value;i=Number(s),o=2*i}var d=!o;n.value.body.forEach(function(e){for(var t=1;t<e.length;t+=2){e[t].value.value[0].value.unshift(a)}if(d)o<e.length&&(o=e.length);else{var n=e.length/2;if(i<n)throw new l.a("Too many math in a row: expected "+i+", but got "+n,e)}});for(var f=0;f<o;++f){var h="r",p=0;f%2===1?h="l":f>0&&d&&(p=1),n.value.cols[f]={type:"align",align:h,pregap:p,postgap:0}}return n};Object(a.b)({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var n=t[0];n=n.value.map?n.value:[n];var o=n.map(function(e){var t=e.value;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};throw new l.a("Unknown column alignment: "+e.value,e)}),a={type:"array",cols:o,hskipBeforeAndAfter:!0};return a=r(e.parser,a,i(e.envName))},htmlBuilder:m,mathmlBuilder:g}),Object(a.b)({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName],n={type:"array",hskipBeforeAndAfter:!1};return n=r(e.parser,n,i(e.envName)),t&&(n=new u.a("leftright",{body:[n],left:t[0],right:t[1]},e.mode)),n},htmlBuilder:m,mathmlBuilder:g}),Object(a.b)({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(e){var t={type:"array",arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]};return t=r(e.parser,t,i(e.envName)),t=new u.a("leftright",{body:[t],left:"\\{",right:"."},e.mode)},htmlBuilder:m,mathmlBuilder:g}),Object(a.b)({type:"array",names:["aligned"],props:{numArgs:0},handler:v,htmlBuilder:m,mathmlBuilder:g}),Object(a.b)({type:"array",names:["gathered"],props:{numArgs:0},handler:function(e){var t={type:"array",cols:[{type:"align",align:"c"}],addJot:!0};return t=r(e.parser,t,"display")},htmlBuilder:m,mathmlBuilder:g}),Object(a.b)({type:"array",names:["alignedat"],props:{numArgs:1},handler:v,htmlBuilder:m,mathmlBuilder:g})},function(e,t,n){"use strict";var r=n(35),i=n.n(r),o=n(7),a=n.n(o),s=n(10),l=n.n(s),u=n(62),c=n(27),d=n(146),f=n(6),h=n(147),p=n.n(h),m=function(){function e(t,n,r){a()(this,e),this.lexer=new u.c(t),this.macros=p()({},d.a,n),this.mode=r,this.stack=[]}return l()(e,[{key:"switchMode",value:function(e){this.mode=e}},{key:"future",value:function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}},{key:"popToken",value:function(){return this.future(),this.stack.pop()}},{key:"pushToken",value:function(e){this.stack.push(e)}},{key:"pushTokens",value:function(e){var t;(t=this.stack).push.apply(t,i()(e))}},{key:"consumeSpaces",value:function(){for(;;){if(" "!==this.future().text)break;this.stack.pop()}}},{key:"consumeArgs",value:function(e){for(var t=[],n=0;n<e;++n){this.consumeSpaces();var r=this.popToken();if("{"===r.text){for(var i=[],o=1;0!==o;){var a=this.popToken();if(i.push(a),"{"===a.text)++o;else if("}"===a.text)--o;else if("EOF"===a.text)throw new f.a("End of input in macro argument",r)}i.pop(),i.reverse(),t[n]=i}else{if("EOF"===r.text)throw new f.a("End of input expecting macro argument");t[n]=[r]}}return t}},{key:"expandOnce",value:function(){var e=this.popToken(),t=e.text;if("\\"===t.charAt(0)&&u.b.test(t)&&this.consumeSpaces(),!this.macros.hasOwnProperty(t))return this.pushToken(e),e;var n=this._getExpansion(t),r=n.tokens,o=n.numArgs,a=r;if(o){var s=this.consumeArgs(o);a=a.slice();for(var l=a.length-1;l>=0;--l){var c=a[l];if("#"===c.text){if(0===l)throw new f.a("Incomplete placeholder at end of macro body",c);if(c=a[--l],"#"===c.text)a.splice(l+1,1);else{if(!/^[1-9]$/.test(c.text))throw new f.a("Not a valid argument number",c);var d;(d=a).splice.apply(d,[l,2].concat(i()(s[+c.text-1])))}}}}return this.pushTokens(a),a}},{key:"expandAfterFuture",value:function(){return this.expandOnce(),this.future()}},{key:"expandNextToken",value:function(){for(;;){var e=this.expandOnce();if(e instanceof c.a){if("\\relax"!==e.text)return this.stack.pop();this.stack.pop()}}throw new Error}},{key:"_getExpansion",value:function(e){var t=this.macros[e],n="function"===typeof t?t(this):t;if("string"===typeof n){var r=0;if(-1!==n.indexOf("#"))for(var i=n.replace(/##/g,"");-1!==i.indexOf("#"+(r+1));)++r;for(var o=new u.c(n),a=[],s=o.lex();"EOF"!==s.text;)a.push(s),s=o.lex();a.reverse();var l={tokens:a,numArgs:r};return"function"!==typeof t&&(this.macros[e]=l),l}return n}}]),e}();t.a=m},function(e,t){function n(e){if(!e.__matchAtRelocatable){var t=e.source+"|()",n="g"+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"");e.__matchAtRelocatable=new RegExp(t,n)}return e.__matchAtRelocatable}function r(e,t,r){if(e.global||e.sticky)throw new Error("matchAt(...): Only non-global regexes are supported");var i=n(e);i.lastIndex=r;var o=i.exec(t);return null==o[o.length-1]?(o.length=o.length-1,o):null}e.exports=r},function(e,t,n){"use strict";function r(e,t){s[e]=t}var i=n(59),o=n(28),a=n(5),s=(n(27),{});t.a=s,r("\\@firstoftwo",function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),r("\\@secondoftwo",function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),r("\\@ifnextchar",function(e){var t=e.consumeArgs(3),n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),r("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),r("\\TextOrMath",function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}),r("\\bgroup","{"),r("\\egroup","}"),r("\\begingroup","{"),r("\\endgroup","}"),r("\\lq","`"),r("\\rq","'"),r("\\lbrack","["),r("\\rbrack","]"),r("\\aa","\\r a"),r("\\AA","\\r A"),r("\u2102","\\mathbb{C}"),r("\u210d","\\mathbb{H}"),r("\u2115","\\mathbb{N}"),r("\u2119","\\mathbb{P}"),r("\u211a","\\mathbb{Q}"),r("\u211d","\\mathbb{R}"),r("\u2124","\\mathbb{Z}"),r("\xb7","\\cdotp"),r("\\llap","\\mathllap{\\textrm{#1}}"),r("\\rlap","\\mathrlap{\\textrm{#1}}"),r("\\clap","\\mathclap{\\textrm{#1}}"),r("\\varGamma","\\mathit{\\Gamma}"),r("\\varDelta","\\mathit{\\Delta}"),r("\\varTheta","\\mathit{\\Theta}"),r("\\varLambda","\\mathit{\\Lambda}"),r("\\varXi","\\mathit{\\Xi}"),r("\\varPi","\\mathit{\\Pi}"),r("\\varSigma","\\mathit{\\Sigma}"),r("\\varUpsilon","\\mathit{\\Upsilon}"),r("\\varPhi","\\mathit{\\Phi}"),r("\\varPsi","\\mathit{\\Psi}"),r("\\varOmega","\\mathit{\\Omega}"),r("\\overset","\\mathop{#2}\\limits^{#1}"),r("\\underset","\\mathop{#2}\\limits_{#1}"),r("\\boxed","\\fbox{\\displaystyle{#1}}"),r("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),r("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),r("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var l={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\implies":"\\dotsb","\\impliedby":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\iff":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\bmod":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};r("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in l?t=l[n]:"\\not"===n.substr(0,4)?t="\\dotsb":n in o.a.math&&a.a.contains(["bin","rel"],o.a.math[n].group)&&(t="\\dotsb"),t});var u={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};r("\\dotso",function(e){return e.future().text in u?"\\ldots\\,":"\\ldots"}),r("\\dotsc",function(e){var t=e.future().text;return t in u&&","!==t?"\\ldots\\,":"\\ldots"}),r("\\cdots",function(e){return e.future().text in u?"\\@cdots\\,":"\\@cdots"}),r("\\dotsb","\\cdots"),r("\\dotsm","\\cdots"),r("\\dotsi","\\!\\cdots"),r("\\dotsx","\\ldots\\,"),r("\\DOTSI","\\relax"),r("\\DOTSB","\\relax"),r("\\DOTSX","\\relax"),r("\\thinspace","\\,"),r("\\medspace","\\:"),r("\\thickspace","\\;"),r("\\TeX","\\textrm{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}");var c=i.a["Main-Regular"]["T".charCodeAt(0)][1]-.7*i.a["Main-Regular"]["A".charCodeAt(0)][1]+"em";r("\\LaTeX","\\textrm{L\\kern-.36em\\raisebox{"+c+"}{\\scriptsize A}\\kern-.15em\\TeX}"),r("\\KaTeX","\\textrm{K\\kern-.17em\\raisebox{"+c+"}{\\scriptsize A}\\kern-.15em\\TeX}"),r("\\hspace","\\@ifstar\\kern\\kern"),r("\\ordinarycolon",":"),r("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),r("\\dblcolon","\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon"),r("\\coloneqq","\\vcentcolon\\mathrel{\\mkern-1.2mu}="),r("\\Coloneqq","\\dblcolon\\mathrel{\\mkern-1.2mu}="),r("\\coloneq","\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}"),r("\\Coloneq","\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}"),r("\\eqqcolon","=\\mathrel{\\mkern-1.2mu}\\vcentcolon"),r("\\Eqqcolon","=\\mathrel{\\mkern-1.2mu}\\dblcolon"),r("\\eqcolon","\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon"),r("\\Eqcolon","\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon"),r("\\colonapprox","\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx"),r("\\Colonapprox","\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx"),r("\\colonsim","\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim"),r("\\Colonsim","\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim"),r("\u2254","\\coloneqq"),r("\u2255","\\eqqcolon"),r("\u2a74","\\Coloneqq"),r("\\ratio","\\vcentcolon"),r("\\coloncolon","\\dblcolon"),r("\\colonequals","\\coloneqq"),r("\\coloncolonequals","\\Coloneqq"),r("\\equalscolon","\\eqqcolon"),r("\\equalscoloncolon","\\Eqqcolon"),r("\\colonminus","\\coloneq"),r("\\coloncolonminus","\\Coloneq"),r("\\minuscolon","\\eqcolon"),r("\\minuscoloncolon","\\Eqcolon"),r("\\coloncolonapprox","\\Colonapprox"),r("\\coloncolonsim","\\Colonsim"),r("\\simcolon","\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon"),r("\\simcoloncolon","\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon"),r("\\approxcolon","\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon"),r("\\approxcoloncolon","\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon"),r("\\notni","\\not\\ni"),r("\\limsup","\\DOTSB\\mathop{\\operatorname{lim\\,sup}}\\limits"),r("\\liminf","\\DOTSB\\mathop{\\operatorname{lim\\,inf}}\\limits")},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=r(e),u=1;u<arguments.length;u++){n=Object(arguments[u]);for(var c in n)o.call(n,c)&&(l[c]=n[c]);if(i){s=i(n);for(var d=0;d<s.length;d++)a.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t){e.exports={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030c":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030a":{text:"\\r",math:"\\mathring"},"\u030b":{text:"\\H"}}},function(e,t,n){"use strict";t.a={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308","\u01df":"a\u0308\u0304","\xe3":"a\u0303","\u0101":"a\u0304","\u0103":"a\u0306","\u1eaf":"a\u0306\u0301","\u1eb1":"a\u0306\u0300","\u1eb5":"a\u0306\u0303","\u01ce":"a\u030c","\xe2":"a\u0302","\u1ea5":"a\u0302\u0301","\u1ea7":"a\u0302\u0300","\u1eab":"a\u0302\u0303","\u0227":"a\u0307","\u01e1":"a\u0307\u0304","\xe5":"a\u030a","\u01fb":"a\u030a\u0301","\u1e03":"b\u0307","\u0107":"c\u0301","\u010d":"c\u030c","\u0109":"c\u0302","\u010b":"c\u0307","\u010f":"d\u030c","\u1e0b":"d\u0307","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308","\u1ebd":"e\u0303","\u0113":"e\u0304","\u1e17":"e\u0304\u0301","\u1e15":"e\u0304\u0300","\u0115":"e\u0306","\u011b":"e\u030c","\xea":"e\u0302","\u1ebf":"e\u0302\u0301","\u1ec1":"e\u0302\u0300","\u1ec5":"e\u0302\u0303","\u0117":"e\u0307","\u1e1f":"f\u0307","\u01f5":"g\u0301","\u1e21":"g\u0304","\u011f":"g\u0306","\u01e7":"g\u030c","\u011d":"g\u0302","\u0121":"g\u0307","\u1e27":"h\u0308","\u021f":"h\u030c","\u0125":"h\u0302","\u1e23":"h\u0307","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308","\u1e2f":"i\u0308\u0301","\u0129":"i\u0303","\u012b":"i\u0304","\u012d":"i\u0306","\u01d0":"i\u030c","\xee":"i\u0302","\u01f0":"j\u030c","\u0135":"j\u0302","\u1e31":"k\u0301","\u01e9":"k\u030c","\u013a":"l\u0301","\u013e":"l\u030c","\u1e3f":"m\u0301","\u1e41":"m\u0307","\u0144":"n\u0301","\u01f9":"n\u0300","\xf1":"n\u0303","\u0148":"n\u030c","\u1e45":"n\u0307","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308","\u022b":"o\u0308\u0304","\xf5":"o\u0303","\u1e4d":"o\u0303\u0301","\u1e4f":"o\u0303\u0308","\u022d":"o\u0303\u0304","\u014d":"o\u0304","\u1e53":"o\u0304\u0301","\u1e51":"o\u0304\u0300","\u014f":"o\u0306","\u01d2":"o\u030c","\xf4":"o\u0302","\u1ed1":"o\u0302\u0301","\u1ed3":"o\u0302\u0300","\u1ed7":"o\u0302\u0303","\u022f":"o\u0307","\u0231":"o\u0307\u0304","\u0151":"o\u030b","\u1e55":"p\u0301","\u1e57":"p\u0307","\u0155":"r\u0301","\u0159":"r\u030c","\u1e59":"r\u0307","\u015b":"s\u0301","\u1e65":"s\u0301\u0307","\u0161":"s\u030c","\u1e67":"s\u030c\u0307","\u015d":"s\u0302","\u1e61":"s\u0307","\u1e97":"t\u0308","\u0165":"t\u030c","\u1e6b":"t\u0307","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308","\u01d8":"u\u0308\u0301","\u01dc":"u\u0308\u0300","\u01d6":"u\u0308\u0304","\u01da":"u\u0308\u030c","\u0169":"u\u0303","\u1e79":"u\u0303\u0301","\u016b":"u\u0304","\u1e7b":"u\u0304\u0308","\u016d":"u\u0306","\u01d4":"u\u030c","\xfb":"u\u0302","\u016f":"u\u030a","\u0171":"u\u030b","\u1e7d":"v\u0303","\u1e83":"w\u0301","\u1e81":"w\u0300","\u1e85":"w\u0308","\u0175":"w\u0302","\u1e87":"w\u0307","\u1e98":"w\u030a","\u1e8d":"x\u0308","\u1e8b":"x\u0307","\xfd":"y\u0301","\u1ef3":"y\u0300","\xff":"y\u0308","\u1ef9":"y\u0303","\u0233":"y\u0304","\u0177":"y\u0302","\u1e8f":"y\u0307","\u1e99":"y\u030a","\u017a":"z\u0301","\u017e":"z\u030c","\u1e91":"z\u0302","\u017c":"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308","\u01de":"A\u0308\u0304","\xc3":"A\u0303","\u0100":"A\u0304","\u0102":"A\u0306","\u1eae":"A\u0306\u0301","\u1eb0":"A\u0306\u0300","\u1eb4":"A\u0306\u0303","\u01cd":"A\u030c","\xc2":"A\u0302","\u1ea4":"A\u0302\u0301","\u1ea6":"A\u0302\u0300","\u1eaa":"A\u0302\u0303","\u0226":"A\u0307","\u01e0":"A\u0307\u0304","\xc5":"A\u030a","\u01fa":"A\u030a\u0301","\u1e02":"B\u0307","\u0106":"C\u0301","\u010c":"C\u030c","\u0108":"C\u0302","\u010a":"C\u0307","\u010e":"D\u030c","\u1e0a":"D\u0307","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308","\u1ebc":"E\u0303","\u0112":"E\u0304","\u1e16":"E\u0304\u0301","\u1e14":"E\u0304\u0300","\u0114":"E\u0306","\u011a":"E\u030c","\xca":"E\u0302","\u1ebe":"E\u0302\u0301","\u1ec0":"E\u0302\u0300","\u1ec4":"E\u0302\u0303","\u0116":"E\u0307","\u1e1e":"F\u0307","\u01f4":"G\u0301","\u1e20":"G\u0304","\u011e":"G\u0306","\u01e6":"G\u030c","\u011c":"G\u0302","\u0120":"G\u0307","\u1e26":"H\u0308","\u021e":"H\u030c","\u0124":"H\u0302","\u1e22":"H\u0307","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308","\u1e2e":"I\u0308\u0301","\u0128":"I\u0303","\u012a":"I\u0304","\u012c":"I\u0306","\u01cf":"I\u030c","\xce":"I\u0302","\u0130":"I\u0307","\u0134":"J\u0302","\u1e30":"K\u0301","\u01e8":"K\u030c","\u0139":"L\u0301","\u013d":"L\u030c","\u1e3e":"M\u0301","\u1e40":"M\u0307","\u0143":"N\u0301","\u01f8":"N\u0300","\xd1":"N\u0303","\u0147":"N\u030c","\u1e44":"N\u0307","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308","\u022a":"O\u0308\u0304","\xd5":"O\u0303","\u1e4c":"O\u0303\u0301","\u1e4e":"O\u0303\u0308","\u022c":"O\u0303\u0304","\u014c":"O\u0304","\u1e52":"O\u0304\u0301","\u1e50":"O\u0304\u0300","\u014e":"O\u0306","\u01d1":"O\u030c","\xd4":"O\u0302","\u1ed0":"O\u0302\u0301","\u1ed2":"O\u0302\u0300","\u1ed6":"O\u0302\u0303","\u022e":"O\u0307","\u0230":"O\u0307\u0304","\u0150":"O\u030b","\u1e54":"P\u0301","\u1e56":"P\u0307","\u0154":"R\u0301","\u0158":"R\u030c","\u1e58":"R\u0307","\u015a":"S\u0301","\u1e64":"S\u0301\u0307","\u0160":"S\u030c","\u1e66":"S\u030c\u0307","\u015c":"S\u0302","\u1e60":"S\u0307","\u0164":"T\u030c","\u1e6a":"T\u0307","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308","\u01d7":"U\u0308\u0301","\u01db":"U\u0308\u0300","\u01d5":"U\u0308\u0304","\u01d9":"U\u0308\u030c","\u0168":"U\u0303","\u1e78":"U\u0303\u0301","\u016a":"U\u0304","\u1e7a":"U\u0304\u0308","\u016c":"U\u0306","\u01d3":"U\u030c","\xdb":"U\u0302","\u016e":"U\u030a","\u0170":"U\u030b","\u1e7c":"V\u0303","\u1e82":"W\u0301","\u1e80":"W\u0300","\u1e84":"W\u0308","\u0174":"W\u0302","\u1e86":"W\u0307","\u1e8c":"X\u0308","\u1e8a":"X\u0307","\xdd":"Y\u0301","\u1ef2":"Y\u0300","\u0178":"Y\u0308","\u1ef8":"Y\u0303","\u0232":"Y\u0304","\u0176":"Y\u0302","\u1e8e":"Y\u0307","\u0179":"Z\u0301","\u017d":"Z\u030c","\u1e90":"Z\u0302","\u017b":"Z\u0307","\u03ac":"\u03b1\u0301","\u1f70":"\u03b1\u0300","\u1fb1":"\u03b1\u0304","\u1fb0":"\u03b1\u0306","\u03ad":"\u03b5\u0301","\u1f72":"\u03b5\u0300","\u03ae":"\u03b7\u0301","\u1f74":"\u03b7\u0300","\u03af":"\u03b9\u0301","\u1f76":"\u03b9\u0300","\u03ca":"\u03b9\u0308","\u0390":"\u03b9\u0308\u0301","\u1fd2":"\u03b9\u0308\u0300","\u1fd1":"\u03b9\u0304","\u1fd0":"\u03b9\u0306","\u03cc":"\u03bf\u0301","\u1f78":"\u03bf\u0300","\u03cd":"\u03c5\u0301","\u1f7a":"\u03c5\u0300","\u03cb":"\u03c5\u0308","\u03b0":"\u03c5\u0308\u0301","\u1fe2":"\u03c5\u0308\u0300","\u1fe1":"\u03c5\u0304","\u1fe0":"\u03c5\u0306","\u03ce":"\u03c9\u0301","\u1f7c":"\u03c9\u0300","\u038e":"\u03a5\u0301","\u1fea":"\u03a5\u0300","\u03ab":"\u03a5\u0308","\u1fe9":"\u03a5\u0304","\u1fe8":"\u03a5\u0306","\u038f":"\u03a9\u0301","\u1ffa":"\u03a9\u0300"}}]).default})},function(e,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 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 o(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)}n.d(t,"a",function(){return v});var a=n(1),s=n.n(a),l=n(222),u=n.n(l),c=n(54),d=n.n(c),f=n(615),h=(n.n(f),n(40)),p=n.n(h),m=n(32),g=(n.n(m),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}());Object(l.configureAnchors)({offset:-18,scrollDuration:1e3});var v=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.updateDim=function(){window.innerWidth<=n.minWidth&&!n.state.minimized?n.setState({minimized:!0}):window.innerWidth>n.minWidth&&n.state.minimized&&n.setState({minimized:!1,drawerOpen:!1}),n.setState({innerHeight:window.innerHeight})},n.imageLoaded=function(){n.setState({imageLoaded:!0})},n.componentWillMount=function(){window.innerWidth<=n.minWidth&&n.setState({minimized:!0})},n.moveBackground=function(){if(window.pageYOffset<n.state.innerHeight&&!n.state.minimized){n.x+=(n.lFollowX-n.x)*n.friction,n.y+=(n.lFollowY-n.y)*n.friction,n.tX+=(n.lFollowX-n.x)*n.friction*2,n.tY+=(n.lFollowY-n.y)*n.friction*2;var e="translate("+n.x+"px, "+n.y+"px) scale(1.1)",t="translate("+n.tX+"px, "+n.tY+"px) scale(1.0)";n.setState({translate:e,translateText:t})}},n.moveBackgroundEvent=function(e){},n.state={imageLoaded:!1,translate:"scale(1.1)",translateText:"scale(1.0)",minimized:!1,innerHeight:window.innerHeight},n.defaultImage="https://static.igem.org/mediawiki/2018/5/58/T--Washington--MB.jpg";var o=new Image;return o.src=n.props.params.BACKGROUND?n.props.params.BACKGROUND:n.defaultImage,o.onload=n.imageLoaded,n.x=0,n.y=0,n.tX=0,n.tY=0,n.lFollowX=0,n.lFollowY=0,n.friction=1/30,n.minWidth=1054,window.addEventListener("resize",n.updateDim),n}return o(t,e),g(t,[{key:"render",value:function(){var e=this.props.params,t=e.BACKGROUNDLIGHTNESS?e.BACKGROUNDLIGHTNESS:0,n=e.BACKGROUND?e.BACKGROUND:this.defaultImage,r=e.BACKGROUNDOPACITY?e.BACKGROUNDOPACITY:.6,i=e.TITLEHEIGHT?e.TITLEHEIGHT:12,o=e.SUBTITLEHEIGHT?e.SUBTITLEHEIGHT:7,a=e.TITLE?e.TITLE:"Stronger Together",l=e.SUBTITLE?e.SUBTITLE:"",c=e.BUTTONTEXT?e.BUTTONTEXT:"Overview",f=(e.CONTENTTITLE&&e.CONTENTTITLE,e.CONTENTSUBTITLE&&e.CONTENTSUBTITLE,e.CONTENT&&e.CONTENT.split(";"),e.BLUR?e.BLUR:5);return s.a.createElement("div",null,s.a.createElement(p.a,{when:this.state.imageLoaded},s.a.createElement("div",{style:{width:"100%",height:window.innerHeight+18,textAlign:"center",margin:"auto",overflow:"hidden",position:"relative"}},s.a.createElement("div",{style:{width:"100%",height:"100%",backgroundAttachment:"fixed",background:"url("+n+") no-repeat center center",backgroundColor:"hsla(0,0%,"+t+"%,"+r+")",backgroundBlendMode:"overlay",backgroundSize:"cover",position:"absolute",filter:"blur("+f+"px)",top:0,left:0,WebkitTransform:this.state.translate,transform:this.state.translate,msTransform:this.state.translate,OTransform:this.state.translate,MozTransform:this.state.translate}}),s.a.createElement("div",{style:{paddingTop:this.state.minimized?"20vh":"30vh",WebkitTransform:this.state.translateText,transform:this.state.translateText,msTransform:this.state.translateText,OTransform:this.state.translateText,MozTransform:this.state.translateText}},s.a.createElement("div",{style:{color:"white",fontSize:i+"vh",fontFamily:"Leixo"}},s.a.createElement(m.Grid,{fluid:!0,style:{padding:0,margin:0}},s.a.createElement(m.Row,null,s.a.createElement(m.Col,{md:this.state.minimized?12:6,style:{width:this.state.minimized?"100%":"50%",textAlign:this.state.minimized?"center":"right",paddingRight:this.state.minimized?0:10}},s.a.createElement(p.a,{left:!0,duration:700,when:this.state.imageLoaded,style:{display:"inline"}},a.split(" ")[0])),s.a.createElement(m.Col,{md:this.state.minimized?12:6,style:{width:this.state.minimized?"100%":"50%",textAlign:this.state.minimized?"center":"left",paddingLeft:this.state.minimized?0:10}},s.a.createElement(p.a,{right:!0,duration:2e3,when:this.state.imageLoaded,style:{display:"inline"}},a.split(" ")[1]))))),s.a.createElement(p.a,{clear:!0,duration:1500,when:this.state.imageLoaded},s.a.createElement("div",{style:{color:"white",fontSize:o+"vh"}},l)),s.a.createElement(p.a,{clear:!0,duration:2e3,when:this.state.imageLoaded},s.a.createElement(d.a,{variant:"contained",color:"primary",href:"#overview",style:{textDecoration:"none",color:"white",marginTop:20}},c)))),s.a.createElement(u.a,{id:"overview"},s.a.createElement("div",{id:"overview-spy"}))))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),u=r(l),c=n(15),d=r(c),f=n(2),h=r(f),p=n(224),m=r(p),g=function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.id=e.id||e.children.ref,n}return a(t,e),s(t,[{key:"componentDidMount",value:function(){var e=d.default.findDOMNode(this.refs[Object.keys(this.refs)[0]]);m.default.addAnchor(this.id,e)}},{key:"componentWillUnmount",value:function(){m.default.removeAnchor(this.id)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.id;return u.default.cloneElement(t,{ref:t.ref||n})}}]),t}(l.Component);g.propTypes={children:h.default.node,id:h.default.string},t.default=g},function(e,t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";var e=function(e,t,n,r){return e/=r/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)},t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};return function(){function n(){return window.scrollY||window.pageYOffset}function r(e){return e.getBoundingClientRect().top+l}function i(e){m||(m=e),g=e-m,v=d(g,l,h,p),window.scrollTo(0,v),g<p?requestAnimationFrame(i):o()}function o(){window.scrollTo(0,l+h),s&&f&&(s.setAttribute("tabindex","-1"),s.focus()),"function"==typeof y&&y(),m=!1}function a(o){var a=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];switch(p=a.duration||1e3,c=a.offset||0,y=a.callback,d=a.easing||e,f=a.a11y||!1,l=n(),"undefined"==typeof o?"undefined":t(o)){case"number":s=void 0,f=!1,u=l+o;break;case"object":s=o,u=r(s);break;case"string":s=document.querySelector(o),u=r(s)}switch(h=u-l+c,t(a.duration)){case"number":p=a.duration;break;case"function":p=a.duration(h)}requestAnimationFrame(i)}var s=void 0,l=void 0,u=void 0,c=void 0,d=void 0,f=void 0,h=void 0,p=void 0,m=void 0,g=void 0,v=void 0,y=void 0;return a}()})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=arguments;t.debounce=function(e,t,n){var i=void 0;return function(){var o=r,a=function(){i=null,n||e.apply(void 0,o)},s=n&&!i;clearTimeout(i),i=setTimeout(a,t),s&&e.apply(void 0,o)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.getScrollTop=function(){return document.body.scrollTop||document.documentElement.scrollTop},i=t.getElementOffset=function(e){var t=r(),n=e.getBoundingClientRect(),i=n.top,o=n.bottom;return{top:Math.floor(i+t),bottom:Math.floor(o+t)}},o=t.doesElementContainScrollTop=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=r(),o=i(e).top+t;return n>=o&&n<o+e.offsetHeight},a=t.checkLocationRelevance=function(e,t){var n=i(e),r=n.top,o=n.bottom,a=i(t),s=a.top,l=a.bottom;return r===s?o===l?e<t:l<o:s>r},s=t.checkElementRelevance=function(e,t){return!!e.contains(t)||!(t.contains(e)||!a(e,t))};t.getBestAnchorGivenScrollLocation=function(e,t){var n=void 0,r=void 0;return Object.keys(e).forEach(function(i){var a=e[i];o(a,t)&&(r&&!s(r,a)||(r=a,n=i))}),n}},function(e,t){},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,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 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="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},l=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}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")}}(),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=n(1),f=function(e){return e&&e.__esModule?e:{default:e}}(d),h=n(2),p=n(135),m=(0,h.shape)({make:h.func,duration:h.number.isRequired,delay:h.number.isRequired,forever:h.bool,count:h.number.isRequired,style:h.object.isRequired,reverse:h.bool}),g={collapse:h.bool,collapseEl:h.element,cascade:h.bool,wait:h.number,force:h.bool,disabled:h.bool,appear:h.bool,enter:h.bool,exit:h.bool,fraction:h.number,refProp:h.string,innerRef:h.func,onReveal:h.func,unmountOnExit:h.bool,mountOnEnter:h.bool,inEffect:m.isRequired,outEffect:(0,h.oneOfType)([m,(0,h.oneOf)([!1])]).isRequired,ssrReveal:h.bool,collapseOnly:h.bool,ssrFadeout:h.bool},v={fraction:.2,refProp:"ref"},y={transitionGroup:h.object},b=function(e){function t(e,n){i(this,t);var r=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.isOn=void 0===e.when||!!e.when,r.state={collapse:e.collapse?t.getInitialCollapseStyle(e):void 0,style:{opacity:r.isOn&&!e.ssrReveal||!e.outEffect?void 0:0}},r.savedChild=!1,r.isShown=!1,p.observerMode?r.handleObserve=r.handleObserve.bind(r):(r.revealHandler=r.makeHandler(r.reveal),r.resizeHandler=r.makeHandler(r.resize)),r.saveRef=r.saveRef.bind(r),r}return a(t,e),c(t,[{key:"saveRef",value:function(e){this.childRef&&this.childRef(e),this.props.innerRef&&this.props.innerRef(e),this.el!==e&&(this.el=e&&"offsetHeight"in e?e:void 0,this.observe(this.props,!0))}},{key:"invisible",value:function(){this&&this.el&&(this.savedChild=!1,this.isShown||(this.setState({hasExited:!0,collapse:this.props.collapse?u({},this.state.collapse,{visibility:"hidden"}):null,style:{opacity:0}}),!p.observerMode&&this.props.collapse&&window.document.dispatchEvent(p.collapseend)))}},{key:"animationEnd",value:function(e,t,n){var r=this,i=n.forever,o=n.count,a=n.delay,s=n.duration;if(!i){var l=function(){r&&r.el&&(r.animationEndTimeout=void 0,e.call(r))};this.animationEndTimeout=window.setTimeout(l,a+(s+(t?s:0)*o))}}},{key:"getDimensionValue",value:function(){return this.el.offsetHeight+parseInt(window.getComputedStyle(this.el,null).getPropertyValue("margin-top"),10)+parseInt(window.getComputedStyle(this.el,null).getPropertyValue("margin-bottom"),10)}},{key:"collapse",value:function(e,t,n){var r=n.duration+(t.cascade?n.duration:0),i=this.isOn?this.getDimensionValue():0,o=void 0,a=void 0;if(t.collapseOnly)o=n.duration/3,a=n.delay;else{var s=r>>2,l=s>>1;o=s,a=n.delay+(this.isOn?0:r-s-l),e.style.animationDuration=r-s+(this.isOn?l:-l)+"ms",e.style.animationDelay=n.delay+(this.isOn?s-l:0)+"ms"}return e.collapse={height:i,transition:"height "+o+"ms ease "+a+"ms",overflow:t.collapseOnly?"hidden":void 0},e}},{key:"animate",value:function(e){if(this&&this.el&&(this.unlisten(),this.isShown!==this.isOn)){this.isShown=this.isOn;var t=!this.isOn&&e.outEffect,n=e[t?"outEffect":"inEffect"],r="style"in n&&n.style.animationName||void 0,i=void 0;e.collapseOnly?i={hasAppeared:!0,hasExited:!1,style:{opacity:1}}:((e.outEffect||this.isOn)&&n.make&&(r=n.make),i={hasAppeared:!0,hasExited:!1,collapse:void 0,style:u({},n.style,{animationDuration:n.duration+"ms",animationDelay:n.delay+"ms",animationIterationCount:n.forever?"infinite":n.count,opacity:1,animationName:r}),className:n.className}),this.setState(e.collapse?this.collapse(i,e,n):i),t?(this.savedChild=f.default.cloneElement(this.getChild()),this.animationEnd(this.invisible,e.cascade,n)):this.savedChild=!1,this.onReveal(e)}}},{key:"onReveal",value:function(e){e.onReveal&&this.isOn&&(this.onRevealTimeout&&(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)),e.wait?this.onRevealTimeout=window.setTimeout(e.onReveal,e.wait):e.onReveal())}},{key:"componentWillUnmount",value:function(){this.unlisten(),p.ssr&&(0,p.disableSsr)()}},{key:"handleObserve",value:function(e,t){l(e,1)[0].intersectionRatio>0&&(t.disconnect(),this.observer=null,this.reveal(this.props,!0))}},{key:"observe",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.el&&p.observerMode){if(this.observer){if(!t)return;this.observer.disconnect()}else if(t)return;this.observer=new IntersectionObserver(this.handleObserve,{threshold:e.fraction}),this.observer.observe(this.el)}}},{key:"reveal",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];p.globalHide||(0,p.hideAll)(),this&&this.el&&(e||(e=this.props),p.ssr&&(0,p.disableSsr)(),this.isOn&&this.isShown&&void 0!==e.spy?(this.isShown=!1,this.setState({style:{}}),window.setTimeout(function(){return t.reveal(e)},200)):n||this.inViewport(e)||e.force?this.animate(e):p.observerMode?this.observe(e):this.listen())}},{key:"componentDidMount",value:function(){var e=this;if(this.el&&!this.props.disabled){this.props.collapseOnly||("make"in this.props.inEffect&&this.props.inEffect.make(!1,this.props),void 0!==this.props.when&&this.props.outEffect&&"make"in this.props.outEffect&&this.props.outEffect.make(!0,this.props));var n=this.context.transitionGroup,r=n&&!n.isMounting?!("enter"in this.props&&!1===this.props.enter):this.props.appear;return this.isOn&&((void 0!==this.props.when||void 0!==this.props.spy)&&!r||p.ssr&&!p.fadeOutEnabled&&!this.props.ssrFadeout&&this.props.outEffect&&!this.props.ssrReveal&&t.getTop(this.el)<window.pageYOffset+window.innerHeight)?(this.isShown=!0,this.setState({hasAppeared:!0,collapse:this.props.collapse?{height:this.getDimensionValue()}:this.state.collapse,style:{opacity:1}}),void this.onReveal(this.props)):p.ssr&&(p.fadeOutEnabled||this.props.ssrFadeout)&&this.props.outEffect&&t.getTop(this.el)<window.pageYOffset+window.innerHeight?(this.setState({style:{opacity:0,transition:"opacity 1000ms 1000ms"}}),void window.setTimeout(function(){return e.reveal(e.props,!0)},2e3)):void(this.isOn&&(this.props.force?this.animate(this.props):this.reveal(this.props)))}}},{key:"cascade",value:function(e){var t=this,n=void 0;n="string"==typeof e?e.split("").map(function(e,t){return f.default.createElement("span",{key:t,style:{display:"inline-block",whiteSpace:"pre"}},e)}):f.default.Children.toArray(e);var r=this.props[this.isOn||!this.props.outEffect?"inEffect":"outEffect"],i=r.duration,o=r.reverse,a=n.length,l=2*i;this.props.collapse&&(l=parseInt(this.state.style.animationDuration,10),i=l/2);var c=o?a:0;return n=n.map(function(e){return"object"===(void 0===e?"undefined":s(e))&&e?f.default.cloneElement(e,{style:u({},e.props.style,t.state.style,{animationDuration:Math.round((0,p.cascade)(o?c--:c++,0,a,i,l))+"ms"})}):e})}},{key:"componentWillReceiveProps",value:function(e){if(void 0!==e.when&&(this.isOn=!!e.when),e.fraction!==this.props.fraction&&this.observe(e,!0),!this.isOn&&e.onExited&&"exit"in e&&!1===e.exit)return void e.onExited();e.disabled||(e.collapse&&!this.props.collapse&&(this.setState({style:{},collapse:t.getInitialCollapseStyle(e)}),this.isShown=!1),e.when===this.props.when&&e.spy===this.props.spy||this.reveal(e),this.onRevealTimeout&&!this.isOn&&(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)))}},{key:"getChild",value:function(){if(this.savedChild&&!this.props.disabled)return this.savedChild;if("object"===s(this.props.children)){var e=f.default.Children.only(this.props.children);return"type"in e&&"string"==typeof e.type||"ref"!==this.props.refProp?e:f.default.createElement("div",null,e)}return f.default.createElement("div",null,this.props.children)}},{key:"render",value:function(){var e=void 0;e=this.state.hasAppeared?!this.props.unmountOnExit||!this.state.hasExited||this.isOn:!this.props.mountOnEnter||this.isOn;var t=this.getChild();"function"==typeof t.ref&&(this.childRef=t.ref);var n=!1,i=t.props,o=i.style,a=i.className,s=i.children,l=this.props.disabled?a:(this.props.outEffect?p.namespace:"")+(this.state.className?" "+this.state.className:"")+(a?" "+a:"")||void 0,c=void 0;"function"==typeof this.state.style.animationName&&(this.state.style.animationName=this.state.style.animationName(!this.isOn,this.props)),this.props.cascade&&!this.props.disabled&&s&&this.state.style.animationName?(n=this.cascade(s),c=u({},o,{opacity:1})):c=this.props.disabled?o:u({},o,this.state.style);var d=u({},this.props.props,r({className:l,style:c},this.props.refProp,this.saveRef)),h=f.default.cloneElement(t,d,e?n||s:void 0);return void 0!==this.props.collapse?this.props.collapseEl?f.default.cloneElement(this.props.collapseEl,{style:u({},this.props.collapseEl.style,this.props.disabled?void 0:this.state.collapse),children:h}):f.default.createElement("div",{style:this.props.disabled?void 0:this.state.collapse,children:h}):h}},{key:"makeHandler",value:function(e){var t=this,n=function(){e.call(t,t.props),t.ticking=!1};return function(){t.ticking||((0,p.raf)(n),t.ticking=!0)}}},{key:"inViewport",value:function(e){if(!this.el||window.document.hidden)return!1;var n=this.el.offsetHeight,r=window.pageYOffset-t.getTop(this.el),i=Math.min(n,window.innerHeight)*(p.globalHide?e.fraction:0);return r>i-window.innerHeight&&r<n-i}},{key:"resize",value:function(e){this&&this.el&&this.isOn&&this.inViewport(e)&&(this.unlisten(),this.isShown=this.isOn,this.setState({hasExited:!this.isOn,hasAppeared:!0,collapse:void 0,style:{opacity:this.isOn||!e.outEffect?1:0}}),this.onReveal(e))}},{key:"listen",value:function(){p.observerMode||this.isListener||(this.isListener=!0,window.addEventListener("scroll",this.revealHandler,{passive:!0}),window.addEventListener("orientationchange",this.revealHandler,{passive:!0}),window.document.addEventListener("visibilitychange",this.revealHandler,{passive:!0}),window.document.addEventListener("collapseend",this.revealHandler,{passive:!0}),window.addEventListener("resize",this.resizeHandler,{passive:!0}))}},{key:"unlisten",value:function(){!p.observerMode&&this.isListener&&(window.removeEventListener("scroll",this.revealHandler,{passive:!0}),window.removeEventListener("orientationchange",this.revealHandler,{passive:!0}),window.document.removeEventListener("visibilitychange",this.revealHandler,{passive:!0}),window.document.removeEventListener("collapseend",this.revealHandler,{passive:!0}),window.removeEventListener("resize",this.resizeHandler,{passive:!0}),this.isListener=!1),this.onRevealTimeout&&(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)),this.animationEndTimeout&&(this.animationEndTimeout=window.clearTimeout(this.animationEndTimeout))}}],[{key:"getInitialCollapseStyle",value:function(e){return{height:0,visibility:e.when?void 0:"hidden"}}},{key:"getTop",value:function(e){for(;void 0===e.offsetTop;)e=e.parentNode;for(var t=e.offsetTop;e.offsetParent;t+=e.offsetTop)e=e.offsetParent;return t}}]),t}(f.default.Component);b.propTypes=g,b.defaultProps=v,b.contextTypes=y,b.displayName="RevealBase",t.default=b,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){for(var t=[e.className,(0,l.default)("row")],n=0;n<g.length;++n){var r=g[n],i=e[r];i&&t.push((0,l.default)(r+"-"+i))}return e.reverse&&t.push((0,l.default)("reverse")),t}function o(e){return(0,p.default)(v,e,i(e))}function a(e){return c.default.createElement(e.tagName||"div",o(e))}Object.defineProperty(t,"__esModule",{value:!0}),t.getRowProps=o,t.default=a;var s=n(136),l=r(s),u=n(1),c=r(u),d=n(2),f=r(d),h=n(137),p=r(h),m=n(226),g=["start","center","end","top","middle","bottom","around","between"],v={reverse:f.default.bool,start:m.ViewportSizeType,center:m.ViewportSizeType,end:m.ViewportSizeType,top:m.ViewportSizeType,middle:m.ViewportSizeType,bottom:m.ViewportSizeType,around:m.ViewportSizeType,between:m.ViewportSizeType,className:f.default.string,tagName:f.default.string,children:f.default.node};a.propTypes=v},function(e,t){},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e}function a(e){var t=[];return e.className&&t.push(e.className),e.first&&t.push((0,g.default)("first-"+e.first)),e.last&&t.push((0,g.default)("last-"+e.last)),Object.keys(e).filter(function(e){return b[e]}).map(function(t){return(0,g.default)(o(e[t])?b[t]+"-"+e[t]:b[t])}).concat(t)}function s(e){return(0,p.default)(y,e,a(e))}function l(e){var t=e.tagName,n=i(e,["tagName"]);return c.default.createElement(t||"div",s(n))}Object.defineProperty(t,"__esModule",{value:!0}),t.getColumnProps=s,t.default=l;var u=n(1),c=r(u),d=n(2),f=r(d),h=n(137),p=r(h),m=n(136),g=r(m),v=n(226),y={xs:v.ColumnSizeType,sm:v.ColumnSizeType,md:v.ColumnSizeType,lg:v.ColumnSizeType,xl:v.ColumnSizeType,xsOffset:f.default.number,smOffset:f.default.number,mdOffset:f.default.number,lgOffset:f.default.number,xlOffset:f.default.number,first:v.ViewportSizeType,last:v.ViewportSizeType,className:f.default.string,tagName:f.default.string,children:f.default.node},b={xs:"col-xs",sm:"col-sm",md:"col-md",lg:"col-lg",xl:"col-xl",xsOffset:"col-xs-offset",smOffset:"col-sm-offset",mdOffset:"col-md-offset",lgOffset:"col-lg-offset",xlOffset:"col-xl-offset"};l.propTypes=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=(0,f.default)(e.fluid?"container-fluid":"container"),n=[e.className,t];return a.default.createElement(e.tagName||"div",(0,c.default)(h,e,n))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(1),a=r(o),s=n(2),l=r(s),u=n(137),c=r(u),d=n(136),f=r(d),h={fluid:l.default.bool,className:l.default.string,tagName:l.default.string,children:l.default.node};i.propTypes=h},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return u});var a=n(1),s=n.n(a),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.parseStyles=function(t){var n={};t.params.forEach(function(e){var t={},r=e.V;isNaN(Number(e.V))||(r=Number(e.V)),t[e.K]=r,n=Object.assign({},n,t)}),e.setState({styles:n})},e.state={styles:{}},e}return o(t,e),l(t,[{key:"componentWillMount",value:function(){this.parseStyles(this.props)}},{key:"componentWillReceiveProps",value:function(e){this.parseStyles(e)}},{key:"render",value:function(){return s.a.createElement("div",{style:{marginTop:20,marginBottom:20,width:"100%",textAlign:"center"}},s.a.createElement("a",{href:this.props.imageUrl,target:"_blank"},s.a.createElement("img",{src:this.props.imageUrl,alt:this.props.alt,style:this.state.styles})))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return c});var a=n(1),s=n.n(a),l=n(623),u=(n.n(l),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),c=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),u(t,[{key:"render",value:function(){return s.a.createElement("div",{className:"crafty"},this.props.text)}}]),t}(a.Component)},function(e,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 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 o(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)}n.d(t,"a",function(){return g});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(40)),c=n.n(u),d=n(67),f=n(227),h=n(626),p=(n.n(h),n(642)),m=(n.n(p),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),g=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.updateDim=function(){(window.innerWidth<n.minminThres||window.innerWidth<=n.maxThres&&window.innerWidth>n.minThres)&&!n.state.smallerCardBody?n.setState({smallerCardBody:!0,cardBody:n.minBody}):window.innerWidth>=n.minminThres&&(window.innerWidth>n.maxThres||window.innerWidth<=n.minThres)&&n.state.smallerCardBody&&n.setState({smallerCardBody:!1,cardBody:n.maxBody})},n.toggleExpand=function(e){var t=n.state.expanded;t[e]=!t[e],n.setState({expanded:t})},n.hover=function(e){var t=n.state.hover;t[e]=!0,n.setState({hover:t})},n.removeHover=function(e){var t=n.state.hover;t[e]=!1,n.setState({hover:t})},n.setLoaded=function(e){if(!n.state.loaded[e]){var t=n.state.loaded;t[e]=!0,n.setState({loaded:t})}},n.state={expanded:[],hover:[],data:[],loaded:[],filterTo:"All",cardBody:80},n.filteredCategories=["All","Drylab","Wetlab","Outreach","Business","Design","Adviser","Leadership","Collaborations","Presenters","PIs"],window.addEventListener("resize",n.updateDim),n.maxThres=1400,n.minThres=768,n.minminThres=380,n.mainColor="#420dab",n.sections=["Leadership","Members","Advisers","PIs"],n.minBody=70,n.maxBody=75,n}return o(t,e),m(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;this.setState({data:e.data}),e.data.forEach(function(e,n){var r=new Image;r.src=e.PICTURE,r.onload=function(){return t.setLoaded(n)}})}},{key:"componentWillMount",value:function(){var e=this;this.setState({data:this.props.data}),this.props.data.forEach(function(t,n){var r=new Image;r.src=t.PICTURE,r.onload=function(){return e.setLoaded(n)}}),window.innerWidth<this.minminThres||window.innerWidth<=this.maxThres&&window.innerWidth>this.minThres?this.setState({smallerCardBody:!0,cardBody:this.minBody}):window.innerWidth>=this.minminThres&&(window.innerWidth>this.maxThres||window.innerWidth<=this.minThres)&&this.setState({smallerCardBody:!1,cardBody:this.maxBody})}},{key:"render",value:function(){var e=this,t=this.state.data.sort(function(e,t){return e.NAME<t.NAME?-1:t.NAME<e.NAME?1:0});return s.a.createElement("div",null,s.a.createElement(l.Grid,{fluid:!0,style:{padding:0,margin:20,marginTop:30,marginBottom:20}},s.a.createElement(c.a,{clear:!0,cascade:!0},s.a.createElement(l.Row,{style:{padding:0,margin:"auto",textAlign:"center"}},this.filteredCategories.sort().map(function(t,n){return s.a.createElement(l.Col,{xs:!0,key:"selector"+n},s.a.createElement("div",{onClick:function(){e.setState({filterTo:t})},style:{cursor:"pointer",fontStyle:"italic",borderBottom:e.state.filterTo===t?"3px solid black":"",transition:"border 0.2s"},className:"filterButton"},t))})))),this.sections.map(function(n,r){return s.a.createElement("div",{key:"sect"+r,style:{marginBottom:20}},s.a.createElement("div",{style:{margin:"auto",width:"100%",textAlign:"center",fontSize:50}},n),s.a.createElement(l.Grid,{fluid:!0,style:{padding:0,margin:0}},s.a.createElement(l.Row,{style:{padding:0,margin:0},center:"xs"},t&&t.map(function(t,r){var i=void 0;switch(n){case"Leadership":i=t.FILTER&&-1===t.FILTER.indexOf(n);break;case"Members":i=t.FILTER&&(-1!==t.FILTER.indexOf("Adviser")||-1!==t.FILTER.indexOf("Leadership")||-1!==t.FILTER.indexOf("PIs"));break;case"Advisers":i=t.FILTER&&-1===t.FILTER.indexOf("Adviser");break;case"PIs":i=t.FILTER&&-1===t.FILTER.indexOf("PIs");break;default:i=t.FILTER&&(-1!==t.FILTER.indexOf("Adviser")||-1!==t.FILTER.indexOf("Leadership"))}if(i)return null;var o=t.XPOS?t.XPOS:50,a=t.YPOS?t.YPOS:20,u=t.CUSTSIZE?t.CUSTSIZE:100;return s.a.createElement(l.Col,{md:3,key:"subimg"+r,style:{textAlign:"center",margin:10,transition:"height 0.5s",maxWidth:380,minWidth:280}},s.a.createElement("div",{style:{width:"100%",maxWidth:380,minWidth:280,height:"auto",minHeight:380,backgroundColor:"https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png"===t.PICTURE&&e.state.loaded[r]?"lightgray":"white",margin:"auto",borderRadius:20,overflow:"hidden",cursor:""===t.BIO?"normal":"pointer",position:"relative",filter:t.FILTER&&-1!==t.FILTER.indexOf(e.state.filterTo)||"All"===e.state.filterTo?"":"blur(5px)",boxShadow:"5px 5px 5px #999999",transition:"filter 0.2s, background-color: 0.2s"},onClick:function(){""!==t.BIO&&e.toggleExpand(r)},onMouseEnter:function(){return e.hover(r)},onMouseLeave:function(){return e.removeHover(r)}},s.a.createElement(c.a,{when:!0===e.state.loaded[r]},s.a.createElement("div",{style:{position:"absolute",width:"100%",top:0,left:0,height:e.state.cardBody+"%",backgroundColor:"white",background:"url("+t.PICTURE+") "+o+"% "+a+"% no-repeat",backgroundSize:(u||100)+"%"}})),s.a.createElement("div",{style:{position:"absolute",width:"100%",bottom:0,left:0,height:e.state.expanded[r]?"100%":100-e.state.cardBody+"%",backgroundColor:e.state.hover[r]||e.state.expanded[r]?e.mainColor:"white",transition:"height 0.5s, background-color 0.5s, color 0.5s",color:e.state.hover[r]||e.state.expanded[r]?"white":"black"},className:"scrollBox"},s.a.createElement(h.Scrollbars,{style:{position:"absolute",margin:"auto",left:0,right:0,textAlign:"center",height:"100%",opacity:e.state.expanded[r]?1:0}},s.a.createElement(c.a,{duration:500,clear:!0,when:!0===e.state.expanded[r]},s.a.createElement("div",{style:{padding:20,fontSize:16}},t.BIO.split("\\n").map(function(e,n){return s.a.createElement("p",{key:t.NAME+"spl"+n,style:{marginTop:10}},e.trim())}),s.a.createElement("div",{style:{color:"white",padding:0,marginTop:10}},t.GITHUB&&s.a.createElement("a",{href:t.GITHUB,target:"_blank",className:"icon"},s.a.createElement(d.a,{icon:f.b,size:"2x"})),t.LINKEDIN&&s.a.createElement("a",{href:t.LINKEDIN,target:"_blank",className:"icon"},s.a.createElement(d.a,{icon:f.d,size:"2x"})))))),s.a.createElement(c.a,{duration:500,clear:!0,when:!0!==e.state.expanded[r]},s.a.createElement("div",{style:{position:"absolute",textAlign:"center",margin:"auto",left:0,right:0}},s.a.createElement("div",{style:{textTransform:"uppercase",marginTop:10,fontWeight:"bold",fontSize:20,letterSpacing:3,textOverflow:"ellipsis",overflow:"hidden"}},t.NAME),s.a.createElement("div",{style:{marginTop:10}},t.ROLE))))))}))))}))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e){var t=A.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function i(e){return""===e||"false"!==e&&("true"===e||e)}function o(e){if(e&&I){var t=A.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=A.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i];["STYLE","LINK"].indexOf((o.tagName||"").toUpperCase())>-1&&(r=o)}return A.head.insertBefore(t,r),e}}function a(){return++Z}function s(e){return(""+e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function l(e){return Object.keys(e||{}).reduce(function(t,n){return t+(n+'="')+s(e[n])+'" '},"").trim()}function u(e){return Object.keys(e||{}).reduce(function(t,n){return t+(n+": ")+e[n]+";"},"")}function c(e){return e.size!==Y.size||e.x!==Y.x||e.y!==Y.y||e.rotate!==Y.rotate||e.flipX||e.flipY}function d(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth;return{outer:{transform:"translate("+n/2+" 256)"},inner:{transform:"translate("+32*t.x+", "+32*t.y+")  scale("+t.size/16*(t.flipX?-1:1)+", "+t.size/16*(t.flipY?-1:1)+")  rotate("+t.rotate+" 0 0)"},path:{transform:"translate("+r/2*-1+" -256)"}}}function f(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,s=e.transform,l=e.symbol,u=e.title,c=e.extra,d=e.watchable,f=void 0!==d&&d,h=r.found?r:n,p=h.width,m=h.height,g="fa-w-"+Math.ceil(p/m*16),v=[U.replacementClass,o?U.familyPrefix+"-"+o:"",g].filter(function(e){return-1===c.classes.indexOf(e)}).concat(c.classes).join(" "),y={children:[],attributes:W({},c.attributes,{"data-prefix":i,"data-icon":o,class:v,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 "+p+" "+m})};f&&(y.attributes[N]=""),u&&y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-"+a()},children:[u]});var b=W({},y,{prefix:i,iconName:o,main:n,mask:r,transform:s,symbol:l,styles:c.styles}),w=r.found&&n.found?Q(b):$(b),E=w.children,T=w.attributes;return b.children=E,b.attributes=T,l?ee(b):J(b)}function h(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function p(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"===typeof e?s(e):"<"+t+" "+l(r)+">"+o.map(p).join("")+"</"+t+">"}function m(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}function g(e,t){var n=Object.keys(t).reduce(function(e,n){var r=t[n];return!r.icon?e[n]=r:e[r.iconName]=r.icon,e},{});"function"===typeof G.hooks.addPack?G.hooks.addPack(e,n):G.styles[e]=W({},G.styles[e]||{},n),"fas"===e&&g("fa",t)}function v(e){return{found:!0,width:e[0],height:e[1],icon:{tag:"path",attributes:{fill:"currentColor",d:e.slice(4)[0]}}}}function y(){U.autoAddCss&&!ve&&(o(pe()),ve=!0)}function b(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return p(e)})}}),Object.defineProperty(e,"node",{get:function(){if(I){var t=A.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function w(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return h(ge.definitions,n,r)||h(G.styles,n,r)}n.d(t,"a",function(){return be}),n.d(t,"b",function(){return ye});var E=function(){},T={},_={},k={mark:E,measure:E};try{"undefined"!==typeof window&&(T=window),"undefined"!==typeof document&&(_=document),"undefined"!==typeof MutationObserver&&MutationObserver,"undefined"!==typeof performance&&(k=performance)}catch(e){}var x=T.navigator||{},S=x.userAgent,C=void 0===S?"":S,O=T,A=_,P=k,I=!!A.documentElement&&!!A.head&&"function"===typeof A.addEventListener&&"function"===typeof A.createElement,R=(~C.indexOf("MSIE")||C.indexOf("Trident/"),16),N="data-fa-i2svg",M=(function(){try{}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),D=M.concat([11,12,13,14,15,16,17,18,19,20]),L=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter"].concat(M.map(function(e){return e+"x"})).concat(D.map(function(e){return"w-"+e})),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),j=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}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")}}(),F=O.FontAwesomeConfig||{};if(A&&"function"===typeof A.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(e){var t=B(e,2),n=t[0],o=t[1],a=i(r(n));void 0!==a&&null!==a&&(F[o]=a)})}var z=W({familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},F);z.autoReplaceSvg||(z.observeMutations=!1);var U=W({},z);O.FontAwesomeConfig=U;var H=O||{};H.___FONT_AWESOME___||(H.___FONT_AWESOME___={}),H.___FONT_AWESOME___.styles||(H.___FONT_AWESOME___.styles={}),H.___FONT_AWESOME___.hooks||(H.___FONT_AWESOME___.hooks={}),H.___FONT_AWESOME___.shims||(H.___FONT_AWESOME___.shims=[]);var G=H.___FONT_AWESOME___,q=[],V=function e(){A.removeEventListener("DOMContentLoaded",e),K=1,q.map(function(e){return e()})},K=!1;I&&((K=(A.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(A.readyState))||A.addEventListener("DOMContentLoaded",V));var Y={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Z=0,X={x:0,y:0,width:"100%",height:"100%"},Q=function(e){var t=e.children,n=e.attributes,r=e.main,i=e.mask,o=e.transform,s=r.width,l=r.icon,u=i.width,c=i.icon,f=d({transform:o,containerWidth:u,iconWidth:s}),h={tag:"rect",attributes:W({},X,{fill:"white"})},p={tag:"g",attributes:W({},f.inner),children:[{tag:"path",attributes:W({},l.attributes,f.path,{fill:"black"})}]},m={tag:"g",attributes:W({},f.outer),children:[p]},g="mask-"+a(),v="clip-"+a(),y={tag:"mask",attributes:W({},X,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,m]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:[c]},y]};return t.push(b,{tag:"rect",attributes:W({fill:"currentColor","clip-path":"url(#"+v+")",mask:"url(#"+g+")"},X)}),{children:t,attributes:n}},$=function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,o=e.styles,a=u(o);if(a.length>0&&(n.style=a),c(i)){var s=d({transform:i,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:W({},s.outer),children:[{tag:"g",attributes:W({},s.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:W({},r.icon.attributes,s.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}},J=function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(c(a)&&n.found&&!r.found){var s=n.width,l=n.height,d={x:s/l/2,y:.5};i.style=u(W({},o,{"transform-origin":d.x+a.x/16+"em "+(d.y+a.y/16)+"em"}))}return[{tag:"svg",attributes:i,children:t}]},ee=function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol,a=!0===o?t+"-"+U.familyPrefix+"-"+n:o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:W({},i,{id:a}),children:r}]}]},te=function(){},ne=(U.measurePerformance&&P&&P.mark&&P.measure,function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}),re=function(e,t,n,r){var i,o,a,s=Object.keys(e),l=s.length,u=void 0!==r?ne(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<l;i++)o=s[i],a=u(a,e[o],o,e);return a},ie=G.styles,oe=G.shims,ae={},se={},le={},ue=function(){var e=function(e){return re(ie,function(t,n,r){return t[r]=re(n,e,{}),t},{})};ae=e(function(e,t,n){return e[t[3]]=n,e}),se=e(function(e,t,n){var r=t[2];return e[n]=n,r.forEach(function(t){e[t]=n}),e});var t="far"in ie;le=re(oe,function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),e[r]={prefix:i,iconName:o},e},{})};ue();var ce=(G.styles,function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce(function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e},t):t});m.prototype=Object.create(Error.prototype),m.prototype.constructor=m;var de={fill:"currentColor"},fe={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},he=(W({},de,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),W({},fe,{attributeName:"opacity"})),pe=(W({},de,{cx:"256",cy:"364",r:"28"}),W({},fe,{attributeName:"r",values:"28;14;28;28;14;28;"}),W({},he,{values:"1;0;1;1;0;1;"}),W({},de,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),W({},he,{values:"1;0;0;0;0;1;"}),W({},de,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),W({},he,{values:"0;0;1;1;0;0;"}),G.styles,function(){var e="svg-inline--fa",t=U.familyPrefix,n=U.replacementClass,r='svg:not(:root).svg-inline--fa {\n  overflow: visible; }\n\n.svg-inline--fa {\n  display: inline-block;\n  font-size: inherit;\n  height: 1em;\n  overflow: visible;\n  vertical-align: -.125em; }\n  .svg-inline--fa.fa-lg {\n    vertical-align: -.225em; }\n  .svg-inline--fa.fa-w-1 {\n    width: 0.0625em; }\n  .svg-inline--fa.fa-w-2 {\n    width: 0.125em; }\n  .svg-inline--fa.fa-w-3 {\n    width: 0.1875em; }\n  .svg-inline--fa.fa-w-4 {\n    width: 0.25em; }\n  .svg-inline--fa.fa-w-5 {\n    width: 0.3125em; }\n  .svg-inline--fa.fa-w-6 {\n    width: 0.375em; }\n  .svg-inline--fa.fa-w-7 {\n    width: 0.4375em; }\n  .svg-inline--fa.fa-w-8 {\n    width: 0.5em; }\n  .svg-inline--fa.fa-w-9 {\n    width: 0.5625em; }\n  .svg-inline--fa.fa-w-10 {\n    width: 0.625em; }\n  .svg-inline--fa.fa-w-11 {\n    width: 0.6875em; }\n  .svg-inline--fa.fa-w-12 {\n    width: 0.75em; }\n  .svg-inline--fa.fa-w-13 {\n    width: 0.8125em; }\n  .svg-inline--fa.fa-w-14 {\n    width: 0.875em; }\n  .svg-inline--fa.fa-w-15 {\n    width: 0.9375em; }\n  .svg-inline--fa.fa-w-16 {\n    width: 1em; }\n  .svg-inline--fa.fa-w-17 {\n    width: 1.0625em; }\n  .svg-inline--fa.fa-w-18 {\n    width: 1.125em; }\n  .svg-inline--fa.fa-w-19 {\n    width: 1.1875em; }\n  .svg-inline--fa.fa-w-20 {\n    width: 1.25em; }\n  .svg-inline--fa.fa-pull-left {\n    margin-right: .3em;\n    width: auto; }\n  .svg-inline--fa.fa-pull-right {\n    margin-left: .3em;\n    width: auto; }\n  .svg-inline--fa.fa-border {\n    height: 1.5em; }\n  .svg-inline--fa.fa-li {\n    width: 2em; }\n  .svg-inline--fa.fa-fw {\n    width: 1.25em; }\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0; }\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -.125em;\n  width: 1em; }\n  .fa-layers svg.svg-inline--fa {\n    -webkit-transform-origin: center center;\n            transform-origin: center center; }\n\n.fa-layers-text, .fa-layers-counter {\n  display: inline-block;\n  position: absolute;\n  text-align: center; }\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center; }\n\n.fa-layers-counter {\n  background-color: #ff253a;\n  border-radius: 1em;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  color: #fff;\n  height: 1.5em;\n  line-height: 1;\n  max-width: 5em;\n  min-width: 1.5em;\n  overflow: hidden;\n  padding: .25em;\n  right: 0;\n  text-overflow: ellipsis;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right; }\n\n.fa-layers-bottom-right {\n  bottom: 0;\n  right: 0;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right; }\n\n.fa-layers-bottom-left {\n  bottom: 0;\n  left: 0;\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left; }\n\n.fa-layers-top-right {\n  right: 0;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right; }\n\n.fa-layers-top-left {\n  left: 0;\n  right: auto;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top left;\n          transform-origin: top left; }\n\n.fa-lg {\n  font-size: 1.33333em;\n  line-height: 0.75em;\n  vertical-align: -.0667em; }\n\n.fa-xs {\n  font-size: .75em; }\n\n.fa-sm {\n  font-size: .875em; }\n\n.fa-1x {\n  font-size: 1em; }\n\n.fa-2x {\n  font-size: 2em; }\n\n.fa-3x {\n  font-size: 3em; }\n\n.fa-4x {\n  font-size: 4em; }\n\n.fa-5x {\n  font-size: 5em; }\n\n.fa-6x {\n  font-size: 6em; }\n\n.fa-7x {\n  font-size: 7em; }\n\n.fa-8x {\n  font-size: 8em; }\n\n.fa-9x {\n  font-size: 9em; }\n\n.fa-10x {\n  font-size: 10em; }\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em; }\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: 2.5em;\n  padding-left: 0; }\n  .fa-ul > li {\n    position: relative; }\n\n.fa-li {\n  left: -2em;\n  position: absolute;\n  text-align: center;\n  width: 2em;\n  line-height: inherit; }\n\n.fa-border {\n  border: solid 0.08em #eee;\n  border-radius: .1em;\n  padding: .2em .25em .15em; }\n\n.fa-pull-left {\n  float: left; }\n\n.fa-pull-right {\n  float: right; }\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n  margin-right: .3em; }\n\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n  margin-left: .3em; }\n\n.fa-spin {\n  -webkit-animation: fa-spin 2s infinite linear;\n          animation: fa-spin 2s infinite linear; }\n\n.fa-pulse {\n  -webkit-animation: fa-spin 1s infinite steps(8);\n          animation: fa-spin 1s infinite steps(8); }\n\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg); }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg); } }\n\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg); }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg); } }\n\n.fa-rotate-90 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg); }\n\n.fa-rotate-180 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg); }\n\n.fa-rotate-270 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg); }\n\n.fa-flip-horizontal {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1); }\n\n.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1); }\n\n.fa-flip-horizontal.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1); }\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical {\n  -webkit-filter: none;\n          filter: none; }\n\n.fa-stack {\n  display: inline-block;\n  height: 2em;\n  position: relative;\n  width: 2em; }\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0; }\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1em; }\n\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2em; }\n\n.fa-inverse {\n  color: #fff; }\n\n.sr-only {\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\n.sr-only-focusable:active, .sr-only-focusable:focus {\n  clip: auto;\n  height: auto;\n  margin: 0;\n  overflow: visible;\n  position: static;\n  width: auto; }\n';if("fa"!==t||n!==e){var i=new RegExp("\\.fa\\-","g"),o=new RegExp("\\."+e,"g");r=r.replace(i,"."+t+"-").replace(o,"."+n)}return r}),me=function(){function e(){L(this,e),this.definitions={}}return j(e,[{key:"add",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach(function(t){e.definitions[t]=W({},e.definitions[t]||{},i[t]),g(t,i[t]),ue()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map(function(t){var r=n[t],i=r.prefix,o=r.iconName,a=r.icon;e[i]||(e[i]={}),e[i][o]=a}),e}}]),e}(),ge=new me,ve=!1,ye={transform:function(e){return ce(e)}},be=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:w(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:w(i||{})),e(r,W({},n,{mask:i}))}}(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Y:n,i=t.symbol,o=void 0!==i&&i,s=t.mask,l=void 0===s?null:s,u=t.title,c=void 0===u?null:u,d=t.classes,h=void 0===d?[]:d,p=t.attributes,m=void 0===p?{}:p,g=t.styles,w=void 0===g?{}:g;if(e){var E=e.prefix,T=e.iconName,_=e.icon;return b(W({type:"icon"},e),function(){return y(),U.autoA11y&&(c?m["aria-labelledby"]=U.replacementClass+"-title-"+a():m["aria-hidden"]="true"),f({icons:{main:v(_),mask:l?v(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:T,transform:W({},Y,r),symbol:o,title:c,extra:{attributes:m,styles:w,classes:h}})})}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scrollbars=void 0;var r=n(627),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=i.default,t.Scrollbars=i.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(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});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(628),d=r(c),f=n(228),h=r(f),p=n(1),m=n(2),g=r(m),v=n(635),y=r(v),b=n(636),w=r(b),E=n(637),T=r(E),_=n(638),k=r(_),x=n(639),S=r(x),C=n(640),O=n(641),A=function(e){function t(e){var n;o(this,t);for(var r=arguments.length,i=Array(r>1?r-1:0),s=1;s<r;s++)i[s-1]=arguments[s];var l=a(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this,e].concat(i)));return l.getScrollLeft=l.getScrollLeft.bind(l),l.getScrollTop=l.getScrollTop.bind(l),l.getScrollWidth=l.getScrollWidth.bind(l),l.getScrollHeight=l.getScrollHeight.bind(l),l.getClientWidth=l.getClientWidth.bind(l),l.getClientHeight=l.getClientHeight.bind(l),l.getValues=l.getValues.bind(l),l.getThumbHorizontalWidth=l.getThumbHorizontalWidth.bind(l),l.getThumbVerticalHeight=l.getThumbVerticalHeight.bind(l),l.getScrollLeftForOffset=l.getScrollLeftForOffset.bind(l),l.getScrollTopForOffset=l.getScrollTopForOffset.bind(l),l.scrollLeft=l.scrollLeft.bind(l),l.scrollTop=l.scrollTop.bind(l),l.scrollToLeft=l.scrollToLeft.bind(l),l.scrollToTop=l.scrollToTop.bind(l),l.scrollToRight=l.scrollToRight.bind(l),l.scrollToBottom=l.scrollToBottom.bind(l),l.handleTrackMouseEnter=l.handleTrackMouseEnter.bind(l),l.handleTrackMouseLeave=l.handleTrackMouseLeave.bind(l),l.handleHorizontalTrackMouseDown=l.handleHorizontalTrackMouseDown.bind(l),l.handleVerticalTrackMouseDown=l.handleVerticalTrackMouseDown.bind(l),l.handleHorizontalThumbMouseDown=l.handleHorizontalThumbMouseDown.bind(l),l.handleVerticalThumbMouseDown=l.handleVerticalThumbMouseDown.bind(l),l.handleWindowResize=l.handleWindowResize.bind(l),l.handleScroll=l.handleScroll.bind(l),l.handleDrag=l.handleDrag.bind(l),l.handleDragEnd=l.handleDragEnd.bind(l),l.state={didMountUniversal:!1},l}return s(t,e),u(t,[{key:"componentDidMount",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){this.props.universal&&this.setState({didMountUniversal:!0})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"componentWillUnmount",value:function(){this.removeListeners(),(0,c.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:"getScrollLeft",value:function(){return this.view?this.view.scrollLeft:0}},{key:"getScrollTop",value:function(){return this.view?this.view.scrollTop:0}},{key:"getScrollWidth",value:function(){return this.view?this.view.scrollWidth:0}},{key:"getScrollHeight",value:function(){return this.view?this.view.scrollHeight:0}},{key:"getClientWidth",value:function(){return this.view?this.view.clientWidth:0}},{key:"getClientHeight",value:function(){return this.view?this.view.clientHeight:0}},{key:"getValues",value:function(){var e=this.view||{},t=e.scrollLeft,n=void 0===t?0:t,r=e.scrollTop,i=void 0===r?0:r,o=e.scrollWidth,a=void 0===o?0:o,s=e.scrollHeight,l=void 0===s?0:s,u=e.clientWidth,c=void 0===u?0:u,d=e.clientHeight,f=void 0===d?0:d;return{left:n/(a-c)||0,top:i/(l-f)||0,scrollLeft:n,scrollTop:i,scrollWidth:a,scrollHeight:l,clientWidth:c,clientHeight:f}}},{key:"getThumbHorizontalWidth",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,r=this.view,i=r.scrollWidth,o=r.clientWidth,a=(0,k.default)(this.trackHorizontal),s=Math.ceil(o/i*a);return a===s?0:t||Math.max(s,n)}},{key:"getThumbVerticalHeight",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,r=this.view,i=r.scrollHeight,o=r.clientHeight,a=(0,S.default)(this.trackVertical),s=Math.ceil(o/i*a);return a===s?0:t||Math.max(s,n)}},{key:"getScrollLeftForOffset",value:function(e){var t=this.view,n=t.scrollWidth,r=t.clientWidth;return e/((0,k.default)(this.trackHorizontal)-this.getThumbHorizontalWidth())*(n-r)}},{key:"getScrollTopForOffset",value:function(e){var t=this.view,n=t.scrollHeight,r=t.clientHeight;return e/((0,S.default)(this.trackVertical)-this.getThumbVerticalHeight())*(n-r)}},{key:"scrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollLeft=e)}},{key:"scrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollTop=e)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if("undefined"!==typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,i=this.thumbVertical;e.addEventListener("scroll",this.handleScroll),(0,w.default)()&&(t.addEventListener("mouseenter",this.handleTrackMouseEnter),t.addEventListener("mouseleave",this.handleTrackMouseLeave),t.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.addEventListener("mouseenter",this.handleTrackMouseEnter),n.addEventListener("mouseleave",this.handleTrackMouseLeave),n.addEventListener("mousedown",this.handleVerticalTrackMouseDown),r.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),i.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if("undefined"!==typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,i=this.thumbVertical;e.removeEventListener("scroll",this.handleScroll),(0,w.default)()&&(t.removeEventListener("mouseenter",this.handleTrackMouseEnter),t.removeEventListener("mouseleave",this.handleTrackMouseLeave),t.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.removeEventListener("mouseenter",this.handleTrackMouseEnter),n.removeEventListener("mouseleave",this.handleTrackMouseLeave),n.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),r.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),i.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(e){var t=this,n=this.props,r=n.onScroll,i=n.onScrollFrame;r&&r(e),this.update(function(e){var n=e.scrollLeft,r=e.scrollTop;t.viewScrollLeft=n,t.viewScrollTop=r,i&&i(e)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var e=this.props.onScrollStart;e&&e(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleScrollStop",value:function(){var e=this.props.onScrollStop;e&&e(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientX,r=t.getBoundingClientRect(),i=r.left,o=this.getThumbHorizontalWidth(),a=Math.abs(i-n)-o/2;this.view.scrollLeft=this.getScrollLeftForOffset(a)}},{key:"handleVerticalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientY,r=t.getBoundingClientRect(),i=r.top,o=this.getThumbVerticalHeight(),a=Math.abs(i-n)-o/2;this.view.scrollTop=this.getScrollTopForOffset(a)}},{key:"handleHorizontalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientX,r=t.offsetWidth,i=t.getBoundingClientRect(),o=i.left;this.prevPageX=r-(n-o)}},{key:"handleVerticalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientY,r=t.offsetHeight,i=t.getBoundingClientRect(),o=i.top;this.prevPageY=r-(n-o)}},{key:"setupDragging",value:function(){(0,h.default)(document.body,C.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=T.default}},{key:"teardownDragging",value:function(){(0,h.default)(document.body,C.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(e){this.dragging=!0,e.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(e){if(this.prevPageX){var t=e.clientX,n=this.trackHorizontal.getBoundingClientRect(),r=n.left,i=this.getThumbHorizontalWidth(),o=i-this.prevPageX,a=-r+t-o;this.view.scrollLeft=this.getScrollLeftForOffset(a)}if(this.prevPageY){var s=e.clientY,l=this.trackVertical.getBoundingClientRect(),u=l.top,c=this.getThumbVerticalHeight(),d=c-this.prevPageY,f=-u+s-d;this.view.scrollTop=this.getScrollTopForOffset(f)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,h.default)(this.trackHorizontal,{opacity:1}),(0,h.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var e=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var t=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,h.default)(e.trackHorizontal,{opacity:0}),(0,h.default)(e.trackVertical,{opacity:0})},t)}}},{key:"detectScrolling",value:function(){var e=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){e.lastViewScrollLeft===e.viewScrollLeft&&e.lastViewScrollTop===e.viewScrollTop&&(clearInterval(e.detectScrollingInterval),e.scrolling=!1,e.handleScrollStop()),e.lastViewScrollLeft=e.viewScrollLeft,e.lastViewScrollTop=e.viewScrollTop},100))}},{key:"raf",value:function(e){var t=this;this.requestFrame&&d.default.cancel(this.requestFrame),this.requestFrame=(0,d.default)(function(){t.requestFrame=void 0,e()})}},{key:"update",value:function(e){var t=this;this.raf(function(){return t._update(e)})}},{key:"_update",value:function(e){var t=this.props,n=t.onUpdate,r=t.hideTracksWhenNotNeeded,i=this.getValues();if((0,w.default)()){var o=i.scrollLeft,a=i.clientWidth,s=i.scrollWidth,l=(0,k.default)(this.trackHorizontal),u=this.getThumbHorizontalWidth(),c=o/(s-a)*(l-u),d={width:u,transform:"translateX("+c+"px)"},f=i.scrollTop,p=i.clientHeight,m=i.scrollHeight,g=(0,S.default)(this.trackVertical),v=this.getThumbVerticalHeight(),y=f/(m-p)*(g-v),b={height:v,transform:"translateY("+y+"px)"};if(r){var E={visibility:s>a?"visible":"hidden"},T={visibility:m>p?"visible":"hidden"};(0,h.default)(this.trackHorizontal,E),(0,h.default)(this.trackVertical,T)}(0,h.default)(this.thumbHorizontal,d),(0,h.default)(this.thumbVertical,b)}n&&n(i),"function"===typeof e&&e(i)}},{key:"render",value:function(){var e=this,t=(0,w.default)(),n=this.props,r=(n.onScroll,n.onScrollFrame,n.onScrollStart,n.onScrollStop,n.onUpdate,n.renderView),o=n.renderTrackHorizontal,a=n.renderTrackVertical,s=n.renderThumbHorizontal,u=n.renderThumbVertical,c=n.tagName,d=(n.hideTracksWhenNotNeeded,n.autoHide),f=(n.autoHideTimeout,n.autoHideDuration),h=(n.thumbSize,n.thumbMinSize,n.universal),m=n.autoHeight,g=n.autoHeightMin,v=n.autoHeightMax,b=n.style,E=n.children,T=i(n,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),_=this.state.didMountUniversal,k=l({},C.containerStyleDefault,m&&l({},C.containerStyleAutoHeight,{minHeight:g,maxHeight:v}),b),x=l({},C.viewStyleDefault,{marginRight:t?-t:0,marginBottom:t?-t:0},m&&l({},C.viewStyleAutoHeight,{minHeight:(0,y.default)(g)?"calc("+g+" + "+t+"px)":g+t,maxHeight:(0,y.default)(v)?"calc("+v+" + "+t+"px)":v+t}),m&&h&&!_&&{minHeight:g,maxHeight:v},h&&!_&&C.viewStyleUniversalInitial),S={transition:"opacity "+f+"ms",opacity:0},O=l({},C.trackHorizontalStyleDefault,d&&S,(!t||h&&!_)&&{display:"none"}),A=l({},C.trackVerticalStyleDefault,d&&S,(!t||h&&!_)&&{display:"none"});return(0,p.createElement)(c,l({},T,{style:k,ref:function(t){e.container=t}}),[(0,p.cloneElement)(r({style:x}),{key:"view",ref:function(t){e.view=t}},E),(0,p.cloneElement)(o({style:O}),{key:"trackHorizontal",ref:function(t){e.trackHorizontal=t}},(0,p.cloneElement)(s({style:C.thumbHorizontalStyleDefault}),{ref:function(t){e.thumbHorizontal=t}})),(0,p.cloneElement)(a({style:A}),{key:"trackVertical",ref:function(t){e.trackVertical=t}},(0,p.cloneElement)(u({style:C.thumbVerticalStyleDefault}),{ref:function(t){e.thumbVertical=t}}))])}}]),t}(p.Component);t.default=A,A.propTypes={onScroll:g.default.func,onScrollFrame:g.default.func,onScrollStart:g.default.func,onScrollStop:g.default.func,onUpdate:g.default.func,renderView:g.default.func,renderTrackHorizontal:g.default.func,renderTrackVertical:g.default.func,renderThumbHorizontal:g.default.func,renderThumbVertical:g.default.func,tagName:g.default.string,thumbSize:g.default.number,thumbMinSize:g.default.number,hideTracksWhenNotNeeded:g.default.bool,autoHide:g.default.bool,autoHideTimeout:g.default.number,autoHideDuration:g.default.number,autoHeight:g.default.bool,autoHeightMin:g.default.oneOfType([g.default.number,g.default.string]),autoHeightMax:g.default.oneOfType([g.default.number,g.default.string]),universal:g.default.bool,style:g.default.object,children:g.default.node},A.defaultProps={renderView:O.renderViewDefault,renderTrackHorizontal:O.renderTrackHorizontalDefault,renderTrackVertical:O.renderTrackVerticalDefault,renderThumbHorizontal:O.renderThumbHorizontalDefault,renderThumbVertical:O.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},function(e,t,n){(function(t){for(var r=n(629),i="undefined"===typeof window?t:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],l=i["cancel"+a]||i["cancelRequest"+a],u=0;!s&&u<o.length;u++)s=i[o[u]+"Request"+a],l=i[o[u]+"Cancel"+a]||i[o[u]+"CancelRequest"+a];if(!s||!l){var c=0,d=0,f=[];s=function(e){if(0===f.length){var t=r(),n=Math.max(0,1e3/60-(t-c));c=n+t,setTimeout(function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout(function(){throw e},0)}},Math.round(n))}return f.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return s.call(i,e)},e.exports.cancel=function(){l.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=s,e.cancelAnimationFrame=l}}).call(t,n(18))},function(e,t,n){(function(t){(function(){var n,r,i,o,a,s;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,n=function(){var e;return e=r(),1e9*e[0]+e[1]},o=n(),s=1e9*t.uptime(),a=o-s):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(t,n(43))},function(e,t){var n=null,r=["Webkit","Moz","O","ms"];e.exports=function(e){n||(n=document.createElement("div"));var t=n.style;if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),o=r.length;o>=0;o--){var a=r[o]+i;if(a in t)return a}return!1}},function(e,t,n){function r(e){return i(e).replace(/\s(\w)/g,function(e,t){return t.toUpperCase()})}var i=n(632);e.exports=r},function(e,t,n){function r(e){return i(e).replace(/[\W_]+(.|$)/g,function(e,t){return t?" "+t:""}).trim()}var i=n(633);e.exports=r},function(e,t){function n(e){return o.test(e)?e.toLowerCase():a.test(e)?(r(e)||e).toLowerCase():s.test(e)?i(e).toLowerCase():e.toLowerCase()}function r(e){return e.replace(l,function(e,t){return t?" "+t:""})}function i(e){return e.replace(u,function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")})}e.exports=n;var o=/\s/,a=/(_|-|\.|:)/,s=/([a-z][A-Z]|[A-Z][a-z])/,l=/[\W_]+(.|$)/g,u=/(.)([A-Z]+)/g},function(e,t){var n={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};e.exports=function(e,t){return"number"!==typeof t||n[e]?t:t+"px"}},function(e,t,n){"use strict";function r(e){return"string"===typeof e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(){if(!1!==a)return a;if("undefined"!==typeof document){var e=document.createElement("div");(0,o.default)(e,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(e),a=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}else a=0;return a||0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(228),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=!1},function(e,t,n){"use strict";function r(){return!1}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){var t=e.clientWidth,n=getComputedStyle(e),r=n.paddingLeft,i=n.paddingRight;return t-parseFloat(r)-parseFloat(i)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){var t=e.clientHeight,n=getComputedStyle(e),r=n.paddingTop,i=n.paddingBottom;return t-parseFloat(r)-parseFloat(i)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},t.containerStyleAutoHeight={height:"auto"},t.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},t.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},t.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},t.trackHorizontalStyleDefault={position:"absolute",height:6},t.trackVerticalStyleDefault={position:"absolute",width:6},t.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},t.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},t.disableSelectStyle={userSelect:"none"},t.disableSelectStyleReset={userSelect:""}},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return d.default.createElement("div",e)}function o(e){var t=e.style,n=r(e,["style"]),i=u({},t,{right:2,bottom:2,left:2,borderRadius:3});return d.default.createElement("div",u({style:i},n))}function a(e){var t=e.style,n=r(e,["style"]),i=u({},t,{right:2,bottom:2,top:2,borderRadius:3});return d.default.createElement("div",u({style:i},n))}function s(e){var t=e.style,n=r(e,["style"]),i=u({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return d.default.createElement("div",u({style:i},n))}function l(e){var t=e.style,n=r(e,["style"]),i=u({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return d.default.createElement("div",u({style:i},n))}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.renderViewDefault=i,t.renderTrackHorizontalDefault=o,t.renderTrackVerticalDefault=a,t.renderThumbHorizontalDefault=s,t.renderThumbVerticalDefault=l;var c=n(1),d=function(e){return e&&e.__esModule?e:{default:e}}(c)},function(e,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 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 o(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)}n.d(t,"a",function(){return d});var a=n(1),s=n.n(a),l=n(40),u=n.n(l),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.updateDim=function(){n.mounted&&(window.innerWidth<=n.minWidth&&!n.state.minimized?n.setState({minimized:!0}):window.innerWidth>n.minWidth&&n.state.minimized&&n.setState({minimized:!1,drawerOpen:!1}),n.setState({innerHeight:window.innerHeight}))},n.imageLoaded=function(){n.setState({imageLoaded:!0})},n.componentWillMount=function(){window.innerWidth<=n.minWidth&&n.setState({minimized:!0}),n.mounted=!0},n.moveBackground=function(){},n.moveBackgroundEvent=function(e){},n.state={imageLoaded:!1,translate:"scale(1.1)",translateText:"scale(1.0)",minimized:!1,innerHeight:window.innerHeight},n.defaultImage="https://static.igem.org/mediawiki/2018/5/58/T--Washington--MB.jpg";var o=new Image;return o.src=n.props.params.BACKGROUND?n.props.params.BACKGROUND:n.defaultImage,o.onload=n.imageLoaded,n.x=0,n.y=0,n.tX=0,n.tY=0,n.lFollowX=0,n.lFollowY=0,n.friction=1/30,n.minWidth=850,n.headerBarPercentage=.3,window.addEventListener("resize",n.updateDim),n}return o(t,e),c(t,[{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"render",value:function(){var e=this.props.params,t=e.BACKGROUNDLIGHTNESS?e.BACKGROUNDLIGHTNESS:0,n=e.BACKGROUND?e.BACKGROUND:this.defaultImage,r=e.BACKGROUNDOPACITY?e.BACKGROUNDOPACITY:.6,i=e.TEXTHEIGHT?e.TEXTHEIGHT:12,o=e.TEXT?e.TEXT:"",a=e.BLUR?e.BLUR:5,l=e.MINTITLEHEIGHT?e.MINTITLEHEIGHT:8,c=e.MINPADDINGTOP?e.MINPADDINGTOP:80,d=e.PADDINGTOP?e.PADDINGTOP:120,f=e.XPOS?e.XPOS:50,h=e.YPOS?e.YPOS:50;return s.a.createElement("div",null,s.a.createElement(u.a,{when:this.state.imageLoaded},s.a.createElement("div",{style:{width:"100%",height:this.headerBarPercentage*window.innerHeight+18,textAlign:"center",margin:"auto",overflow:"hidden",position:"relative"}},s.a.createElement("div",{style:{width:"100%",height:"100%",backgroundAttachment:"fixed",background:"url("+n+") "+f+"% "+h+"%",backgroundColor:"hsla(0,0%,"+t+"%,"+r+")",backgroundBlendMode:"overlay",backgroundSize:"cover",position:"absolute",filter:"blur("+a+"px)",top:18,left:0,WebkitTransform:this.state.translate,transform:this.state.translate,msTransform:this.state.translate,OTransform:this.state.translate,MozTransform:this.state.translate}}),s.a.createElement("div",{style:{paddingTop:this.state.minimized?c+"px":d+"px",WebkitTransform:this.state.translateText,transform:this.state.translateText,msTransform:this.state.translateText,OTransform:this.state.translateText,MozTransform:this.state.translateText}},s.a.createElement("div",{style:{color:"white",fontSize:(this.state.minimized?l:i)+"vh",textAlign:"center",fontFamily:"Leixo"}},s.a.createElement(u.a,{clear:!0,duration:500,when:this.state.imageLoaded},o))))))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return m});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(40)),c=n.n(u),d=n(645),f=(n.n(d),n(67)),h=n(86),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setLoaded=function(e){if(!n.state.loaded[e]){var t=n.state.loaded;t[e]=!0,n.setState({loaded:t})}},n.state={loaded:[],data:[],hover:[]},n.cardBody=71,n}return o(t,e),p(t,[{key:"componentWillMount",value:function(){var e=this;this.setState({data:this.props.data,maxImagesPerRow:this.props.maxImagesPerRow}),this.props.data.forEach(function(t,n){var r=new Image;r.src=t.PICTURE,r.onload=function(){return e.setLoaded(n)}})}},{key:"componentWillReceiveProps",value:function(e){var t=e.data,n=e.maxImagesPerRow;this.setState({data:t,maxImagesPerRow:n})}},{key:"render",value:function(){var e=this,t=this.state.data;return s.a.createElement("div",{style:{margin:30,textAlign:"center"}},s.a.createElement(l.Grid,{fluid:!0,style:{padding:0,margin:0}},s.a.createElement(c.a,{clear:!0,cascade:!0},s.a.createElement(l.Row,{style:{padding:0,margin:0},center:"xs"},t&&t.map(function(t,n){var r=t.XPOS?t.XPOS:50,i=t.YPOS?t.YPOS:50;return s.a.createElement(l.Col,{md:Math.round(12/e.state.maxImagesPerRow),key:"img"+n,style:{marginTop:10}},s.a.createElement(c.a,{when:e.state.loaded[n]},s.a.createElement("div",null,t.LINK&&s.a.createElement("a",{href:t.LINK,target:"_blank",style:{textDecoration:"none"},className:"linkSubImageTotal"},s.a.createElement("div",{style:{width:"100%",maxWidth:402,minWidth:180,height:"auto",minHeight:280,margin:"auto",backgroundColor:"white",background:"url("+t.PICTURE+") no-repeat "+r+"% "+i+"%",backgroundSize:"cover",cursor:"pointer",boxShadow:"5px 5px 10px gray",marginBottom:10},className:"linkSubImage"}),t.TITLE&&s.a.createElement("div",{style:{padding:5,fontSize:"16pt"}},t.TITLE," ",s.a.createElement(f.a,{icon:h.a})),s.a.createElement("div",{style:{padding:5,fontSize:"11pt"}},t.DESCRIPTION)),!t.LINK&&s.a.createElement("div",null,s.a.createElement("div",{style:{width:"100%",maxWidth:402,minWidth:180,height:"auto",minHeight:280,margin:"auto",backgroundColor:"white",background:"url("+t.PICTURE+") no-repeat "+r+"% "+i+"%",backgroundSize:"cover",boxShadow:"5px 5px 10px gray",marginBottom:10}}),t.TITLE&&s.a.createElement("div",{style:{padding:5,fontSize:"16pt"}},t.TITLE),s.a.createElement("div",{style:{padding:5,fontSize:"11pt"}},t.DESCRIPTION)))))})))))}}]),t}(a.Component)},function(e,t){},function(e,t,n){"use strict";function r(e,t){t.tree=e.parse(t.file)}function i(e,t,n){function r(e,r,i){e?n(e):(t.tree=r,t.file=i,n())}e.run(t.tree,t.file,r)}function o(e,t){t.file.contents=e.stringify(t.tree,t.file)}function a(){function e(){for(var e=a(),t=C.length,n=-1;++n<t;)e.use.apply(null,C[n]);return e.data(p(!0,{},A)),e}function t(){var t,n,r,i;if(P)return e;for(;++I<C.length;)t=C[I],n=t[0],r=t[1],i=null,!1!==r&&(!0===r&&(t[1]=void 0),"function"===typeof(i=n.apply(e,t.slice(1)))&&O.use(i));return P=!0,I=1/0,e}function n(t,n){return y(t)?2===arguments.length?(d("data",P),A[t]=n,e):E.call(A,t)&&A[t]||null:t?(d("data",P),A=t,e):A}function r(t){function n(e){o(e.plugins),e.settings&&(s=p(s||{},e.settings))}function r(e){if("function"===typeof e)a(e);else{if("object"!==typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?a.apply(null,e):n(e)}}function o(e){var t,n;if(null===e||void 0===e);else{if(!("object"===typeof e&&"length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(t=e.length,n=-1;++n<t;)r(e[n])}}function a(e,t){var n=i(e);n?(b(n[1])&&b(t)&&(t=p(n[1],t)),n[1]=t):C.push(w.call(arguments))}var s;if(d("use",P),null===t||void 0===t);else if("function"===typeof t)a.apply(null,arguments);else{if("object"!==typeof t)throw new Error("Expected usable value, not `"+t+"`");"length"in t?o(t):n(t)}return s&&(A.settings=p(A.settings||{},s)),e}function i(e){for(var t,n=C.length,r=-1;++r<n;)if(t=C[r],t[0]===e)return t}function o(n){var r,i=g(n);return t(),r=e.Parser,u("parse",r),s(r)?new r(String(i),i).parse():r(String(i),i)}function l(e,n,r){function i(t,i){function o(n,o,a){o=o||e,n?i(n):t?t(o):r(null,o,a)}O.run(e,g(n),o)}if(f(e),t(),r||"function"!==typeof n||(r=n,n=null),!r)return new Promise(i);i(null,r)}function _(e,t){function n(e,t){i=!0,m(e),r=t}var r,i=!1;return l(e,t,n),h("runSync","run",i),r}function k(n,r){var i,o=g(r);return t(),i=e.Compiler,c("stringify",i),f(n),s(i)?new i(n,o).compile():i(n,o)}function x(n,r){function i(t,i){function o(e){e?i(e):t?t(a):r(null,a)}var a=g(n);T.run(e,{file:a},o)}if(t(),u("process",e.Parser),c("process",e.Compiler),!r)return new Promise(i);i(null,r)}function S(n){function r(e){o=!0,m(e)}var i,o=!1;return t(),u("processSync",e.Parser),c("processSync",e.Compiler),i=g(n),x(i,r),h("processSync","process",o),i}var C=[],O=v(),A={},P=!1,I=-1;return e.data=n,e.freeze=t,e.attachers=C,e.use=r,e.parse=o,e.stringify=k,e.run=l,e.runSync=_,e.process=x,e.processSync=S,e}function s(e){return"function"===typeof e&&l(e.prototype)}function l(e){var t;for(t in e)return!0;return!1}function u(e,t){if("function"!==typeof t)throw new Error("Cannot `"+e+"` without `Parser`")}function c(e,t){if("function"!==typeof t)throw new Error("Cannot `"+e+"` without `Compiler`")}function d(e,t){if(t)throw new Error(["Cannot invoke `"+e+"` on a frozen processor.\nCreate a new ","processor first, by invoking it: use `processor()` instead of ","`processor`."].join(""))}function f(e){if(!e||!y(e.type))throw new Error("Expected node, got `"+e+"`")}function h(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}var p=n(647),m=n(648),g=n(649),v=n(655),y=n(656),b=n(657);e.exports=a().freeze();var w=[].slice,E={}.hasOwnProperty,T=v().use(r).use(i).use(o)},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},a=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t=r.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!t&&!n)return!1;var o;for(o in e);return"undefined"===typeof o||r.call(e,o)};e.exports=function e(){var t,n,r,i,s,l,u=arguments[0],c=1,d=arguments.length,f=!1;for("boolean"===typeof u&&(f=u,u=arguments[1]||{},c=2),(null==u||"object"!==typeof u&&"function"!==typeof u)&&(u={});c<d;++c)if(null!=(t=arguments[c]))for(n in t)r=u[n],i=t[n],u!==i&&(f&&i&&(a(i)||(s=o(i)))?(s?(s=!1,l=r&&o(r)?r:[]):l=r&&a(r)?r:{},u[n]=e(f,l,i)):"undefined"!==typeof i&&(u[n]=i));return u}},function(e,t,n){"use strict";function r(e){if(e)throw e}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=this.path,i=new a(e,t,n);return r&&(i.name=r+":"+i.name,i.file=r),i.fatal=!1,this.messages.push(i),i}function i(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}function o(){var e=this.message.apply(this,arguments);return e.fatal=null,e}var a=n(650),s=n(652);e.exports=s;var l=s.prototype;l.message=r,l.info=o,l.fail=i,l.warn=r},function(e,t,n){"use strict";function r(){}function i(e,t,n){var r,i,s;"string"===typeof t&&(n=t,t=null),r=o(n),i=a(t)||"1:1",s={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(s=t,t=t.start):s.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=i,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=s,this.source=r[0],this.ruleId=r[1]}function o(e){var t,n=[null,null];return"string"===typeof e&&(t=e.indexOf(":"),-1===t?n[1]=e:(n[0]=e.slice(0,t),n[1]=e.slice(t+1))),n}var a=n(651);e.exports=i,r.prototype=Error.prototype,i.prototype=new r;var s=i.prototype;s.file="",s.name="",s.reason="",s.message="",s.stack="",s.fatal=null,s.column=null,s.line=null},function(e,t,n){"use strict";function r(e){return e&&"object"===typeof e?s.call(e,"position")||s.call(e,"type")?o(e.position):s.call(e,"start")||s.call(e,"end")?o(e):s.call(e,"line")||s.call(e,"column")?i(e):null:null}function i(e){return e&&"object"===typeof e||(e={}),a(e.line)+":"+a(e.column)}function o(e){return e&&"object"===typeof e||(e={}),i(e.start)+"-"+i(e.end)}function a(e){return e&&"number"===typeof e?e:1}var s={}.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";(function(t){function r(e){var n,i,o;if(e){if("string"===typeof e||c(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof r))return new r(e);for(this.data={},this.messages=[],this.history=[],this.cwd=t.cwd(),i=-1,o=h.length;++i<o;)n=h[i],d.call(e,n)&&(this[n]=e[n]);for(n in e)-1===h.indexOf(n)&&(this[n]=e[n])}function i(e){var t=this.contents||"";return c(t)?t.toString(e):String(t)}function o(e,t){if(-1!==e.indexOf(l.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+l.sep+"`")}function a(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function s(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}var l=n(229),u=n(653),c=n(654);e.exports=r;var d={}.hasOwnProperty,f=r.prototype;f.toString=i;var h=["history","path","basename","stem","extname","dirname"];Object.defineProperty(f,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){a(e,"path"),e!==this.path&&this.history.push(e)}}),Object.defineProperty(f,"dirname",{get:function(){return"string"===typeof this.path?l.dirname(this.path):void 0},set:function(e){s(this.path,"dirname"),this.path=l.join(e||"",this.basename)}}),Object.defineProperty(f,"basename",{get:function(){return"string"===typeof this.path?l.basename(this.path):void 0},set:function(e){a(e,"basename"),o(e,"basename"),this.path=l.join(this.dirname||"",e)}}),Object.defineProperty(f,"extname",{get:function(){return"string"===typeof this.path?l.extname(this.path):void 0},set:function(e){var t=e||"";if(o(t,"extname"),s(this.path,"extname"),t){if("."!==t.charAt(0))throw new Error("`extname` must start with `.`");if(-1!==t.indexOf(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=u(this.path,t)}}),Object.defineProperty(f,"stem",{get:function(){return"string"===typeof this.path?l.basename(this.path,this.extname):void 0},set:function(e){a(e,"stem"),o(e,"stem"),this.path=l.join(this.dirname||"",e+(this.extname||""))}})}).call(t,n(43))},function(e,t,n){"use strict";function r(e,t){if("string"!==typeof e)return e;if(0===e.length)return e;var n=i.basename(e,i.extname(e))+t;return i.join(i.dirname(e),n)}var i=n(229);e.exports=r},function(e,t){function n(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&n(e.slice(0,0))}e.exports=function(e){return null!=e&&(n(e)||r(e)||!!e._isBuffer)}},function(e,t,n){"use strict";function r(){function e(){function e(s){var l=n[++t],u=o.call(arguments,0),c=u.slice(1),d=r.length,f=-1;if(s)return void a(s);for(;++f<d;)null!==c[f]&&void 0!==c[f]||(c[f]=r[f]);r=c,l?i(l,e).apply(null,r):a.apply(null,[null].concat(r))}var t=-1,r=o.call(arguments,0,-1),a=arguments[arguments.length-1];if("function"!==typeof a)throw new Error("Expected function as last argument, not "+a);e.apply(null,[null].concat(r))}function t(e){if("function"!==typeof e)throw new Error("Expected `fn` to be a function, not "+e);return n.push(e),r}var n=[],r={};return r.run=e,r.use=t,r}function i(e,t){function n(){var t,n=o.call(arguments,0),s=e.length>n.length;s&&n.push(r);try{t=e.apply(null,n)}catch(e){if(s&&a)throw e;return r(e)}s||(t&&"function"===typeof t.then?t.then(i,r):t instanceof Error?r(t):i(t))}function r(){a||(a=!0,t.apply(null,arguments))}function i(e){r(null,e)}var a;return n}e.exports=r;var o=[].slice},function(e,t){function n(e){return"[object String]"===r.call(e)}var r=Object.prototype.toString;e.exports=n},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t;return"[object Object]"===r.call(e)&&(null===(t=Object.getPrototypeOf(e))||t===Object.getPrototypeOf({}))}},function(e,t,n){"use strict";function r(e){var t=i(a);t.prototype.options=o(t.prototype.options,this.data("settings"),e),this.Parser=t}var i=n(230),o=n(24),a=n(660);e.exports=r,r.Parser=a},function(e,t){"function"===typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){"use strict";function r(e,t){this.file=t,this.offset={},this.options=o(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=s(t).toOffset,this.unescape=l(this,"escape"),this.decode=u(this)}function i(e){var t,n=[];for(t in e)n.push(t);return n}var o=n(24),a=n(231),s=n(661),l=n(662),u=n(663),c=n(666);e.exports=r;var d=r.prototype;d.setOptions=n(667),d.parse=n(669),d.options=n(237),d.exitStart=a("atStart",!0),d.enterList=a("inList",!1),d.enterLink=a("inLink",!1),d.enterBlock=a("inBlock",!1),d.interruptParagraph=[["thematicBreak"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],d.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],d.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],d.blockTokenizers={newline:n(671),indentedCode:n(672),fencedCode:n(673),blockquote:n(674),atxHeading:n(675),thematicBreak:n(676),list:n(677),setextHeading:n(679),html:n(680),footnote:n(681),definition:n(682),table:n(683),paragraph:n(684)},d.inlineTokenizers={escape:n(685),autoLink:n(687),url:n(688),html:n(690),link:n(691),reference:n(692),strong:n(693),emphasis:n(695),deletion:n(698),code:n(700),break:n(702),text:n(704)},d.blockMethods=i(d.blockTokenizers),d.inlineMethods=i(d.inlineTokenizers),d.tokenizeBlock=c("block"),d.tokenizeInline=c("inline"),d.tokenizeFactory=c},function(e,t,n){"use strict";function r(e){var t=a(String(e));return{toPosition:i(t),toOffset:o(t)}}function i(e){function t(t){var n=-1,r=e.length;if(t<0)return{};for(;++n<r;)if(e[n]>t)return{line:n+1,column:t-(e[n-1]||0)+1,offset:t};return{}}return t}function o(e){function t(t){var n=t&&t.line,r=t&&t.column;return!isNaN(n)&&!isNaN(r)&&n-1 in e?(e[n-2]||0)+r-1||0:-1}return t}function a(e){for(var t=[],n=e.indexOf("\n");-1!==n;)t.push(n+1),n=e.indexOf("\n",n+1);return t.push(e.length+1),t}e.exports=r},function(e,t,n){"use strict";function r(e,t){function n(n){for(var r,i=0,o=n.indexOf("\\"),a=e[t],s=[];-1!==o;)s.push(n.slice(i,o)),i=o+1,r=n.charAt(i),r&&-1!==a.indexOf(r)||s.push("\\"),o=n.indexOf("\\",i);return s.push(n.slice(i)),s.join("")}return n}e.exports=r},function(e,t,n){"use strict";function r(e){function t(t){for(var n=e.offset,r=t.line,i=[];++r&&r in n;)i.push((n[r]||0)+1);return{start:t,indent:i}}function n(t,n,r){3!==r&&e.file.message(t,n)}function r(r,i,a){o(r,{position:t(i),warning:n,text:a,reference:a,textContext:e,referenceContext:e})}function a(e,r,a){return o(e,i(a,{position:t(r),warning:n}))}return r.raw=a,r}var i=n(24),o=n(88);e.exports=r},function(e,t){e.exports={AEli:"\xc6",AElig:"\xc6",AM:"&",AMP:"&",Aacut:"\xc1",Aacute:"\xc1",Abreve:"\u0102",Acir:"\xc2",Acirc:"\xc2",Acy:"\u0410",Afr:"\ud835\udd04",Agrav:"\xc0",Agrave:"\xc0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2a53",Aogon:"\u0104",Aopf:"\ud835\udd38",ApplyFunction:"\u2061",Arin:"\xc5",Aring:"\xc5",Ascr:"\ud835\udc9c",Assign:"\u2254",Atild:"\xc3",Atilde:"\xc3",Aum:"\xc4",Auml:"\xc4",Backslash:"\u2216",Barv:"\u2ae7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212c",Beta:"\u0392",Bfr:"\ud835\udd05",Bopf:"\ud835\udd39",Breve:"\u02d8",Bscr:"\u212c",Bumpeq:"\u224e",CHcy:"\u0427",COP:"\xa9",COPY:"\xa9",Cacute:"\u0106",Cap:"\u22d2",CapitalDifferentialD:"\u2145",Cayleys:"\u212d",Ccaron:"\u010c",Ccedi:"\xc7",Ccedil:"\xc7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010a",Cedilla:"\xb8",CenterDot:"\xb7",Cfr:"\u212d",Chi:"\u03a7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2a74",Congruent:"\u2261",Conint:"\u222f",ContourIntegral:"\u222e",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2a2f",Cscr:"\ud835\udc9e",Cup:"\u22d3",CupCap:"\u224d",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040f",Dagger:"\u2021",Darr:"\u21a1",Dashv:"\u2ae4",Dcaron:"\u010e",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\ud835\udd07",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",Diamond:"\u22c4",DifferentialD:"\u2146",Dopf:"\ud835\udd3b",Dot:"\xa8",DotDot:"\u20dc",DotEqual:"\u2250",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",Downarrow:"\u21d3",Dscr:"\ud835\udc9f",Dstrok:"\u0110",ENG:"\u014a",ET:"\xd0",ETH:"\xd0",Eacut:"\xc9",Eacute:"\xc9",Ecaron:"\u011a",Ecir:"\xca",Ecirc:"\xca",Ecy:"\u042d",Edot:"\u0116",Efr:"\ud835\udd08",Egrav:"\xc8",Egrave:"\xc8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25fb",EmptyVerySmallSquare:"\u25ab",Eogon:"\u0118",Eopf:"\ud835\udd3c",Epsilon:"\u0395",Equal:"\u2a75",EqualTilde:"\u2242",Equilibrium:"\u21cc",Escr:"\u2130",Esim:"\u2a73",Eta:"\u0397",Eum:"\xcb",Euml:"\xcb",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\ud835\udd09",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",Fopf:"\ud835\udd3d",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",G:">",GT:">",Gamma:"\u0393",Gammad:"\u03dc",Gbreve:"\u011e",Gcedil:"\u0122",Gcirc:"\u011c",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\ud835\udd0a",Gg:"\u22d9",Gopf:"\ud835\udd3e",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",Gt:"\u226b",HARDcy:"\u042a",Hacek:"\u02c7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210c",HilbertSpace:"\u210b",Hopf:"\u210d",HorizontalLine:"\u2500",Hscr:"\u210b",Hstrok:"\u0126",HumpDownHump:"\u224e",HumpEqual:"\u224f",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacut:"\xcd",Iacute:"\xcd",Icir:"\xce",Icirc:"\xce",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrav:"\xcc",Igrave:"\xcc",Im:"\u2111",Imacr:"\u012a",ImaginaryI:"\u2148",Implies:"\u21d2",Int:"\u222c",Integral:"\u222b",Intersection:"\u22c2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012e",Iopf:"\ud835\udd40",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Ium:"\xcf",Iuml:"\xcf",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\ud835\udd0d",Jopf:"\ud835\udd41",Jscr:"\ud835\udca5",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040c",Kappa:"\u039a",Kcedil:"\u0136",Kcy:"\u041a",Kfr:"\ud835\udd0e",Kopf:"\ud835\udd42",Kscr:"\ud835\udca6",LJcy:"\u0409",L:"<",LT:"<",Lacute:"\u0139",Lambda:"\u039b",Lang:"\u27ea",Laplacetrf:"\u2112",Larr:"\u219e",Lcaron:"\u013d",Lcedil:"\u013b",Lcy:"\u041b",LeftAngleBracket:"\u27e8",LeftArrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",LeftRightArrow:"\u2194",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",Leftarrow:"\u21d0",Leftrightarrow:"\u21d4",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2aa1",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",Lfr:"\ud835\udd0f",Ll:"\u22d8",Lleftarrow:"\u21da",Lmidot:"\u013f",LongLeftArrow:"\u27f5",LongLeftRightArrow:"\u27f7",LongRightArrow:"\u27f6",Longleftarrow:"\u27f8",Longleftrightarrow:"\u27fa",Longrightarrow:"\u27f9",Lopf:"\ud835\udd43",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21b0",Lstrok:"\u0141",Lt:"\u226a",Map:"\u2905",Mcy:"\u041c",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",MinusPlus:"\u2213",Mopf:"\ud835\udd44",Mscr:"\u2133",Mu:"\u039c",NJcy:"\u040a",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041d",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",Nfr:"\ud835\udd11",NoBreak:"\u2060",NonBreakingSpace:"\xa0",Nopf:"\u2115",Not:"\u2aec",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\ud835\udca9",Ntild:"\xd1",Ntilde:"\xd1",Nu:"\u039d",OElig:"\u0152",Oacut:"\xd3",Oacute:"\xd3",Ocir:"\xd4",Ocirc:"\xd4",Ocy:"\u041e",Odblac:"\u0150",Ofr:"\ud835\udd12",Ograv:"\xd2",Ograve:"\xd2",Omacr:"\u014c",Omega:"\u03a9",Omicron:"\u039f",Oopf:"\ud835\udd46",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",Or:"\u2a54",Oscr:"\ud835\udcaa",Oslas:"\xd8",Oslash:"\xd8",Otild:"\xd5",Otilde:"\xd5",Otimes:"\u2a37",Oum:"\xd6",Ouml:"\xd6",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",PartialD:"\u2202",Pcy:"\u041f",Pfr:"\ud835\udd13",Phi:"\u03a6",Pi:"\u03a0",PlusMinus:"\xb1",Poincareplane:"\u210c",Popf:"\u2119",Pr:"\u2abb",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",Prime:"\u2033",Product:"\u220f",Proportion:"\u2237",Proportional:"\u221d",Pscr:"\ud835\udcab",Psi:"\u03a8",QUO:'"',QUOT:'"',Qfr:"\ud835\udd14",Qopf:"\u211a",Qscr:"\ud835\udcac",RBarr:"\u2910",RE:"\xae",REG:"\xae",Racute:"\u0154",Rang:"\u27eb",Rarr:"\u21a0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211c",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",Rfr:"\u211c",Rho:"\u03a1",RightAngleBracket:"\u27e9",RightArrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",Rightarrow:"\u21d2",Ropf:"\u211d",RoundImplies:"\u2970",Rrightarrow:"\u21db",Rscr:"\u211b",Rsh:"\u21b1",RuleDelayed:"\u29f4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042c",Sacute:"\u015a",Sc:"\u2abc",Scaron:"\u0160",Scedil:"\u015e",Scirc:"\u015c",Scy:"\u0421",Sfr:"\ud835\udd16",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03a3",SmallCircle:"\u2218",Sopf:"\ud835\udd4a",Sqrt:"\u221a",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\ud835\udcae",Star:"\u22c6",Sub:"\u22d0",Subset:"\u22d0",SubsetEqual:"\u2286",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",SuchThat:"\u220b",Sum:"\u2211",Sup:"\u22d1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22d1",THOR:"\xde",THORN:"\xde",TRADE:"\u2122",TSHcy:"\u040b",TScy:"\u0426",Tab:"\t",Tau:"\u03a4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\ud835\udd17",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\ud835\udd4b",TripleDot:"\u20db",Tscr:"\ud835\udcaf",Tstrok:"\u0166",Uacut:"\xda",Uacute:"\xda",Uarr:"\u219f",Uarrocir:"\u2949",Ubrcy:"\u040e",Ubreve:"\u016c",Ucir:"\xdb",Ucirc:"\xdb",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\ud835\udd18",Ugrav:"\xd9",Ugrave:"\xd9",Umacr:"\u016a",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",Uopf:"\ud835\udd4c",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",UpDownArrow:"\u2195",UpEquilibrium:"\u296e",UpTee:"\u22a5",UpTeeArrow:"\u21a5",Uparrow:"\u21d1",Updownarrow:"\u21d5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03d2",Upsilon:"\u03a5",Uring:"\u016e",Uscr:"\ud835\udcb0",Utilde:"\u0168",Uum:"\xdc",Uuml:"\xdc",VDash:"\u22ab",Vbar:"\u2aeb",Vcy:"\u0412",Vdash:"\u22a9",Vdashl:"\u2ae6",Vee:"\u22c1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",Vopf:"\ud835\udd4d",Vscr:"\ud835\udcb1",Vvdash:"\u22aa",Wcirc:"\u0174",Wedge:"\u22c0",Wfr:"\ud835\udd1a",Wopf:"\ud835\udd4e",Wscr:"\ud835\udcb2",Xfr:"\ud835\udd1b",Xi:"\u039e",Xopf:"\ud835\udd4f",Xscr:"\ud835\udcb3",YAcy:"\u042f",YIcy:"\u0407",YUcy:"\u042e",Yacut:"\xdd",Yacute:"\xdd",Ycirc:"\u0176",Ycy:"\u042b",Yfr:"\ud835\udd1c",Yopf:"\ud835\udd50",Yscr:"\ud835\udcb4",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017d",Zcy:"\u0417",Zdot:"\u017b",ZeroWidthSpace:"\u200b",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\ud835\udcb5",aacut:"\xe1",aacute:"\xe1",abreve:"\u0103",ac:"\u223e",acE:"\u223e\u0333",acd:"\u223f",acir:"\xe2",acirc:"\xe2",acut:"\xb4",acute:"\xb4",acy:"\u0430",aeli:"\xe6",aelig:"\xe6",af:"\u2061",afr:"\ud835\udd1e",agrav:"\xe0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",amacr:"\u0101",amalg:"\u2a3f",am:"&",amp:"&",and:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",aopf:"\ud835\udd52",ap:"\u2248",apE:"\u2a70",apacir:"\u2a6f",ape:"\u224a",apid:"\u224b",apos:"'",approx:"\u2248",approxeq:"\u224a",arin:"\xe5",aring:"\xe5",ascr:"\ud835\udcb6",ast:"*",asymp:"\u2248",asympeq:"\u224d",atild:"\xe3",atilde:"\xe3",aum:"\xe4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",bNot:"\u2aed",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",barvee:"\u22bd",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",beta:"\u03b2",beth:"\u2136",between:"\u226c",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255d",boxUR:"\u255a",boxUl:"\u255c",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256c",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256b",boxVl:"\u2562",boxVr:"\u255f",boxbox:"\u29c9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250c",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252c",boxhu:"\u2534",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxuL:"\u255b",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256a",boxvL:"\u2561",boxvR:"\u255e",boxvh:"\u253c",boxvl:"\u2524",boxvr:"\u251c",bprime:"\u2035",breve:"\u02d8",brvba:"\xa6",brvbar:"\xa6",bscr:"\ud835\udcb7",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",bumpeq:"\u224f",cacute:"\u0107",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",ccaps:"\u2a4d",ccaron:"\u010d",ccedi:"\xe7",ccedil:"\xe7",ccirc:"\u0109",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",cedi:"\xb8",cedil:"\xb8",cemptyv:"\u29b2",cen:"\xa2",cent:"\xa2",centerdot:"\xb7",cfr:"\ud835\udd20",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",cir:"\u25cb",cirE:"\u29c3",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledR:"\xae",circledS:"\u24c8",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",conint:"\u222e",copf:"\ud835\udd54",coprod:"\u2210",cop:"\xa9",copy:"\xa9",copysr:"\u2117",crarr:"\u21b5",cross:"\u2717",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cup:"\u222a",cupbrcap:"\u2a48",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curre:"\xa4",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dArr:"\u21d3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21ca",ddotseq:"\u2a77",de:"\xb0",deg:"\xb0",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\ud835\udd21",dharl:"\u21c3",dharr:"\u21c2",diam:"\u22c4",diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divid:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\ud835\udd55",dot:"\u02d9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscr:"\ud835\udcb9",dscy:"\u0455",dsol:"\u29f6",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",dzigrarr:"\u27ff",eDDot:"\u2a77",eDot:"\u2251",eacut:"\xe9",eacute:"\xe9",easter:"\u2a6e",ecaron:"\u011b",ecir:"\xea",ecirc:"\xea",ecolon:"\u2255",ecy:"\u044d",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\ud835\udd22",eg:"\u2a9a",egrav:"\xe8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014b",ensp:"\u2002",eogon:"\u0119",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",equals:"=",equest:"\u225f",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erDot:"\u2253",erarr:"\u2971",escr:"\u212f",esdot:"\u2250",esim:"\u2242",eta:"\u03b7",et:"\xf0",eth:"\xf0",eum:"\xeb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\ud835\udd23",filig:"\ufb01",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\ud835\udd57",forall:"\u2200",fork:"\u22d4",forkv:"\u2ad9",fpartint:"\u2a0d",frac1:"\xbc",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac3:"\xbe",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",gE:"\u2267",gEl:"\u2a8c",gacute:"\u01f5",gamma:"\u03b3",gammad:"\u03dd",gap:"\u2a86",gbreve:"\u011f",gcirc:"\u011d",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\ud835\udd24",gg:"\u226b",ggg:"\u22d9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2a92",gla:"\u2aa5",glj:"\u2aa4",gnE:"\u2269",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",gopf:"\ud835\udd58",grave:"`",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",g:">",gt:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",hArr:"\u21d4",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",hardcy:"\u044a",harr:"\u2194",harrcir:"\u2948",harrw:"\u21ad",hbar:"\u210f",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",horbar:"\u2015",hscr:"\ud835\udcbd",hslash:"\u210f",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacut:"\xed",iacute:"\xed",ic:"\u2063",icir:"\xee",icirc:"\xee",icy:"\u0438",iecy:"\u0435",iexc:"\xa1",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",igrav:"\xec",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012b",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",intcal:"\u22ba",integers:"\u2124",intercal:"\u22ba",intlarhk:"\u2a17",intprod:"\u2a3c",iocy:"\u0451",iogon:"\u012f",iopf:"\ud835\udd5a",iota:"\u03b9",iprod:"\u2a3c",iques:"\xbf",iquest:"\xbf",iscr:"\ud835\udcbe",isin:"\u2208",isinE:"\u22f9",isindot:"\u22f5",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",ium:"\xef",iuml:"\xef",jcirc:"\u0135",jcy:"\u0439",jfr:"\ud835\udd27",jmath:"\u0237",jopf:"\ud835\udd5b",jscr:"\ud835\udcbf",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03ba",kappav:"\u03f0",kcedil:"\u0137",kcy:"\u043a",kfr:"\ud835\udd28",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045c",kopf:"\ud835\udd5c",kscr:"\ud835\udcc0",lAarr:"\u21da",lArr:"\u21d0",lAtail:"\u291b",lBarr:"\u290e",lE:"\u2266",lEg:"\u2a8b",lHar:"\u2962",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",lambda:"\u03bb",lang:"\u27e8",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",laqu:"\xab",laquo:"\xab",larr:"\u2190",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",lcedil:"\u013c",lceil:"\u2308",lcub:"{",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21a2",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",leftthreetimes:"\u22cb",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297c",lfloor:"\u230a",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226a",llarr:"\u21c7",llcorner:"\u231e",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnE:"\u2268",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",longleftrightarrow:"\u27f7",longmapsto:"\u27fc",longrightarrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",lstrok:"\u0142",l:"<",lt:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltrPar:"\u2996",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",mDDot:"\u223a",mac:"\xaf",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",mdash:"\u2014",measuredangle:"\u2221",mfr:"\ud835\udd2a",mho:"\u2127",micr:"\xb5",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middo:"\xb7",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",mstpos:"\u223e",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nGg:"\u22d9\u0338",nGt:"\u226b\u20d2",nGtv:"\u226b\u0338",nLeftarrow:"\u21cd",nLeftrightarrow:"\u21ce",nLl:"\u22d8\u0338",nLt:"\u226a\u20d2",nLtv:"\u226a\u0338",nRightarrow:"\u21cf",nVDash:"\u22af",nVdash:"\u22ae",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbs:"\xa0",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",ndash:"\u2013",ne:"\u2260",neArr:"\u21d7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",ngsim:"\u2275",ngt:"\u226f",ngtr:"\u226f",nhArr:"\u21ce",nharr:"\u21ae",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",nlArr:"\u21cd",nlE:"\u2266\u0338",nlarr:"\u219a",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219a",nleftrightarrow:"\u21ae",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nlsim:"\u2274",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nmid:"\u2224",nopf:"\ud835\udd5f",no:"\xac",not:"\xac",notin:"\u2209",notinE:"\u22f9\u0338",notindot:"\u22f5\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrArr:"\u21cf",nrarr:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntild:"\xf1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22ad",nvHarr:"\u2904",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwArr:"\u21d6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24c8",oacut:"\xf3",oacute:"\xf3",oast:"\u229b",ocir:"\xf4",ocirc:"\xf4",ocy:"\u043e",odash:"\u229d",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",ofcir:"\u29bf",ofr:"\ud835\udd2c",ogon:"\u02db",ograv:"\xf2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",omega:"\u03c9",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",oopf:"\ud835\udd60",opar:"\u29b7",operp:"\u29b9",oplus:"\u2295",or:"\u2228",orarr:"\u21bb",ord:"\xba",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oscr:"\u2134",oslas:"\xf8",oslash:"\xf8",osol:"\u2298",otild:"\xf5",otilde:"\xf5",otimes:"\u2297",otimesas:"\u2a36",oum:"\xf6",ouml:"\xf6",ovbar:"\u233d",par:"\xb6",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",pfr:"\ud835\udd2d",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",plusm:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",pointint:"\u2a15",popf:"\ud835\udd61",poun:"\xa3",pound:"\xa3",pr:"\u227a",prE:"\u2ab3",prap:"\u2ab7",prcue:"\u227c",pre:"\u2aaf",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",prime:"\u2032",primes:"\u2119",prnE:"\u2ab5",prnap:"\u2ab9",prnsim:"\u22e8",prod:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",pscr:"\ud835\udcc5",psi:"\u03c8",puncsp:"\u2008",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",qprime:"\u2057",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quo:'"',quot:'"',rAarr:"\u21db",rArr:"\u21d2",rAtail:"\u291c",rBarr:"\u290f",rHar:"\u2964",race:"\u223d\u0331",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raqu:"\xbb",raquo:"\xbb",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",re:"\xae",reg:"\xae",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",rho:"\u03c1",rhov:"\u03f1",rightarrow:"\u2192",rightarrowtail:"\u21a3",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",rightthreetimes:"\u22cc",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",roplus:"\u2a2e",rotimes:"\u2a35",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",rsaquo:"\u203a",rscr:"\ud835\udcc7",rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",sbquo:"\u201a",sc:"\u227b",scE:"\u2ab4",scap:"\u2ab8",scaron:"\u0161",sccue:"\u227d",sce:"\u2ab0",scedil:"\u015f",scirc:"\u015d",scnE:"\u2ab6",scnap:"\u2aba",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",seArr:"\u21d8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sec:"\xa7",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",sh:"\xad",shy:"\xad",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",square:"\u25a1",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",subE:"\u2ac5",subdot:"\u2abd",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2ac5",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",sum:"\u2211",sung:"\u266a",sup:"\u2283",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supE:"\u2ac6",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supedot:"\u2ac4",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swArr:"\u21d9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292a",szli:"\xdf",szlig:"\xdf",target:"\u2316",tau:"\u03c4",tbrk:"\u23b4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",thor:"\xfe",thorn:"\xfe",tilde:"\u02dc",time:"\xd7",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\ud835\udcc9",tscy:"\u0446",tshcy:"\u045b",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",uArr:"\u21d1",uHar:"\u2963",uacut:"\xfa",uacute:"\xfa",uarr:"\u2191",ubrcy:"\u045e",ubreve:"\u016d",ucir:"\xfb",ucirc:"\xfb",ucy:"\u0443",udarr:"\u21c5",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",ufr:"\ud835\udd32",ugrav:"\xf9",ugrave:"\xf9",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",um:"\xa8",uml:"\xa8",uogon:"\u0173",uopf:"\ud835\udd66",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",upsi:"\u03c5",upsih:"\u03d2",upsilon:"\u03c5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",urtri:"\u25f9",uscr:"\ud835\udcca",utdot:"\u22f0",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uum:"\xfc",uuml:"\xfc",uwangle:"\u29a7",vArr:"\u21d5",vBar:"\u2ae8",vBarv:"\u2ae9",vDash:"\u22a8",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vcy:"\u0432",vdash:"\u22a2",vee:"\u2228",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",vert:"|",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",vzigzag:"\u299a",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\ud835\udd34",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xfr:"\ud835\udd35",xhArr:"\u27fa",xharr:"\u27f7",xi:"\u03be",xlArr:"\u27f8",xlarr:"\u27f5",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrArr:"\u27f9",xrarr:"\u27f6",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",yacut:"\xfd",yacute:"\xfd",yacy:"\u044f",ycirc:"\u0177",ycy:"\u044b",ye:"\xa5",yen:"\xa5",yfr:"\ud835\udd36",yicy:"\u0457",yopf:"\ud835\udd6a",yscr:"\ud835\udcce",yucy:"\u044e",yum:"\xff",yuml:"\xff",zacute:"\u017a",zcaron:"\u017e",zcy:"\u0437",zdot:"\u017c",zeetrf:"\u2128",zeta:"\u03b6",zfr:"\ud835\udd37",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"}},function(e,t){e.exports={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"}},function(e,t,n){"use strict";function r(e){var t,n;return"text"!==e.type||!e.position||(t=e.position.start,n=e.position.end,t.line!==n.line||n.column-t.column===e.value.length)}function i(e,t){return e.value+=t.value,e}function o(e,t){return this.options.commonmark?t:(e.children=e.children.concat(t.children),e)}function a(e){function t(t,n){function i(e){for(var t=-1,n=e.indexOf("\n");-1!==n;)k++,t=n,n=e.indexOf("\n",n+1);-1===t?x+=e.length:x=e.length-t,k in w&&(-1!==t?x+=w[k]:x<=w[k]&&(x=w[k]+1))}function o(){var e=[],t=k+1;return function(){for(var n=k+1;t<n;)e.push((w[t]||0)+1),t++;return e}}function a(){var e={line:k,column:x};return e.offset=b.toOffset(e),e}function l(e){this.start=e,this.end=a()}function u(e){t.substring(0,e.length)!==e&&b.file.fail(new Error("Incorrectly eaten value: please report this warning on http://git.io/vg5Ft"),a())}function c(){function e(e,n){var r=e.position,i=r?r.start:t,o=[],a=r&&r.end.line,s=t.line;if(e.position=new l(i),r&&n&&r.indent){if(o=r.indent,a<s){for(;++a<s;)o.push((w[a]||0)+1);o.push(t.column)}n=o.concat(n)}return e.position.indent=n||[],e}var t=a();return e}function d(e,t){var n=t?t.children:E,i=n[n.length-1];return i&&e.type===i.type&&e.type in s&&r(i)&&r(e)&&(e=s[e.type].call(b,i,e)),e!==i&&n.push(e),b.atStart&&0!==E.length&&b.exitStart(),e}function f(e){function n(e,t){return f(d(f(e),t),l)}function r(){var r=n.apply(null,arguments);return k=h.line,x=h.column,t=e+t,r}function s(){var n=f({});return k=h.line,x=h.column,t=e+t,n.position}var l=o(),f=c(),h=a();return u(e),n.reset=r,r.test=s,n.test=s,t=t.substring(e.length),i(e),l=l(),n}var h,p,m,g,v,y,b=this,w=b.offset,E=[],T=b[e+"Methods"],_=b[e+"Tokenizers"],k=n.line,x=n.column;if(!t)return E;for(f.now=a,f.file=b.file,i("");t;){for(h=-1,p=T.length,v=!1;++h<p&&(g=T[h],!(m=_[g])||m.onlyAtStart&&!b.atStart||m.notInList&&b.inList||m.notInBlock&&b.inBlock||m.notInLink&&b.inLink||(y=t.length,m.apply(b,[f,t]),!(v=y!==t.length))););v||b.file.fail(new Error("Infinite loop"),f.now())}return b.eof=a(),E}return t}e.exports=a;var s={text:i,blockquote:o}},function(e,t,n){"use strict";function r(e){var t,n,r=this,s=r.options;if(null==e)e={};else{if("object"!==typeof e)throw new Error("Invalid value `"+e+"` for setting `options`");e=i(e)}for(t in a){if(n=e[t],null==n&&(n=s[t]),"blocks"!==t&&"boolean"!==typeof n||"blocks"===t&&"object"!==typeof n)throw new Error("Invalid value `"+n+"` for setting `options."+t+"`");e[t]=n}return r.options=e,r.escape=o(e),r}var i=n(24),o=n(236),a=n(237);e.exports=r},function(e,t){e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,n){"use strict";function r(){var e,t=this,n=String(t.file),r={line:1,column:1,offset:0},l=i(r);return n=n.replace(s,a),65279===n.charCodeAt(0)&&(n=n.slice(1),l.column++,l.offset++),e={type:"root",children:t.tokenizeBlock(n,l),position:{start:r,end:t.eof||i(r)}},t.options.position||o(e,!0),e}var i=n(24),o=n(670);e.exports=r;var a="\n",s=/\r\n|\r/g},function(e,t,n){"use strict";function r(e,t){return a(e,t?i:o),e}function i(e){delete e.position}function o(e){e.position=void 0}var a=n(69);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,o,a,s,l=t.charAt(0);if("\n"===l){if(n)return!0;for(s=1,r=t.length,o=l,a="";s<r&&(l=t.charAt(s),i(l));)a+=l,"\n"===l&&(o+=a,a=""),s++;e(o)}}var i=n(20);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){for(var r,i,c,d=-1,f=t.length,h="",p="",m="",g="";++d<f;)if(r=t.charAt(d),c)if(c=!1,h+=m,p+=g,m="",g="",r===a)m=r,g=r;else for(h+=r,p+=r;++d<f;){if(!(r=t.charAt(d))||r===a){g=r,m=r;break}h+=r,p+=r}else if(r===l&&t.charAt(d+1)===r&&t.charAt(d+2)===r&&t.charAt(d+3)===r)m+=u,d+=3,c=!0;else if(r===s)m+=r,c=!0;else{for(i="";r===s||r===l;)i+=r,r=t.charAt(++d);if(r!==a)break;m+=i+r,g+=r}if(p)return!!n||e(h)({type:"code",lang:null,value:o(p)})}var i=n(22),o=n(138);e.exports=r;var a="\n",s="\t",l=" ",u=i(l,4)},function(e,t,n){"use strict";function r(e,t,n){var r,f,h,p,m,g,v,y,b,w,E,T=this,_=T.options,k=t.length+1,x=0,S="";if(_.gfm){for(;x<k&&((h=t.charAt(x))===s||h===a);)S+=h,x++;if(w=x,(h=t.charAt(x))===l||h===u){for(x++,f=h,r=1,S+=h;x<k&&(h=t.charAt(x))===f;)S+=h,r++,x++;if(!(r<c)){for(;x<k&&((h=t.charAt(x))===s||h===a);)S+=h,x++;for(p="",m="";x<k&&(h=t.charAt(x))!==o&&h!==l&&h!==u;)h===s||h===a?m+=h:(p+=m+h,m=""),x++;if(!(h=t.charAt(x))||h===o){if(n)return!0;for(E=e.now(),E.column+=S.length,E.offset+=S.length,S+=p,p=T.decode.raw(T.unescape(p),E),m&&(S+=m),m="",y="",b="",g="",v="";x<k;)if(h=t.charAt(x),g+=y,v+=b,y="",b="",h===o){for(g?(y+=h,b+=h):S+=h,m="",x++;x<k&&(h=t.charAt(x))===s;)m+=h,x++;if(y+=m,b+=m.slice(w),!(m.length>=d)){for(m="";x<k&&(h=t.charAt(x))===f;)m+=h,x++;if(y+=m,b+=m,!(m.length<r)){for(m="";x<k&&((h=t.charAt(x))===s||h===a);)y+=h,b+=h,x++;if(!h||h===o)break}}}else g+=h,b+=h,x++;return S+=g+y,e(S)({type:"code",lang:p||null,value:i(v)})}}}}}var i=n(138);e.exports=r;var o="\n",a="\t",s=" ",l="~",u="`",c=3,d=4},function(e,t,n){"use strict";function r(e,t,n){for(var r,c,d,f,h,p,m,g,v,y=this,b=y.offset,w=y.blockTokenizers,E=y.interruptBlockquote,T=e.now(),_=T.line,k=t.length,x=[],S=[],C=[],O=0;O<k&&((c=t.charAt(O))===l||c===s);)O++;if(t.charAt(O)===u){if(n)return!0;for(O=0;O<k;){for(f=t.indexOf(a,O),m=O,g=!1,-1===f&&(f=k);O<k&&((c=t.charAt(O))===l||c===s);)O++;if(t.charAt(O)===u?(O++,g=!0,t.charAt(O)===l&&O++):O=m,h=t.slice(O,f),!g&&!i(h)){O=m;break}if(!g&&(d=t.slice(O),o(E,w,y,[e,d,!0])))break;p=m===O?h:t.slice(m,f),C.push(O-m),x.push(p),S.push(h),O=f+1}for(O=-1,k=C.length,r=e(x.join(a));++O<k;)b[_]=(b[_]||0)+C[O],_++;return v=y.enterBlock(),S=y.tokenizeBlock(S.join(a),T),v(),r({type:"blockquote",children:S})}}var i=n(27),o=n(139);e.exports=r;var a="\n",s="\t",l=" ",u=">"},function(e,t,n){"use strict";function r(e,t,n){for(var r,u,c,d=this,f=d.options,h=t.length+1,p=-1,m=e.now(),g="",v="";++p<h;){if((r=t.charAt(p))!==a&&r!==o){p--;break}g+=r}for(c=0;++p<=h;){if((r=t.charAt(p))!==s){p--;break}g+=r,c++}if(!(c>l)&&c&&(f.pedantic||t.charAt(p+1)!==s)){for(h=t.length+1,u="";++p<h;){if((r=t.charAt(p))!==a&&r!==o){p--;break}u+=r}if(f.pedantic||0!==u.length||!r||r===i){if(n)return!0;for(g+=u,u="",v="";++p<h&&(r=t.charAt(p))&&r!==i;)if(r===a||r===o||r===s){for(;r===a||r===o;)u+=r,r=t.charAt(++p);for(;r===s;)u+=r,r=t.charAt(++p);for(;r===a||r===o;)u+=r,r=t.charAt(++p);p--}else v+=u+r,u="";return m.column+=g.length,m.offset+=g.length,g+=v+u,e(g)({type:"heading",depth:c,children:d.tokenizeInline(v,m)})}}}e.exports=r;var i="\n",o="\t",a=" ",s="#",l=6},function(e,t,n){"use strict";function r(e,t,n){for(var r,d,f,h,p=-1,m=t.length+1,g="";++p<m&&((r=t.charAt(p))===o||r===a);)g+=r;if(r===s||r===u||r===l)for(d=r,g+=r,f=1,h="";++p<m;)if((r=t.charAt(p))===d)f++,g+=h+d,h="";else{if(r!==a)return f>=c&&(!r||r===i)?(g+=h,!!n||e(g)({type:"thematicBreak"})):void 0;h+=r}}e.exports=r;var i="\n",o="\t",a=" ",s="*",l="_",u="-",c=3},function(e,t,n){"use strict";function r(e,t,n){for(var r,o,a,l,c,d,b,E,T,_,k,x,A,P,I,R,N,M,D,L,j,W,B,F,z=this,U=z.options.commonmark,H=z.options.pedantic,G=z.blockTokenizers,q=z.interruptList,V=0,K=t.length,Y=null,Z=0;V<K;){if((l=t.charAt(V))===y)Z+=w-Z%w;else{if(l!==g)break;Z++}V++}if(!(Z>=w)){if(l=t.charAt(V),r=U?O:C,!0===S[l])c=l,a=!1;else{for(a=!0,o="";V<K&&(l=t.charAt(V),u(l));)o+=l,V++;if(l=t.charAt(V),!o||!0!==r[l])return;Y=parseInt(o,10),c=l}if((l=t.charAt(++V))===g||l===y){if(n)return!0;for(V=0,P=[],I=[],R=[];V<K;){for(d=t.indexOf(v,V),b=V,E=!1,F=!1,-1===d&&(d=K),B=V+w,Z=0;V<K;){if((l=t.charAt(V))===y)Z+=w-Z%w;else{if(l!==g)break;Z++}V++}if(Z>=w&&(F=!0),N&&Z>=N.indent&&(F=!0),l=t.charAt(V),T=null,!F){if(!0===S[l])T=l,V++,Z++;else{for(o="";V<K&&(l=t.charAt(V),u(l));)o+=l,V++;l=t.charAt(V),V++,o&&!0===r[l]&&(T=l,Z+=o.length+1)}if(T)if((l=t.charAt(V))===y)Z+=w-Z%w,V++;else if(l===g){for(B=V+w;V<B&&t.charAt(V)===g;)V++,Z++;V===B&&t.charAt(V)===g&&(V-=w-1,Z-=w-1)}else l!==v&&""!==l&&(T=null)}if(T){if(!H&&c!==T)break;E=!0}else U||F||t.charAt(b)!==g?U&&N&&(F=Z>=N.indent||Z>w):F=!0,E=!1,V=b;if(k=t.slice(b,d),_=b===V?k:t.slice(V,d),(T===h||T===p||T===m)&&G.thematicBreak.call(z,e,k,!0))break;if(x=A,A=!s(_).length,F&&N)N.value=N.value.concat(R,k),I=I.concat(R,k),R=[];else if(E)0!==R.length&&(N.value.push(""),N.trail=R.concat()),N={value:[k],indent:Z,trail:[]},P.push(N),I=I.concat(R,k),R=[];else if(A){if(x)break;R.push(k)}else{if(x)break;if(f(q,G,z,[e,k,!0]))break;N.value=N.value.concat(R,k),I=I.concat(R,k),R=[]}V=d+1}for(j=e(I.join(v)).reset({type:"list",ordered:a,start:Y,loose:null,children:[]}),M=z.enterList(),D=z.enterBlock(),L=!1,V=-1,K=P.length;++V<K;)N=P[V].value.join(v),W=e.now(),N=e(N)(i(z,N,W),j),N.loose&&(L=!0),N=P[V].trail.join(v),V!==K-1&&(N+=v),e(N);return M(),D(),j.loose=L,j}}}function i(e,t,n){var r,i,s=e.offset,l=e.options.pedantic?o:a,u=null;return t=l.apply(null,arguments),e.options.gfm&&(r=t.match(T))&&(i=r[0].length,u=r[1].toLowerCase()===b,s[n.line]+=i,t=t.slice(i)),{type:"listItem",loose:E.test(t)||t.charAt(t.length-1)===v,checked:u,children:e.tokenizeBlock(t,n)}}function o(e,t,n){function r(e){return i[o]=(i[o]||0)+e.length,o++,""}var i=e.offset,o=n.line;return t=t.replace(k,r),o=n.line,t.replace(x,r)}function a(e,t,n){function r(e,t,n,r,s){return o=t+n+r,a=s,Number(n)<10&&o.length%2===1&&(n=g+n),(i=t+l(g,n.length)+r)+a}var i,o,a,s,u,f,h,p=e.offset,m=n.line;for(t=t.replace(_,r),s=t.split(v),u=d(t,c(i).indent).split(v),u[0]=a,p[m]=(p[m]||0)+o.length,m++,f=0,h=s.length;++f<h;)p[m]=(p[m]||0)+s[f].length-u[f].length,m++;return u.join(v)}var s=n(27),l=n(22),u=n(68),c=n(239),d=n(678),f=n(139);e.exports=r;var h="*",p="_",m="-",g=" ",v="\n",y="\t",b="x",w=4,E=/\n\n(?!\s*$)/,T=/^\[([ \t]|x|X)][ \t]/,_=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,k=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,x=/^( {1,4}|\t)?/gm,S={};S[h]=!0,S["+"]=!0,S[m]=!0;var C={};C["."]=!0;var O={};O["."]=!0,O[")"]=!0},function(e,t,n){"use strict";function r(e,t){var n,r,c,d,f=e.split(l),h=f.length+1,p=1/0,m=[];for(f.unshift(o(s,t)+"!");h--;)if(r=a(f[h]),m[h]=r.stops,0!==i(f[h]).length){if(!r.indent){p=1/0;break}r.indent>0&&r.indent<p&&(p=r.indent)}if(p!==1/0)for(h=f.length;h--;){for(c=m[h],n=p;n&&!(n in c);)n--;d=0!==i(f[h]).length&&p&&n!==p?u:"",f[h]=d+f[h].slice(n in c?c[n]+1:0)}return f.shift(),f.join(l)}var i=n(27),o=n(22),a=n(239);e.exports=r;var s=" ",l="\n",u="\t"},function(e,t,n){"use strict";function r(e,t,n){for(var r,u,c,d,f,h=this,p=e.now(),m=t.length,g=-1,v="";++g<m;){if((c=t.charAt(g))!==a||g>=s){g--;break}v+=c}for(r="",u="";++g<m;){if((c=t.charAt(g))===i){g--;break}c===a||c===o?u+=c:(r+=u+c,u="")}if(p.column+=v.length,p.offset+=v.length,v+=r+u,c=t.charAt(++g),d=t.charAt(++g),c===i&&l[d]){for(v+=c,u=d,f=l[d];++g<m;){if((c=t.charAt(g))!==d){if(c!==i)return;g--;break}u+=c}return!!n||e(v+u)({type:"heading",depth:f,children:h.tokenizeInline(r,p)})}}e.exports=r;var i="\n",o="\t",a=" ",s=3,l={};l["="]=1,l["-"]=2},function(e,t,n){"use strict";function r(e,t,n){for(var r,u,c,d,f,h,p,m=this,g=m.options.blocks,v=t.length,y=0,b=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+g.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];y<v&&((d=t.charAt(y))===o||d===a);)y++;if(t.charAt(y)===l){for(r=t.indexOf(s,y+1),r=-1===r?v:r,u=t.slice(y,r),c=-1,f=b.length;++c<f;)if(b[c][0].test(u)){h=b[c];break}if(h){if(n)return h[2];if(y=r,!h[1].test(u))for(;y<v;){if(r=t.indexOf(s,y+1),r=-1===r?v:r,u=t.slice(y+1,r),h[1].test(u)){u&&(y=r);break}y=r}return p=t.slice(0,y),e(p)({type:"html",value:p})}}}var i=n(240).openCloseTag;e.exports=r;var o="\t",a=" ",s="\n",l="<"},function(e,t,n){"use strict";function r(e,t,n){var r,m,g,v,y,b,w,E,T,_,k,x,S=this,C=S.offset;if(S.options.footnotes){for(r=0,m=t.length,g="",v=e.now(),y=v.line;r<m&&(T=t.charAt(r),i(T));)g+=T,r++;if(t.charAt(r)===c&&t.charAt(r+1)===f){for(g+=c+f,r=g.length,w="";r<m&&(T=t.charAt(r))!==d;)T===a&&(w+=T,r++,T=t.charAt(r)),w+=T,r++;if(w&&t.charAt(r)===d&&t.charAt(r+1)===h){if(n)return!0;for(_=o(w),g+=w+d+h,r=g.length;r<m&&((T=t.charAt(r))===l||T===u);)g+=T,r++;for(v.column+=g.length,v.offset+=g.length,w="",b="",E="";r<m;){if((T=t.charAt(r))===s){for(E=T,r++;r<m&&(T=t.charAt(r))===s;)E+=T,r++;for(w+=E,E="";r<m&&(T=t.charAt(r))===u;)E+=T,r++;if(0===E.length)break;w+=E}w&&(b+=w,w=""),b+=T,r++}return g+=b,b=b.replace(p,function(e){return C[y]=(C[y]||0)+e.length,y++,""}),k=e(g),x=S.enterBlock(),b=S.tokenizeBlock(b,v),x(),k({type:"footnoteDefinition",identifier:_,children:b})}}}}var i=n(20),o=n(140);e.exports=r,r.notInList=!0,r.notInBlock=!0;var a="\\",s="\n",l="\t",u=" ",c="[",d="]",f="^",h=":",p=/^( {4}|\t)?/gm},function(e,t,n){"use strict";function r(e,t,n){for(var r,a,w,E,T,_,k,x,S=this,C=S.options.commonmark,O=0,A=t.length,P="";O<A&&((E=t.charAt(O))===h||E===f);)P+=E,O++;if((E=t.charAt(O))===p){for(O++,P+=E,w="";O<A&&(E=t.charAt(O))!==m;)E===c&&(w+=E,O++,E=t.charAt(O)),w+=E,O++;if(w&&t.charAt(O)===m&&t.charAt(O+1)===y){for(_=w,P+=w+m+y,O=P.length,w="";O<A&&((E=t.charAt(O))===f||E===h||E===d);)P+=E,O++;if(E=t.charAt(O),w="",r=P,E===b){for(O++;O<A&&(E=t.charAt(O),i(E));)w+=E,O++;if((E=t.charAt(O))===i.delimiter)P+=b+w+E,O++;else{if(C)return;O-=w.length+1,w=""}}if(!w){for(;O<A&&(E=t.charAt(O),o(E));)w+=E,O++;P+=w}if(w){for(k=w,w="";O<A&&((E=t.charAt(O))===f||E===h||E===d);)w+=E,O++;if(E=t.charAt(O),T=null,E===l?T=l:E===u?T=u:E===g&&(T=v),T){if(!w)return;for(P+=w+E,O=P.length,w="";O<A&&(E=t.charAt(O))!==T;){if(E===d){if(O++,(E=t.charAt(O))===d||E===T)return;w+=d}w+=E,O++}if((E=t.charAt(O))!==T)return;a=P,P+=w+E,O++,x=w,w=""}else w="",O=P.length;for(;O<A&&((E=t.charAt(O))===f||E===h);)P+=E,O++;return E=t.charAt(O),E&&E!==d?void 0:!!n||(r=e(r).test().end,k=S.decode.raw(S.unescape(k),r,{nonTerminated:!1}),x&&(a=e(a).test().end,x=S.decode.raw(S.unescape(x),a)),e(P)({type:"definition",identifier:s(_),title:x||null,url:k}))}}}}function i(e){return e!==w&&e!==p&&e!==m}function o(e){return e!==p&&e!==m&&!a(e)}var a=n(20),s=n(140);e.exports=r,r.notInList=!0,r.notInBlock=!0;var l='"',u="'",c="\\",d="\n",f="\t",h=" ",p="[",m="]",g="(",v=")",y=":",b="<",w=">";i.delimiter=w},function(e,t,n){"use strict";function r(e,t,n){var r,b,w,E,T,_,k,x,S,C,O,A,P,I,R,N,M,D,L,j,W,B,F,z,U=this;if(U.options.gfm){for(r=0,D=0,_=t.length+1,k=[];r<_;){if(B=t.indexOf(d,r),F=t.indexOf(l,r+1),-1===B&&(B=t.length),-1===F||F>B){if(D<p)return;break}k.push(t.slice(r,B)),D++,r=B+1}for(E=k.join(d),b=k.splice(1,1)[0]||[],r=0,_=b.length,D--,w=!1,O=[];r<_;){if((S=b.charAt(r))===l){if(C=null,!1===w){if(!1===z)return}else O.push(w),w=!1;z=!1}else if(S===s)C=!0,w=w||y;else if(S===u)w=w===m?g:C&&w===y?v:m;else if(!i(S))return;r++}if(!1!==w&&O.push(w),!(O.length<h)){if(n)return!0;for(M=-1,j=[],W=e(E).reset({type:"table",align:O,children:j});++M<D;){for(L=k[M],T={type:"tableRow",children:[]},M&&e(d),e(L).reset(T,W),_=L.length+1,r=0,x="",A="",P=!0,I=null,R=null;r<_;)if((S=L.charAt(r))!==f&&S!==c){if(""===S||S===l)if(P)e(S);else{if(S&&R){x+=S,r++;continue}!A&&!S||P||(E=A,x.length>1&&(S?(E+=x.slice(0,x.length-1),x=x.charAt(x.length-1)):(E+=x,x="")),N=e.now(),e(E)({type:"tableCell",children:U.tokenizeInline(A,N)},T)),e(x+S),x="",A=""}else if(x&&(A+=x,x=""),A+=S,S===o&&r!==_-2&&(A+=L.charAt(r+1),r++),S===a){for(I=1;L.charAt(r+1)===S;)A+=S,r++,I++;R?I>=R&&(R=0):R=I}P=!1,r++}else A?x+=S:e(S),r++;M||e(d+b)}return W}}}var i=n(20);e.exports=r;var o="\\",a="`",s="-",l="|",u=":",c=" ",d="\n",f="\t",h=1,p=2,m="left",g="center",v="right",y=null},function(e,t,n){"use strict";function r(e,t,n){for(var r,f,h,p,m,g=this,v=g.options,y=v.commonmark,b=v.gfm,w=g.blockTokenizers,E=g.interruptParagraph,T=t.indexOf(l),_=t.length;T<_;){if(-1===T){T=_;break}if(t.charAt(T+1)===l)break;if(y){for(p=0,r=T+1;r<_;){if((h=t.charAt(r))===u){p=d;break}if(h!==c)break;p++,r++}if(p>=d){T=t.indexOf(l,T+1);continue}}if(f=t.slice(T+1),s(E,w,g,[e,f,!0]))break;if(w.list.call(g,e,f,!0)&&(g.inList||y||b&&!o(i.left(f).charAt(0))))break;if(r=T,-1!==(T=t.indexOf(l,T+1))&&""===i(t.slice(r,T))){T=r;break}}return f=t.slice(0,T),""===i(f)?(e(f),null):!!n||(m=e.now(),f=a(f),e(f)({type:"paragraph",children:g.tokenizeInline(f,m)}))}var i=n(27),o=n(68),a=n(138),s=n(139);e.exports=r;var l="\n",u="\t",c=" ",d=4},function(e,t,n){"use strict";function r(e,t,n){var r,i,o=this;if("\\"===t.charAt(0)&&(r=t.charAt(1),-1!==o.escape.indexOf(r)))return!!n||(i="\n"===r?{type:"break"}:{type:"text",value:r},e("\\"+r)(i))}var i=n(686);e.exports=r,r.locator=i},function(e,t,n){"use strict";function r(e,t){return e.indexOf("\\",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,a,h,p,m,g,v,y,b,w,E,T;if(t.charAt(0)===s){for(r=this,a="",h=t.length,p=0,m="",v=!1,y="",p++,a=s;p<h&&(g=t.charAt(p),!(i(g)||g===l||g===u||":"===g&&t.charAt(p+1)===c));)m+=g,p++;if(m){if(y+=m,m="",g=t.charAt(p),y+=g,p++,g===u)v=!0;else{if(":"!==g||t.charAt(p+1)!==c)return;y+=c,p++}for(;p<h&&(g=t.charAt(p),!i(g)&&g!==l);)m+=g,p++;if(g=t.charAt(p),m&&g===l)return!!n||(y+=m,w=y,a+=y+g,b=e.now(),b.column++,b.offset++,v&&(y.slice(0,f).toLowerCase()===d?(w=w.substr(f),b.column+=f,b.offset+=f):y=d+y),E=r.inlineTokenizers,r.inlineTokenizers={text:E.text},T=r.enterLink(),w=r.tokenizeInline(w,b),r.inlineTokenizers=E,T(),e(a)({type:"link",title:null,url:o(y,{nonTerminated:!1}),children:w}))}}}var i=n(20),o=n(88),a=n(242);e.exports=r,r.locator=a,r.notInLink=!0;var s="<",l=">",u="@",c="/",d="mailto:",f=d.length},function(e,t,n){"use strict";function r(e,t,n){var r,a,g,v,y,b,w,E,T,_,k,x,S=this;if(S.options.gfm){for(r="",v=-1,E=m;++v<E;)if(b=p[v],w=t.slice(0,b.length),w.toLowerCase()===b){r=w;break}if(r){for(v=r.length,E=t.length,T="",_=0;v<E&&(g=t.charAt(v),!o(g)&&g!==d)&&("."!==g&&","!==g&&":"!==g&&";"!==g&&'"'!==g&&"'"!==g&&")"!==g&&"]"!==g||(k=t.charAt(v+1))&&!o(k))&&(g!==u&&g!==s||_++,g!==c&&g!==l||!(--_<0));)T+=g,v++;if(T){if(r+=T,a=r,b===h){if(-1===(y=T.indexOf(f))||y===E-1)return;a=a.substr(h.length)}return!!n||(x=S.enterLink(),a=S.tokenizeInline(a,e.now()),x(),e(r)({type:"link",title:null,url:i(r,{nonTerminated:!1}),children:a}))}}}}var i=n(88),o=n(20),a=n(689);e.exports=r,r.locator=a,r.notInLink=!0;var s="[",l="]",u="(",c=")",d="<",f="@",h="mailto:",p=["http://","https://",h],m=p.length},function(e,t,n){"use strict";function r(e,t){var n,r=i.length,o=-1,a=-1;if(!this.options.gfm)return-1;for(;++o<r;)-1!==(n=e.indexOf(i[o],t))&&(n<a||-1===a)&&(a=n);return a}e.exports=r;var i=["https://","http://","mailto:"]},function(e,t,n){"use strict";function r(e,t,n){var r,o,u=this,c=t.length;if(!("<"!==t.charAt(0)||c<3)&&(r=t.charAt(1),(i(r)||"?"===r||"!"===r||"/"===r)&&(o=t.match(a))))return!!n||(o=o[0],!u.inLink&&s.test(o)?u.inLink=!0:u.inLink&&l.test(o)&&(u.inLink=!1),e(o)({type:"html",value:o}))}var i=n(235),o=n(242),a=n(240).tag;e.exports=r,r.locator=o;var s=/^<a /i,l=/^<\/a>/i},function(e,t,n){"use strict";function r(e,t,n){var r,o,v,y,b,w,E,T,_,k,x,S,C,O,A,P,I,R,N,M=this,D="",L=0,j=t.charAt(0),W=M.options.pedantic,B=M.options.commonmark,F=M.options.gfm;if("!"===j&&(_=!0,D=j,j=t.charAt(++L)),j===l&&(_||!M.inLink)){for(D+=j,A="",L++,S=t.length,I=e.now(),O=0,I.column+=L,I.offset+=L;L<S;){if(j=t.charAt(L),w=j,j===p){for(o=1;t.charAt(L+1)===p;)w+=j,L++,o++;v?o>=v&&(v=0):v=o}else if(j===s)L++,w+=t.charAt(L);else if(v&&!F||j!==l){if((!v||F)&&j===u){if(!O){if(!W)for(;L<S&&(j=t.charAt(L+1),i(j));)w+=j,L++;if(t.charAt(L+1)!==c)return;w+=c,r=!0,L++;break}O--}}else O++;A+=w,w="",L++}if(r){for(k=A,D+=A+w,L++;L<S&&(j=t.charAt(L),i(j));)D+=j,L++;if(j=t.charAt(L),T=B?g:m,A="",y=D,j===f){for(L++,y+=f;L<S&&(j=t.charAt(L))!==h;){if(B&&"\n"===j)return;A+=j,L++}if(t.charAt(L)!==h)return;D+=f+A+h,P=A,L++}else{for(j=null,w="";L<S&&(j=t.charAt(L),!w||!a.call(T,j));){if(i(j)){if(!W)break;w+=j}else{if(j===c)O++;else if(j===d){if(0===O)break;O--}A+=w,w="",j===s&&(A+=s,j=t.charAt(++L)),A+=j}L++}D+=A,P=A,L=D.length}for(A="";L<S&&(j=t.charAt(L),i(j));)A+=j,L++;if(j=t.charAt(L),D+=A,A&&a.call(T,j))if(L++,D+=j,A="",x=T[j],b=D,B){for(;L<S&&(j=t.charAt(L))!==x;)j===s&&(A+=s,j=t.charAt(++L)),L++,A+=j;if((j=t.charAt(L))!==x)return;for(C=A,D+=A+j,L++;L<S&&(j=t.charAt(L),i(j));)D+=j,L++}else for(w="";L<S;){if((j=t.charAt(L))===x)E&&(A+=x+w,w=""),E=!0;else if(E){if(j===d){D+=A+x+w,C=A;break}i(j)?w+=j:(A+=x+w+j,w="",E=!1)}else A+=j;L++}if(t.charAt(L)===d)return!!n||(D+=d,P=M.decode.raw(M.unescape(P),e(y).test().end,{nonTerminated:!1}),C&&(b=e(b).test().end,C=M.decode.raw(M.unescape(C),b)),N={type:_?"image":"link",title:C||null,url:P},_?N.alt=M.decode.raw(M.unescape(k),I)||null:(R=M.enterLink(),N.children=M.tokenizeInline(k,I),R()),e(D)(N))}}}var i=n(20),o=n(243);e.exports=r,r.locator=o;var a={}.hasOwnProperty,s="\\",l="[",u="]",c="(",d=")",f="<",h=">",p="`",m={};m['"']='"',m["'"]="'";var g={};g['"']='"',g["'"]="'",g[c]=d},function(e,t,n){"use strict";function r(e,t,n){var r,o,v,y,b,w,E,T,_=this,k=t.charAt(0),x=0,S=t.length,C="",O="",A=s,P=c;if("!"===k&&(A=l,O=k,k=t.charAt(++x)),k===m){if(x++,O+=k,w="",_.options.footnotes&&t.charAt(x)===h){if(A===l)return;O+=h,x++,A=u}for(T=0;x<S;){if((k=t.charAt(x))===m)E=!0,T++;else if(k===g){if(!T)break;T--}k===p&&(w+=p,k=t.charAt(++x)),w+=k,x++}if(C=w,r=w,(k=t.charAt(x))===g){for(x++,C+=k,w="";x<S&&(k=t.charAt(x),i(k));)w+=k,x++;if(k=t.charAt(x),A!==u&&k===m){for(o="",w+=k,x++;x<S&&(k=t.charAt(x))!==m&&k!==g;)k===p&&(o+=p,k=t.charAt(++x)),o+=k,x++;k=t.charAt(x),k===g?(P=o?f:d,w+=o+k,x++):o="",C+=w,w=""}else{if(!r)return;o=r}if(P===f||!E)return C=O+C,A===s&&_.inLink?null:!!n||(A===u&&-1!==r.indexOf(" ")?e(C)({type:"footnote",children:this.tokenizeInline(r,e.now())}):(v=e.now(),v.column+=O.length,v.offset+=O.length,o=P===f?o:r,y={type:A+"Reference",identifier:a(o)},A!==s&&A!==l||(y.referenceType=P),A===s?(b=_.enterLink(),y.children=_.tokenizeInline(r,v),b()):A===l&&(y.alt=_.decode.raw(_.unescape(r),v)||null),e(C)(y)))}}}var i=n(20),o=n(243),a=n(140);e.exports=r,r.locator=o;var s="link",l="image",u="footnote",c="shortcut",d="collapsed",f="full",h="^",p="\\",m="[",g="]"},function(e,t,n){"use strict";function r(e,t,n){var r,a,u,c,d,f,h,p=this,m=0,g=t.charAt(m);if((g===s||g===l)&&t.charAt(++m)===g&&(a=p.options.pedantic,u=g,d=u+u,f=t.length,m++,c="",g="",!a||!o(t.charAt(m))))for(;m<f;){if(h=g,(g=t.charAt(m))===u&&t.charAt(m+1)===u&&(!a||!o(h))&&(g=t.charAt(m+2))!==u){if(!i(c))return;return!!n||(r=e.now(),r.column+=2,r.offset+=2,e(d+c+d)({type:"strong",children:p.tokenizeInline(c,r)}))}a||"\\"!==g||(c+=g,g=t.charAt(++m)),c+=g,m++}}var i=n(27),o=n(20),a=n(694);e.exports=r,r.locator=a;var s="*",l="_"},function(e,t,n){"use strict";function r(e,t){var n=e.indexOf("**",t),r=e.indexOf("__",t);return-1===r?n:-1===n?r:r<n?r:n}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,s,c,d,f,h,p,m=this,g=0,v=t.charAt(g);if((v===l||v===u)&&(s=m.options.pedantic,f=v,c=v,h=t.length,g++,d="",v="",!s||!a(t.charAt(g))))for(;g<h;){if(p=v,(v=t.charAt(g))===c&&(!s||!a(p))){if((v=t.charAt(++g))!==c){if(!i(d)||p===c)return;if(!s&&c===u&&o(v)){d+=c;continue}return!!n||(r=e.now(),r.column++,r.offset++,e(f+d+c)({type:"emphasis",children:m.tokenizeInline(d,r)}))}d+=c}s||"\\"!==v||(d+=v,v=t.charAt(++g)),d+=v,g++}}var i=n(27),o=n(696),a=n(20),s=n(697);e.exports=r,r.locator=s;var l="*",u="_"},function(e,t,n){"use strict";function r(e){return o.test("number"===typeof e?i(e):e.charAt(0))}e.exports=r;var i=String.fromCharCode,o=/\w/},function(e,t,n){"use strict";function r(e,t){var n=e.indexOf("*",t),r=e.indexOf("_",t);return-1===r?n:-1===n?r:r<n?r:n}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,o,l,u=this,c="",d="",f="",h="";if(u.options.gfm&&t.charAt(0)===a&&t.charAt(1)===a&&!i(t.charAt(2)))for(r=1,o=t.length,l=e.now(),l.column+=2,l.offset+=2;++r<o;){if((c=t.charAt(r))===a&&d===a&&(!f||!i(f)))return!!n||e(s+h+s)({type:"delete",children:u.tokenizeInline(h,l)});h+=d,f=d,d=c}}var i=n(20),o=n(699);e.exports=r,r.locator=o;var a="~",s="~~"},function(e,t,n){"use strict";function r(e,t){return e.indexOf("~~",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){for(var r,o,s,l,u,c,d,f,h=t.length,p=0,m="",g="";p<h&&t.charAt(p)===a;)m+=a,p++;if(m){for(u=m,l=p,m="",f=t.charAt(p),s=0;p<h;){if(c=f,f=t.charAt(p+1),c===a?(s++,g+=c):(s=0,m+=c),s&&f!==a){if(s===l){u+=m+g,d=!0;break}m+=g,g=""}p++}if(!d){if(l%2!==0)return;m=""}if(n)return!0;for(r="",o="",h=m.length,p=-1;++p<h;)c=m.charAt(p),i(c)?o+=c:(o&&(r&&(r+=o),o=""),r+=c);return e(u)({type:"inlineCode",value:r})}}var i=n(20),o=n(701);e.exports=r,r.locator=o;var a="`"},function(e,t,n){"use strict";function r(e,t){return e.indexOf("`",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){for(var r,i=t.length,a=-1,s="";++a<i;){if("\n"===(r=t.charAt(a))){if(a<o)return;return!!n||(s+=r,e(s)({type:"break"}))}if(" "!==r)return;s+=r}}var i=n(703);e.exports=r,r.locator=i;var o=2},function(e,t,n){"use strict";function r(e,t){for(var n=e.indexOf("\n",t);n>t&&" "===e.charAt(n-1);)n--;return n}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,i,o,a,s,l,u,c,d,f,h=this;if(n)return!0;for(r=h.inlineMethods,a=r.length,i=h.inlineTokenizers,o=-1,d=t.length;++o<a;)"text"!==(c=r[o])&&i[c]&&(u=i[c].locator,u||e.file.fail("Missing locator: `"+c+"`"),-1!==(l=u.call(h,t,1))&&l<d&&(d=l));s=t.slice(0,d),f=e.now(),h.decode(s,f,function(t,n,r){e(r||t)({type:"text",value:t})})}e.exports=r},function(e,t,n){"use strict";function r(e){var t=i(a);t.prototype.options=o(t.prototype.options,this.data("settings"),e),this.Compiler=t}var i=n(230),o=n(24),a=n(706);e.exports=r,r.Compiler=a},function(e,t,n){"use strict";function r(e,t){this.inLink=!1,this.inTable=!1,this.tree=e,this.file=t,this.options=i(this.options),this.setOptions({})}var i=n(24),o=n(231);e.exports=r;var a=r.prototype;a.enterLink=o("inLink",!1),a.enterTable=o("inTable",!1),a.enterLinkReference=n(707),a.options=n(245),a.setOptions=n(708),a.compile=n(714),a.visit=n(718),a.all=n(719),a.block=n(720),a.visitOrderedItems=n(721),a.visitUnorderedItems=n(722),a.visitors={root:n(723),text:n(724),heading:n(725),paragraph:n(726),blockquote:n(727),list:n(728),listItem:n(729),inlineCode:n(730),code:n(731),html:n(732),thematicBreak:n(733),strong:n(734),emphasis:n(735),break:n(736),delete:n(737),link:n(738),linkReference:n(740),imageReference:n(742),definition:n(743),image:n(744),footnote:n(745),footnoteReference:n(746),footnoteDefinition:n(747),table:n(748),tableCell:n(750)}},function(e,t,n){"use strict";function r(e,t){var n=e.encode,r=e.escape,o=e.enterLink();return"shortcut"!==t.referenceType&&"collapsed"!==t.referenceType?o:(e.escape=i,e.encode=i,function(){e.encode=n,e.escape=r,o()})}var i=n(244);e.exports=r},function(e,t,n){"use strict";function r(e){var t,n,r=this,o=r.options;if(null==e)e={};else{if("object"!==typeof e)throw new Error("Invalid value `"+e+"` for setting `options`");e=c(e)}for(n in f)g[typeof f[n]](e,n,o[n],m[n]);return t=e.ruleRepetition,t&&t<3&&i(t,"options.ruleRepetition"),r.encode=u(String(e.entities)),r.escape=h(e),r.options=e,r}function i(e,t){throw new Error("Invalid value `"+e+"` for setting `"+t+"`")}function o(e,t,n){var r=e[t];null==r&&(r=n),"boolean"!==typeof r&&i(r,"options."+t),e[t]=r}function a(e,t,n){var r=e[t];null==r&&(r=n),isNaN(r)&&i(r,"options."+t),e[t]=r}function s(e,t,n,r){var o=e[t];null==o&&(o=n),o=String(o),o in r||i(o,"options."+t),e[t]=o}function l(e,t,n){var r=e[t];null==r&&(r=n),"function"!==typeof r&&i(r,"options."+t),e[t]=r}function u(e){function t(e){return d(e,n)}var n={};return"false"===e?p:("true"===e&&(n.useNamedReferences=!0),"escape"===e&&(n.escapeOnly=!0,n.useNamedReferences=!0),t)}var c=n(24),d=n(709),f=n(245),h=n(712),p=n(244);e.exports=r;var m={entities:{true:!0,false:!0,numbers:!0,escape:!0},bullet:{"*":!0,"-":!0,"+":!0},rule:{"-":!0,_:!0,"*":!0},listItemIndent:{tab:!0,mixed:!0,1:!0},emphasis:{_:!0,"*":!0},strong:{_:!0,"*":!0},fence:{"`":!0,"~":!0}},g={boolean:o,string:s,number:a,function:l}},function(e,t,n){"use strict";function r(e,t){function n(e,t,n){return s(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charAt(t+2),d)}function r(e,t,n){return o(e,n.charAt(t+1),i)}var i=t||{},a=i.subset,u=a?l(a):v,c=i.escapeOnly,d=i.omitOptionalSemicolons;return e=e.replace(u,function(e,t,n){return o(e,n.charAt(t+1),i)}),a||c?e:e.replace(y,n).replace(b,r)}function i(e){return r(e,{escapeOnly:!0,useNamedReferences:!0})}function o(e,t,n){var r,i,o=n.useShortestReferences,l=n.omitOptionalSemicolons;return(o||n.useNamedReferences)&&p.call(g,e)&&(r=a(g[e],t,l,n.attribute)),!o&&r||(i=s(e.charCodeAt(0),t,l)),r&&(!o||r.length<i.length)?r:i}function a(e,t,n,r){var i="&"+e;return n&&p.call(c,e)&&-1===h.indexOf(e)&&(!r||t&&"="!==t&&!f(t))?i:i+";"}function s(e,t,n){var r="&#x"+e.toString(16).toUpperCase();return n&&t&&!d(t)?r:r+";"}function l(e){return new RegExp("["+e.join("")+"]","g")}var u=n(710),c=n(232),d=n(233),f=n(234),h=n(711);e.exports=r,r.escape=i;var p={}.hasOwnProperty,m=['"',"'","<",">","&","`"],g=function(){var e,t={};for(e in u)t[u[e]]=e;return t}(),v=l(m),y=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g},function(e,t){e.exports={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203e",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02c6",tilde:"\u02dc",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203a",euro:"\u20ac"}},function(e,t){e.exports=["cent","copy","divide","gt","lt","not","para","times"]},function(e,t,n){"use strict";function r(e){function t(t,n,r){function p(e){return-1===R.indexOf(e)?m[e]:f+e}var g,v,y,b,w,E,T=this,_=e.gfm,k=e.commonmark,x=e.pedantic,S=k?[".",")"]:["."],C=r&&r.children,O=C&&C.indexOf(n),A=C&&C[O-1],P=C&&C[O+1],I=t.length,R=c(e),N=-1,M=[],D=M;for(g=A?o(A)&&/\n\s*$/.test(A.value):!r||"root"===r.type||"paragraph"===r.type;++N<I;){if(v=t.charAt(N),E=!1,"\n"===v)g=!0;else if(v===f||"`"===v||"*"===v||"["===v||"<"===v||"&"===v&&d(t.slice(N))>0||"]"===v&&T.inLink||_&&"~"===v&&"~"===t.charAt(N+1)||_&&"|"===v&&(T.inTable||i(t,N))||"_"===v&&N>0&&N<I-1&&(x||!l(t.charAt(N-1))||!l(t.charAt(N+1)))||_&&!T.inLink&&":"===v&&a(M.join("")))E=!0;else if(g)if(">"===v||"#"===v||-1!==h.indexOf(v))E=!0;else if(s(v)){for(w=N+1;w<I&&s(t.charAt(w));)w++;-1!==S.indexOf(t.charAt(w))&&((P=t.charAt(w+1))&&" "!==P&&"\t"!==P&&"\n"!==P||(M.push(t.slice(N,w)),N=w,v=t.charAt(N),E=!0))}g&&!u(v)&&(g=!1),M.push(E?p(v):v)}if(C&&o(n)){if(A&&"shortcut"===A.referenceType){for(N=-1,I=D.length;++N<I;)if(" "!==(v=D[N])&&"\t"!==v){"("!==v&&":"!==v||(D[N]=p(v));break}o(P)&&N===I&&"("===P.value.charAt(0)&&D.push(f)}_&&!T.inLink&&o(A)&&":"===t.charAt(0)&&a(A.value.slice(-6))&&(D[0]=p(":")),o(P)&&"&"===t.charAt(I-1)&&0!==d("&"+P.value)&&(D[D.length-1]=p("&")),_&&o(P)&&"~"===t.charAt(I-1)&&"~"===P.value.charAt(0)&&D.splice(D.length-1,0,f),y=o(A)&&l(A.value.slice(-1)),b=o(P)&&l(P.value.charAt(0)),1===I?"_"!==t||!x&&y&&b||D.unshift(f):("_"!==t.charAt(0)||!x&&y&&l(t.charAt(1))||D.unshift(f),"_"!==t.charAt(I-1)||!x&&b&&l(t.charAt(I-2))||D.splice(D.length-1,0,f))}return D.join("")}return t}function i(e,t){var n=e.lastIndexOf("\n",t),r=e.indexOf("\n",t);for(n=-1===n?-1:n,r=-1===r?e.length:r;++n<r;)if(-1===p.indexOf(e.charAt(n)))return!1;return!0}function o(e){return e&&"text"===e.type}function a(e){var t=e.slice(-6).toLowerCase();return"mailto"===t||"https"===t.slice(-5)||"http"===t.slice(-4)}var s=n(68),l=n(713),u=n(20),c=n(236),d=n(246);e.exports=r;var f="\\",h=["*","-","+"],p=[":","-"," ","|"],m={"<":"&lt;",":":"&#x3A;","&":"&amp;","|":"&#x7C;","~":"&#x7E;"}},function(e,t,n){"use strict";e.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected a string");return!/[^0-9a-z\xDF-\xFF]/.test(e.toLowerCase())}},function(e,t,n){"use strict";function r(){return this.visit(i(this.tree,this.options.commonmark))}var i=n(715);e.exports=r},function(e,t,n){"use strict";function r(e,t){function n(e){e.children&&s(e)}function r(e,n,r){var o=r.children,a=n&&o[n-1];if(a&&e.type===a.type&&i(a,t)&&i(e,t))return e.value&&(a.value+=e.value),e.children&&(a.children=a.children.concat(e.children)),o.splice(n,1),a.position&&e.position&&(a.position.end=e.position.end),n}var s=a(r);return o(e,n),e}function i(e,t){var n,r;return"text"===e.type?!e.position||(n=e.position.start,r=e.position.end,n.line!==r.line||r.column-n.column===e.value.length):t&&"blockquote"===e.type}var o=n(69),a=n(716);e.exports=r},function(e,t,n){"use strict";function r(e){return i(o(e))}function i(e){function t(t){var n=t&&t.children;if(!n)throw new Error("Missing children in `parent` for `modifier`");return a(n,e,t)}return t}function o(e){function t(t,n){return e(t,n,this)}return t}var a=n(717);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,o=-1;if(!e)throw new Error("Iterate requires that |this| not be "+e);if(!i.call(e,"length"))throw new Error("Iterate requires that |this| has a `length`");if("function"!==typeof t)throw new Error("`callback` must be a function");for(;++o<e.length;)o in e&&"number"===typeof(r=t.call(n,e[o],o,e))&&(r<0&&(o=0),o=r-1)}e.exports=r;var i={}.hasOwnProperty},function(e,t,n){"use strict";function r(e,t){var n=this,r=n.visitors;return"function"!==typeof r[e.type]&&n.file.fail(new Error("Missing compiler for node of type `"+e.type+"`: `"+e+"`"),e),r[e.type].call(n,e,t)}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t=this,n=e.children,r=n.length,i=[],o=-1;++o<r;)i[o]=t.visit(n[o],e);return i}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n,r=this,i=[],o=e.children,a=o.length,s=-1;++s<a;)t=o[s],n&&(t.type===n.type&&"list"===n.type?i.push(n.ordered===t.ordered?"\n\n\n":"\n\n"):"list"!==n.type||"code"!==t.type||t.lang?i.push("\n\n"):i.push("\n\n\n")),i.push(r.visit(t,e)),n=t;return i.join("")}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n=this,r=n.visitors.listItem,i=n.options.incrementListMarker,o=[],a=e.start,s=e.children,l=s.length,u=-1;++u<l;)t=(i?a+u:a)+".",o[u]=r.call(n,s[u],e,u,t);return o.join("\n")}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t=this,n=t.options.bullet,r=t.visitors.listItem,i=e.children,o=i.length,a=-1,s=[];++a<o;)s[a]=r.call(t,i[a],e,a,n);return s.join("\n")}e.exports=r},function(e,t,n){"use strict";function r(e){return this.block(e)+"\n"}e.exports=r},function(e,t,n){"use strict";function r(e,t){return this.encode(this.escape(e.value,e,t),e)}e.exports=r},function(e,t,n){"use strict";function r(e){var t,n=this,r=e.depth,o=n.options.setext,a=n.options.closeAtx,s=n.all(e).join("");return o&&r<3?s+"\n"+i(1===r?"=":"-",s.length):(t=i("#",e.depth))+" "+s+(a?" "+t:"")}var i=n(22);e.exports=r},function(e,t,n){"use strict";function r(e){return this.all(e).join("")}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n=this.block(e).split("\n"),r=[],i=n.length,o=-1;++o<i;)t=n[o],r[o]=(t?" ":"")+t;return">"+r.join("\n>")}e.exports=r},function(e,t,n){"use strict";function r(e){return this[i[e.ordered]](e)}e.exports=r;var i={true:"visitOrderedItems",false:"visitUnorderedItems"}},function(e,t,n){"use strict";function r(e,t,n,r){for(var s,l,u,c=this,d=c.options.listItemIndent,f=e.loose,h=e.children,p=h.length,m=[],g=-1;++g<p;)m[g]=c.visit(h[g],e);return s=a[e.checked]+m.join(f?"\n\n":"\n"),"1"===d||"mixed"===d&&-1===s.indexOf("\n")?(l=r.length+1,u=" "):(l=4*Math.ceil((r.length+1)/4),u=i(" ",l-r.length)),s=r+u+o(s,l/4).slice(l),f&&t.children.length-1!==n&&(s+="\n"),s}var i=n(22),o=n(247);e.exports=r;var a={undefined:"",null:"",true:"[x] ",false:"[ ] "}},function(e,t,n){"use strict";function r(e){var t=e.value,n=o("`",i(t,"`")+1),r=n,a=n;return"`"===t.charAt(0)&&(r+=" "),"`"===t.charAt(t.length-1)&&(a=" "+a),r+t+a}var i=n(248),o=n(22);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n,r=this,s=e.value,l=r.options,u=l.fence,c=r.encode(e.lang||"",e);return c||l.fences||!s?(n=o(u,Math.max(i(s,u)+1,3)))+c+"\n"+s+"\n"+n:(t&&"listItem"===t.type&&"tab"!==l.listItemIndent&&l.pedantic&&r.file.fail("Cannot indent code properly. See http://git.io/vgFvT",e.position),a(s,1))}var i=n(248),o=n(22),a=n(247);e.exports=r},function(e,t,n){"use strict";function r(e){return e.value}e.exports=r},function(e,t,n){"use strict";function r(){var e=this.options,t=i(e.rule,e.ruleRepetition);return e.ruleSpaces?t.split("").join(" "):t}var i=n(22);e.exports=r},function(e,t,n){"use strict";function r(e){var t=i(this.options.strong,2);return t+this.all(e).join("")+t}var i=n(22);e.exports=r},function(e,t,n){"use strict";function r(e){var t=this.options.emphasis;return t+this.all(e).join("")+t}e.exports=r},function(e,t,n){"use strict";function r(){return i[this.options.commonmark]}e.exports=r;var i={true:"\\\n",false:"  \n"}},function(e,t,n){"use strict";function r(e){return"~~"+this.all(e).join("")+"~~"}e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=t.encode(e.url||"",e),r=t.enterLink(),s=t.encode(t.escape(e.url||"",e)),l=t.all(e).join("");return r(),null!=e.title||!a.test(n)||s!==l&&s!=="mailto:"+l?(n=i(n),e.title&&(n+=" "+o(t.encode(t.escape(e.title,e),e))),"["+l+"]("+n+")"):i(t.encode(e.url),!0)}var i=n(141),o=n(142);e.exports=r;var a=/^[a-z][a-z+.-]+:\/?/i},function(e,t,n){"use strict";function r(e,t){var n,r=0;if(e=String(e),"string"!==typeof t||1!==t.length)throw new Error("Expected character");for(n=e.indexOf(t);-1!==n;)r++,n=e.indexOf(t,n+1);return r}e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=e.referenceType,r=t.enterLinkReference(t,e),a=t.all(e).join("");return r(),"shortcut"!==n&&"collapsed"!==n||(a=i(a,e.identifier)),"["+a+"]"+o(e)}var i=n(741),o=n(249);e.exports=r},function(e,t,n){"use strict";function r(e,t){for(var n,r=e.length,a=t.length,s=[],l=0,u=0;u<r;){for(n=u;u<r&&!o.test(e.charAt(u));)u+=1;for(s.push(e.slice(n,u));l<a&&!o.test(t.charAt(l));)l+=1;for(n=l;l<a&&o.test(t.charAt(l));)"&"===t.charAt(l)&&(l+=i(t.slice(l))),l+=1;for(s.push(t.slice(n,l));u<r&&o.test(e.charAt(u));)u+=1}return s.join("")}var i=n(246);e.exports=r;var o=/[-!"#$%&'()*+,.\/:;<=>?@[\\\]^`{|}~_]/},function(e,t,n){"use strict";function r(e){return"!["+(this.encode(e.alt,e)||"")+"]"+i(e)}var i=n(249);e.exports=r},function(e,t,n){"use strict";function r(e){var t=i(e.url);return e.title&&(t+=" "+o(e.title)),"["+e.identifier+"]: "+t}var i=n(141),o=n(142);e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=i(t.encode(e.url||"",e)),r=t.enterLink(),a=t.encode(t.escape(e.alt||"",e));return r(),e.title&&(n+=" "+o(t.encode(e.title,e))),"!["+a+"]("+n+")"}var i=n(141),o=n(142);e.exports=r},function(e,t,n){"use strict";function r(e){return"[^"+this.all(e).join("")+"]"}e.exports=r},function(e,t,n){"use strict";function r(e){return"[^"+e.identifier+"]"}e.exports=r},function(e,t,n){"use strict";function r(e){return"[^"+e.identifier.toLowerCase()+"]: "+this.all(e).join("\n\n"+i(" ",4))}var i=n(22);e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n,r=this,o=r.options,a=o.looseTable,s=o.spacedTable,l=o.paddedTable,u=o.stringLength,c=e.children,d=c.length,f=r.enterTable(),h=[];d--;)h[d]=r.all(c[d]);return f(),a?(t="",n=""):s?(t="| ",n=" |"):(t="|",n="|"),i(h,{align:e.align,pad:l,start:t,end:n,stringLength:u,delimiter:s?" | ":"|"})}var i=n(749);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n,r,u,T,_,k,x,S,C,O,A,P,I=t||{},R=I.delimiter,N=I.start,M=I.end,D=I.align,L=I.stringLength||o,j=0,W=-1,B=e.length,F=[];for(D=D?D.concat():[],null!==R&&void 0!==R||(R=w+b+w),null!==N&&void 0!==N||(N=b+w),null!==M&&void 0!==M||(M=w+b);++W<B;)for(T=e[W],k=-1,T.length>j&&(j=T.length);++k<j;)x=T[k]?s(T[k]):null,F[k]||(F[k]=g),x>F[k]&&(F[k]=x);for("string"===typeof D&&(D=a(j,D).split("")),k=-1;++k<j;)n=D[k],"string"===typeof n&&(n=n.charAt(0).toLowerCase()),-1===m.indexOf(n)&&(n=p),D[k]=n;for(W=-1,u=[];++W<B;){for(T=e[W],k=-1,_=[];++k<j;)C=T[k],C=i(C),D[k]===h?(x=s(C),S=F[k]+(l.test(C)?0:1)-(L(C)-x),_[k]=C+a(S-1)):_[k]=C;u[W]=_}for(F=[],W=-1;++W<B;)for(_=u[W],k=-1;++k<j;)C=_[k],F[k]||(F[k]=g),(S=L(C))>F[k]&&(F[k]=S);for(W=-1;++W<B;){if(_=u[W],k=-1,!1!==I.pad)for(;++k<j;)C=_[k],x=F[k]-(L(C)||0),O=a(x),D[k]===d||D[k]===h?C=O+C:D[k]===f?(x/=2,x%1===0?(A=x,P=x):(A=x+.5,P=x-.5),C=a(A)+C+a(P)):C+=O,_[k]=C;u[W]=_.join(R)}if(!1!==I.rule){for(k=-1,r=[];++k<j;)!1===I.pad?(C=e[0][k],O=L(i(C)),O=O>g?O:g):O=F[k],n=D[k],C=n===d||n===p?y:v,C+=a(O-2,y),C+=n!==c&&n!==p?v:y,r[k]=C;u.splice(1,0,r.join(R))}return N+u.join(M+E+N)+M}function i(e){return null===e||void 0===e?"":String(e)}function o(e){return String(e).length}function a(e,t){return new Array(e+1).join(t||w)}function s(e){var t=u.exec(e);return t?t.index+1:e.length}e.exports=r;var l=/\./,u=/\.[^.]*$/,c="l",d="r",f="c",h=".",p="",m=[c,d,f,h,p],g=3,v=":",y="-",b="|",w=" ",E="\n"},function(e,t,n){"use strict";function r(e){return this.all(e).join("")}e.exports=r},function(e,t,n){"use strict";e.exports=n(752)},function(e,t,n){"use strict";function r(e,t){function n(e,t){var n,r;return e&&"data"in e&&(n=e.data,"element"===t.type&&n.hName&&(t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties=o(t.properties,n.hProperties)),t.children&&n.hChildren&&(t.children=n.hChildren)),r=e&&e.position?e:{position:e},u(r)||(t.position={start:l.start(r),end:l.end(r)}),t}function r(e,t,r,i){return(void 0===i||null===i)&&"object"===typeof r&&"length"in r&&(i=r,r={}),n(e,{type:"element",tagName:t,properties:r||{},children:i||[]})}function i(e){r.footnotes.push(e)}var a=t||{},d=a.allowDangerousHTML;return r.dangerous=d,r.definition=c(e,a),r.footnotes=[],r.augment=n,r.handlers=o(h,a.handlers||{}),s(e,"footnoteDefinition",i),r}function i(e,t){var n=r(e,t),i=d(n,e),o=f(n);return i&&i.children&&o&&(i.children=i.children.concat(a("text","\n"),o)),i}e.exports=i;var o=n(24),a=n(23),s=n(69),l=n(250),u=n(753),c=n(754),d=n(251),f=n(755),h=n(756)},function(e,t,n){"use strict";function r(e){var t=i(i(e).position),n=i(t.start),r=i(t.end);return!n.line||!n.column||!r.line||!r.column}function i(e){return e&&"object"===typeof e?e:{}}e.exports=r},function(e,t,n){"use strict";function r(e,t){return o(i(e,t))}function i(e,t){function n(e){var t=a(e.identifier);l.call(i,t)||(i[t]=e)}function r(e){i[a(e.identifier)]=e}var i={};if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return s(e,"definition",t&&t.commonmark?n:r),i}function o(e){function t(t){var n=t&&a(t);return n&&l.call(e,n)?e[n]:null}return t}function a(e){return e.toUpperCase()}var s=n(69);e.exports=r;var l={}.hasOwnProperty},function(e,t,n){"use strict";function r(e){var t,n=e.footnotes,r=n.length,s=-1,l=[];if(!r)return null;for(;++s<r;)t=n[s],l[s]={type:"listItem",data:{hProperties:{id:"fn-"+t.identifier}},children:t.children.concat({type:"link",url:"#fnref-"+t.identifier,data:{hProperties:{className:["footnote-backref"]}},children:[{type:"text",value:"\u21a9"}]}),position:t.position};return e(null,"div",{className:["footnotes"]},a([i(e),o(e,{type:"list",ordered:!0,children:l})],!0))}e.exports=r;var i=n(252),o=n(253),a=n(57)},function(e,t,n){"use strict";function r(){return null}e.exports={blockquote:n(757),break:n(758),code:n(759),delete:n(761),emphasis:n(762),footnoteReference:n(254),footnote:n(763),heading:n(764),html:n(765),imageReference:n(766),image:n(767),inlineCode:n(768),linkReference:n(769),link:n(770),listItem:n(771),list:n(253),paragraph:n(772),root:n(773),strong:n(774),table:n(775),text:n(776),thematicBreak:n(252),toml:r,yaml:r,definition:r,footnoteDefinition:r}},function(e,t,n){"use strict";function r(e,t){return e(t,"blockquote",i(o(e,t),!0))}e.exports=r;var i=n(57),o=n(17)},function(e,t,n){"use strict";function r(e,t){return[e(t,"br"),i("text","\n")]}e.exports=r;var i=n(23)},function(e,t,n){"use strict";function r(e,t){var n=t.value?i(t.value+"\n"):"",r=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),a={};return r&&(a.className=["language-"+r]),e(t.position,"pre",[e(t,"code",a,[o("text",n)])])}e.exports=r;var i=n(760),o=n(23)},function(e,t,n){"use strict";function r(e,t){var n,r,l="string"===typeof e,u=l&&e.length,c=0,d=-1,f=-1,h=t||4,p=[];if(!l)throw new Error("detab expected string");for(;++d<u;)n=e.charCodeAt(d),n===o?(r=h-(f+1)%h,f+=r,p.push(e.slice(c,d)+i(" ",r)),c=d+1):n===a||n===s?f=-1:f++;return p.push(e.slice(c)),p.join("")}e.exports=r;var i=n(22),o=9,a=10,s=13},function(e,t,n){"use strict";function r(e,t){return e(t,"del",i(e,t))}e.exports=r;var i=n(17)},function(e,t,n){"use strict";function r(e,t){return e(t,"em",i(e,t))}e.exports=r;var i=n(17)},function(e,t,n){"use strict";function r(e,t){for(var n=[],r=1,o=e.footnotes,a=o.length,s=-1;++s<a;)n[s]=o[s].identifier;for(;-1!==n.indexOf(String(r));)r++;return r=String(r),o.push({type:"footnoteDefinition",identifier:r,children:[{type:"paragraph",children:t.children}],position:t.position}),i(e,{type:"footnoteReference",identifier:r,position:t.position})}e.exports=r;var i=n(254)},function(e,t,n){"use strict";function r(e,t){return e(t,"h"+t.depth,i(e,t))}e.exports=r;var i=n(17)},function(e,t,n){"use strict";function r(e,t){return e.dangerous?e.augment(t,i("raw",t.value)):null}e.exports=r;var i=n(23)},function(e,t,n){"use strict";function r(e,t){var n=e.definition(t.identifier),r={src:i(n&&n.url||""),alt:t.alt};return n&&null!==n.title&&void 0!==n.title&&(r.title=n.title),o(e,t,n)||e(t,"img",r)}e.exports=r;var i=n(90),o=n(255)},function(e,t,n){"use strict";function r(e,t){var n={src:i(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"img",n)}var i=n(90);e.exports=r},function(e,t,n){"use strict";function r(e,t){return e(t,"code",[o("text",i(t.value))])}e.exports=r;var i=n(241),o=n(23)},function(e,t,n){"use strict";function r(e,t){var n=e.definition(t.identifier),r={href:i(n&&n.url||"")};return n&&null!==n.title&&void 0!==n.title&&(r.title=n.title),o(e,t,n)||e(t,"a",r,a(e,t))}e.exports=r;var i=n(90),o=n(255),a=n(17)},function(e,t,n){"use strict";function r(e,t){var n={href:i(t.url)};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"a",n,o(e,t))}var i=n(90),o=n(17);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,s,l=t.children,u=l[0],c={},d=!1;return n&&n.loose||1!==l.length||"paragraph"!==u.type||(d=!0),r=a(e,d?u:t),"boolean"===typeof t.checked&&(d||u&&"paragraph"===u.type||r.unshift(e(null,"p",[])),s=d?r:r[0].children,0!==s.length&&s.unshift(i("text"," ")),s.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),c.className=["task-list-item"]),d||0===r.length||(r=o(r,!0)),e(t,"li",c,r)}e.exports=r;var i=n(23),o=n(57),a=n(17)},function(e,t,n){"use strict";function r(e,t){return e(t,"p",i(e,t))}e.exports=r;var i=n(17)},function(e,t,n){"use strict";function r(e,t){return e.augment(t,i("root",o(a(e,t))))}e.exports=r;var i=n(23),o=n(57),a=n(17)},function(e,t,n){"use strict";function r(e,t){return e(t,"strong",i(e,t))}e.exports=r;var i=n(17)},function(e,t,n){"use strict";function r(e,t){for(var n,r,s,l,u,c=t.children,d=c.length,f=t.align,h=f.length,p=[];d--;){for(r=c[d].children,l=0===d?"th":"td",n=h,s=[];n--;)u=r[n],s[n]=e(u,l,{align:f[n]},u?a(e,u):[]);p[d]=e(c[d],"tr",o(s,!0))}return e(t,"table",o([e(p[0].position,"thead",o([p[0]],!0)),e({start:i.start(p[1]),end:i.end(p[p.length-1])},"tbody",o(p.slice(1),!0))],!0))}e.exports=r;var i=n(250),o=n(57),a=n(17)},function(e,t,n){"use strict";function r(e,t){return e.augment(t,i("text",o(t.value)))}e.exports=r;var i=n(23),o=n(777)},function(e,t,n){"use strict";function r(e){return String(e).replace(i,o)}e.exports=r;var i=/[ \t]*\n+[ \t]*/g,o="\n"},function(e,t,n){"use strict";e.exports=n(779)},function(e,t,n){"use strict";function r(e,t){var n,r={type:"root",children:[]};return e&&"object"===typeof e&&e.type?(n=i(v(y,t||{}),e,[]),n?"length"in n?1===n.length?n[0]:(r.children=n,r):n:r):r}function i(e,t,n){var r,i,o,a,s=t&&t.type,l={type:t.type},u=!0;if(b.call(w,s))if(r=w[s],"function"===typeof r&&(r=r(e,t)),r){i=v(r,w["*"]);for(a in i)o=i[a](e,t[a],t,n),!1===o?(u=!1,l[a]=t[a]):null!==o&&void 0!==o&&(l[a]=o)}else u=!1;else u=!1;return u?l:l.children&&0!==l.children.length&&-1===e.strip.indexOf(l.tagName)?l.children:null}function o(e,t,n,r){var o,a=t||[],s=a.length||0,l=[],u=-1;for(r=r.concat(n.tagName);++u<s;)(o=i(e,a[u],r))&&("length"in o?l=l.concat(o):l.push(o));return l}function a(e,t,n,r){var i,o,a,u=d(e,n.tagName,n,r),c=e.attributes,f=t||{},h={};i=b.call(c,u)?c[u]:[],i=[].concat(i,c["*"]);for(o in f)a=f[o],(-1!==i.indexOf(o)||g(o)&&-1!==i.indexOf("data*"))&&null!==(a=a&&"object"===typeof a&&"length"in a?s(e,a,o):l(e,a,o))&&void 0!==a&&(h[o]=a);return h}function s(e,t,n){for(var r,i=t.length,o=[],a=-1;++a<i;)null!==(r=l(e,t[a],n))&&void 0!==r&&o.push(r);return o}function l(e,t,n){return"boolean"!==typeof t&&"number"!==typeof t&&"string"!==typeof t?null:u(e,t,n)?(-1!==e.clobber.indexOf(n)&&(t=e.clobberPrefix+t),t):null}function u(e,t,n){var r,i,o,a,s,l=e.protocols;if(l=b.call(l,n)?l[n].concat():[],0===l.length)return!0;if(t=String(t),"#"===(i=t.charAt(0))||"/"===i)return!0;if(-1===(o=t.indexOf(":")))return!0;for(a=l.length,s=-1;++s<a;)if(r=l[s],o===r.length&&t.slice(0,r.length)===r)return!0;return-1!==(s=t.indexOf("?"))&&o>s||-1!==(s=t.indexOf("#"))&&o>s}function c(){return"html"}function d(e,t,n,r){var i,o,a="string"===typeof t?t:null,s=e.ancestors;if(!a||"*"===a||-1===e.tagNames.indexOf(a))return!1;if(s=b.call(s,a)?s[a]:[],0!==s.length)for(i=s.length+1,o=-1;++o<i;){if(!s[o])return!1;if(-1!==r.indexOf(s[o]))break}return a}function f(e){return e.allowDoctypes?{name:c}:null}function h(e){return e.allowComments?{value:p}:null}function p(e,t){return"string"===typeof t?t:""}function m(e,t){return t}function g(e){return e.length>4&&"data"===e.slice(0,4).toLowerCase()}var v=n(24),y=n(780);e.exports=r;var b={}.hasOwnProperty,w={root:{children:o},doctype:f,comment:h,element:{tagName:d,properties:a,children:o},text:{value:p},"*":{data:m,position:m}}},function(e,t){e.exports={strip:["script"],clobberPrefix:"user-content-",clobber:["name","id"],ancestors:{li:["ol","ul"],tbody:["table"],tfoot:["table"],thead:["table"],td:["table"],th:["table"],tr:["table"]},protocols:{href:["http","https","mailto"],cite:["http","https"],src:["http","https"],longDesc:["http","https"]},tagNames:["h1","h2","h3","h4","h5","h6","h7","h8","br","b","i","strong","em","a","pre","code","img","tt","div","ins","del","sup","sub","p","ol","ul","table","thead","tbody","tfoot","blockquote","dl","dt","dd","kbd","q","samp","var","hr","ruby","rt","rp","li","tr","td","th","s","strike","summary","details"],attributes:{a:["href"],img:["src","longDesc"],div:["itemScope","itemType"],blockquote:["cite"],del:["cite"],ins:["cite"],q:["cite"],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charoff","charSet","checked","clear","cols","colSpan","color","compact","coords","dateTime","dir","disabled","encType","htmlFor","frame","headers","height","hrefLang","hspace","isMap","id","label","lang","maxLength","media","method","multiple","name","nohref","noshade","nowrap","open","prompt","readOnly","rel","rev","rows","rowSpan","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","type","useMap","valign","value","vspace","width","itemProp"]}}},function(e,t,n){"use strict";function r(e,t,n){var r,o;if("function"!==typeof e)throw new Error("h is not a function");if(r=a(e),o=l(e),null!==n&&void 0!==n||(n=(!0===r||!0===o)&&"h-"),b("root",t))t=1===t.children.length&&b("element",t.children[0])?t.children[0]:{type:"element",tagName:"div",properties:{},children:t.children};else if(!b("element",t))throw new Error("Expected root or element, not `"+(t&&t.type||t)+"`");return i(e,t,{prefix:n,key:0,react:r,vdom:o,hyperscript:s(e)})}function i(e,t,n){var r,a,s,l,c,d,f,h,p=t.tagName;r=t.properties,a={};for(l in r)o(a,l,r[l],n);for(!0===n.vdom&&(p=p.toUpperCase()),!0===n.hyperscript&&a.id&&(p+="#"+a.id,delete a.id),!0!==n.hyperscript&&!0!==n.vdom||!a.className||(p+="."+g.parse(a.className).join("."),delete a.className),"string"===typeof a.style&&(!0===n.vdom?(a.attributes||(a.attributes={}),a.attributes.style=a.style,delete a.style):!0===n.react&&(a.style=u(a.style))),n.prefix&&(n.key++,a.key=n.prefix+n.key),c=[],s=t.children||[],d=s.length,f=-1;++f<d;)h=s[f],b("element",h)?c.push(i(e,h,n)):b("text",h)&&c.push(h.value);return 0===c.length?e(p,a):e(p,a,c)}function o(e,t,n,r){var i,o=m(t)||{};if(!(null===n||void 0===n||!1===n||y(n)||o.boolean&&!n)){if(t=o.name?o.name:r.react&&!c(t)?d(t):p(t),null!==n&&"object"===typeof n&&"length"in n&&(n=(o.commaSeparated?v:g).stringify(n)),o.boolean&&!0===r.hyperscript&&(n=""),"class"!==o.name&&(o.mustUseAttribute||!o.name)&&(!0===r.vdom?i="attributes":!0===r.hyperscript&&(i="attrs"),i))return void 0===e[i]&&(e[i]={}),void(e[i][t]=n);e[o.propertyName||t]=n}}function a(e){var t=e&&e("div");return Boolean(t&&("_owner"in t||"_store"in t)&&null===t.key)}function s(e){return Boolean(e&&e.context&&e.cleanup)}function l(e){try{return"VirtualNode"===e("div").type}catch(e){}return!1}function u(e){for(var t,n,r,i={},o=e.split(";"),a=o.length,s=-1;++s<a;)t=o[s],-1!==(r=t.indexOf(":"))&&(n=d(h(t.slice(0,r))),i[n]=h(t.slice(r+1)));return i}function c(e){var t=e.slice(0,4);return("data"===t||"aria"===t)&&e.length>4}function d(e){return"-ms-"===e.slice(0,4)&&(e="ms-"+e.slice(4)),e.replace(/-([a-z])/g,f)}function f(e,t){return t.toUpperCase()}var h=n(27),p=n(782),m=n(783),g=n(784),v=n(785),y=n(786),b=n(238);e.exports=r},function(e,t,n){"use strict";var r=/[A-Z\u00C0-\u00D6\u00D8-\u00DE]/g,i=/-[a-z\u00E0-\u00F6\u00F8-\u00FE]/g;e.exports=t=function(e){return e.replace(r,function(e){return"-"+e.toLowerCase()})},t.reverse=function(e){return e.replace(i,function(e){return e.slice(1).toUpperCase()})}},function(e,t,n){"use strict";function r(e){var t=o(e);return d[c[t]||t]}function i(e,t){return(e&t)===t}function o(e){return e.toLowerCase()}e.exports=r;var a,s,l,u={abbr:null,accept:256,acceptCharset:128,accessKey:128,action:null,allowFullScreen:9,allowTransparency:1,alt:null,as:null,async:8,autoComplete:128,autoFocus:8,autoPlay:8,capture:9,cellPadding:null,cellSpacing:null,challenge:1,charSet:1,checked:10,cite:null,className:129,cols:49,colSpan:null,command:null,content:null,contentEditable:null,contextMenu:1,controls:10,controlsList:128,coords:272,crossOrigin:null,data:null,dateTime:1,default:8,defer:8,dir:null,dirName:null,disabled:9,download:64,draggable:null,dropzone:128,encType:null,form:1,formAction:1,formEncType:1,formMethod:1,formNoValidate:8,formTarget:1,frameBorder:1,headers:128,height:49,hidden:9,high:16,href:null,hrefLang:null,htmlFor:128,httpEquiv:128,id:2,inputMode:1,is:1,isMap:8,keyParams:1,keyType:1,kind:null,label:null,lang:null,list:1,loop:10,low:16,manifest:1,marginHeight:16,marginWidth:16,max:null,maxLength:49,media:1,mediaGroup:null,menu:null,method:null,min:null,minLength:49,multiple:10,muted:10,name:null,nonce:null,noValidate:8,open:8,optimum:16,pattern:null,ping:128,placeholder:null,playsInline:8,poster:null,preload:null,profile:null,radioGroup:null,readOnly:10,referrerPolicy:null,rel:129,required:8,reversed:8,role:1,rows:49,rowSpan:48,sandbox:128,scope:null,scoped:8,scrolling:null,seamless:9,selected:10,shape:null,size:49,sizes:129,slot:null,sortable:8,sorted:128,span:48,spellCheck:null,src:null,srcDoc:2,srcLang:null,srcSet:257,start:16,step:null,style:null,summary:null,tabIndex:16,target:null,title:null,translate:null,type:null,typeMustMatch:8,useMap:null,value:2,volume:48,width:17,wmode:1,wrap:null,autoCapitalize:null,autoCorrect:null,autoSave:null,itemProp:129,itemScope:9,itemType:129,itemID:1,itemRef:129,property:null,results:null,security:1,unselectable:1,xmlLang:1,xmlBase:1},c={xmlbase:"xml:base",xmllang:"xml:lang",classname:"class",htmlfor:"for",httpequiv:"http-equiv",acceptcharset:"accept-charset"},d={};r.all=d;for(a in u)s=o(a),s=c[s]||s,l=u[a],d[s]={name:s,propertyName:a,mustUseAttribute:i(l,1),mustUseProperty:i(l,2),boolean:i(l,8),overloadedBoolean:i(l,64),numeric:i(l,16),positiveNumeric:i(l,48),commaSeparated:i(l,256),spaceSeparated:i(l,128)}},function(e,t,n){"use strict";function r(e){var t=o(String(e||a));return t===a?[]:t.split(l)}function i(e){return o(e.join(s))}var o=n(27);t.parse=r,t.stringify=i;var a="",s=" ",l=/[ \t\n\r\f]+/g},function(e,t,n){"use strict";function r(e){for(var t,n=[],r=String(e||l),i=r.indexOf(a),s=0,u=!1;!u;)-1===i&&(i=r.length,u=!0),t=o(r.slice(s,i)),!t&&u||n.push(t),s=i+1,i=r.indexOf(a,s);return n}function i(e,t){var n=t||{},r=!1===n.padLeft?l:s,i=n.padRight?s:l;return e[e.length-1]===l&&(e=e.concat(l)),o(e.join(i+a+r))}t.parse=r,t.stringify=i;var o=n(27),a=",",s=" ",l=""},function(e,t,n){"use strict";var r=n(256),i=n(257);r(i,{getPolyfill:n(258),implementation:i,shim:n(790)}),e.exports=i},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=Array.prototype.slice,a=n(788),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),u=s.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},f={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"===typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&r.call(window,e)&&null!==window[e]&&"object"===typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),p=function(e){if("undefined"===typeof window||!h)return d(e);try{return d(e)}catch(e){return!1}},m=function(e){var t=null!==e&&"object"===typeof e,n="[object Function]"===i.call(e),o=a(e),s=t&&"[object String]"===i.call(e),d=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var f=u&&n;if(s&&e.length>0&&!r.call(e,0))for(var h=0;h<e.length;++h)d.push(String(h));if(o&&e.length>0)for(var m=0;m<e.length;++m)d.push(String(m));else for(var g in e)f&&"prototype"===g||!r.call(e,g)||d.push(String(g));if(l)for(var v=p(e),y=0;y<c.length;++y)v&&"constructor"===c[y]||!r.call(e,c[y])||d.push(c[y]);return d};m.shim=function(){if(Object.keys){if(!function(){return 2===(Object.keys(arguments)||"").length}(1,2)){var e=Object.keys;Object.keys=function(t){return e(a(t)?o.call(t):t)}}}else Object.keys=m;return Object.keys||m},e.exports=m},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t){var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,t,i){if("[object Function]"!==r.call(t))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var a=0;a<o;a++)t.call(i,e[a],a,e);else for(var s in e)n.call(e,s)&&t.call(i,e[s],s,e)}},function(e,t,n){"use strict";var r=n(256),i=n(258);e.exports=function(){var e=i();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},function(e,t,n){"use strict";function r(e){if("tr"===e.tagName||"td"===e.tagName||"th"===e.tagName){var t,n;for(t in s)a.call(s,t)&&void 0!==e.properties[t]&&(n=s[t],i(e,n,e.properties[t]),delete e.properties[t])}}function i(e,t,n){var r=(e.properties.style||"").trim();r&&!/;\s*/.test(r)&&(r+=";"),r&&(r+=" ");var i=r+t+": "+n+";";e.properties.style=i}var o=n(69),a=Object.prototype.hasOwnProperty,s={align:"text-align",valign:"vertical-align",height:"height",width:"width"};e.exports=function(e){return o(e,"element",r),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 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 o(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)}n.d(t,"a",function(){return h});var a=n(1),s=n.n(a),l=n(86),u=n(67),c=n(32),d=(n.n(c),n(793)),f=(n.n(d),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),h=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={spyArr:[],positions:{},x:window.innerWidth/3},window.addEventListener("resize",function(){n.mounted&&n.setState({x:window.innerWidth/3})}),n.unselectedColor="#9c81d0",n.selectedColor="#420dab",n}return o(t,e),f(t,[{key:"componentWillMount",value:function(){this.setState({spyArr:this.props.spyArr,positions:this.props.positions}),this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"componentWillReceiveProps",value:function(e){var t=e.spyArr,n=e.positions;this.setState({spyArr:t,positions:n})}},{key:"render",value:function(){var e=this,t=this.state.spyArr.map(function(t){var n=t.data.split("\n"),r=n[1];return{sectionTitle:n[2],sectionY:e.state.positions["spy-"+r],href:"#"+r}});t=t.reduce(function(e,t,n){var r=!1;return 0===n?r=!0:t.sectionY<66&&(e[n-1].active=!1,r=!0),e.push(Object.assign({},t,{active:r})),e},[]);var n=void 0,r=this.state.x;return n=r<350?16:r<400?18:r<500?22:r<525?27:r<550?29:r<600?32:35,s.a.createElement("div",{style:{paddingTop:15,position:"sticky",top:60}},s.a.createElement("div",{style:{position:"absolute",width:7,height:40*(t.length-1),marginTop:10,bottom:10,left:24.5,zIndex:-1,backgroundColor:this.unselectedColor}}),t.map(function(t,r){return s.a.createElement("div",{key:"spybar-"+r,style:{marginTop:10,height:30,width:"auto"}},s.a.createElement(c.Grid,{fluid:!0},s.a.createElement("a",{style:{textDecoration:"none",color:"black"},href:t.href,onClick:e.props.updateDim},s.a.createElement(c.Row,{middle:"xs"},s.a.createElement("span",{style:{color:t.active?e.selectedColor:e.unselectedColor,width:40,height:40,textAlign:"center",fontSize:t.active?20:15,transition:"font-size 0.5s, opacity 0.5s",lineHeight:"40px"}},s.a.createElement(u.a,{icon:l.d,style:{margin:"auto"}})),s.a.createElement("span",{style:{fontSize:t.active?20:15,opacity:t.active?1:.5,fontFamily:"RalewayBold",transition:"font-size 0.5s, opacity 0.5s",lineHeight:"40px",textOverflow:"ellipsis"}},t.sectionTitle.length>n?t.sectionTitle.substring(0,n-3)+"...":t.sectionTitle)))))}))}}]),t}(a.Component)},function(e,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 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 o(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)}n.d(t,"a",function(){return k});var a=n(1),s=n.n(a),l=n(104),u=n.n(l),c=n(219),d=n.n(c),f=n(220),h=n.n(f),p=n(19),m=n.n(p),g=n(87),v=n.n(g),y=n(89),b=n.n(y),w=n(40),E=n.n(w),T=n(795),_=(n.n(T),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),k=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=function(e,t){n.props.updateDim(),n.setState({value:t})},n.state={value:0,tabObjs:[]},n}return o(t,e),_(t,[{key:"componentWillMount",value:function(){this.setState({tabObjs:this.props.tabObjs})}},{key:"componentWillReceiveProps",value:function(e){var t=e.tabObjs;this.setState({tabObjs:t})}},{key:"render",value:function(){var e=this,t=this.state.tabObjs;return s.a.createElement("div",{style:{margin:"auto",marginTop:20,marginBottom:20,width:"95%"}},s.a.createElement(u.a,{position:"static"},s.a.createElement(d.a,{value:this.state.value,onChange:this.handleChange,style:{width:"100%"},scrollable:!0,scrollButtons:"auto"},t.map(function(e,t){return s.a.createElement(h.a,{key:"tab"+t,value:t,label:e.title})}))),t.map(function(t,n){return s.a.createElement(m.a,{component:"div",style:{backgroundColor:"white",border:"1px solid gray",borderBottomLeftRadius:5,borderBottomRightRadius:5,padding:24,display:e.state.value===n?"":"none",transition:"display 0.5s",lineHeight:"normal",width:"100%"},key:"tabC"+n},s.a.createElement(E.a,{clear:!0,when:e.state.value===n,duration:500,cascade:!0},s.a.createElement("div",{style:{fontSize:"16px"},className:"tabsContent"},v()().use(b.a).processSync(t.data).contents)))}))}}]),t}(a.Component)},function(e,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 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 o(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)}n.d(t,"a",function(){return u});var a=n(1),s=n.n(a),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),l(t,[{key:"render",value:function(){return s.a.createElement("div",{style:{margin:"auto",textAlign:"center"}},s.a.createElement("embed",{src:this.props.pdfLink,style:{width:"90%",height:1e3}}))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return f});var a=n(1),s=n.n(a),l=n(798),u=n(800),c=n.n(u),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.openLightbox=function(e,t){n.setState({currentImage:t.index,lightboxIsOpen:!0})},n.closeLightbox=function(){n.setState({currentImage:0,lightboxIsOpen:!1})},n.gotoPrevious=function(){n.setState({currentImage:n.state.currentImage-1})},n.gotoNext=function(){n.setState({currentImage:n.state.currentImage+1})},n.state={currentImage:0,photos:e.photos},n}return o(t,e),d(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.photos;this.setState({photos:t})}},{key:"render",value:function(){var e=this.state,t=e.photos,n=e.currentImage;return s.a.createElement("div",null,s.a.createElement(l.a,{photos:t,onClick:this.openLightbox}),s.a.createElement(c.a,{images:t,onClose:this.closeLightbox,onClickPrev:this.gotoPrevious,onClickNext:this.gotoNext,currentImage:n,isOpen:this.state.lightboxIsOpen}))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e,t){return t||(t=0),Number(Math.round(e+"e"+t)+"e-"+t)}function i(e){return r(e.width/e.height,2)}function o(e){var t=e.photos,n=e.columns,o=e.width,a=e.margin;if(!o)return[];var s=t.reduce(function(e,t,r){var i=Math.floor(r/n);return e[i]=e[i]?[].concat(y(e[i]),[t]):[t],e},[]),l=[];return s.map(function(e,u){var c=e.reduce(function(e,t){return e+i(t)},0),d=o-e.length*(2*a);u!==s.length-1&&l.push(c);var f=e.length===n?d/c:t.length<n?d/c*(e.length/n):d/(l.reduce(function(e,t){return e+t},0)/(s.length-1));return e.map(function(e){return p({},e,{height:r(f,1),width:r(f*i(e),1)})})}).reduce(function(e,t){return[].concat(y(e),y(t))},[])}function a(e){for(var t=e.photos,n=e.columns,i=e.width,o=e.margin,a=(i-2*o*n)/n,s=t.map(function(e){var t=e.height/e.width*a;return p({},e,{width:r(a,1),height:r(t,1)})}),l=[],u=[],c=0;c<n;c++)l[c]=r(c*(a+2*o),1),u[c]=0;return s.map(function(e){var t=u.reduce(function(e,t,n){return e=t<u[e]?n:e},0);e.top=u[t],e.left=l[t],u[t]=u[t]+e.height+2*o;var n=u.reduce(function(e,t,n){return e=t>u[e]?n:e},0);return e.containerHeight=u[n],e})}var s=n(1),l=n.n(s),u=n(2),c=n.n(u),d=n(799),f=(function(){function e(e){this.value=e}function t(t){function n(e,t){return new Promise(function(n,i){var s={key:e,arg:t,resolve:n,reject:i,next:null};a?a=a.next=s:(o=a=s,r(e,t))})}function r(n,o){try{var a=t[n](o),s=a.value;s instanceof e?Promise.resolve(s.value).then(function(e){r("next",e)},function(e){r("throw",e)}):i(a.done?"return":"normal",a.value)}catch(e){i("throw",e)}}function i(e,t){switch(e){case"return":o.resolve({value:t,done:!0});break;case"throw":o.reject(t);break;default:o.resolve({value:t,done:!1})}o=o.next,o?r(o.key,o.arg):a=null}var o,a;this._invoke=n,"function"!==typeof t.return&&(this.return=void 0)}"function"===typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},g=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},v=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},y=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},b={cursor:"pointer"},w=function(e){var t=e.index,n=e.onClick,r=e.photo,i=e.margin,o=e.direction,a=e.top,s=e.left,u={margin:i};"column"===o&&(u.position="absolute",u.left=s,u.top=a);var c=function(e){n(e,{photo:r,index:t})};return l.a.createElement("img",p({style:n?p({},u,b):u},r,{onClick:n?c:null}))},E=c.a.shape({src:c.a.string.isRequired,width:c.a.number.isRequired,height:c.a.number.isRequired,alt:c.a.string,title:c.a.string,srcSet:c.a.oneOfType([c.a.string,c.a.array]),sizes:c.a.oneOfType([c.a.string,c.a.array])});w.propTypes={index:c.a.number.isRequired,onClick:c.a.func,photo:E.isRequired,margin:c.a.number,top:function(e){if("column"===e.direction&&"number"!==typeof e.top)return new Error("top is a required number when direction is set to `column`")},left:function(e){if("column"===e.direction&&"number"!==typeof e.left)return new Error("left is a required number when direction is set to `column`")},direction:c.a.string};var T=function(e){function t(){var e,n,r,i;f(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=r=v(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={containerWidth:0},r.handleClick=function(e,t){var n=t.index,i=r.props,o=i.photos;(0,i.onClick)(e,{index:n,photo:o[n],previous:o[n-1]||null,next:o[n+1]||null})},i=n,v(r,i)}return m(t,e),h(t,[{key:"componentDidMount",value:function(){var e=this;this.observer=new d.a(function(t){var n=t[0].contentRect.width;e.state.containerWidth!==n&&e.setState({containerWidth:Math.floor(n)})}),this.observer.observe(this._gallery)}},{key:"componentWillUnmount",value:function(){this.observer.disconnect()}},{key:"render",value:function(){var e=this,t=this.state.containerWidth;if(!t)return l.a.createElement("div",{ref:function(t){return e._gallery=t}});var n=this.props.ImageComponent,r=void 0===n?w:n,i=this.props,s=i.margin,u=i.onClick,c=i.direction,d=this.props.columns;void 0===d&&(d=1,t>=500&&(d=2),t>=900&&(d=3),t>=1500&&(d=4));var f=this.props.photos,h=t-1,p=void 0,m=void 0;return"row"===c&&(p={display:"flex",flexWrap:"wrap",flexDirection:"row"},m=o({width:h,columns:d,margin:s,photos:f})),"column"===c&&(p={position:"relative"},m=a({width:h,columns:d,margin:s,photos:f}),p.height=m[m.length-1].containerHeight),l.a.createElement("div",{className:"react-photo-gallery--gallery"},l.a.createElement("div",{ref:function(t){return e._gallery=t},style:p},m.map(function(t,n){var i=t.left,o=t.top,a=(t.containerHeight,g(t,["left","top","containerHeight"]));return l.a.createElement(r,{key:t.key||t.src,margin:s,index:n,photo:a,direction:c,left:i,top:o,onClick:u?e.handleClick:null})})))}}]),t}(l.a.Component);T.propTypes={photos:c.a.arrayOf(E).isRequired,direction:c.a.string,onClick:c.a.func,columns:c.a.number,margin:c.a.number,ImageComponent:c.a.func},T.defaultProps={margin:2,direction:"row"},t.a=T},function(e,t,n){"use strict";(function(e){function n(e){return parseFloat(e)||0}function r(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return t.reduce(function(t,r){return t+n(e["border-"+r+"-width"])},0)}function i(e){for(var t=["top","right","bottom","left"],r={},i=0,o=t;i<o.length;i+=1){var a=o[i],s=e["padding-"+a];r[a]=n(s)}return r}function o(e){var t=e.getBBox();return c(0,0,t.width,t.height)}function a(e){var t=e.clientWidth,o=e.clientHeight;if(!t&&!o)return T;var a=E(e).getComputedStyle(e),l=i(a),u=l.left+l.right,d=l.top+l.bottom,f=n(a.width),h=n(a.height);if("border-box"===a.boxSizing&&(Math.round(f+u)!==t&&(f-=r(a,"left","right")+u),Math.round(h+d)!==o&&(h-=r(a,"top","bottom")+d)),!s(e)){var p=Math.round(f+u)-t,m=Math.round(h+d)-o;1!==Math.abs(p)&&(f-=p),1!==Math.abs(m)&&(h-=m)}return c(l.left,l.top,f,h)}function s(e){return e===E(e).document.documentElement}function l(e){return f?_(e)?o(e):a(e):T}function u(e){var t=e.x,n=e.y,r=e.width,i=e.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return w(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}function c(e,t,n,r){return{x:e,y:t,width:n,height:r}}var d=function(){function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return"undefined"!==typeof Map?Map:function(){function t(){this.__entries__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){var n=this;void 0===t&&(t=null);for(var r=0,i=n.__entries__;r<i.length;r+=1){var o=i[r];e.call(t,o[1],o[0])}},Object.defineProperties(t.prototype,n),t}()}(),f="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,h=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),p=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(h):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),m=2,g=function(e,t){function n(){o&&(o=!1,e()),a&&i()}function r(){p(n)}function i(){var e=Date.now();if(o){if(e-s<m)return;a=!0}else o=!0,a=!1,setTimeout(r,t);s=e}var o=!1,a=!1,s=0;return i},v=["top","right","bottom","left","width","height","size","weight"],y="undefined"!==typeof MutationObserver,b=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=g(this.refresh.bind(this),20)};b.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},b.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},b.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},b.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},b.prototype.connect_=function(){f&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),y?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},b.prototype.disconnect_=function(){f&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},b.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),v.some(function(e){return!!~t.indexOf(e)})&&this.refresh()},b.getInstance=function(){return this.instance_||(this.instance_=new b),this.instance_},b.instance_=null;var w=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n+=1){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},E=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||h},T=c(0,0,0,0),_=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof E(e).SVGGraphicsElement}:function(e){return e instanceof E(e).SVGElement&&"function"===typeof e.getBBox}}(),k=function(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=c(0,0,0,0),this.target=e};k.prototype.isActive=function(){var e=l(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},k.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var x=function(e,t){var n=u(t);w(this,{target:e,contentRect:n})},S=function(e,t,n){if(this.activeObservations_=[],this.observations_=new d,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n};S.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof E(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new k(e)),this.controller_.addObserver(this),this.controller_.refresh())}},S.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof E(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},S.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},S.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},S.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new x(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},S.prototype.clearActive=function(){this.activeObservations_.splice(0)},S.prototype.hasActive=function(){return this.activeObservations_.length>0};var C="undefined"!==typeof WeakMap?new WeakMap:new d,O=function(e){if(!(this instanceof O))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=b.getInstance(),n=new S(e,t,this);C.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){O.prototype[e]=function(){return(t=C.get(this))[e].apply(t,arguments);var t}});var A=function(){return"undefined"!==typeof h.ResizeObserver?h.ResizeObserver:O}();t.a=A}).call(t,n(18))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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)}function s(e){var t=e.srcSet||e.srcset;return Array.isArray(t)?t.join():t}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(2),c=r(u),d=n(1),f=r(d),h=n(259),p=n(816),m=r(p),g=n(41),v=r(g),y=n(266),b=r(y),w=n(825),E=r(w),T=n(826),_=r(T),k=n(827),x=r(k),S=n(828),C=r(S),O=n(830),A=r(O),P=n(838),I=r(P),R=n(839),N=r(R),M=n(840),D=r(M),L=n(58),j=r(L),W=function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.theme=(0,j.default)(v.default,e.theme),n.classes=h.StyleSheet.create((0,j.default)(B,n.theme)),n.state={imageLoaded:!1},N.default.call(n,["gotoNext","gotoPrev","closeBackdrop","handleKeyboardInput","handleImageLoaded"]),n}return a(t,e),l(t,[{key:"getChildContext",value:function(){return{theme:this.theme}}},{key:"componentDidMount",value:function(){this.props.isOpen&&(this.props.enableKeyboardInput&&window.addEventListener("keydown",this.handleKeyboardInput),"number"===typeof this.props.currentImage&&this.preloadImage(this.props.currentImage,this.handleImageLoaded))}},{key:"componentWillReceiveProps",value:function(e){if(D.default){if(e.preloadNextImage){var t=this.props.currentImage,n=e.currentImage+1,r=e.currentImage-1,i=void 0;t&&e.currentImage>t?i=n:t&&e.currentImage<t&&(i=r),i?this.preloadImage(i):(this.preloadImage(r),this.preloadImage(n))}if(this.props.currentImage!==e.currentImage||!this.props.isOpen&&e.isOpen){var o=this.preloadImageData(e.images[e.currentImage],this.handleImageLoaded);o&&this.setState({imageLoaded:o.complete})}!this.props.isOpen&&e.isOpen&&e.enableKeyboardInput&&window.addEventListener("keydown",this.handleKeyboardInput),!e.isOpen&&e.enableKeyboardInput&&window.removeEventListener("keydown",this.handleKeyboardInput)}}},{key:"componentWillUnmount",value:function(){this.props.enableKeyboardInput&&window.removeEventListener("keydown",this.handleKeyboardInput)}},{key:"preloadImage",value:function(e,t){return this.preloadImageData(this.props.images[e],t)}},{key:"preloadImageData",value:function(e,t){if(e){var n=new Image,r=s(e);return n.onerror=t,n.onload=t,n.src=e.src,r&&(n.srcset=r),n}}},{key:"gotoNext",value:function(e){var t=this.props,n=t.currentImage,r=t.images;this.state.imageLoaded&&n!==r.length-1&&(e&&(e.preventDefault(),e.stopPropagation()),this.props.onClickNext())}},{key:"gotoPrev",value:function(e){var t=this.props.currentImage;this.state.imageLoaded&&0!==t&&(e&&(e.preventDefault(),e.stopPropagation()),this.props.onClickPrev())}},{key:"closeBackdrop",value:function(e){"lightboxBackdrop"!==e.target.id&&"FIGURE"!==e.target.tagName||this.props.onClose()}},{key:"handleKeyboardInput",value:function(e){return 37===e.keyCode?(this.gotoPrev(e),!0):39===e.keyCode?(this.gotoNext(e),!0):27===e.keyCode&&(this.props.onClose(),!0)}},{key:"handleImageLoaded",value:function(){this.setState({imageLoaded:!0})}},{key:"renderArrowPrev",value:function(){return 0===this.props.currentImage?null:f.default.createElement(b.default,{direction:"left",icon:"arrowLeft",onClick:this.gotoPrev,title:this.props.leftArrowTitle,type:"button"})}},{key:"renderArrowNext",value:function(){return this.props.currentImage===this.props.images.length-1?null:f.default.createElement(b.default,{direction:"right",icon:"arrowRight",onClick:this.gotoNext,title:this.props.rightArrowTitle,type:"button"})}},{key:"renderDialog",value:function(){var e=this.props,t=e.backdropClosesModal,n=e.isOpen,r=e.showThumbnails,i=e.width,o=this.state.imageLoaded;if(!n)return f.default.createElement("span",{key:"closed"});var a=0;return r&&(a=this.theme.thumbnail.size+this.theme.container.gutter.vertical),f.default.createElement(E.default,{key:"open",onClick:t&&this.closeBackdrop,onTouchEnd:t&&this.closeBackdrop},f.default.createElement("div",null,f.default.createElement("div",{className:(0,h.css)(this.classes.content),style:{marginBottom:a,maxWidth:i}},o&&this.renderHeader(),this.renderImages(),this.renderSpinner(),o&&this.renderFooter()),o&&this.renderThumbnails(),o&&this.renderArrowPrev(),o&&this.renderArrowNext(),this.props.preventScroll&&f.default.createElement(m.default,null)))}},{key:"renderImages",value:function(){var e=this.props,t=e.currentImage,n=e.images,r=e.onClickImage,i=e.showThumbnails,o=this.state.imageLoaded;if(!n||!n.length)return null;var a=n[t],l=s(a),u=l?"100vw":null,c=i?this.theme.thumbnail.size:0,d=this.theme.header.height+this.theme.footer.height+c+this.theme.container.gutter.vertical+"px";return f.default.createElement("figure",{className:(0,h.css)(this.classes.figure)},f.default.createElement("img",{className:(0,h.css)(this.classes.image,o&&this.classes.imageLoaded),onClick:r,sizes:u,alt:a.alt,src:a.src,srcSet:l,style:{cursor:r?"pointer":"auto",maxHeight:"calc(100vh - "+d+")"}}))}},{key:"renderThumbnails",value:function(){var e=this.props,t=e.images,n=e.currentImage,r=e.onClickThumbnail,i=e.showThumbnails,o=e.thumbnailOffset;if(i)return f.default.createElement(C.default,{currentImage:n,images:t,offset:o,onClickThumbnail:r})}},{key:"renderHeader",value:function(){var e=this.props,t=e.closeButtonTitle,n=e.customControls,r=e.onClose,i=e.showCloseButton;return f.default.createElement(x.default,{customControls:n,onClose:r,showCloseButton:i,closeButtonTitle:t})}},{key:"renderFooter",value:function(){var e=this.props,t=e.currentImage,n=e.images,r=e.imageCountSeparator,i=e.showImageCount;return n&&n.length?f.default.createElement(_.default,{caption:n[t].caption,countCurrent:t+1,countSeparator:r,countTotal:n.length,showCount:i}):null}},{key:"renderSpinner",value:function(){var e=this.props,t=e.spinner,n=e.spinnerColor,r=e.spinnerSize,i=this.state.imageLoaded,o=t;return f.default.createElement("div",{className:(0,h.css)(this.classes.spinner,!i&&this.classes.spinnerActive)},f.default.createElement(o,{color:n,size:r}))}},{key:"render",value:function(){return f.default.createElement(A.default,null,this.renderDialog())}}]),t}(d.Component);W.propTypes={backdropClosesModal:c.default.bool,closeButtonTitle:c.default.string,currentImage:c.default.number,customControls:c.default.arrayOf(c.default.node),enableKeyboardInput:c.default.bool,imageCountSeparator:c.default.string,images:c.default.arrayOf(c.default.shape({src:c.default.string.isRequired,srcSet:c.default.oneOfType([c.default.string,c.default.arrayOf(c.default.string)]),caption:c.default.oneOfType([c.default.string,c.default.element]),thumbnail:c.default.string})).isRequired,isOpen:c.default.bool,leftArrowTitle:c.default.string,onClickImage:c.default.func,onClickNext:c.default.func,onClickPrev:c.default.func,onClose:c.default.func.isRequired,preloadNextImage:c.default.bool,preventScroll:c.default.bool,rightArrowTitle:c.default.string,showCloseButton:c.default.bool,showImageCount:c.default.bool,showThumbnails:c.default.bool,spinner:c.default.func,spinnerColor:c.default.string,spinnerSize:c.default.number,theme:c.default.object,thumbnailOffset:c.default.number,width:c.default.number},W.defaultProps={closeButtonTitle:"Close (Esc)",currentImage:0,enableKeyboardInput:!0,imageCountSeparator:" of ",leftArrowTitle:"Previous (Left arrow key)",onClickShowNextImage:!0,preloadNextImage:!0,preventScroll:!0,rightArrowTitle:"Next (Right arrow key)",showCloseButton:!0,showImageCount:!0,spinner:I.default,spinnerColor:"white",spinnerSize:100,theme:{},thumbnailOffset:2,width:1024},W.childContextTypes={theme:c.default.object.isRequired};var B={content:{position:"relative"},figure:{margin:0},image:{display:"block",height:"auto",margin:"0 auto",maxWidth:"100%",WebkitTouchCallout:"none",userSelect:"none",opacity:0,transition:"opacity 0.3s"},imageLoaded:{opacity:1},spinner:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",opacity:0,transition:"opacity 0.3s",pointerEvents:"none"},spinnerActive:{opacity:1}};t.default=W},function(e,t,n){"use strict";function r(){if(l.length)throw l.shift()}function i(e){var t;t=s.length?s.pop():new o,t.task=e,a(t)}function o(){this.task=null}var a=n(146),s=[],l=[],u=a.makeRequestCallFromTimer(r);e.exports=i,o.prototype.call=function(){try{this.task.call()}catch(e){i.onerror?i.onerror(e):(l.push(e),u())}finally{this.task=null,s[s.length]=this}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}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")}}(),i=n(803),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=n(143),s=function e(t,n,r,i){var o=n.reduce(a.recursiveMerge),s={},l={},c={};return Object.keys(o).forEach(function(e){":"===e[0]?c[e]=o[e]:"@"===e[0]?l[e]=o[e]:s[e]=o[e]}),u(t,s,r,i)+Object.keys(c).map(function(e){return u(t+e,c[e],r,i)}).join("")+Object.keys(l).map(function(n){return n+"{"+e(t,[l[n]],r,i)+"}"}).join("")};t.generateCSS=s;var l=function(e,t){var n={};return Object.keys(e).forEach(function(r){t&&t.hasOwnProperty(r)?n[r]=t[r](e[r]):n[r]=e[r]}),n},u=function(e,t,n,i){var s=l(t,n),u=(0,o.default)(s),c=(0,a.flatten)((0,a.objectToPairs)(u).map(function(e){var t=r(e,2),n=t[0],i=t[1];if(Array.isArray(i)){var o=function(){var e=[],t=[];return i.forEach(function(n){0===n.indexOf("-")?e.push(n):t.push(n)}),e.sort(),t.sort(),{v:e.concat(t).map(function(e){return[n,e]})}}();if("object"===typeof o)return o.v}return[[n,i]]})),d=c.map(function(e){var t=r(e,2),n=t[0],o=t[1],s=(0,a.stringifyValue)(n,o),l=(0,a.kebabifyStyleName)(n)+":"+s+";";return!1===i?l:(0,a.importantify)(l)}).join("");return d?e+"{"+d+"}":""};t.generateCSSRuleset=u},function(e,t,n){e.exports=n(804)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return Object.keys(e).forEach(function(t){var n=e[t];n instanceof Object&&!Array.isArray(n)?e[t]=i(n):Object.keys(s.default).forEach(function(r){s.default[r][t]&&(e[r+(0,u.default)(t)]=n)})}),Object.keys(e).forEach(function(t){[].concat(e[t]).forEach(function(n,r){P.forEach(function(r){return o(e,r(t,n))})})}),(0,d.default)(e)}function o(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];Object.keys(t).forEach(function(n){var r=e[n];Array.isArray(r)?[].concat(t[n]).forEach(function(t){var i=r.indexOf(t);i>-1&&e[n].splice(i,1),e[n].push(t)}):e[n]=t[n]})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n(261),s=r(a),l=n(262),u=r(l),c=n(805),d=r(c),f=n(807),h=r(f),p=n(808),m=r(p),g=n(809),v=r(g),y=n(810),b=r(y),w=n(811),E=r(w),T=n(812),_=r(T),k=n(813),x=r(k),S=n(814),C=r(S),O=n(815),A=r(O),P=[h.default,m.default,v.default,E.default,_.default,x.default,C.default,A.default,b.default];e.exports=t.default},function(e,t,n){"use strict";function r(e){return Object.keys(e).sort(function(e,t){return(0,o.default)(e)&&!(0,o.default)(t)?-1:!(0,o.default)(e)&&(0,o.default)(t)?1:0}).reduce(function(t,n){return t[n]=e[n],t},{})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(806),o=function(e){return e&&e.__esModule?e:{default:e}}(i);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!==e.match(/^(Webkit|Moz|O|ms)/)},e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("position"===e&&"sticky"===t)return{position:["-webkit-sticky","sticky"]}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if("string"===typeof t&&!(0,l.default)(t)&&t.indexOf("calc(")>-1)return(0,a.default)(e,t,function(e,t){return t.replace(/calc\(/g,e+"calc(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(91),a=r(o),s=n(144),l=r(s);e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("cursor"===e&&a[t])return(0,o.default)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(91),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0};e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("display"===e&&i[t])return{display:["-webkit-box","-moz-box","-ms-"+t+"box","-webkit-"+t,t]}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i={flex:!0,"inline-flex":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(a[e]&&s[t])return(0,o.default)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(91),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},s={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if("string"===typeof t&&!(0,l.default)(t)&&null!==t.match(u))return(0,a.default)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(91),a=r(o),s=n(144),l=r(s),u=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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("string"===typeof t&&m[e]){var n,r=a(t),o=r.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return null===e.match(/-moz-|-ms-/)}).join(",");return e.indexOf("Webkit")>-1?i({},e,o):(n={},i(n,"Webkit"+(0,c.default)(e),o),i(n,e,r),n)}}function a(e){if((0,f.default)(e))return e;var t=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g);return t.forEach(function(e,n){t[n]=Object.keys(p.default).reduce(function(t,n){var r="-"+n.toLowerCase()+"-";return Object.keys(p.default[n]).forEach(function(n){var i=(0,l.default)(n);e.indexOf(i)>-1&&"order"!==i&&(t=e.replace(i,r+i)+","+t)}),t},e)}),t.join(",")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var s=n(164),l=r(s),u=n(262),c=r(u),d=n(144),f=r(d),h=n(261),p=r(h),m={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0};e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(a[e])return r({},a[e],o[t]||t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end"},a={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msPreferredSize"};e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return"flexDirection"===e&&"string"===typeof t?{WebkitBoxOrient:t.indexOf("column")>-1?"vertical":"horizontal",WebkitBoxDirection:t.indexOf("reverse")>-1?"reverse":"normal"}:a[e]?r({},a[e],o[t]||t):void 0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},a={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(817);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(i).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),c=r(u),d=n(263),f=n(818),h=n(265),p=n(820),m=r(p),g=0,v=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),l(t,[{key:"componentDidMount",value:function(){g++,d.canUseDOM&&(this.initialHeight=window.innerHeight)}},{key:"componentWillUnmount",value:function(){if(g=Math.max(g-1,0),d.canUseDOM){var e=window.innerHeight-this.initialHeight;e&&window.scrollTo(0,window.pageYOffset+e)}this.initialHeight=window.innerHeight}},{key:"render",value:function(){var e=this.props.accountForScrollbars,t=e&&g<1?{"padding-right":(0,h.getPadding)()+"px"}:{},n=(0,h.getDocumentHeight)()+"px";return c.default.createElement(f.SimpleToggle,{styles:s({"box-sizing":"border-box",overflow:"hidden",position:"relative",height:n},t)})}}]),t}(u.PureComponent);v.defaultProps={accountForScrollbars:!0},t.default=(0,m.default)(v)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(819);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(i).default}});var o=n(264);Object.defineProperty(t,"SimpleToggle",{enumerable:!0,get:function(){return r(o).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=r(o),s=n(264),l=r(s),u=function(e){var t=e.isActive,n=i(e,["isActive"]);return t?a.default.createElement(l.default,n):null};u.defaultProps=s.defaultProps,t.default=u},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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 function(t){function n(){var e,t,o,a;r(this,n);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return t=o=i(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(l))),o.listenerOptions={capture:!1,passive:!1},a=t,i(o,a)}return o(n,t),s(n,[{key:"componentDidMount",value:function(){if(c.canUseDOM){var e=this.props.touchScrollTarget,t=document.body;t&&(0,d.isTouchDevice)()&&(t.addEventListener("touchmove",d.preventTouchMove,this.listenerOptions),e&&(e.addEventListener("touchstart",d.preventInertiaScroll,this.listenerOptions),e.addEventListener("touchmove",d.allowTouchMove,this.listenerOptions)))}}},{key:"componentWillUnmount",value:function(){if(c.canUseDOM){var e=this.props.touchScrollTarget,t=document.body;t&&(0,d.isTouchDevice)()&&(t.removeEventListener("touchmove",d.preventTouchMove,this.listenerOptions),e&&(e.removeEventListener("touchstart",d.preventInertiaScroll,this.listenerOptions),e.removeEventListener("touchmove",d.allowTouchMove,this.listenerOptions)))}}},{key:"render",value:function(){return u.default.createElement(e,this.props)}}]),n}(l.PureComponent)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=a;var l=n(1),u=function(e){return e&&e.__esModule?e:{default:e}}(l),c=n(263),d=n(265)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(260),i=n(259),o=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.injectAndGetClassName)(!1,t)};t.StyleSheet=i.StyleSheet,t.StyleSheetServer=i.StyleSheetServer,t.StyleSheetTestUtils=i.StyleSheetTestUtils,t.css=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return'<svg fill="'+e+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 512 512" xml:space="preserve">\n\t\t<path d="M213.7,256L213.7,256L213.7,256L380.9,81.9c4.2-4.3,4.1-11.4-0.2-15.8l-29.9-30.6c-4.3-4.4-11.3-4.5-15.5-0.2L131.1,247.9 c-2.2,2.2-3.2,5.2-3,8.1c-0.1,3,0.9,5.9,3,8.1l204.2,212.7c4.2,4.3,11.2,4.2,15.5-0.2l29.9-30.6c4.3-4.4,4.4-11.5,0.2-15.8 L213.7,256z"/>\n\t</svg>'}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return'<svg fill="'+e+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 512 512" xml:space="preserve">\n\t\t<path d="M298.3,256L298.3,256L298.3,256L131.1,81.9c-4.2-4.3-4.1-11.4,0.2-15.8l29.9-30.6c4.3-4.4,11.3-4.5,15.5-0.2l204.2,212.7 c2.2,2.2,3.2,5.2,3,8.1c0.1,3-0.9,5.9-3,8.1L176.7,476.8c-4.2,4.3-11.2,4.2-15.5-0.2L131.3,446c-4.3-4.4-4.4-11.5-0.2-15.8 L298.3,256z"/>\n\t</svg>'}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return'<svg fill="'+e+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">\n\t\t<path d="M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4 L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1 c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1 c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z"/>\n\t</svg>'}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=t.theme,r=i(e,[]),o=d.StyleSheet.create((0,m.default)(g,n));return c.default.createElement("div",a({id:"lightboxBackdrop",className:(0,d.css)(o.container)},r))}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(2),l=r(s),u=n(1),c=r(u),d=n(42),f=n(41),h=r(f),p=n(58),m=r(p);o.contextTypes={theme:l.default.object.isRequired};var g={container:{alignItems:"center",backgroundColor:h.default.container.background,boxSizing:"border-box",display:"flex",height:"100%",justifyContent:"center",left:0,paddingBottom:h.default.container.gutter.vertical,paddingLeft:h.default.container.gutter.horizontal,paddingRight:h.default.container.gutter.horizontal,paddingTop:h.default.container.gutter.vertical,position:"fixed",top:0,width:"100%",zIndex:h.default.container.zIndex}};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=t.theme,r=e.caption,o=e.countCurrent,s=e.countSeparator,l=e.countTotal,u=e.showCount,f=i(e,["caption","countCurrent","countSeparator","countTotal","showCount"]);if(!r&&!u)return null;var h=d.StyleSheet.create((0,m.default)(g,n)),p=u?c.default.createElement("div",{className:(0,d.css)(h.footerCount)},o,s,l):c.default.createElement("span",null);return c.default.createElement("div",a({className:(0,d.css)(h.footer)},f),r?c.default.createElement("figcaption",{className:(0,d.css)(h.footerCaption)},r):c.default.createElement("span",null),p)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(2),l=r(s),u=n(1),c=r(u),d=n(42),f=n(41),h=r(f),p=n(58),m=r(p);o.propTypes={caption:l.default.oneOfType([l.default.string,l.default.element]),countCurrent:l.default.number,countSeparator:l.default.string,countTotal:l.default.number,showCount:l.default.bool},o.contextTypes={theme:l.default.object.isRequired};var g={footer:{boxSizing:"border-box",color:h.default.footer.color,cursor:"auto",display:"flex",justifyContent:"space-between",left:0,lineHeight:1.3,paddingBottom:h.default.footer.gutter.vertical,paddingLeft:h.default.footer.gutter.horizontal,paddingRight:h.default.footer.gutter.horizontal,paddingTop:h.default.footer.gutter.vertical},footerCount:{color:h.default.footer.count.color,fontSize:h.default.footer.count.fontSize,paddingLeft:"1em"},footerCaption:{flex:"1 1 0"}};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=t.theme,r=e.customControls,o=e.onClose,s=e.showCloseButton,l=e.closeButtonTitle,u=i(e,["customControls","onClose","showCloseButton","closeButtonTitle"]),f=d.StyleSheet.create((0,m.default)(y,n));return c.default.createElement("div",a({className:(0,d.css)(f.header)},u),r||c.default.createElement("span",null),!!s&&c.default.createElement("button",{title:l,className:(0,d.css)(f.close),onClick:o},c.default.createElement(v.default,{fill:!!n.close&&n.close.fill||h.default.close.fill,type:"close"})))}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(2),l=r(s),u=n(1),c=r(u),d=n(42),f=n(41),h=r(f),p=n(58),m=r(p),g=n(267),v=r(g);o.propTypes={customControls:l.default.array,onClose:l.default.func.isRequired,showCloseButton:l.default.bool},o.contextTypes={theme:l.default.object.isRequired};var y={header:{display:"flex",justifyContent:"space-between",height:h.default.header.height},close:{background:"none",border:"none",cursor:"pointer",outline:"none",position:"relative",top:0,verticalAlign:"bottom",zIndex:1,height:40,marginRight:-10,padding:10,width:40}};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(2),c=r(u),d=n(1),f=r(d),h=n(42),p=n(829),m=r(p),g=n(266),v=r(g),y=n(41),b=r(y),w=h.StyleSheet.create({paginatedThumbnails:{bottom:b.default.container.gutter.vertical,height:b.default.thumbnail.size,padding:"0 50px",position:"absolute",textAlign:"center",whiteSpace:"nowrap",left:"50%",transform:"translateX(-50%)"}}),E={height:b.default.thumbnail.size+2*b.default.thumbnail.gutter,width:40},T=function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={hasCustomPage:!1},n.gotoPrev=n.gotoPrev.bind(n),n.gotoNext=n.gotoNext.bind(n),n}return a(t,e),l(t,[{key:"componentWillReceiveProps",value:function(e){e.currentImage!==this.props.currentImage&&this.setState({hasCustomPage:!1})}},{key:"getFirst",value:function(){var e=this.props,t=e.currentImage,n=e.offset;return this.state.hasCustomPage?this.clampFirst(this.state.first):this.clampFirst(t-n)}},{key:"setFirst",value:function(e,t){var n=this.state.first;e&&(e.preventDefault(),e.stopPropagation()),n!==t&&this.setState({hasCustomPage:!0,first:t})}},{key:"gotoPrev",value:function(e){this.setFirst(e,this.getFirst()-this.props.offset)}},{key:"gotoNext",value:function(e){this.setFirst(e,this.getFirst()+this.props.offset)}},{key:"clampFirst",value:function(e){var t=this.props,n=t.images,r=t.offset,i=2*r+1;return e<0?0:e+i>n.length?n.length-i:e}},{key:"renderArrowPrev",value:function(){return this.getFirst()<=0?null:f.default.createElement(v.default,{direction:"left",size:"small",icon:"arrowLeft",onClick:this.gotoPrev,style:E,title:"Previous (Left arrow key)",type:"button"})}},{key:"renderArrowNext",value:function(){var e=this.props,t=e.offset,n=e.images,r=2*t+1;return this.getFirst()+r>=n.length?null:f.default.createElement(v.default,{direction:"right",size:"small",icon:"arrowRight",onClick:this.gotoNext,style:E,title:"Next (Right arrow key)",type:"button"})}},{key:"render",value:function(){var e=this.props,t=e.images,n=e.currentImage,r=e.onClickThumbnail,i=e.offset,o=2*i+1,a=[],l=0;return t.length<=o?a=t:(l=this.getFirst(),a=t.slice(l,l+o)),f.default.createElement("div",{className:(0,h.css)(w.paginatedThumbnails)},this.renderArrowPrev(),a.map(function(e,t){return f.default.createElement(m.default,s({key:l+t},e,{index:l+t,onClick:r,active:l+t===n}))}),this.renderArrowNext())}}]),t}(d.Component);t.default=T,T.propTypes={currentImage:c.default.number,images:c.default.array,offset:c.default.number,onClickThumbnail:c.default.func.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=e.index,r=e.src,i=e.thumbnail,o=e.active,a=e.onClick,s=t.theme,c=i||r,d=u.StyleSheet.create((0,h.default)(p,s));return l.default.createElement("div",{className:(0,u.css)(d.thumbnail,o&&d.thumbnail__active),onClick:function(e){e.preventDefault(),e.stopPropagation(),a(n)},style:{backgroundImage:'url("'+c+'")'}})}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),a=r(o),s=n(1),l=r(s),u=n(42),c=n(41),d=r(c),f=n(58),h=r(f);i.propTypes={active:a.default.bool,index:a.default.number,onClick:a.default.func.isRequired,src:a.default.string,thumbnail:a.default.string},i.contextTypes={theme:a.default.object.isRequired};var p={thumbnail:{backgroundPosition:"center",backgroundSize:"cover",borderRadius:2,boxShadow:"inset 0 0 0 1px hsla(0,0%,100%,.2)",cursor:"pointer",display:"inline-block",height:d.default.thumbnail.size,margin:d.default.thumbnail.gutter,overflow:"hidden",width:d.default.thumbnail.size},thumbnail__active:{boxShadow:"inset 0 0 0 2px "+d.default.thumbnail.activeBorderColor}};t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(2),u=r(l),c=n(1),d=r(c),f=n(831),h=n(15),p=n(837),m=r(p),g=function(e){function t(){i(this,t);var e=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.portalElement=null,e}return a(t,e),s(t,[{key:"componentDidMount",value:function(){var e=document.createElement("div");document.body.appendChild(e),this.portalElement=e,this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){(0,h.render)(d.default.createElement(m.default,{context:this.context},d.default.createElement("div",null,d.default.createElement("style",null,"\n\t\t\t\t.fade-enter { opacity: 0.01; }\n\t\t\t\t.fade-enter.fade-enter-active { opacity: 1; transition: opacity 200ms; }\n\t\t\t\t.fade-leave { opacity: 1; }\n\t\t\t\t.fade-leave.fade-leave-active { opacity: 0.01; transition: opacity 200ms; }\n\t\t"),d.default.createElement(f.TransitionGroup,this.props,d.default.createElement(f.CSSTransition,{timeout:{enter:200,exit:200},classNames:"fade"},this.props.children)))),this.portalElement)}},{key:"componentWillUnmount",value:function(){(0,h.unmountComponentAtNode)(this.portalElement),document.body.removeChild(this.portalElement)}},{key:"render",value:function(){return null}}]),t}(c.Component);t.default=g,g.contextTypes={theme:u.default.object.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(832),o=r(i),a=n(836),s=r(a),l=n(121),u=r(l),c=n(35),d=r(c);e.exports={Transition:d.default,TransitionGroup:u.default,ReplaceTransition:s.default,CSSTransition:o.default}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(65),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(l),c=n(833),d=r(c),f=n(835),h=r(f),p=n(1),m=r(p),g=n(35),v=r(g),y=n(182),b=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,d.default)(e,t)})},w=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,h.default)(e,t)})},E=(s({},v.default.propTypes,{classNames:y.classNamesShape,onEnter:u.func,onEntering:u.func,onEntered:u.func,onExit:u.func,onExiting:u.func,onExited:u.func}),function(e){function t(){var n,r,a;i(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=o(this,e.call.apply(e,[this].concat(l))),r.onEnter=function(e,t){var n=r.getClassNames(t?"appear":"enter"),i=n.className;r.removeClasses(e,"exit"),b(e,i),r.props.onEnter&&r.props.onEnter(e)},r.onEntering=function(e,t){var n=r.getClassNames(t?"appear":"enter"),i=n.activeClassName;r.reflowAndAddClass(e,i),r.props.onEntering&&r.props.onEntering(e)},r.onEntered=function(e,t){var n=r.getClassNames("enter"),i=n.doneClassName;r.removeClasses(e,t?"appear":"enter"),b(e,i),r.props.onEntered&&r.props.onEntered(e)},r.onExit=function(e){var t=r.getClassNames("exit"),n=t.className;r.removeClasses(e,"appear"),r.removeClasses(e,"enter"),b(e,n),r.props.onExit&&r.props.onExit(e)},r.onExiting=function(e){var t=r.getClassNames("exit"),n=t.activeClassName;r.reflowAndAddClass(e,n),r.props.onExiting&&r.props.onExiting(e)},r.onExited=function(e){var t=r.getClassNames("exit"),n=t.doneClassName;r.removeClasses(e,"exit"),b(e,n),r.props.onExited&&r.props.onExited(e)},r.getClassNames=function(e){var t=r.props.classNames,n="string"!==typeof t?t[e]:t+"-"+e;return{className:n,activeClassName:"string"!==typeof t?t[e+"Active"]:n+"-active",doneClassName:"string"!==typeof t?t[e+"Done"]:n+"-done"}},a=n,o(r,a)}return a(t,e),t.prototype.removeClasses=function(e,t){var n=this.getClassNames(t),r=n.className,i=n.activeClassName,o=n.doneClassName;r&&w(e,r),i&&w(e,i),o&&w(e,o)},t.prototype.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,b(e,t))},t.prototype.render=function(){var e=s({},this.props);return delete e.classNames,m.default.createElement(v.default,s({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(m.default.Component));E.propTypes={},t.default=E,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){e.classList?e.classList.add(t):(0,o.default)(e,t)||("string"===typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(834),o=function(e){return e&&e.__esModule?e:{default:e}}(i);e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"===typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(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)}t.__esModule=!0;var l=n(65),u=r(l),c=n(1),d=r(c),f=n(15),h=n(121),p=r(h),m=(u.default.bool.isRequired,function(e){function t(){var n,r,i;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=a(this,e.call.apply(e,[this].concat(l))),g.call(r),i=n,a(r,i)}return s(t,e),t.prototype.handleLifecycle=function(e,t,n){var r,i=this.props.children,o=d.default.Children.toArray(i)[t];o.props[e]&&(r=o.props)[e].apply(r,n),this.props[e]&&this.props[e]((0,f.findDOMNode)(this))},t.prototype.render=function(){var e=this.props,t=e.children,n=e.in,r=i(e,["children","in"]),o=d.default.Children.toArray(t),a=o[0],s=o[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,d.default.createElement(p.default,r,n?d.default.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):d.default.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(d.default.Component)),g=function(){var e=this;this.handleEnter=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEnter",0,n)},this.handleEntering=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEntering",0,n)},this.handleEntered=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEntered",0,n)},this.handleExit=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExit",1,n)},this.handleExiting=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExiting",1,n)},this.handleExited=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExited",1,n)}};m.propTypes={},t.default=m,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(2),l=function(e){return e&&e.__esModule?e:{default:e}}(s),u=n(1),c=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),a(t,[{key:"getChildContext",value:function(){return this.props.context}},{key:"render",value:function(){return u.Children.only(this.props.children)}}]),t}(u.Component);c.propTypes={context:l.default.object.isRequired},c.childContextTypes={theme:l.default.object},t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=r(i),a=n(1),s=r(a),l=n(42),u=function(e){var t=l.StyleSheet.create(d(e));return s.default.createElement("div",{className:(0,l.css)(t.spinner)},s.default.createElement("div",{className:(0,l.css)(t.ripple)}))};u.propTypes={color:o.default.string,size:o.default.number};var c={"0%":{top:"50%",left:"50%",width:0,height:0,opacity:1},"100%":{top:0,left:0,width:"100%",height:"100%",opacity:0}},d=function(e){var t=e.color,n=e.size;return{spinner:{display:"inline-block",position:"relative",width:n,height:n},ripple:{position:"absolute",border:"4px solid "+t,opacity:1,borderRadius:"50%",animationName:c,animationDuration:"1s",animationTimingFunction:"cubic-bezier(0, 0.2, 0.8, 1)",animationIterationCount:"infinite"}}};t.default=u},function(e,t,n){"use strict";function r(e){var t=this;e.forEach(function(e){return t[e]=t[e].bind(t)})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=!("undefined"===typeof window||!window.document||!window.document.createElement)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return f});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(40)),c=n.n(u),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.updateDim=function(){(window.innerWidth<n.minminThres||window.innerWidth<=n.maxThres&&window.innerWidth>n.minThres)&&!n.state.smallerCardBody?n.setState({smallerCardBody:!0,cardBody:n.minBody}):window.innerWidth>=n.minminThres&&(window.innerWidth>n.maxThres||window.innerWidth<=n.minThres)&&n.state.smallerCardBody&&n.setState({smallerCardBody:!1,cardBody:n.maxBody})},n.hover=function(e){var t=n.state.hover;t[e]=!0,n.setState({hover:t})},n.removeHover=function(e){var t=n.state.hover;t[e]=!1,n.setState({hover:t})},n.setLoaded=function(e){if(!n.state.loaded[e]){var t=n.state.loaded;t[e]=!0,n.setState({loaded:t})}},n.state={hover:[],data:[],loaded:[],filterTo:"All",cardBody:80},window.addEventListener("resize",n.updateDim),n.maxThres=1400,n.minThres=768,n.minminThres=380,n.mainColor="#420dab",n.sections=["Diamond","Gold","Silver","Bronze"],n.minBody=70,n.maxBody=75,n}return o(t,e),d(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;this.setState({data:e.data}),e.data.forEach(function(e,n){var r=new Image;r.src=e.PICTURE,r.onload=function(){return t.setLoaded(n)}})}},{key:"componentWillMount",value:function(){var e=this;this.setState({data:this.props.data}),this.props.data.forEach(function(t,n){var r=new Image;r.src=t.PICTURE,r.onload=function(){return e.setLoaded(n)}}),window.innerWidth<this.minminThres||window.innerWidth<=this.maxThres&&window.innerWidth>this.minThres?this.setState({smallerCardBody:!0,cardBody:this.minBody}):window.innerWidth>=this.minminThres&&(window.innerWidth>this.maxThres||window.innerWidth<=this.minThres)&&this.setState({smallerCardBody:!1,cardBody:this.maxBody})}},{key:"render",value:function(){var e=this,t=this.state.data.sort(function(e,t){return e.NAME<t.NAME?-1:t.NAME<e.NAME?1:0});return s.a.createElement("div",null,s.a.createElement("div",{style:{margin:"auto",width:"90%",marginTop:20,textAlign:"center",fontSize:"24px"}},"We want to thank all of our sponsors for their support. Our project would not have been possible without them!"),this.sections.map(function(n,r){return s.a.createElement("div",{key:"sect"+r,style:{marginBottom:20,marginTop:20}},s.a.createElement("div",{style:{margin:"auto",width:"100%",textAlign:"center",fontSize:50}},n),s.a.createElement(l.Grid,{fluid:!0,style:{padding:0,margin:0}},s.a.createElement(l.Row,{style:{padding:0,margin:0},center:"xs"},t&&t.map(function(t,r){var i=void 0;switch(n){case"Diamond":i=t.FILTER&&-1===t.FILTER.indexOf("Diamond");break;case"Gold":i=t.FILTER&&-1===t.FILTER.indexOf("Gold");break;case"Silver":i=t.FILTER&&-1===t.FILTER.indexOf("Silver");break;case"Bronze":i=t.FILTER&&-1===t.FILTER.indexOf("Bronze");break;default:i=t.FILTER}if(i)return null;var o=t.XPOS?t.XPOS:50,a=t.YPOS?t.YPOS:20,u=t.CUSTSIZE?t.CUSTSIZE:100;return s.a.createElement(l.Col,{md:3,key:"subimg"+r,style:{textAlign:"center",margin:10,transition:"height 0.5s",maxWidth:380,minWidth:280}},s.a.createElement("a",{href:t.LINK?t.LINK:"#",target:"_blank"},s.a.createElement("div",{style:{width:"100%",maxWidth:380,minWidth:280,height:"auto",minHeight:380,backgroundColor:e.state.loaded[r]?"#f1f1f1":"white",margin:"auto",borderRadius:20,overflow:"hidden",cursor:""===t.BIO?"normal":"pointer",position:"relative",filter:t.FILTER&&-1!==t.FILTER.indexOf(e.state.filterTo)||"All"===e.state.filterTo?"":"blur(5px)",boxShadow:"5px 5px 5px #999999",transition:"filter 0.2s, background-color: 0.2s"},onMouseEnter:function(){return e.hover(r)},onMouseLeave:function(){return e.removeHover(r)}},s.a.createElement(c.a,{when:!0===e.state.loaded[r]},s.a.createElement("div",{style:{position:"absolute",width:"100%",top:0,left:0,height:e.state.cardBody+"%",backgroundColor:"white",background:"url("+t.PICTURE+") no-repeat "+o+"% "+a+"%",backgroundPositionY:"50%",backgroundSize:u+"%"}})),s.a.createElement("div",{style:{position:"absolute",width:"100%",bottom:0,left:0,height:100-e.state.cardBody+"%",backgroundColor:e.state.hover[r]?e.mainColor:"white",transition:"height 0.5s, background-color 0.5s, color 0.5s",color:e.state.hover[r]?"white":"black"}},s.a.createElement(c.a,{duration:500,clear:!0},s.a.createElement("div",{style:{position:"absolute",textAlign:"center",margin:"auto",left:0,right:0}},s.a.createElement("div",{style:{textTransform:"uppercase",marginTop:10,fontWeight:"bold",fontSize:20,letterSpacing:3,textOverflow:"ellipsis",overflow:"hidden"}},t.NAME),s.a.createElement("div",{style:{marginTop:10}},t.SUBTEXT)))))))}))))}))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return k});var a=n(1),s=n.n(a),l=n(197),u=n.n(l),c=n(199),d=n.n(c),f=n(198),h=n.n(f),p=n(19),m=n.n(p),g=n(221),v=n.n(g),y=n(87),b=n.n(y),w=n(89),E=n.n(w),T=n(843),_=(n.n(T),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),k=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=function(e,t){n.setState({value:t})},n.state={value:0,accObjs:[]},n}return o(t,e),_(t,[{key:"componentWillMount",value:function(){this.setState({accObjs:this.props.accObjs})}},{key:"componentWillReceiveProps",value:function(e){var t=e.accObjs;this.setState({accObjs:t})}},{key:"render",value:function(){var e=this.state.accObjs;return s.a.createElement("div",{style:{marginTop:20,marginBottom:20,marginLeft:"5%",marginRight:"5%"}},e.map(function(e,t){return s.a.createElement(u.a,{key:"acc-"+t},s.a.createElement(d.a,{expandIcon:s.a.createElement(v.a,null)},s.a.createElement(m.a,null,e.title)),s.a.createElement(h.a,{className:"accordionContent"},b()().use(E.a).processSync(e.data).contents))}))}}]),t}(a.Component)},function(e,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 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 o(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)}n.d(t,"a",function(){return p});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(87)),c=n.n(u),d=n(89),f=n.n(d),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={spObjs:[]},n}return o(t,e),h(t,[{key:"componentWillMount",value:function(){this.setState({spObjs:this.props.spObjs})}},{key:"componentWillReceiveProps",value:function(e){var t=e.spObjs;this.setState({spObjs:t})}},{key:"render",value:function(){var e=this.state.spObjs;return s.a.createElement("div",{style:{marginTop:20,marginBottom:20,marginLeft:"5%",marginRight:"5%"}},s.a.createElement(l.Grid,{fluid:!0},s.a.createElement(l.Row,null,e.map(function(e,t){var n=e.title.split(";"),r=n[0],i=n[1]?n[1]:50,o=n[2]?n[2]:50;return"IMAGE"===r?s.a.createElement(l.Col,{md:6,style:{textAlign:"center"},key:"split"+t},s.a.createElement("div",{style:{backgroundColor:"white",background:"url("+e.data.trim()+") "+i+"% "+o+"% no-repeat",backgroundSize:"cover",height:"100%",width:"80%",margin:"auto",boxShadow:"5px 5px 10px gray"}})):s.a.createElement(l.Col,{md:6,key:"split"+t},s.a.createElement("div",null,c()().use(f.a).processSync(e.data).contents))}))))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return h});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(67)),c=n(86),d=n(846),f=(n.n(d),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),h=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={navParams:n.props.navParams},n.iconLeft=c.b,n.iconRight=c.c,n}return o(t,e),f(t,[{key:"componentWillMount",value:function(){this.setState({navParams:this.props.navParams})}},{key:"componentWillReceiveProps",value:function(e){var t=e.navParams;this.setState({navParams:t})}},{key:"render",value:function(){var e=this.state.navParams;return s.a.createElement("div",{style:{marginTop:30,marginBottom:30}},s.a.createElement(l.Grid,{fluid:!0},s.a.createElement(l.Row,{style:{width:"100%",fontSize:"24px"}},s.a.createElement(l.Col,{style:{width:"50%",textAlign:"left"}},e.LEFT&&e.LEFTNAME&&s.a.createElement("div",null,s.a.createElement("a",{href:e.LEFT,className:"navLinkA"},s.a.createElement(u.a,{icon:this.iconLeft,style:{marginRight:10}})," ",e.LEFTNAME))),s.a.createElement(l.Col,{style:{width:"50%",textAlign:"right"}},e.RIGHT&&e.RIGHTNAME&&s.a.createElement("div",null,s.a.createElement("a",{href:e.RIGHT,className:"navLinkA"},e.RIGHTNAME," ",s.a.createElement(u.a,{icon:this.iconRight,style:{marginLeft:10}})," "))))))}}]),t}(a.Component)},function(e,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 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 o(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)}n.d(t,"a",function(){return g});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(67)),c=n(227),d=n(86),f=n(848),h=n.n(f),p=n(849),m=(n.n(p),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),g=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.addHover=function(t){var n=e.state.hover;n[t]=!0,e.setState({hover:n})},e.removeHover=function(t){var n=e.state.hover;n[t]=!1,e.setState({hover:n})},e.updateDim=function(){window.innerWidth<=e.minWidth&&!e.state.minimized?e.setState({minimized:!0}):window.innerWidth>e.minWidth&&e.state.minimized&&e.setState({minimized:!1})},e.state={hover:[],minimized:window.innerWidth<=e.minWidth},e.minWidth=420,e.items=[{icon:c.a,link:"https://www.facebook.com/WashingtoniGEM/",alt:"Washington iGEM Facebook"},{icon:c.c,link:"https://www.instagram.com/washington_igem/",alt:"Washington iGEM Instagram"},{logo:{purple:"https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png"},link:"https://2018.igem.org/Team:Washington",alt:"Team Washington"},{icon:c.b,link:"https://github.com/uwigem",alt:"Washington iGEM Github"},{icon:d.e,link:"mailto:uwigem@uw.edu",alt:"Washington iGEM Email"}],e}return o(t,e),m(t,[{key:"componentWillMount",value:function(){window.addEventListener("resize",this.updateDim)}},{key:"render",value:function(){var e=this;return s.a.createElement("div",{style:{width:"100%",height:"30vh",backgroundColor:"black",textAlign:"center",fontSize:"default"}},s.a.createElement(l.Grid,{fluid:!0},s.a.createElement(l.Row,{center:"xs",middle:"xs",style:{height:"30vh"}},s.a.createElement(h.a,{clear:!0,cascade:!0,duration:1e3},this.items.map(function(t,n){return s.a.createElement(l.Col,{key:"footbar"+n},!t.logo&&s.a.createElement("a",{href:t.link,alt:t.alt},s.a.createElement(u.a,{icon:t.icon,size:e.state.minimized?"1x":"2x",className:"icon",style:{color:e.state.hover[n]?"#420dab":"white",margin:10},onMouseEnter:function(){e.addHover(n)},onMouseLeave:function(){e.removeHover(n)}})),t.logo&&s.a.createElement("a",{href:t.link,alt:t.alt},s.a.createElement("div",{style:{margin:10,position:"relative",width:e.state.minimized?40:80,zIndex:2},onMouseEnter:function(){e.addHover(n)},onMouseLeave:function(){e.removeHover(n)}},s.a.createElement("svg",{style:{position:"absolute",width:e.state.minimized?40:80,top:e.state.minimized?-25:-42,left:e.state.minimized?0:7,zIndex:2,fill:"#ffffff",stroke:"#ffffff"},id:"white",xmlns:"http://www.w3.org/2000/svg",viewBox:"-205 297 200 200"},s.a.createElement("polygon",{className:"white-1",points:"-127.9,356.01 -120.88,354.88 -153.03,330.65 -144.88,367.78"}),s.a.createElement("polygon",{className:"white-1",points:"-49.41,362.59 -115,303.92 -115.44,358.5 -126,360.61 -154.5,379.51 -166.44,407.03 -187.93,421.25 -195.11,427.34 -198.52,439 -189.37,445.82 -184.71,451.02 -175.2,456.76 -177,451.56 -170.37,450.3 -156.2,449.05 -149.56,444.05 -135.2,450.1 -141.84,470.55 -149,472.37 -144.15,478.28 -145.58,484.74 -130.16,485.1 -88.37,451.56 -78.86,454.97 -59.86,459.97 -43.54,479.16 -36.41,421.22 -33.55,393.86 -33.44,383.86"})),s.a.createElement("svg",{style:{position:"absolute",width:e.state.minimized?40:80,top:e.state.minimized?-25:-42,left:e.state.minimized?0:7,opacity:e.state.hover[n]?1:0,transition:"opacity 0.2s",zIndex:3},id:"purple",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},s.a.createElement("polygon",{className:"cls-1",points:"51.97 33.65 60.12 70.78 66.91 50.4 51.97 33.65"}),s.a.createElement("polygon",{className:"cls-2",points:"84.12 57.88 51.97 33.65 66.91 50.4 77.1 59.01 84.12 57.88"}),s.a.createElement("polygon",{className:"cls-3",points:"60.12 70.78 77.1 59.01 66.91 50.4 60.12 70.78"}),s.a.createElement("polygon",{className:"cls-4",points:"90.01 6.92 89.56 61.5 97.03 47.91 90.01 6.92"}),s.a.createElement("polygon",{className:"cls-5",points:"100.31 22.4 95.97 41.49 90.01 6.92 100.31 22.4"}),s.a.createElement("polygon",{className:"cls-2",points:"155.62 65.59 133.03 45.87 133.03 60.8 155.62 65.59"}),s.a.createElement("polygon",{className:"cls-2",points:"116.76 57.55 133.03 60.8 133.03 45.87 116.76 57.55"}),s.a.createElement("polygon",{className:"cls-3",points:"155.62 65.59 129.01 78.22 106.23 71.52 129.97 60.23 155.62 65.59"}),s.a.createElement("polygon",{className:"cls-2",points:"171.51 86.84 155.62 65.59 132.91 76.37 171.51 86.84"}),s.a.createElement("polygon",{className:"cls-2",points:"129.01 78.22 152.78 94.98 171.4 96.84 171.51 86.84 132.91 76.37 129.01 78.22"}),s.a.createElement("polygon",{className:"cls-6",points:"89.56 61.5 105.41 53.8 116.76 57.55 89.56 61.5"}),s.a.createElement("polygon",{className:"cls-3",points:"106.23 71.52 62.85 87.16 78.98 63.61 89.56 61.5 116.76 57.55 129.97 60.23 106.23 71.52"}),s.a.createElement("polygon",{className:"cls-3",points:"152.78 94.98 132.84 92.95 124.13 79.55 129.01 78.22 152.78 94.98"}),s.a.createElement("polygon",{className:"cls-2",points:"87.92 93.48 100.28 103.75 129.71 103.92 108.11 85.47 87.92 93.48"}),s.a.createElement("polygon",{className:"cls-2",points:"139.63 104.97 132.84 92.95 124.13 79.55 108.11 85.47 129.71 103.92 139.63 104.97"}),s.a.createElement("polygon",{className:"cls-1",points:"62.85 87.16 87.92 93.48 108.11 85.47 124.13 79.55 129.01 78.22 106.23 71.52 62.85 87.16"}),s.a.createElement("polygon",{className:"cls-1",points:"44.56 95.74 50.48 82.51 78.98 63.61 62.85 87.16 44.56 95.74"}),s.a.createElement("polygon",{className:"cls-7",points:"48.39 106.54 62.85 87.16 44.56 95.74 48.39 106.54"}),s.a.createElement("polygon",{className:"cls-3",points:"91.57 108.45 100.28 103.75 87.92 93.48 79.91 99.75 91.57 108.45"}),s.a.createElement("polygon",{className:"cls-3",points:"62.85 87.16 79.91 99.75 87.92 93.48 62.85 87.16"}),s.a.createElement("polygon",{className:"cls-2",points:"56.23 102.53 59.88 112.28 71.38 106.01 56.23 102.53"}),s.a.createElement("polygon",{className:"cls-8",points:"55.93 96.49 60.75 103.4 56.23 102.53 57.81 106.7 49.96 104.45 55.93 96.49"}),s.a.createElement("polygon",{className:"cls-4",points:"62.85 87.16 55.93 96.49 60.75 103.4 71.38 106.01 79.91 99.75 62.85 87.16"}),s.a.createElement("polygon",{className:"cls-9",points:"132.84 92.95 171.4 96.84 168.58 124.25 139.63 104.97 132.84 92.95"}),s.a.createElement("polygon",{className:"cls-2",points:"38.54 110.03 44.56 95.74 48.39 106.54 50.1 112.87 38.54 110.03"}),s.a.createElement("polygon",{className:"cls-10",points:"55.6 115.33 59.88 112.28 57.81 106.7 49.96 104.45 48.39 106.54 50.1 112.87 55.6 115.33"}),s.a.createElement("polygon",{className:"cls-11",points:"91.57 108.45 71.38 106.01 79.91 99.75 91.57 108.45"}),s.a.createElement("polygon",{className:"cls-11",points:"55.6 115.33 59.88 112.28 71.38 106.01 91.57 108.45 55.6 115.33"}),s.a.createElement("polygon",{className:"cls-10",points:"73.8 125.95 91.57 108.45 55.6 115.33 73.8 125.95"}),s.a.createElement("polygon",{className:"cls-11",points:"100.28 103.75 123.28 119.88 142.8 107.37 139.63 104.97 129.71 103.92 100.28 103.75"}),s.a.createElement("polygon",{className:"cls-10",points:"140.06 139.41 140.06 118.43 135.8 111.9 123.28 119.88 140.06 139.41"}),s.a.createElement("polygon",{className:"cls-12",points:"168.58 124.25 140.06 118.43 135.8 111.9 142.8 107.37 168.58 124.25"}),s.a.createElement("polygon",{className:"cls-13",points:"140.06 139.41 164.5 151.51 140.06 118.43 140.06 139.41"}),s.a.createElement("polygon",{className:"cls-9",points:"168.58 124.25 164.5 151.51 140.06 118.43 168.58 124.25"}),s.a.createElement("polygon",{className:"cls-13",points:"140.06 139.41 145.13 162.99 161.45 182.18 164.5 151.51 140.06 139.41"}),s.a.createElement("polygon",{className:"cls-12",points:"91.86 133.57 123.28 119.88 131.86 129.81 104.42 142.9 91.86 133.57"}),s.a.createElement("polygon",{className:"cls-11",points:"116.61 154.56 140.06 139.41 131.86 129.81 104.42 142.9 116.61 154.56"}),s.a.createElement("polygon",{className:"cls-14",points:"145.13 162.99 126.12 157.97 140.06 139.41 145.13 162.99"}),s.a.createElement("polygon",{className:"cls-14",points:"116.61 154.56 126.12 157.97 140.06 139.41 116.61 154.56"}),s.a.createElement("polygon",{className:"cls-3",points:"17.07 124.25 38.54 110.03 50.1 112.87 17.07 124.25"}),s.a.createElement("polygon",{className:"cls-10",points:"35.18 128.55 50.1 112.87 17.07 124.25 23.88 128.37 35.18 128.55"}),s.a.createElement("polygon",{className:"cls-15",points:"73.8 125.95 55.6 115.33 50.1 112.87 38.59 124.96 73.8 125.95"}),s.a.createElement("polygon",{className:"cls-9",points:"23.88 128.37 22.27 136.62 36.98 141.64 73.8 125.95 38.59 124.96 35.18 128.55 23.88 128.37"}),s.a.createElement("polygon",{className:"cls-7",points:"17.07 124.25 9.89 130.34 22.27 136.62 23.88 128.37 17.07 124.25"}),s.a.createElement("polygon",{className:"cls-3",points:"6.48 142 22.27 136.62 9.89 130.34 6.48 142"}),s.a.createElement("polygon",{className:"cls-2",points:"15.63 148.82 22.27 136.62 6.48 142 15.63 148.82"}),s.a.createElement("polygon",{className:"cls-11",points:"36.98 141.64 34.64 153.3 28.01 154.56 29.8 159.76 20.3 154.02 15.63 148.82 22.27 136.62 36.98 141.64"}),s.a.createElement("polygon",{className:"cls-9",points:"100.28 103.75 91.57 108.45 83.25 116.53 99.75 122.27 123.28 119.88 100.28 103.75"}),s.a.createElement("polygon",{className:"cls-9",points:"73.8 125.95 91.86 133.57 123.28 119.88 99.75 122.27 83.25 116.53 73.8 125.95"}),s.a.createElement("polygon",{className:"cls-16",points:"82.53 155.46 104.42 142.9 116.61 154.56 82.53 155.46"}),s.a.createElement("polygon",{className:"cls-11",points:"92.94 173.21 116.61 154.56 82.53 155.46 74.28 169.8 92.94 173.21"}),s.a.createElement("polygon",{className:"cls-17",points:"74.82 188.1 92.94 173.21 74.28 169.8 69.98 178.41 74.82 188.1"}),s.a.createElement("polygon",{className:"cls-9",points:"59.4 187.74 69.98 178.41 74.82 188.1 59.4 187.74"}),s.a.createElement("polygon",{className:"cls-3",points:"82.53 155.46 69.8 153.12 63.16 173.57 60.83 181.28 59.4 187.74 69.98 178.41 74.28 169.8 82.53 155.46"}),s.a.createElement("polygon",{className:"cls-14",points:"55.45 147.03 69.8 153.12 82.53 155.46 81.08 145.18 55.45 147.03"}),s.a.createElement("polygon",{className:"cls-18",points:"36.98 141.64 51.32 135.37 68.85 146.06 55.45 147.03 48.81 152.05 34.64 153.3 36.98 141.64"}),s.a.createElement("polygon",{className:"cls-2",points:"56.23 102.53 59.88 112.28 71.38 106.01 56.23 102.53"}),s.a.createElement("polygon",{className:"cls-2",points:"116.05 30.25 90.01 6.92 100.31 22.4 116.05 30.25"}),s.a.createElement("polygon",{className:"cls-1",points:"100.31 22.4 110.79 34.64 116.05 30.25 100.31 22.4"}),s.a.createElement("polygon",{className:"cls-11",points:"89.56 61.5 105.41 53.8 97.03 47.91 89.56 61.5"}),s.a.createElement("polygon",{className:"cls-19",points:"110.79 34.64 97.03 47.91 105.41 53.8 116.76 57.55 110.79 34.64"}),s.a.createElement("polygon",{className:"cls-20",points:"100.31 22.4 95.97 41.49 97.03 47.91 110.79 34.64 100.31 22.4"}),s.a.createElement("polygon",{className:"cls-2",points:"133.03 45.87 116.05 30.25 110.79 34.64 116.76 57.55 133.03 45.87"}),s.a.createElement("polygon",{className:"cls-14",points:"104.42 142.9 81.08 145.18 82.53 155.46 104.42 142.9"}),s.a.createElement("polygon",{className:"cls-10",points:"73.8 125.95 51.32 135.37 68.85 146.06 81.08 145.18 104.42 142.9 91.86 133.57 73.8 125.95"}),s.a.createElement("polygon",{className:"cls-10",points:"55.98 175.37 63.16 173.57 60.83 181.28 55.98 175.37"}),s.a.createElement("polygon",{className:"cls-1",points:"87.92 93.48 108.11 85.47 129.71 103.92 100.28 103.75 87.92 93.48"})))))})))))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){var n=t.left,r=t.right,i=t.up,o=t.down,a=t.top,s=t.bottom,l=t.mirror,c=t.opposite,f=(n?1:0)|(r?2:0)|(a||o?4:0)|(s||i?8:0)|(l?16:0)|(c?32:0)|(e?64:0);if(d.hasOwnProperty(f))return d[f];if(!l!=!(e&&c)){var h=[r,n,s,a,o,i];n=h[0],r=h[1],a=h[2],s=h[3],i=h[4],o=h[5]}var p=n||r,m=a||s||i||o,g=p||m,v=void 0,y=void 0,b=void 0,w=void 0,E=void 0;return g?e?(y=p?(n?"":"-")+"42px":"0",b=m?(o||a?"-":"")+"60px":"0",w=p?(r?"":"-")+"2000px":"0",E=m?(i||s?"":"-")+"2000px":"0",v="40% {\n          opacity: 1;\n          transform: scale3d(.475, .475, .475) translate3d("+y+", "+b+", 0);\n        }\n        to {\n          opacity: 0;\n          transform: scale(.1) translate3d("+w+", "+E+", 0);\n          transform-origin: "+(m?"center bottom":(n?"left":"right")+" center")+";\n        }"):(y=p?(n?"-":"")+"1000px":"0",b=m?(o||a?"-":"")+"1000px":"0",w=p?(r?"-":"")+"10px":"0",E=m?(i||s?"-":"")+"60px":"0",v="from {\n          opacity: 0;\n          transform: scale3d(.1, .1, .1) translate3d("+y+", "+b+", 0);\n          animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);\n        }\n        60% {\n          opacity: 1;\n          transform: scale3d(.475, .475, .475) translate3d("+w+", "+E+", 0);\n          animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);\n        }"):v=(e?"to":"from")+" {opacity: 0; transform: scale3d(.1, .1, .1);} "+(e?"from":"to")+" { opacity: 1; transform: none;}",d[f]=(0,u.animation)(v),d[f]}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.defaults,t=e.children,n=(e.out,e.forever),o=e.timeout,a=e.duration,s=void 0===a?u.defaults.duration:a,c=e.delay,d=void 0===c?u.defaults.delay:c,f=e.count,h=void 0===f?u.defaults.count:f,p=r(e,["children","out","forever","timeout","duration","delay","count"]),m={make:i,duration:void 0===o?s:o,delay:d,forever:n,count:h,style:{animationFillMode:"both"},reverse:p.left};return(0,l.default)(p,m,m,t)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),s=n(225),l=function(e){return e&&e.__esModule?e:{default:e}}(s),u=n(135),c={out:a.bool,left:a.bool,right:a.bool,top:a.bool,bottom:a.bool,mirror:a.bool,opposite:a.bool,duration:a.number,timeout:a.number,delay:a.number,count:a.number,forever:a.bool},d={};o.propTypes=c,t.default=o,e.exports=t.default},function(e,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")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){r(this,e)}return i(e,[{key:"getNavbarData",value:function(){return l}},{key:"getDisplayConstants",value:function(e){if(a.globalColor)return a;var t=this.getNavbarDataTitleFromLink(e);if(""===t)return a;var n=a.pageSpecificColors[t];return n||a}},{key:"getNavbarDataTitleFromLink",value:function(e){var t="";return l.forEach(function(n){(n.links.indexOf(e)>-1||n.names.indexOf(e.split("/")[1])>-1)&&(t=n.title)}),t}},{key:"getLogo",value:function(){return a.logo}},{key:"getButtonHeight",value:function(){return a.buttonHeight}},{key:"getContentData",value:function(){return u}},{key:"getImgsToPrefetch",value:function(){return s}}]),e}();t.a=o;var a={primaryColor:"#420DAB",secondaryColor:"#6308b2",globalColor:!1,pageSpecificColors:{Home:{primaryColor:"#FFFFFF",secondaryColor:"#FFFF00"},Project:{primaryColor:"#FF0000",secondaryColor:"#00FF00"}},logo:"https://static.igem.org/mediawiki/2017/e/e9/T--Washington--WLogo.png",buttonHeight:"16px"},s=["https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png","https://static.igem.org/mediawiki/2018/5/58/T--Washington--AerilynnTeam.jpg","https://static.igem.org/mediawiki/2018/2/2f/T--Washington--AlanPic.jpg","https://static.igem.org/mediawiki/2018/b/bc/T--Washington--AnastasiaTeam.jpg","https://static.igem.org/mediawiki/2018/c/ce/T--Washington--AndrewTeam.jpg","https://static.igem.org/mediawiki/2018/a/ac/T--Washington--AngelTeam.jpg","https://static.igem.org/mediawiki/2018/1/1a/T--Washington--CharlieTeam.jpg","https://static.igem.org/mediawiki/2018/5/5d/T--Washington--ChemayTeam.jpg","https://static.igem.org/mediawiki/2018/5/50/T--Washington--DallasTeam.jpg","https://static.igem.org/mediawiki/2018/9/99/T--Washington--SauroTeam.jpg","https://static.igem.org/mediawiki/2018/2/20/T--Washington--GuTeam.jpg","https://static.igem.org/mediawiki/2018/d/de/T--Washington--TPhotoDreycey.jpg","https://static.igem.org/mediawiki/2018/1/1d/T--Washington--GraceTeam.jpg","https://static.igem.org/mediawiki/2018/6/6c/T--Washington--HannahTeam.jpg","https://static.igem.org/mediawiki/2018/f/fb/T--Washington--IshiraTeam.jpg","https://static.igem.org/mediawiki/2018/e/e6/T--Washington--JayTeam.jpg","https://static.igem.org/mediawiki/2018/4/49/T--Washington--JoshuaTeam.jpg","https://static.igem.org/mediawiki/2018/e/e7/T--Washington--KarlTeam.jpg","https://static.igem.org/mediawiki/2018/b/b2/T--Washington--KrithiTeam.jpg","https://static.igem.org/mediawiki/2018/c/ca/T--Washington--RenaldoTeam.jpg","https://static.igem.org/mediawiki/2018/7/77/T--Washington--SairandriTeam.jpg","https://static.igem.org/mediawiki/2018/e/ec/T--Washington--SeaEunTeam.jpg","https://static.igem.org/mediawiki/2018/7/7d/T--Washington--VeraTeam.jpg","https://static.igem.org/mediawiki/2018/0/0c/T--Washington--WilliamTeam.jpg","https://static.igem.org/mediawiki/2018/4/40/T--Washington--YoshiTeam.jpg","https://static.igem.org/mediawiki/2018/b/b1/T--Washington--RehaanTeam.jpg","https://static.igem.org/mediawiki/2018/1/1a/T--Washington--AimeeTeam.jpg","https://static.igem.org/mediawiki/2018/e/e2/T--Washington--EdTeam.jpg","https://static.igem.org/mediawiki/2018/5/54/T--Washington--JoanneTeam.jpg","https://static.igem.org/mediawiki/2018/a/ac/T--Washington--KatekaTeam.jpg","https://static.igem.org/mediawiki/2018/d/da/T--Washington--ShubTeam.jpg","https://static.igem.org/mediawiki/2018/e/e8/T--Washington--biochemlogo.png","https://static.igem.org/mediawiki/2018/e/e7/T--Washington--Genscriptlogo.png","https://static.igem.org/mediawiki/2018/9/9e/T--Washington--IDTlogo.png","https://static.igem.org/mediawiki/2018/0/01/T--Washington--CSElogo.png","https://static.igem.org/mediawiki/2018/0/00/T--Washington--Zuliplogo.png","https://static.igem.org/mediawiki/2018/d/d5/T--Washington--bioinfologo.png","https://static.igem.org/mediawiki/2018/8/8f/T--Washington--BioElogo.png","https://static.igem.org/mediawiki/2018/a/a6/T--Washington--IPDlogo.png","https://static.igem.org/mediawiki/2018/d/d3/T--Washington--PvPlogo.png","https://static.igem.org/mediawiki/2018/8/89/T--Washington--biologo.png","https://static.igem.org/mediawiki/2018/5/54/T--Washington--appliedmathlogo.png","https://static.igem.org/mediawiki/2018/b/b5/T--Washington--chemlogo.png","https://static.igem.org/mediawiki/2018/4/49/T--Washington--NEBlogo.png","https://static.igem.org/mediawiki/2018/5/5e/T--Washington--microbiologo.png","https://static.igem.org/mediawiki/2018/0/0d/T--Washington--msebiologo.png"],l=[{title:"Home",names:["Home","UW 2017","UW 2016","UW 2015","UW 2014","UW 2013","UW 2012","UW 2011","UW 2010","UW 2009","UW 2008"],links:["https://2018.igem.org/Team:Washington","https://2017.igem.org/Team:Washington","https://2016.igem.org/Team:Washington","https://2015.igem.org/Team:Washington","https://2014.igem.org/Team:Washington","https://2013.igem.org/Team:Washington","https://2012.igem.org/Team:Washington","https://2011.igem.org/Team:Washington","https://2010.igem.org/Team:Washington","https://2009.igem.org/Team:Washington","https://2008.igem.org/Team:Washington"]},{title:"Project",names:["Project Description","Design","Experiments","Notebook","InterLab","Model","Results","Parts","Hardware"],links:["/Description","/Design","/Experiments","/Notebook","/InterLab","/Model","/Results","/Parts","/Hardware"]},{title:"Human Practices",names:["Human Practices","Integrated HP","Collaborations","Education & Engagement","Entrepreneurship","HP Design","Team Development"],links:["/Human_Practices","/Integrated_Human_Practices","/Collaborations","/Public_Engagement","/Entrepreneurship","/HP_Design","/Team_Development"]},{title:"Safety",names:["Safety"],links:["/Safety"]},{title:"People",names:["Team","Attributions","Sponsors","Gallery"],links:["/Team","/Attributions","/Sponsors","/Gallery"]},{title:"Judging",names:["Medal Requirements"],links:["/Medal_Requirements"]}],u=[{content:[{data:"HEADER\nTEXT=LOREM IPSUM\nSUBTITLE=lorem ipsum my duders\nBACKGROUND=https://static.igem.org/mediawiki/2018/1/1f/T--Washington--LabBG.jpg\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\noverview\nOverviewA",type:"SPECIAL"},{data:"ACCORDION\n===\nTITLE OF ACCORDION 1\n![image alt text goes here](https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg)\n\n\ndescription lorem ipsum blah blah\n===\nTITLE OF ACCORDION 2\n![image alt text goes here](https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg)\n\n\ndescription lorem ipsum blah blah",type:"SPECIAL"},{data:"VIDEO\ntest",type:"SPECIAL"},{data:"SPLITVIEW\n===\nIMAGE;25;50\nhttps://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg\n===\nCONTENT;TEST=123123;TEST2=ABCB\nrest of content goes here\n\na\n\na\n\na\n\na\n\na\n\na\na\n\na\na\n\na\n\na\n\na\n\na\na\n\na\na\n\na\n\na\n\na\n\na\na\n\na\na\n\na\n\na\n\na\n\na\na\n\na",type:"SPECIAL"},{data:"```javascript\nfunction() {\n  test.test;\n}\n```",type:"MARKDOWN"},{data:".footnote[.red.bold[*] Important footnote]",type:"MARKDOWN"},{data:"dc",type:"MARKDOWN"},{data:"Insert text",type:"MARKDOWN"},{data:"# Overview\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam consectetur fermentum tortor vitae cursus. Ut convallis ultricies quam, non viverra orci auctor non. In auctor gravida interdum. Pellentesque nec ligula vehicula, porttitor tellus eu, iaculis dolor. Morbi eget faucibus sapien. Donec pretium pellentesque tempus. Aliquam ut ipsum feugiat, dapibus nibh ac, mattis est. Suspendisse a convallis ipsum. Vestibulum erat sem, aliquam mattis lorem id, ornare euismod magna.\n\nDuis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus. Etiam eget tellus dictum enim ultrices gravida eget in ex. Etiam viverra nulla vel varius malesuada. Mauris iaculis lobortis diam, sed eleifend orci vulputate aliquet. Aliquam scelerisque tempus nisl. Integer pharetra, nisl quis feugiat scelerisque, ex justo pretium purus, rhoncus aliquet diam sem eu ligula. Aenean eu turpis vitae neque molestie ornare ac in sem. Nam vitae malesuada velit. Quisque eget bibendum mi. Fusce vitae aliquam eros. Curabitur sodales nibh vitae euismod scelerisque.\n\nAenean at urna vel justo eleifend tempor. Suspendisse rutrum ut odio a condimentum. Nullam vel ex tempus, efficitur justo malesuada, maximus nisl. Donec tincidunt eros et auctor rhoncus. Aliquam erat volutpat. Maecenas eget tempor dolor. Fusce varius quam id nisl scelerisque, eget lobortis enim ornare. Vestibulum ex nisi, convallis et augue sed, dictum ultricies magna. Aliquam erat volutpat. Proin tincidunt tortor sit amet bibendum tincidunt. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Aliquam faucibus lectus vitae augue volutpat, vel lacinia nisi aliquet.\n\nVestibulum quis purus vulputate, imperdiet mauris in, congue mi. Sed varius sapien quis rhoncus ultrices. Donec nec molestie libero. Praesent fringilla sagittis arcu, non hendrerit sem iaculis et. Ut hendrerit accumsan ex, ac euismod enim maximus vitae. Vivamus vel dui arcu. Maecenas id felis eget enim tincidunt scelerisque. Nam non pulvinar nisl. Morbi urna libero, elementum eu aliquet non, pellentesque semper nunc. Vestibulum eros nunc, dapibus vel mi eget, scelerisque vehicula augue. Cras at nisi at elit gravida malesuada. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.\n\nVivamus facilisis justo nisl, eget commodo neque aliquam eu. Morbi ut tempus metus. In sodales commodo tortor, eu finibus odio hendrerit vel. Phasellus aliquet auctor sodales. Etiam vitae justo blandit, pulvinar massa id, vulputate nulla. Donec gravida aliquam purus, ac dapibus leo mollis ut. Pellentesque tempus, augue a efficitur vehicula, libero augue vehicula nibh, vitae posuere magna mi at nunc. Donec varius augue vitae tortor ultricies, nec pellentesque odio condimentum. Cras scelerisque viverra tempus. Donec in arcu a urna eleifend eleifend vitae ac arcu. Proin sed pretium magna.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nsection-1\nVery long section title. Lorem ipsum dolor sit amet, consectetur",type:"SPECIAL"},{data:"# sect 1\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam consectetur fermentum tortor vitae cursus. Ut convallis ultricies quam, non viverra orci auctor non. In auctor gravida interdum. Pellentesque nec ligula vehicula, porttitor tellus eu, iaculis dolor. Morbi eget faucibus sapien. Donec pretium pellentesque tempus. Aliquam ut ipsum feugiat, dapibus nibh ac, mattis est. Suspendisse a convallis ipsum. Vestibulum erat sem, aliquam mattis lorem id, ornare euismod magna.\n\nDuis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus. Etiam eget tellus dictum enim ultrices gravida eget in ex. Etiam viverra nulla vel varius malesuada. Mauris iaculis lobortis diam, sed eleifend orci vulputate aliquet. Aliquam scelerisque tempus nisl. Integer pharetra, nisl quis feugiat scelerisque, ex justo pretium purus, rhoncus aliquet diam sem eu ligula. Aenean eu turpis vitae neque molestie ornare ac in sem. Nam vitae malesuada velit. Quisque eget bibendum mi. Fusce vitae aliquam eros. Curabitur sodales nibh vitae euismod scelerisque.\n\nAenean at urna vel justo eleifend tempor. Suspendisse rutrum ut odio a condimentum. Nullam vel ex tempus, efficitur justo malesuada, maximus nisl. Donec tincidunt eros et auctor rhoncus. Aliquam erat volutpat. Maecenas eget tempor dolor. Fusce varius quam id nisl scelerisque, eget lobortis enim ornare. Vestibulum ex nisi, convallis et augue sed, dictum ultricies magna. Aliquam erat volutpat. Proin tincidunt tortor sit amet bibendum tincidunt. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Aliquam faucibus lectus vitae augue volutpat, vel lacinia nisi aliquet.\n\nVestibulum quis purus vulputate, imperdiet mauris in, congue mi. Sed varius sapien quis rhoncus ultrices. Donec nec molestie libero. Praesent fringilla sagittis arcu, non hendrerit sem iaculis et. Ut hendrerit accumsan ex, ac euismod enim maximus vitae. Vivamus vel dui arcu. Maecenas id felis eget enim tincidunt scelerisque. Nam non pulvinar nisl. Morbi urna libero, elementum eu aliquet non, pellentesque semper nunc. Vestibulum eros nunc, dapibus vel mi eget, scelerisque vehicula augue. Cras at nisi at elit gravida malesuada. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.\n\nVivamus facilisis justo nisl, eget commodo neque aliquam eu. Morbi ut tempus metus. In sodales commodo tortor, eu finibus odio hendrerit vel. Phasellus aliquet auctor sodales. Etiam vitae justo blandit, pulvinar massa id, vulputate nulla. Donec gravida aliquam purus, ac dapibus leo mollis ut. Pellentesque tempus, augue a efficitur vehicula, libero augue vehicula nibh, vitae posuere magna mi at nunc. Donec varius augue vitae tortor ultricies, nec pellentesque odio condimentum. Cras scelerisque viverra tempus. Donec in arcu a urna eleifend eleifend vitae ac arcu. Proin sed pretium magna.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nDESCRIPTION=Lorem ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg;XPOS=25;YPOS=25;LINK=http://google.com\nDESCRIPTION=Lorem2 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg\nDESCRIPTION=Lorem3 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=http://www.independentmediators.co.uk/wp-content/uploads/2016/02/placeholder-image-300x225.jpg",type:"SPECIAL"},{data:"SUBIMAGES\nMAXIMAGESPERROW=6\nDESCRIPTION=Lorem ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg;XPOS=25;YPOS=25;LINK=http://google.com\nDESCRIPTION=Lorem2 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg\nDESCRIPTION=Lorem3 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=http://www.independentmediators.co.uk/wp-content/uploads/2016/02/placeholder-image-300x225.jpg\nDESCRIPTION=Lorem2 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg\nDESCRIPTION=Lorem2 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg\nDESCRIPTION=Lorem2 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/4/4d/T--Washington--TestImage.png,testimage,margin:auto,width:100%",type:"IMAGE"},{data:"TAB\n===\nTITLE OF TAB 1\n# markdown content begins here\n\nasdf\n\nasdf\n\nasdf\n===\nTITLE OF TAB 2\n# markdown content begins here 2\n\nasdf\nasdf\nasdf\nasdf\nasd\nf",type:"SPECIAL"},{data:"This is a test list\n\n* a 123 lorem ipsum\n* b 123 lorem ipsum\n* c 123 lorem ipsum",type:"MARKDOWN"},{data:"SECTION\nsection-2\n2 title!",type:"SPECIAL"},{data:"# sect 2\n\nThis is a ttest testtest test setset est se tse tes tes tset se tse t\n\n1. abc\n2. 123\n3. res",type:"MARKDOWN"},{data:'\n| **Data Type**    | **Example**                        | **Description**                                        |\n|------------------|------------------------------------|--------------------------------------------------------|\n| integer (number) |      ```test\\n test test ```      | Number that does not have a decimal point              |\n| float (number)  | `1.0, 3.1415`                      | Number with a decimal point                            |\n| string          | `"Hello", \'hello\', "123", "%+1+2"` | Characters surrounded by quotes (\'single\' or "double") |\n| boolean          | `True, False`                      | Truth values (can only be True or False)              |',type:"MARKDOWN"},{data:"```javascript\nfunction a(a,b) {\n    console.log(a+b);\n}\n```",type:"MARKDOWN"},{data:"https://images.pexels.com/photos/104827/cat-pet-animal-domestic-104827.jpeg,test,width:100px,margin:auto,border:2px solid red,borderRadius:20,margin:auto,marginTop: 20",type:"IMAGE"},{data:"\n\n\nasdfasdfa\nasdf\nasdf\nasdf\nsadf\nsaf\ndsaf\na\nasdfasdfa\nasdf\nasdf\nasdf\nsadf\nsaf\ndsaf\na\n\nasdfasdfa\nasdf\nasdf\nasdf\nsadf\nsaf\ndsaf\na\n\n\nasdfasdfa\nasdf\nasdf\nasdf\nsadf\nsaf\ndsaf\na\n\n\nasdfasdfa\nasdf\nasdf\nasdf\nsadf\nsaf\ndsaf\na\n",type:"MARKDOWN"},{data:"SECTION\nsection-4\ntest2",type:"SPECIAL"},{data:"a\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\n",type:"MARKDOWN"},{data:"NAVIGATION\nLEFT=aaa;LEFTNAME=Entrepreneurship;RIGHT=ccc;RIGHTNAME=Team Development",type:"SPECIAL"}],isContent:!0,pageTitle:"/ContentTest"},{content:[{data:"HOMEPAGE\nBACKGROUND=https://static.igem.org/mediawiki/2018/5/58/T--Washington--MB.jpg\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=70\nTITLEHEIGHT=12\nSUBTITLEHEIGHT=7\nTITLE=Stronger Together\nSUBTITLE=An efficient, generalizable approach to design biosensors for small molecules\nBUTTONTEXT=Overview\nCONTENTTITLE=Washington iGEM 2018 Project Abstract\nCONTENTSUBTITLE=Chemically Induced Dimerization of Nanobodies for the Development of Versatile Biosensors\nCONTENT=One of the pressing challenges of modern science is the detection of small molecule targets. This has applications in a variety of fields, such as point-of-care diagnostics and metabolic engineering. Although most small molecules can be detected through Enzyme-Linked Immunosorbent Assay (ELISA), accessibility is limited by the time-consuming nature of the procedure. We hope to use a chemically induced dimerization system of nanobodies to detect small molecule targets and apply this system to the development of simple diagnostic assays, such as lateral flow assays or fluorescent microarrays, and innovations in metabolic engineering.;Nanobodies are antibody fragments from single domain antibodies found in camelids and sharks. They are the variable regions of antibodies that are responsible for specific binding to target molecules. Researchers in the Institute for Protein Design (IPD) at the University of Washington have created extensive libraries of phages displaying nanobodies for high throughput screening of binding targets, making them a versatile tool for molecule detection. We have partnered with Dr. Liangcai Gu from the IPD to investigate novel applications of a high-throughput nanobody library numbering ten billion unique types. In our project, we will identify specific nanobodies that bind to desired target molecules of high importance and demonstrate the application of nanobody technology to the development of a biosensor.;Traditionally, monoclonal antibodies have been used to detect specific molecules and used in products such as ELISA kits. However, one significant barrier to developing new monoclonal antibodies is that they require introduction of an antigen to an animal before large scale production can begin. We are bypassing this expensive and time-consuming step and the associated ethical concerns by screening through a pre-existing library of nanobodies to rapidly identify those that can bind desired target molecules with high specificity.;Our team will be screening our nanobody library against two chosen molecules to find binding nanobodies. Then, we will screen the library for secondary nanobodies that bind to the primary nanobody-antigen complex, thus forming a dimer. After identifying these nanobodies, these nanobodies can be fused to other proteins to form biosensors. Specifically, we intend to repurpose activating and DNA binding domain proteins used in yeast 2-hybrid systems to create a transcriptional biosensor.",type:"SPECIAL"}],pageTitle:"/TempMain"},{content:[{data:"HOMEPAGE\nBACKGROUND=https://static.igem.org/mediawiki/2018/f/f8/T--Washington--PhotoCollage.jpg\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=30\nTITLEHEIGHT=9\nSUBTITLEHEIGHT=5\nTITLE=STRONGER TOGETHER\nSUBTITLE=An efficient, generalizable approach to design biosensors for small molecules\nBUTTONTEXT=Overview\nCONTENTTITLE=Washington iGEM 2018 Project Abstract\nCONTENTSUBTITLE=Chemically Induced Dimerization of Nanobodies for the Development of Versatile Biosensors\nCONTENT=Chemically induced dimerization (CID), in which two proteins dimerize only in the presence of a small molecule, has been widely used to control cell signaling, regulatory, and metabolic pathways, and used as logic gates for biological computation in living mammalian cells. However, few naturally occuring CID systems and their derivatives are currently available. Creating a CID system with desired affinity and specificity for any given small molecule remains an unsolved problem for computational design and other protein engineering approaches. To address this challenge, we have used a novel strategy to select CID binders from a vastly diverse combinatorial nanobody library. We have created new CID systems that can sense cholecalciferol and artemisinin. We are validating CID biosensors by a yeast three-hybrid system and built structural models to understand the small molecule-induced dimerization. Our work is a proof-of-concept that can be generalized to create CID systems for many applications.",type:"SPECIAL"}],pageTitle:""},{content:[{data:"HEADER\nTEXT=INTERLAB\nBACKGROUND=https://static.igem.org/mediawiki/2018/1/1f/T--Washington--LabBG.jpg\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"# Overview\n\nSince 2014, the iGEM Measuring Committee has been dedicated to developing a robust and repeatable measurement procedure for Green Fluorescent Protein (GFP). To do so, iGEM has held the Interlab Study for several years, utilizing the international reach of the competition to test their procedures and collect data. We are proud to have participated in this study so that this ongoing effort can come closer to developing a universal way to measure GFP regardless of machinery and resources.\n\nThe main protocol for the 2018 Interlab Study was provided by iGEM headquarters and can be found [here](https://2018.igem.org/Measurement/InterLab/Plate_Reader).\n\nWe followed the Plate Reader and CFU protocol with the tools provided by iGEM.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nexperience\nExperience",type:"SPECIAL"},{data:"# Experience\nThe protocol was simple to follow. We made a few adjustments to the protocol due to limitations on supplies:\n\n1. Use of clear plates instead of black bottom plates\n1. Use of 15 mL conical tubes covered in foil instead of 50 mL conical tubes\n\nWe also ran into some issues with growing up the cultures as our incubator/shaker could only hold the conical tubes upright instead of slanted, which may have affected how well they were able to grow. Overall, the protocols were not too challenging, and it gave us an opportunity to work heavily with plate readers and learn how to set up the readings in various ways.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncalibration1\nCalibration 1",type:"SPECIAL"},{data:"# Calibration 1: OD\u2086\u2080\u2080 Reference Point using LUDOX\n\nLUDOX Reference Point\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/b/bd/T--Washington--1aa.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"LUDOX CL-X was used as a point reference to turn ABS\u2086\u2080\u2080 measurements into OD\u2086\u2080\u2080 measurements.  LUDOX solution was used due to its low absorbance value. This calibration was necessary because plate reader measurements of absorbance are volume dependent as the depth of the fluid in the well changes path length of light passing through the sample. \n\nOur results over four replicates were extremely close which showed consistency in pipetting and machine reading. Calibration 1 was repeated three times in order to check for consistency.\nOur OD\u2086\u2080\u2080/Abs\u2086\u2080\u2080 correction factor turned out to 3.247. For all cell density readings using this instrument with the same settings and volume, we converted to OD\u2086\u2080\u2080 by multiplying by 3.247.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncalibration2\nCalibration 2",type:"SPECIAL"},{data:"# Calibration 2: Microspheres\n\nThe point of using monodisperse silica microspheres was that their size and optical characteristics are similar to cells and we know the exact number of spheres we have. This allows us to use a standard curve of particle concentration, which we can use to convert to ABS\u2086\u2080\u2080 measurements for the estimated number of cells.\n\nSpecs used:\n* 530 nm emission\n* 485 nm excitation\n\nMicrosphere Absorbance in Serial Dilutions Raw Data",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/2e/T--Washington--2aa.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Particle Standard Curve",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/0/0f/T--Washington--3aa.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Particle Standard Curve on a Log Scale",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/7/72/T--Washington--4aa.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Particles / OD",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/d/d8/T--Washington--5aa.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"The data was consistent over four replicates, suggesting that the readings were done quickly enough before the microspheres settled to the bottom of the well, as they will settle after a short period of time. We thought an automix feature on the machine would help mix the beads better, but the results turned out to be worse and had clumps of beads at the bottom. To counter this problem, we pipetted up and down four times in a circle around the well, ending with the more concentrated wells. After checking that there was no bead pellet, we received the expected results. We know that this is expected because each well\u2019s total number of particles should have been half of the previous well\u2019s value, as the concentration was cut in half for each well. The particle standard curve on the log scale, although supposed to be 1:1, turned out to be an exponential curve. We suspect that this may be due to a machine error. Throughout six trials, with the technique of pipetting up and down three times, the log curve was still a straight line.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncalibration3\nCalibration 3",type:"SPECIAL"},{data:"# Calibration 3: Fluorescein standard curve\n\nThe data was consistent over four replicates, showing that there was no error in pipetting or diluting. A fluorescein experiment was used as the third calibration to create a standard curve - this was done so that any difference in how plate readers reported fluorescence could be compared between different teams\u2019 data, regardless of the brand of the plate reader used. This will be used to convert the cell-based readings to an equivalent concentration\n\n* 530 nm emission\n* 485 nm excitation\n\nFluorescein Raw Data",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/f0/T--Washington--6.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/a/ac/T--Washington--7.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/7/79/T--Washington--8.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Fluorescein / a.u.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/e/ef/T--Washington--9.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Colony Raw Plate Readings",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/d/dc/T--Washington--10.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/6/66/T--Washington--11.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Fluorescence per OD Experimental Values\n\nThe Unit Scaling Factors determined by the calibration is\n\nOD\u2086\u2080\u2080/Abs\u2086\u2080\u2080 = 3.25\n\n\u03bcM Fluorescein/a.u. = 4.49E-4\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/8/8e/T--Washington--12.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/9/9e/T--Washington--13.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/a/aa/T--Washington--14.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Fluorescence per Particle Experimental Values\n\nUnit Scaling Factors determined by the calibration is:\n\nParticles/Abs\u2086\u2080\u2080 = 2.52E8\n\nMEFL/a.u = 2.71E9\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/9/91/T--Washington--15.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/2/22/T--Washington--16.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/f/f1/T--Washington--17.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Plate Culture Count and CFU Values",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/f7/T--Washington--18.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"}],isContent:!0,pageTitle:"/InterLab"},{content:[{data:"HEADER\nTEXT=CraftY GirlZ\nBACKGROUND=https://static.igem.org/mediawiki/2018/1/1f/T--Washington--LabBG.jpg\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"CRAFTY\nCRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ ",type:"SPECIAL"}],pageTitle:"/CraftyGirlz"},{content:[{data:"HEADER\nTEXT=Team\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nBLUR=3\nMINPADDINGTOP=120",type:"SPECIAL"},{data:"TEAM\nNAME=Anastasia Nicolov; ROLE=Adviser; PICTURE=https://static.igem.org/mediawiki/2018/b/bc/T--Washington--AnastasiaTeam.jpg; LINKEDIN=https://www.linkedin.com/in/anastasianicolov/; FILTER=Adviser; BIO=A Seattle native, Anastasia graduated from UW in 2017 with a B.S. in Bioengineering and currently works at Just Biotherapeutics as a bioreactor scientist. As a 5-year iGEM veteran, she acts as adviser to both the Washington and iTesla-SoundBio teams, and was a main organizer of the first-ever Pacific Northwest iGEM Meetup this year.\nNAME=William Kwok; ROLE=Drylab Lead Engineer, Wiki Developer; PICTURE=https://static.igem.org/mediawiki/2018/0/0c/T--Washington--WilliamTeam.jpg;GITHUB=https://github.com/kwokwilliam; LINKEDIN=https://linkedin.com/in/william-w-kwok/; PERSONAL=https://williamk.info; FILTER=Drylab,Leadership; BIO=Coming from tropical Hawaii, William is a current junior obtaining a BS in Informatics. His focus on the team was to organize the hardware and software teams and programming the Wiki. He currently is a teaching assistant for Client Side Development and works under Dr. Andy Ko in the Code and Cognition Lab. In his spare time, he enjoys playing video games with his friends and programming side projects.\nNAME=Kara de Leon; ROLE=Wetlab, Outreach; PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75; LINKEDIN=https://www.linkedin.com/in/karadeleon; FILTER=Wetlab, Outreach; BIO= Kara a third-year undergraduate bioengineering student. Driven by care and curiosity, she is passionate in her pursuit of gaining experience in different areas of Bioengineering and promoting diversity and STEM education. She is thrilled that iGEM allows her to do both alongside her hilarious and intelligent teammates in Wetlab and Outreach!\nNAME=Krithi Basu;ROLE=Director of Internal Affairs, Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/b/b2/T--Washington--KrithiTeam.jpg;LINKEDIN=https://www.linkedin.com/in/krithi-basu/;FILTER=Wetlab, Leadership;BIO=Krithi is currently a junior majoring in Bioengineering and minoring in Law, Societies and Justice. This year, her main role as Director of Internal Affairs was to be the communication hub and interface between team members and leadership. She enjoys researching viral immunology, listening to music, talking about social issues, and watching horror movies.\nNAME=Andrew Hu; ROLE=Operational Administrative Lead; PICTURE=https://static.igem.org/mediawiki/2018/c/ce/T--Washington--AndrewTeam.jpg; GITHUB=https://github.com/andrewhu-uw; LINKEDIN=https://www.linkedin.com/in/andrew-hu/; FILTER=Drylab, Leadership; BIO=Andrew is a third-year Computer Science & Education double major. He led the curriculum team in creating a seminar to help team members prepare for the summer, and serves as an admin lead with Angel Wong.\nNAME=Angie Dang; ROLE=Wetlab, Design; PICTURE=https://static.igem.org/mediawiki/2018/9/9d/T--Washington--AngiePhoto.jpg; FILTER=Design, Wetlab; BIO=Born and raised in Washington, Angie is finishing her fourth year at UW - aiming for a B.A. in Biochemistry. Her role in iGEM was primarily working in lab and illustrating for design projects, such as the Synthetic Biology Activity Booklet. When she's off the clock, Angie is usually catching up on sleep.\nNAME=Joanne Wong; ROLE=Wetlab, Outreach; PICTURE=https://static.igem.org/mediawiki/2018/5/54/T--Washington--JoanneTeam.jpg; LINKEDIN=https://www.linkedin.com/in/joanneytwong/; FILTER=Wetlab, Outreach; BIO=All the way from Hong Kong, Joanne is currently a junior pursuing Chemical Engineering. Hoping to go into the field of research, she joined iGEM to get a taste of that! Other than that, she loves thinking about food during every waking moment.\nNAME=Chemay Shola;ROLE=Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/5/5d/T--Washington--ChemayTeam.jpg;LINKEDIN=https://www.linkedin.com/in/chemayshola/;FILTER=Wetlab;BIO=Born and raised in southern Washington, Chemay is a current sophomore in the Department of Bioengineering. His focus on the team was to conduct wetlab experiments. In his spare time, he enjoys running, reading, and meditating.\nNAME=Charlie Fisher; ROLE=Wetlab, Design, Presenter; PICTURE=https://static.igem.org/mediawiki/2018/1/1a/T--Washington--CharlieTeam.jpg; LINKEDIN=https://www.linkedin.com/in/charlie-fisher-028689167/; FILTER=Wetlab, Design, Presenters; BIO=Charlie is a third-year undergraduate student, majoring in electrical engineering. Her passion for physiology drew her to iGEM but the complexity of organisms made her stay. She loves the uncertainty of wetlab experiments and the creative possibilities in design. Catch her on hikes, at coffee shops, or in Boston as one of Washington iGEM\u2019s presenters!\nNAME=Sea-Eun Lee; ROLE=Drylab; PICTURE=https://static.igem.org/mediawiki/2018/e/ec/T--Washington--SeaEunTeam.jpg; GITHUB=https://github.com/uwigem/Chromastat18/tree/seaeun/src/chromastat18; LINKEDIN= https://www.linkedin.com/in/seaeunlee/; FILTER=Drylab; BIO=Sea-Eun is a current sophomore, pursuing a BS in Computer Science. Her focus was improving the functionality and efficiency of the Chromastat with a small group of individuals. In her spare time, she likes to spend time with her family and friends and work out.\nNAME=Aimee Ellis;ROLE=Wetlab, Outreach, Collaborations;PICTURE=https://static.igem.org/mediawiki/2018/1/1a/T--Washington--AimeeTeam.jpg;FILTER=Wetlab, Outreach, Collaborations;BIO=Born in Minnesota and mostly raised in Washington, Aimee is currently a sophomore at the University of Washington intending to major in Biochemistry and Molecular Biology. Her role in iGEM is primarily working in lab and designing lessons for the Synthetic Biology Activity Booklet. In her free time, Aimee enjoys working out, teaching people how to swim, and singing along to current hits on the radio.\nNAME=Sairandri Sathyanarayanan; ROLE=Business, Outreach; PICTURE=https://static.igem.org/mediawiki/2018/7/77/T--Washington--SairandriTeam.jpg; FILTER=Business, Outreach; BIO=Sairandri Sathyanarayanan is a sophomore majoring in Molecular, Cellular and Developmental Biology. She is primarily involved with the business and outreach teams in iGEM. When she isn't working, she enjoys advocating for mental health, singing and reading.\nNAME=Dallas Warren;ROLE=Simulations, Outreach;PICTURE=https://static.igem.org/mediawiki/2018/5/50/T--Washington--DallasTeam.jpg;LINKEDIN=https://linkedin.com/in/dallaswarren/;FILTER=Drylab, Outreach; BIO=Dallas is a Washington local and rising senior majoring in Electrical Engineering. As a member of the team he helped develop outreach curriculum and created mathematical models using Tellurium. In his free time he enjoys listening to music.\nNAME=Aerilynn Nguyen; ROLE=Wetlab, Outreach; PICTURE=https://static.igem.org/mediawiki/2018/5/58/T--Washington--AerilynnTeam.jpg; FILTER=Wetlab, Outreach; BIO=Aerilynn is a senior studying molecular biology. When she isn't in lab, she's helping to organize and volunteer at outreach events with the hopes of making others just as excited about synthetic biology as she is. Aerilynn draws a lot of her inspiration and passion for synthetic biology from the fictional universe of Star Trek. When she's not watching Star Trek, she's working out, playing video games, or hanging out with her dogs.\nNAME=Karl Anderson; ROLE=Project Lead; PICTURE=https://static.igem.org/mediawiki/2018/e/e7/T--Washington--KarlTeam.jpg;LINKEDIN=https://www.linkedin.com/in/karlbanderson/; FILTER=Wetlab, Leadership; BIO=Karl is a junior studying Biochemistry and Molecular Biology. He has been responsible for overseeing the design and execution of this year\u2019s project as well as managing the wetlab team. He spends a lot of time working in lab, but he also finds days to hike and sail in the Pacific Northwest.\nNAME=Yoshi Goto; ROLE=Adviser, Fundraising Manager; PICTURE=https://static.igem.org/mediawiki/2018/4/40/T--Washington--YoshiTeam.jpg; GITHUB=https://github.com/Yoshi8765; LINKEDIN=https://www.linkedin.com/in/yoshigoto/; FILTER=Adviser, Drylab; BIO=Yoshi has been involved in iGEM since his sophomore year at the University of Washington. Now three years later, he's still involved in iGEM.\\n Yoshi graduated from the University of Washington with a B.S. in Bioengineering and a minor in Applied Mathematics, specializing in Synthetic and Systems Biology. He now works at SoundBio Lab, Seattle's DIY Biohackerspace. He credits iGEM with that academic and career decision. He also worked at the Sauro lab at UW in the Center for Reproducible Biological Models. He started the simulations team in Team Washington. After being the Admin lead last year, he has now handed off the baton to others and is focusing on Funding for the team. He can't believe how far the team has gotten. He also is an adviser for the iTESLA-SoundBio team, also based in Seattle.\nNAME=Grace Soah-Yeon Kim;ROLE=Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/1/1d/T--Washington--GraceTeam.jpg;LINKEDIN=https://linkedin.com/in/grace-s-kim/;FILTER=Wetlab;BIO=Born and raised in the Greater Seattle Area, Grace is currently a sophomore majoring in Bioengineering. She joined iGEM to explore synthetic biology, learn wetlab techniques, and meet new people. Outside of iGEM, she enjoys researching about immunotherapy and food science, volunteering, hanging out with friends, having movie nights, and trying new food.\nNAME=Joshua Ip; ROLE=Simulations, Presenter; PICTURE=https://static.igem.org/mediawiki/2018/4/49/T--Washington--JoshuaTeam.jpg; GITHUB=https://github.com/joshuaipwork/; LINKEDIN=https://www.linkedin.com/in/joshua-i-877706128/; FILTER=Drylab, Presenters; BIO= Hailing from Pflugerville, Texas, Joshua is a Bioengineering sophomore intending to join a Bioengineering startup when he graduates. When not studying in the library, he can be found in the Comotion Makerspace working with the 3d printers, laser cutters, and CNC milling machines.\nNAME=Renaldo Sutanto;ROLE=Treasurer, Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/c/ca/T--Washington--RenaldoTeam.jpg;FILTER=Leadership, Wetlab;BIO=Renaldo is a senior studying Molecular, Cellular, and Developmental Biology and Biochemistry, and minoring in Chemistry and Quantitative Science. His role in iGEM was primarily organizing all the budget that iGEM received from various departments and companies. Outside of iGEM, he either does his own research about parasite, Giardia lamblia, or hanging out with friends.\nNAME=AJ Kruse; ROLE=Business, Fundraising, Adviser; PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75; GITHUB=https://github.com/aj1118; LINKEDIN=https://www.linkedin.com/in/ajkruse/; FILTER=Business, Fundraising, Adviser; BIO=Studying Bioengineering and Neurobiology, AJ is a junior passionate about harnessing synthetic biology to improve medicine. She also loves entrepreneurship and networking, and can make a mean sales pitch--skills she applied to her work with the business and fundraising teams.\nNAME=Leo Yeh; ROLE=Business; PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75; LINKEDIN=https://www.linkedin.com/in/feng-yu-y-27142a155/; FILTER=Business; BIO=Leo is a third year undergraduate student majoring in Molecular, Cellular and Developmental Biology. He is primarily involved in the business team in iGEM. He enjoys playing baseball and is a huge New York Yankees fan.\nNAME=Jay Yung;ROLE=Collaborations Lead, Wetlab, Design;PICTURE=https://static.igem.org/mediawiki/2018/e/e6/T--Washington--JayTeam.jpg;LINKEDIN=https://www.linkedin.com/in/jay-yung-b56101170/;FILTER=Wetlab, Collaborations, Leadership, Design;BIO=Originally from California, Jay is currently a sophomore at the UW planning to major in Plant Biology. His focuses on the team are wetlab, graphic design, and coordinating collaboration efforts between our team and others. Aside from research, he enjoys looking at plants, dancing, playing music, and sleeping more than he should.\nNAME=Janae Chan;ROLE=Drylab;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;LINKEDIN=https://www.linkedin.com/in/janaechan;FILTER=Drylab;BIO=Janae is a fourth year bioengineering and computer science student. She is passionate about advancing medicine through technology, and works on designing point-of-care diagnostic systems. On the rare occasion she is not in lab or studying, she enjoys hiking and going on food excursions.\nNAME=Dreycey Albin;ROLE=Drylab Adviser;PICTURE=https://static.igem.org/mediawiki/2018/d/de/T--Washington--TPhotoDreycey.jpg;GITHUB=https://github.com/Dreycey;LINKEDIN=https://www.linkedin.com/in/dreycey/;FILTER=Drylab, Advisers;BIO=Dreycey Albin is a current first year PhD student studying synthetic biology at Rice University. During his time advising for the Washington iGEM team, he was an NIH-funded post-baccalaureate working on using computational and experimental methods for the elucidation of RNA structures in the lab of Dr. Gabriele Varani. Dreycey helped co-teach a UW-affiliated iGEM course focused on simulations in biology, ODEs for modeling biology, while also helping with basic advising. As for his PhD, he is interested in combining hardware (including basic robotics, microcomputers, and microfluidics) with research in synthetic biology. \nNAME=Ed van Bruggen; ROLE=Simulations, Collaborations, Outreach; PICTURE=https://static.igem.org/mediawiki/2018/e/e2/T--Washington--EdTeam.jpg; GITHUB=https://github.com/edvb; FILTER=Drylab, Outreach, Collaborations; BIO=Originally from the bay area, Ed is now a sophomore at UW pursuing a major in physics. He was a lead for the Drylab's Simulations team, in which he created computer models of protein folding using Rosetta. When he's not up all night programming you can find him playing music, cooking, or reading.\nNAME=Ishira Parikh; ROLE=Outreach Lead, Wetlab, Design;PICTURE=https://static.igem.org/mediawiki/2018/f/fb/T--Washington--IshiraTeam.jpg; FILTER=Outreach, Wetlab, Leadership, Design; BIO= A Washington native, Ishira is a second year undergraduate student hoping to major in neurobiology. This year, Ishira led the outreach team by organizing outreach events and headed the development of the Synthetic Biology Activity Booklet. She was also the main organizer of Washington iGEM\u2019s first-ever synthetic biology panel event and a member of wetlab. Outside of iGEM, Ishira can be found making art, researching the neural mechanisms of breathing, or catching up on sleep.\nNAME=Frances Ingram-Bate; ROLE=Simulations; PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75; LINKEDIN= https://www.linkedin.com/in/frances-ibe/; FILTER=Drylab; BIO=A Washington native, Frances is a current junior pursuing a B.S. in Bioengineering. As a member of the simulations team, she contributed to mathematical modeling of chemical reaction networks using Tellurium. Outside of iGEM, Frances enjoys working as a math tutor, being involved with undergraduate research, listening to music, and going to improv shows.\nNAME=Angel Wong;ROLE=Project Administrative Lead;LINKEDIN=https://www.linkedin.com/in/angeltanwong/;PICTURE=https://static.igem.org/mediawiki/2018/a/ac/T--Washington--AngelTeam.jpg;FILTER=Wetlab, Leadership;BIO=Born and raised in sunny Southern California, Angel is currently a junior at UW earning a double degree in Bioengineering and Biochemistry with a minor in Dance. She has been involved in iGEM since her freshman year and served as a presenter for Team Washington at the 2017 Giant Jamboree. This year, Angel helped teach the course to prepare members for summer work and serves as an administrative lead along with Andrew Hu.\\nWhen she is not studying, sleeping, or surfing the iGEM website for the seventh time in the same day to make sure she hasn't missed a deadline, Angel enjoys ballet dancing, stargazing, doing jigsaw puzzles, and chasing pigeons.\nNAME=Hannah Redden; ROLE=Design Lead, Simulations; PICTURE=https://static.igem.org/mediawiki/2018/6/6c/T--Washington--HannahTeam.jpg; LINKEDIN=https://www.linkedin.com/in/hannah-redden-262b8a127/; FILTER=Design, Leadership, Drylab; BIO=Hannah is a junior double-majoring in Biochemistry and Bioengineering with a minor in Classical Studies. This year, Hannah developed a design team to explore interactions with art and science and to see how to improve scientific communication using visual methods. She enjoys traveling, reading, swimming, and trying out random craft projects as hobbies.\nNAME=Rehaan Bhimani;ROLE=Business Team Lead, Drylab;PICTURE=https://static.igem.org/mediawiki/2018/b/b1/T--Washington--RehaanTeam.jpg;GITHUB=https://github.com/bhimar;LINKEDIN=https://www.linkedin.com/in/rehaanbhimani;FILTER=Drylab, Leadership, Business;BIO=Rehaan is a sophomore hoping to double major in Computer Science and Applied Math. He leads Washington iGEM's business team and is also an engineer on the software team. When he isn't in class or writing code for his research, he loves to read, play guitar, and get those Fortnite victory royales.\nNAME=Richmon Lin;ROLE=Drylab;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;GITHUB=https://github.com/RichmonLin;LINKEDIN=https://www.linkedin.com/in/RichmonLin/;FILTER=Drylab;BIO=Richmon is a current sophomore in the Bioengineering department. He works on the hardware subteam and is interested in designing biomedical diagnostic tools. Outside of class he loves to snowboard and play video games.\nNAME=Nicholas Righi;ROLE=Drylab;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Drylab;BIO=Nicholas is a Bioengineering sophomore who focused on creating an open source test tube rotator for the Wetlab team. In his free time Nicholas enjoys weightlifting, spending time with friends, and playing Magic the Gathering.\nNAME=Alan Cabrera;ROLE=Wetlab Adviser;PICTURE=https://static.igem.org/mediawiki/2018/2/2f/T--Washington--AlanPic.jpg;LINKEDIN=https://www.linkedin.com/in/alan-cabrera-241532113;FILTER=Wetlab, Advisers;YPOS=0;BIO=Alan Cabrera was an adviser for the team. He helped during the project planning phase. Using his experimental experience, he stressed the importance of planning, research, and identifying support in project development. Alan is a synthetic biologist with training in the Seelig lab at UW. His hobbies include, competing in collegiate bike racing and roasting coffee. Alan graduated with his Bachelor's in Bioengineering this year, and has started the PhD program in the Bioengineering department at Rice University. He plans to get involved with iGEM at Rice next year. \nNAME=Dr. Herbert Sauro;ROLE=University of Washington Department of Bioengineering;PICTURE=https://static.igem.org/mediawiki/2018/9/99/T--Washington--SauroTeam.jpg;CUSTSIZE=100;YPOS=0;XPOS=50;FILTER=PIs;BIO=Dr. Sauro\u2019s lab has been involved in a number of areas in systems as well as synthetic biology. He imitated the development of SBOL, the synthetic biology open language which is becoming the de facto language for describing synthetic designs. In systems biology he has developed a number of software tools, and standards most recently a Python based kit called Tellurium. He was cofounder of the SBML development teach. His modeling research involves developing new robust methods to develop more reliable predictive models that can simulate diseases such as cancer. Recently, he was appointed to lead a large Center for Reproducible Biomedical Modeling which was also recently awarded by the NIH.\nNAME=Dr. Liangcai Gu;ROLE=University of Washington Department of Biochemistry;PICTURE=https://static.igem.org/mediawiki/2018/2/20/T--Washington--GuTeam.jpg;CUSTSIZE=100;YPOS=25;XPOS=50;FILTER=PIs;BIO=Dr. Gu's lab use quantitative protein interaction profiling to understand molecular recognition and guide computational protein design. They develop protein interaction sequencing technologies by coupling \u2018protein barcoding\u2019 techniques\u2014e.g., molecular attachment of proteins to barcoding DNAs, display of proteins on phage or cell surfaces, and indirect barcoding of unlabeled proteins by using DNA barcoded affinity reagents such as antibodies\u2014to massively parallel 'in situ DNA sequencing' to quantitate protein interactions at a single-molecule or single-cell level. One example of protein interaction sequencing is a single-molecular-interaction sequencing (SMI-seq) technology (Gu, et al., Nature, 2014) for large-scale molecular counting of proteins and complexes. Our current research interests include (1) engineering of ligand-responsive protein assemblies, (2) human protein interactome profiling and drug screening, and (3) functional profiling of B-cell and T-cell receptors.\nNAME=Andrew Asakawa;ROLE=Lab Manager;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Wetlab, Leadership;BIO=Andrew is a junior majoring in Bioengineering. This year he was responsible for training new members at the beginning of the season, helping to manage the lab space and safety, and creating biobricks. Outside of iGEM he spends his time making and drinking coffee, cooking, and exploring the Seattle.\nNAME=Monica Mursch;ROLE=Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Wetlab;BIO=\nNAME=Kateka Seth; ROLE=Simulations; PICTURE=https://static.igem.org/mediawiki/2018/a/ac/T--Washington--KatekaTeam.jpg;FILTER=Drylab;BIO=Kateka is a current junior double majoring in Biochemistry and Informatics. In the Simulations team, she worked to generate protein models using Rosetta. In her spare time she enjoys playing the guitar and hiking around Washington.\nNAME=Vera Okolo;ROLE=Drylab;PICTURE=https://static.igem.org/mediawiki/2018/7/7d/T--Washington--VeraTeam.jpg;FILTER=Drylab;BIO=Vera is a fourth year at the University of Washington double majoring in Molecular, Cellular, & Developmental Biology and Medical Anthropolgy & Global Health. Her role in iGEM was the contributing to the research for the beginnings of an educational game for elementary students as well as interviewing members of the public for their opinions on the growing field of synthetic biology. In spare moments of time, she reads any and all genres of books, bakes macarons, and practices singing and playing the piano.\nNAME=Shubhankar Seth;ROLE=Drylab;PICTURE=https://static.igem.org/mediawiki/2018/d/da/T--Washington--ShubTeam.jpg;FILTER=Drylab;BIO=\nNAME=Victor Lee;ROLE=Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Wetlab;BIO=\nNAME=Kristine Leano;ROLE=Wetlab, Collaborations;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Wetlab, Collaborations;BIO=Kristine is a senior studying for a BS in Biochemistry. She performs lab tasks with the Wetlab team and led international collaborations with teams in Europe. In her spare time, she likes to learn languages, dance hip hop, and meet new people.\nNAME=Zachary McNulty;ROLE=Simulations;GITHUB=https://github.com/zackmcnulty/;LINKEDIN=https://www.linkedin.com/in/zacharymcnulty/;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Drylab;BIO=Zachary McNulty is a Junior majoring in Applied Computational Mathematical Sciences. He worked on modeling the chemical networks relevant to the team's project in Tellurium. His interests lie in computational biology with a focus on its applications in synthetic biology and neuroscience.\nNAME=Debbie Chen;ROLE=Outreach;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Wetlab;BIO=",type:"SPECIAL"}],pageTitle:"/Team"},{content:[{data:"HEADER\nTEXT=PROJECT DESCRIPTION\nBACKGROUND=https://static.igem.org/mediawiki/2018/1/1a/T--Washington--CIDdiagram.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=7\nSUBTITLEHEIGHT=7\nBLUR=3\nMINTITLEHEIGHT=5\nMINPADDINGTOP=120\nPADDINGTOP=120",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"# Overview",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/1/1a/T--Washington--CIDdiagram.png,CID Diagram,margin:auto,width:80%",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncholecalciferol\nCholecalciferol",type:"SPECIAL"},{data:"# Cholecalciferol",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nartemisinin\nArtemisinin",type:"SPECIAL"},{data:"# Artemisinin",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncannabidiol\nCannabidiol",type:"SPECIAL"},{data:"# Cannabidiol",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"NAVIGATION\nRIGHT=https://2018.igem.org/Team:Washington/Design;RIGHTNAME=Design",type:"SPECIAL"}],isContent:!0,pageTitle:"/Description"},{content:[{data:"HEADER\nTEXT=DESIGN\nBACKGROUND=https://static.igem.org/mediawiki/2018/f/fb/T--Washington--elisa.png\nYPOS=50\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nMINPADDINGTOP=120\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nnanobodies\nNanobodies",type:"SPECIAL"},{data:"# Nanobodies\n\nFor our binders, we chose to use nanobodies, which are fragments from antibodies found in camelids and sharks (1). They have small binding pockets compared to traditional antibodies, making them well suited for binding to small molecules. We used a highly diverse combinatorial library given to us by Dr. Gu from The Institute of Protein Design, who synthesized it using trinucleotide mutagenesis (TRIM) to alter the binding region of the nanobody (2). The diversity of this library is estimated to be greater than 10^9 variants.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nbiopanningp1\nBiopanning Phase 1",type:"SPECIAL"},{data:"# Biopanning Phase 1\n\nBiopanning served as a selection method for the nanobodies that we hoped to identify and utilize as a part of a chemically induced dimer. The selection is possible because of streptavidin coated magnetic beads, which are used with a strong magnetic bar and various biotinylated components. A sample of our biotinylated molecules (Artemisinin and Vitamin D3), binds to the coated magnetic beads. We then utilized a \u201cphage library,\u201d which consists of an array of bacteriophages that are bound to a nanobody, which in turns bind to the target molecule. We incubated the phage library with the molecule-bead complex to allow for optimal binding and then subjected the beads to various washing stages, so that only the phages that bind to our small molecule would still be bound. After washing, the phage-molecule complex is eluted from the magnetic bead by suspending the complex in triethylamine. We then infected E. coli cultures with the phages in order to create a stock of the output. We used a serial selection process in which the phage outputs of the prior stage are used in the next round of selection. Each subsequent iteration of the method utilizes more stringent washing. At the end, the process should have isolated the nanobodies that have the highest binding affinity to our small molecule, which we tested through ELISA and Octet procedures.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/f2/T--Washington--wetlabbiopanningprojectdesign.png,Biopanning Project Design,margin:auto,width:80%",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nelisa\nELISA",type:"SPECIAL"},{data:"# ELISA\n\nAfter narrowing down the possible selection of nanobodies through biopanning, we performed  indirect ELISA to quantify binding affinities of nanobodies to to the target molecule. From the biopanning phase, we picked out individual colonies of phage-infected TG1 E. Coli and expressed the phages using a helper phage. For a control, we also tested phage binding affinity to streptavidin and biotin. The conjugation of streptavidin and biotin is used to anchor the small molecule in the experimental plate, so this is a necessary control to assess whether phages bind to the molecule or the linker.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/fb/T--Washington--elisa.png,ELISA,width:95%,margin:auto",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncloning\nCloning",type:"SPECIAL"},{data:"# Cloning\n\nAfter picking out suitable nanobody candidates from the biopanning affinity selection technique and verifying them with ELISA, our next step was to clone and express those nanobodies in higher quantities to purify them in the future. Our vector of choice was pADL-23c-Avi (3), a phagemid vector designed for display of peptides, antibodies, or proteins with an additional Avi tag. The Avitag (4) is an amino acid sequence that signals for a specific enzyme biotin ligase (BirA) to biotinylate the nanobody, which would be necessary for future steps. Our general cloning procedure entailed that we digest our vector and inserts and then ligate them. We then transformed the assembled plasmids into WK6 competent cells.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/d/d2/T--Washington--plamid.png,pADL-23c-Avi,width:80%,margin:auto",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nproteinpurification\nProtein Purification",type:"SPECIAL"},{data:"# Protein Purification\n\nWith our nanobodies in new vectors, we expressed the phages using Isopropyl \u03b2-D-1-thiogalactopyranoside, or IPTG. This compound mimics allolactose which prompts lac operon transcription. Since our phagemid was designed to have protein expression under the control of the lac operon, the addition of IPTG to a growing culture allowed nanobodies to be produced in high quantities for later purification. We used a nickel-resin based purification protocol with our his-tagged nanobodies. After isolating our nanobody, we performed a desalting procedure to replace the imidazole buffer from purification. We then biotinylated the nanobodies using BirA, which was possible because our nanobodies have an Avi-Tag. The result was our biotinylated protein that could be used for additional characterization experiments and for biopanning to identify dimer binders.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\noctetkinetics\nOctet Kinetics",type:"SPECIAL"},{data:"# Octet Kinetics\n\nIn order to quantify the binding affinity of our nanobodies to artemisinin and cholecalciferol, we used biolayer interferometry. With this optical technology, the amount of these small molecules bound to nanobodies can be quantified in real time with biosensors from Pall ForteBio by measuring the change in the interference pattern of white light reflected off of a layer of nanobodies bound to the sensor. \n\nThese biosensors have a thin layer at the tip of the sensor that is coated in streptavidin, which allows us to anchor our nanobodies conjugated with biotin. When small molecules are bound by the anchored nanobodies, the optical layer thickens. This causes a wavelength shift which provides a measurement for the amount of nanobodies bound to small molecules. By measuring the rate at which the nanobodies bind at varying concentrations of the small molecule, we can obtain dissociation constants. \n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nfuturesteps\nFuture Steps",type:"SPECIAL"},{data:"# Future Steps\n\n## Dimer Binder Identification\n\nNow that we have identified and characterized suitable anchor binders from the original library after completing all the procedures up to this point, the next step is to repeat the process to identify a dimer binder than binds to the small molecule-anchor binder complex. The protocols are nearly identical, except during biopanning and characterization the anchor binder is linked to magnetic beads via streptavidin-biotin conjugation rather than the small molecule. The procedure is also done with the anchor binder bound to the small molecule so that we only select for nanobodies that specifically bind to that complex. \n\n## Biosensor\n\nWith the nanobody pairs identified, we will apply them into a yeast three-hybrid system to generate an output for the concentration of the target molecule. Figure 2 shows how the dimerization system is adapted for creating a biosensor in which the transcription of a reporter is enhanced as the DNA binding domain and activating domains of the Gal4 promoter join together. We will be using yeast strains PJ69-4A , -4\u0251 and PJ69 and vectors p0BD2 and pOAD (James and Halladay 1996). The vectors contain Gal4 activating and DNA binding domains upstream of a multiple cloning site where we can insert our nanobody binders. Upon transforming these recombinant vectors into the two strains, we can perform lacZ colorimetric assays (1) . A higher concentration of the target molecule will lead to an increased signal. Parameters retrieved from in vivo and in silico experiments and analysis can be incorporated into biological kinetic simulations to predict the dynamic output range of our two-hybrid biosensor. This can be done with Systems biology software such as Tellurium and COPASI. ",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/c/c9/T--Washington--biosensor.png,Biosensor,width:100%,margin:auto",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations\n\n1. Muyldermans, S. Nanobodies: Natural Single-Domain Antibodies. _Annu. Rev. Biochem._ **82**, 775\u2013797 (2013).\n1. Yan, J., Li, G., Hu, Y., Ou, W. & Wan, Y. Construction of a synthetic phage-displayed Nanobody library with CDR3 regions randomized by trinucleotide cassettes for diagnostic applications. _Journal of Translational Medicine_ **12**, 343 (2014).\n1. Fairhead M, Howarth M. Site-specific biotinylation of purified proteins using BirA. *Methods in molecular biology (Clifton, NJ)*. 2015;1266:171-184.\n1. James, P. & Halladay, J. Genomic Libraries and a Host Strain Designed for Highly Efficient Two-Hybrid Selection in Yeast. _Genetics_ **144**, 1425\u20131436 (1996).\n1. M\xf6ckli, N. & Auerbach, D. Quantitative \u03b2-galactosidase assay suitable for high-throughput applications in the yeast two-hybrid system. _BioTechniques_ **36**, 872\u2013876 (2004)",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"NAVIGATION\nLEFT=https://2018.igem.org/Team:Washington/Description;LEFTNAME=Project Description;RIGHT=https://2018.igem.org/Team:Washington/Experiments;RIGHTNAME=Experiments",type:"SPECIAL"}],isContent:!0,pageTitle:"/Design"},{content:[{data:"HEADER\nTEXT=EXPERIMENTS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINTITLEHEIGHT=6\nSUBTITLEHEIGHT=7\nMINPADDINGTOP=120\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nbiopanning\nBiopanning",type:"SPECIAL"},{data:"# Biopanning\n\nBiopanning served as a selection method for the nanobodies that we hoped to identify and utilize as a part of a chemically induced dimer. The selection is possible because of streptavidin coated magnetic beads, which are used with a strong magnetic bar and various biotinylated components. A sample of our biotinylated molecules (Artemisinin and Vitamin D3), binds to the coated magnetic beads. We then utilized a \u201cphage library,\u201d which consists of an array of bacteriophages that are bound to a nanobody, which in turns bind to the target molecule. We incubated the phage library with the molecule-bead complex to allow for optimal binding and then subjected the beads to various washing stages, so that only the phages that bind to our small molecule would still be bound. After washing, the phage-molecule complex is eluted from the magnetic bead by suspending the complex in triethylamine. We then infected E. coli cultures with the phages in order to create a stock of the output. We used a serial selection process in which the phage outputs of the prior stage are used in the next round of selection. Each subsequent iteration of the method utilizes more stringent washing. At the end, the process should have isolated the nanobodies that have the highest binding affinity to our small molecule, which we tested through ELISA and Octet procedures.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nelisa\nELISA",type:"SPECIAL"},{data:"# ELISA\n\n## Day 1: Phage inoculation\n\n### Plate 1: Helper Phage Plate\n1. Select 48 colonies from each of the 2 titered outputs. There are 2 outputs from the competitive elution and regular elution during round 5.\n\n    Plate Layout:\n",type:"MARKDOWN"},{data:"image of chart",type:"MARKDOWN"},{data:"Insert text",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\noctet\nOctet",type:"SPECIAL"},{data:"# Octet\n\n1. Fill wells A1 and B1 of a 96-well plate with the appropriate buffer.\n1. Take the buffer-only well plate and place it into an empty sensor tray. Place two super streptavidin (SSA) biosensors into the A1 and B1 wells - only one biosensor should occupy each well - and let sit for 10 minutes.\n1. Dilute the nanobody to 200uM and fill the 96-well plate with 200uL of the dilution according to the following layout.\n    * Nb refers to \u201cnanobody,\u201d B refers to \u201cbuffer.\u201d\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/4/40/T--Washington--Octet1.png,Octet 1,margin:auto,width:95%,boxShadow:5px 5px 10px gray",type:"IMAGE"},{data:"4. Make six serial dilutions of the protein, and fill 96-well plate with 200uL of each dilution according to the following layout.\n    * This should be in increasing concentration, so 1D refers to the least concentrated dilution and 6D is the most concentrated.\n    * Remaining wells should be filled with the appropriate buffer. \n    * If running an octet assay on more than one protein, the samples should be separated by a row of buffer.\n    * Our concentration ranges have been from 10mM to 32nM for our experiments.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/4/4b/T--Washington--Octet2.png,Octet 2,margin:auto,width:95%,boxShadow:5px 5px 10px gray",type:"IMAGE"},{data:"5. Program how the assay will run on the computer, making sure to define the correct plate layout, biosensors, and steps.\n    * You will need to run two assays - one for the nanobody and one for the protein; you should either set up both assays on the computer beforehand or set up the next one as the first one is running.\n1. Place the sensor tray and nanobody plate into the Octet machine, making sure that well A1 is oriented to the top right corner. Close the lid and let sit for 10 minutes.\n    * Wait for 10 minutes to allow the biosensors and assay plate to equilibrate to a stable temperature.\n1. Run the nanobody loading assay\n    * The first assay will be used to load the biotinylated nanobody to the sensor. This uses the first plate with the nanobody. A control sensor is used that is not immersed in the nanobody. Estimated time is 37 minutes.\n1. When the first assay is finished, replace the nanobody plate with the small molecule plate. Run the small molecule binding assay.\n    * The second assay immersed the sensor-bound nanobody into increasing concentrations of small molecule. For each concentration, there is an association, disassociation, and baseline step. This second assay typically takes 2 hours.\n1. When the assay completes, remove both the sensor tray and assay plate from the Octet. Dispose of the used biosensors in the waste drawer.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nproteinpurification\nProtein Purification",type:"SPECIAL"},{data:"# Protein Expression, Purification, and Biotinylation:\n\n## Expression and Lysis\n\nWe adapted a protocol from _ Pardon et al. 2014 _ . \n1. Inoculate wk6 starter culture in LB supplemented with 1mM Mgl2 and 0.5% glucose. Incubate overnight at 37\xb0C 170 rpm. \n1. Inoculate 1-2L culture with ~400uL of the starter culture. The media was TB supplemented with 1mM MgCl2 and 0.1% glucose. Grow until OD 0.7 and induce with 1mM IPTG. Grow overnight at 28\xb0C at 170 rpm\n    * The low percentage of glucose is important in order for the lac operon to work.\n1. Pellet the cells via centrifugation at 9000g for 15 minutes. \n1. Resuspend in 15mL TES buffer per liter of culture. Incubate on ice in orbital shaker for 1 hour. Then incubate in 30mL TES/4 for 45 minutes.\n1. Centrifuge at 10,000g for 30 minutes at 4\xb0C. Collect supernatant, which is the clarified lysate. \n\n## Notes:\n\nTES Buffer: \n* 1L solution pH 8\n* 22.4g Tris\n* 0.19g EDTA\n* 171.15g sucrose\n* 1L ddH20\n\nTES/4: \n* Dilute TES buffer 4 fold\n\n## Overview of Protein Purification and Biotinylating Procedures:\n\nWe used a nickel-resin based purification protocol with our his-tagged nanobodies. Specifically, used FPLC to wash and elute our nanobody once it is loaded into a Ni-resin column. After isolating our nanobody, we performed a desalting procedure to replace the imidazole buffer from purification. By running it through a desalting column, we can isolate our protein in PBS 5% glycerol buffer without imidazole. Then, we biotinylated the nanobodies using BirA, which is possible because our nanobodies have an Avi-Tag. Finally, we desalted our nanobodies again to isolate them from the substrates in the biotination reaction. In the end, we isolated our nanobodies in 1X PBS with 5% glycerol so they can be used for subsequent assays and procedures. \n\n## Specific Protocol Directions:\n\n### Purification\n\nWe will performed nickel-resin based purification protocol with our his-tagged nanobodies. Specifically, we used FPLC to wash and elute our protein from a lysate loaded into a ni-resin column. \n\n1. Running Lysate into column:\n    * Automated pump to load onto column in 556 far right corner. Pump lysate through into column, will take about 45mins. Once finished can remove column and bring to FPLC machine\n1. FPLC Elution:\n    * Wash the pumps for a few minutes to replace buffer in wiring, then add nickel column.\n    * First wash with wash buffer (sans imidazole) for about 8 minutes. This contains low imidazole concentration, 20mM. Flow rate can be 1mL/min. UV spectra over time will first have a spike, then should be constant.\n    * Add gradient to go to 100% buffer B over 8 minutes. The UV will increase at a constant rate due to imidazole. The imidazole concentration in the elution buffer is 250mM. \n        * Once the slope increases, this indicates the protein is being eluted. This will probably occur somewhere between 30-70% elution buffer, it has varied between experiments.\n        * Collect by executing \u201cFraction900\u201d 5mL\n            * To stop collection early, change flow rate to 0mL\n        * Make sure the falcon tube is oriented correctly to collect the elution.\n    * Cleaning column:\n        * Let flow at 100% imidazole for a few minutes, then decrease to 0% imidazole. Let wash for 5-10 minutes to remove all imidazole. \n\n### Desalting:\n\nDesalting was performed using an FPLC machine to quickly replace the elution buffer with 1X PBS and 5% glycerol.\n\n1. Preparation:\n    * Rinse off desalting injection column with milliQ water\n    * Adjust capacity to volume of elution of protein (ex: 5mL) and pour in. \n    * Screw in cap securely\n    * Add milliQ water to other side and screw in caps\n1. Secure injection column and desalting column with correct wiring orientation.\n1. Initiation\n    * Change flow-pump to \u201con\u201d\n        * Adjust flow-pump to 2 mL/min, pressure should be no more than ~0.5 mAU\n        * This pumps water above the injection column and pushes the sample out.\n1. Once the sample is completely dispensed, change flow-pump back to \u201cload\u201d\n    * Important to do! Otherwise pressure in injection tube might break apparatus\n1. Watch UV for spike. First spike will be the protein, so collect that.\n    * Same collection method: \u201cFrac900\u201d execution, approximately same volume as elution volume\n1. Clean up:\n    * Let buffer continue washing to let imidazole flow out column. You can stop or do next protein once UV peak shows imidazole went through. \n1. Closing program:\n    * Flow-rate to 0mL\n    * Hit \u201cEnd\u201d\n    * Can turn off machine\n\n## Biotinylation:\n\nWe used BirA enzyme to biotinylate our nanobodies which contain an Avi-tag. This is essential future experiments using these proteins because it allows us to bind them to  streptavidin-coated sensors for kinetic testing, and agarose beads for when we biopan for our second nanobody dimer binder.\n\nThis is similar to a DNA restriction digest because an enzyme catalyzes the reaction. You mix the following in some manner:\n\n1. Desalted nanobody\n1. BirA MixA, and BirA MixB  - the reaction buffers that also contain biotin\n1. BirA - The enzyme\n\nHere is a typical reaction recipe:\n\n1. 4mL of desalted nanobody \n1. 0.5 mL of BirA mixA\n1. 0.5 mL of BirA mixB\n1. 3uL BirA enzyme\n\nIncubation: Let incubate for one hour away from light at room temperature.\n\n### Desalting: \nPerform desalting of biotinylated protein identical to the previous method. The purpose of this is to isolate the protein in a buffer without the reagents from the biotinylation reaction (ATP, biotin, and other buffer components). \n\n## Citations\n\nPardon, E. et al. A general protocol for the generation of Nanobodies for structural biology. _Nature Protocols_ **9**, 674 (2014).\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ngeneral\nGeneral Protocols",type:"SPECIAL"},{data:'# General Protocols\n\n## YPD Media Recipe\n\nReagents needed for 1 L YPD Media:\n* 20 g Bacto peptone\n* 10 g Yeast extract\n* 50 mL sterile 40% glucose\n* 24 g Bacto agar (for agar plates only)\n\nProcedure (Liquid Media):\n\n1. Combine 20 g Bacto peptone and 10 g yeast extract in an autoclavable flask.\n1. Add 950 mL deionized H2O.\n1. Autoclave the mixture.\n1. Add 50 mL sterile 40% glucose and mix.\n1. Let cool before use.\n\nProcedure (Agar Plates):\n\n1. Combine 20 g Bacto peptone, 10 g yeast extract, and 24 g Bacto agar in an autoclavable flask.\n1. Add 950 mL deionized H2O.\n1. Autoclave the mixture.\n1. While stirring the autoclaved mixture on a magnetic stir plate, add 50 mL sterile 40% glucose.\n1. Pour media into plates while still warm.\n1. Allow mixture to cool and solidify.\n\nFrom: [http://cshprotocols.cshlp.org/content/2010/9/pdb.rec12315.full](http://cshprotocols.cshlp.org/content/2010/9/pdb.rec12315.full)\n\n## Epoch Miniprerp\n\nThis protocol should take around 45-75 minutes.\n\n1. From 2-6mL cultures grown 12-22 hrs in LB\n1. Pellet the cells by centrifuging for 1-2 min at 3500 rpm and decant off supernatant. Repeat this step twice.\n1. Remove the rest of the supernatant by pipet.\n1. Resuspend the pellet in 200uL of MX1 buffer by gently pipetting up and down or vortexing.\n1. Add 250 uL MX2 buffer and gently mix by inverting 4-5 times. Incubate for 5 minutes  00:05:00  . \n    * This step lyses the cells, thus it is important to not vortex as this could cause genomic DNA to contaminate the sample. \n1. _If the culture was centrifuged in falcon tubes transfer to a 1.5 mL eppendorf tube at this point._ \n1. Add 350 uL MX3 buffer to neutralize the lysate and gently mix the solution immediately.\n    * You should see a white precipitate form.\n1. Centrifuge for 5-10 (7.5*) minutes at 13000 rpm. Meanwhile set up and label GenCatch columns into collection tubes.\n1. Carefully transfer the supernatant to the column.\n1. Centrifuge 30-60 seconds at 5000 rpm. Discard flow-through.\n1. Wash the column once with 500 uL of WN buffer and centrifuge for 60 seconds at 9000 rpm. Discard flow-through.\n1. Wash the column once with 700 uL of WS buffer and centrifuge for 30 seconds at 9000 rpm. Discard flow-through.\n1. Centrifuge for 2 additional minutes at 13000 rpm. Discard flow-through.\n    * This removes additional ethanol\n1. Centrifuge for 1 additional minute at 13000 rpm for better results.\n1. Place the column in a new 1.5 mL eppendorf tube. Add 40 uL of Elution buffer (EB) directly onto the center of the membrane.\n    * The amount of EB used should vary based on your expected yield; higher yields use more EB to have more solution at a high concentration, lower yields use less EB to have a higher concentration at a lower volume.\n    * The EB should be directly placed on the membrane of the column (filter) in order to get good yields.\n1. Stand the column for 5 minutes at room temperature  00:05:00  .\n1. Centrifuge for 30 seconds at 13000 rpm to elute DNA.\n1. Measure the concentration using a NanoDrop ND-1000 to ascertain the DNA concentration of the sample at absorbance 260nm.\n1. Label the tube with the concentration and plasmid name (e.g. PSB1C3-mRFP), your initials, date, and concentration. For same day or short term store in the 4\xb0C fridge, long term store in the -20\xb0C fridge and log the location in the lab notebook.\n\n## TSS Buffer Recipe\n\nReagents needed for 50 mL of TSS Buffer:\n* 5 g PEG 8000\n* 1.5 mL 1M MgCl2 (or 0.30g MgCl2\u29816H2O)\n* 2.5 mL DMSO\n* LB media\n\nProcedure:\n\n1. Combine 5 g PEG 8000, 1.5 mL 1M MgCl2 (or 0.30g MgCl2\u29816H2O), and 2.5 mL DMSO.\n1. Add LB media to 50 mL.\n1. Filter sterilize (0.22 \u03bcm filter).\n\nNotes:\n* PEG 3350 can be used instead of PEG 8000. According to the original  CT Chung paper, PEG 3350 produces better efficiency, and other sized PEGs can be used as well albeit with a slight loss in efficiency.\n* pH from original Chung CT paper calls for pH to be acidic (pH=6.5)..., be sure to pH solution before sterilization.\n* If using non-chemically resistant filters (e.g., cellulose nitrate), add DMSO after sterilization. DMSO should be sterile in and of itself, so it may be prudent to add it afterwards if you are unsure about the compatibility of your filters.\n\nStorage:\n* Store at 4\xb0C or -20\xb0C\n\nFrom: [https://openwetware.org/wiki/TSS](https://openwetware.org/wiki/TSS)\n\n## TB Media Recipe\n\nReagents needed for 1 L of TB Media:\n* 24 g Yeast Extract\n* 20 g Tryptone\n* 4 mL Glycerol\n* 100 mL Phosphate buffer (0.17 MKH2PO4, 0.72 M K2HPO4)\n\nProcedure:\n\n1. Add 900 mL of deionized water to 24 g of yeast extract, 20 g of tryptone, and 4 mL of glycerol.\n1. Stir or shake until solutes have dissolved.\n1. Autoclave for at least 20 minutes.\n1. Let cool until you can hold the container (around 60\u2103).\n1. Add 100 mL of sterile phosphate buffer.\n1. Store at RT.\n\nFrom: [http://cshprotocols.cshlp.org/content/2015/9/pdb.rec085894.full?rss=1](http://cshprotocols.cshlp.org/content/2015/9/pdb.rec085894.full?rss=1)\n\n## PCR Q5\n\nWe recommend assembling all reaction components on ice and quickly transferring the reactions to a thermocycler preheated to the denaturation temperature (98\xb0C). All components should be mixed prior to use. Q5 High-Fidelity DNA Polymerase may be diluted in 1X Q5 Reaction Buffer just prior to use in order to reduce pipetting errors.\n\n| Component | 25 ul Reaction | 50 ul Reaction | Final Concentration |\n|-|-|-|-|\n| Water (Milli-Q) | to 25 uL | to 50 uL |  | \n| Template DNA | variable | variable | <1,000 ng (<1 ng if plasmid/viral) |\n| Fwd Primer | 1.25 uL | 2.5 uL | 500 nM |\n| Rev Primer | 1.25 uL | 2.5 uL | 500 nM |\n| Q5 HF 2X Mastermix | 12.5 uL | 25 uL | 1X |\n\nGently mix the reaction. Collect all liquid to the bottom of the tube by a quick spin if necessary. Overlay the sample with mineral oil if using a PCR machine without a heated lid. \n\nTransfer PCR tubes to a PCR machine and begin thermocycling. \n\nThermocycling Conditions for a Routine PCR:\n\n| Step | Temp | Time | \n|-|-|-|\n| Initial Denaturation | 98C | 30 sec |\n| 25-35 Cycles | 98C | 5-10 sec |\n|  | 50-72C** | 10-30 sec |\n|  | 72C  | 20-30 sec/kb** |\n| Final Extensio | 72C | 2 minutes |\n| Hold | 4C  | Infinitely |\n\nOnce protocol set up, hit "run", and "block" rather than sample. \n\n## LB Media Recipe\n\nReagents needed for 1 L LB Media:\n* 10 g Bacto-tryptone\n* 5 g Yeast extract\n* 10 g NaCl\n* 15 g agar (for LB agar plates)\n\nProcedure for LB Broth:\n\n1. Combine 10 g Bacto-tryptone, 5 g yeast extract, and 10 g NaCl in an autoclavable flask.\n1. Add 800 mL deionized water.\n1. Adjust pH to 7.5 with NaOH.\n1. Add deionized water to 1 L.\n1. Autoclave to sterilize.\n\nProcedure for LB Agar Plates:\n\n1. Combine 10 g Bacto-tryptone, 5 g yeast extract, and 10 g NaCl in an autoclavable flask.\n1. Add 800 mL deionized water.\n1. Adjust pH to 7.5 with NaOH.\n1. Add 15 g agar.\n1. Add deionized water to 1 L.\n1. Sterilize by autoclaving.\n\n[Liquid Media Recipe](http://www.thelabrat.com/protocols/11.shtml)\n[Agar Plates Recipe](http://www.thelabrat.com/protocols/LBAgar.shtml)\n\n## Gel Extraction\n\n1. Cut out the DNA fragment of interest with a razor blade from the gel. Minimize the amount of excess gel in the gel slice.\n1. Measure weight of gel slice. (100-350 mg)\n1. Add 3 Volumes GEX Buffer to 1 Volume gel. (Assume 100mg gel = 100 ul)\n1. Incubate at 55C for 5 to 10 minutes until the gel is completely dissolved. \n    * Invert cube every 1-2 minutes during incubation.\n1. Place Gel Extraction Column onto a collection tube. \n1. Load no more than 0.7mL dissolved gel mixture onto the column.\n1. Centrifuge for 30 seconds at 5000 rpm. Discard flow through.\n1. Repeat step 5-7 for the rest of the mixture if the total volume of the dissolved gel slice is > 0.7 mL.\n1. Wash Column once with 0.5 mL WN Buffer by centrifuging for 30 seconds at 5000 rpm. Discard flow through.\n1. Centrifuge column at 12000 rpm for another 3 minutes to remove residual ethanol. Discard flow through.\n1. Repeat 10 but at 1 minute instead of 3. \n1. Place column onto a new 1.5 mL centrifuge tube.\n1. Add 20 uL of Elution Buffer (EB) onto the center of the membrane.\n1. Stand Column for 2 minutes.\n1. Centrifuge for 60 seconds at 12000 rpm to elute DNA.\n1. Measure the concentration using the nanodrop.\n1. Record the concentration and store at -20C.\n\n## Gel Electrophoresis\n\nTo prepare a 50 mL 1% (by weight) agarose gel:\n\n1. Measure 50 mL TAE buffer = 50 g. \n1. Add 0.5 g agarose (specifically labelled for gel extraction) \n1. Microwave the solution in a 250 mL Erlenmeyer flask covered with a cap for ~45 seconds or until boiling. Watch carefully.\n1. Remove the flask from the microwave using heat-protective mittens. \n1. Swirl and continue briefly microwaving until all the agarose is dissolved.\n1. Let the solution cool until it is safe to handle.\n1. Add 10,000X SYBR in fume hood and swirl the solution. \n    * For 50 mL  (= 50,000 uL) add 5 uL.\n1. Pour into a gel box. \n    * Set up so liquid sets into gel (90\xb0 off orientation when running).\n    * Place well template ("comb") into the gel. Alter the type of comb (varies by number of lanes or thickness of wells) as necessary.\n1. Once solidified, take out the comb and orient with wells next to black (-) electrode.\n1. Pour TAE buffer to the fill line.\n\nTo prepare the samples:\n\n1. Dilute samples with 6X purple loading dye.\n    * For example, for a 25 uL of sample, add 5 uL of loading dye.\n    * May need to add dye into ladder as well.\n\nTo load samples onto the gel:\n\n1. Add ladder in leftmost lane. \n1. If it doesn\'t contain loading dye, add desired quantity.\n1. Mix the sample with the pipette a few times. \n1. Dispense slowly into the desired well. \n1. Record the contents of each lane.\n1. Repeat 3-5 for the desired number of samples.\n1. If empty lanes remain, fill them with loading dye and water in the same total volume as the other samples.\n1. Run the Gel. Check for bubbles when the gel is running.\n\n## 2X YT Media Recipe\n\nReagents needed for 1 Liter of 2X YT media:\n* 16 g Tryptone  \n* 10 g Yeast Extract\n* 5 g NaCL\n\nNOTE: Make sure to use a bottle double the volume as the liquid being autoclaved, otherwise it will boil over!\n\nFor \xbd Liter Agar Plates with Carbenicillin:\n\n1. Weigh and add directly to a 1 L container:\n    * 8 g Tryptone\n    * 5 g Yeast extract\n    * 2.5 g Nacl\n    * 7.5 g Agar\n1. Fill to 450 mL with milliQ H2O\n1. Autoclave for at least 20 minutes  \n1. Let cool until you can hold the container (around 60\u2103)\n1. Add 50 mL 20% Glucose and appropriate antibiotic:\n    * Carbenicillin: 100 ug/mL. For 500mL we will need 500 mL * 100 ug/mL=50000 ug, or 50 mg.\n\nGeneral Recipe for Plates:\n* Fill to 900 mL with ddH2O and adjust to pH 7 using 5M NaOH\n* Add 15 g/L Agar (assume 1 L total)\n* Autoclave to sterilize \n* After cooling to about 50\xb0C add 100 mL 20% glucose and antibiotics to working concentration\n* Pour plates according to plate-making procedure\n\nPlate-Making Procedure:\n* Mix 16 g Tryptone, 10 g Yeast Extract, 5 g NaCl into at least a 1000 mL beaker\n    * Don\u2019t use granulated tryptone\n* Fill to 900 mL with ddH2O, adjust to pH 7 using 5M NaOH\n* Add 3.75 g of Agar to 500 mL bottles (4 bottles with 3.75 g each)\n* Add Tryptone/yeast extract/NaCl/H2O mixture into bottles evenly (225 mL per bottle)\n    * Use grad. cylinder\n* Mix bottles\n* Autoclave\n* Add 25 mL of 20% glucose to each bottle\n* Add appropriate amount of working concentration of antibiotics to each bottle\n* Pour plates\n \nFor media:\n* Fill to 1L with ddH2O and adjust pH to 7 using 5N NaOH\n* Autoclave to sterilize\n',type:"MARKDOWN"},{data:"NAVIGATION\nLEFT=https://2018.igem.org/Team:Washington/Design;LEFTNAME=Design;RIGHT=https://2018.igem.org/Team:Washington/Notebook;RIGHTNAME=Notebook",type:"SPECIAL"}],isContent:!0,pageTitle:"/Experiments"},{content:[{data:"HEADER\nTEXT=NOTEBOOK\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nMINPADDINGTOP=120\nBLUR=3",type:"SPECIAL"},{data:"# Notebooks\n\n* [Biobricking](https://static.igem.org/mediawiki/2018/0/0e/T--Washington--BBnew.pdf)\n* [Biopanning Cholecalciferol](https://static.igem.org/mediawiki/2018/3/34/T--Washington--Biopanningd3.pdf)\n* [Biopanning Artemisinin](https://static.igem.org/mediawiki/2018/3/36/T--Washington--biopanningart.pdf)\n* [Cloning](https://static.igem.org/mediawiki/2018/2/25/T--Washington--c01new.pdf)\n* [Control ELISA](https://static.igem.org/mediawiki/2018/2/28/T--Washington--chr.pdf)\n* [Interlab](https://static.igem.org/mediawiki/2018/6/6a/T--Washington--interlab.pdf)\n* [Protein Purification](https://static.igem.org/mediawiki/2018/b/b2/T--Washington--pnew.pdf)",type:"MARKDOWN"}],pageTitle:"/Notebook"},{content:[{data:"HEADER\nTEXT=MODEL\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/73/T--Washington--LigDockAnim.gif\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nrosetta\nRosetta",type:"SPECIAL"},{data:"# Rosetta\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/a/af/T--Washington--RosettaLogo.png,Rosetta Logo,margin:auto,width:60%,maxWidth:300px",type:"IMAGE"},{data:"## Introduction\n\n[Rosetta](https://www.rosettacommons.org/software) is a powerful command-line program suite for computational macromolecular modeling developed by Dr. David Baker\u2019s lab at the University of Washington.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/f0/T--Washington--ProtModel.png,Prot Model,margin:auto,width:50%,maxWidth:500px,boxShadow:5px 5px 10px gray",type:"IMAGE"},{data:"Proteins naturally fold into the lowest energy conformation, and this folded structure gives proteins their function. However, modeling this process on an atom-by-atom basis is NP-hard, meaning that it cannot be easily done without a supercomputer. [1]\n\nRosetta reduces the computational complexity of this problem by dividing the sequence into fragments and substituting fragments of common folding motifs into the protein. It simulates random conformations in space and performs a Monte Carlo algorithm to find the lowest energy conformation. Essentially, random conformations are simulated to reduced the free energy in an iterative process until optimal conformations are obtained. If the change reduced the free energy, Rosetta continues from the new conformation. If the change increased the free energy, the simulation reverts to the old conformation.\n\nFor our project, we are interested in modeling the nanobodies identified by wetlab\u2019s biopanning process in order to better understand their molecular dynamics and increase their\nselectivity.  From this exploration we hope to be able to offer possible optimization of their sequences to produce even stronger binding nanobodies, as well as create detailed images and animations showcasing our project\u2019s complex biochemistry.  We used anchor and dimer nanobodies designed by Dr Gu\u2019s lab to bind to CBD to showcase how our methods can be used to model many other nanobodies found using our wetlab\u2019s biopanning process.\n\n## Homology Modeling\n\nHomology modeling can be used to quickly and accurately predict the structure of a protein solely from its amino acid sequence. Homology modeling uses sequence information from other similar protein structures to see how differences between such known structures and a new protein of interest can aid in creating a novel mapping of this structurally unknown protein. The quality and accuracy of the models produced will depend on how similar the template structures are to the protein of interest. Proteins with high homology, especially those with less gaps in the protein sequence, lead to faster and more accurate results. Rosetta has built in homology modeling support through RosettaCM which we used to model our nanobodies.\n\nRosettaCM is an alternative to a different Rosetta protocol for de novo protein folding.  Instead of starting from a few base structures to build from, such as in homology simulations, de novo protein folding starts from scratch each time and uses a Monte Carlo simulation to predict the structure of your protein\u2019s sequence. Because it has to start from nothing for each stochastic simulation, each model is not as accurate as homology models and thus requires many more models before a clear convergence can be seen. 50,000-100,000 is the recommended amount of predicted structures for the de novo protocol, while homology modeling only needs around 50-200. \n\nWhile de novo works for modeling novel proteins where there might not be many similar structures readily available, in our case many other homologous nanobodies have been studied. Therefore, we chose to use homology modeling as the more precise and faster alternative.\n\n### Methodology\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/6/62/T--Washington--CIDMod.png,PyMOL visualization of our CID complex in ribbon view,boxShadow: 5px 5px 10px gray,margin:auto,width:70%",type:"IMAGE"},{data:"PyMOL visualization of our CID complex in ribbon view",type:"MARKDOWN"},{data:"The first step in homology modeling is to make a FASTA file for the target protein sequence. This is simple and can be done manually. An example is shown below. Change `protein_name` to the name of the target protein. This should match the name of the file (eg `5vnv.fasta`).  \n\n```\n>protein_name\nEVQLQASGGGFVQPGGSLRLSCAASGSTSRQYDMGWFRQAPGKEREFVSAISSNQDQPPY\nADSVKGRFTISRDNSKNTVYLQMNSLRAEDTATYYCAFKQHHANGAYWGQGTQVTVSS\n```\n",type:"MARKDOWN"},{data:"The next step is to get 2-5 PDBs of similar proteins that will act as the template. This can be achieved using a NCBI website called [BLAST](https://blast.ncbi.nlm.nih.gov/Blast.cgi). Under protein BLAST, enter the target protein\u2019s sequence, select to only show proteins from the Protein Data Bank, and press BLAST. This will query their database of known protein structures and find the ones with high homology.  Select proteins which have the highest match and the fewest gaps in their sequence comparison. Rosetta is less able to add in new amino acids compared to deleting or swapping them out, so it is often best to select sequences which have a lower similarity score but fewer gaps. Depending on the protein you are trying to simulate there might be many eligible structures to choose from but less than 5 templates is ideal for Rosetta.\n\nOnce the template proteins have been selected, their PDBs can be downloaded from the [Protein Data Bank](http://www.rcsb.org) website. However, this downloaded PDB will most likely contain more chains than the ones that were pinged by BLAST. Rosetta comes with a Python script called `clean_pdb.py` to get rid of any unwanted chains. This program will also produce a FASTA file for the template proteins which is needed in the next step.\n\nAnother website, [Clustal Omega](https://www.ebi.ac.uk/Tools/msa/clustalo/), is then used to combine and align all the template and target protein sequence FASTA files so they can be easily compared by Rosetta. Since the file output of Clustal Omega is not a reconized file type in Rosetta, we wrote a python script to convert this clustal file into a Grishin alignment file which Rosetta understands:",type:"MARKDOWN"},{data:"ACCORDION\n===\nCode\n```\n#!/usr/bin/env python\n\"\"\"\nConvert clustal alignment files to grishin for use in rosetta\nAuthor: Ed van Bruggen <edvb@uw.edu>\n\"\"\"\n\nimport sys\nimport argparse\nfrom argparse import RawTextHelpFormatter\n\nparser = argparse.ArgumentParser(description=__doc__, formatter_class=RawTextHelpFormatter)\nparser.add_argument('--file', type=str, required=True,\n                    help='input clustal alignment file')\nparser.add_argument('--target', metavar='POS', type=int, default=1,\n                    help='position of target protein (default: 1)')\nargs = parser.parse_args()\n\naln = open(args.file)\nproteins = []\n\nfor i, line in enumerate(aln):\n    if i == 0 or line == '\\n' or line[0] == ' ':\n        continue\n    words = line.split()\n    skip = 0\n    for protein in proteins:\n        if protein[0] == words[0]:\n            protein[1] += words[1]\n            skip = 1\n            continue\n    if not skip:\n        proteins.append([words[0], words[1]])\n\ntarget = proteins[args.target - 1]\n\nfor protein in proteins:\n    if protein == target:\n        continue\n    grishin = open(target[0] + \"_\" + protein[0] + \".grishin\", \"w\")\n    grishin.write(\"## %s %s_thread\\n#\\nscores from program: 0\\n0 %s\\n0 %s\\n\" %\n                  (target[0], protein[0], target[1], protein[1]))\n```",type:"SPECIAL"},{data:"To simplify the work Rosetta has to do for large proteins, fragment files can be utilized. Fragment files contain various motifs of protein folding for many amino acid sections in the given sequence. This allows Rosetta to test out sections of amino acids instead of examining one residue at a time. Fragment files can be generated by the [Robetta](http://www.robetta.org/) server. \n\nThe Grishin alignment files and the template PDBs are used as input to Rosetta\u2019s `partial_thread` executable to generate threaded PDBs which contain a mix of a single template and the target nanobody. An example command is shown below. Each template PDB should have its own threaded PDB.\n\n```\nrosetta/main/source/bin/partial_thread.default.linuxgccrelease \n-in:file:fasta molxa3.fasta -in:file:alignment molxa3_6dbeA.grishin \n-in:file:template_pdb 6dbeA.pdb\n```\n\nThe threaded PDBs, target sequence FASTA file, target protein fragment files, and a RosettaCM XML file are then all given to the `rosetta_scripts` executable to generate the homology models of the target nanobody.  The XML file is a script which informs Rosetta on the specifics of how to run the desired protocol. An example for RosettaCM is displayed below.\n\n```\nrosetta/main/source/bin/rosetta_scripts.default.linuxgccrelease \n-in:file:fasta molxa3.fasta -parser:protocol hybridize.xml \n-default_max_cycles 200 -dualspace\n```\n",type:"MARKDOWN"},{data:'ACCORDION\n===\nRosettascript\n```\n<ROSETTASCRIPTS>\n\t<TASKOPERATIONS>\n\t</TASKOPERATIONS>\n\t<SCOREFXNS>\n    \t<ScoreFunction name="stage1" weights="score3" symmetric="0">\n        \t<Reweight scoretype="atom_pair_constraint" weight="1"/>\n    \t</ScoreFunction>\n    \t<ScoreFunction name="stage2" weights="score4_smooth_cart" symmetric="0">\n        \t<Reweight scoretype="atom_pair_constraint" weight="0.5"/>\n    \t</ScoreFunction>\n    \t<ScoreFunction name="fullatom" weights="ref2015_cart" symmetric="0">\n        \t<Reweight scoretype="atom_pair_constraint" weight="0.5"/>\n    \t</ScoreFunction>\n\t</SCOREFXNS>\n\t<FILTERS>\n\t</FILTERS>\n\t<MOVERS>\n    \t<Hybridize name="hybridize" stage1_scorefxn="stage1" stage2_scorefxn="stage2" fa_scorefxn="fullatom" batch="1" stage1_increase_cycles="1.0" stage2_increase_cycles="1.0" linmin_only="1">\n        \t<Fragments three_mers="a2_3.frags" nine_mers="a2_9.frags"/>\n        \t<Template pdb="1vhpA_thread.pdb" cst_file="AUTO" weight="1.000" />\n        \t<Template pdb="5vnvA_thread.pdb" cst_file="AUTO" weight="1.000" />\n    \t</Hybridize>\n\t</MOVERS>\n\t<APPLY_TO_POSE>\n\t</APPLY_TO_POSE>\n\t<PROTOCOLS>\n    \t<Add mover="hybridize"/>\n\t</PROTOCOLS>\n</ROSETTASCRIPTS>\n```\n',type:"SPECIAL"},{data:"It is recommended that 50-200 PDBs are generated, depending on how quickly the resulting models seem to converge. For our nanobodies, we generated around 150-200 PDB for each nanobody sequence. The top 10 lowest energy PDBs had a noticeable convergence in their structure and were therefore used in our further simulations. See the [results](https://2018.igem.org/Team:Washington/Results) section for details.",type:"MARKDOWN"},{data:"ACCORDION\n===\nThe Homology Modeling Workflow\n![The Homology Modeling Workflow](https://static.igem.org/mediawiki/2018/f/f0/T--Washington--HMWorkflow.png)",type:"SPECIAL"},{data:"## Genetic Algorithm Ligand Docking\n\nRosetta has a protocol called ligand docking to determine how a ligand will interact with a given protein structure. We used this protocol with the structures of our nanobodies found through homology modeling to see how our nanobodies interact with the respective molecules they are supposed to be binding to. We are able to predict and test where the binding pocket of the nanobody would be through this protocol. For our simulations, we tested the binding of a nanobody that bound to a molecule of CBD.\n\nWe originally ran a standard version of the ligand docking protocol that was in the stable release of Rosetta, but the resulting PDB models were not converging to a likely conformation and there was no obvious chemical interactions between the residues of the anchor nanobody to the ligand. The ligand was sitting too high in the binding pocket of the nanobodies and there was  little convergence in the ligand position as in Figure 1 and 2.\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=2\nDESCRIPTION=Figure 1: Side angle of non convergence with traditional ligand docking in ribbon view;PICTURE=https://static.igem.org/mediawiki/2018/5/5e/T--Washington--LigDock1.png\nDESCRIPTION=Figure 2: Surface view of Figure 1;PICTURE=https://static.igem.org/mediawiki/2018/6/6e/T--Washington--LigDock2.png",type:"SPECIAL"},{data:"We re-ran the ligand docking simulation through a newly developed Rosetta protocol found in their recent weekly development release which utilizes a new novel algorithm. This gave us vastly improved results. The new Genetic Algorithm (GA) ligand docking protocol uses genetic evolution to create a pool of models, select the best one, mutate it, and from that mutated model create another pool of models. This continues for a number of iterations. The mutating process allows for diversity in the pool of models to be maintained, improving the protocols ability find low energy structures. Several of these stochastic pools are generated and only the best from each are compared since there is no convergence in a single diverse set.  The old ligand docking uses a Monte Carlo algorithm to move and rotate different conformations of the ligand to find a possible lowest energy position.  This new method dynamically changes both the ligand and the backbone structure throughout the simulation instead of relying on a given confirmation file generated externally.\n\n### Methodology\nThe first step in ligand docking is to get a PDB for the ligand, in our case we used CBD. Next, the ligand PDB should be combined with each of the target PDBs that you want to dock. We used the top 10 best models from our homology modeling to run through ligand docking. The Unix command `cat anchor.pdb ligand.pdb > anchor-ligand.pdb` can be used to concatenate the two PDB files together. This concatenated PDB is then opened in a molecular visualization tool such as PyMOL or Chimera. \n\nThe ligand needs to be manually positioned through this visualization software to the rough area predicted to be the binding pocket. Placing the ligand close to the location of the suspected binding pocket helps Rosetta narrow its search region and quickly produce more accurate results. For our nanobodies, we predicted that the CBD molecule will bind within the 3 varied loop regions. We manually placed our CBD molecule roughly in this area (Figure 3).  This new file with the nanobody and ligand can then be run through GA ligand docking.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/4/4d/T--Washington--LigDock3.png,Ligand docking,boxShadow: 5px 5px 10px gray,margin:auto,width:70%",type:"IMAGE"},{data:"Figure 3: Example of rough manual ligand placement in homology models to be inputted into Rosetta GA ligand docking",type:"MARKDOWN"},{data:"**Conformer file**\n\nThe `anchor-ligand.pdb` only contains one conformation of the ligand, therefore, in order to get a more accurate simulation, a conformer file might be necessary to provide Rosetta with various possible positions that the ligand can take. Having various conformations simulates a flexible binding pocket and leads to more accurate models. This step is only needed for the old ligand docking protocol as GA ligand docking will automatically sample various conformations internally and dynamically.\nThe conformer file can be generated with a program called [OpenBabel](http://openbabel.org/wiki/Main_Page). Use the command below to generate a conformer file for a ligand named `ligand_confs.pdb`.:\n\n```\nobabel ligand.pdb -O ligand_confs.pdb --confab --conf 1000 \u2014writeconformer\n```\n\n**Params File**\n\nThe params file contains various information about the molecules chemical and geometric information that will be used to determine its amino acids\u2019 connectivity to other amino acid residues. Rosetta needs a param file of the ligand in order to run its ligand docking protocol. The params file can be generated from a MOL2 file format of the ligand. A PDB file (a more common format) can be converted into a MOL2 format. However, PDB files are usually missing information about the hydrogens of a molecule since in many use cases they are not necessary. In order to convert PDB to MOL2, first use [phenix.reduce](https://www.phenix-online.org/documentation/reference/hydrogens.html) to add hydrogens to the PDB file. Then, use OpenBabal to convert the PDB to MOL2 file type. Finally, Rosetta provides a script to convert the MOL2 file into the params file. An example is shown below:\n\n```\npython rosetta/main/source/scripts/python/apps/public/molfile_to_params.py --keep-names\nligand.mol2 -p ligand -n ligand --conformers-in-one-file ligand_confs.pdb\n```\n\n**Dock XML**\n\nThe `dock.xml` file tells Rosetta Script what precise movers it needs to use. We used the following script to run GA ligand docking:\n\n",type:"MARKDOWN"},{data:'ACCORDION\n===\nRosettascript\n```\n<ROSETTASCRIPTS>\n  <SCOREFXNS>\n    <ScoreFunction name="genpot_soft" weights="beta">\n      <Reweight scoretype="fa_rep" weight="0.2"/>\n    </ScoreFunction>\n    <ScoreFunction name="genpot" weights="beta_cart">\n      <Reweight scoretype="coordinate_constraint" weight="0.1"/>    \n    </ScoreFunction>\n  </SCOREFXNS>\n\n  <TASKOPERATIONS>\n  </TASKOPERATIONS>\n\n  <FILTERS>\n  </FILTERS>\n\n  <MOVERS>\n    <GALigandDock name="dock" scorefxn="genpot_soft" \n        scorefxn_relax="genpot" grid_step="0.25" hashsize="8.0" \n        subhash="3" final_exact_minimize="bbsc1"\t\t  \n        init_oversample="10" rotprob="0.9" rotEcut="100"\n        padding="4.0" sidechains="aniso" sc_edge_buffer="0" \n        favor_native="2" fastrelax_script="relax.script">      \n    <Stage repeats="10" npool="100" pmut="0.2" smoothing="0.375" rmsdthreshold="2" maxiter="50" pack_cycles="100" ramp_schedule="0.1,1.0"/>  \n    </GALigandDock>\n  </MOVERS>\n\n  <PROTOCOLS>\n    <Add mover="dock"/>\n  </PROTOCOLS>\n  <OUTPUT scorefxn_relax="genpot"/>\n</ROSETTASCRIPTS>\n```\n',type:"SPECIAL"},{data:"**Running the script**\n\nRosetta scripts should then be run with the following options in order to generate GA ligand docking models: \n\n```\nrosetta/main/source/bin/rosetta_scripts.default.linuxgccrelease\n\t-s input.pdb \n\t-parser:protocol dock.xml\n\t-beta_cart\n\t-extra_res_fa ligand.params \n\t-in::file::load_PDB_components false \n\t-nstruct 1\n```\n\n## Protein to Protein Docking\n\nThe last step of our simulation was to simulate the dimerization of the dimer nanobody to the anchor nanobody and ligand complex. This can be achieved through use of Rosetta\u2019s protein to protein docking protocol. Docking two proteins together is a much harder process than docking a small molecule to a single nanobody due to the larger surface area causing exponentially more interactions between amino acid residues. We expected that the variable loop region of the dimerization nanobody would dock onto the ligand binding pocket of the anchor nanobody as shown in Figure 4.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/0/01/T--Washington--ConformModel.png,CID of dimer nanobody with ligand and anchor nanobody complex,boxShadow: 5px 5px 10px gray,margin:auto,width:70%",type:"IMAGE"},{data:"Caption Figure 4: CID of dimer nanobody (blue) with the ligand (red) and anchor nanobody (green) complex. This is a conformation close to what we expected, but there was not adequate convergence to this conformation.\n\n### Methodology\n\nTo dock our dimerization nanobody to the ligand-anchor nanobody complex, we used the [RosettaDock](https://www.rosettacommons.org/manuals/archive/rosetta3.4_user_guide/d0/de4/docking_protocol.html) protocol. This protocol uses a similar Monte Carlo algorithm for sampling that the RosettaCM protocol used for homology modeling. This protocol requires a PDB that contains both the dimer nanobody and the ligand-anchor complex. This can be accomplished through concatenating the contents of the complex PDB file found through GA ligand docking, into the dimer nanobody PDB from homology modeling. This concatenation has to be done for the cross product of all the complex PDBs with all the dimerized PDBs since each possible combination of the best models has to be accounted for in our simulations. \n\nThis combined PDB first needs to be pre-packed using the [Docking Prepack](https://www.rosettacommons.org/manuals/archive/rosetta3.4_user_guide/de/d69/docking_prepack_protocol.html) protocol. In order for this protocol to work, the chain IDs of the CBD ligand and the anchor nanobody must be the same while chain ID of the dimerization nanobody should be different. This is because Rosetta will only dock proteins with different chain IDs. We created a script that renames the chain IDs and runs both protocols. Note that file names listed are general and must be renamed to work correctly. The `CBD.params` file generated in ligand docking will also be used here.",type:"MARKDOWN"},{data:'ACCORDION\n===\nScript\n```\n#!/bin/bash\n\n# Rename chains of the ligand and anchor nanobodies to match\nawk \'{if ($1=="ATOM"||$1=="HETATM") print substr($0,0,21)"A"substr($0,23); else print $0}\' complex.pdb > complex-relabeled.pdb\n\n# Rename chain of dimerization nanobody to be different. Rosetta docks different chain IDs.\nawk \'{if ($1=="ATOM"||$1=="HETATM") print substr($0,0,21)"B"substr($0,23); else print $0}\' dimer.pdb > dimer-relabeled.pdb\n\n# Concatenate both chains into one file\ncat complex-relabeled.pdb dimer-relabeled.pdb > combined.pdb\n\n# run pre-packing protocol\nrosetta/main/source/bin/docking_prepack_protocol.default.linuxgccrelease -s combined.pdb -in:file:extra_res_fa CBD.params\n\nrosetta/main/source/bin/docking_protocol.default.linuxgccrelease\n\t-nstruct 1\n\t-ex1\n\t-ex2aro\n```',type:"SPECIAL"},{data:"## Results\n\nThrough Rosetta\u2019s homology modeling protocol we were successfully able to create accurate structures for several of our CBD anchor and dimer nanobodies without the expensive and time consuming process of crystallography.  With these predicted models we were then able to perform ligand docking with the anchor nanobodies to see how a CBD molecule will dock and bind to our nanobody.  After failing to find adequate convergence through the traditional docking protocol, we decided to use the newly developed GA ligand docking Rosetta protocol. Because this protocol uses a genetic algorithm as well as examining the different possible ligand conformations inside Rosetta, we were able to find a strong convergence of the ligand within a pocket of the anchor nanobodies.\n\nOur homology modeling showcased 3 variable loop regions in our anchor and dimerization nanobodies. A composite image of the top 10 best structures from our simulations of an anchor nanobody illustrates the relatively unchanging body of the protein along side the 3 variable loop regions. This is shown below in figure 5.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/f4/T--Washington--AnchorBody.gif,PyMOL animation,boxShadow: 5px 5px 10px gray,margin:auto,width:50%",type:"IMAGE"},{data:"Figure 5: PyMOL animation of the top homology models for a single anchor nanobody of CBD",type:"MARKDOWN"},{data:"The sequence in these loop regions are the most varied part between our nanobodies and the proteins found through BLAST since they govern what our proteins bind to. Our model reflects this in the relatively unconverged right and left loops. When there is no ligand present in the nanobodies their variable loops have nothing to bind to and so do not have as rigid of a structure, which is why we do not see as much convergence in two of the varied regions (the left and right loops) compared to the rest of the protein.  The third varied loop sees very good convergence compared to the other two regions since it is still rigid like the rest of the protein without the presence of a ligand.\n\nThe results from the old ligand docking protocol clearly showed the non-convergence between the best (lowest energy) models generated.  However, through GA ligand docking we were able to find a very tight convergence of the ligand into a single pocket as shown in Figure 6 depicting our top 5 models of CBD docking onto an anchor nanobody. This further confirms wetlab\u2019s results of the anchor nanobody binding strongly to the CBD molecule. \n\nAs a control we also preformed homology modeling on a nanobody found through biopanning which did not show as high of a binding affinity to CBD compared to others.  We hope to be able to simulate ligand docking with this nanobody and find little convergence of CBD, confirming wetlab\u2019s hypothesis that this different protein does not tightly bind to our ligand.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/7/73/T--Washington--LigDockAnim.gif,Ligand Docking Animation,boxShadow: 5px 5px 10px gray,margin:auto,width:50%",type:"IMAGE"},{data:"Figure 6: A surface view of the CDB ligand docking into the anchor nanobody with excellent convergence between the different models.\n\nOur last step of simulating the dimerization of the dimer nanobody to the ligand-anchor complex did not yield sensible results. There was also a lack of convergence between the different models generated from RosettaDock. A common problem was the ligand interfacing with the side of the dimer nanobody instead of the variable loops region as shown in Figure 7. Many low energy models also had the dimer nanobody connecting with a random side of the anchor nanobody, not anywhere near the ligand. We are continuing to refine our process and parameters for RosettaDock including tightening constraints of where the dimer nanobody can bind to the complex. Having more constraints will give Rosetta a smaller sample space, discouraging it from exploring wild non convergent structures.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/d/dd/T--Washington--liganchor.png,Dimer protein to ligand-anchor complex,boxShadow: 5px 5px 10px gray,margin:auto,width:70%",type:"IMAGE"},{data:"Figure 7: A model of the dimer protein to the ligand-anchor complex showing an unrealistic conformation, but one that was prevalent in our results.\n\n### Future Work\n\nWe hope to introduce more variables into our simulations in the future. Specifically, we want to simulate nanobodies with a mutation in the variable loop regions to see how it may affect ligand docking and the dimerization of the second nanobody. Being able to produce a relatively accurate depiction of binding affinity would help wetlab eliminate nanobodies that are unlikely to be good candidates to bind to a particular molecule. Mutations in the amino acid sequence can also be introduced and simulated in order to see which amino acids are affecting the binding strength the most. \n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ntellurium\nTellurium",type:"SPECIAL"},{data:"# Tellurium",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/2d/T--Washington--TelluriumLogo.png,Tellurium logo,margin:auto,width:70%,maxWidth:300px",type:"IMAGE"},{data:'## Introduction\n\n[Tellurium](https://tellurium.readthedocs.io/en/latest/index.html) is an open-source Python environment developed for kinetic mathematical modeling of biological networks, developed by the Sauro lab at the University of Washington. The backend of Tellurium is coded in C++, allowing it to be fast enough to be used for highly complex systems. It can model ODEs, PDEs, and stochastic differential equations. In many ways, Tellurium is our open-source, robust substitute for an expensive multi-paradigm numerical computing system such as MATLAB.\n\nTellurium is most useful for understanding the kinetics of a system, and our team used it to model the chemical networks relevant to our project. These kinetics give us insight into how fast a reaction proceeds and how certain parameters of the model affect the outcome. When applied to a gene network, we gain insight into rate-limiting steps, whether or not a system comes to a steady state, and how the system acts if it is perturbed. This information gives the Wetlab team some insights in the future about what they ought to expect from their experiments, and helped us determine likely sources of error. Furthermore, we would be able to directly compare different Wetlab procedures and assess them on desirable characteristics such as time to completion and resource-use efficiency.\n\nThe classic understanding of the kinetics of a system is that the rate-limiting step controls the rate at which the overall reaction proceeds. If you increase the rate of the rate-limiting step, then you increase the rate of the overall reaction. The rate limiting step has complete "control" over the overall reaction rate. However, real systems are rarely this simple, especially when a biological network has feedback loops. Control is typically shared unequally between multiple steps, and it is rarely easy to identify which steps have greater control than others. [2] Tellurium gives us an option for computing which can give us insights for how to efficiently manufacture a molecule of interest or how we can modify the gene network to make a cell produce more or less of a compound.\n',type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/8/8d/T--Washington--GenNetwork.png,Flow graph of chemical reaction network,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:800px",type:"IMAGE"},{data:"Figure 8: An example flow graph for easy visualization of a chemical reaction network.\n\nWe began with a basic model for nanobody dimerization. This model uses antibody kinetic data from [Bionumbers](http://bionumbers.hms.harvard.edu/) and assumes a pre-existing nanobody concentration.\n\n## Kinetic Modeling",type:"MARKDOWN"},{data:"ACCORDION\n===\nModel code\n```\nmodel feedback()\n  // Reactions:\n  J0: Nan1 + Mol -> Nan1Mol; (K1*Nan1*Mol);\n  J1: Nan1Mol -> Nan1 + Mol; (K_1*Nan1Mol); \n  J2: Nan1Mol + Nan2 -> Nan1MolNan2; (K2*Nan1Mol*Nan2)\n  J3: Nan1MolNan2 -> Nan1Mol + Nan2; (K_2*Nan1MolNan2)\n  J4: Nan1MolNan2 + GeneOff -> GeneOn; (K3*Nan1MolNan2*GeneOff);\n  J5: GeneOn -> Nan1MolNan2 + GeneOff; (K_3*GeneOn);\n \n  // Species initializations:\n  Nan1 = 0.0001692; Mol = 0.0001692/2; Nan2 = 0.0001692; Nan1Mol = 0;\n  Nan1MolNan2 = 0; GeneOff = 5*10^-5; GeneOn = 0;\n \n  // Variable initialization:\n  K1 = 6.1*10^5; K_1 = 8*10^-5; K2 = 3.3*10^5; K_2 = 5.7*10^-8; K3 = 1*10^5; K_3 = 0;\n```",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/1/15/T--Washington--RegNetwork.png,Simulation of first constructed model for the CID nanobody system,boxShadow: 5px 5px 10px gray,margin:auto,width:70%;maxWidth:600px",type:"IMAGE"},{data:"Figure 9: The simulation of our first constructed model for the CID nanobody system showing concentration of the various molecules involved over time.\n\nThe benefit of this simple model was that it allowed us to look more closely at the individual interactions and their response to perturbations. Using parameter sweeping, we could step over a range of values for each parameter and inspect how that given change altered the overall output: the amount of our target gene activated. We see that K3, the parameter associated to the binding of the transcription factor (the nanobody dimer) to our gene, and K2, the parameter associated to dimerization, are the most sensitive to alterations, while K1, the parameter associated to the first/anchor nanobody binding to the target molecule, and the associated reverse reactions (K_1, K_2, and K_3) are less so. This told us that these two steps were the ones most prone to create experimental error in Wetlab, and that a strong dimerization is more important than a strong connection between the anchor and target molecule. As such, when panning for possible nanobodies and running our Rosetta docking simulations, we prioritized a strong dimerization over a strong anchor-binding.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/2b/T--Washington--ParamSweep.png,Parameter sweep,boxShadow: 5px 5px 10px gray,margin:auto,width:90%,maxWidth:1200px",type:"IMAGE"},{data:"Figure 10: The parameter sweep, where each subplot contains numerous simulations varying the parameter of interest. Wider distributions show that some parameters are more susceptible to uncertainty than others.\n\nWe expanded upon this basic model by introducing steps for the transcription and translation of the nanobodies, as was the case in our Wetlab experiments. Additionally, we added in the separate compartments involved in the process. This added in another constraint to the system by forcing the model to account for diffusion rates. \nFor this project, we used this model to help approximate the timespan over which our reactions occur, but in the future, we would like to use this model to perform more in-depth analysis of our system.\n",type:"MARKDOWN"},{data:'ACCORDION\n===\nAdvanced Model\n```\nantimonyString = ("""    \n    J0: $AncDNA -> AncRNANuc ; a_rna * AncDNA\n    J1: $DimDNA -> DimRNANuc ; a_rna * DimDNA\n    # transcription\n    # units of (mRNA copies)/(sec)\n    J3: AncRNANuc -> AncRNACyt ; diffusion_rna * AncRNANuc - diffusion_rna * AncRNACyt  \n    J2: DimRNANuc -> DimRNACyt ; diffusion_rna * DimRNANuc - diffusion_rna * DimRNACyt\n    # mRNA transport out of the nucleus into the cytoplasm\n    # units of (mRNA copies)/(sec)\n    \n    J4: AncRNACyt -> ; d_rna * AncRNACyt\n    J5: DimRNACyt -> ; d_rna * DimRNACyt\n    J6: AncRNANuc -> ; d_rna * AncRNANuc\n    J7: DimRNANuc -> ; d_rna * DimRNANuc\n    # mRNA decay\n    # units of 1/(sec) * (mRNA copies) = (mRNA copies)/(sec)\n    J8: -> AncBinder ; a_nb * AncRNACyt\n    J9: -> DimBinder ; a_nb * DimRNACyt\n    # translation\n    # units of (protein copies)/(sec * mRNA copies) * (mRNA copies) = (protein copies / sec)\n        \n    J10: AncBinder -> ; d_nb * AncBinder\n    J11: DimBinder -> ; d_nb * DimBinder\n    J12: DimerCyt -> ; d_nb * DimerCyt\n    J13: DimerNuc -> ; d_nb * DimerNuc\n    # protein decay\n    # units of (1 / sec) * (protein copies) = (protein copies / sec)\n    \n    J14: MoleculeMedium -> MoleculeCyt ; (MoleculeMedium - MoleculeCyt) * diffusion_mol\n    \n    J29: MoleculeCyt + AncBinder -> Complex ;  k_on_anchor_binder * MoleculeCyt * AncBinder -  k_off_anchor_binder * Complex\n    # the anchor binder binds to molecule of interest to form a complex.\n    # nanobody complexes may dissociate over time\n    # units for forward reaction: (1 / (mols / liter) * sec) / (copies / mol)  / liters * copies * copies = copies / sec\n    # units for backwards reaction: (1 / sec) * copies = copies / sec\n    J15: Complex + DimBinder -> DimerCyt ; k_on_dimerization_binder * DimBinder * Complex - k_off_dimerization_binder * DimerCyt\n    # dimerization binder binds to complex to form dimers      \n    # dimers may dissociate, but much less often than complexes\n    # units for forward reaction: (1 / (mols / liter) * sec) / (copies / mol)  / liters * copies * copies = copies / sec\n    # units for backwards reaction: (1 / sec) * copies = copies / sec\n    \n    J16: DimerCyt -> DimerNuc; diffusion_nb * DimerCyt \n    J17: DimerNuc -> DimerCyt; diffusion_nb * DimerNuc\n    # dimer must be transported into the cell to act as a transcription factor\n    \n    J18: DimerNuc + GeneOff -> GeneOn; k_on_transcription_factor * DimerNuc * GeneOff - k_off_transcription_factor * GeneOn\n    # dimer acts as transcription factor for a gene\n    # units: (copies) / (copies)\n    \n    J19: -> RepRNANuc ; a_rna * GeneOn\n    J20: RepRNANuc -> RepRNACyt ; diffusion_rna * RepRNANuc - diffusion_rna * RepRNACyt\n    J22: RepRNANuc -> ; d_rna * RepRNANuc\n    J23: RepRNACyt -> ; d_rna * RepRNACyt\n    J24: -> Rep ; a_nb * RepRNACyt\n    J25: Rep -> ; d_nb * Rep\n    # the activated gene transcribes a reporter\n    \n    J26: GeneOn -> GeneOff ; d_nb * GeneOn\n    # The dimer can decay even while on the gene itself\n    \n    # *****************************************************************************************************************************\n    # Parameters\n    \n    AvoNum = 6.02 * 10^23;\n    \n    TotalCellVol = 30.3 * 10^(-6);\n    NucleusVol = 4.3 * 10^(-6);\n    CytoplasmVol = TotalCellVol - NucleusVol;\n    # all volumes given in units of L, \n    # volumes from http://bionumbers.hms.harvard.edu/bionumber.aspx?id=106557&ver=1&trm=yeast%20cytoplasm%20volume&org=\n    \n    scalingFactor = 1;\n    # since all our rates/rate constants are in seconds, we can scale time by multiplying each time-dependent parameter by a scaling factor\n    # this particular value scales the parameters for time units of hours\n    \n    a_rna = (0.002) * scalingFactor;\n    # median transcription rate = 0.12 mRNA molecules/min = 0.002 mRNA molecules/sec\n    # median transcription rate from http://bionumbers.hms.harvard.edu/bionumber.aspx?id=106766&ver=3&trm=transcription%20rate%20yeast&org=\n    # KEY ASSUMPTION: the rate of transcription of our nanobody gene is constant. \n    # in reality, it may not be safe to assume that our molecule is transcribed by the median transcription rate\n    \n    d_rna = 5.6 * 10^(-4) * scalingFactor;        \n    # 5.6 * 10 ^ -4 = mRNA decay rate constant in units of sec^-1\n    # mRNA decay constant found from http://bionumbers.hms.harvard.edu/bionumber.aspx?id=105510&ver=5&trm=mrna%20s.%20cerevisiae&org=\n    \n    a_nb = (0.0185) * scalingFactor;\n    # yeast has no rough ER, so translation occurs in the cytoplasm\n    # median time for translation initiation = 4.0 * 10^2 s * mRNA / protein\n    # median elongation rate = 9.5 aa/s\n    # nanobody average amino acids = 130 aa\n    # time for elongation = (130 aa / protein)/(9.5 aa/s) = 14 sec / protein\n    # total time for 1 mRNA transcript = 14 sec / protein + 40 sec = 54 sec\n    # rate at which mRNA is transcribed = 1 protein/(54 sec * 1 mRNA) / ~ 0.0185 protein/(sec mRNA)\n    # it is notable that translation initiation rate can vary between mRNA by orders of magnitude\n    # all data from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3694300/\n    d_nb = 2.6 * 10^(-4) * scalingFactor;\n    # which shows that the median half-life of a protein in a budding yeast cell is 43 minutes\n    # median rate constant of degradation of proteins in a yeast cell = 2.6e-4 1/sec\n    # data from http://www.pnas.org/content/103/35/13004 (doi: https://doi.org/10.1073/pnas.0605420103) https://www.nature.com/articles/nature10098,\n    \n    K_d_anchor_binder = 20 * 10^-6 * scalingFactor;\n    k_on_anchor_binder = 4.0 * 10^5 * scalingFactor;\n    k_off_anchor_binder = K_d_anchor_binder * k_on_anchor_binder * scalingFactor;\n    # k_on of antibody-binding to cytochrome C = (4.0 +- 0.3) * 10^5 1/(M * sec)\n    # From gu\'s data, K_d of anchor binder binding = 20 * 10^-6, units of M\n    # K_d = k_off / k_on, therefore k_off = K_d * k_on\n    # 4.0 * 10^5 1/(M * sec) * (20 * 10^-6 M) = 80 * 10^-1 (sec^-1)\n    # this is one of the binding affinities that we will do a parameter sweep to learn more about\n    \n    K_d_dimerization_binder = 1 * 10^-7 * scalingFactor;\n    k_on_dimerization_binder = 4.0 * 10^5 * scalingFactor;\n    k_off_dimerization_binder = K_d_dimerization_binder * k_on_dimerization_binder * scalingFactor;\n    # k_on of antibody-binding to cytochrome C = (4.0 +- 0.3) * 10^5, units of 1/(M * sec)\n    # from Gu\'s data, K_d of dimerization binder binding = 100 * 10^-9, units of M\n    # K_d = k_off / k_on, therefore k_off = K_d * k_on\n    # 4.0 * 10^5 1/(M * sec) * (100 * 10^-6 M) = 400 * 10^-1 (sec^-1)\n    # this is one of the binding affinities that we will do a parameter sweep to learn more about\n        \n    k_on_transcription_factor = 1.0 * 10^4 * scalingFactor;\n    k_off_transcription_factor = 1.11 * 10^-3 * scalingFactor;\n    # k_on of Egr1 DNA binding domain =  1.0 * 10^9, units of 1/(sec * M)\n    # k_off of EGr1 DNA binding domain = 1.11 * 10^-3, units of 1/sec\n    # data from http://bionumbers.hms.harvard.edu/bionumber.aspx?s=n&v=5&id=104597\n    \n    diffusion_rna = 1.0 * 10^-1;    \n    diffusion_nb = 0.3; \n    diffusion_mol = 1.8 * 10^-2\n    \n    # *****************************************************************************************************************************************\n    # Initial values\n    # These are all in copies\n    AncDNA = 1; \n    DimDNA = 1;\n    Mol = 0;\n    GeneOff = 1;\n    MoleculeAdded = 0;\n    \n    # We don\'t strictly need to initialize all these additional variables, but doing so supresses errors when using gillespie for stochastic simulations\n    AncRNANuc = 0;\n    AncRNACyt = 0;\n    DimRNANuc = 0;\n    DimRNACyt = 0;\n    AncBinder = 0;\n    DimBinder = 0;\n    Complex = 0;\n    DimerCyt = 0;\n    DimerNuc = 0;\n    GeneOn = 0;\n    RepRNANuc = 0;\n    RepRNACyt = 0;\n    Rep = 0;    \n    MoleculeCyt = 0;\n    MoleculeMedium = 0;\n    \n    # this makes it so that the molecule is added at the appropriate time    \n    at time >= 5 * 60 * 60: MoleculeMedium = MoleculeAdded;\n    \n    \n""");\n```',type:"SPECIAL"},{data:"## Logic Gates\n\nThrough simulations, we explored some examples of how a CID nanobody system can be used to construct digital logic gates. We came up with one design for each basic gate (NOT, AND/NAND, OR/NOR). The basis of the CID nanobody gates is a biosensor where for each binding pair one nanobody is attached to a DNA binding domain, and the other nanobody is attached to a promoter. This anchoring of the promoter causes the upstream gene to be transcribed much more often. Transcription rarely happens when the promoter is not anchored.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/a/a2/T--Washington--LogicGateNOT.jpg,inverter,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:600px",type:"IMAGE"},{data:"In this example the CID complex promotes the transcription of a repressor to make an inverter.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/a/aa/T--Washington--LogicGateAND.jpg,Logic gate and,boxShadow: 5px 5px 10px gray,margin:auto,width:80%,maxWidth:600px",type:"IMAGE"},{data:"For the AND/NAND gate, the first CID complex promotes transcription of the first nanobody for a second CID complex. This second CID complex then promotes transcription of a reporter or repressor.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/c/c5/T--Washington--LogicGateOR.jpg,OR/NOR gate,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:600px",type:"IMAGE"},{data:"For the OR/NOR gate, both CID complexes promote transcription of the same reporter or the same repressor.\n\nWe also did some basic modelling on the AND and OR gates to get an idea of their behaviour. These were simple extensions of our basic model.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/9/94/T--Washington--ANDGateSimulation.jpg,And gates simulation,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:600px",type:"IMAGE"},{data:"AND gate simulation. This shows the desired behaviour, but the timescale needs to be reconsidered in the future.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/2b/T--Washington--ORGateSimulation.jpg,or gate simulation,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:600px",type:"IMAGE"},{data:"OR gate simulation. This also shows the desired behaviour and has the same timescale issue.\n\nFuture steps to take would be to use experimental kinetic data to create a more accurate model, and to compare that to similar models for existing implementations of digital logic gates. This would help us understand the viability of implementing logic functions using a CID nanobody system, and give us insight on what needs to be improved to make it comparably or more efficient.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nevents\nEvents",type:"SPECIAL"},{data:"# Events\n\nWe participated in a weekly student run class before the iGEM season began to learn about mathematical biology. In this class we became familiar with Tellurium and Rosetta, which would serve as the centerpieces of our modelling work done during the summer.  At the end of the quarter we made presentations about our preliminary findings.\n\nWe hosted two hackathon events to promote unity, share knowledge, and build teamwork for our modeling team. The first one was titled SSH, or \u201cSimulations Saturday Hangout.\u201d At this twelve-hour event we taught each other about various programming languages\u2014including C++, Python, and LaTeX\u2014did team building exercises, and had an ice-cream social. The second event \u201cSimulations Saturday Hangout On A Tuesday,\u201d or SSHOAT, had a similar itinerary\u2014this time seven hours in length and including presentations on advanced Python programming and Vim editing.\n\nWe also taught about computational biology and the tools we used over the summer (Tellurium & Rosetta) during a modelling workshop at the Pacific Northwest iGEM meetup. In this workshop we introduced members from other iGEM teams to the basics of mathematical modeling, including basic overviews of ODEs and Monte Carlo simulations.  We then showed them how to create kinetic models of simple chemical reactions in Tellurium. Our hope was to inspire them to use the power of modeling in their future projects.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/6/61/T--Washington--MeetupSimWorkshop.jpg,PNW Meetup Simulations Workshop,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:800px",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations\n\n1. Pierce, N. a & Winfree, E. Protein design is NP-hard. Protein Eng. 15, 779\u2013782 (2002).\n2. Pages 142\u2013144 in Sauro, H. M. Systems Biology: An Introduction to Metabolic Control Analysis. (Ambrosius Publishing, 2018).\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"NAVIGATION\nLEFT=https://2018.igem.org/Team:Washington/InterLab;LEFTNAME=InterLab;RIGHT=https://2018.igem.org/Team:Washington/Results;RIGHTNAME=Results",type:"SPECIAL"}],isContent:!0,pageTitle:"/Model"},{content:[{data:"HEADER\nTEXT=RESULTS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nlorem\nloremip",type:"SPECIAL"},{data:"# Lorem\n\nLorem ipsum",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Results"},{content:[{data:"HEADER\nTEXT=PARTS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nBLUR=3\nMINPADDINGTOP=120",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"# Overview\n\nThis year, we created a number of biobrick parts that have stemmed from our work with nanobody CID systems and biopanning. The parts that we have created are codon optimized and ready to be cloned into expression vectors, allowing for seamless integration of our foundational CID system into any other project.\n\nThe nanobodies submitted consist of dimerization binding pairs for Cannabidiol (CBD) that were selected by the Gu Lab at the University of Washington, including an anchor nanobody that binds to CBD and dimerization binders that bind to the CBD anchor binder complex. Together, these parts create the scaffold for future CID systems, such as a biosensor or a transcriptional switch. \n\nAdditionally, we submitted the anchor-binding nanobody for Artemisinin, identified by our lab after extensive biopanning through a synthetic library. This Biobrick was characterized through ELISA, which demonstrated its high binding specificity for the small molecule Artemisinin.\n\n| Part Name | Registry Number | Link to part |\n|-|-|-|\n| CBD Nanobody Anchor Binder | BBa_K2682000  | [Link](http://parts.igem.org/Part:BBa_K2682000)\n| CBD Nanobody Dimer Binder 1 | BBa_K2682001 | [Link](http://parts.igem.org/Part:BBa_K2682001)\n| CBD Nanobody Dimer Binder 3 | BBa_K2682002 | [Link](http://parts.igem.org/Part:BBa_K2682002)\n| Artemisinin Anchor Binder | BBa_K2682003 | [Link](http://parts.igem.org/Part:BBa_K2682003)\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations\n\nYan, J., Li, G., Hu, Y., Ou, W. & Wan, Y. Construction of a synthetic phage-displayed Nanobody library with CDR3 regions randomized by trinucleotide cassettes for diagnostic applications. Journal of Translational Medicine 12, 343 (2014).",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Parts"},{content:[{data:"HEADER\nTEXT=HUMAN PRACTICES\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=9\nMINTITLEHEIGHT=6\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"# Human Practices - Introduction\n\nWith our theme of \u201cStronger Together\u201d in mind, our team sought to integrate human practices into nearly every part of our project.  This was made possible by an extremely interdisciplinary team, with interests in not only science, but also business, design, communication, education, and public engagement.  In addition to thinking carefully and creatively about the impact of our project on our world, we actively engaged with stakeholders and the public about our project, and the dialogues we had informed and shaped the direction of our work.  Furthermore, as a team, we firmly believe in giving back to our community and that having a positive presence in our neighborhoods is essential to fostering a climate open to science and innovation. Thus, our work outside of the lab, including our education projects, events for the public, and collaborations with other teams, was extremely important to us.",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/5/5e/T--Washington--ihpbanner.png;DESCRIPTION=This year, we aimed to engage stakeholders, examine our project\u2019s economic and societal implications, and communicate our work effectively and transparently. Our lab work was largely shaped by our conversations with stakeholders and the public. We spoke with doctors about how vitamin D deficiency affects our local community and reached out to Amyris and other companies for ideas on valuable molecular targets that need detection. By taking a holistic approach to our research, we can make positive differences in multiple areas in our communities.;LINK=https://2018.igem.org/Team:Washington/Integrated_Human_Practices;TITLE=Integrated Human Practices;XPOS=100\nPICTURE=https://static.igem.org/mediawiki/2018/2/2d/T--Washington--Panel.png;DESCRIPTION=We believe that collaboration between teams is one of the most productive and fun aspects of iGEM because it allows us to hear about ideas and experiences from other teams as well as share our ideas with other excited scientists. This year, we collaborated with iTesla-SoundBio, our local high-school team, on training and InterLab, and hosted the first-ever Pacific Northwest iGEM Meetup for teams in our region. We also worked with teams abroad to translate our outreach booklet and implement our activities in their communities.;LINK=https://2018.igem.org/Team:Washington/Collaborations;XPOS=60;TITLE=Collaborations\nPICTURE=https://static.igem.org/mediawiki/2018/e/e0/T--Washington--Sadhana1.jpg;DESCRIPTION=Our outreach team\u2019s goal was to increase science literacy, particularly relating to synthetic biology, among younger students and the general public. Our outreach efforts especially targeted underserved communities. We created a 100+ page synthetic biology activity booklet that was translated into multiple languages by other teams to aid in teaching synthetic biology to students around the world. Additionally, we organized many events, including visiting classrooms, teaching kids with autism, tabling at community events, and instructing students in Ahmedabad, India. We also created a dialogue with the general public through \u201cman-on-the-street\u201d-style interviews and a synthetic biology panel event.;LINK=https://2018.igem.org/Team:Washington/Public_Engagement;XPOS=25;TITLE=Education & Engagement\nPICTURE=https://static.igem.org/mediawiki/2018/thumb/7/73/T--Washington--LumenVisit.jpg/800px-T--Washington--LumenVisit.jpg;DESCRIPTION=Our business team was developed to engage with potential stakeholders, customers, and industry advisors about the feasibility of bringing our new technology to market. We consulted scientists from several well-known institutions to improve our understanding of issues they face and gauge the commercial value of our products. We assessed the needs of these potential customers by identifying small molecules that they have trouble detecting. Our team assimilated information that we gained from interviews and market research into a detailed business plan outlining our strategy for introducing our products to market.;LINK=https://2018.igem.org/Team:Washington/Entrepreneurship;XPOS=60;TITLE=Entrepreneurship\nPICTURE=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png;DESCRIPTION=The Design team\u2019s goal was to help communicate our project more effectively to the outside world and spread the knowledge of synthetic biology and its potential impact. The art and design work we did allowed us to be more conscientious of our message and how to best portray that information for the intended audience. We worked on art for posters and flyers, designed logos for our project and events hosted by our team, and helped design competition deliverables including the figures, poster, presentation, and wiki. We also worked in partnership with the Outreach team to illustrate their synthetic biology activity booklet.;LINK=https://2018.igem.org/Team:Washington/HP_Design;XPOS=25;TITLE=Human Practices Design\nPICTURE=https://static.igem.org/mediawiki/2018/2/28/T--Washington--Zulipusage.jpg;DESCRIPTION=Because our team has grown so much in the last year and developed so many subteams, the complexity of our organization became too difficult to manage without making significant changes to our leadership structure and team communications. This year, we revamped administrative positions to better manage communication between leadership members and general team members, formalized channels for feedback on team management, and adopted a new communication platform to increase efficiency. Additionally, we formalized wetlab and drylab training programs by developing curriculum and teaching classes that students could receive credit for through our university.;LINK=https://2018.igem.org/Team:Washington/Team_Development;TITLE=Team Development;XPOS=80;YPOS=10",type:"SPECIAL"}],pageTitle:"/Human_Practices"},{content:[{data:"HEADER\nTEXT=COLLABORATIONS\nBACKGROUND=https://static.igem.org/mediawiki/2018/3/34/T--Washington--CollabHeader.jpg\nYPOS=50\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nMINPADDINGTOP=120\nTEXTHEIGHT=9\nMINTITLEHEIGHT=5\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\npnwmeetup\nPacific Northwest iGEM Meetup",type:"SPECIAL"},{data:"# Pacific Northwest iGEM Meetup",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/3/3d/T--Washington--PNWMeetup.png,Pacific Northwest iGEM Meetup,boxShadow:5px 5px 10px gray, margin:auto, width:60%",type:"IMAGE"},{data:"For the first time ever, the Washington iGEM hosted an iGEM meetup for Pacific Northwest teams on August 18-19. The Tacoma RAINMakers and the iTESLA-SoundBio teams participated in the event and made new connections with their fellow iGEM members. The event included a keynote speaker, a biotechnology industry panel, TEDx style guest talks, a talk given by the North American iGEM ambassadors, workshops, and an outreach event. Teams were also given an opportunity to practice their presentation for Jamboree during a practice presentation session. In addition, teams were able to practice their poster presenting skills during an open poster presentation.\n\nOur meetup booklet can be viewed [here](https://static.igem.org/mediawiki/2018/3/30/T--Washington--PNWMeetupBooklet.pdf).\n\n## Meet the teams:\n\n* [Tacoma RAINmakers](https://2018.igem.org/Team:Tacoma_RAINmakers)\n\n* [iTESLA-SoundBio](https://2018.igem.org/Team:iTesla-SoundBio)",type:"MARKDOWN"},{data:"## Keynote Speech",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/7/78/T--Washington--CollabKeynoteSpeech.png,Cindy Wu's keynote speech,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Keynote speeches can be viewed here:\n* [Keynote Part 1](https://drive.google.com/file/d/1O9DbK61Z3rGgBpRYyx1d52_5A8HAYaZZ/view)\n* [Keynote Part 2](https://drive.google.com/file/d/1RZyrFLx0LTwmERsED7L1gHyNJmD3anb7/view)\n\nWe were honored to have Cindy Wu, a Washington iGEM alum and co-founder of [Experiment](https://experiment.com/), a crowdfunding platform for scientific research, as our keynote speaker. Cindy Wu\u2019s keynote focused on the idea of \u201cdemocratizing science\u201d by opening up avenues of funding through crowdfunding via her startup.",type:"MARKDOWN"},{data:"## Biotechnology Panel",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/2d/T--Washington--Panel.png,Biotechnology panel,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Panel discussions can be viewed here:\n* [Part 1](https://drive.google.com/file/d/11cNp2ppGQHBbszrrUH_Bc5ODRaYJ61-_/view)\n* [Part 2](https://drive.google.com/file/d/1fG6MGbuwsMBo_FLpovj-iYECUfDNNJvX/view)\n* [Part 3](https://drive.google.com/file/d/1Dixfy6AgmLmfuS1RpGuQioFlLC20R7UP/view)\n* [Part 4](https://drive.google.com/file/d/1Yyq3REcPcMm5dcXTE6kzb2mLI9y93swI/view)\n\n## Description\n\nThe biotech panel included four leaders in the local startup and DIY Bio community, including three Washington iGEM alumni. They spoke about their experiences in academia, industry, non-profits, and what it was like to start their own endeavors. Some of the questions included:\n* What\u2019s your educational background? Tell us a little bit about who you are, where you came from, how you got the idea to start your own organization or company.\n* What does your company do; what are the main goals?\n* We heard from Cindy about why she decided to start Experiment, but for the others, what motivated you in the beginning?\n* Where do you see your company/organization in 5 years?\n* What inspired you to do what you do? What excites you most about your field of work?  \n* For each of you, what are the biggest challenges you\u2019ve faced? Was there ever a time you wanted to give up?\n* What worries do you have about the future of your field?\n* What fascinates or concerns you most about citizen science?\n\n## Speakers",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=4\nDESCRIPTION=Dr. Ingrid Pultz, Washington iGEM alum, PVP Biologics;PICTURE=https://static.igem.org/mediawiki/2018/c/c0/T--Washington--Ingrid.png;XPOS=50;YPOS=50\nDESCRIPTION=Dr. David Younger, Washington iGEM alum, A-Alpha Bio;PICTURE=https://static.igem.org/mediawiki/2018/5/5e/T--Washington--David.png\nDESCRIPTION=Cindy Wu, Washington iGEM alum, Experiment.com;PICTURE=https://static.igem.org/mediawiki/2018/5/5b/T--Washington--CindyWu.png\nDESCRIPTION=Regina Wu, SoundBio Lab;PICTURE=https://static.igem.org/mediawiki/2018/4/45/T--Washington--Regina.png",type:"SPECIAL"},{data:"## Guest Talks",type:"MARKDOWN"},{data:"### Roya Amini-Naieni\n\nWashington iGEM alum, Harvey Mudd College class of 2021",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/e/ec/T--Washington--RoyaTalk.png,Roya's talk on her experiences in iGEM,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Roya Amini-Naieni's talk can be viewed here:\n\n[Roya's Talk](https://drive.google.com/file/d/135U7rY3eUX_yqgXVuXwANzbyXJvUIOsG/view)\n\nRoya talked about her experiences in iGEM as a high schooler and her journey to establishing a \u201cbiohackerspace\u201d at Harvey Mudd. Her talk focused on the tenacity that one must have to be involved with science, and the fact that it is never too early to start developing an interest in the scientific world.",type:"MARKDOWN"},{data:"### Dr. David Hirschberg\n\nUniversity of Washington - Tacoma",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/b/b1/T--Washington--Hirschberg.jpg,David Hirschberg's talk,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Dr. Hirschberg went back to the fundamentals of science and thinking about \u201cnothing.\u201d His talk focused on the impact that science has on the general population, and how we as students and future scientists could shape the future of the scientific world by being more accessible to those without formal training.",type:"MARKDOWN"},{data:"### Dr. Liangcai Gu\n\nUniversity of Washington - Seattle",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/b/b7/T--Washington--GuTalk.jpg,Dr. Gu's talk,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Dr. Gu's talk can be viewed here:\n\n[Dr. Gu's talk](https://drive.google.com/file/d/1R3yqb0pEsGa-U8Xkcx_dJKBVMJ2p21sC/view)\n\nDr. Gu talked about his research, specifically on the _in-situ_ DNA Sequencing that his lab has developed and utilizes to increase the efficiency of protein design as part of the Institute of Protein Design at the UW. His work is inspiring, and he showed students the innovation that can be achieved through science and inventive thinking.",type:"MARKDOWN"},{data:"## After iGEM Ambassadors",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/28/T--Washington--AmbassadorTalk.jpg,After iGEM Ambassadors talk,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"The iGEM Ambassadors\u2019 talk can be viewed here:\n\n[iGEM Ambassador Talk Part 1](https://drive.google.com/file/d/1qlQG5R66gXekedrID0aqjjBhyNnq2hDm/view)\n\n[iGEM Ambassador Talk Part 2](https://drive.google.com/file/d/1GvdWr7EknKcSIUcOzJ2EIKTbAJcZmJeq/view)\n\nThe iGEM ambassadors talked about the jamboree and the After iGEM program. They also gave valuable feedback on poster presentations and the practice presentations. Their experiences with iGEM guided attendees in figuring out the ins and outs of Jamboree, and helped the teams prepare more thoroughly for the big competition.\n\n## Workshops\n\n### Simulations",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/5/5f/T--Washington--SimulationsWorkshop.jpg,Simulations workshop,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"A member of our Drylab Simulations team presenting on creating simulations through mathematical modeling. This workshop focused on an aspect of iGEM that many teams we\u2019ve worked with struggle with: understanding the methods behind mathematical modeling and how to go about creating simulations.\n\n### Artistic Design",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/28/T--Washington--DesignWorkshop.jpg,Design Workshop,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"The artistic design workshop brainstorms ideas on how to creatively present ideas and concepts. The workshop was focused on making the design process approachable and clear while still emphasizing how different creative minds can collaborate to create something amazing.\n\n### Fundraising",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/4/48/T--Washington--FundraisingWorkshop.jpg,Fundraising Workshop,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Our fundraising lead/team advisor presenting on fundraising and how to effectively fundraise. The workshop was especially helpful as all the teams at the meetup rely on fundraising as a means to fund their lab work and their involvement in iGEM.",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=2\nPICTURE=https://static.igem.org/mediawiki/2018/3/3b/T--Washington--Outreach1.jpg;XPOS=50;YPOS=50\nPICTURE=https://static.igem.org/mediawiki/2018/6/61/T--Washington--Outreach2.jpg;XPOS=50;YPOS=50",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/4/4b/T--Washington--Outreach3.jpg,Outreach 3,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"As a joint outreach event all three teams traveled to Gasworks Park, a public park near the University of Washington, and set up activities for the general public to participate in. We also sent our members around the park to talk with the general public and ask questions about their knowledge of synthetic biology. A more detailed description can be read on the [outreach page](https://2018.igem.org/Team:Washington/Public_Engagement).\n\n## Practice Presentations",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=2\nPICTURE=https://static.igem.org/mediawiki/2018/5/53/T--Washington--TacomaPresentation.jpg;XPOS=50;YPOS=50\nPICTURE=https://static.igem.org/mediawiki/2018/2/25/T--Washington--iTeslaPresentation.jpg;XPOS=50;YPOS=50",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/5/55/T--Washington--WashingtonPresentation.jpg,Washington Presentation,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Each team gave a presentation on their project to the rest of the attendees, including the After iGEM Ambassadors. The presentations were both inspiring and insightful, and each team deeply valued the feedback they received through this session. For our team, it was our presenters\u2019 first time speaking about our project to a large audience and it gave them an opportunity to think quick on their feet as they were asked questions in real time. Overall, this was one of the most helpful parts of the meetup as it allowed students who have never been to the Jamboree to experience a presentation setting.\n\n## Poster Session",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=2\nPICTURE=https://static.igem.org/mediawiki/2018/7/70/T--Washington--Poster2.jpg;XPOS=50;YPOS=50\nPICTURE=https://static.igem.org/mediawiki/2018/a/ac/T--Washington--Poster3.jpg;XPOS=50;YPOS=50",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/1/1c/T--Washington--Poster1.jpg,Poster presentation,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Teams were able to practice their poster presenting skills by presenting to other teams and the After iGEM Ambassadors. They made handmade posters during the meetup and presented the next day. This allowed every member besides the presenters to practice talking about their projects and answering questions in real time. It was especially helpful to experience the poster sessions in a low-stress environment to help newcomers get comfortable with the process.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\noutreachbooklet\nOutreach Booklet",type:"SPECIAL"},{data:"# Outreach Booklet\n\nThis year, our outreach team created an extensive booklet with activities that can be done with school children to teach them about synthetic biology. As part of our effort to reach multiple communities, we sought collaborations with teams around the world to translate our booklet into different languages so that our booklet could have a global impact. The teams that helped us in the endeavor are: [NUS Singapore-Science](https://2018.igem.org/Team:NUS_Singapore-Sci), [Sorbonne U Paris](https://2018.igem.org/Team:Sorbonne_U_Paris), [Evry Paris-Saclay](https://2018.igem.org/Team:Evry_Paris-Saclay), [Tec CEM](https://2018.igem.org/Team:TecCEM), and [ICT-Mumbai](https://2018.igem.org/Team:ICT-Mumbai). \n\nTheir translations of the booklet are included here:\n* [French (Evry Paris-Saclay)](https://2018.igem.org/File:T--Evry_Paris-Saclay--CollabDocBookletFrench.pdf)\n* [French (Sorbonne U Paris)](https://static.igem.org/mediawiki/2018/b/bb/T--Washington--Synbio_Activity_Booklet_Part2_French.pdf)\n* [Vietnamese (NUS Singapore-Science)](https://static.igem.org/mediawiki/2018/b/ba/T--Washington--Synbio_Activity_Booklet_Viet.pdf)\n* [Hindi (ICT-Mumbai)](https://static.igem.org/mediawiki/2018/d/d2/T--ICT-Mumbai--Washington-translation.pdf)\n* [Spanish (Tec CEM)](https://static.igem.org/mediawiki/2018/c/ca/T--Washington--Synbio_Activity_Booklet_Spanish.pdf)",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\niteslamentorship\niTESLA Mentorship",type:"SPECIAL"},{data:"# iTESLA Mentorship",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=2\nPICTURE=https://static.igem.org/mediawiki/2018/1/10/T--Washington--AngeliTesla.jpg;XPOS=50;YPOS=50\nPICTURE=https://static.igem.org/mediawiki/2018/1/16/T--Washington--KaraliTesla.jpg;XPOS=50;YPOS=50",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/e/e8/T--Washington--iTesla.jpg,iTesla Mentorship,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Like last year, we worked with the iTESLA-SoundBio team as a mentor team to help them with their trainings and their project. In the beginning of the summer, members of our wetlab team went to their lab to help train them in basic synthetic biology techniques. These techniques included cloning, PCR, and transformations. Our admin leads, Angel and Andrew, helped them select their presenters by reviewing their applications and critiquing their audition presentations.\n\nWe also helped them with human practices and future project development. As shown above, the first ever Pacific Northwest Meetup allowed for a chance to host a science outreach session for the iTESLA team and gave them a chance to talk to Holly Bowman, an iGEM Ambassador. Holly had worked on a very similar project in her iGEM team, and through our PNW Meetup, the iTESLA team was able to gain important insights into their project. Like Holly, many of our own members gave advice and opinions about iTESLA\u2019s project this year.\n\nAdditionally, we were extensively involved in helping iTESLA complete interlab as well as their follow-up data as they did not have access to their own plate reader. They prepared plates for their calibrations which we then performed readings on, and they provided us with cultures to plate and read. We sent the raw data to their team, and let them know about any issues that we had.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nwikiprogrammingtips\nWiki Programming Tips",type:"SPECIAL"},{data:"# Wiki Programming Tips\n\nThis year, our wiki developer created a guide with wiki programming tips for iGEM teams new to the wiki-making process. We made this tool available to any team that contacted us for it, and in return, we asked that they give us feedback and critiques on the tutorial so that we can improve it for future use. Our goal with the wiki tips was to make the iGEM competition more accessible to new teams as the wiki is a daunting task for even well-established teams. A link can be found [here](http://students.washington.edu/wkwok16/wiki-tutorial/) for teams that want to use this tutorial in the future. It will be updated as we get more feedback, so don\u2019t hesitate to contact us with your critiques!",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ngeneralcollab\nGeneral Collaborations",type:"SPECIAL"},{data:"# General Collaborations\n\n## Stanford\n\nWe worked with Stanford by sending one of our drylab members, Ed van Bruggen, down to Stanford University to talk to their team at the Stanford Poster Fair. They talked about each others\u2019 projects and thought of new ideas and ways to expand upon both their and our existing project. One of these ways was by trying to simulate their system using our modeling method, but it unfortunately failed due to the size of the antibody in their system. The failure showed us the constraints of our current model, and is a limitation that we may try to improve upon in the coming years. In addition to this, Stanford was one of the only teams to give us feedback on our wiki tutorial, which was extremely helpful in making it more accessible and approachable to other teams. We hope to continue collaborating with Stanford iGEM in the future.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\notherteamscollaborations\nOther Team's Collaborations",type:"SPECIAL"},{data:"# Other Team's Collaborations\n\n## TecCEM \u201cLabs Like You\u201d\n\nWe participated in Tec CEM\u2019s \u201cLabs Like You\u201d music video alongside the Tacoma RAINMakers and iTESLA Soundbio during our Pacific Northwest Meetup. The link to the video is [here](https://www.youtube.com/watch?v=R7vdiGLLJZA)\n\nThese are the teams that also collaborated in this worldwide project:\n\n1. iGEM IISER Bhopal (igemiiserb@gmail.com) \n2. IGEM AFCM ( igem.afcm@gmail.com) \n3. IGEM UNESP BRAZIL (igem.unesp.aqa@gmail.com) \n4. IGEM WASHINGTON (uwigem@uw.edu) \n5. IGEM Tust China (tustigem2018@163.com) \n6. iGEM team Bielefeld-CeBiTec (matthias.otto@uni-bielefeld.de) \n7. IISc-Bangalore iGEM Team (iisc.igem2018@gmail.com) \n8. IGEM BRAZIL USP (henriquedambrosioretti@gmail.com) \n9. IGEM DUSSELDORF (igem@hhu.de) \n10. IGEM GRONINGEN (igem2018rug@gmail.com) \n11. IGEM DALHOUSIE (igemdalhousie@gmail.com) \n12. IGEM LEIDEN (igem@science.leidenuniv.nl) \n13. Team UFLORIDA (igem@ufapsa.org) \n14. Tarta TUIT_IGEM (nargiz.k@yahoo.com) \n15. Toulouse INSA UPS (igem.toulouse@gmail.com ) \n16. IGEM MICHIGAN STATE (Michiganstateigem@gmail.com) \n17. Team UCHILE_Biotec (sebastian.farias@ug.uchile.cl) \n18. ECUADOR (bfmosquera1@espe.edu.ec) \n19. IGEM BRAZIL USP EEL (cbsin.eel@gmail.com) \n20. Tec-Guadalajara (team.tec.gdl@gmail.com) \n21. Tec-Chihuahua (igemtecchihuahua@gmail.com \n22. UCSC IGEM (ucsc.igem.18@gmail.com ) \n23. TecCEM (igem.tec.cem@gmail.com) \n24. iTESLA-SoundBio Team \n25. Tacoma RainMakers Team\n\n## Surveys\n\nIn addition to all of our other collaborations, members of our team also assisted other teams in their filling out the following surveys about various topics relevant to their research or iGEM as a whole.\n\n* [iGEM Bielefeld-CeBiTec\u2019s survey on Dual Use and Dual Use Research of Concern](https://t.co/9sTFnuQW7a)\n* [UNL iGEM\u2019s survey on invasive species](https://www.surveymonkey.com/r/TRJKVD8)\n* [Uppsala iGEM\u2019s survey on mental health and burnout in iGEM](https://docs.google.com/forms/d/e/1FAIpQLSeWUVgq_Dm1nZTH6d8_JYZohyt8Gwf_sMTF1MaoWJLEjndQXg/formResponse)\n* [Imperial iGEM\u2019s survey on team leadership, structure, and communication](https://docs.google.com/forms/d/e/1FAIpQLScj_2MJxT28Ta5bpP6KbsO-9dsiG4U4nq9GBq3tIVWi9tWbLw/viewform)\n\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Collaborations"},{content:[{data:"HEADER\nTEXT=PUBLIC ENGAGEMENT\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=8\nMINTITLEHEIGHT=6\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\noverallfocus\nOverall Focus",type:"SPECIAL"},{data:"# Overall Focus\n\nOur educational outreach efforts were focused on making scientific learning more accessible by targeting underserved groups, including lower income schools and children with disabilities. Seattle, Washington has one of the largest equity gaps in the United States with white students being almost ten times more likely than black students to attend a school with reading test scores in the city\u2019s top 20th percentile. In general, lower income students are about four times as likely to attend low-performing schools [1]. In fact, over 6,000 students in Seattle alone were given low-income housing by the school district, and over 35,000 students were counted as homeless in Washington State [2]. Additionally, as the Special Olympics USA was held at the University of Washington over the summer, we had a greater awareness about the educational opportunities that children with intellectual disabilities often lack.\n\nAfter learning about these inequities, we wrote and illustrated a 100+ page multilingual synthetic biology booklet that is full of illustrations, especially designed for English Language Learners at lower income schools and for children with disabilities. We implemented the lessons from our booklet at school visits, both locally and internationally, specifically targeting lower income schools, which were determined by the percentage of students that are federally eligible for free or reduced lunch. Additionally, we taught a lesson about the central dogma of molecular biology to a summer camp for kids with autism.\n\nFurthermore, we created a dialogue with the general public by interviewing people about their opinions regarding synthetic biology at Gas Works Park, a famous park in Seattle. We also planned a synthetic biology panel event called \u201cSit Down with Synbio\u201d that initiated a conversation between the general public and synthetic biology experts with approximately 100 people in attendance. The goal of this event was to raise awareness about synthetic biology and its value to the general public by giving people a chance to ask questions.\n\n1. https://www.seattletimes.com/seattle-news/education/pilot-project-to-help-seattle-schools-homeless-families-find-housing/\n",type:"MARKDOWN"},{data:"SECTION\nevents\nEvents",type:"SPECIAL"},{data:"SEP",type:"SPECIAL"},{data:"# Events\n\n## Community Events\n\n### Shoreline STEM Fest\n\nHeld at Shoreline Community College, this festival combines a traditional science fair servicing hundreds of K-12 students in the Shoreline School District with hands-on exhibits and demonstrations presented by university groups, research institutes, and industry professionals. At this fair, we conducted our Lego DNA/Jellybean Peptide Activity to teach kids about the central dogma of molecular biology.\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/b/b6/T--Washington--Shoreline3.jpg;XPOS=75;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/d/d6/T--Washington--Shoreline1.jpg;XPOS=75;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/0/05/T--Washington--Shoreline2.jpg",type:"SPECIAL"},{data:"### Ben Franklin Elementary Math Fest\n\nThis event, presented by Prime Factor Math Circle School, engaged students aged 5-12 in hands-on activities, problem solving, and games about math, computer science, and other STEM disciplines. At this event, we used our Lego DNA/Jellybean Peptide Activity.",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/4/49/T--Washington--MathFestival3.jpg;XPOS=75;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/5/59/T--Washington--MathFestival2.jpg;XPOS=75;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/3/33/T--Washington--MathFestival1.jpg;YPOS=25",type:"SPECIAL"},{data:"### Introduce a Girl to BioE\n\nDue to the huge gender gap in engineering, this event aimed to introduce girls ages K-12 to the ever-expanding field of bioengineering. At this event, we introduced about 150 girls to the building blocks of life with our Lego DNA/Jellybean Peptide Activity.\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/6/6a/T--Washington--IntroduceAGirlToBIOE1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/a/a1/T--Washington--IntroduceAGirlToBIOE2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/3/3e/T--Washington--IntroduceAGirlToBIOE3.jpg;YPOS=25",type:"SPECIAL"},{data:"### Gasworks\n\nDuring the Pacific Northwest iGEM Meetup, we conducted an outreach event at Gas Works Park, which is a famous park that was originally the site of a coal gasification plant and features a breathtaking view of the Seattle skyline. As families often spend their evening in the park, we engaged kids with synthetic biology using our Lego DNA/Jellybean Peptide Activity.\n",type:"MARKDOWN"},{data:"## School Visits\n\n### Elementary\n\nNorthgate Elementary is an underserved school near the University of Washington, where 86% of students receive free or reduced lunch and many students are from minority groups, including 43% Hispanic students and 24% black students. We introduced 4th and 5th grade students to synthetic biology with our Fruit DNA Extraction Activity and Gel Electrophoresis Bunny Activity. The students were excited that they got to do both a hands-on activity and an activity with real-life applications by solving a crime scene!\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/a/a2/T--Washington--Northgate1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/3/30/T--Washington--Northgate2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/2/2e/T--Washington--Northgate3.jpg;YPOS=25",type:"SPECIAL"},{data:"### Middle\n\n**International School**\n\nDuring our visit to the International School in Bellevue, Washington, we introduced the students to the building blocks of molecular biology. The students learned about the central dogma of molecular biology through the Lego DNA/Jellybean Peptide Activity and conducted a Fruit DNA Extraction, where they learned about experimental design.\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/7/72/T--Washington--InternationalSchool1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/c/c3/T--Washington--InternationalSchool2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/d/d7/T--Washington--InternationalSchool3.jpg;YPOS=25",type:"SPECIAL"},{data:"**Sadhana School in Ahmedabad, India**\n\nTo expand our outreach focus internationally, our Outreach Lead, Ishira, introduced students to synthetic biology at Sadhana School in Ahmedabad, India, which has some underserved students. Ishira taught students in grades 6-8 with the Lego DNA/Jellybean Peptide Activity. This event was interesting, because the students had a hard time understanding Ishira\u2019s American accent. As a result, she taught most of the lesson in the local language, Gujarati, but received amusing questions from students such as what the phrase \u201ckick butt\u201d means in relation to a protein that is essential for fighting pathogens when one is sick. Additionally, instead of using puffed marshmallows as a \u201cglue\u201d to connect the jellybean \u201camino acids,\u201d Ishira had to make icing, because the puffed marshmallows contain eggs, and Sadhana School is a vegetarian school. Overall, the students had a great time learning about international research and understood the basics of the central dogma of molecular biology!\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/e/e0/T--Washington--Sadhana1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/a/ab/T--Washington--Sadhana2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/3/39/T--Washington--Sadhana3.jpg;YPOS=25",type:"SPECIAL"},{data:"### High\n\n**Kent Meridian High School**\n\nKent Meridian High School is an underserved high school, where 60% of students receive free or reduced lunch. During our visit, we introduced students that are in grades 9-12 to synthetic biology with our Solving Global Problems Activity and CRISPR Ethics Activity.",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/c/c4/T--Washington--KentMeridian1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/b/b3/T--Washington--KentMeridian2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/4/4e/T--Washington--KentMeridian3.jpg;YPOS=25",type:"SPECIAL"},{data:"**Rainier Beach High School**\n\nAccording to a Seattle Times article,[1] Rainier Beach High School was once considered the worst high school in Seattle and had a reputation for gangs and lackluster academics. While the graduation rates have improved, almost 70% of students at Rainier Beach High School receive free or reduced lunch and the school has a significant minority enrollment with 58% of students identifying as black. During our visit, we introduced 11th and 12th grade students to synthetic biology through our Solving Global Problems Activity and discussed possible college majors and career options.",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/8/87/T--Washington--Rainier1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/b/bc/T--Washington--Rainier2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/1/1b/T--Washington--Rainier3.jpg;YPOS=25",type:"SPECIAL"},{data:"### Citations\n\n1. https://www.seattletimes.com/education-lab/stunning-surge-in-graduation-rate-as-rainier-beach-gamble-pays-off",type:"MARKDOWN"},{data:"## Disability Events\n\n### Adventure Camp for Children with Autism\n\nWe introduced kids in grades 5-8 with autism to synthetic biology. We had many members volunteer at this event to give the students individualized attention and move at a slower pace. Additionally, our Lego DNA/Jellybean Peptide Activity has many images to aid learning. Overall, the students enjoyed learning about synthetic biology and enjoyed being engaged in a hands-on activity!",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/a/a2/T--Washington--AutismCamp1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/e/ea/T--Washington--AutismCamp2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/3/39/T--Washington--AutismCamp3.jpg;YPOS=25",type:"SPECIAL"},{data:"## UW Events\n\n### Engineering Discovery Days\nAt Engineering Discovery Days, students and faculty from all UW engineering departments share their work with students, teachers, families, and the community. This 2-day annual event is free, open to everyone, and is largely geared towards elementary school groups. Our team hosted an exhibit demonstrating a fruit DNA extraction. Over the course of the two-day event, we estimate that 400 students visited our booth.\n\n### Engineering Welcome\nAt UW\u2019s Engineering Welcome, we engaged incoming freshman interested in engineering with discussions about synthetic biology, iGEM, and the potential impact that synthetic biology has. This event was many students\u2019 introduction to synthetic biology, so we encouraged them to attend our synthetic biology panel event, Sit Down with Synbio.\n\n### Dawg Daze Event with DAWGMA\nWe partnered with DAWGMA, another synthetic biology club at UW, to give a talk about synthetic biology to incoming freshman interested in the field. We introduced the basic ideas of synthetic biology, our project, and advertised our synthetic biology panel event, Sit Down with Synbio.\n\n### Red Square Tabling\nDuring UW\u2019s annual club fair, we tabled at Red Square at UW. During this time, we introduced UW students to synthetic biology to recruit for the next iGEM season and promote our synthetic biology panel event, Sit Down with Synbio.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nbooklet\nSynthetic Biology Activity Booklet",type:"SPECIAL"},{data:'# Synthetic Biology Activity Booklet\n\nWashington iGEM\u2019s Synthetic Biology Activity Booklet aims to embrace the spirit of iGEM by making scientific learning more accessible internationally. We spent more than 100 hours writing and graphically illustrating our 100+ page activity booklet. Although none of the members who wrote and illustrated this booklet are studying graphic design, we taught ourselves Adobe Illustrator to create informative and eye-catching visuals to make learning easier, especially for English Language Learners and children with disabilities. We also included instruction sheets for other iGEM teams/teachers to explain how each activity works.\n\nAfter writing our activity booklet, we collaborated with other iGEM teams to translate our booklet into languages such as Spanish, Vietnamese, French, and Hindi. Through the translations, we hope to provide copies of our activities to students in their native language, both in the Seattle area (for English Language Learners) and internationally.\n\nAdditionally, our curriculum has already been distributed to several schools in the Seattle area as well as a school in India. We are also meeting a UW professor in November to review our curriculum and ensure that it is ideal for effectively teaching synthetic biology to students from diverse backgrounds. Furthemore, we have coordinated a meeting to work with Washington State Senator Bob Hasegawa in the hope of administering our curriculum to a wider range of schools and the general public.\n\n## Quotes from Some Writers of the Booklet:\n* "I don\u2019t know about you guys, but I couldn\u2019t read up to the fourth grade because I\u2019m dyslexic. I would have loved having visual activities when I was younger. This is why I am so proud of our lessons for younger kids like the Lego DNA/Jellybean Peptide Activity and the Gel Electrophoresis Bunny Activity. These activities do an amazing job illustrating the concepts, allowing people who have a hard time reading have a better understanding of what is going on since they have visual diagrams and clues to follow along with while doing the activity." ~ Aimee Ellis\n\n* "As awesome as synthetic biology is, or more broadly speaking - biology, it might not be for everyone. If you want to engage an audience you have to make them actively involved and not just lecture at them - this is especially true for younger groups. There are lots of textbooks out there that can teach people about biology, but not a lot of them are meant for the purpose of active learning. Our activity booklet is meant to get students actively involved and excited about biology no matter what kind of background they come from. Biology can be and IS for everyone." ~ Aerilynn Nguyen\n\n* "Having grown up in a suburban \u201cbubble\u201d in the Seattle metropolitan area, I was shocked to learn about the inequities in the education system so close to my home. As I was looking at the statistics for students that received free and reduced lunch at potential schools that we were going to visit, the website would often compare the high percentage at those schools with the low percentage of students that needed free or reduced lunch at schools in the school district that I attended. This astonishing revelation was at the core of my desire to make scientific learning more equally accessible with the formation of this booklet." ~ Ishira Parikh\n\n## External links to the booklet\n* [English](https://static.igem.org/mediawiki/2018/4/45/T--Washington--Synbio_Activity_Booklet.pdf)\n* [Spanish](https://static.igem.org/mediawiki/2018/c/ca/T--Washington--Synbio_Activity_Booklet_Spanish.pdf) translated by [iGEM TecCEM](https://2018.igem.org/Team:TecCEM)\n* [CRISPR Sections in Vietnamese](https://static.igem.org/mediawiki/2018/b/ba/T--Washington--Synbio_Activity_Booklet_Viet.pdf) translated by [NUS Singapore-Sci](https://2018.igem.org/Team:NUS_Singapore-Sci)\n* [Engineer an Organism Activity in Hindi](https://static.igem.org/mediawiki/2018/d/d2/T--ICT-Mumbai--Washington-translation.pdf) translated by [ICT Mumbai](https://2018.igem.org/Team:ICT-Mumbai)\n* High School Level activities in French, [Part 1](https://2018.igem.org/File:T--Evry_Paris-Saclay--CollabDocBookletFrench.pdf) translated by [Evry Paris-Saclay](https://2018.igem.org/Team:Evry_Paris-Saclay) and [Part 2](https://static.igem.org/mediawiki/2018/b/bb/T--Washington--Synbio_Activity_Booklet_Part2_French.pdf) translated by [Sorbonne U Paris](https://2018.igem.org/Team:Sorbonne_U_Paris)\n',type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=4\nPICTURE=https://static.igem.org/mediawiki/2018/c/cb/T--Washington--1a.png\nPICTURE=https://static.igem.org/mediawiki/2018/7/7e/T--Washington--2a.png\nPICTURE=https://static.igem.org/mediawiki/2018/b/b6/T--Washington--3a.png\nPICTURE=https://static.igem.org/mediawiki/2018/c/c6/T--Washington--4a.png",type:"SPECIAL"},{data:"SECTION\nsitdownwithsynbio\nSit Down with Synbio",type:"SPECIAL"},{data:"SEP",type:"SPECIAL"},{data:"# Sit Down with Synbio\n\nTo initiate a dialogue between synthetic biology experts and the general public, Washington iGEM planned, organized, and hosted a synthetic biology panel event called \u201cSit Down with Synbio.\u201d The two-hour event consisted of a keynote speech by Dr. Scott McIsaac, a Principal Investigator at the anti-aging Bay Area startup Calico Life Sciences, which is funded by Google. During the remainder of the event, the panelists answering pre-submitted questions and questions asked by the audience during the event. This event was extensively advertised to the community by putting up posters, posting on Facebook groups, and being featured on websites like [Geekwire](https://www.geekwire.com/calendar-event/sit-down-with-synbio/).\n\nSome of the topics discussed included GMOs, Artificial Intelligence in synthetic biology, ethics, and the diversity of skillsets needed in synthetic biology, much like on our own iGEM team!\n\nThis event required months of planning including reserving an auditorium and equipment, creating a website, making advertising material and a pamphlet. Ultimately, we estimate that about 100 people attended the event, and we were also featured on UW\u2019s newspaper, The Daily!\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/9/99/T--Washington--SitDownSynbio1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/8/83/T--Washington--SitDownSynbio2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/d/db/T--Washington--SitDownSynbio3.jpg;YPOS=25",type:"SPECIAL"},{data:"## Footage (Hosted on YouTube)\n\n* [Introduction](https://youtu.be/pArxzti-jl8)\n* [Answers to pre-submitted questions](https://youtu.be/SQfStiwVwY8)\n* [Questions Asked During the Event Part 1](https://youtu.be/VbI1gmY4NPs)\n* [Questions Asked During the Event Part 2](https://youtu.be/CVZFyDgtodQ)\n\n## Other links\n* [Poster](https://drive.google.com/open?id=17zBOHIEeRFbAqHnhXN7oSOqEQMA27apt)\n* [Pamphlet](https://drive.google.com/open?id=1lGZfhi91hit2fZ-DQw5LRAi_pf1OkxPA)\n* [Website](http://students.washington.edu/uwigem/sitdownsynbio/)\n* [Daily Article](http://www.dailyuw.com/science/article_906900ea-caa7-11e8-966d-ebed7823f5d2.html)\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncommunityinterviews\nCommunity Interviews",type:"SPECIAL"},{data:"# Community Interviews\n\nDuring the Pacific Northwest iGEM Meetup, we created a dialogue with the public at Gas Works Park. Gas Works Park is a famous park that was originally the site of a goal gasification plant and features a breathtaking view of the Seattle skyline.\nWe asked people enjoying the sunny day at the park about their knowledge of synthetic biology, the biotech industry, and their opinions on Vitamin D and its detection to assess potential applications and consider the ethical and societal implications of our project.\n\n## What comes to mind when you think of synthetic biology?\n\n* \u201cI think of farming and stem cells, stem cells research--things like that. I guess I think about things that are man made, not just things that naturally exist in the world..things that have been altered.\u201d\n* \u201cSomething manmade, manmade stuff, not organic. Lab.\u201d\n* \u201cI think about biology--animals, plants. And it\u2019s synthetic, so going along with genetic engineering that\u2019s going on right now and expansion through technology.\u201d\n* \u201cRobot plants\u201d\n\n## What do you know about Vitamin D?  Do you think you get sufficient Vitamin D?\n* \u201c[Vitamin D intake] is lacking in Seattle. I felt it this winter. You leave work and the sun\u2019s down..Everytime I go in to the doctor about a general health issue, the doctor tells me that you might want to take vitamin D supplements. Everytime I think of a vitamin D deficiency, I think of seasonal depression, I think of it affecting your mental health more than anything else.\u201d\n* \u201cI work 8 to 5, so I don\u2019t think I get enough. Isn\u2019t Vitamin D deficiency linked to depression and anxiety? I have anxiety issues, so sometimes I think about whether or not I get vitamin D. It\u2019s hard to pinpoint where the deficiency is.\u201d\n* \u201cI take vitamin D all the time when I get sick. I use my liquid drops when I get sick.\u201d\n\n## Do you feel like you can easily predict when you have enough vitamin D?\n* \u201cIt pretty much just depends on how much I\u2019ve literally been in the sun. I don\u2019t think about anything else. I only started thinking about it when I moved it to Seattle, and I remember being like I should start taking supplements, because I\u2019m  not seeing sunlight.\u201d\n\n## What if there was a device or some way for you to easily tell how much vitamin D you have in your body; do you think that would actually help?\n* \u201cYeah I would love that but then I would be curious to see how that would then actually link up with my mental health.As someone who struggles from depression and anxiety off and on, I would be really curious to see if it gets worse with vitamin D levels...I would be interested if it actually had an impact on me.\u201d\n* \u201cEveryone thinks of seasonal depression but nobody thinks about how to measure it.\u201d\n\n## They asked us a question:\n* \u201cDo you believe that in academia that corporations should stay out of the picture because you are solving problems in the name of science first and foremost, not solving something for the bottom line of the corporation inside of an academic realm?\u201d\n\nFrom these interviews, we came away with a few key insights about how synthetic biology is perceived by the public and concerns that members of the public have about ethics in scientific research. Additionally, we heard significant concerns about vitamin D deficiency and its effects on mental and physical health due to the lack of sunlight in our region.\n\nOne common misconception about synthetic biology is that it mainly deals with GMO agriculture. We explained that the field of synthetic biology is much broader than that, encompassing solutions to problems in areas as diverse as medicine, sustainable energy, and environmental cleanup. Our team does not currently focus on plant synthetic biology; we are using harmless bacteria to develop a detection system.\n\nAnother area of concern for people was regarding funding for academic research and potential conflicts of interest. One person we interviewed asked us: \n\n\u201cDo you believe that in academia that corporations should stay out of the picture because you are solving problems in the name of science first and foremost, not solving something for the bottom line of the corporation inside of an academic realm?\u201d\n\nWe think issues of bias and conflict of interest are important for all iGEM teams, and indeed all researchers, to consider, since funding sources often have disparate interests from researchers, especially those working on fundamental science advancements (not applied science).  A similar issue was discussed at our Sit Down with SynBio panel event, when funding from government agencies, such as the Department of Defense, was discussed in regard to duel use of fundamental technology.  It is essential that scientists weigh the implications of their research being used in ways that they may not approve of.\n\nFinally, as it relates to our project, we found that vitamin D insufficiency is a serious concern for Seattleites, especially in the winter and for those who work indoor jobs.  Many suspect that their experiences with fatigue, anxiety, and depression may be exacerbated by vitamin D deficiency, and are urged by their doctors to take supplements, but they currently do not possess the methods to determine for themselves whether they are receiving enough.  Furthermore, we realized that those we interviewed mainly think about getting vitamin D from sunlight, but did not mention a healthy diet can provide vitamin D as well. We think that educating people more about the importance of eating vitamin D-rich foods is an area for improvement in our region.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nclass\nClass",type:"SPECIAL"},{data:"# Class\n\n## Purpose\n\nAt the end of last season, Washington iGEM was left with very few training resources to teach the next season\u2019s new members. As for what was there, our returning members were frustrated with the old training process. The result was a conviction to overhaul the training process for wetlab and drylab going into the next season.\n\n## Classes\n\nWe needed to train members differently based on which team they would be joining, so we created four different classes for our subteams. Each of these classes were run by returning members who had expertise in that area.\n\nWetlab - Angel Wong & Karl Anderson\n\nSoftware - Andrew Hu\n\nHardware - William Kwok\n\nSimulations - Yoshi Goto\n\n## Curriculum\n\nSyllabi:\n\n[Wetlab class](https://docs.google.com/document/d/1ECTl_-AO9TruBBa3VTglOg6EfFbIAS5S5LSUVEm5-fs/edit?usp=sharing)\n\n[Drylab classes](https://docs.google.com/document/d/1qhnRhazDiDUfX2lLycewbArTvVEK0hvELHkfC5zJbjA/edit?usp=sharing)\n\nYou can see the course website for all of the drylab courses [here](http://students.washington.edu/uwigem/18sp/)\n\n## Background\n\nCreating a new class is difficult, as it involves synthesizing learning objectives, curriculum activities, and assessments. If any one of these is not given appropriate consideration, it can create a very unsatisfying learning experience for students. We started to develop the structure by splitting up the classes, creating syllabi, and planning out content one quarter before the classes would start.\n\nThe biggest problem during curriculum development was the fact that we were still figuring out what our project this year would be at that time, meaning that we could not be sure of the best content to teach, especially in the drylab classes. Last year, we recruited many drylab members to work on our hardware/software project: the Chromastat. However, this year, we were unsure if we would use that same project, and if not, we did not know what we would be doing. We guessed early that we would be doing something with microfluidics, in coordination with an early idea for a wetlab project involving aptamers, but this idea was ultimately rejected. As a result, we went into teaching the class with a very general curriculum planned out. Software taught a general software engineering course, Simulations gave an introduction to various techniques and tools in modeling, and Hardware used the Chromastat as an example of biotech hardware and continued to work on it.\n\nWe continually asked for anonymous feedback from students but received relatively little. The suggestions we did receive mostly related to the problems already discussed.\n\nSince students received a grade for the courses, we had to create a rubric to assess their performance over the quarter. It was difficult to validate these scores in an objective way because our curriculum was not structured around exams or homework. Our grades mostly consisted of participation both in class and on the project. We ended up giving full credit to those who always showed up in class and put in the required amount of hours. The more difficult issue to address was determining the grades to give to those who did not meet these standards. We graded attendance and out of class participation linearly based on how much work they did, and then used the University of Washington\u2019s recommended percentage score to GPA conversion table shown below\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/9/99/T--Washington--ClassGradingScale.png,Class grading scale,boxShadow: 5px 5px 10px gray,margin:auto,width:80%",type:"IMAGE"},{data:"## Results\n\nWe were able to get through almost all of the originally planned content across all four of the classes, and we found that some of our pedagogical methods were more effective than others. In particular, students generally responded poorly to lecture-style classes. Additionally, the fact that our generalized curriculum did not directly reference our project for this year caused some members to be confused as to how the content we were teaching them was relevant to our project.\n\nBy contrast, when we gave them self-guided projects, they were forced to become more engaged in the course work to finish the project. However, students were resistant to this more free-form style of learning, meaning that it took more preparation and effort on the teachers\u2019 end.\n\n## Analysis\n\nIn the end, the iGEM class was able to fulfill our original goal of training our new members in a more rigorous and formal setting, but we learned through the process of running the class that iGEM does not necessarily need something as straightforward as a class. \n\nThe classroom is the most structured environment where learning can occur, but humans learn every day, by observing their environment and the people in it. Learning happens long after we leave school, especially in the workplace, whether through official training or self-managed trial and error.\n\nHowever, iGEM as an activity is unstructured by nature: students must organize themselves into a team, find experts to work with, create or adapt a synthetic biology project, learn how to do all of the necessary procedures, do literature review, and execute the project all by themselves, while balancing classes and summer commitments! The ideal iGEM training must match how iGEM itself operates, in an environment driven by the passion and curiosity of the students involved.\n\nNext year, we seek to create a more student-driven training, involving project-based learning. Additionally, any classroom-based instruction should use active learning to engage students to drive the experience. Our teachers will facilitate students experimenting with working on their own, given a framework for a project. Through trial and error they will gain the hands-on experience required to effectively run an iGEM project. This will also address the issue of members being confused as to how the course content would fit into the project. \n\n## Establishment as a Vertically Integrated Project (VIP)\n\nWe originally believed that we would just teach the class ourselves by reserving classroom space as a club, but we found out about a relatively recent project at the UW called Vertically Integrated Projects (VIP), which gives support to hands-on projects for undergraduates. By becoming a VIP, we were able to not only reserve class space, but also give our members graded credits for working in iGEM.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncrowdfunding\nCrowdfunding Campaign",type:"SPECIAL"},{data:"# Crowdfunding Campaign",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/b/bc/T--Washington--Givebutterlogo.jpg,Givebutter Logo adapted from givebutter.com,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"In order to raise additional funds for our research and conference expenses, we worked with [Givebutter](https://givebutter.com/WashingtoniGEM2018), an innovative crowdfunding platform that is geared specifically towards student teams. This platform is unusual in that it allows people to make non-profit donations, donors have the option to cover platform fees, and all money raised goes towards the project, regardless of whether the campaign reaches its monetary goal. \n\nThrough this campaign, we were not only able to ensure that our students could move forward with their project, but we were also able to connect our friends and family to our work and show that our technology could help solve real-world problems they may face in their communities.\n\n[Link to the crowdfunding video](https://www.youtube.com/watch?v=WMXOW5X1cLM)",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Public_Engagement"},{content:[{data:"HEADER\nTEXT=ENTREPRENEURSHIP\nBACKGROUND=https://static.igem.org/mediawiki/2018/8/80/T--Washington--Banner.png\nXPOS=50\nYPOS=25\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nMINPADDINGTOP=120\nTEXTHEIGHT=9\nMINTITLEHEIGHT=5\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/f/fb/T--Washington--BusinessTeamLogo.png,SynSensora Logo,margin:auto,width:50%",type:"IMAGE"},{data:"# Overview\n\nWashington iGEM\u2019s business team is comprised not of business people or venture capitalists, but rather scientists and engineers passionate about bridging the gap between industry and the lab, thus enabling us to bring a unique perspective to our business endeavors.  We feel that while research is a positive avenue for new discoveries, additional entrepreneurship that brings our team\u2019s product to the market will drastically increase the impact of our project. As our novel nanobody detection systems could catalyze powerful improvements in healthcare and research practices, Washington iGEM has created a business plan for a potential company called SynSensora. We envision SynSensora to be a startup company that provides small molecule detection systems to institutions and biotech companies for use in metabolic engineering, point of care diagnostics, and cell therapies.\n\n\nOur business team is collaborating with the Institute for Protein Design and a business mentor from the Buerk Center for Entrepreneurship at the University of Washington to develop not only biotechnology that will be valuable in market, but also a detailed business model detailing our plan to bring our venture to fruition. Our team has met with several potential customers, including Lumen Bioscience and the Institute for Systems Biology, and has received sponsorships from GenScript, PVP Biologics, and the Institute for Protein Design. We have learned much about business models and intellectual property protection, and our team is working with the Institute for Protein Design to establish a provisional patent for our SynSensora\u2019s research and development protocol.\n\nSynSensora\u2019s products are based on biological detection systems that take advantage of chemically induced dimerization, a process in which two proteins bind together in the presence of a specific molecule. SynSensora detection systems would be used for small molecules, which are historically much more difficult to detect than proteins. These detection systems range from point of care diagnostics to transcriptional biosensors for metabolic pathway optimization. As our team is currently investigating nanobody-based detection systems targeting Vitamin D3 and Artemisinin while also developing a biosensor for CBD, these proof of concept studies will lay the foundation for SynSensora\u2019s product line. The positive feedback we received from potential customers lends confidence to the efficacy of our technology and encourages the expansion of our library of molecules for which we would develop sensors. Ultimately, SynSensora would provide efficient and affordable small molecule detection systems for its customers as well as custom system development. Using an incredibly diverse nanobody library containing around 10^9 variant binders from our partner, the Institute for Protein Design, we could theoretically create detection systems for any small molecule. Thus, as customers request specialized detection systems for various small molecules, our product line would grow. Our established products would be sold a la carte, and our custom development service would range in price depending on the product constraints and development cost.\n\nOur business team has synthesized research from potential customer interviews, database resources, and meetings about intellectual property to develop a plan to make SynSensora a reality. SynSensora has the potential to set a new standard for healthcare and research with affordable and effective small molecule biological detection systems.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nbusinessplan\nBusiness Plan",type:"SPECIAL"},{data:"# Business Plan",type:"MARKDOWN"},{data:"TAB\n===\nSummary\n# Summary\n\nThe business plan below is a thorough explanation of SynSensora that includes SynSensora\u2019s purpose and motivation, strengths and weaknesses, operations, products, and our proposal on how to bring those products to market. It includes in depth analyses of several markets that SynSensora products will join and the opportunities and barriers to entry for each market. It also includes an industry analysis of SynSensora\u2019s main competitors with comparisons of the strengths and weaknesses of each company. We have used this research to develop strategies for expanding SynSensora and generating revenue and profit. For ease of access, this page also includes key highlights of the business plan including a concise overview of our market and industry research findings as well as the current status and intended future development of SynSensora.\n\nOur business team used database resources from the University of Washington Buerk Center for Entrepreneurship to conduct in depth market and industry research. We also obtained guidance from the Gu lab at the Institute for Protein Design to ensure that our products and proposed manufacturing techniques were scientifically accurate. Additionally, we received feedback on initial drafts of our business plan from Dirk Smith, a biotech entrepreneur and previous scientific director at Amgen, whom we connected with via the MentorConnect program through the Buerk Center for Entrepreneurship.\n\n===\nIndustry Analysis\n# Industry Analysis\n\nOur company\u2019s nanobody CID technology will translate into innovative tools for point of care (POC) diagnostics, metabolic engineering and pathway optimization, and the programming of therapeutic cells--all of which are lucrative, rapidly expanding sectors in industry. While the diverse applications of our product increase our number of competitors, they also enhance the company\u2019s stability and flexibility by enabling us to utilize gains from less competitive markets to support efforts in more aggressive ones. Thus, concerning existing barriers to entry, due to the presence of both older companies with established substitutes and fresh start-ups with new technologies, our business will have to invest considerable time and effort into convincing customers to choose our more effective methods and products instead of other well-known approaches. Additionally, before we establish a strong market foothold with solid buyer trust, it will be crucial to set competitive pricing to attract buyers away from existing alternatives. Product prices should be flexible depending on the context of each deal and the amount of leverage we have compared to the buyer, with knowledgeable customers in larger markets possessing the most leverage and less savvy consumers in smaller markets having the least. \n\n| Strengths | Weaknesses |\n|-|-|\n| Diverse skill set | New market: must establish brand |\n| Product and market expertise | Steep learning curve for entering competitive target markets |\n| Product development: guidance from expert in field | Technology still new and undergoing R&D |\n| IP Patent-protected new technology: foundation for strong, unique pipeline structure/diverse array of services | Novel production methods will require considerable effort to perfect and scale up |\n\n| Opportunities | Threats |\n|-|-|\n| Novel technology can set new expectations, serve unique niche needs | Government regulations                                                    |\n| Rapidly expanding markets: biosensors, point of care diagnostics and cell therapy | High initial investment for equipment, materials, etc. |\n| Potential for expansion of product line - custom antibody service | Existing biotech companies with alternative methods                      |\n| Increased sensitivity and selectivity for detection of small analytes compared to current methods | Customer reluctance to try unknown products when older proven tech exists |\n===\nMarket Analysis\n# Market Analysis\nOur technology serves four rapidly expanding markets: biosensors, point of care diagnostics, cell therapies, and custom antibody services.\n\n## Biosensors\nInnovation in biosensors is an ongoing process that has application in new markets such as security, military biodefense, and automotive and aerospace industries. The main contributor to this market is research and development and the need to develop new platforms for accurate, highly sensitive and pain-free diagnostic biosensors. The market for biosensors is categorized as a growth market, with the amount of potential applications increasing as more novel biosensor technologies emerge. According to BCC Research, the global market for biosensors, valued at nearly $5.7 billion in 2017, is expected to increase to more than $6.3 billion in 2018 and to more than $12.1 billion in 2023, for a compound annual growth rate (CAGR) of 14.0% over the five-year period from 2018 through 2023.\n\n## Point of Care Diagnostics\nThe market for point of care diagnostics is quickly growing due to increasing investment in research and development, advancement of diagnostic laboratories, and adoption of automated lab systems.  According to Market Research Future, there is a healthy growth rate at a CAGR of 9.5% during a forecast period till 2023.  The market is segmented by types of products and by end users. Some of the types of products include glucose testing, cardiac makers, HbA1c testing and coagulation. Examples of end users include clinics, hospitals and home care.\n\n## Cell Therapy\nAnother market that we cater to is cell therapy. Using the tools of synthetic biology, we now have the technology to engineer our own body\u2019s cells to respond to diseases that could impede our immune system. However, excessive immune activity and poor control over engineered T cells can cause severe toxicities. Our technology has the potential to address these problems and transform the cell therapy market. \n \n## Custom Nanobody Products\nBecause of the novelty of our nanobody products, our company is expanding our product line by manufacturing custom assays based on requests for specific target molecules. According to reports from BCC research, the global market for custom antibody service was estimated at $252 million in 2016 and is expected to grow to $424 million in 2022, with a 9.0% five year CAGR. This growth is mainly due to the lack of specific antibodies that are needed in large quantity, as the demands are usually higher in industrial settings. This lack of large supply benefits the custom antibody service companies that can provide a stable and reliable source of antibodies.\n\n===\nCurrent Status and Future Development\n# Current Status and Future Development\n\nSo far, our team has successfully identified nanobody binders for artemisinin and cholecalciferol from a large combinatorial library of nanobodies. The gene constructs of these nanobodies would be Synsensora\u2019s minimal viable product for our target molecules. Additionally, we have characterized nanobodies for a biosensor for cannabidiol (CBD) using computer simulations, thus demonstrating SynSensora\u2019s ability to optimize products. These studies are a proof of concept for our research and development strategy.\n\nFor the future, we would plan to expand our product base by commercializing the service of customizing nanobody binders. This can be done by communicating with interested companies to not only select target molecules for product development, but also to spread SynSensora\u2019s influence to more customers. We are continuing our research and development for full products for artemisinin, cholecalciferol, and CBD before expanding Synsensora\u2019s product base to other target molecules.",type:"SPECIAL"},{data:"PDF\nhttps://static.igem.org/mediawiki/2018/5/5e/T--Washington--BusinessPlan.pdf",type:"SPECIAL"},{data:"PDF not loading? Download it [here](https://static.igem.org/mediawiki/2018/5/5e/T--Washington--BusinessPlan.pdf).",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\npcinterviews\nPotential Customer Interviews",type:"SPECIAL"},{data:"# Potential Customer Interviews\n\nIn order to understand the market for SynSensora\u2019s products and the needs of our potential consumers, our team met with several companies and institutions to discuss nanobody detection systems and their potential applications in the research of each organization as well as to learn about the science and manufacturing processes that could aid in SynSensora\u2019s development. The organizations that we communicated with are Lumen Bioscience, the Institute for Systems Biology, Just Biotherapeutics, and Amyris. The first three organizations are located in the Seattle area, and the last organization is in California, where one of our team members has personal connections. We learned a great deal about how nanobody and CID-based detection systems can aid our potential customers in metabolic engineering and point of care diagnostics along with manufacturing and development techniques that could help expand SynSensora. To read what we learned from each individual organization, please click on the tabs below.",type:"MARKDOWN"},{data:"TAB\n===\nLumen BioScience\n# Lumen BioScience\n\n![Lumen BioScience Logo](https://static.igem.org/mediawiki/2018/9/96/T--Washington--LumenLogo.jpg)\n\nTo evaluate the marketability of SynSensora\u2019s nanobody products, we discussed nanobody detection systems with scientists from a Seattle biotech startup company: Lumen Bioscience. Lumen Bioscience is a company that uses spirulina, a cyanobacterium, to produce biologics such as dyes and oral vaccines for fish.\n\nWe met with Dr. Jim Roberts, the Chief Scientific Officer, as well as other scientists from Lumen Bioscience. The researchers were already familiar with nanobodies but had never considered their use in metabolic engineering or point of care diagnostics. After our wetlab leads explained the science and applications of chemically induced dimerization (CID) of nanobodies, they were excited about the great potential of such a versatile technology. However, the researchers did express concern that the CID system would not work with Vitamin D3, one of our target molecules, because of its nonrigid structure.\n\nWhen asking the researchers at Lumen Bioscience how they would use a CID detection system, they proposed utilizing a nanobody CID system as a biosensor for microcystin, a class of toxins that all cyanobacteria products must be tested for because it is harmful to humans. They expressed their frustration with the microcystin testing process because although their products never have any trace of the toxin due to the manufacturing process, they must have a third party test their products to comply with legal regulations. Having an accurate biosensor would allow them to test their own products at a lower cost. This microcystin biosensor could also be used to measure water cleanliness, as cyanobacteria presence is used as a unit of water cleanliness (the more cyanobacteria, the less clean the water). They also were confident that nanobody CID systems could be applied in metabolic pathway optimization.\n\nThe scientists at Lumen Bioscience was very impressed by our project and were interested in keeping in touch. They sent us papers about small molecule biosensor construction and transcriptional biosensors used for metabolic engineering. Our visit to Lumen Bioscience helped us identify possible applications and limitations of SynSensora\u2019s products and gave us a new, professional perspective on nanobody CID detection systems.\n\n![Lumen BioScience Visit](https://static.igem.org/mediawiki/2018/thumb/7/73/T--Washington--LumenVisit.jpg/800px-T--Washington--LumenVisit.jpg)\n===\nInstitute of Systems Biology\n# Institute of Systems Biology\n\n![ISB Logo](https://static.igem.org/mediawiki/2018/a/a3/T--Washington--ISBLogo.png)\n\nThe Washington iGEM Business Team had the opportunity to meet with Dr. Nitin Baliga, the Senior Vice President, Director and Professor at the Institute for Systems Biology (ISB) in June 2018. Dr. Baliga\u2019s lab builds predictive models of complex biological phenomena that can be used to guide cells to perform a variety of functions such as fighting off infectious disease, generating clean energy, and remediating the environment. Through this opportunity, we were able to gain insight about the potential applications of SynSensora\u2019s technology and better understand the types of molecules in his field that could use stronger methods for detection. \n\nAccording to Dr. Baliga, a possible application of our technology is the detection of lipoarabinomannan (LAM), a protein produced by Mycobacterium tubercolosis. This protein is one of the most promising candidate antigens whose detection would aid in the diagnosis of tuberculosis. He was intrigued by the possibility of creating a point-of-care diagnostic device that could detect LAM for a cheaper and quicker tuberculosis diagnosis. He also expressed enthusiasm for applications of our technology in metabolic engineering. For instance, pogostone is a precursor to many different molecules, such as patchouli oil, that have a strong insecticidal effect. He proposed that we could use our technology to improve pogostone production, thereby helping repel insects from agricultural products. He also suggested that we look into surface plasmon resonance, which is the principle behind many in vitro biosensors currently in use. .\n\nAt the end of the meeting, Dr. Baliga was interested in helping us with our project, both with its execution and with answering any additional questions we had. His postdoctoral student Vivek, whom Dr. Baliga describes as a \u201cwalking encyclopedia that can clone anything\u201d, was also eager to help. The information that we learned from the meeting excited our team as professional researchers saw promise and potential impact in our project and in SynSensora.\n\n![ISB Visit](https://static.igem.org/mediawiki/2018/c/c7/T--Washington--ISBVisit.jpg)\n===\nAmyris\n# Amyris\n\n![Amyris Logo](https://static.igem.org/mediawiki/2018/6/6d/T--Washington--AmyrisLogo.png)\n\nAJ Kruse, a Washington iGEM team member, had personal connections to Dr. Victor Holmes, a senior staff scientist at Amyris, and reached out to him on behalf of the team for information about challenges they face and advice on potential molecular targets for our CID systems. Amyris is a successful metabolic engineering company based in Berkeley, CA that manufactures small molecules via synthetic yeast systems. One of their early products included artemisinin, a target molecule for our CID nanobody metabolite sensor, so the bulk of our email correspondence with Dr. Holmes involved asking him about Amyris\u2019s artemisinin production and how our nanobodies could best improve it.\n\nDr. Holmes provided valuable details on what challenges companies like Amyris face when dealing with certain metabolites, enabling us to modify our nanobody sensors for improved efficacy in those applications. For instance, many of Amyris\u2019s molecules of interest, like artemisinin, tend to have extremely high intracellular concentrations, so an effective sensor in this circumstance would only form a dimer in high concentrations of the desired substrate as opposed to a sensitive detection-related assay. He also explained the reasoning behind manufacturing artemisinin chemically instead of biologically: reactions involving oxygen have historically been very low yield in synthetic biology, since they require P450 enzymes which are membrane-bound and kinetically slow. Unfortunately, attempts to increase reaction speed tend to make them less specific. Furthermore, the final conversion steps of artemisinin production do not involve any stereochemistry, so the benefits of drawing upon biology to deal with tricky chirality would not apply here. Our correspondence with Amyris has been useful not only in guiding the technical aspects of our artemisinin CID detection system, but also in exposing our team to possible advantages and limitations of the CID system for use in metabolic engineering.\n===\nJust Biotherapeutics\n# Just Biotherapeutics\n\n![Just Biotherapeutics Logo](https://static.igem.org/mediawiki/2018/a/ae/T--Washington--JustLogo.jpg)\n\nTo learn more about manufacturing and how to scale up SynSensora, we visited a Seattle based biotech startup called Just Biotherapeutics. Just Biotherapeutics designs biologic products with the aim of reducing manufacturing cost, with their core strengths being molecular design, process and product design, and manufacturing plant design. We met with Anastasia Nicolov, one of our advisors who works at Just Biotherapeutics and received a tour of the facilities and an explanation of the uses of different labs and machines utilized in the company\u2019s research.\n\nWe met with Just Biotherapeutics because they mainly develop antibody products and improve techniques for antibody production. We were introduced to small bioreactors used for testing and large bioreactors used for scaling up to production size. Anastasia was very knowledgeable about the difficulties with scaling up. The environment in a small-scale culture tube or small bioreactor is not proportionally scaled to a larger bioreactor, and the processes for controlling the environment may be different: for example, different scales use different control mechanisms for aeration, pH control, temperature control, and other variables. Though Anastasia clarified that she was not an expert on amplifying plasmids in cell culture, she gave us great insight into current methods for production of antibodies.\n\nOur visit to Just Biotherapeutics helped us understand that scaling up products is a difficult task. To optimize the design of a manufacturing plant, there must be many studies done to understand how the chamber environments of smaller bioreactors scale to larger bioreactors. Because large-scale manufacturing will be important for SynSensora, learning about the scale-up process from an innovator in reducing manufacturing costs was valuable to our team and will aid in our studies going forward and the growth of SynSensora.\n\n![Just Biotherapeutics Visit](https://static.igem.org/mediawiki/2018/thumb/7/70/T--Washington--JustVisit.jpg/800px-T--Washington--JustVisit.jpg)",type:"SPECIAL"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nipmeeting\nIntellectual Property",type:"SPECIAL"},{data:"# Intellectual Property\n\nThe Washington iGEM business team met with Dr. Gu, who developed a novel protocol to perform massively high-throughput molecular detection using nanobodies at the Institute for Protein Design. We had multiple meetings with Dr. Gu for scientific guidance and to better understand how intellectual property (IP) protection works, since we are partnering with Dr. Gu to commercialize SynSensora\u2019s products. Through our meetings, we had the opportunity to learn and provide insight on the process of writing a patent as Dr. Gu invited the Washington iGEM team to collaborate with him and his lab in the process of developing protection for his IP.\n\nDuring one of our meetings on July 17th, 2018, we began our first discussion on Dr. Gu\u2019s IP protection. Dr. Gu first began our discussion by providing us with three potential applications for his novel method, which include point of care diagnostics, metabolic biosensors, and cell therapy. The actual proposed patent would be for the protocol for creating the chemically induced dimerization (CID). In our meeting, we also discussed the products that our business, SynSensora, would manufacture and sell, which includes the construct of the genes to produce the binding proteins as well as physical proteins for use in point of care diagnostics. \n\nThroughout the process of our research and development, we were in constant contact with Dr. Gu, so we could be sure to be on the same page regarding his protocol and SynSensora\u2019s products. Meeting with Dr. Gu helped us identify the possibilities of what this novel technology can do and gave us a whole new perspective on the application of this technology. We have been invited to join the discussion about protecting Dr. Gu\u2019s protocol with his lab and CoMotion, UW\u2019s center for innovation and intellectual property protection, in late October. This experience has allowed us to learn about the importance of intellectual property protection, the barriers to gaining protection, and resources to aid in getting protection.\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Entrepreneurship"},{content:[{data:"HEADER\nTEXT=SAFETY\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nlabsafety\nLab Safety",type:"SPECIAL"},{data:"# Lab Safety\n\nWe worked on a foundational project this season that primarily involved work with _E. coli_ (DH5-alpha and BL21 Cell Lines). These cell lines constitute BSL1 hazard level, and as a result, we took precautions in lab under this rating. This included always wearing gloves, sterilizing surfaces with ethanol, bleaching and autoclaving and collecting waste as needed, and enforcing the lab as a food and drink-free space. We received training at the beginning of the year through the Biochemistry Department at the University of Washington, which consisted of several online safety trainings. We also refreshed our safety periodically throughout the summer with all members in the lab. ",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\neanderisk\nEthical and Environmental Risk",type:"SPECIAL"},{data:"# Ethical and Environmental Risk\n\nThere are a number of applications for CID systems, including biosensors and genetic switches. There is a risk that this technology applied to a sensor could produce false positives due to inefficiencies in the system. Depending on how this information is used, this risk raises a number of ethical concerns for the technology, and requires that any end-user applications be rigorously tested. As is, the CID system demonstrated in our project is foundational and thus has little to no ethical bearing on the general public. Furthermore, we do not intend to work with animals or release this system into the environment.\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Safety"},{content:[{data:"HEADER\nTEXT=ATTRIBUTIONS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3\nMINTITLEHEIGHT=6",type:"SPECIAL"},{data:"SECTION\nprojectdevelopment\nProject Development",type:"SPECIAL"},{data:"# Project Development:\n\n## Gu Lab\n\n* Prof. Liangcai Gu, Assistant Professor, Department of Biochemistry, Institute of Protein Design\n* Dr. Shoukai Kang, Post-doctoral Fellow, Department of Biochemistry\n* Dr. Zhimin Huang, Post-doctoral Fellow, Department of Biochemistry\n* Li Sun, Research Engineer, Department of Biochemistry\n* Luis Castillo, Undergraduate Research Assistant, Department of Biochemistry\n* Jack Jiang, Undergraduate Research Assistant, Department of Biochemistry\n* \n## Baker Lab\n\n* Prof. David Baker, Professor, Department of Biochemistry; Director, Institute of Protein Design; HHMI Investigator\n* Dr. Chunfu Xu, Senior Fellow, Institute of Protein Design\n* Dr. Matthew Bick, Senior Fellow, Institute of Protein Design\n* Jason Klima, Graduate Research Assistant, Institute of Protein Design\n* Dr. Lance Stewart, Sr. Director of Strategy, Institute of Protein Design\n\n* Prof. Herbert Sauro, Associate Professor, Department of Bioengineering\n* Dr. Karen Thickman, Lecturer, Department of Microbiology, School of Medicine\n* Prof. James Carothers, Assistant Professor, Department of Chemical Engineering; Affiliated Investigator, NSF Synthetic Biology Engineering Research Center\n* Prof. Tomikazu Sasaki, Professor, Department of Chemistry\n* Brooke Angell, Lab Manager, Fields Lab, Department of Genome Sciences\n* Lucia Shumaker, Former Research Scientist/Engineer, Fields Lab, Department of Genome Sciences",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nwetlab\nWetlab",type:"SPECIAL"},{data:"# Wetlab:\n\n* Terra Vleeshouwer-Neumann, Research Scientist, Chen Lab, Department of Pathology\n* Texia Loh, Undergraduate Research Assistant, Chen Lab, Department of Pathology\n* Nick Terzopoulos, Assistant Research Scientist, Kaeberlein Lab, Department of Pathology\n* Brandy Tang, Research Associate, Human Photonics Lab, Department of Mechanical Engineering.\n* Andrew Francis, PhD Candidate, Fu lab, Department of Chemistry ",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nsimulations\nSimulations",type:"SPECIAL"},{data:"# Simulations:\n\n* Prof. Frank Dimaio, Assistant Professor, Department of Biochemistry, Institute of Protein Design\n* Prof. Herbert Sauro",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nbusiness\nBusiness",type:"SPECIAL"},{data:"# Business:\n\n* Dr. William Canestaro, Managing Director, Washington Research Foundation\n* Lumen Bioscience, Inc.\n* Institute of Systems Biology\n* Prof. Liangcai Gu\n* Dirk Smith, Founding Partner, Cascadia Drug Development Group\n* Just Biotherapeutics, Inc,\n* Amyris, Inc.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nfundraising\nFundraising",type:"SPECIAL"},{data:"# Fundraising:\n\n* Damien Chapman, Director for Corporate and Foundation Relations, UW Medicin",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\noutreach\nOutreach",type:"SPECIAL"},{data:"# Outreach:\n\n## Schools\n\n* International School, Bellevue, WA\n* Janet Roberts \n* Teacher: Cheryl McClure\n* Adventure Science Camp, Seattle, WA\n* Teachers: Sylwia Mazur Johnson & Zoe Leverso\n* Kent Meridian High School, Kent, WA\n* Jodie Spitze\n* Teacher: Brian Gabert\n* Rainier Beach High School, Seattle, WA\n* Kelly Rol\xf3n\n* Teacher: Karla Nyquist\n* Northgate Elementary School, Seattle, WA\n* Principal: Dedy Fauntleroy\n* Kea Ireland, Northgate Elementary Secretary\n* Guillermo Carvajal\n* Teacher: Jenny Tang\n* Sadhana School, Ahmedabad, India\n* Principal & Trustee: Pranav Mistry\n\n## \u201cSit Down with SynBio\u201d Event\n\n* Dr. Scott McIsaac (keynote speaker and panelist), Principal Investigator, Calico Life Sciences\n* Dr. Jim Roberts (panelist), Chief Scientific Officer, Lumen Biosciences, Inc.\n* Prof. Jennifer Nemhauser (panelist), Professor, Department of Biology\n* Prof. Herbert Sauro (panelist)",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nadministration\nAdministration",type:"SPECIAL"},{data:"# Administration:\n\n* Kevin Lybarger, PhD Candidate, Department of Electrical Engineering\n* Prof. Brian Fabien, Associate Dean, Academic Affairs, College of Engineering; Professor, Department of Mechanical Engineering\n* Zulfiya Lafi, Administrator, Department of Biochemistry\n* Tonya Alan Hirtzel, Assistant to the Chair, Department of Biochemistry\n* Cynthia Acuario, Program Operations Analyst, Department of Biochemistry\n* John Doan, Budget/Fiscal Analyst, Department of Biochemistry\n* Tana Knight, Budget/Fiscal Analyst, Department of Biochemistry\n* Prof. Trisha Davis, Professor and Chair, Department of Biochemistry",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nmeetupvandv\nMeetup VIPs and Volunteers",type:"SPECIAL"},{data:"# Meetup VIPs and Volunteers\n\n## VIPs\n\n* Dr. Ingrid Swanson Pultz, Chief Scientific Officer, PvP Biologics\n* Regina Wu, Co-Founder, SoundBio Lab\n* Cindy Wu, Co-Founder, Experiment\n* Dr. David Younger, Founder & CEO, A-Alpha Bio, Inc.\n* Dr. David Hirschberg, Founder & CEO, RAIN Incubator; Affiliate Associate Professor, University of * Washington Tacoma\n* Dr. Liangcai Gu\n* Roya Amini-Naieni, Founder & Director, PolymerSpace; Undergraduate Student, Harvey Mudd College\n## iGEM Ambassadors\n* Holly Bowman, Ambassador for North America\n* Amy Chen, Ambassador for North America\n## Volunteers\n* Sophie Liu, High School Student, Newport High School\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Attributions"},{content:[{data:"HEADER\nTEXT=SPONSORS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nMINPADDINGTOP=120\nBLUR=3",type:"SPECIAL"},{data:"SPONSORS\nNAME=UW Biochemistry Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/e/e8/T--Washington--biochemlogo.png;LINK=https://depts.washington.edu/biowww/;FILTER=Diamond;CUSTSIZE=75\nNAME=Genscript; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/e/e7/T--Washington--Genscriptlogo.png;LINK=https://www.genscript.com/;FILTER=Diamond;CUSTSIZE=75\nNAME=IDT; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/9/9e/T--Washington--IDTlogo.png;LINK=https://www.idtdna.com;FILTER=Diamond;CUSTSIZE=75\nNAME=UW Paul G. Allen School of Computer Science & Engineering; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/0/01/T--Washington--CSElogo.png;LINK=https://www.cs.washington.edu/;FILTER=Diamond;CUSTSIZE=75\nNAME=UW Department of Biomedical Informatics and Medical Education; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/d/d5/T--Washington--bioinfologo.png;LINK=http://bime.uw.edu/;FILTER=Gold;CUSTSIZE=75\nNAME=UW Bioengineering Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/8/8f/T--Washington--BioElogo.png;LINK=https://bioe.uw.edu/;FILTER=Gold;CUSTSIZE=75\nNAME=Institute of Protein Design; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/a/a6/T--Washington--IPDlogo.png;LINK=http://www.ipd.uw.edu/;FILTER=Gold;CUSTSIZE=75\nNAME=PvP Biologics; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/d/d3/T--Washington--PvPlogo.png;LINK=https://www.pvpbio.com/;FILTER=Gold;CUSTSIZE=75\nNAME=Crowdfunding: Friends of Washington iGEM; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;FILTER=Gold;CUSTSIZE=75\nNAME=UW Biology Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/8/89/T--Washington--biologo.png;LINK=https://www.biology.washington.edu/;FILTER=Silver;CUSTSIZE=75\nNAME=UW Applied Math Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/5/54/T--Washington--appliedmathlogo.png;LINK=https://amath.washington.edu/;FILTER=Silver;CUSTSIZE=75\nNAME=UW Chemistry Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/b/b5/T--Washington--chemlogo.png;LINK=http://depts.washington.edu/chem/;FILTER=Silver;CUSTSIZE=75\nNAME=NEB; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/4/49/T--Washington--NEBlogo.png;LINK=https://www.neb.com/;FILTER=Silver;CUSTSIZE=75\nNAME=UW Microbiology Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/5/5e/T--Washington--microbiologo.png;LINK=https://microbiology.washington.edu/;FILTER=Bronze;CUSTSIZE=75\nNAME=UW Material Science and Engineering Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/0/0d/T--Washington--msebiologo.png;LINK=https://mse.washington.edu/;FILTER=Bronze;CUSTSIZE=75\nNAME=Zulip; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/0/00/T--Washington--Zuliplogo.png;LINK=https://zulipchat.com/;FILTER=Diamond;CUSTSIZE=50",type:"SPECIAL"}],pageTitle:"/Sponsors"},{content:[{data:"HEADER\nTEXT=GALLERY\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nMINPADDINGTOP=120\nBLUR=3",type:"SPECIAL"},{data:"GALLERY\nsrc=https://via.placeholder.com/300/09f/fff.png;width=300;height=300\nsrc=https://www.blackfootfamilydentistry.com/wp-content/uploads/2016/10/orionthemes-placeholder-image.png;width=1920;height=1080\nsrc=https://via.placeholder.com/300/09f/fff.png;width=300;height=300\nsrc=https://www.blackfootfamilydentistry.com/wp-content/uploads/2016/10/orionthemes-placeholder-image.png;width=1920;height=1080\nsrc=https://via.placeholder.com/300/09f/fff.png;width=300;height=300\nsrc=https://www.blackfootfamilydentistry.com/wp-content/uploads/2016/10/orionthemes-placeholder-image.png;width=1920;height=1080\nsrc=https://via.placeholder.com/300/09f/fff.png;width=300;height=300",type:"SPECIAL"}],pageTitle:"/Gallery"},{content:[{data:"HEADER\nTEXT=MEDAL REQUIREMENTS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=8\nSUBTITLEHEIGHT=7\nBLUR=3\nMINPADDINGTOP=120\nMINTITLEHEIGHT=5",type:"SPECIAL"},{data:"This year, we have completed the requirements to receive a gold medal, and are eligible for a number of special awards.",type:"MARKDOWN"},{data:"SECTION\ngold\nGold",type:"SPECIAL"},{data:"# Gold\n\n\u2714 Integrated Human Practices - We engaged with stakeholders and the public and used what we learned to inform our project\u2019s direction. Read more on our [Human Practices](https://2018.igem.org/Team:Washington/Human_Practices) page.\n\n\u2714 Model Your Project - Our project included a significant protein modeling component which tied in closely with our wetlab work. Learn more on our [Model](https://2018.igem.org/Team:Washington/Model) page.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nsilver\nSilver",type:"SPECIAL"},{data:"# Silver\n\n\u2714 Validated Part / Validated Contribution - We made four biobricks, some of which have characterization data. Visit our [Parts](https://2018.igem.org/Team:Washington/Parts) page to learn more.\n\n\u2714 Collaboration - We collaborated with multiple teams on InterLab, human practices, surveys, and through hosting the first-ever PNW iGEM Meetup. Read more on our [Collaborations](https://2018.igem.org/Team:Washington/Collaborations) page.\n\n\u2714 Human Practices Silver - We thought creatively and carefully about how our project could affect our world.  Read more on our [Human Practices](https://2018.igem.org/Team:Washington/Human_Practices) page.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nbronze\nBronze",type:"SPECIAL"},{data:"# Bronze\n\n\u2714 Registration and Giant Jamboree Attendance - We registered and are attending the Jamboree!\n\n\u2714 Competition Deliverables - We filled out our judging form and completed our wiki, poster, and presentation by the competition deadlines.\n\n\u2714 [Attributions](https://2018.igem.org/Team:Washington/Attributions) - Thank you again to everyone who helped us with our project!\n\n\u2714 Characterization / Contribution - We successfully completed the InterLab study, and our results are posted on our [InterLab page](https://2018.igem.org/Team:Washington/InterLab).",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nel_sp_awards\nEligible Special Awards",type:"SPECIAL"},{data:"# Eligible Special Awards \n\n* Best Supporting Entrepreneurship Award\n* Best Model Award\n* Best Education & Public Engagement Award\n* Best Integrated Human Practices\n* Best Wiki\n* Best Poster\n* Best Presentation\n\n\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Medal_Requirements"},{content:[{data:"HEADER\nTEXT=HUMAN PRACTICES DESIGN\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=8\nSUBTITLEHEIGHT=7\nBLUR=3\nMINPADDINGTOP=70\nMINTITLEHEIGHT=6",type:"SPECIAL"},{data:"SECTION\nintro\nIntro",type:"SPECIAL"},{data:"# Intro\n\nIf a picture paints a thousand words, the motivation behind the design team was to paint our project as clearly as possible. Our aim was to create a team that would help bridge our team to the outside world \u2013 to both other scientists and non-scientific members of the community alike \u2013 to spread the knowledge of synthetic biology as well as our year-long research. This opportunity allowed us to be more conscientious of what we want our message to be and how to best portray that information for the intended audience.\n\nWe worked to illustrate materials for many events and projects throughout the year, from designing recruitment posters to creating the team logo, illustrating a logo and materials for the PNW Meetup, and illustrating the pages of the Outreach Booklet. We also made our project more presentable for the competition by designing and composing figures for the wiki and putting together the presentation poster. Ultimately, we formed a small team of scientists who were willing to teach themselves design skills using programs on Adobe such as Photoshop, Illustrator, and After Effects to undertake projects deemed valuable for sharing the story of CID dimerization and synthetic biology overall.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\noutreachbooklet\nOutreach Booklet",type:"SPECIAL"},{data:"# Outreach Booklet\n\nThis year, Washington iGEM wrote and compiled a series of synthetic biology-related activities that were translated into several languages and utilized globally. The Outreach and Design teams collaborated on this project to create the most legible and engaging activity booklet possible.\n\nThe members of the Design team aimed to produce artistic works that were both aesthetically pleasing and extremely easy to read. To accomplish this, we chose sans-serif fonts, which are more legible at smaller sizes. Additionally, because much of the activity booklet is intended for younger demographics, such as elementary students, a sans-serif font would aid in reading text more smoothly as a consequence of its simple font anatomy.\n\nThere was no particular color scheme for this booklet, as the intent of the design was simply to catch the eye of the reader. We aimed to introduce variety into each activity by altering the color of the header title and supplementing the pages with various artworks. More importantly, we wanted to portray synbio topics in a manner that was not intimidating or complicated. The booklet was created with the intent of introducing synthetic biology to a wide audience, including students with intellectual disabilities and English Language Learners. We wanted the readers to be able to take the topics out of a classroom context and relate it to their own lives. Our primary goal was to separate \u201csynthetic biology\u201d from a \u201ctextbook definition.\u201d\n\nWhile we are immensely proud of the final product, the Design team understands that further improvements in the booklet could be made in the future to ensure higher quality work. Specifically, in the translations by other teams, some of the fonts and formatting were changed due to the constraints of online PDF editors. Thus, the Design team at Washington iGEM aims to work more diligently to create more enticing and cohesive professional works. With the academic year just starting, Washington iGEM hopes to incorporate more unique and effective lessons for young, aspiring scientists to learn about synthetic biology!\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/HP_Design"},{content:[{data:"HEADER\nTEXT=TEAM DEVELOPMENT\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=8\nMINTITLEHEIGHT=6\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nteamcommunications\nTeam Communications",type:"SPECIAL"},{data:"# Team Communications: A crucial aspect of an iGEM team\n\nAs of 2017, the University of Washington has over 45,000 enrolled students, of which about 40% are commuters, with a campus size of over 2.56km\xb2. On a campus like this, sometimes meeting together is close to impossible. Throughout the years of operating an iGEM team at the University of Washington, one of the biggest issues with team cohesion, morale, and success has been **communication**. Our advisers especially noted that this was true among the 3+ years they have been involved, and it remains a problem regardless of team size. With our unusually large team this year, it is an _especially_ large problem. Our team has experimented with various communication platforms that can fit with the fluidity and multi-faced nature of an iGEM team.\n\n## Trying different platforms\n\nOur team has tried many different methods of communication but most platforms fell short because they did not meet our criteria for our ideal communication platform. In the past, we have used Google Hangouts Chat, Facebook Messenger, and Slack Free edition. Based on this experience, we have identified shortcomings of these platforms. At the start of the season, the leadership team that continued from the 2017 team discussed what we wanted in a communication platform:\n\nBased on our past experience, our ideal platform would:\n\n* Be **portable and accessible**: The program should work on multiple operating systems (Windows, MacOS, Linux) and also be available on mobile apps (Android, iOS). \n* Be **stable**: The programs should be able to reliably send and receive messages and files, in any form, and not fail to send messages we type.\n* Be **affordable**: We do not have a budget that we can allocate to our communication platform, so we were ideally looking for an open-source free solution. Slack is expensive at $7/user/month. \n* Be **organized**: The platform should have a good way to organize many topics and discussion at the same time. One problem with Facebook Messenger and Google Hangouts was the lack of threading or separation by topics.\n* Be **searchable**: We send many messages every day. We need a way to search all messages in case we need to get back to it.\n* Have a layer of **privacy**: We have a complicated team structure. We need private and public channels, as well as the ability to privately message other users.\n* Have **long-term storage**: One issue with Slack is that our team easily reached our maximum message number limit, and halfway through the season, we started to lose crucial messages.\n\nWe have tried multiple messaging platforms listed below:\n\n| Platform | Comments |\n|-|-|\n| Rocket.chat | $10/month for the whole server, but limited threading capabilities. |\n| Ryver | Free, but the layout is confusing. It seems to be trying to be Slack and Trello in one. |\n| Trello | Great layout for task management, but it\u2019s not intuitive for quick communication. |\n| Chanty | Too early in its development and lacks a lot of features that other programs have. |\n| HipChat | Too expensive! |\n| Bitrix24 | Too expensive! |\n| MatterMost | The platform is very good and intuitive, but is $150/month for 50 users. We could not find a server to host an instance. |\n| Slack | Slack was what we used last season, but the biggest complaints were that discussions couldn\u2019t be sustained, and there was a maximum message retention limit. |\n| Google Hangouts | Very ubiquitous, but does not support threading or easy messaging of users. |\n| Facebook | Everyone uses Facebook, but often for personal, \u201cnon-work\u201d uses, and many team members said they wanted to keep iGEM \u201cbusiness\u201d separate from their personal social media. Messenger has the same problem as Google Hangouts. |\n| IRC | IRC is too niche and too minimalist. The messages that people send will also not be visible if they are offline. |\n| SnapChat | Too casual and won\u2019t be conducive to working. |\n| Zoom | Works great as a video messaging system, but it\u2019s too simple and doesn\u2019t have features necessary for the team. |\n| GroupMe, WeChat, LINE, Kakotalk, Whatsapp | Instant messaging platforms like these are too casual and has the same problem as Google Hangouts. |",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/7/7f/T--Washington--SlackUsage.jpg,Slack usage,boxShadow: 5px 5px 10px gray,margin:auto,width:90%",type:"IMAGE"},{data:"Figure 1. Our analytics of Slack usage last year. We went well over 10 times the amount of free messages we had.\n\nAfter lots of experimentation, we found a relatively new platform called Zulip.",type:"MARKDOWN"},{data:"## Zulip\n\nZulip is a very different communication platform developed at MIT (just like iGEM!) in 2012 as a startup. In 2014, it was acquired by Dropbox while in private beta, where it met favorable opinions from beta users. In late 2015, it was released as open source software. The Zulip project is now one of the world\u2019s largest active open source projects. There is now a company dedicated to developing Zulip, as well as a hosted server service funded by the National Science Foundation. [1] The core team developing Zulip includes former and current Dropbox employees, MIT and Stanford graduates, and core Python contributors. [2]\n\nZulip has an innovative approach to chat styling: They combine Slack\u2019s immediacy and portability with an email threading model. This allows teams to immediately address completely different discussions, while keeping organization and neatness. Zulip wonderfully hits almost all of our criteria. [3]\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/a/ab/T--Washington--ZulipScreenshot.jpg,Zulip desktop,boxShadow: 5px 5px 10px gray,margin:auto,width:90%",type:"IMAGE"},{data:"Figure 2. A screenshot of Zulip, desktop program version, Windows, dark mode. Note its email-threading method of showing multiple discussions at once.\n\n| Criteria | Zulip feature |\n|-|-|\n| Portable + Accessible | Zulip was built on a platform supported by all OSes, and if the desktop app doesn\u2019t work, it can be used in the browser, just like Slack. It also has an Android and iOS app. |\n| Stable | Zulip was originally still the beta version when we started using it. Since then, stability of the desktop and mobile apps have improved dramatically to almost no issues. |\n| Cheap | Zulip has the same pricing plan as Slack. But, unlike Slack, they offer their premium plan to non-profit groups. After asking them, they immediately offered us a premium plan for free! |\n| Organized | Zulip is organized into \u201cstreams\u201d (akin to \u201cchannels\u201d) and \u201ctopics\u201d within the streams. Their home window can show multiple topics within streams at once. Our team members have really responded well, and it has created efficient and rapid communication possible. |\n| Searchable | Zulip has a global search bar that can search every single post ever, which works almost immediately. |\n| Privacy | Zulip allows for private streams, private messages, and group private messages. |\n| Long-term Storage | With the premium plan, we are able to keep every single message, as well as 10GB of storage for every single member! |\n\nSince the beginning of the season, we have been using Zulip. In the winter, Zulip had many issues and their Android app was almost completely unusable. Contrary to almost all other messaging platforms and the companies that run them, the **Zulip development team is extremely transparent**. Almost all of their development discussion among workers and volunteers happens on a public Zulip chat server. This means that our members can **report bugs directly to the staff**, and get a reply often within minutes, with a fix implemented in days, sometimes **immediately**.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/0/0a/T--Washington--ZulipBugs.jpg,Zulip Bug reporting,boxShadow: 5px 5px 10px gray,margin:auto,width:90%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/2/28/T--Washington--Zulipusage.jpg,Zulip usage statistics,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Figure 4: Our Zulip analytics for the whole season. We reached almost 60,000 messages with an average of 60 users. By the end of our season, we had 44 active members in the team using Zulip.\n\nAfter we stressed the importance of the android app to our team, the lead developers surveyed other teams utilizing Zulip, and greatly prioritized stability of the app. Within a few months, the android app now works as well as the mature desktop app. The **openness** and **accessibility** of the development team was extremely refreshing to our team. We realized that this kind of culture was something to emulate within our iGEM team as well. We strongly recommend Zulip for iGEM teams in the future.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nteamopsandmgmt\nTeam Operations & Management",type:"SPECIAL"},{data:"# Team Operations and Management\n\nWhen managing a team of over 40 members, it is essential to keep every member engaged, informed, and motivated to contribute to the project. This year, our operations team, comprised of our two Administrative Leads, Andrew Hu and Angel Wong, and our Director of Internal Affairs, Krithi Basu, worked hard with the help of our advisors, Yoshi Goto and Anastasia Nicolov, to ensure that each team member felt comfortable voicing their questions and concerns and was generally excited to be in iGEM. \n\nAt the beginning of the summer, individual check-ins were conducted with every single member on the team. We felt that these check-ins were essential to not only understanding members\u2019 experiences on the team thus far, but also being receptive to new ideas regarding the project or general team structure and operations. During these check-ins, a variety of questions were asked, some specific to members\u2019 subteams and others about understanding of the project, information access and organization on Zulip, and feedback and suggestions for how leadership can better manage the team. At the end of these check-ins, our Director of Internal Affairs had a _26-page document_ compiling each members\u2019 responses, complete with summaries of observations and feedback for every subteam lead to read and adjust their leadership style accordingly. \n\nUpon concluding the check-ins and listening to everyone\u2019s evaluations, it became apparent that there was too much of a divide between subteams--most people had yet to meet every person on the team! This isolation resulted in a lack of communication and awareness of the work in different aspects of the team. The operations team took members\u2019 suggestions for improvement and created a weekly updates stream on Zulip where every subteam lead would post an update every week about what their subteam had accomplished over the week and their goals for the upcoming week. We received lots of positive reactions from members after instituting this stream, indicating that we succeeded in improving communication and awareness across the whole team. Additionally, to further combat isolation between subteams, we began to hold social events, including weekly optional lunches, an Escape Room, and an evening outing at a boba cafe! \n\nThroughout the season, our Director of Internal Affairs performed periodic check-ins with members who became inactive for long periods of time without communication. These check-ins helped determine whether inactive members required more guidance, needed to take a break due to other commitments, or simply lost motivation. The concerns of such members were immediately passed on to the relevant leadership members who would provide more instruction and guidance for how they can continue to contribute. We also created an anonymous team management survey as a sort of virtual check-in at the beginning of fall to collect members\u2019 latest opinions, feedback, questions, and concerns about the way various subteams and the overall team was run through the summer. Based on the responses, some improvements that we will incorporate for the team next season are more frequent all-team meetings, better delegation of work, and stronger communication between leadership and general members. Furthermore, to create a more continuous channel of feedback from team members, we will be creating and advertising an anonymous feedback form throughout the season. \n\nAs this year\u2019s season ends, we have learned that to successfully run a large team, the most important priority is clear and constant communication between each part of the team. For other teams, we recommend the use of individual check-ins, anonymous feedback surveys, weekly updates from all subteams (including administration), and social events to create a positive community where every individual feels comfortable asking questions and expressing any concerns or suggestions for improvement. Such an environment is ideal for optimal learning, collaboration, productivity, and overall fun in an iGEM team! \n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations\n\n* [https://zulipchat.com/history/](https://zulipchat.com/history/)\n* [https://zulipchat.com/team/](https://zulipchat.com/team/)\n* [https://zulipchat.com/features/](https://zulipchat.com/features/)",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Team_Development"},{content:[{data:"HEADER\nTEXT=HARDWARE\nBACKGROUND=https://static.igem.org/mediawiki/2018/6/66/T--Washington--RotaryCad.png\nYPOS=15\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=9\nSUBTITLEHEIGHT=7\nBLUR=3\nMINTITLEHEIGHT=7\nMINPADDINGTOP=120\nPADDINGTOP=120",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"# Overview\n\nThis year, Washington iGEM has created a **cheap, modular, open source** rotary tool for our Wetlab team. Tube rotators can cost [over $200](http://www.southwestscience.com/STR200_Tube_Rotators.html), even though it is simply a motor attached to a base that is powered by a battery. We designed our system around using [this](https://www.sciencedirect.com/science/article/pii/S2468067216300049?via%3Dihub) open source rotator on ScienceDirect as a starting point. We augmented our device to allow for more control than the original version, by introducing an LCD display and a 3D printed housing unit that accommodate the larger Arduino Uno.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncadfiles\nCAD Files",type:"SPECIAL"},{data:"# CAD Files",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/6/66/T--Washington--RotaryCad.png,CAD Display,boxShadow: 5px 5px 10px gray,margin:auto,width:40%",type:"IMAGE"},{data:"The ScienceDirect version only provided the printing files, and not files we could easily modify. We chose to print out the original version, take measurements, and reverse engineer the CAD into Autodesk Fusion 360 in order to make the modifications we required. Through iterative design, we came up with this housing that allows the LCD display to sit nicely on the top, and for the internals to be hidden from the user. This design also allows the users enough room to make their own modifications as needed. \n\nThe CAD files can be found [here](https://static.igem.org/mediawiki/2018/b/b2/T--Washington--RotatorToolFiles.zip).",type:"MARKDOWN"},{data:"SEP\n",type:"SPECIAL"},{data:"SECTION\ncode\nCode",type:"SPECIAL"},{data:"# Code\n\nIn order to control the spinner, we found [code written by Angelo Fiorillo](https://www.hackster.io/i-and-myself/arduino-kitchen-timer-db8ba6) to display output to the LCD screen and modified it slightly to work with our relay. The modified code can be found below (click to expand). ",type:"MARKDOWN"},{data:'ACCORDION\n===\nCode\n```\n/**************************************************\n * Arduino Rotary UW iGEM 2018\n * \n * Using:\n * Arduino Kitchen Timer v1.0 - 2016/01/27\n * By Angelo Fiorillo (Rome, IT)\n * This work is distributed under the GNU General \n * Public License version 3 or later (GPL3+)\n * Please include this credit note if you want to \n * re-use any part of this sketch. Respect my work \n * as I\'ll do with yours.\n * Feel free to contact me: afiorillo@gmail.com\n * ************************************************/\n \n#include <LiquidCrystal.h>\n#include <TimeLib.h>\nLiquidCrystal lcd(13,12,2,3,4,5);\n\nlong setupHours = 0;    // How many hours will count down when started\nint setupMinutes = 0;  // How many minutes will count down when started\nint setupSeconds = 0;  // How many seconds will count down when started\ntime_t setupTime = 0;\ntime_t currentTime = 0;\ntime_t pauseTime = 0;\ntime_t startTime = 0;\ntime_t pauseRemainTime = 0;\ntime_t elapsedTime = 0;\n\nlong switchButtonLongPressCounter = 0;\nint switchButtonState = LOW;\nint upButtonState = LOW;\nint downButtonState = LOW;\nint switchButtonPrevState = LOW;\nint upButtonPrevState = LOW;\nint downButtonPrevState = LOW;\nbool switchButtonLongPressed = false;\nbool switchButtonPressed = false;\nbool downButtonPressed = false;\nbool upButtonPressed = false;\n\nconst int MODE_SETUP = 0;\nconst int MODE_RUNNING = 1;\nconst int MODE_COUNTING = 2;\nconst int MODE_PAUSED = 3;\nconst int MODE_RINGING = 4;\n\nint lastMode; //for storing last mode state when paused\nint currentMode = MODE_SETUP;\nint dataSelection = 0;  // Currently selected data for edit (setup mode, changes with Start/Stop)\n                        // 0=hours (00-99) 1=minutes (00-59) 2=seconds (00-59)\n\nvoid setup() {\n  lcd.begin(16, 2);\n  pinMode(8, INPUT); //switchButtonPin\n  pinMode(9, INPUT); //upButtonPin\n  pinMode(10, INPUT); //downButtonPin\n  pinMode(11, OUTPUT); //buzzerPin\n  pinMode(1, OUTPUT); //relay\n}\n\nvoid loop() {\n  switchButtonPressed = false;\n  upButtonPressed = false;\n  downButtonPressed = false;\n  \n//-----BUTTON MANAGEMENT------//\n  //switch/reset button\n  switchButtonPressed = false;\n  switchButtonLongPressed = false;\n  switchButtonState = digitalRead(8); //switchButtonPin\n  if(switchButtonState != switchButtonPrevState)\n  {\n    switchButtonPressed = switchButtonState == HIGH;\n    switchButtonPrevState = switchButtonState;\n  } \n  if(switchButtonState == HIGH) //longpress button management\n  {\n    switchButtonLongPressCounter++;\n    if(switchButtonLongPressCounter == 80)\n    {\n      switchButtonPressed = false;\n      switchButtonLongPressed = true;\n      switchButtonLongPressCounter = 0;\n    }\n  }\n  else\n  {\n    switchButtonLongPressCounter = 0;\n    switchButtonPressed = false;\n    switchButtonLongPressed = false;\n  }  \n\n  //up button\n  upButtonPressed = false;\n  upButtonState = digitalRead(9); //upButtonPin\n  if(upButtonState != upButtonPrevState)\n  {\n    upButtonPressed = upButtonState == HIGH;\n    upButtonPrevState = upButtonState;\n  }\n\n  //downbutton\n  downButtonPressed = false;\n  downButtonState = digitalRead(10); //downButtonPin\n  if(downButtonState != downButtonPrevState)\n  {\n    downButtonPressed = downButtonState == HIGH;\n    downButtonPrevState = downButtonState;\n  }\n  \n//-----MODE MANAGEMENT------//\n  switch(currentMode)\n  {\n    case MODE_SETUP:\n      if(switchButtonLongPressed)\n      {\n        fullReset();\n      }\n      if(digitalRead(6)==HIGH)\n      {\n        currentMode = MODE_RUNNING;\n        startTime = now();\n        setupTime = setupSeconds + (60 * setupMinutes) + (3600 * setupHours);\n      } \n      if(digitalRead(7)==HIGH)\n      {\n        currentMode = MODE_COUNTING;\n        startTime = now();\n\n      }  \n      if(downButtonPressed)\n      {\n        switch(dataSelection)\n        {\n          case 0: // hours\n            setupHours--;\n            if(setupHours == -1)\n            {\n              setupHours = 23;\n            }\n            break;\n          case 1: // minutes\n            setupMinutes--;\n            if(setupMinutes == -1)\n            {\n              setupMinutes = 59;\n            }\n            break;\n          case 2: // seconds\n            setupSeconds--;\n            if(setupSeconds == -1)\n            {\n              setupSeconds = 59;\n            }\n            break;\n        }\n      }\n      \n      if(upButtonPressed)\n      {\n        switch(dataSelection)\n        {\n          case 0: // hours\n            setupHours++;\n            if(setupHours == 24)\n            {\n              setupHours = 0;\n            }\n            break;\n          case 1: // minutes\n            setupMinutes++;\n            if(setupMinutes == 60)\n            {\n              setupMinutes = 0;\n            }\n            break;\n          case 2: // seconds\n            setupSeconds++;\n            if(setupSeconds == 60)\n            {\n              setupSeconds = 0;\n            }\n            break;\n        }\n      }\n      \n      if(switchButtonPressed)\n      {\n        dataSelection++;\n        if(dataSelection == 3)\n        {\n          dataSelection = 0;\n        }\n      }\n      break;\n    case MODE_RUNNING:\n      if(switchButtonPressed)\n      {\n        currentMode = MODE_PAUSED;\n        lastMode = MODE_RUNNING;\n      }\n      if(digitalRead(6)==LOW && digitalRead(7)==LOW)\n      {\n        currentMode = MODE_SETUP;\n      }\n      break;\n    case MODE_PAUSED:\n      if(switchButtonPressed)\n      {\n        currentMode = lastMode;\n      }\n      if(digitalRead(6)==LOW && digitalRead(7)==LOW)\n      {\n        currentMode = MODE_SETUP;\n        reset();\n      }\n      break;\n    case MODE_RINGING:\n      if(digitalRead(6)==LOW && digitalRead(7)==LOW)\n      {\n        currentMode = MODE_SETUP;\n      }\n      break;\n    case MODE_COUNTING:\n      if(switchButtonPressed)\n      {\n        currentMode = MODE_PAUSED;\n        lastMode = MODE_COUNTING;\n      }\n      if(digitalRead(6)==LOW && digitalRead(7)==LOW)\n      {\n        currentMode = MODE_SETUP;\n        currentTime = 0;\n      }\n      break;\n  }\n\n//-----TIME MANAGEMENT------//\n  switch(currentMode)\n  {\n    case MODE_SETUP:\n      // NOP\n      break;\n    case MODE_PAUSED:\n      pauseRemainTime = currentTime;\n      pauseTime = now();\n      break;\n    case MODE_RUNNING:\n      if(pauseRemainTime != 0)\n      {\n        currentTime = pauseRemainTime - (now() - pauseTime);\n        if(currentTime <= 0)\n        {\n          currentMode = MODE_RINGING;\n        }\n      }\n      else\n        currentTime = setupTime - (now() - startTime); \n        if(currentTime <= 0)\n        {\n          currentMode = MODE_RINGING;\n        }\n      break;\n    case MODE_RINGING:\n      analogWrite(11, 20); //buzzerPin is 10\n      delay(250);\n      analogWrite(11, 0); //buzzerPin is 10\n      delay(350);\n      pauseRemainTime = 0;\n      break;\n    case MODE_COUNTING:\n      if(pauseRemainTime != 0)\n      {\n        currentTime =  pauseRemainTime + (now() - pauseTime);\n      }\n      else\n      {\n        currentTime = now()- startTime;\n      }      \n  }\n\n//-----LCD MANAGEMENT------//\n  lcd.setCursor(0, 0);\n  switch(currentMode)\n  {\n    case MODE_SETUP:\n      lcd.print("READY    H  M  S");\n      lcd.setCursor(0, 1);  \n      switch(dataSelection)\n      {\n        case 0:\n          lcd.print("HRS");\n          break;\n        case 1:\n          lcd.print("MIN");\n          break;\n        case 2:\n          lcd.print("SEC");\n        break;\n      }    \n      if (setupMinutes <10) lcd.print("0");\n      lcd.print(setupMinutes);\n      lcd.print(":");\n      if (setupSeconds <10) lcd.print("0");\n      lcd.print(setupSeconds);\n      break;\n      \n    case MODE_PAUSED:\n      lcd.print("PAUSED  H  M  S");\n      lcd.setCursor(8, 1);\n      if(hour(currentTime) < 10) lcd.print("0");\n      lcd.print(hour(currentTime));\n      lcd.print(":");\n      if(minute(currentTime) < 10) lcd.print("0");\n      lcd.print(minute(currentTime));\n      lcd.print(":");\n      if(second(currentTime) < 10) lcd.print("0");\n      lcd.print(second(currentTime));\n    case MODE_RUNNING:\n      lcd.print("RUNNING  H  M  S");\n      lcd.setCursor(0, 1);\n      if(minute(currentTime) < 10) lcd.print("0");\n      lcd.print(minute(currentTime));\n      lcd.print(":");\n      if(second(currentTime) < 10) lcd.print("0");\n      lcd.print(second(currentTime));\n      break;\n    case MODE_RINGING:\n      lcd.print("  RING-RING!  ");\n      lcd.setCursor(0, 1);\n      lcd.print("    TIMES UP    ");\n      break;\n    case MODE_COUNTING:\n      lcd.print("COUNTING H  M  S");\n      lcd.setCursor(0,1);\n      lcd.print(minute(currentTime));\n      lcd.print(":");\n      \n      if(second(currentTime) < 10) lcd.print("0");\n      lcd.print(second(currentTime));\n      break;    \n  }\n  delay(10);\n\n  if(currentMode == MODE_RUNNING || currentMode == MODE_COUNTING) digitalWrite(1,HIGH); //relay pin\n  else digitalWrite(1,LOW);\n}\n  \nvoid reset()\n{\n  currentMode = MODE_SETUP;\n  pauseRemainTime = 0;\n  pauseTime = 0;\n}\n\nvoid fullReset()\n{\n  currentMode = MODE_SETUP;\n  setupHours = 0;    \n  setupMinutes = 0;  \n  setupSeconds = 0;  \n  setupTime = 0;\n  currentTime = 0;\n  pauseRemainTime = 0;\n  pauseTime = 0;\n  startTime = 0;\n  elapsedTime = 0;\n}\n\n```',type:"SPECIAL"}],isContent:!0,pageTitle:"/Hardware"},{content:[{data:"HEADER\nTEXT=INTEGRATED HP\nBACKGROUND=https://static.igem.org/mediawiki/2018/5/5e/T--Washington--ihpbanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=8\nSUBTITLEHEIGHT=7\nBLUR=3\nMINPADDINGTOP=120\nMINTITLEHEIGHT=5",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"# Overview\n\nThis year, we aimed to engage stakeholders, examine our project\u2019s economic and societal implications, and communicate our work effectively and transparently. Our lab work was shaped by our conversations with stakeholders and the public. We spoke with doctors about how vitamin D deficiency affects our local community, interviewed the general public about their perception regarding vitamin D and detection systems, investigated the relevance of CBD detection with evolving regulations, and reached out to Amyris and other companies for ideas on valuable molecular targets that need detection. By taking a holistic approach to our work, we can make a practical difference in our communities.  \n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ninterviews\nInterviews",type:"SPECIAL"},{data:"# Interviews with Experts on Vitamin D\n\nFirst, we did some initial literature research on Cholecalciferol, or Vitamin D3. Our summary of this work can be found [here](https://2018.igem.org/Team:Washington/Description).\n\nTo learn more about the significance of Vitamin D insufficiency and deficiency, especially in our local community, we interviewed 3 local doctors about their experiences.\nDr. Dr. Bradley Anawalt is an endocrinologist & chief of medicine at the University of Washington Medical Center.\nDr. Dr. Amy Baernstein is an Internist and Primary Care Physician specializing in Women\u2019s Health at the University of Washington Medical Center.\nDr. Emily Myers is a neurodevelopmental pediatrician at Seattle Children\u2019s Hospital\n\nHere is our interview with Dr. Bradley Anawalt:\n",type:"MARKDOWN"},{data:"VIDEO\nhttps://static.igem.org/mediawiki/2018/6/67/T--Washington--Doc1.mp4",type:"SPECIAL"},{data:"Here is our interview with Dr. Emily Myers:",type:"MARKDOWN"},{data:"VIDEO\nhttps://static.igem.org/mediawiki/2018/2/29/T--Washington--Doc2.mp4",type:"SPECIAL"},{data:"**Dr. Emily Myers wrote the following in response to our questions:**\n\n1. How prevalent are the effects of vitamin D deficiency in your own clinical experience?\n\n    _Nearly 100% of my patients are vitamin D insufficient unless they are on supplementation either with vitamin D or on pediasure or other formula. A smaller proportion are vitamin D deficient, I would say 25%. We commonly see the effects of vitamin D deficiency in our clinic, particularly in our nonambulatory patients, with fractures being all too common from decreased bone mineral density._\n\n2. What are the effects of vitamin D deficiency on childhood development (neurodevelopmental or broader)?\n\n    _Vitamin D is an ubiquitously needed vitamin, it is important for brain development and mood. But also critical for bone health. Severe deficiency coupled with Ricketts can lead to seizures (from hypocalcemia) and brain damage._\n\n3. What are some clinical observations on current vitamin D detection methods (i.e. cost, availability, relevance, risks)? What would you like to see in a vitamin D deficiency detection system?\n\n    _We check annual labs on all of our patients who are non-ambulatory, have restricted diets for a variety of developmental or behavioral reasons, or who are at increased nutritional risk. We check vitamin D yearly, and have standardized assessment and treatment recommendations for children in our clinic. I would like to see more standard guidelines across institutions and through the American Academy of Pediatrics to guide clinical care._\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ndiscussingvd\nDiscussing Vitamin D Deficiency",type:"SPECIAL"},{data:"# Discussing Vitamin D Deficiency with the General Public\n\nTo learn more about public perceptions of vitamin D deficiency, as well as synthetic biology and genetic engineering in general, we conducted interviews at a popular local park. Read more about this project [here](https://2018.igem.org/Team:Washington/Public_Engagement) under _Community Interviews_.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nartemisinin\nConversations about Artemisinin",type:"SPECIAL"},{data:"# Conversations about Artemisinin \n\nFirst, we investigated through literature research the importance of artemisinin in the developing world as it is a leading malaria drug. A summary of this work can be found [here](https://2018.igem.org/Team:Washington/Description) under _Artemisinin_.\n\nOur business team also talked extensively with representatives from Amyris, a company based in the Bay Area that pioneered the production of artemisinin using synthetic biology.  You can read about their insight and how it guided our project\u2019s focus [here](https://2018.igem.org/Team:Washington/Entrepreneurship) under _Potential Customer Interviews_.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncannabidiol\nResearch on Cannabidiol",type:"SPECIAL"},{data:"# Research on Cannabidiol\n\nPrevious work in the Gu lab has developed nanobody CID binders for cannabidiol, or CBD, which are sensitive enough to distinguish between this medicinal component of cannabis and THC, the psychoactive component. This is especially relevant in the United States and Canada, where regulations surrounding CBD and THC are evolving. Thus, the ability to distinguish between them is becoming more important.  A summary of our investigation into CBD can be found [here](https://2018.igem.org/Team:Washington/Description) under _Cannabidiol_.\n\nBecause the CID nanobodies for CBD had already been developed by the Gu lab, our decision to use them in our project and develop parts of this system as biobricks was not influenced by research or interviews we did with stakeholders. However, through discussions with Dr. Gu, we learned that his decision to use CBD as a target for his proof-of-concept CID system was based on CBD\u2019s practical relevance in in our community.  In addition to being able to distinguish between CBD and the structurally-similar THC, a biosensor would also be useful in testing for \u201ccounterfeit\u201d CBD products, which are advertised to contain CBD but actually contain little or none.[1]  Such a biosensor would be of interest to manufacturers and sellers, who are often held legally responsible for the quality of their products, but also to law enforcement in areas where CBD is legal but THC is not.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations\n\nOffice of the Commissioner. (n.d.). Public Health Focus - Warning Letters and Test Results for Cannabidiol-Related Products. Retrieved from https://www.fda.gov/newsevents/publichealthfocus/ucm484109.htm\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"NAVIGATION\nLEFT=https://2018.igem.org/Team:Washington/Human_Practices;LEFTNAME=Human Practices;RIGHT=https://2018.igem.org/Team:Washington/Collaborations;RIGHTNAME=Collaborations",type:"SPECIAL"}],isContent:!0,pageTitle:"/Integrated_Human_Practices"}]},function(e,t,n){"use strict";n(852)},function(e,t,n){"use strict";(function(e){var t=n(95),r=n.n(t);(function(){function e(e){return"string"==typeof e}function t(e){return"boolean"==typeof e}function n(){}function i(e){var t=typeof e;if("object"==t){if(!e)return"null";if(e instanceof Array)return"array";if(e instanceof Object)return t;var n=Object.prototype.toString.call(e);if("[object Window]"==n)return"object";if("[object Array]"==n||"number"==typeof e.length&&"undefined"!=typeof e.splice&&"undefined"!=typeof e.propertyIsEnumerable&&!e.propertyIsEnumerable("splice"))return"array";if("[object Function]"==n||"undefined"!=typeof e.call&&"undefined"!=typeof e.propertyIsEnumerable&&!e.propertyIsEnumerable("call"))return"function"}else if("function"==t&&"undefined"==typeof e.call)return"object";return t}function o(e){return null===e}function a(e){return"array"==i(e)}function s(e){var t=i(e);return"array"==t||"object"==t&&"number"==typeof e.length}function l(e){return"function"==i(e)}function u(e){var t=typeof e;return"object"==t&&null!=e||"function"==t}function c(e,t,n){return e.call.apply(e.bind,arguments)}function d(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function f(e,t,n){return f=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?c:d,f.apply(null,arguments)}function h(e,t){var n=Array.prototype.slice.call(arguments,1);return function(){var t=n.slice();return t.push.apply(t,arguments),e.apply(this,t)}}function p(e,t){function n(){}n.prototype=t.prototype,e.nb=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.dd=function(e,n,r){for(var i=Array(arguments.length-2),o=2;o<arguments.length;o++)i[o-2]=arguments[o];return t.prototype[n].apply(e,i)}}function m(e){e.prototype.then=e.prototype.then,e.prototype.$goog_Thenable=!0}function g(e){if(!e)return!1;try{return!!e.$goog_Thenable}catch(e){return!1}}function v(e){if(Error.captureStackTrace)Error.captureStackTrace(this,v);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e))}function y(e,t){e=e.split("%s");for(var n="",r=e.length-1,i=0;i<r;i++)n+=e[i]+(i<t.length?t[i]:"%s");v.call(this,n+e[r])}function b(e,t){throw new y("Failure"+(e?": "+e:""),Array.prototype.slice.call(arguments,1))}function w(e,t){this.c=e,this.f=t,this.b=0,this.a=null}function E(e,t){e.f(t),100>e.b&&(e.b++,t.next=e.a,e.a=t)}function T(){this.b=this.a=null}function _(){var e=ou,t=null;return e.a&&(t=e.a,e.a=e.a.next,e.a||(e.b=null),t.next=null),t}function k(){this.next=this.b=this.a=null}function x(t,n){var r=t.length,i=e(t)?t.split(""):t;for(--r;0<=r;--r)r in i&&n.call(void 0,i[r],r,t)}function S(t){e:{for(var n=Kr,r=t.length,i=e(t)?t.split(""):t,o=0;o<r;o++)if(o in i&&n.call(void 0,i[o],o,t)){n=o;break e}n=-1}return 0>n?null:e(t)?t.charAt(n):t[n]}function C(e,t){return 0<=zl(e,t)}function O(e,t){t=zl(e,t);var n;return(n=0<=t)&&Array.prototype.splice.call(e,t,1),n}function A(e,t){var n=0;x(e,function(r,i){t.call(void 0,r,i,e)&&1==Array.prototype.splice.call(e,i,1).length&&n++})}function P(e){return Array.prototype.concat.apply([],arguments)}function I(e){var t=e.length;if(0<t){for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}return[]}function R(e,t){for(var n=e.split("%s"),r="",i=Array.prototype.slice.call(arguments,1);i.length&&1<n.length;)r+=n.shift()+i.shift();return r+n.join("%s")}function N(e){return $l.test(e)?(-1!=e.indexOf("&")&&(e=e.replace(Vl,"&amp;")),-1!=e.indexOf("<")&&(e=e.replace(Kl,"&lt;")),-1!=e.indexOf(">")&&(e=e.replace(Yl,"&gt;")),-1!=e.indexOf('"')&&(e=e.replace(Zl,"&quot;")),-1!=e.indexOf("'")&&(e=e.replace(Xl,"&#39;")),-1!=e.indexOf("\0")&&(e=e.replace(Ql,"&#0;")),e):e}function M(e,t){return-1!=e.indexOf(t)}function D(e,t){return e<t?-1:e>t?1:0}function L(e){return M(Fl,e)}function j(e,t){for(var n in e)t.call(void 0,e[n],n,e)}function W(e){for(var t in e)return!1;return!0}function B(e){var t,n={};for(t in e)n[t]=e[t];return n}function F(e,t){for(var n,r,i=1;i<arguments.length;i++){r=arguments[i];for(n in r)e[n]=r[n];for(var o=0;o<ru.length;o++)n=ru[o],Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}}function z(e){Dl.setTimeout(function(){throw e},0)}function U(){var e=Dl.MessageChannel;if("undefined"===typeof e&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!L("Presto")&&(e=function(){var e=document.createElement("IFRAME");e.style.display="none",e.src="",document.documentElement.appendChild(e);var t=e.contentWindow;e=t.document,e.open(),e.write(""),e.close();var n="callImmediate"+Math.random(),r="file:"==t.location.protocol?"*":t.location.protocol+"//"+t.location.host;e=f(function(e){"*"!=r&&e.origin!=r||e.data!=n||this.port1.onmessage()},this),t.addEventListener("message",e,!1),this.port1={},this.port2={postMessage:function(){t.postMessage(n,r)}}}),"undefined"!==typeof e&&!L("Trident")&&!L("MSIE")){var t=new e,n={},r=n;return t.port1.onmessage=function(){if(void 0!==n.next){n=n.next;var e=n.vb;n.vb=null,e()}},function(e){r.next={vb:e},r=r.next,t.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(e){var t=document.createElement("SCRIPT");t.onreadystatechange=function(){t.onreadystatechange=null,t.parentNode.removeChild(t),t=null,e(),e=null},document.documentElement.appendChild(t)}:function(e){Dl.setTimeout(e,0)}}function H(e,t){nu||G(),iu||(nu(),iu=!0),ou.add(e,t)}function G(){if(Dl.Promise&&Dl.Promise.resolve){var e=Dl.Promise.resolve(void 0);nu=function(){e.then(q)}}else nu=function(){var e=q;!l(Dl.setImmediate)||Dl.Window&&Dl.Window.prototype&&!L("Edge")&&Dl.Window.prototype.setImmediate==Dl.setImmediate?(tu||(tu=U()),tu(e)):Dl.setImmediate(e)}}function q(){for(var e;e=_();){try{e.a.call(e.b)}catch(e){z(e)}E(Bl,e)}iu=!1}function V(e,t){if(this.a=au,this.i=void 0,this.f=this.b=this.c=null,this.g=this.h=!1,e!=n)try{var r=this;e.call(t,function(e){re(r,su,e)},function(e){if(!(e instanceof de))try{if(e instanceof Error)throw e;throw Error("Promise rejected.")}catch(e){}re(r,lu,e)})}catch(e){re(this,lu,e)}}function K(){this.next=this.f=this.b=this.g=this.a=null,this.c=!1}function Y(e,t,n){var r=uu.get();return r.g=e,r.b=t,r.f=n,r}function Z(e){if(e instanceof V)return e;var t=new V(n);return re(t,su,e),t}function X(e){return new V(function(t,n){n(e)})}function Q(e,t,n){ie(e,t,n,null)||H(h(t,e))}function $(e){return new V(function(t,n){var r=e.length,i=[];if(r)for(var o,a=function(e,n){r--,i[e]=n,0==r&&t(i)},s=function(e){n(e)},l=0;l<e.length;l++)o=e[l],Q(o,h(a,l),s);else t(i)})}function J(e){return new V(function(t){var n=e.length,r=[];if(n)for(var i,o=function(e,i,o){n--,r[e]=i?{Cb:!0,value:o}:{Cb:!1,reason:o},0==n&&t(r)},a=0;a<e.length;a++)i=e[a],Q(i,h(o,a,!0),h(o,a,!1));else t(r)})}function ee(e,t){if(e.a==au)if(e.c){var n=e.c;if(n.b){for(var r=0,i=null,o=null,a=n.b;a&&(a.c||(r++,a.a==e&&(i=a),!(i&&1<r)));a=a.next)i||(o=a);i&&(n.a==au&&1==r?ee(n,t):(o?(r=o,r.next==n.f&&(n.f=r),r.next=r.next.next):se(n),le(n,i,lu,t)))}e.c=null}else re(e,lu,t)}function te(e,t){e.b||e.a!=su&&e.a!=lu||ae(e),e.f?e.f.next=t:e.b=t,e.f=t}function ne(e,t,n,r){var i=Y(null,null,null);return i.a=new V(function(e,o){i.g=t?function(n){try{var i=t.call(r,n);e(i)}catch(e){o(e)}}:e,i.b=n?function(t){try{var i=n.call(r,t);void 0===i&&t instanceof de?o(t):e(i)}catch(e){o(e)}}:o}),i.a.c=e,te(e,i),i.a}function re(e,t,n){e.a==au&&(e===n&&(t=lu,n=new TypeError("Promise cannot resolve to itself")),e.a=1,ie(n,e.Mc,e.Nc,e)||(e.i=n,e.a=t,e.c=null,ae(e),t!=lu||n instanceof de||ce(e,n)))}function ie(e,t,r,i){if(e instanceof V)return te(e,Y(t||n,r||null,i)),!0;if(g(e))return e.then(t,r,i),!0;if(u(e))try{var o=e.then;if(l(o))return oe(e,o,t,r,i),!0}catch(e){return r.call(i,e),!0}return!1}function oe(e,t,n,r,i){function o(e){s||(s=!0,r.call(i,e))}function a(e){s||(s=!0,n.call(i,e))}var s=!1;try{t.call(e,a,o)}catch(e){o(e)}}function ae(e){e.h||(e.h=!0,H(e.Xb,e))}function se(e){var t=null;return e.b&&(t=e.b,e.b=t.next,t.next=null),e.b||(e.f=null),t}function le(e,t,n,r){if(n==lu&&t.b&&!t.c)for(;e&&e.g;e=e.c)e.g=!1;if(t.a)t.a.c=null,ue(t,n,r);else try{t.c?t.g.call(t.f):ue(t,n,r)}catch(e){cu.call(null,e)}E(uu,t)}function ue(e,t,n){t==su?e.g.call(e.f,n):e.b&&e.b.call(e.f,n)}function ce(e,t){e.g=!0,H(function(){e.g&&cu.call(null,t)})}function de(e){v.call(this,e)}function fe(){0!=du&&(fu[this[Ll]||(this[Ll]=++jl)]=this),this.pa=this.pa,this.ja=this.ja}function he(e){if(!e.pa&&(e.pa=!0,e.ua(),0!=du)){var t=e[Ll]||(e[Ll]=++jl);if(0!=du&&e.ja&&0<e.ja.length)throw Error(e+" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");delete fu[t]}}function pe(e){return pe[" "](e),e}function me(e,t){var n=ku;return Object.prototype.hasOwnProperty.call(n,e)?n[e]:n[e]=t(e)}function ge(){var e=Dl.document;return e?e.documentMode:void 0}function ve(e){return me(e,function(){for(var t=0,n=ql(String(hu)).split("."),r=ql(String(e)).split("."),i=Math.max(n.length,r.length),o=0;0==t&&o<i;o++){var a=n[o]||"",s=r[o]||"";do{if(a=/(\d*)(\D*)(.*)/.exec(a)||["","","",""],s=/(\d*)(\D*)(.*)/.exec(s)||["","","",""],0==a[0].length&&0==s[0].length)break;t=D(0==a[1].length?0:parseInt(a[1],10),0==s[1].length?0:parseInt(s[1],10))||D(0==a[2].length,0==s[2].length)||D(a[2],s[2]),a=a[3],s=s[3]}while(0==t)}return 0<=t})}function ye(e,t){this.type=e,this.b=this.target=t,this.Jb=!0}function be(t,n){if(ye.call(this,t?t.type:""),this.relatedTarget=this.b=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.pointerId=0,this.pointerType="",this.a=null,t){var r=this.type=t.type,i=t.changedTouches?t.changedTouches[0]:null;if(this.target=t.target||t.srcElement,this.b=n,n=t.relatedTarget){if(yu){e:{try{pe(n.nodeName);var o=!0;break e}catch(e){}o=!1}o||(n=null)}}else"mouseover"==r?n=t.fromElement:"mouseout"==r&&(n=t.toElement);this.relatedTarget=n,null===i?(this.clientX=void 0!==t.clientX?t.clientX:t.pageX,this.clientY=void 0!==t.clientY?t.clientY:t.pageY,this.screenX=t.screenX||0,this.screenY=t.screenY||0):(this.clientX=void 0!==i.clientX?i.clientX:i.pageX,this.clientY=void 0!==i.clientY?i.clientY:i.pageY,this.screenX=i.screenX||0,this.screenY=i.screenY||0),this.button=t.button,this.key=t.key||"",this.ctrlKey=t.ctrlKey,this.altKey=t.altKey,this.shiftKey=t.shiftKey,this.metaKey=t.metaKey,this.pointerId=t.pointerId||0,this.pointerType=e(t.pointerType)?t.pointerType:Pu[t.pointerType]||"",this.a=t,t.defaultPrevented&&this.preventDefault()}}function we(e,t,n,r,i){this.listener=e,this.proxy=null,this.src=t,this.type=n,this.capture=!!r,this.La=i,this.key=++Ru,this.na=this.Ia=!1}function Ee(e){e.na=!0,e.listener=null,e.proxy=null,e.src=null,e.La=null}function Te(e){this.src=e,this.a={},this.b=0}function _e(e,t){var n=t.type;n in e.a&&O(e.a[n],t)&&(Ee(t),0==e.a[n].length&&(delete e.a[n],e.b--))}function ke(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i];if(!o.na&&o.listener==t&&o.capture==!!n&&o.La==r)return i}return-1}function xe(e,t,n,r,i){if(r&&r.once)Oe(e,t,n,r,i);else if(a(t))for(var o=0;o<t.length;o++)xe(e,t[o],n,r,i);else n=Le(n),e&&e[Iu]?We(e,t,n,u(r)?!!r.capture:!!r,i):Se(e,t,n,!1,r,i)}function Se(e,t,n,r,i,o){if(!t)throw Error("Invalid event type");var a=u(i)?!!i.capture:!!i,s=De(e);if(s||(e[Nu]=s=new Te(e)),n=s.add(t,n,r,a,o),!n.proxy){if(r=Ce(),n.proxy=r,r.src=e,r.listener=n,e.addEventListener)Au||(i=a),void 0===i&&(i=!1),e.addEventListener(t.toString(),r,i);else if(e.attachEvent)e.attachEvent(Ie(t.toString()),r);else{if(!e.addListener||!e.removeListener)throw Error("addEventListener and attachEvent are unavailable.");e.addListener(r)}Du++}}function Ce(){var e=Me,t=Cu?function(n){return e.call(t.src,t.listener,n)}:function(n){if(!(n=e.call(t.src,t.listener,n)))return n};return t}function Oe(e,t,n,r,i){if(a(t))for(var o=0;o<t.length;o++)Oe(e,t[o],n,r,i);else n=Le(n),e&&e[Iu]?Be(e,t,n,u(r)?!!r.capture:!!r,i):Se(e,t,n,!0,r,i)}function Ae(e,t,n,r,i){if(a(t))for(var o=0;o<t.length;o++)Ae(e,t[o],n,r,i);else r=u(r)?!!r.capture:!!r,n=Le(n),e&&e[Iu]?(e=e.l,(t=String(t).toString())in e.a&&(o=e.a[t],-1<(n=ke(o,n,r,i))&&(Ee(o[n]),Array.prototype.splice.call(o,n,1),0==o.length&&(delete e.a[t],e.b--)))):e&&(e=De(e))&&(t=e.a[t.toString()],e=-1,t&&(e=ke(t,n,r,i)),(n=-1<e?t[e]:null)&&Pe(n))}function Pe(e){if("number"!=typeof e&&e&&!e.na){var t=e.src;if(t&&t[Iu])_e(t.l,e);else{var n=e.type,r=e.proxy;t.removeEventListener?t.removeEventListener(n,r,e.capture):t.detachEvent?t.detachEvent(Ie(n),r):t.addListener&&t.removeListener&&t.removeListener(r),Du--,(n=De(t))?(_e(n,e),0==n.b&&(n.src=null,t[Nu]=null)):Ee(e)}}}function Ie(e){return e in Mu?Mu[e]:Mu[e]="on"+e}function Re(e,t,n,r){var i=!0;if((e=De(e))&&(t=e.a[t.toString()]))for(t=t.concat(),e=0;e<t.length;e++){var o=t[e];o&&o.capture==n&&!o.na&&(o=Ne(o,r),i=i&&!1!==o)}return i}function Ne(e,t){var n=e.listener,r=e.La||e.src;return e.Ia&&Pe(e),n.call(r,t)}function Me(e,t){if(e.na)return!0;if(!Cu){if(!t)e:{t=["window","event"];for(var n=Dl,r=0;r<t.length;r++)if(null==(n=n[t[r]])){t=null;break e}t=n}if(r=t,t=new be(r,this),n=!0,!(0>r.keyCode||void 0!=r.returnValue)){e:{var i=!1;if(0==r.keyCode)try{r.keyCode=-1;break e}catch(e){i=!0}(i||void 0==r.returnValue)&&(r.returnValue=!0)}for(r=[],i=t.b;i;i=i.parentNode)r.push(i);for(e=e.type,i=r.length-1;0<=i;i--){t.b=r[i];var o=Re(r[i],e,!0,t);n=n&&o}for(i=0;i<r.length;i++)t.b=r[i],o=Re(r[i],e,!1,t),n=n&&o}return n}return Ne(e,new be(t,this))}function De(e){return e=e[Nu],e instanceof Te?e:null}function Le(e){return l(e)?e:(e[Lu]||(e[Lu]=function(t){return e.handleEvent(t)}),e[Lu])}function je(){fe.call(this),this.l=new Te(this),this.Qb=this,this.Ua=null}function We(e,t,n,r,i){e.l.add(String(t),n,!1,r,i)}function Be(e,t,n,r,i){e.l.add(String(t),n,!0,r,i)}function Fe(e,t,n,r){if(!(t=e.l.a[String(t)]))return!0;t=t.concat();for(var i=!0,o=0;o<t.length;++o){var a=t[o];if(a&&!a.na&&a.capture==n){var s=a.listener,l=a.La||a.src;a.Ia&&_e(e.l,a),i=!1!==s.call(l,r)&&i}}return i&&0!=r.Jb}function ze(e,t,n){if(l(e))n&&(e=f(e,n));else{if(!e||"function"!=typeof e.handleEvent)throw Error("Invalid listener argument");e=f(e.handleEvent,e)}return 2147483647<Number(t)?-1:Dl.setTimeout(e,t||0)}function Ue(e){var t=null;return new V(function(n,r){-1==(t=ze(function(){n(void 0)},e))&&r(Error("Failed to schedule timer."))}).s(function(e){throw Dl.clearTimeout(t),e})}function He(t){if(t.S&&"function"==typeof t.S)return t.S();if(e(t))return t.split("");if(s(t)){for(var n=[],r=t.length,i=0;i<r;i++)n.push(t[i]);return n}n=[],r=0;for(i in t)n[r++]=t[i];return n}function Ge(t){if(t.U&&"function"==typeof t.U)return t.U();if(!t.S||"function"!=typeof t.S){if(s(t)||e(t)){var n=[];t=t.length;for(var r=0;r<t;r++)n.push(r);return n}n=[],r=0;for(var i in t)n[r++]=i;return n}}function qe(t,n){if(t.forEach&&"function"==typeof t.forEach)t.forEach(n,void 0);else if(s(t)||e(t))Ul(t,n,void 0);else for(var r=Ge(t),i=He(t),o=i.length,a=0;a<o;a++)n.call(void 0,i[a],r&&r[a],t)}function Ve(e,t){this.b={},this.a=[],this.c=0;var n=arguments.length;if(1<n){if(n%2)throw Error("Uneven number of arguments");for(var r=0;r<n;r+=2)this.set(arguments[r],arguments[r+1])}else if(e)if(e instanceof Ve)for(n=e.U(),r=0;r<n.length;r++)this.set(n[r],e.get(n[r]));else for(r in e)this.set(r,e[r])}function Ke(e){if(e.c!=e.a.length){for(var t=0,n=0;t<e.a.length;){var r=e.a[t];Ye(e.b,r)&&(e.a[n++]=r),t++}e.a.length=n}if(e.c!=e.a.length){var i={};for(n=t=0;t<e.a.length;)r=e.a[t],Ye(i,r)||(e.a[n++]=r,i[r]=1),t++;e.a.length=n}}function Ye(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ze(e,t){if(e){e=e.split("&");for(var n=0;n<e.length;n++){var r=e[n].indexOf("="),i=null;if(0<=r){var o=e[n].substring(0,r);i=e[n].substring(r+1)}else o=e[n];t(o,i?decodeURIComponent(i.replace(/\+/g," ")):"")}}}function Xe(e,t){if(this.b=this.l=this.c="",this.i=null,this.h=this.g="",this.f=!1,e instanceof Xe){this.f=void 0!==t?t:e.f,Qe(this,e.c),this.l=e.l,this.b=e.b,$e(this,e.i),this.g=e.g,t=e.a;var n=new st;n.c=t.c,t.a&&(n.a=new Ve(t.a),n.b=t.b),Je(this,n),this.h=e.h}else e&&(n=String(e).match(ju))?(this.f=!!t,Qe(this,n[1]||"",!0),this.l=it(n[2]||""),this.b=it(n[3]||"",!0),$e(this,n[4]),this.g=it(n[5]||"",!0),Je(this,n[6]||"",!0),this.h=it(n[7]||"")):(this.f=!!t,this.a=new st(null,this.f))}function Qe(e,t,n){e.c=n?it(t,!0):t,e.c&&(e.c=e.c.replace(/:$/,""))}function $e(e,t){if(t){if(t=Number(t),isNaN(t)||0>t)throw Error("Bad port number "+t);e.i=t}else e.i=null}function Je(e,t,n){t instanceof st?(e.a=t,pt(e.a,e.f)):(n||(t=ot(t,zu)),e.a=new st(t,e.f))}function et(e,t,n){e.a.set(t,n)}function tt(e,t){return e.a.get(t)}function nt(e){return e instanceof Xe?new Xe(e):new Xe(e,void 0)}function rt(e,t){var n=new Xe(null,void 0);return Qe(n,"https"),e&&(n.b=e),t&&(n.g=t),n}function it(e,t){return e?t?decodeURI(e.replace(/%25/g,"%2525")):decodeURIComponent(e):""}function ot(t,n,r){return e(t)?(t=encodeURI(t).replace(n,at),r&&(t=t.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),t):null}function at(e){return e=e.charCodeAt(0),"%"+(e>>4&15).toString(16)+(15&e).toString(16)}function st(e,t){this.b=this.a=null,this.c=e||null,this.f=!!t}function lt(e){e.a||(e.a=new Ve,e.b=0,e.c&&Ze(e.c,function(t,n){e.add(decodeURIComponent(t.replace(/\+/g," ")),n)}))}function ut(e){var t=Ge(e);if("undefined"==typeof t)throw Error("Keys are undefined");var n=new st(null,void 0);e=He(e);for(var r=0;r<t.length;r++){var i=t[r],o=e[r];a(o)?ft(n,i,o):n.add(i,o)}return n}function ct(e,t){lt(e),t=ht(e,t),Ye(e.a.b,t)&&(e.c=null,e.b-=e.a.get(t).length,e=e.a,Ye(e.b,t)&&(delete e.b[t],e.c--,e.a.length>2*e.c&&Ke(e)))}function dt(e,t){return lt(e),t=ht(e,t),Ye(e.a.b,t)}function ft(e,t,n){ct(e,t),0<n.length&&(e.c=null,e.a.set(ht(e,t),I(n)),e.b+=n.length)}function ht(e,t){return t=String(t),e.f&&(t=t.toLowerCase()),t}function pt(e,t){t&&!e.f&&(lt(e),e.c=null,e.a.forEach(function(e,t){var n=t.toLowerCase();t!=n&&(ct(this,t),ft(this,n,e))},e)),e.f=t}function mt(){this.a="",this.b=Gu}function gt(e){return e instanceof mt&&e.constructor===mt&&e.b===Gu?e.a:(b("expected object of type Const, got '"+e+"'"),"type_error:Const")}function vt(e){var t=new mt;return t.a=e,t}function yt(){this.a="",this.b=Ku}function bt(e){return e instanceof yt&&e.constructor===yt&&e.b===Ku?e.a:(b("expected object of type TrustedResourceUrl, got '"+e+"' of type "+i(e)),"type_error:TrustedResourceUrl")}function wt(e,t){var n=gt(e);if(!Vu.test(n))throw Error("Invalid TrustedResourceUrl format: "+n);return e=n.replace(qu,function(e,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw Error('Found marker, "'+r+'", in format string, "'+n+'", but no valid label mapping found in args: '+JSON.stringify(t));return e=t[r],e instanceof mt?gt(e):encodeURIComponent(String(e))}),Et(e)}function Et(e){var t=new yt;return t.a=e,t}function Tt(){this.a="",this.b=Zu}function _t(e){return e instanceof Tt&&e.constructor===Tt&&e.b===Zu?e.a:(b("expected object of type SafeUrl, got '"+e+"' of type "+i(e)),"type_error:SafeUrl")}function kt(e){return e instanceof Tt?e:(e=e.ma?e.la():String(e),Yu.test(e)||(e="about:invalid#zClosurez"),xt(e))}function xt(e){var t=new Tt;return t.a=e,t}function St(){this.a="",this.b=Xu}function Ct(e){return e instanceof St&&e.constructor===St&&e.b===Xu?e.a:(b("expected object of type SafeHtml, got '"+e+"' of type "+i(e)),"type_error:SafeHtml")}function Ot(e){var t=new St;return t.a=e,t}function At(t){var n=document;return e(t)?n.getElementById(t):t}function Pt(e,t){j(t,function(t,n){t&&t.ma&&(t=t.la()),"style"==n?e.style.cssText=t:"class"==n?e.className=t:"for"==n?e.htmlFor=t:Qu.hasOwnProperty(n)?e.setAttribute(Qu[n],t):0==n.lastIndexOf("aria-",0)||0==n.lastIndexOf("data-",0)?e.setAttribute(n,t):e[n]=t})}function It(t,n,r){var i=arguments,o=document,s=String(i[0]),l=i[1];if(!Hu&&l&&(l.name||l.type)){if(s=["<",s],l.name&&s.push(' name="',N(l.name),'"'),l.type){s.push(' type="',N(l.type),'"');var u={};F(u,l),delete u.type,l=u}s.push(">"),s=s.join("")}return s=o.createElement(s),l&&(e(l)?s.className=l:a(l)?s.className=l.join(" "):Pt(s,l)),2<i.length&&Rt(o,s,i),s}function Rt(t,n,r){function i(r){r&&n.appendChild(e(r)?t.createTextNode(r):r)}for(var o=2;o<r.length;o++){var a=r[o];!s(a)||u(a)&&0<a.nodeType?i(a):Ul(Nt(a)?I(a):a,i)}}function Nt(e){if(e&&"number"==typeof e.length){if(u(e))return"function"==typeof e.item||"string"==typeof e.item;if(l(e))return"function"==typeof e.item}return!1}function Mt(e){var t=[];return Lt(new Dt,e,t),t.join("")}function Dt(){}function Lt(e,t,n){if(null==t)n.push("null");else{if("object"==typeof t){if(a(t)){var r=t;t=r.length,n.push("[");for(var i="",o=0;o<t;o++)n.push(i),Lt(e,r[o],n),i=",";return void n.push("]")}if(!(t instanceof String||t instanceof Number||t instanceof Boolean)){n.push("{"),i="";for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&"function"!=typeof(o=t[r])&&(n.push(i),jt(r,n),n.push(":"),Lt(e,o,n),i=",");return void n.push("}")}t=t.valueOf()}switch(typeof t){case"string":jt(t,n);break;case"number":n.push(isFinite(t)&&!isNaN(t)?String(t):"null");break;case"boolean":n.push(String(t));break;case"function":n.push("null");break;default:throw Error("Unknown type: "+typeof t)}}}function jt(e,t){t.push('"',e.replace(Ju,function(e){var t=$u[e];return t||(t="\\u"+(65536|e.charCodeAt(0)).toString(16).substr(1),$u[e]=t),t}),'"')}function Wt(){var e=rn();return mu&&!!_u&&11==_u||/Edge\/\d+/.test(e)}function Bt(){return Dl.window&&Dl.window.location.href||self&&self.location&&self.location.href||""}function Ft(e,t){t=t||Dl.window;var n="about:blank";e&&(n=_t(kt(e))),t.location.href=n}function zt(e,t){var n,r=[];for(n in e)n in t?typeof e[n]!=typeof t[n]?r.push(n):"object"==typeof e[n]&&null!=e[n]&&null!=t[n]?0<zt(e[n],t[n]).length&&r.push(n):e[n]!==t[n]&&r.push(n):r.push(n);for(n in t)n in e||r.push(n);return r}function Ut(){var e=rn();return!((e=tn(e)!=nc?null:(e=e.match(/\sChrome\/(\d+)/i))&&2==e.length?parseInt(e[1],10):null)&&30>e)&&(!mu||!_u||9<_u)}function Ht(e){return e=(e||rn()).toLowerCase(),!!(e.match(/android/)||e.match(/webos/)||e.match(/iphone|ipad|ipod/)||e.match(/blackberry/)||e.match(/windows phone/)||e.match(/iemobile/))}function Gt(e){e=e||Dl.window;try{e.close()}catch(e){}}function qt(e,t,n){var r=Math.floor(1e9*Math.random()).toString();t=t||500,n=n||600;var i=(window.screen.availHeight-n)/2,o=(window.screen.availWidth-t)/2;t={width:t,height:n,top:0<i?i:0,left:0<o?o:0,location:!0,resizable:!0,statusbar:!0,toolbar:!1},n=rn().toLowerCase(),r&&(t.target=r,M(n,"crios/")&&(t.target="_blank")),tn(rn())==tc&&(e=e||"http://localhost",t.scrollbars=!0),n=e||"",(e=t)||(e={}),r=window,t=n instanceof Tt?n:kt("undefined"!=typeof n.href?n.href:String(n)),n=e.target||n.target,i=[];for(a in e)switch(a){case"width":case"height":case"top":case"left":i.push(a+"="+e[a]);break;case"target":case"noopener":case"noreferrer":break;default:i.push(a+"="+(e[a]?1:0))}var a=i.join(",");if((L("iPhone")&&!L("iPod")&&!L("iPad")||L("iPad")||L("iPod"))&&r.navigator&&r.navigator.standalone&&n&&"_self"!=n?(a=r.document.createElement("A"),t instanceof Tt||t instanceof Tt||(t=t.ma?t.la():String(t),Yu.test(t)||(t="about:invalid#zClosurez"),t=xt(t)),a.href=_t(t),a.setAttribute("target",n),e.noreferrer&&a.setAttribute("rel","noreferrer"),e=document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,r,1),a.dispatchEvent(e),a={}):e.noreferrer?(a=r.open("",n,a),e=_t(t),a&&(vu&&M(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),a.opener=null,vt("b/12014412, meta tag with sanitized URL"),e='<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+N(e)+'">',e=Ot(e),a.document.write(Ct(e)),a.document.close())):(a=r.open(_t(t),n,a))&&e.noopener&&(a.opener=null),a)try{a.focus()}catch(e){}return a}function Vt(e){return new V(function(t){function n(){Ue(2e3).then(function(){if(e&&!e.closed)return n();t()})}return n()})}function Kt(){var e=null;return new V(function(t){"complete"==Dl.document.readyState?t():(e=function(){t()},Oe(window,"load",e))}).s(function(t){throw Ae(window,"load",e),t})}function Yt(){return Zt(void 0)?Kt().then(function(){return new V(function(e,t){var n=Dl.document,r=setTimeout(function(){t(Error("Cordova framework is not ready."))},1e3);n.addEventListener("deviceready",function(){clearTimeout(r),e()},!1)})}):X(Error("Cordova must run in an Android or iOS file scheme."))}function Zt(e){return e=e||rn(),!("file:"!==un()||!e.toLowerCase().match(/iphone|ipad|ipod|android/))}function Xt(){var e=Dl.window;try{return!(!e||e==e.top)}catch(e){return!1}}function Qt(){return"object"!==typeof Dl.window&&"function"===typeof Dl.importScripts}function $t(){return r.a.INTERNAL.hasOwnProperty("reactNative")?"ReactNative":r.a.INTERNAL.hasOwnProperty("node")?"Node":Qt()?"Worker":"Browser"}function Jt(){var e=$t();return"ReactNative"===e||"Node"===e}function en(){for(var e=50,t=[];0<e;)t.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),e--;return t.join("")}function tn(e){var t=e.toLowerCase();return M(t,"opera/")||M(t,"opr/")||M(t,"opios/")?"Opera":M(t,"iemobile")?"IEMobile":M(t,"msie")||M(t,"trident/")?"IE":M(t,"edge/")?"Edge":M(t,"firefox/")?tc:M(t,"silk/")?"Silk":M(t,"blackberry")?"Blackberry":M(t,"webos")?"Webos":!M(t,"safari/")||M(t,"chrome/")||M(t,"crios/")||M(t,"android")?!M(t,"chrome/")&&!M(t,"crios/")||M(t,"edge/")?M(t,"android")?"Android":(e=e.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/))&&2==e.length?e[1]:"Other":nc:"Safari"}function nn(e,t){t=t||[];var n,r=[],i={};for(n in rc)i[rc[n]]=!0;for(n=0;n<t.length;n++)"undefined"!==typeof i[t[n]]&&(delete i[t[n]],r.push(t[n]));return r.sort(),t=r,t.length||(t=["FirebaseCore-web"]),r=$t(),"Browser"===r?(i=rn(),r=tn(i)):"Worker"===r&&(i=rn(),r=tn(i)+"-"+r),r+"/JsCore/"+e+"/"+t.join(",")}function rn(){return Dl.navigator&&Dl.navigator.userAgent||""}function on(e,t){e=e.split("."),t=t||Dl;for(var n=0;n<e.length&&"object"==typeof t&&null!=t;n++)t=t[e[n]];return n!=e.length&&(t=void 0),t}function an(){try{var e=Dl.localStorage,t=pn();if(e)return e.setItem(t,"1"),e.removeItem(t),!Wt()||!!Dl.indexedDB}catch(e){return Qt()&&!!Dl.indexedDB}return!1}function sn(){return(ln()||"chrome-extension:"===un()||Zt())&&!Jt()&&an()&&!Qt()}function ln(){return"http:"===un()||"https:"===un()}function un(){return Dl.location&&Dl.location.protocol||null}function cn(e){return e=e||rn(),!Ht(e)&&tn(e)!=tc}function dn(e){return"undefined"===typeof e?null:Mt(e)}function fn(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&null!==e[t]&&void 0!==e[t]&&(n[t]=e[t]);return n}function hn(e){if(null!==e)return JSON.parse(e)}function pn(e){return e||Math.floor(1e9*Math.random()).toString()}function mn(e){return e=e||rn(),"Safari"!=tn(e)&&!e.toLowerCase().match(/iphone|ipad|ipod/)}function gn(){var e=Dl.___jsl;if(e&&e.H)for(var t in e.H)if(e.H[t].r=e.H[t].r||[],e.H[t].L=e.H[t].L||[],e.H[t].r=e.H[t].L.concat(),e.CP)for(var n=0;n<e.CP.length;n++)e.CP[n]=null}function vn(e,t){if(e>t)throw Error("Short delay should be less than long delay!");this.a=e,this.c=t,e=rn(),t=$t(),this.b=Ht(e)||"ReactNative"===t}function yn(){var e=Dl.document;return!e||"undefined"===typeof e.visibilityState||"visible"==e.visibilityState}function bn(){var e=Dl.document,t=null;return yn()||!e?Z():new V(function(n){t=function(){yn()&&(e.removeEventListener("visibilitychange",t,!1),n())},e.addEventListener("visibilitychange",t,!1)}).s(function(n){throw e.removeEventListener("visibilitychange",t,!1),n})}function wn(e){try{var t=new Date(parseInt(e,10));if(!isNaN(t.getTime())&&!/[^0-9]/.test(e))return t.toUTCString()}catch(e){}return null}function En(){return!(!on("fireauth.oauthhelper",Dl)&&!on("fireauth.iframe",Dl))}function Tn(){var e=Dl.navigator;return e&&e.serviceWorker&&e.serviceWorker.controller||null}function _n(){var e=Dl.navigator;return e&&e.serviceWorker?Z().then(function(){return e.serviceWorker.ready}).then(function(e){return e.active||null}).s(function(){return null}):Z(null)}function kn(e){oc[e]||(oc[e]=!0,"undefined"!==typeof console&&"function"===typeof console.warn&&console.warn(e))}function xn(e,t,n){ic?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:n}):e[t]=n}function Sn(e,t){if(t)for(var n in t)t.hasOwnProperty(n)&&xn(e,n,t[n])}function Cn(e){var t={};return Sn(t,e),t}function On(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function An(e,t){if(!t||!t.length)return!0;if(!e)return!1;for(var n=0;n<t.length;n++){var r=e[t[n]];if(void 0===r||null===r||""===r)return!1}return!0}function Pn(e){var t=e;if("object"==typeof e&&null!=e){t="length"in e?[]:{};for(var n in e)xn(t,n,Pn(e[n]))}return t}function In(e){var t={},n=e[lc],r=e[uc];if(!(e=e[cc])||e!=sc&&!n)throw Error("Invalid provider user info!");t[fc]=r||null,t[dc]=n||null,xn(this,pc,e),xn(this,hc,Pn(t))}function Rn(e,t){this.code=mc+e,this.message=t||gc[e]||""}function Nn(e){var t=e&&e.code;return t?new Rn(t.substring(mc.length),e.message):null}function Mn(e){var t=e[wc];if("undefined"===typeof t)throw new Rn("missing-continue-uri");if("string"!==typeof t||"string"===typeof t&&!t.length)throw new Rn("invalid-continue-uri");this.h=t,this.b=this.a=null,this.g=!1;var n=e[vc];if(n&&"object"===typeof n){t=n[_c];var r=n[Ec];if(n=n[Tc],"string"===typeof t&&t.length){if(this.a=t,"undefined"!==typeof r&&"boolean"!==typeof r)throw new Rn("argument-error",Ec+" property must be a boolean when specified.");if(this.g=!!r,"undefined"!==typeof n&&("string"!==typeof n||"string"===typeof n&&!n.length))throw new Rn("argument-error",Tc+" property must be a non empty string when specified.");this.b=n||null}else{if("undefined"!==typeof t)throw new Rn("argument-error",_c+" property must be a non empty string when specified.");if("undefined"!==typeof r||"undefined"!==typeof n)throw new Rn("missing-android-pkg-name")}}else if("undefined"!==typeof n)throw new Rn("argument-error",vc+" property must be a non null object when specified.");if(this.f=null,(t=e[bc])&&"object"===typeof t){if("string"===typeof(t=t[kc])&&t.length)this.f=t;else if("undefined"!==typeof t)throw new Rn("argument-error",kc+" property must be a non empty string when specified.")}else if("undefined"!==typeof t)throw new Rn("argument-error",bc+" property must be a non null object when specified.");if("undefined"!==typeof(e=e[yc])&&"boolean"!==typeof e)throw new Rn("argument-error",yc+" property must be a boolean when specified.");this.c=!!e}function Dn(e){var t={};t.continueUrl=e.h,t.canHandleCodeInApp=e.c,(t.androidPackageName=e.a)&&(t.androidMinimumVersion=e.b,t.androidInstallApp=e.g),t.iOSBundleId=e.f;for(var n in t)null===t[n]&&delete t[n];return t}function Ln(e){return Hl(e,function(e){return e=e.toString(16),1<e.length?e:"0"+e}).join("")}function jn(e){var t="";return Wn(e,function(e){t+=String.fromCharCode(e)}),t}function Wn(e,t){function n(t){for(;r<e.length;){var n=e.charAt(r++),i=Sc[n];if(null!=i)return i;if(!/^[\s\xa0]*$/.test(n))throw Error("Unknown base64 encoding at char: "+n)}return t}Bn();for(var r=0;;){var i=n(-1),o=n(0),a=n(64),s=n(64);if(64===s&&-1===i)break;t(i<<2|o>>4),64!=a&&(t(o<<4&240|a>>2),64!=s&&t(a<<6&192|s))}}function Bn(){if(!xc){xc={},Sc={};for(var e=0;65>e;e++)xc[e]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(e),Sc[xc[e]]=e,62<=e&&(Sc["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(e)]=e)}}function Fn(e){this.c=e.sub,Wl(),this.a=e.provider_id||e.firebase&&e.firebase.sign_in_provider||null,this.b=!!e.is_anonymous||"anonymous"==this.a}function zn(e){return(e=Un(e))&&e.sub&&e.iss&&e.aud&&e.exp?new Fn(e):null}function Un(e){if(!e)return null;if(e=e.split("."),3!=e.length)return null;e=e[1];for(var t=(4-e.length%4)%4,n=0;n<t;n++)e+=".";try{return JSON.parse(jn(e))}catch(e){}return null}function Hn(e){for(var t in Ac)if(Ac[t].Na==e)return Ac[t];return null}function Gn(e){var t={};t["facebook.com"]=Kn,t["google.com"]=Zn,t["github.com"]=Yn,t["twitter.com"]=Xn;var n=e&&e[Ic];try{if(n)return t[n]?new t[n](e):new Vn(e);if("undefined"!==typeof e[Pc])return new qn(e)}catch(e){}return null}function qn(e){var t=e[Ic];if(!t&&e[Pc]){var n=zn(e[Pc]);n&&n.a&&(t=n.a)}if(!t)throw Error("Invalid additional user info!");"anonymous"!=t&&"custom"!=t||(t=null),n=!1,"undefined"!==typeof e.isNewUser?n=!!e.isNewUser:"identitytoolkit#SignupNewUserResponse"===e.kind&&(n=!0),xn(this,"providerId",t),xn(this,"isNewUser",n)}function Vn(e){qn.call(this,e),e=hn(e.rawUserInfo||"{}"),xn(this,"profile",Pn(e||{}))}function Kn(e){if(Vn.call(this,e),"facebook.com"!=this.providerId)throw Error("Invalid provider ID!")}function Yn(e){if(Vn.call(this,e),"github.com"!=this.providerId)throw Error("Invalid provider ID!");xn(this,"username",this.profile&&this.profile.login||null)}function Zn(e){if(Vn.call(this,e),"google.com"!=this.providerId)throw Error("Invalid provider ID!")}function Xn(e){if(Vn.call(this,e),"twitter.com"!=this.providerId)throw Error("Invalid provider ID!");xn(this,"username",e.screenName||null)}function Qn(e){this.a=nt(e)}function $n(e){var t=nt(e),n=tt(t,"link"),r=tt(nt(n),"link");return t=tt(t,"deep_link_id"),tt(nt(t),"link")||t||r||n||e}function Jn(e,t){return e.then(function(e){if(e[Xc]){var n=zn(e[Xc]);if(!n||t!=n.c)throw new Rn("user-mismatch");return e}throw new Rn("user-mismatch")}).s(function(e){throw e&&e.code&&e.code==mc+"user-not-found"?new Rn("user-mismatch"):e})}function er(e,t,n){if(t.idToken||t.accessToken)t.idToken&&xn(this,"idToken",t.idToken),t.accessToken&&xn(this,"accessToken",t.accessToken);else{if(!t.oauthToken||!t.oauthTokenSecret)throw new Rn("internal-error","failed to construct a credential");xn(this,"accessToken",t.oauthToken),xn(this,"secret",t.oauthTokenSecret)}xn(this,"providerId",e),xn(this,"signInMethod",n)}function tr(e){var t={};return e.idToken&&(t.id_token=e.idToken),e.accessToken&&(t.access_token=e.accessToken),e.secret&&(t.oauth_token_secret=e.secret),t.providerId=e.providerId,{postBody:ut(t).toString(),requestUri:"http://localhost"}}function nr(e,t){this.Cc=t||[],Sn(this,{providerId:e,isOAuthProvider:!0}),this.xb={},this.bb=(Hn(e)||{}).Ma||null,this.Za=null}function rr(e){nr.call(this,e,Oc),this.a=[]}function ir(){rr.call(this,"facebook.com")}function or(e){if(!e)throw new Rn("argument-error","credential failed: expected 1 argument (the OAuth access token).");var t=e;return u(e)&&(t=e.accessToken),(new ir).credential(null,t)}function ar(){rr.call(this,"github.com")}function sr(e){if(!e)throw new Rn("argument-error","credential failed: expected 1 argument (the OAuth access token).");var t=e;return u(e)&&(t=e.accessToken),(new ar).credential(null,t)}function lr(){rr.call(this,"google.com"),this.ta("profile")}function ur(e,t){var n=e;return u(e)&&(n=e.idToken,t=e.accessToken),(new lr).credential(n,t)}function cr(){nr.call(this,"twitter.com",Cc)}function dr(e,t){var n=e;if(u(n)||(n={oauthToken:e,oauthTokenSecret:t}),!n.oauthToken||!n.oauthTokenSecret)throw new Rn("argument-error","credential failed: expected 2 arguments (the OAuth access token and secret).");return new er("twitter.com",n,"twitter.com")}function fr(e,t,n){this.a=e,this.b=t,xn(this,"providerId","password"),xn(this,"signInMethod",n===hr.EMAIL_LINK_SIGN_IN_METHOD?hr.EMAIL_LINK_SIGN_IN_METHOD:hr.EMAIL_PASSWORD_SIGN_IN_METHOD)}function hr(){Sn(this,{providerId:"password",isOAuthProvider:!1})}function pr(e,t){if(!(t=mr(t)))throw new Rn("argument-error","Invalid email link!");return new fr(e,t,hr.EMAIL_LINK_SIGN_IN_METHOD)}function mr(e){e=$n(e),e=new Qn(e);var t=tt(e.a,"oobCode")||null;return"signIn"===(tt(e.a,"mode")||null)&&t?t:null}function gr(e){if(!(e.Sa&&e.Ra||e.Fa&&e.$))throw new Rn("internal-error");this.a=e,xn(this,"providerId","phone"),xn(this,"signInMethod","phone")}function vr(e){return e.a.Fa&&e.a.$?{temporaryProof:e.a.Fa,phoneNumber:e.a.$}:{sessionInfo:e.a.Sa,code:e.a.Ra}}function yr(e){try{this.a=e||r.a.auth()}catch(e){throw new Rn("argument-error","Either an instance of firebase.auth.Auth must be passed as an argument to the firebase.auth.PhoneAuthProvider constructor, or the default firebase App instance must be initialized via firebase.initializeApp().")}Sn(this,{providerId:"phone",isOAuthProvider:!1})}function br(e,t){if(!e)throw new Rn("missing-verification-id");if(!t)throw new Rn("missing-verification-code");return new gr({Sa:e,Ra:t})}function wr(e){if(e.temporaryProof&&e.phoneNumber)return new gr({Fa:e.temporaryProof,$:e.phoneNumber});var t=e&&e.providerId;if(!t||"password"===t)return null;var n=e&&e.oauthAccessToken,r=e&&e.oauthTokenSecret;e=e&&e.oauthIdToken;try{switch(t){case"google.com":return ur(e,n);case"facebook.com":return or(n);case"github.com":return sr(n);case"twitter.com":return dr(n,r);default:return new rr(t).credential(e,n)}}catch(e){return null}}function Er(e){if(!e.isOAuthProvider)throw new Rn("invalid-oauth-provider")}function Tr(e,t,n,r,i){if(this.b=e,this.c=t||null,this.f=n||null,this.g=r||null,this.a=i||null,!this.f&&!this.a)throw new Rn("invalid-auth-event");if(this.f&&this.a)throw new Rn("invalid-auth-event");if(this.f&&!this.g)throw new Rn("invalid-auth-event")}function _r(e){return e=e||{},e.type?new Tr(e.type,e.eventId,e.urlResponse,e.sessionId,e.error&&Nn(e.error)):null}function kr(){this.b=null,this.a=[]}function xr(e){var t="unauthorized-domain",n=void 0,r=nt(e);e=r.b,r=r.c,"chrome-extension"==r?n=R("This chrome extension ID (chrome-extension://%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",e):"http"==r||"https"==r?n=R("This domain (%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",e):t="operation-not-supported-in-this-environment",Rn.call(this,t,n)}function Sr(e,t,n){Rn.call(this,e,n),e=t||{},e.yb&&xn(this,"email",e.yb),e.$&&xn(this,"phoneNumber",e.$),e.credential&&xn(this,"credential",e.credential)}function Cr(e){if(e.code){var t=e.code||"";0==t.indexOf(mc)&&(t=t.substring(mc.length));var n={credential:wr(e)};if(e.email)n.yb=e.email;else if(e.phoneNumber)n.$=e.phoneNumber;else if(!n.credential)return new Rn(t,e.message||void 0);return new Sr(t,n,e.message)}return null}function Or(){}function Ar(e){return e.c||(e.c=e.b())}function Pr(){}function Ir(e){if(!e.f&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var t=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],n=0;n<t.length;n++){var r=t[n];try{return new ActiveXObject(r),e.f=r}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")}return e.f}function Rr(){}function Nr(){this.a=new XDomainRequest,this.readyState=0,this.onreadystatechange=null,this.responseText="",this.status=-1,this.statusText="",this.a.onload=f(this.dc,this),this.a.onerror=f(this.Eb,this),this.a.onprogress=f(this.ec,this),this.a.ontimeout=f(this.hc,this)}function Mr(e,t){e.readyState=t,e.onreadystatechange&&e.onreadystatechange()}function Dr(e,t,n){this.reset(e,t,n,void 0,void 0)}function Lr(e){this.f=e,this.b=this.c=this.a=null}function jr(e,t){this.name=e,this.value=t}function Wr(e){return e.c?e.c:e.a?Wr(e.a):(b("Root logger has no level set."),null)}function Br(e){zc||(zc=new Lr(""),Fc[""]=zc,zc.c=Wc);var t;if(!(t=Fc[e])){t=new Lr(e);var n=e.lastIndexOf("."),r=e.substr(n+1);n=Br(e.substr(0,n)),n.b||(n.b={}),n.b[r]=t,t.a=n,Fc[e]=t}return t}function Fr(e,t){e&&e.log(Bc,t,void 0)}function zr(e){this.f=e}function Ur(e){je.call(this),this.i=e,this.readyState=Uc,this.status=0,this.responseText=this.statusText="",this.onreadystatechange=null,this.g=new Headers,this.b=null,this.h="GET",this.c="",this.a=!1,this.f=Br("goog.net.FetchXmlHttp")}function Hr(e){e.onreadystatechange&&e.onreadystatechange.call(e)}function Gr(e){je.call(this),this.headers=new Ve,this.C=e||null,this.c=!1,this.w=this.a=null,this.h=this.N=this.m="",this.f=this.I=this.i=this.G=!1,this.g=0,this.u=null,this.o=Hc,this.v=this.O=!1}function qr(e,t,n,r,i){if(e.a)throw Error("[goog.net.XhrIo] Object is active with another request="+e.m+"; newUri="+t);n=n?n.toUpperCase():"GET",e.m=t,e.h="",e.N=n,e.G=!1,e.c=!0,e.a=e.C?e.C.a():Mc.a(),e.w=Ar(e.C?e.C:Mc),e.a.onreadystatechange=f(e.Ib,e);try{Fr(e.b,ni(e,"Opening Xhr")),e.I=!0,e.a.open(n,String(t),!0),e.I=!1}catch(t){return Fr(e.b,ni(e,"Error opening Xhr: "+t.message)),void Yr(e,t)}t=r||"";var o=new Ve(e.headers);i&&qe(i,function(e,t){o.set(t,e)}),i=S(o.U()),r=Dl.FormData&&t instanceof Dl.FormData,!C(qc,n)||i||r||o.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),o.forEach(function(e,t){this.a.setRequestHeader(t,e)},e),e.o&&(e.a.responseType=e.o),"withCredentials"in e.a&&e.a.withCredentials!==e.O&&(e.a.withCredentials=e.O);try{$r(e),0<e.g&&(e.v=Vr(e.a),Fr(e.b,ni(e,"Will abort after "+e.g+"ms if incomplete, xhr2 "+e.v)),e.v?(e.a.timeout=e.g,e.a.ontimeout=f(e.Ga,e)):e.u=ze(e.Ga,e.g,e)),Fr(e.b,ni(e,"Sending request")),e.i=!0,e.a.send(t),e.i=!1}catch(t){Fr(e.b,ni(e,"Send error: "+t.message)),Yr(e,t)}}function Vr(e){return mu&&ve(9)&&"number"==typeof e.timeout&&void 0!==e.ontimeout}function Kr(e){return"content-type"==e.toLowerCase()}function Yr(e,t){e.c=!1,e.a&&(e.f=!0,e.a.abort(),e.f=!1),e.h=t,Zr(e),Qr(e)}function Zr(e){e.G||(e.G=!0,e.dispatchEvent("complete"),e.dispatchEvent("error"))}function Xr(e){if(e.c&&"undefined"!=typeof Ml)if(e.w[1]&&4==Jr(e)&&2==ei(e))Fr(e.b,ni(e,"Local request error detected and ignored"));else if(e.i&&4==Jr(e))ze(e.Ib,0,e);else if(e.dispatchEvent("readystatechange"),4==Jr(e)){Fr(e.b,ni(e,"Request complete")),e.c=!1;try{var t=ei(e);e:switch(t){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var n=!0;break e;default:n=!1}var r;if(!(r=n)){var i;if(i=0===t){var o=String(e.m).match(ju)[1]||null;if(!o&&Dl.self&&Dl.self.location){var a=Dl.self.location.protocol;o=a.substr(0,a.length-1)}i=!Gc.test(o?o.toLowerCase():"")}r=i}if(r)e.dispatchEvent("complete"),e.dispatchEvent("success");else{try{var s=2<Jr(e)?e.a.statusText:""}catch(t){Fr(e.b,"Can not get status: "+t.message),s=""}e.h=s+" ["+ei(e)+"]",Zr(e)}}finally{Qr(e)}}}function Qr(e,t){if(e.a){$r(e);var r=e.a,i=e.w[0]?n:null;e.a=null,e.w=null,t||e.dispatchEvent("ready");try{r.onreadystatechange=i}catch(t){(e=e.b)&&e.log(Lc,"Problem encountered resetting onreadystatechange: "+t.message,void 0)}}}function $r(e){e.a&&e.v&&(e.a.ontimeout=null),e.u&&(Dl.clearTimeout(e.u),e.u=null)}function Jr(e){return e.a?e.a.readyState:0}function ei(e){try{return 2<Jr(e)?e.a.status:-1}catch(e){return-1}}function ti(e){try{return e.a?e.a.responseText:""}catch(t){return Fr(e.b,"Can not get responseText: "+t.message),""}}function ni(e,t){return t+" ["+e.N+" "+e.m+" "+ei(e)+"]"}function ri(e,t){this.g=[],this.v=e,this.u=t||null,this.f=this.a=!1,this.c=void 0,this.m=this.w=this.i=!1,this.h=0,this.b=null,this.l=0}function ii(e,t,n){e.a=!0,e.c=n,e.f=!t,ui(e)}function oi(e){if(e.a){if(!e.m)throw new ci(e);e.m=!1}}function ai(e,t){si(e,null,t,void 0)}function si(e,t,n,r){e.g.push([t,n,r]),e.a&&ui(e)}function li(e){return Gl(e.g,function(e){return l(e[1])})}function ui(e){if(e.h&&e.a&&li(e)){var t=e.h,n=Vc[t];n&&(Dl.clearTimeout(n.a),delete Vc[t]),e.h=0}e.b&&(e.b.l--,delete e.b),t=e.c;for(var r=n=!1;e.g.length&&!e.i;){var i=e.g.shift(),o=i[0],a=i[1];if(i=i[2],o=e.f?a:o)try{var s=o.call(i||e.u,t);void 0!==s&&(e.f=e.f&&(s==t||s instanceof Error),e.c=t=s),(g(t)||"function"===typeof Dl.Promise&&t instanceof Dl.Promise)&&(r=!0,e.i=!0)}catch(r){t=r,e.f=!0,li(e)||(n=!0)}}e.c=t,r&&(s=f(e.o,e,!0),r=f(e.o,e,!1),t instanceof ri?(si(t,s,r),t.w=!0):t.then(s,r)),n&&(t=new fi(t),Vc[t.a]=t,e.h=t.a)}function ci(){v.call(this)}function di(){v.call(this)}function fi(e){this.a=Dl.setTimeout(f(this.c,this),0),this.b=e}function hi(e){var t={},n=t.document||document,r=bt(e),i=document.createElement("SCRIPT"),o={Kb:i,Ga:void 0},a=new ri(mi,o),s=null,l=null!=t.timeout?t.timeout:5e3;return 0<l&&(s=window.setTimeout(function(){gi(i,!0);var e=new vi(Yc,"Timeout reached for loading script "+r);oi(a),ii(a,!1,e)},l),o.Ga=s),i.onload=i.onreadystatechange=function(){i.readyState&&"loaded"!=i.readyState&&"complete"!=i.readyState||(gi(i,t.ed||!1,s),a.C())},i.onerror=function(){gi(i,!0,s);var e=new vi(Kc,"Error while loading script "+r);oi(a),ii(a,!1,e)},o=t.attributes||{},F(o,{type:"text/javascript",charset:"UTF-8"}),Pt(i,o),i.src=bt(e),pi(n).appendChild(i),a}function pi(e){var t;return(t=(e||document).getElementsByTagName("HEAD"))&&0!=t.length?t[0]:e.documentElement}function mi(){if(this&&this.Kb){var e=this.Kb;e&&"SCRIPT"==e.tagName&&gi(e,!0,this.Ga)}}function gi(e,t,r){null!=r&&Dl.clearTimeout(r),e.onload=n,e.onerror=n,e.onreadystatechange=n,t&&window.setTimeout(function(){e&&e.parentNode&&e.parentNode.removeChild(e)},0)}function vi(e,t){var n="Jsloader error (code #"+e+")";t&&(n+=": "+t),v.call(this,n),this.code=e}function yi(e){this.f=e}function bi(e,t,n){if(this.b=e,e=t||{},this.i=e.secureTokenEndpoint||"https://securetoken.googleapis.com/v1/token",this.l=e.secureTokenTimeout||Qc,this.f=B(e.secureTokenHeaders||$c),this.g=e.firebaseEndpoint||"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",this.h=e.firebaseTimeout||Jc,this.a=B(e.firebaseHeaders||ed),n&&(this.a["X-Client-Version"]=n,this.f["X-Client-Version"]=n),n="Node"==$t(),!(n=Dl.XMLHttpRequest||n&&r.a.INTERNAL.node&&r.a.INTERNAL.node.XMLHttpRequest)&&!Qt())throw new Rn("internal-error","The XMLHttpRequest compatibility library was not found.");this.c=void 0,Qt()?this.c=new zr(self):Jt()?this.c=new yi(n):this.c=new Rr}function wi(e,t){t?e.a["X-Firebase-Locale"]=t:delete e.a["X-Firebase-Locale"]}function Ei(e,t){t?(e.a["X-Client-Version"]=t,e.f["X-Client-Version"]=t):(delete e.a["X-Client-Version"],delete e.f["X-Client-Version"])}function Ti(e,t,n,r,i,o,a){Ut()||Qt()?e=f(e.o,e):(Zc||(Zc=new V(function(e,t){_i(e,t)})),e=f(e.m,e)),e(t,n,r,i,o,a)}function _i(e,t){if(((window.gapi||{}).client||{}).request)e();else{Dl[nd]=function(){((window.gapi||{}).client||{}).request?e():t(Error("CORS_UNSUPPORTED"))};ai(hi(wt(td,{onload:nd})),function(){t(Error("CORS_UNSUPPORTED"))})}}function ki(e,t){return new V(function(n,r){"refresh_token"==t.grant_type&&t.refresh_token||"authorization_code"==t.grant_type&&t.code?Ti(e,e.i+"?key="+encodeURIComponent(e.b),function(e){e?e.error?r(Hi(e)):e.access_token&&e.refresh_token?n(e):r(new Rn("internal-error")):r(new Rn("network-request-failed"))},"POST",ut(t).toString(),e.f,e.l.get()):r(new Rn("internal-error"))})}function xi(e,t,n,r,i,o){var a=nt(e.g+t);et(a,"key",e.b),o&&et(a,"cb",Wl().toString());var s="GET"==n;if(s)for(var l in r)r.hasOwnProperty(l)&&et(a,l,r[l]);return new V(function(t,o){Ti(e,a.toString(),function(e){e?e.error?o(Hi(e,i||{})):t(e):o(new Rn("network-request-failed"))},n,s?void 0:Mt(fn(r)),e.a,e.h.get())})}function Si(e){if(!Nc.test(e.email))throw new Rn("invalid-email")}function Ci(e){"email"in e&&Si(e)}function Oi(e,t){return zi(e,ld,{identifier:t,continueUri:ln()?Bt():"http://localhost"}).then(function(e){return e.allProviders||[]})}function Ai(e,t){return zi(e,ld,{identifier:t,continueUri:ln()?Bt():"http://localhost"}).then(function(e){return e.signinMethods||[]})}function Pi(e){return zi(e,vd,{}).then(function(e){return e.authorizedDomains||[]})}function Ii(e){if(!e[Xc])throw new Rn("internal-error")}function Ri(e){if(e.phoneNumber||e.temporaryProof){if(!e.phoneNumber||!e.temporaryProof)throw new Rn("internal-error")}else{if(!e.sessionInfo)throw new Rn("missing-verification-id");if(!e.code)throw new Rn("missing-verification-code")}}function Ni(e,t){return zi(e,wd,t)}function Mi(e,t,n){return zi(e,cd,{idToken:t,deleteProvider:n})}function Di(e){if(!e.requestUri||!e.sessionId&&!e.postBody)throw new Rn("internal-error")}function Li(e){var t=null;if(e.needConfirmation?(e.code="account-exists-with-different-credential",t=Cr(e)):"FEDERATED_USER_ID_ALREADY_LINKED"==e.errorMessage?(e.code="credential-already-in-use",t=Cr(e)):"EMAIL_EXISTS"==e.errorMessage?(e.code="email-already-in-use",t=Cr(e)):e.errorMessage&&(t=Ui(e.errorMessage)),t)throw t;if(!e[Xc])throw new Rn("internal-error")}function ji(e,t){return t.returnIdpCredential=!0,zi(e,kd,t)}function Wi(e,t){return t.returnIdpCredential=!0,zi(e,Sd,t)}function Bi(e,t){return t.returnIdpCredential=!0,t.autoCreate=!1,zi(e,xd,t)}function Fi(e){if(!e.oobCode)throw new Rn("invalid-action-code")}function zi(e,t,n){if(!An(n,t.T))return X(new Rn("internal-error"));var r,i=t.Hb||"POST";return Z(n).then(t.B).then(function(){return t.R&&(n.returnSecureToken=!0),xi(e,t.endpoint,i,n,t.Wb,t.tb||!1)}).then(function(e){return r=e}).then(t.J).then(function(){if(!t.da)return r;if(!(t.da in r))throw new Rn("internal-error");return r[t.da]})}function Ui(e){return Hi({error:{errors:[{message:e}],code:400,message:e}})}function Hi(e,t){var n=(e.error&&e.error.errors&&e.error.errors[0]||{}).reason||"",r={keyInvalid:"invalid-api-key",ipRefererBlocked:"app-not-authorized"};if(n=r[n]?new Rn(r[n]):null)return n;n=e.error&&e.error.message||"",r={INVALID_CUSTOM_TOKEN:"invalid-custom-token",CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_EMAIL:"invalid-email",INVALID_PASSWORD:"wrong-password",USER_DISABLED:"user-disabled",MISSING_PASSWORD:"internal-error",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",INVALID_MESSAGE_PAYLOAD:"invalid-message-payload",INVALID_RECIPIENT_EMAIL:"invalid-recipient-email",INVALID_SENDER:"invalid-sender",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",INVALID_PROVIDER_ID:"invalid-provider-id",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",CORS_UNSUPPORTED:"cors-unsupported",DYNAMIC_LINK_NOT_ACTIVATED:"dynamic-link-not-activated",INVALID_APP_ID:"invalid-app-id",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",WEAK_PASSWORD:"weak-password",OPERATION_NOT_ALLOWED:"operation-not-allowed",USER_CANCELLED:"user-cancelled",CAPTCHA_CHECK_FAILED:"captcha-check-failed",INVALID_APP_CREDENTIAL:"invalid-app-credential",INVALID_CODE:"invalid-verification-code",INVALID_PHONE_NUMBER:"invalid-phone-number",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_APP_CREDENTIAL:"missing-app-credential",MISSING_CODE:"missing-verification-code",MISSING_PHONE_NUMBER:"missing-phone-number",MISSING_SESSION_INFO:"missing-verification-id",QUOTA_EXCEEDED:"quota-exceeded",SESSION_EXPIRED:"code-expired",INVALID_CONTINUE_URI:"invalid-continue-uri",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",MISSING_IOS_BUNDLE_ID:"missing-ios-bundle-id",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",INVALID_CERT_HASH:"invalid-cert-hash"},F(r,t||{}),t=(t=n.match(/^[^\s]+\s*:\s*(.*)$/))&&1<t.length?t[1]:void 0;for(var i in r)if(0===n.indexOf(i))return new Rn(r[i],t);return!t&&e&&(t=dn(e)),new Rn("internal-error",t)}function Gi(e){for(var t in Rd)if(Rd[t].id===e)return e=Rd[t],{firebaseEndpoint:e.$a,secureTokenEndpoint:e.hb};return null}function qi(e){this.b=e,this.a=null,this.eb=Vi(this)}function Vi(e){return Zi().then(function(){return new V(function(t,n){on("gapi.iframes.getContext")().open({where:document.body,url:e.b,messageHandlersFilter:on("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"),attributes:{style:{position:"absolute",top:"-100px",width:"1px",height:"1px"}},dontclear:!0},function(r){function i(){clearTimeout(o),t()}e.a=r,e.a.restyle({setHideOnLeave:!1});var o=setTimeout(function(){n(Error("Network Error"))},Dd.get());r.ping(i).then(i,function(){n(Error("Network Error"))})})})})}function Ki(e,t){return e.eb.then(function(){return new V(function(n){e.a.send(t.type,t,n,on("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))})})}function Yi(e,t){e.eb.then(function(){e.a.register("authEvent",t,on("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))})}function Zi(){return Ld||(Ld=new V(function(e,t){function n(){gn(),on("gapi.load")("gapi.iframes",{callback:e,ontimeout:function(){gn(),t(Error("Network Error"))},timeout:Md.get()})}if(on("gapi.iframes.Iframe"))e();else if(on("gapi.load"))n();else{var r="__iframefcb"+Math.floor(1e6*Math.random()).toString();Dl[r]=function(){on("gapi.load")?n():t(Error("Network Error"))},r=wt(Nd,{onload:r}),Z(hi(r)).s(function(){t(Error("Network Error"))})}}).s(function(e){throw Ld=null,e}))}function Xi(e,t,n){this.i=e,this.g=t,this.h=n,this.f=null,this.a=rt(this.i,"/__/auth/iframe"),et(this.a,"apiKey",this.g),et(this.a,"appName",this.h),this.b=null,this.c=[]}function Qi(e,t,n,r,i){this.o=e,this.m=t,this.c=n,this.l=r,this.h=this.g=this.i=null,this.a=i,this.f=null}function $i(e){try{return r.a.app(e).auth().xa()}catch(e){return[]}}function Ji(e,t,n,r,i){this.m=e,this.f=t,this.b=n,this.c=r||null,this.h=i||null,this.o=this.u=this.v=null,this.g=[],this.l=this.a=null}function eo(e){var t=Bt();return Pi(e).then(function(e){e:{var n=nt(t),r=n.c;n=n.b;for(var i=0;i<e.length;i++){var o=e[i],a=n,s=r;if(0==o.indexOf("chrome-extension://")?a=nt(o).b==a&&"chrome-extension"==s:"http"!=s&&"https"!=s?a=!1:ec.test(o)?a=a==o:(o=o.split(".").join("\\."),a=new RegExp("^(.+\\."+o+"|"+o+")$","i").test(a)),a){e=!0;break e}}e=!1}if(!e)throw new xr(Bt())})}function to(e){return e.l?e.l:(e.l=Kt().then(function(){if(!e.u){var t=e.c,n=e.h,r=$i(e.b),i=new Xi(e.m,e.f,e.b);i.f=t,i.b=n,i.c=I(r||[]),e.u=i.toString()}e.i=new qi(e.u),io(e)}),e.l)}function no(e){return e.o||(e.v=e.c?nn(e.c,$i(e.b)):null,e.o=new bi(e.f,Gi(e.h),e.v)),e.o}function ro(e,t,n,r,i,o,a,s,l,u){return e=new Qi(e,t,n,r,i),e.i=o,e.g=a,e.h=s,e.b=B(l||null),e.f=u,e.toString()}function io(e){if(!e.i)throw Error("IfcHandler must be initialized!");Yi(e.i,function(t){var n={};if(t&&t.authEvent){var r=!1;for(t=_r(t.authEvent),n=0;n<e.g.length;n++)r=e.g[n](t)||r;return n={},n.status=r?"ACK":"ERROR",Z(n)}return n.status="ERROR",Z(n)})}function oo(e){var t={type:"webStorageSupport"};return to(e).then(function(){return Ki(e.i,t)}).then(function(e){if(e&&e.length&&"undefined"!==typeof e[0].webStorageSupport)return e[0].webStorageSupport;throw Error()})}function ao(e){if(this.a=e||r.a.INTERNAL.reactNative&&r.a.INTERNAL.reactNative.AsyncStorage,!this.a)throw new Rn("internal-error","The React Native compatibility library was not found.");this.type="asyncStorage"}function so(e){this.b=e,this.a={},this.c=f(this.f,this)}function lo(){var e=Qt()?self:null;if(Ul(jd,function(n){n.b==e&&(t=n)}),!t){var t=new so(e);jd.push(t)}return t}function uo(e){this.a=e}function co(e){this.c=e,this.b=!1,this.a=[]}function fo(e,t,n,r){var i,o,a,s,l=n||{},u=null;if(e.b)return X(Error("connection_unavailable"));var c=r?800:50,d="undefined"!==typeof MessageChannel?new MessageChannel:null;return new V(function(n,r){d?(i=Math.floor(Math.random()*Math.pow(10,20)).toString(),d.port1.start(),a=setTimeout(function(){r(Error("unsupported_event"))},c),o=function(e){e.data.eventId===i&&("ack"===e.data.status?(clearTimeout(a),s=setTimeout(function(){r(Error("timeout"))},3e3)):"done"===e.data.status?(clearTimeout(s),"undefined"!==typeof e.data.response?n(e.data.response):r(Error("unknown_error"))):(clearTimeout(a),clearTimeout(s),r(Error("invalid_response"))))},u={messageChannel:d,onMessage:o},e.a.push(u),d.port1.addEventListener("message",o),e.c.postMessage({eventType:t,eventId:i,data:l},[d.port2])):r(Error("connection_unavailable"))}).then(function(t){return ho(e,u),t}).s(function(t){throw ho(e,u),t})}function ho(e,t){if(t){var n=t.messageChannel,r=t.onMessage;n&&(n.port1.removeEventListener("message",r),n.port1.close()),A(e.a,function(e){return e==t})}}function po(){if(!yo())throw new Rn("web-storage-unsupported");this.c={},this.a=[],this.b=0,this.m=Dl.indexedDB,this.type="indexedDB",this.g=this.l=this.f=this.i=null,this.u=!1,this.h=null;var e=this;Qt()&&self?(this.l=lo(),this.l.subscribe("keyChanged",function(t,n){return _o(e).then(function(t){return 0<t.length&&Ul(e.a,function(e){e(t)}),{keyProcessed:C(t,n.key)}})}),this.l.subscribe("ping",function(){return Z(["keyChanged"])})):_n().then(function(t){(e.h=t)&&(e.g=new co(new uo(t)),fo(e.g,"ping",null,!0).then(function(t){t[0].fulfilled&&C(t[0].value,"keyChanged")&&(e.u=!0)}).s(function(){}))})}function mo(e){return new V(function(t,n){var r=e.m.deleteDatabase("firebaseLocalStorageDb");r.onsuccess=function(){t()},r.onerror=function(e){n(Error(e.target.error))}})}function go(e){return new V(function(t,n){var r=e.m.open("firebaseLocalStorageDb",1);r.onerror=function(e){try{e.preventDefault()}catch(e){}n(Error(e.target.error))},r.onupgradeneeded=function(e){e=e.target.result;try{e.createObjectStore("firebaseLocalStorage",{keyPath:"fbase_key"})}catch(e){n(e)}},r.onsuccess=function(r){r=r.target.result,r.objectStoreNames.contains("firebaseLocalStorage")?t(r):mo(e).then(function(){return go(e)}).then(function(e){t(e)}).s(function(e){n(e)})}})}function vo(e){return e.o||(e.o=go(e)),e.o}function yo(){try{return!!Dl.indexedDB}catch(e){return!1}}function bo(e){return e.objectStore("firebaseLocalStorage")}function wo(e,t){return e.transaction(["firebaseLocalStorage"],t?"readwrite":"readonly")}function Eo(e){return new V(function(t,n){e.onsuccess=function(e){e&&e.target?t(e.target.result):t()},e.onerror=function(e){n(Error(e.target.errorCode))}})}function To(e,t){return e.g&&e.h&&Tn()===e.h?fo(e.g,"keyChanged",{key:t},e.u).then(function(){}).s(function(){}):Z()}function _o(e){return vo(e).then(function(e){var t=bo(wo(e,!1));return t.getAll?Eo(t.getAll()):new V(function(e,n){var r=[],i=t.openCursor();i.onsuccess=function(t){(t=t.target.result)?(r.push(t.value),t.continue()):e(r)},i.onerror=function(e){n(Error(e.target.errorCode))}})}).then(function(t){var n={},r=[];if(0==e.b){for(r=0;r<t.length;r++)n[t[r].fbase_key]=t[r].value;r=zt(e.c,n),e.c=n}return r})}function ko(e){function t(){e.f=setTimeout(function(){e.i=_o(e).then(function(t){0<t.length&&Ul(e.a,function(e){e(t)})}).then(function(){t()}).s(function(e){"STOP_EVENT"!=e.message&&t()})},800)}xo(e),t()}function xo(e){e.i&&e.i.cancel("STOP_EVENT"),e.f&&(clearTimeout(e.f),e.f=null)}function So(e){var t=this,n=null;this.a=[],this.type="indexedDB",this.c=e,this.b=Z().then(function(){if(yo()){var e=pn(),r="__sak"+e;return Wd||(Wd=new po),n=Wd,n.set(r,e).then(function(){return n.get(r)}).then(function(t){if(t!==e)throw Error("indexedDB not supported!");return n.P(r)}).then(function(){return n}).s(function(){return t.c})}return t.c}).then(function(e){return t.type=e.type,e.Y(function(e){Ul(t.a,function(t){t(e)})}),e})}function Co(){this.a={},this.type="inMemory"}function Oo(){if(!Po()){if("Node"==$t())throw new Rn("internal-error","The LocalStorage compatibility library was not found.");throw new Rn("web-storage-unsupported")}this.a=Ao()||r.a.INTERNAL.node.localStorage,this.type="localStorage"}function Ao(){try{var e=Dl.localStorage,t=pn();return e&&(e.setItem(t,"1"),e.removeItem(t)),e}catch(e){return null}}function Po(){var e="Node"==$t();if(!(e=Ao()||e&&r.a.INTERNAL.node&&r.a.INTERNAL.node.localStorage))return!1;try{return e.setItem("__sak","1"),e.removeItem("__sak"),!0}catch(e){return!1}}function Io(){this.type="nullStorage"}function Ro(){if(!Mo()){if("Node"==$t())throw new Rn("internal-error","The SessionStorage compatibility library was not found.");throw new Rn("web-storage-unsupported")}this.a=No()||r.a.INTERNAL.node.sessionStorage,this.type="sessionStorage"}function No(){try{var e=Dl.sessionStorage,t=pn();return e&&(e.setItem(t,"1"),e.removeItem(t)),e}catch(e){return null}}function Mo(){var e="Node"==$t();if(!(e=No()||e&&r.a.INTERNAL.node&&r.a.INTERNAL.node.sessionStorage))return!1;try{return e.setItem("__sak","1"),e.removeItem("__sak"),!0}catch(e){return!1}}function Do(){var e={};e.Browser=zd,e.Node=Ud,e.ReactNative=Hd,e.Worker=Gd,this.a=e[$t()]}function Lo(e){var t=new Rn("invalid-persistence-type"),n=new Rn("unsupported-persistence-type");e:{for(r in qd)if(qd[r]==e){var r=!0;break e}r=!1}if(!r||"string"!==typeof e)throw t;switch($t()){case"ReactNative":if("session"===e)throw n;break;case"Node":if("none"!==e)throw n;break;default:if(!an()&&"none"!==e)throw n}}function jo(){var e=!(mn(rn())||!Xt()),t=cn(),n=an();this.o=e,this.h=t,this.l=n,this.a={},Bd||(Bd=new Do),e=Bd;try{this.g=!Wt()&&En()||!Dl.indexedDB?new e.a.A:new So(Qt()?new Co:new e.a.A)}catch(e){this.g=new Co,this.h=!0}try{this.i=new e.a.Qa}catch(e){this.i=new Co}this.m=new Co,this.f=f(this.Ob,this),this.b={}}function Wo(){return Fd||(Fd=new jo),Fd}function Bo(e,t){switch(t){case"session":return e.i;case"none":return e.m;default:return e.g}}function Fo(e,t){return"firebase:"+e.name+(t?":"+t:"")}function zo(e,t,n){var r=Fo(t,n),i=Bo(e,t.A);return e.get(t,n).then(function(o){var a=null;try{a=hn(Dl.localStorage.getItem(r))}catch(e){}if(a&&!o)return Dl.localStorage.removeItem(r),e.set(t,a,n);a&&o&&"localStorage"!=i.type&&Dl.localStorage.removeItem(r)})}function Uo(e,t,n){return n=Fo(t,n),"local"==t.A&&(e.b[n]=null),Bo(e,t.A).P(n)}function Ho(e){Go(e),e.c=setInterval(function(){for(var t in e.a){var n=Dl.localStorage.getItem(t),r=e.b[t];n!=r&&(e.b[t]=n,n=new be({type:"storage",key:t,target:window,oldValue:r,newValue:n,a:!0}),e.Ob(n))}},1e3)}function Go(e){e.c&&(clearInterval(e.c),e.c=null)}function qo(e){this.a=e,this.b=Wo()}function Vo(e){return e.b.get(Kd,e.a).then(function(e){return _r(e)})}function Ko(){this.a=Wo()}function Yo(){this.b=-1}function Zo(e,t){this.b=Yd,this.f=Dl.Uint8Array?new Uint8Array(this.b):Array(this.b),this.g=this.c=0,this.a=[],this.i=e,this.h=t,this.l=Dl.Int32Array?new Int32Array(64):Array(64),void 0!==Vd||(Vd=Dl.Int32Array?new Int32Array(Jd):Jd),this.reset()}function Xo(e){for(var t=e.f,n=e.l,r=0,i=0;i<t.length;)n[r++]=t[i]<<24|t[i+1]<<16|t[i+2]<<8|t[i+3],i=4*r;for(t=16;64>t;t++){i=0|n[t-15],r=0|n[t-2];var o=(0|n[t-16])+((i>>>7|i<<25)^(i>>>18|i<<14)^i>>>3)|0,a=(0|n[t-7])+((r>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)|0;n[t]=o+a|0}r=0|e.a[0],i=0|e.a[1];var s=0|e.a[2],l=0|e.a[3],u=0|e.a[4],c=0|e.a[5],d=0|e.a[6];for(o=0|e.a[7],t=0;64>t;t++){var f=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&i^r&s^i&s)|0;a=u&c^~u&d,o=o+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))|0,a=a+(0|Vd[t])|0,a=o+(a+(0|n[t])|0)|0,o=d,d=c,c=u,u=l+a|0,l=s,s=i,i=r,r=a+f|0}e.a[0]=e.a[0]+r|0,e.a[1]=e.a[1]+i|0,e.a[2]=e.a[2]+s|0,e.a[3]=e.a[3]+l|0,e.a[4]=e.a[4]+u|0,e.a[5]=e.a[5]+c|0,e.a[6]=e.a[6]+d|0,e.a[7]=e.a[7]+o|0}function Qo(t,n,r){void 0===r&&(r=n.length);var i=0,o=t.c;if(e(n))for(;i<r;)t.f[o++]=n.charCodeAt(i++),o==t.b&&(Xo(t),o=0);else{if(!s(n))throw Error("message must be string or array");for(;i<r;){var a=n[i++];if(!("number"==typeof a&&0<=a&&255>=a&&a==(0|a)))throw Error("message must be a byte array");t.f[o++]=a,o==t.b&&(Xo(t),o=0)}}t.c=o,t.g+=r}function $o(){Zo.call(this,8,ef)}function Jo(e,t,n,r,i){this.m=e,this.i=t,this.l=n,this.o=r||null,this.u=i||null,this.h=t+":"+n,this.v=new Ko,this.g=new qo(this.h),this.f=null,this.b=[],this.a=this.c=null}function ea(e){return new Rn("invalid-cordova-configuration",e)}function ta(){for(var e=20,t=[];0<e;)t.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),e--;return t.join("")}function na(e){var t=new $o;Qo(t,e),e=[];var n=8*t.g;56>t.c?Qo(t,$d,56-t.c):Qo(t,$d,t.b-(t.c-56));for(var r=63;56<=r;r--)t.f[r]=255&n,n/=256;for(Xo(t),r=n=0;r<t.i;r++)for(var i=24;0<=i;i-=8)e[n++]=t.a[r]>>i&255;return Ln(e)}function ra(e,t,n,r){var i=ta(),o=new Tr(t,r,null,i,new Rn("no-auth-event")),a=on("BuildInfo.packageName",Dl);if("string"!==typeof a)throw new Rn("invalid-cordova-configuration");var s=on("BuildInfo.displayName",Dl),l={};if(rn().toLowerCase().match(/iphone|ipad|ipod/))l.ibi=a;else{if(!rn().toLowerCase().match(/android/))return X(new Rn("operation-not-supported-in-this-environment"));l.apn=a}s&&(l.appDisplayName=s),i=na(i),l.sessionId=i;var u=ro(e.m,e.i,e.l,t,n,null,r,e.o,l,e.u);return e.ga().then(function(){var t=e.h;return e.v.a.set(Kd,o.D(),t)}).then(function(){var t=on("cordova.plugins.browsertab.isAvailable",Dl);if("function"!==typeof t)throw new Rn("invalid-cordova-configuration");var n=null;t(function(t){if(t){if("function"!==typeof(n=on("cordova.plugins.browsertab.openUrl",Dl)))throw new Rn("invalid-cordova-configuration");n(u)}else{if("function"!==typeof(n=on("cordova.InAppBrowser.open",Dl)))throw new Rn("invalid-cordova-configuration");t=rn(),t=!(!t.match(/(iPad|iPhone|iPod).*OS 7_\d/i)&&!t.match(/(iPad|iPhone|iPod).*OS 8_\d/i)),e.a=n(u,t?"_blank":"_system","location=yes")}})})}function ia(e,t){for(var n=0;n<e.b.length;n++)try{e.b[n](t)}catch(e){}}function oa(e){return e.f||(e.f=e.ga().then(function(){return new V(function(t){function n(r){return t(r),e.Ka(n),!1}e.va(n),sa(e)})})),e.f}function aa(e){var t=null;return Vo(e.g).then(function(n){return t=n,n=e.g,Uo(n.b,Kd,n.a)}).then(function(){return t})}function sa(e){function t(t){r=!0,i&&i.cancel(),aa(e).then(function(r){var i=n;if(r&&t&&t.url){var o=null;i=$n(t.url),-1!=i.indexOf("/__/auth/callback")&&(o=nt(i),o=hn(tt(o,"firebaseError")||null),o=(o="object"===typeof o?Nn(o):null)?new Tr(r.b,r.c,null,null,o):new Tr(r.b,r.c,i,r.g)),i=o||n}ia(e,i)})}var n=new Tr("unknown",null,null,null,new Rn("no-auth-event")),r=!1,i=Ue(500).then(function(){return aa(e).then(function(){r||ia(e,n)})}),o=Dl.handleOpenURL;Dl.handleOpenURL=function(e){if(0==e.toLowerCase().indexOf(on("BuildInfo.packageName",Dl).toLowerCase()+"://")&&t({url:e}),"function"===typeof o)try{o(e)}catch(e){console.error(e)}},Rc||(Rc=new kr),Rc.subscribe(t)}function la(e){this.a=e,this.b=Wo()}function ua(e){return e.b.set(tf,"pending",e.a)}function ca(e){return Uo(e.b,tf,e.a)}function da(e){return e.b.get(tf,e.a).then(function(e){return"pending"==e})}function fa(e,t,n){this.u=e,this.l=t,this.m=n,this.h=[],this.f=!1,this.i=f(this.ab,this),this.b=new ba,this.o=new Sa,this.g=new la(this.l+":"+this.m),this.c={},this.c.unknown=this.b,this.c.signInViaRedirect=this.b,this.c.linkViaRedirect=this.b,this.c.reauthViaRedirect=this.b,this.c.signInViaPopup=this.o,this.c.linkViaPopup=this.o,this.c.reauthViaPopup=this.o,this.a=ha(this.u,this.l,this.m,id)}function ha(e,t,n,i){var o=r.a.SDK_VERSION||null;return Zt()?new Jo(e,t,n,o,i):new Ji(e,t,n,o,i)}function pa(e){e.f||(e.f=!0,e.a.va(e.i));var t=e.a;return e.a.ga().s(function(n){throw e.a==t&&e.reset(),n})}function ma(e){e.a.Lb()&&pa(e).s(function(t){var n=new Tr("unknown",null,null,null,new Rn("operation-not-supported-in-this-environment"));va(t)&&e.ab(n)}),e.a.Gb()||wa(e.b)}function ga(e,t,n,r,i,o){return e.a.Bb(t,n,r,function(){e.f||(e.f=!0,e.a.va(e.i))},function(){e.reset()},i,o)}function va(e){return!(!e||"auth/cordova-not-ready"!=e.code)}function ya(e,t,n){var r=t+":"+n;return of[r]||(of[r]=new fa(e,t,n)),of[r]}function ba(){this.b=null,this.f=[],this.c=[],this.a=null,this.i=this.g=!1}function wa(e){e.g||(e.g=!0,ka(e,!1,null,null))}function Ea(e,t,n){n=n.wa(t.b,t.c);var r=t.f,i=t.g,o=!!t.b.match(/Redirect$/);n(r,i).then(function(t){ka(e,o,t,null)}).s(function(t){ka(e,o,null,t)})}function Ta(e,t){if(e.b=function(){return X(t)},e.c.length)for(var n=0;n<e.c.length;n++)e.c[n](t)}function _a(e,t){if(e.b=function(){return Z(t)},e.f.length)for(var n=0;n<e.f.length;n++)e.f[n](t)}function ka(e,t,n,r){t?r?Ta(e,r):_a(e,n):_a(e,{user:null}),e.f=[],e.c=[]}function xa(e){var t=new Rn("timeout");e.a&&e.a.cancel(),e.a=Ue(rf.get()).then(function(){e.b||(e.g=!0,ka(e,!0,null,t))})}function Sa(){}function Ca(e,t){var n=e.c,r=e.b;t.wa(r,n)(e.f,e.g).then(function(e){t.ha(r,e,null,n)}).s(function(e){t.ha(r,null,e,n)})}function Oa(){this.rb=!1,Object.defineProperty(this,"appVerificationDisabled",{get:function(){return this.rb},set:function(e){this.rb=e},enumerable:!1})}function Aa(e,t){this.a=t,xn(this,"verificationId",e)}function Pa(e,t,n,r){return new yr(e).Ta(t,n).then(function(e){return new Aa(e,r)})}function Ia(e){var t=Un(e);if(!(t&&t.exp&&t.auth_time&&t.iat))throw new Rn("internal-error","An internal error occurred. The token obtained by Firebase appears to be malformed. Please retry the operation.");Sn(this,{token:e,expirationTime:wn(1e3*t.exp),authTime:wn(1e3*t.auth_time),issuedAtTime:wn(1e3*t.iat),signInProvider:t.firebase&&t.firebase.sign_in_provider?t.firebase.sign_in_provider:null,claims:t})}function Ra(e,t,n){if(this.h=e,this.i=t,this.g=n,this.c=3e4,this.f=96e4,this.b=null,this.a=this.c,this.f<this.c)throw Error("Proactive refresh lower bound greater than upper bound!")}function Na(e,t){return t?(e.a=e.c,e.g()):(t=e.a,e.a*=2,e.a>e.f&&(e.a=e.f),t)}function Ma(e,t){e.stop(),e.b=Ue(Na(e,t)).then(function(){return bn()}).then(function(){return e.h()}).then(function(){Ma(e,!0)}).s(function(t){e.i(t)&&Ma(e,!1)})}function Da(e){this.f=e,this.b=this.a=null,this.c=0}function La(e,t){var n=t[Xc],r=t.refreshToken;t=Wa(t.expiresIn),e.b=n,e.c=t,e.a=r}function ja(e,t){e.b=t.b,e.a=t.a,e.c=t.c}function Wa(e){return Wl()+1e3*parseInt(e,10)}function Ba(e,t){return ki(e.f,t).then(function(t){return e.b=t.access_token,e.c=Wa(t.expires_in),e.a=t.refresh_token,{accessToken:e.b,expirationTime:e.c,refreshToken:e.a}}).s(function(t){throw"auth/user-token-expired"==t.code&&(e.a=null),t})}function Fa(e,t){this.a=e||null,this.b=t||null,Sn(this,{lastSignInTime:wn(t||null),creationTime:wn(e||null)})}function za(e){return new Fa(e.a,e.b)}function Ua(e,t,n,r,i,o){Sn(this,{uid:e,displayName:r||null,photoURL:i||null,email:n||null,phoneNumber:o||null,providerId:t})}function Ha(e,t){ye.call(this,e);for(var n in t)this[n]=t[n]}function Ga(e,t,n){this.G=[],this.m=e.apiKey,this.o=e.appName,this.u=e.authDomain||null,e=r.a.SDK_VERSION?nn(r.a.SDK_VERSION):null,this.b=new bi(this.m,Gi(id),e),this.h=new Da(this.b),$a(this,t[Xc]),La(this.h,t),xn(this,"refreshToken",this.h.a),ns(this,n||{}),je.call(this),this.I=!1,this.u&&sn()&&(this.a=ya(this.u,this.m,this.o)),this.N=[],this.i=null,this.w=Za(this),this.V=f(this.Ha,this);var i=this;this.ka=null,this.sa=function(e){i.oa(e.g)},this.X=null,this.O=[],this.ra=function(e){Va(i,e.c)},this.W=null}function qa(e,t){e.X&&Ae(e.X,"languageCodeChanged",e.sa),(e.X=t)&&xe(t,"languageCodeChanged",e.sa)}function Va(e,t){e.O=t,Ei(e.b,r.a.SDK_VERSION?nn(r.a.SDK_VERSION,e.O):null)}function Ka(e,t){e.W&&Ae(e.W,"frameworkChanged",e.ra),(e.W=t)&&xe(t,"frameworkChanged",e.ra)}function Ya(e){try{return r.a.app(e.o).auth()}catch(t){throw new Rn("internal-error","No firebase.auth.Auth instance is available for the Firebase App '"+e.o+"'!")}}function Za(e){return new Ra(function(){return e.F(!0)},function(e){return!(!e||"auth/network-request-failed"!=e.code)},function(){var t=e.h.c-Wl()-3e5;return 0<t?t:0})}function Xa(e){e.C||e.w.b||(e.w.start(),Ae(e,"tokenChanged",e.V),xe(e,"tokenChanged",e.V))}function Qa(e){Ae(e,"tokenChanged",e.V),e.w.stop()}function $a(e,t){e.qa=t,xn(e,"_lat",t)}function Ja(e,t){A(e.N,function(e){return e==t})}function es(e){for(var t=[],n=0;n<e.N.length;n++)t.push(e.N[n](e));return J(t).then(function(){return e})}function ts(e){e.a&&!e.I&&(e.I=!0,e.a.subscribe(e))}function ns(e,t){Sn(e,{uid:t.uid,displayName:t.displayName||null,photoURL:t.photoURL||null,email:t.email||null,emailVerified:t.emailVerified||!1,phoneNumber:t.phoneNumber||null,isAnonymous:t.isAnonymous||!1,metadata:new Fa(t.createdAt,t.lastLoginAt),providerData:[]})}function rs(){}function is(e){return Z().then(function(){if(e.C)throw new Rn("app-deleted")})}function os(e){return Hl(e.providerData,function(e){return e.providerId})}function as(e,t){t&&(ss(e,t.providerId),e.providerData.push(t))}function ss(e,t){A(e.providerData,function(e){return e.providerId==t})}function ls(e,t,n){("uid"!=t||n)&&e.hasOwnProperty(t)&&xn(e,t,n)}function us(e,t){e!=t&&(Sn(e,{uid:t.uid,displayName:t.displayName,photoURL:t.photoURL,email:t.email,emailVerified:t.emailVerified,phoneNumber:t.phoneNumber,isAnonymous:t.isAnonymous,providerData:[]}),t.metadata?xn(e,"metadata",za(t.metadata)):xn(e,"metadata",new Fa),Ul(t.providerData,function(t){as(e,t)}),ja(e.h,t.h),xn(e,"refreshToken",e.h.a))}function cs(e){return e.F().then(function(t){var n=e.isAnonymous;return fs(e,t).then(function(){return n||ls(e,"isAnonymous",!1),t})})}function ds(e,t){t[Xc]&&e.qa!=t[Xc]&&(La(e.h,t),e.dispatchEvent(new Ha("tokenChanged")),$a(e,t[Xc]),ls(e,"refreshToken",e.h.a))}function fs(e,t){return zi(e.b,hd,{idToken:t}).then(f(e.wc,e))}function hs(e){return(e=e.providerUserInfo)&&e.length?Hl(e,function(e){return new Ua(e.rawId,e.providerId,e.email,e.displayName,e.photoUrl,e.phoneNumber)}):[]}function ps(e,t){return cs(e).then(function(){if(C(os(e),t))return es(e).then(function(){throw new Rn("provider-already-linked")})})}function ms(e,t,n){var r=wr(t);return t=Gn(t),Cn({user:e,credential:r,additionalUserInfo:t,operationType:n})}function gs(e,t){return ds(e,t),e.reload().then(function(){return e})}function vs(e,t,n,i,o){if(!sn())return X(new Rn("operation-not-supported-in-this-environment"));if(e.i&&!o)return X(e.i);var a=Hn(n.providerId),s=pn(e.uid+":::"),l=null;(!cn()||Xt())&&e.u&&n.isOAuthProvider&&(l=ro(e.u,e.m,e.o,t,n,null,s,r.a.SDK_VERSION||null));var u=qt(l,a&&a.Ba,a&&a.Aa);return i=i().then(function(){if(bs(e),!o)return e.F().then(function(){})}).then(function(){return ga(e.a,u,t,n,s,!!l)}).then(function(){return new V(function(n,r){e.ha(t,null,new Rn("cancelled-popup-request"),e.g||null),e.f=n,e.v=r,e.g=s,e.c=e.a.Ea(e,t,u,s)})}).then(function(e){return u&&Gt(u),e?Cn(e):null}).s(function(e){throw u&&Gt(u),e}),ws(e,i,o)}function ys(e,t,n,r,i){if(!sn())return X(new Rn("operation-not-supported-in-this-environment"));if(e.i&&!i)return X(e.i);var o=null,a=pn(e.uid+":::");return r=r().then(function(){if(bs(e),!i)return e.F().then(function(){})}).then(function(){return e.aa=a,es(e)}).then(function(t){return e.ba&&(t=e.ba,t=t.b.set(af,e.D(),t.a)),t}).then(function(){return e.a.Ca(t,n,a)}).s(function(t){if(o=t,e.ba)return Ss(e.ba);throw o}).then(function(){if(o)throw o}),ws(e,r,i)}function bs(e){if(!e.a||!e.I){if(e.a&&!e.I)throw new Rn("internal-error");throw new Rn("auth-domain-config-required")}}function ws(e,t,n){var r=Es(e,t,n);return e.G.push(r),r.ia(function(){O(e.G,r)}),r}function Es(e,t,n){return e.i&&!n?(t.cancel(),X(e.i)):t.s(function(t){throw!t||"auth/user-disabled"!=t.code&&"auth/user-token-expired"!=t.code||(e.i||e.dispatchEvent(new Ha("userInvalidated")),e.i=t),t})}function Ts(e){if(!e.apiKey)return null;var t={apiKey:e.apiKey,authDomain:e.authDomain,appName:e.appName},n={};if(!(e.stsTokenManager&&e.stsTokenManager.accessToken&&e.stsTokenManager.expirationTime))return null;n[Xc]=e.stsTokenManager.accessToken,n.refreshToken=e.stsTokenManager.refreshToken||null,n.expiresIn=(e.stsTokenManager.expirationTime-Wl())/1e3;var r=new Ga(t,n,e);return e.providerData&&Ul(e.providerData,function(e){e&&as(r,Cn(e))}),e.redirectEventId&&(r.aa=e.redirectEventId),r}function _s(e,t,n,r){var i=new Ga(e,t);return n&&(i.ba=n),r&&Va(i,r),i.reload().then(function(){return i})}function ks(e,t,n,r){t=t||{apiKey:e.m,authDomain:e.u,appName:e.o};var i=e.h,o={};return o[Xc]=i.b,o.refreshToken=i.a,o.expiresIn=(i.c-Wl())/1e3,t=new Ga(t,o),n&&(t.ba=n),r&&Va(t,r),us(t,e),t}function xs(e){this.a=e,this.b=Wo()}function Ss(e){return Uo(e.b,af,e.a)}function Cs(e,t){return e.b.get(af,e.a).then(function(e){return e&&t&&(e.authDomain=t),Ts(e||{})})}function Os(e){this.a=e,this.b=Wo(),this.c=null,this.f=Ps(this),this.b.addListener(Is("local"),this.a,f(this.g,this))}function As(e,t){var n,r=[];for(n in qd)qd[n]!==t&&r.push(Uo(e.b,Is(qd[n]),e.a));return r.push(Uo(e.b,sf,e.a)),$(r)}function Ps(e){var t=Is("local"),n=Is("session"),r=Is("none");return zo(e.b,t,e.a).then(function(){return e.b.get(n,e.a)}).then(function(i){return i?n:e.b.get(r,e.a).then(function(n){return n?r:e.b.get(t,e.a).then(function(n){return n?t:e.b.get(sf,e.a).then(function(e){return e?Is(e):t})})})}).then(function(t){return e.c=t,As(e,t.A)}).s(function(){e.c||(e.c=t)})}function Is(e){return{name:"authUser",A:e}}function Rs(e){return Ls(e,function(){return e.b.set(sf,e.c.A,e.a)})}function Ns(e,t){return Ls(e,function(){return e.b.set(e.c,t.D(),e.a)})}function Ms(e){return Ls(e,function(){return Uo(e.b,e.c,e.a)})}function Ds(e,t){return Ls(e,function(){return e.b.get(e.c,e.a).then(function(e){return e&&t&&(e.authDomain=t),Ts(e||{})})})}function Ls(e,t){return e.f=e.f.then(t,t),e.f}function js(e){if(this.m=!1,xn(this,"settings",new Oa),xn(this,"app",e),!Zs(this).options||!Zs(this).options.apiKey)throw new Rn("invalid-api-key");e=r.a.SDK_VERSION?nn(r.a.SDK_VERSION):null,this.b=new bi(Zs(this).options&&Zs(this).options.apiKey,Gi(id),e),this.N=[],this.o=[],this.I=[],this.Sb=r.a.INTERNAL.createSubscribe(f(this.kc,this)),this.O=void 0,this.Tb=r.a.INTERNAL.createSubscribe(f(this.mc,this)),Gs(this,null),this.h=new Os(Zs(this).options.apiKey+":"+Zs(this).name),this.w=new xs(Zs(this).options.apiKey+":"+Zs(this).name),this.V=el(this,Vs(this)),this.i=el(this,Ks(this)),this.X=!1,this.ka=f(this.Lc,this),this.Ha=f(this.Z,this),this.qa=f(this.ac,this),this.ra=f(this.ic,this),this.sa=f(this.jc,this),Us(this),this.INTERNAL={},this.INTERNAL.delete=f(this.delete,this),this.INTERNAL.logFramework=f(this.sc,this),this.u=0,je.call(this),Fs(this),this.G=[]}function Ws(e){ye.call(this,"languageCodeChanged"),this.g=e}function Bs(e){ye.call(this,"frameworkChanged"),this.c=e}function Fs(e){Object.defineProperty(e,"lc",{get:function(){return this.ea()},set:function(e){this.oa(e)},enumerable:!1}),e.W=null}function zs(e){return e.Rb||X(new Rn("auth-domain-config-required"))}function Us(e){var t=Zs(e).options.authDomain,n=Zs(e).options.apiKey;t&&sn()&&(e.Rb=e.V.then(function(){if(!e.m){if(e.a=ya(t,n,Zs(e).name),e.a.subscribe(e),Xs(e)&&ts(Xs(e)),e.C){ts(e.C);var r=e.C;r.oa(e.ea()),qa(r,e),r=e.C,Va(r,e.G),Ka(r,e),e.C=null}return e.a}}))}function Hs(e,t){var n={};return n.apiKey=Zs(e).options.apiKey,n.authDomain=Zs(e).options.authDomain,n.appName=Zs(e).name,e.V.then(function(){return _s(n,t,e.w,e.xa())}).then(function(t){return Xs(e)&&t.uid==Xs(e).uid?(us(Xs(e),t),e.Z(t)):(Gs(e,t),ts(t),e.Z(t))}).then(function(){$s(e)})}function Gs(e,t){Xs(e)&&(Ja(Xs(e),e.Ha),Ae(Xs(e),"tokenChanged",e.qa),Ae(Xs(e),"userDeleted",e.ra),Ae(Xs(e),"userInvalidated",e.sa),Qa(Xs(e))),t&&(t.N.push(e.Ha),xe(t,"tokenChanged",e.qa),xe(t,"userDeleted",e.ra),xe(t,"userInvalidated",e.sa),0<e.u&&Xa(t)),xn(e,"currentUser",t),t&&(t.oa(e.ea()),qa(t,e),Va(t,e.G),Ka(t,e))}function qs(e){var t=Cs(e.w,Zs(e).options.authDomain).then(function(t){return(e.C=t)&&(t.ba=e.w),Ss(e.w)});return el(e,t)}function Vs(e){var t=Zs(e).options.authDomain,n=qs(e).then(function(){return Ds(e.h,t)}).then(function(t){return t?(t.ba=e.w,e.C&&(e.C.aa||null)==(t.aa||null)?t:t.reload().then(function(){return Ns(e.h,t).then(function(){return t})}).s(function(n){return"auth/network-request-failed"==n.code?t:Ms(e.h)})):null}).then(function(t){Gs(e,t||null)});return el(e,n)}function Ks(e){return e.V.then(function(){return e.fa()}).s(function(){}).then(function(){if(!e.m)return e.ka()}).s(function(){}).then(function(){if(!e.m){e.X=!0;var t=e.h;t.b.addListener(Is("local"),t.a,e.ka)}})}function Ys(e,t){var n=null,r=null;return el(e,t.then(function(t){return n=wr(t),r=Gn(t),Hs(e,t)}).then(function(){return Cn({user:Xs(e),credential:n,additionalUserInfo:r,operationType:"signIn"})}))}function Zs(e){return e.app}function Xs(e){return e.currentUser}function Qs(e){return Xs(e)&&Xs(e)._lat||null}function $s(e){if(e.X){for(var t=0;t<e.o.length;t++)e.o[t]&&e.o[t](Qs(e));if(e.O!==e.getUid()&&e.I.length)for(e.O=e.getUid(),t=0;t<e.I.length;t++)e.I[t]&&e.I[t](Qs(e))}}function Js(e,t){e.I.push(t),el(e,e.i.then(function(){!e.m&&C(e.I,t)&&e.O!==e.getUid()&&(e.O=e.getUid(),t(Qs(e)))}))}function el(e,t){return e.N.push(t),t.ia(function(){O(e.N,t)}),t}function tl(){}function nl(){this.a={},this.b=1e12}function rl(e,t){return(t=il(t))?e.a[t]||null:null}function il(e){return(e="undefined"===typeof e?1e12:e)?e.toString():null}function ol(e,t){this.g=!1,this.c=t,this.a=this.b=null,this.h="invisible"!==this.c.size,this.f=At(e);var n=this;this.i=function(){n.execute()},this.h?this.execute():xe(this.f,"click",this.i)}function al(e){if(e.g)throw Error("reCAPTCHA mock was already deleted!")}function sl(){}function ll(){this.b=Dl.grecaptcha?1/0:0,this.f=null,this.a="__rcb"+Math.floor(1e6*Math.random()).toString()}function ul(e,t,n,r,i,o,a){if(xn(this,"type","recaptcha"),this.c=this.f=null,this.C=!1,this.m=t,this.g=null,a?(uf||(uf=new sl),a=uf):(ff||(ff=new ll),a=ff),this.o=a,this.a=n||{theme:"light",type:"image"},this.h=[],this.a[mf])throw new Rn("argument-error","sitekey should not be provided for reCAPTCHA as one is automatically provisioned for the current project.");if(this.i="invisible"===this.a[gf],!Dl.document)throw new Rn("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment with DOM support.");if(!At(t)||!this.i&&At(t).hasChildNodes())throw new Rn("argument-error","reCAPTCHA container is either not found or already contains inner elements!");this.u=new bi(e,o||null,i||null),this.v=r||function(){return null};var s=this;this.l=[];var l=this.a[hf];this.a[hf]=function(e){if(cl(s,e),"function"===typeof l)l(e);else if("string"===typeof l){var t=on(l,Dl);"function"===typeof t&&t(e)}};var u=this.a[pf];this.a[pf]=function(){if(cl(s,null),"function"===typeof u)u();else if("string"===typeof u){var e=on(u,Dl);"function"===typeof e&&e()}}}function cl(e,t){for(var n=0;n<e.l.length;n++)try{e.l[n](t)}catch(e){}}function dl(e,t){A(e.l,function(e){return e==t})}function fl(e,t){return e.h.push(t),t.ia(function(){O(e.h,t)}),t}function hl(e){if(e.C)throw new Rn("internal-error","RecaptchaVerifier instance has been destroyed.")}function pl(e,t,n){var i=!1;try{this.b=n||r.a.app()}catch(e){throw new Rn("argument-error","No firebase.app.App instance is currently initialized.")}if(!this.b.options||!this.b.options.apiKey)throw new Rn("invalid-api-key");n=this.b.options.apiKey;var o=this,a=null;try{a=this.b.auth().xa()}catch(e){}try{i=this.b.auth().settings.appVerificationDisabledForTesting}catch(e){}a=r.a.SDK_VERSION?nn(r.a.SDK_VERSION,a):null,ul.call(this,n,e,t,function(){try{var e=o.b.auth().ea()}catch(t){e=null}return e},a,Gi(id),i)}function ml(e,t,n,r){e:{n=Array.prototype.slice.call(n);for(var i=0,o=!1,a=0;a<t.length;a++)if(t[a].optional)o=!0;else{if(o)throw new Rn("internal-error","Argument validator encountered a required argument after an optional argument.");i++}if(o=t.length,n.length<i||o<n.length)r="Expected "+(i==o?1==i?"1 argument":i+" arguments":i+"-"+o+" arguments")+" but got "+n.length+".";else{for(i=0;i<n.length;i++)if(o=t[i].optional&&void 0===n[i],!t[i].M(n[i])&&!o){if(t=t[i],0>i||i>=vf.length)throw new Rn("internal-error","Argument validator received an unsupported number of arguments.");n=vf[i],r=(r?"":n+" argument ")+(t.name?'"'+t.name+'" ':"")+"must be "+t.K+".";break e}r=null}}if(r)throw new Rn("argument-error",e+" failed: "+r)}function gl(t,n){return{name:t||"",K:"a valid string",optional:!!n,M:e}}function vl(e,n){return{name:e||"",K:"a boolean",optional:!!n,M:t}}function yl(e,t){return{name:e||"",K:"a valid object",optional:!!t,M:u}}function bl(e,t){return{name:e||"",K:"a function",optional:!!t,M:l}}function wl(e,t){return{name:e||"",K:"null",optional:!!t,M:o}}function El(){return{name:"",K:"an HTML element",optional:!1,M:function(e){return!!(e&&e instanceof Element)}}}function Tl(){return{name:"auth",K:"an instance of Firebase Auth",optional:!0,M:function(e){return!!(e&&e instanceof js)}}}function _l(){return{name:"app",K:"an instance of Firebase App",optional:!0,M:function(e){return!!(e&&e instanceof r.a.app.App)}}}function kl(e){return{name:e?e+"Credential":"credential",K:e?"a valid "+e+" credential":"a valid credential",optional:!1,M:function(t){if(!t)return!1;var n=!e||t.providerId===e;return!(!t.ya||!n)}}}function xl(){return{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}}function Sl(){return{name:"applicationVerifier",K:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,M:function(t){return!!(t&&e(t.type)&&l(t.verify))}}}function Cl(e,t,n,r){return{name:n||"",K:e.K+" or "+t.K,optional:!!r,M:function(n){return e.M(n)||t.M(n)}}}function Ol(e,t){for(var n in t){var r=t[n].name;e[r]=Il(r,e[n],t[n].j)}}function Al(e,t){for(var n in t){var r=t[n].name;r!==n&&Object.defineProperty(e,r,{get:h(function(e){return this[e]},n),set:h(function(e,t,n,r){ml(e,[n],[r],!0),this[t]=r},r,n,t[n].sb),enumerable:!0})}}function Pl(e,t,n,r){e[t]=Il(t,n,r)}function Il(e,t,n){function r(){var e=Array.prototype.slice.call(arguments);return ml(o,n,e),t.apply(this,e)}if(!n)return t;var i,o=Rl(e);for(i in t)r[i]=t[i];for(i in t.prototype)r.prototype[i]=t.prototype[i];return r}function Rl(e){return e=e.split("."),e[e.length-1]}var Nl,Ml=Ml||{},Dl=this,Ll="closure_uid_"+(1e9*Math.random()>>>0),jl=0,Wl=Date.now||function(){return+new Date};p(v,Error),v.prototype.name="CustomError",p(y,v),y.prototype.name="AssertionError",w.prototype.get=function(){if(0<this.b){this.b--;var e=this.a;this.a=e.next,e.next=null}else e=this.c();return e};var Bl=new w(function(){return new k},function(e){e.reset()});T.prototype.add=function(e,t){var n=Bl.get();n.set(e,t),this.b?this.b.next=n:this.a=n,this.b=n},k.prototype.set=function(e,t){this.a=e,this.b=t,this.next=null},k.prototype.reset=function(){this.next=this.b=this.a=null};var Fl,zl=Array.prototype.indexOf?function(e,t){return Array.prototype.indexOf.call(e,t,void 0)}:function(t,n){if(e(t))return e(n)&&1==n.length?t.indexOf(n,0):-1;for(var r=0;r<t.length;r++)if(r in t&&t[r]===n)return r;return-1},Ul=Array.prototype.forEach?function(e,t,n){Array.prototype.forEach.call(e,t,n)}:function(t,n,r){for(var i=t.length,o=e(t)?t.split(""):t,a=0;a<i;a++)a in o&&n.call(r,o[a],a,t)},Hl=Array.prototype.map?function(e,t){return Array.prototype.map.call(e,t,void 0)}:function(t,n){for(var r=t.length,i=Array(r),o=e(t)?t.split(""):t,a=0;a<r;a++)a in o&&(i[a]=n.call(void 0,o[a],a,t));return i},Gl=Array.prototype.some?function(e,t){return Array.prototype.some.call(e,t,void 0)}:function(t,n){for(var r=t.length,i=e(t)?t.split(""):t,o=0;o<r;o++)if(o in i&&n.call(void 0,i[o],o,t))return!0;return!1},ql=String.prototype.trim?function(e){return e.trim()}:function(e){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(e)[1]},Vl=/&/g,Kl=/</g,Yl=/>/g,Zl=/"/g,Xl=/'/g,Ql=/\x00/g,$l=/[\x00&<>"']/;e:{var Jl=Dl.navigator;if(Jl){var eu=Jl.userAgent;if(eu){Fl=eu;break e}}Fl=""}var tu,nu,ru="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),iu=!1,ou=new T,au=0,su=2,lu=3;K.prototype.reset=function(){this.f=this.b=this.g=this.a=null,this.c=!1};var uu=new w(function(){return new K},function(e){e.reset()});V.prototype.then=function(e,t,n){return ne(this,l(e)?e:null,l(t)?t:null,n)},m(V),Nl=V.prototype,Nl.ia=function(e,t){return e=Y(e,e,t),e.c=!0,te(this,e),this},Nl.s=function(e,t){return ne(this,null,e,t)},Nl.cancel=function(e){this.a==au&&H(function(){ee(this,new de(e))},this)},Nl.Mc=function(e){this.a=au,re(this,su,e)},Nl.Nc=function(e){this.a=au,re(this,lu,e)},Nl.Xb=function(){for(var e;e=se(this);)le(this,e,this.a,this.i);this.h=!1};var cu=z;p(de,v),de.prototype.name="cancel";var du=0,fu={};fe.prototype.pa=!1,fe.prototype.ua=function(){if(this.ja)for(;this.ja.length;)this.ja.shift()()},pe[" "]=n;var hu,pu=L("Opera"),mu=L("Trident")||L("MSIE"),gu=L("Edge"),vu=gu||mu,yu=L("Gecko")&&!(M(Fl.toLowerCase(),"webkit")&&!L("Edge"))&&!(L("Trident")||L("MSIE"))&&!L("Edge"),bu=M(Fl.toLowerCase(),"webkit")&&!L("Edge");e:{var wu="",Eu=function(){var e=Fl;return yu?/rv:([^\);]+)(\)|;)/.exec(e):gu?/Edge\/([\d\.]+)/.exec(e):mu?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(e):bu?/WebKit\/(\S+)/.exec(e):pu?/(?:Version)[ \/]?(\S+)/.exec(e):void 0}();if(Eu&&(wu=Eu?Eu[1]:""),mu){var Tu=ge();if(null!=Tu&&Tu>parseFloat(wu)){hu=String(Tu);break e}}hu=wu}var _u,ku={},xu=Dl.document;_u=xu&&mu?ge()||("CSS1Compat"==xu.compatMode?parseInt(hu,10):5):void 0;var Su=Object.freeze||function(e){return e},Cu=!mu||9<=Number(_u),Ou=mu&&!ve("9"),Au=function(){if(!Dl.addEventListener||!Object.defineProperty)return!1;var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}});return Dl.addEventListener("test",n,t),Dl.removeEventListener("test",n,t),e}();ye.prototype.preventDefault=function(){this.Jb=!1},p(be,ye);var Pu=Su({2:"touch",3:"pen",4:"mouse"});be.prototype.preventDefault=function(){be.nb.preventDefault.call(this);var e=this.a;if(e.preventDefault)e.preventDefault();else if(e.returnValue=!1,Ou)try{(e.ctrlKey||112<=e.keyCode&&123>=e.keyCode)&&(e.keyCode=-1)}catch(e){}},be.prototype.f=function(){return this.a};var Iu="closure_listenable_"+(1e6*Math.random()|0),Ru=0;Te.prototype.add=function(e,t,n,r,i){var o=e.toString();(e=this.a[o])||(e=this.a[o]=[],this.b++);var a=ke(e,t,r,i);return-1<a?(t=e[a],n||(t.Ia=!1)):(t=new we(t,this.src,o,!!r,i),t.Ia=n,e.push(t)),t};var Nu="closure_lm_"+(1e6*Math.random()|0),Mu={},Du=0,Lu="__closure_events_fn_"+(1e9*Math.random()>>>0);p(je,fe),je.prototype[Iu]=!0,je.prototype.addEventListener=function(e,t,n,r){xe(this,e,t,n,r)},je.prototype.removeEventListener=function(e,t,n,r){Ae(this,e,t,n,r)},je.prototype.dispatchEvent=function(t){var n,r=this.Ua;if(r)for(n=[];r;r=r.Ua)n.push(r);r=this.Qb;var i=t.type||t;if(e(t))t=new ye(t,r);else if(t instanceof ye)t.target=t.target||r;else{var o=t;t=new ye(i,r),F(t,o)}if(o=!0,n)for(var a=n.length-1;0<=a;a--){var s=t.b=n[a];o=Fe(s,i,!0,t)&&o}if(s=t.b=r,o=Fe(s,i,!0,t)&&o,o=Fe(s,i,!1,t)&&o,n)for(a=0;a<n.length;a++)s=t.b=n[a],o=Fe(s,i,!1,t)&&o;return o},je.prototype.ua=function(){if(je.nb.ua.call(this),this.l){var e,t=this.l,n=0;for(e in t.a){for(var r=t.a[e],i=0;i<r.length;i++)++n,Ee(r[i]);delete t.a[e],t.b--}}this.Ua=null},Nl=Ve.prototype,Nl.S=function(){Ke(this);for(var e=[],t=0;t<this.a.length;t++)e.push(this.b[this.a[t]]);return e},Nl.U=function(){return Ke(this),this.a.concat()},Nl.clear=function(){this.b={},this.c=this.a.length=0},Nl.get=function(e,t){return Ye(this.b,e)?this.b[e]:t},Nl.set=function(e,t){Ye(this.b,e)||(this.c++,this.a.push(e)),this.b[e]=t},Nl.forEach=function(e,t){for(var n=this.U(),r=0;r<n.length;r++){var i=n[r],o=this.get(i);e.call(t,o,i,this)}};var ju=/^(?:([^:\/?#.]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/#?]*?)(?::([0-9]+))?(?=[\/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;Xe.prototype.toString=function(){var e=[],t=this.c;t&&e.push(ot(t,Wu,!0),":");var n=this.b;return(n||"file"==t)&&(e.push("//"),(t=this.l)&&e.push(ot(t,Wu,!0),"@"),e.push(encodeURIComponent(String(n)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(n=this.i)&&e.push(":",String(n))),(n=this.g)&&(this.b&&"/"!=n.charAt(0)&&e.push("/"),e.push(ot(n,"/"==n.charAt(0)?Fu:Bu,!0))),(n=this.a.toString())&&e.push("?",n),(n=this.h)&&e.push("#",ot(n,Uu)),e.join("")};var Wu=/[#\/\?@]/g,Bu=/[#\?:]/g,Fu=/[#\?]/g,zu=/[#\?@]/g,Uu=/#/g;Nl=st.prototype,Nl.add=function(e,t){lt(this),this.c=null,e=ht(this,e);var n=this.a.get(e);return n||this.a.set(e,n=[]),n.push(t),this.b+=1,this},Nl.clear=function(){this.a=this.c=null,this.b=0},Nl.forEach=function(e,t){lt(this),this.a.forEach(function(n,r){Ul(n,function(n){e.call(t,n,r,this)},this)},this)},Nl.U=function(){lt(this);for(var e=this.a.S(),t=this.a.U(),n=[],r=0;r<t.length;r++)for(var i=e[r],o=0;o<i.length;o++)n.push(t[r]);return n},Nl.S=function(t){lt(this);var n=[];if(e(t))dt(this,t)&&(n=P(n,this.a.get(ht(this,t))));else{t=this.a.S();for(var r=0;r<t.length;r++)n=P(n,t[r])}return n},Nl.set=function(e,t){return lt(this),this.c=null,e=ht(this,e),dt(this,e)&&(this.b-=this.a.get(e).length),this.a.set(e,[t]),this.b+=1,this},Nl.get=function(e,t){return e=e?this.S(e):[],0<e.length?String(e[0]):t},Nl.toString=function(){if(this.c)return this.c;if(!this.a)return"";for(var e=[],t=this.a.U(),n=0;n<t.length;n++){var r=t[n],i=encodeURIComponent(String(r));r=this.S(r);for(var o=0;o<r.length;o++){var a=i;""!==r[o]&&(a+="="+encodeURIComponent(String(r[o]))),e.push(a)}}return this.c=e.join("&")};var Hu=!mu||9<=Number(_u);mt.prototype.ma=!0,mt.prototype.la=function(){return this.a},mt.prototype.toString=function(){return"Const{"+this.a+"}"};var Gu={};vt(""),yt.prototype.ma=!0,yt.prototype.la=function(){return this.a},yt.prototype.toString=function(){return"TrustedResourceUrl{"+this.a+"}"};var qu=/%{(\w+)}/g,Vu=/^(?:https:)?\/\/[0-9a-z.:[\]-]+\/|^\/[^\/\\]|^about:blank#/i,Ku={};Tt.prototype.ma=!0,Tt.prototype.la=function(){return this.a},Tt.prototype.toString=function(){return"SafeUrl{"+this.a+"}"};var Yu=/^(?:(?:https?|mailto|ftp):|[^:\/?#]*(?:[\/?#]|$))/i,Zu={};xt("about:blank"),St.prototype.ma=!0,St.prototype.la=function(){return this.a},St.prototype.toString=function(){return"SafeHtml{"+this.a+"}"};var Xu={};Ot("<!DOCTYPE html>"),Ot(""),Ot("<br>");var Qu={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},$u={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},Ju=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,ec=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,tc="Firefox",nc="Chrome",rc={Tc:"FirebaseCore-web",Vc:"FirebaseUI-web"};vn.prototype.get=function(){var e=Dl.navigator;return(e&&"boolean"===typeof e.onLine&&(ln()||"chrome-extension:"===un()||"undefined"!==typeof e.connection)?e.onLine:1)?this.b?this.c:this.a:Math.min(5e3,this.a)};var ic,oc={};try{var ac={};Object.defineProperty(ac,"abcd",{configurable:!0,enumerable:!0,value:1}),Object.defineProperty(ac,"abcd",{configurable:!0,enumerable:!0,value:2}),ic=2==ac.abcd}catch(e){ic=!1}var sc="EMAIL_SIGNIN",lc="email",uc="newEmail",cc="requestType",dc="email",fc="fromEmail",hc="data",pc="operation";p(Rn,Error),Rn.prototype.D=function(){return{code:this.code,message:this.message}},Rn.prototype.toJSON=function(){return this.D()};var mc="auth/",gc={"argument-error":"","app-not-authorized":"This app, identified by the domain where it's hosted, is not authorized to use Firebase Authentication with the provided API key. Review your key configuration in the Google API console.","app-not-installed":"The requested mobile application corresponding to the identifier (Android package name or iOS bundle ID) provided is not installed on this device.","captcha-check-failed":"The reCAPTCHA response token provided is either invalid, expired, already used or the domain associated with it does not match the list of whitelisted domains.","code-expired":"The SMS code has expired. Please re-send the verification code to try again.","cordova-not-ready":"Cordova framework is not ready.","cors-unsupported":"This browser is not supported.","credential-already-in-use":"This credential is already associated with a different user account.","custom-token-mismatch":"The custom token corresponds to a different audience.","requires-recent-login":"This operation is sensitive and requires recent authentication. Log in again before retrying this request.","dynamic-link-not-activated":"Please activate Dynamic Links in the Firebase Console and agree to the terms and conditions.","email-already-in-use":"The email address is already in use by another account.","expired-action-code":"The action code has expired. ","cancelled-popup-request":"This operation has been cancelled due to another conflicting popup being opened.","internal-error":"An internal error has occurred.","invalid-app-credential":"The phone verification request contains an invalid application verifier. The reCAPTCHA token response is either invalid or expired.","invalid-app-id":"The mobile app identifier is not registed for the current project.","invalid-user-token":"This user's credential isn't valid for this project. This can happen if the user's token has been tampered with, or if the user isn't for the project associated with this API key.","invalid-auth-event":"An internal error has occurred.","invalid-verification-code":"The SMS verification code used to create the phone auth credential is invalid. Please resend the verification code sms and be sure use the verification code provided by the user.","invalid-continue-uri":"The continue URL provided in the request is invalid.","invalid-cordova-configuration":"The following Cordova plugins must be installed to enable OAuth sign-in: cordova-plugin-buildinfo, cordova-universal-links-plugin, cordova-plugin-browsertab, cordova-plugin-inappbrowser and cordova-plugin-customurlscheme.","invalid-custom-token":"The custom token format is incorrect. Please check the documentation.","invalid-email":"The email address is badly formatted.","invalid-api-key":"Your API key is invalid, please check you have copied it correctly.","invalid-cert-hash":"The SHA-1 certificate hash provided is invalid.","invalid-credential":"The supplied auth credential is malformed or has expired.","invalid-persistence-type":"The specified persistence type is invalid. It can only be local, session or none.","invalid-message-payload":"The email template corresponding to this action contains invalid characters in its message. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-oauth-provider":"EmailAuthProvider is not supported for this operation. This operation only supports OAuth providers.","invalid-oauth-client-id":"The OAuth client ID provided is either invalid or does not match the specified API key.","unauthorized-domain":"This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.","invalid-action-code":"The action code is invalid. This can happen if the code is malformed, expired, or has already been used.","wrong-password":"The password is invalid or the user does not have a password.","invalid-phone-number":"The format of the phone number provided is incorrect. Please enter the phone number in a format that can be parsed into E.164 format. E.164 phone numbers are written in the format [+][country code][subscriber number including area code].","invalid-provider-id":"The specified provider ID is invalid.","invalid-recipient-email":"The email corresponding to this action failed to send as the provided recipient email address is invalid.","invalid-sender":"The email template corresponding to this action contains an invalid sender email or name. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-verification-id":"The verification ID used to create the phone auth credential is invalid.","missing-android-pkg-name":"An Android Package Name must be provided if the Android App is required to be installed.","auth-domain-config-required":"Be sure to include authDomain when calling firebase.initializeApp(), by following the instructions in the Firebase console.","missing-app-credential":"The phone verification request is missing an application verifier assertion. A reCAPTCHA response token needs to be provided.","missing-verification-code":"The phone auth credential was created with an empty SMS verification code.","missing-continue-uri":"A continue URL must be provided in the request.","missing-iframe-start":"An internal error has occurred.","missing-ios-bundle-id":"An iOS Bundle ID must be provided if an App Store ID is provided.","missing-phone-number":"To send verification codes, provide a phone number for the recipient.","missing-verification-id":"The phone auth credential was created with an empty verification ID.","app-deleted":"This instance of FirebaseApp has been deleted.","account-exists-with-different-credential":"An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.","network-request-failed":"A network error (such as timeout, interrupted connection or unreachable host) has occurred.","no-auth-event":"An internal error has occurred.","no-such-provider":"User was not linked to an account with the given provider.","null-user":"A null user object was provided as the argument for an operation which requires a non-null user object.","operation-not-allowed":"The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.","operation-not-supported-in-this-environment":'This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.',"popup-blocked":"Unable to establish a connection with the popup. It may have been blocked by the browser.","popup-closed-by-user":"The popup has been closed by the user before finalizing the operation.","provider-already-linked":"User can only be linked to one identity for the given provider.","quota-exceeded":"The project's quota for this operation has been exceeded.","redirect-cancelled-by-user":"The redirect operation has been cancelled by the user before finalizing.","redirect-operation-pending":"A redirect sign-in operation is already pending.",timeout:"The operation has timed out.","user-token-expired":"The user's credential is no longer valid. The user must sign in again.","too-many-requests":"We have blocked all requests from this device due to unusual activity. Try again later.","unauthorized-continue-uri":"The domain of the continue URL is not whitelisted.  Please whitelist the domain in the Firebase console.","unsupported-persistence-type":"The current environment does not support the specified persistence type.","user-cancelled":"User did not grant your application the permissions it requested.","user-not-found":"There is no user record corresponding to this identifier. The user may have been deleted.","user-disabled":"The user account has been disabled by an administrator.","user-mismatch":"The supplied credentials do not correspond to the previously signed in user.","user-signed-out":"","weak-password":"The password must be 6 characters long or more.","web-storage-unsupported":"This browser is not supported or 3rd party cookies and data may be disabled."},vc="android",yc="handleCodeInApp",bc="iOS",wc="url",Ec="installApp",Tc="minimumVersion",_c="packageName",kc="bundleId",xc=null,Sc=null;Fn.prototype.f=function(){return this.b};var Cc="oauth_consumer_key oauth_nonce oauth_signature oauth_signature_method oauth_timestamp oauth_token oauth_version".split(" "),Oc=["client_id","response_type","scope","redirect_uri","state"],Ac={Uc:{Ma:"locale",Ba:500,Aa:600,Na:"facebook.com",gb:Oc},Wc:{Ma:null,Ba:500,Aa:620,Na:"github.com",gb:Oc},Xc:{Ma:"hl",Ba:515,Aa:680,Na:"google.com",gb:Oc},cd:{Ma:"lang",Ba:485,Aa:705,Na:"twitter.com",gb:Cc}},Pc="idToken",Ic="providerId";p(Vn,qn),p(Kn,Vn),p(Yn,Vn),p(Zn,Vn),p(Xn,Vn),er.prototype.ya=function(e){return ji(e,tr(this))},er.prototype.c=function(e,t){var n=tr(this);return n.idToken=t,Wi(e,n)},er.prototype.f=function(e,t){return Jn(Bi(e,tr(this)),t)},er.prototype.D=function(){var e={providerId:this.providerId,signInMethod:this.signInMethod};return this.idToken&&(e.oauthIdToken=this.idToken),this.accessToken&&(e.oauthAccessToken=this.accessToken),this.secret&&(e.oauthTokenSecret=this.secret),e},nr.prototype.Da=function(e){return this.xb=B(e),this},p(rr,nr),rr.prototype.ta=function(e){return C(this.a,e)||this.a.push(e),this},rr.prototype.Db=function(){return I(this.a)},rr.prototype.credential=function(e,t){if(!e&&!t)throw new Rn("argument-error","credential failed: must provide the ID token and/or the access token.");return new er(this.providerId,{idToken:e||null,accessToken:t||null},this.providerId)},p(ir,rr),xn(ir,"PROVIDER_ID","facebook.com"),xn(ir,"FACEBOOK_SIGN_IN_METHOD","facebook.com"),p(ar,rr),xn(ar,"PROVIDER_ID","github.com"),xn(ar,"GITHUB_SIGN_IN_METHOD","github.com"),p(lr,rr),xn(lr,"PROVIDER_ID","google.com"),xn(lr,"GOOGLE_SIGN_IN_METHOD","google.com"),p(cr,nr),xn(cr,"PROVIDER_ID","twitter.com"),xn(cr,"TWITTER_SIGN_IN_METHOD","twitter.com"),fr.prototype.ya=function(e){return this.signInMethod==hr.EMAIL_LINK_SIGN_IN_METHOD?zi(e,dd,{email:this.a,oobCode:this.b}):zi(e,Od,{email:this.a,password:this.b})},fr.prototype.c=function(e,t){return this.signInMethod==hr.EMAIL_LINK_SIGN_IN_METHOD?zi(e,fd,{idToken:t,email:this.a,oobCode:this.b}):zi(e,Td,{idToken:t,email:this.a,password:this.b})},fr.prototype.f=function(e,t){return Jn(this.ya(e),t)},fr.prototype.D=function(){return{email:this.a,password:this.b,signInMethod:this.signInMethod}},Sn(hr,{PROVIDER_ID:"password"}),Sn(hr,{EMAIL_LINK_SIGN_IN_METHOD:"emailLink"}),Sn(hr,{EMAIL_PASSWORD_SIGN_IN_METHOD:"password"}),gr.prototype.ya=function(e){return e.Ta(vr(this))},gr.prototype.c=function(e,t){var n=vr(this);return n.idToken=t,zi(e,Pd,n)},gr.prototype.f=function(e,t){var n=vr(this);return n.operation="REAUTH",e=zi(e,Id,n),Jn(e,t)},gr.prototype.D=function(){var e={providerId:"phone"};return this.a.Sa&&(e.verificationId=this.a.Sa),this.a.Ra&&(e.verificationCode=this.a.Ra),this.a.Fa&&(e.temporaryProof=this.a.Fa),this.a.$&&(e.phoneNumber=this.a.$),e},yr.prototype.Ta=function(t,n){var r=this.a.b;return Z(n.verify()).then(function(i){if(!e(i))throw new Rn("argument-error","An implementation of firebase.auth.ApplicationVerifier.prototype.verify() must return a firebase.Promise that resolves with a string.");switch(n.type){case"recaptcha":return Ni(r,{phoneNumber:t,recaptchaToken:i}).then(function(e){return"function"===typeof n.reset&&n.reset(),e},function(e){throw"function"===typeof n.reset&&n.reset(),e});default:throw new Rn("argument-error",'Only firebase.auth.ApplicationVerifiers with type="recaptcha" are currently supported.')}})},Sn(yr,{PROVIDER_ID:"phone"}),Sn(yr,{PHONE_SIGN_IN_METHOD:"phone"}),Tr.prototype.D=function(){return{type:this.b,eventId:this.c,urlResponse:this.f,sessionId:this.g,error:this.a&&this.a.D()}};var Rc=null;kr.prototype.subscribe=function(e){var t=this;this.a.push(e),this.b||(this.b=function(e){for(var n=0;n<t.a.length;n++)t.a[n](e)},"function"===typeof(e=on("universalLinks.subscribe",Dl))&&e(null,this.b))},kr.prototype.unsubscribe=function(e){A(this.a,function(t){return t==e})},p(xr,Rn),p(Sr,Rn),Sr.prototype.D=function(){var e={code:this.code,message:this.message};this.email&&(e.email=this.email),this.phoneNumber&&(e.phoneNumber=this.phoneNumber);var t=this.credential&&this.credential.D();return t&&F(e,t),e},Sr.prototype.toJSON=function(){return this.D()};var Nc=/^[+a-zA-Z0-9_.!#$%&'*\/=?^`{|}~-]+@([a-zA-Z0-9-]+\.)+[a-zA-Z0-9]{2,63}$/;Or.prototype.c=null;var Mc;p(Pr,Or),Pr.prototype.a=function(){var e=Ir(this);return e?new ActiveXObject(e):new XMLHttpRequest},Pr.prototype.b=function(){var e={};return Ir(this)&&(e[0]=!0,e[1]=!0),e},Mc=new Pr,p(Rr,Or),Rr.prototype.a=function(){var e=new XMLHttpRequest;if("withCredentials"in e)return e;if("undefined"!=typeof XDomainRequest)return new Nr;throw Error("Unsupported browser")},Rr.prototype.b=function(){return{}},Nl=Nr.prototype,Nl.open=function(e,t,n){if(null!=n&&!n)throw Error("Only async requests are supported.");this.a.open(e,t)},Nl.send=function(e){if(e){if("string"!=typeof e)throw Error("Only string data is supported");this.a.send(e)}else this.a.send()},Nl.abort=function(){this.a.abort()},Nl.setRequestHeader=function(){},Nl.getResponseHeader=function(e){return"content-type"==e.toLowerCase()?this.a.contentType:""},Nl.dc=function(){this.status=200,this.responseText=this.a.responseText,Mr(this,4)},Nl.Eb=function(){this.status=500,this.responseText="",Mr(this,4)},Nl.hc=function(){this.Eb()},Nl.ec=function(){this.status=200,Mr(this,1)},Nl.getAllResponseHeaders=function(){return"content-type: "+this.a.contentType},Dr.prototype.a=null;var Dc=0;Dr.prototype.reset=function(e,t,n,r,i){"number"==typeof i||Dc++,r||Wl(),delete this.a},jr.prototype.toString=function(){return this.name};var Lc=new jr("SEVERE",1e3),jc=new jr("WARNING",900),Wc=new jr("CONFIG",700),Bc=new jr("FINE",500);Lr.prototype.log=function(e,t,n){if(e.value>=Wr(this).value)for(l(t)&&(t=t()),e=new Dr(e,String(t),this.f),n&&(e.a=n),n=this;n;)n=n.a};var Fc={},zc=null;p(zr,Or),zr.prototype.a=function(){return new Ur(this.f)},zr.prototype.b=function(e){return function(){return e}}({}),p(Ur,je);var Uc=0;Nl=Ur.prototype,Nl.open=function(e,t){if(this.readyState!=Uc)throw this.abort(),Error("Error reopening a connection");this.h=e,this.c=t,this.readyState=1,Hr(this)},Nl.send=function(e){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.a=!0;var t={headers:this.g,method:this.h,credentials:void 0,cache:void 0};e&&(t.body=e),this.i.fetch(new Request(this.c,t)).then(this.gc.bind(this),this.Fb.bind(this))},Nl.abort=function(){this.responseText="",this.g=new Headers,this.status=0,1<=this.readyState&&this.a&&4!=this.readyState&&(this.readyState=4,this.a=!1,Hr(this)),this.readyState=Uc},Nl.gc=function(e){this.a&&(this.b||(this.b=e.headers,this.readyState=2,Hr(this)),this.a&&(this.readyState=3,Hr(this),this.a&&e.text().then(this.fc.bind(this,e),this.Fb.bind(this))))},Nl.fc=function(e,t){this.a&&(this.status=e.status,this.statusText=e.statusText,this.responseText=t,this.readyState=4,Hr(this))},Nl.Fb=function(e){var t=this.f;t&&t.log(jc,"Failed to fetch url "+this.c,e instanceof Error?e:Error(e)),this.a&&(this.readyState=4,Hr(this))},Nl.setRequestHeader=function(e,t){this.g.append(e,t)},Nl.getResponseHeader=function(e){return this.b?this.b.get(e.toLowerCase())||"":((e=this.f)&&e.log(jc,"Attempting to get response header but no headers have been received for url: "+this.c,void 0),"")},Nl.getAllResponseHeaders=function(){if(!this.b){var e=this.f;return e&&e.log(jc,"Attempting to get all response headers but no headers have been received for url: "+this.c,void 0),""}e=[];for(var t=this.b.entries(),n=t.next();!n.done;)n=n.value,e.push(n[0]+": "+n[1]),n=t.next();return e.join("\r\n")},p(Gr,je);var Hc="";Gr.prototype.b=Br("goog.net.XhrIo");var Gc=/^https?$/i,qc=["POST","PUT"];Nl=Gr.prototype,Nl.Ga=function(){"undefined"!=typeof Ml&&this.a&&(this.h="Timed out after "+this.g+"ms, aborting",Fr(this.b,ni(this,this.h)),this.dispatchEvent("timeout"),this.abort(8))},Nl.abort=function(){this.a&&this.c&&(Fr(this.b,ni(this,"Aborting")),this.c=!1,this.f=!0,this.a.abort(),this.f=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Qr(this))},Nl.ua=function(){this.a&&(this.c&&(this.c=!1,this.f=!0,this.a.abort(),this.f=!1),Qr(this,!0)),Gr.nb.ua.call(this)},Nl.Ib=function(){this.pa||(this.I||this.i||this.f?Xr(this):this.vc())},Nl.vc=function(){Xr(this)},Nl.getResponse=function(){try{if(!this.a)return null;if("response"in this.a)return this.a.response;switch(this.o){case Hc:case"text":return this.a.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in this.a)return this.a.mozResponseArrayBuffer}var e=this.b;return e&&e.log(Lc,"Response type "+this.o+" is not supported on this browser",void 0),null}catch(e){return Fr(this.b,"Can not get response: "+e.message),null}},ri.prototype.cancel=function(e){if(this.a)this.c instanceof ri&&this.c.cancel();else{if(this.b){var t=this.b;delete this.b,e?t.cancel(e):0>=--t.l&&t.cancel()}this.v?this.v.call(this.u,this):this.m=!0,this.a||(e=new di(this),oi(this),ii(this,!1,e))}},ri.prototype.o=function(e,t){this.i=!1,ii(this,e,t)},ri.prototype.C=function(){oi(this),ii(this,!0,null)},ri.prototype.then=function(e,t,n){var r,i,o=new V(function(e,t){r=e,i=t});return si(this,r,function(e){e instanceof di?o.cancel():i(e)}),o.then(e,t,n)},m(ri),p(ci,v),ci.prototype.message="Deferred has already fired",ci.prototype.name="AlreadyCalledError",p(di,v),di.prototype.message="Deferred was canceled",di.prototype.name="CanceledError",fi.prototype.c=function(){throw delete Vc[this.a],this.b};var Vc={},Kc=0,Yc=1;p(vi,v),p(yi,Or),yi.prototype.a=function(){return new this.f},yi.prototype.b=function(){return{}};var Zc,Xc="idToken",Qc=new vn(3e4,6e4),$c={"Content-Type":"application/x-www-form-urlencoded"},Jc=new vn(3e4,6e4),ed={"Content-Type":"application/json"};bi.prototype.o=function(e,t,n,r,i,o){if(Qt()&&("undefined"===typeof Dl.fetch||"undefined"===typeof Dl.Headers||"undefined"===typeof Dl.Request))throw new Rn("operation-not-supported-in-this-environment","fetch, Headers and Request native APIs or equivalent Polyfills must be available to support HTTP requests from a Worker environment.");var a=new Gr(this.c);if(o){a.g=Math.max(0,o);var s=setTimeout(function(){a.dispatchEvent("timeout")},o)}We(a,"complete",function(){s&&clearTimeout(s);var e=null;try{e=JSON.parse(ti(this))||null}catch(t){e=null}t&&t(e)}),Be(a,"ready",function(){s&&clearTimeout(s),he(this)}),Be(a,"timeout",function(){s&&clearTimeout(s),he(this),t&&t(null)}),qr(a,e,n,r,i)};var td=vt("https://apis.google.com/js/client.js?onload=%{onload}"),nd="__fcb"+Math.floor(1e6*Math.random()).toString();bi.prototype.m=function(e,t,n,r,i){var o=this;Zc.then(function(){window.gapi.client.setApiKey(o.b);var a=window.gapi.auth.getToken();window.gapi.auth.setToken(null),window.gapi.client.request({path:e,method:n,body:r,headers:i,authType:"none",callback:function(e){window.gapi.auth.setToken(a),t&&t(e)}})}).s(function(e){t&&t({error:{message:e&&e.message||"CORS_UNSUPPORTED"}})})},bi.prototype.Pa=function(){return zi(this,_d,{})},bi.prototype.ob=function(e,t){return zi(this,Ed,{idToken:e,email:t})},bi.prototype.pb=function(e,t){return zi(this,Td,{idToken:e,password:t})};var rd={displayName:"DISPLAY_NAME",photoUrl:"PHOTO_URL"};Nl=bi.prototype,Nl.qb=function(e,t){var n={idToken:e},r=[];return j(rd,function(e,i){var o=t[i];null===o?r.push(e):i in t&&(n[i]=o)}),r.length&&(n.deleteAttribute=r),zi(this,Ed,n)},Nl.jb=function(e,t){return e={requestType:"PASSWORD_RESET",email:e},F(e,t),zi(this,gd,e)},Nl.kb=function(e,t){return e={requestType:"EMAIL_SIGNIN",email:e},F(e,t),zi(this,pd,e)},Nl.ib=function(e,t){return e={requestType:"VERIFY_EMAIL",idToken:e},F(e,t),zi(this,md,e)},Nl.Ta=function(e){return zi(this,Ad,e)},Nl.Ya=function(e,t){return zi(this,bd,{oobCode:e,newPassword:t})},Nl.Ja=function(e){return zi(this,ad,{oobCode:e})},Nl.Va=function(e){return zi(this,od,{oobCode:e})};var id,od={endpoint:"setAccountInfo",B:Fi,da:"email"},ad={endpoint:"resetPassword",B:Fi,J:function(e){var t=e.requestType;if(!t||!e.email&&"EMAIL_SIGNIN"!=t)throw new Rn("internal-error")}},sd={endpoint:"signupNewUser",B:function(e){if(Si(e),!e.password)throw new Rn("weak-password")},J:Ii,R:!0},ld={endpoint:"createAuthUri"},ud={endpoint:"deleteAccount",T:["idToken"]},cd={endpoint:"setAccountInfo",T:["idToken","deleteProvider"],B:function(e){if(!a(e.deleteProvider))throw new Rn("internal-error")}},dd={endpoint:"emailLinkSignin",T:["email","oobCode"],B:Si,J:Ii,R:!0},fd={endpoint:"emailLinkSignin",T:["idToken","email","oobCode"],B:Si,J:Ii,R:!0},hd={endpoint:"getAccountInfo"},pd={endpoint:"getOobConfirmationCode",T:["requestType"],B:function(e){if("EMAIL_SIGNIN"!=e.requestType)throw new Rn("internal-error");Si(e)},da:"email"},md={endpoint:"getOobConfirmationCode",T:["idToken","requestType"],B:function(e){if("VERIFY_EMAIL"!=e.requestType)throw new Rn("internal-error")},da:"email"},gd={endpoint:"getOobConfirmationCode",T:["requestType"],B:function(e){if("PASSWORD_RESET"!=e.requestType)throw new Rn("internal-error");Si(e)},da:"email"},vd={tb:!0,endpoint:"getProjectConfig",Hb:"GET"},yd={tb:!0,endpoint:"getRecaptchaParam",Hb:"GET",J:function(e){if(!e.recaptchaSiteKey)throw new Rn("internal-error")}},bd={endpoint:"resetPassword",B:Fi,da:"email"},wd={endpoint:"sendVerificationCode",T:["phoneNumber","recaptchaToken"],da:"sessionInfo"},Ed={endpoint:"setAccountInfo",T:["idToken"],B:Ci,R:!0},Td={endpoint:"setAccountInfo",T:["idToken"],B:function(e){if(Ci(e),!e.password)throw new Rn("weak-password")},J:Ii,R:!0},_d={endpoint:"signupNewUser",J:Ii,R:!0},kd={endpoint:"verifyAssertion",B:Di,J:Li,R:!0},xd={endpoint:"verifyAssertion",B:Di,J:function(e){if(e.errorMessage&&"USER_NOT_FOUND"==e.errorMessage)throw new Rn("user-not-found");if(e.errorMessage)throw Ui(e.errorMessage);if(!e[Xc])throw new Rn("internal-error")},R:!0},Sd={endpoint:"verifyAssertion",B:function(e){if(Di(e),!e.idToken)throw new Rn("internal-error")},J:Li,R:!0},Cd={endpoint:"verifyCustomToken",B:function(e){if(!e.token)throw new Rn("invalid-custom-token")},J:Ii,R:!0},Od={endpoint:"verifyPassword",B:function(e){if(Si(e),!e.password)throw new Rn("wrong-password")},J:Ii,R:!0},Ad={endpoint:"verifyPhoneNumber",B:Ri,J:Ii},Pd={endpoint:"verifyPhoneNumber",B:function(e){if(!e.idToken)throw new Rn("internal-error");Ri(e)},J:function(e){if(e.temporaryProof)throw e.code="credential-already-in-use",Cr(e);Ii(e)}},Id={Wb:{USER_NOT_FOUND:"user-not-found"},endpoint:"verifyPhoneNumber",B:Ri,J:Ii},Rd={Zc:{$a:"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",hb:"https://securetoken.googleapis.com/v1/token",id:"p"},ad:{$a:"https://staging-www.sandbox.googleapis.com/identitytoolkit/v3/relyingparty/",hb:"https://staging-securetoken.sandbox.googleapis.com/v1/token",id:"s"},bd:{$a:"https://www-googleapis-test.sandbox.google.com/identitytoolkit/v3/relyingparty/",hb:"https://test-securetoken.sandbox.googleapis.com/v1/token",id:"t"}};id=Gi("__EID__")?"__EID__":void 0;var Nd=vt("https://apis.google.com/js/api.js?onload=%{onload}"),Md=new vn(3e4,6e4),Dd=new vn(5e3,15e3),Ld=null;Xi.prototype.toString=function(){return this.f?et(this.a,"v",this.f):ct(this.a.a,"v"),this.b?et(this.a,"eid",this.b):ct(this.a.a,"eid"),this.c.length?et(this.a,"fw",this.c.join(",")):ct(this.a.a,"fw"),this.a.toString()},Qi.prototype.toString=function(){var e=rt(this.o,"/__/auth/handler");if(et(e,"apiKey",this.m),et(e,"appName",this.c),et(e,"authType",this.l),this.a.isOAuthProvider){var t=this.a;try{var n=r.a.app(this.c).auth().ea()}catch(e){n=null}t.Za=n,et(e,"providerId",this.a.providerId),t=this.a,n=fn(t.xb);for(var i in n)n[i]=n[i].toString();i=t.Cc,n=B(n);for(var o=0;o<i.length;o++){var a=i[o];a in n&&delete n[a]}t.bb&&t.Za&&!n[t.bb]&&(n[t.bb]=t.Za),W(n)||et(e,"customParameters",dn(n))}if("function"===typeof this.a.Db&&(t=this.a.Db(),t.length&&et(e,"scopes",t.join(","))),this.i?et(e,"redirectUrl",this.i):ct(e.a,"redirectUrl"),this.g?et(e,"eventId",this.g):ct(e.a,"eventId"),this.h?et(e,"v",this.h):ct(e.a,"v"),this.b)for(var s in this.b)this.b.hasOwnProperty(s)&&!tt(e,s)&&et(e,s,this.b[s]);return this.f?et(e,"eid",this.f):ct(e.a,"eid"),s=$i(this.c),s.length&&et(e,"fw",s.join(",")),e.toString()},Nl=Ji.prototype,Nl.Ea=function(e,t,n){var r=new Rn("popup-closed-by-user"),i=new Rn("web-storage-unsupported"),o=this,a=!1;return this.ga().then(function(){oo(o).then(function(n){n||(e&&Gt(e),t(i),a=!0)})}).s(function(){}).then(function(){if(!a)return Vt(e)}).then(function(){if(!a)return Ue(n).then(function(){t(r)})})},Nl.Lb=function(){var e=rn();return!cn(e)&&!mn(e)},Nl.Gb=function(){return!1},Nl.Bb=function(e,t,n,r,i,o,a){if(!e)return X(new Rn("popup-blocked"));if(a&&!cn())return this.ga().s(function(t){Gt(e),i(t)}),r(),Z();this.a||(this.a=eo(no(this)));var s=this;return this.a.then(function(){var t=s.ga().s(function(t){throw Gt(e),i(t),t});return r(),t}).then(function(){if(Er(n),!a){Ft(ro(s.m,s.f,s.b,t,n,null,o,s.c,void 0,s.h),e)}}).s(function(e){throw"auth/network-request-failed"==e.code&&(s.a=null),e})},Nl.Ca=function(e,t,n){this.a||(this.a=eo(no(this)));var r=this;return this.a.then(function(){Er(t),Ft(ro(r.m,r.f,r.b,e,t,Bt(),n,r.c,void 0,r.h))}).s(function(e){throw"auth/network-request-failed"==e.code&&(r.a=null),e})},Nl.ga=function(){var e=this;return to(this).then(function(){return e.i.eb}).s(function(){throw e.a=null,new Rn("network-request-failed")})},Nl.Pb=function(){return!0},Nl.va=function(e){this.g.push(e)},Nl.Ka=function(e){A(this.g,function(t){return t==e})},Nl=ao.prototype,Nl.get=function(e){return Z(this.a.getItem(e)).then(function(e){return e&&hn(e)})},Nl.set=function(e,t){return Z(this.a.setItem(e,dn(t)))},Nl.P=function(e){return Z(this.a.removeItem(e))},Nl.Y=function(){},Nl.ca=function(){};var jd=[];so.prototype.f=function(e){var t=e.data.eventType,n=e.data.eventId,r=this.a[t];if(r&&0<r.length){e.ports[0].postMessage({status:"ack",eventId:n,eventType:t,response:null});var i=[];Ul(r,function(t){i.push(Z().then(function(){return t(e.origin,e.data.data)}))}),J(i).then(function(r){var i=[];Ul(r,function(e){i.push({fulfilled:e.Cb,value:e.value,reason:e.reason?e.reason.message:void 0})}),Ul(i,function(e){for(var t in e)"undefined"===typeof e[t]&&delete e[t]}),e.ports[0].postMessage({status:"done",eventId:n,eventType:t,response:i})})}},so.prototype.subscribe=function(e,t){W(this.a)&&this.b.addEventListener("message",this.c),"undefined"===typeof this.a[e]&&(this.a[e]=[]),this.a[e].push(t)},so.prototype.unsubscribe=function(e,t){"undefined"!==typeof this.a[e]&&t?(A(this.a[e],function(e){return e==t}),0==this.a[e].length&&delete this.a[e]):t||delete this.a[e],W(this.a)&&this.b.removeEventListener("message",this.c)},uo.prototype.postMessage=function(e,t){this.a.postMessage(e,t)},co.prototype.close=function(){for(;0<this.a.length;)ho(this,this.a[0]);this.b=!0};var Wd;Nl=po.prototype,Nl.set=function(e,t){var n,r=!1,i=this;return vo(this).then(function(t){return n=t,t=bo(wo(n,!0)),Eo(t.get(e))}).then(function(o){var a=bo(wo(n,!0));return o?(o.value=t,Eo(a.put(o))):(i.b++,r=!0,o={},o.fbase_key=e,o.value=t,Eo(a.add(o)))}).then(function(){return i.c[e]=t,To(i,e)}).ia(function(){r&&i.b--})},Nl.get=function(e){return vo(this).then(function(t){return Eo(bo(wo(t,!1)).get(e))}).then(function(e){return e&&e.value})},Nl.P=function(e){var t=!1,n=this;return vo(this).then(function(r){return t=!0,n.b++,Eo(bo(wo(r,!0)).delete(e))}).then(function(){return delete n.c[e],To(n,e)}).ia(function(){t&&n.b--})},Nl.Y=function(e){0==this.a.length&&ko(this),this.a.push(e)},Nl.ca=function(e){A(this.a,function(t){return t==e}),0==this.a.length&&xo(this)},Nl=So.prototype,Nl.get=function(e){return this.b.then(function(t){return t.get(e)})},Nl.set=function(e,t){return this.b.then(function(n){return n.set(e,t)})},Nl.P=function(e){return this.b.then(function(t){return t.P(e)})},Nl.Y=function(e){this.a.push(e)},Nl.ca=function(e){A(this.a,function(t){return t==e})},Nl=Co.prototype,Nl.get=function(e){return Z(this.a[e])},Nl.set=function(e,t){return this.a[e]=t,Z()},Nl.P=function(e){return delete this.a[e],Z()},Nl.Y=function(){},Nl.ca=function(){},Nl=Oo.prototype,Nl.get=function(e){var t=this;return Z().then(function(){return hn(t.a.getItem(e))})},Nl.set=function(e,t){var n=this;return Z().then(function(){var r=dn(t);null===r?n.P(e):n.a.setItem(e,r)})},Nl.P=function(e){var t=this;return Z().then(function(){t.a.removeItem(e)})},Nl.Y=function(e){Dl.window&&xe(Dl.window,"storage",e)},Nl.ca=function(e){Dl.window&&Ae(Dl.window,"storage",e)},Nl=Io.prototype,Nl.get=function(){return Z(null)},Nl.set=function(){return Z()},Nl.P=function(){return Z()},Nl.Y=function(){},Nl.ca=function(){},Nl=Ro.prototype,Nl.get=function(e){var t=this;return Z().then(function(){return hn(t.a.getItem(e))})},Nl.set=function(e,t){var n=this;return Z().then(function(){var r=dn(t);null===r?n.P(e):n.a.setItem(e,r)})},Nl.P=function(e){var t=this;return Z().then(function(){t.a.removeItem(e)})},Nl.Y=function(){},Nl.ca=function(){};var Bd,Fd,zd={A:Oo,Qa:Ro},Ud={A:Oo,Qa:Ro},Hd={A:ao,Qa:Io},Gd={A:Oo,Qa:Io},qd={Yc:"local",NONE:"none",$c:"session"};Nl=jo.prototype,Nl.get=function(e,t){return Bo(this,e.A).get(Fo(e,t))},Nl.set=function(e,t,n){var r=Fo(e,n),i=this,o=Bo(this,e.A);return o.set(r,t).then(function(){return o.get(r)}).then(function(t){"local"==e.A&&(i.b[r]=t)})},Nl.addListener=function(e,t,n){e=Fo(e,t),this.l&&(this.b[e]=Dl.localStorage.getItem(e)),W(this.a)&&(Bo(this,"local").Y(this.f),this.h||(Wt()||!En())&&Dl.indexedDB||!this.l||Ho(this)),this.a[e]||(this.a[e]=[]),this.a[e].push(n)},Nl.removeListener=function(e,t,n){e=Fo(e,t),this.a[e]&&(A(this.a[e],function(e){return e==n}),0==this.a[e].length&&delete this.a[e]),W(this.a)&&(Bo(this,"local").ca(this.f),Go(this))},Nl.Ob=function(e){if(e&&e.f){var t=e.a.key;if(null==t)for(var n in this.a){var r=this.b[n];"undefined"===typeof r&&(r=null);var i=Dl.localStorage.getItem(n);i!==r&&(this.b[n]=i,this.Wa(n))}else if(0==t.indexOf("firebase:")&&this.a[t]){if("undefined"!==typeof e.a.a?Bo(this,"local").ca(this.f):Go(this),this.o)if(n=Dl.localStorage.getItem(t),(r=e.a.newValue)!==n)null!==r?Dl.localStorage.setItem(t,r):Dl.localStorage.removeItem(t);else if(this.b[t]===r&&"undefined"===typeof e.a.a)return;var o=this;n=function(){"undefined"===typeof e.a.a&&o.b[t]===Dl.localStorage.getItem(t)||(o.b[t]=Dl.localStorage.getItem(t),o.Wa(t))},mu&&_u&&10==_u&&Dl.localStorage.getItem(t)!==e.a.newValue&&e.a.newValue!==e.a.oldValue?setTimeout(n,10):n()}}else Ul(e,f(this.Wa,this))},Nl.Wa=function(e){this.a[e]&&Ul(this.a[e],function(e){e()})};var Vd,Kd={name:"authEvent",A:"local"};p(Zo,Yo);for(var Yd=64,Zd=Yd-1,Xd=[],Qd=0;Qd<Zd;Qd++)Xd[Qd]=0;var $d=P(128,Xd);Zo.prototype.reset=function(){this.g=this.c=0,this.a=Dl.Int32Array?new Int32Array(this.h):I(this.h)};var Jd=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];p($o,Zo);var ef=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];Nl=Jo.prototype,Nl.ga=function(){return this.za?this.za:this.za=Yt().then(function(){if("function"!==typeof on("universalLinks.subscribe",Dl))throw ea("cordova-universal-links-plugin is not installed");if("undefined"===typeof on("BuildInfo.packageName",Dl))throw ea("cordova-plugin-buildinfo is not installed");if("function"!==typeof on("cordova.plugins.browsertab.openUrl",Dl))throw ea("cordova-plugin-browsertab is not installed");if("function"!==typeof on("cordova.InAppBrowser.open",Dl))throw ea("cordova-plugin-inappbrowser is not installed")},function(){throw new Rn("cordova-not-ready")})},Nl.Ea=function(e,t){return t(new Rn("operation-not-supported-in-this-environment")),Z()},Nl.Bb=function(){return X(new Rn("operation-not-supported-in-this-environment"))},Nl.Pb=function(){return!1},Nl.Lb=function(){return!0},Nl.Gb=function(){return!0},Nl.Ca=function(e,t,n){if(this.c)return X(new Rn("redirect-operation-pending"));var r=this,i=Dl.document,o=null,a=null,s=null,l=null;return this.c=Z().then(function(){return Er(t),oa(r)}).then(function(){return ra(r,e,t,n)}).then(function(){return new V(function(e,t){a=function(){var t=on("cordova.plugins.browsertab.close",Dl);return e(),"function"===typeof t&&t(),r.a&&"function"===typeof r.a.close&&(r.a.close(),r.a=null),!1},r.va(a),s=function(){o||(o=Ue(2e3).then(function(){t(new Rn("redirect-cancelled-by-user"))}))},l=function(){yn()&&s()},i.addEventListener("resume",s,!1),rn().toLowerCase().match(/android/)||i.addEventListener("visibilitychange",l,!1)}).s(function(e){return aa(r).then(function(){throw e})})}).ia(function(){s&&i.removeEventListener("resume",s,!1),l&&i.removeEventListener("visibilitychange",l,!1),o&&o.cancel(),a&&r.Ka(a),r.c=null})},Nl.va=function(e){this.b.push(e),oa(this).s(function(t){"auth/invalid-cordova-configuration"===t.code&&(t=new Tr("unknown",null,null,null,new Rn("no-auth-event")),e(t))})},Nl.Ka=function(e){A(this.b,function(t){return t==e})};var tf={name:"pendingRedirect",A:"session"};Nl=fa.prototype,Nl.reset=function(){this.f=!1,this.a.Ka(this.i),this.a=ha(this.u,this.l,this.m)},Nl.Xa=function(){this.b.Xa()},Nl.subscribe=function(e){if(C(this.h,e)||this.h.push(e),!this.f){var t=this;da(this.g).then(function(e){e?ca(t.g).then(function(){pa(t).s(function(e){var n=new Tr("unknown",null,null,null,new Rn("operation-not-supported-in-this-environment"));va(e)&&t.ab(n)})}):ma(t)}).s(function(){ma(t)})}},Nl.unsubscribe=function(e){A(this.h,function(t){return t==e})},Nl.ab=function(e){if(!e)throw new Rn("invalid-auth-event");for(var t=!1,n=0;n<this.h.length;n++){var r=this.h[n];if(r.ub(e.b,e.c)){(t=this.c[e.b])&&t.h(e,r),t=!0;break}}return wa(this.b),t};var nf=new vn(2e3,1e4),rf=new vn(3e4,6e4);fa.prototype.fa=function(){return this.b.fa()},fa.prototype.Ca=function(e,t,n){var r,i=this;return ua(this.g).then(function(){return i.a.Ca(e,t,n).s(function(e){if(va(e))throw new Rn("operation-not-supported-in-this-environment");return r=e,ca(i.g).then(function(){throw r})}).then(function(){return i.a.Pb()?new V(function(){}):ca(i.g).then(function(){return i.fa()}).then(function(){}).s(function(){})})})},fa.prototype.Ea=function(e,t,n,r){return this.a.Ea(n,function(n){e.ha(t,null,n,r)},nf.get())};var of={};ba.prototype.reset=function(){this.b=null,this.a&&(this.a.cancel(),this.a=null)},ba.prototype.h=function(e,t){if(e){this.reset(),this.g=!0;var n=e.b,r=e.c,i=e.a&&"auth/web-storage-unsupported"==e.a.code,o=e.a&&"auth/operation-not-supported-in-this-environment"==e.a.code;this.i=!(!i&&!o),"unknown"!=n||i||o?e.a?(ka(this,!0,null,e.a),Z()):t.wa(n,r)?Ea(this,e,t):X(new Rn("invalid-auth-event")):(ka(this,!1,null,null),Z())}else X(new Rn("invalid-auth-event"))},ba.prototype.Xa=function(){this.g&&!this.i&&ka(this,!1,null,null)},ba.prototype.fa=function(){var e=this;return new V(function(t,n){e.b?e.b().then(t,n):(e.f.push(t),e.c.push(n),xa(e))})},Sa.prototype.h=function(e,t){if(e){var n=e.b,r=e.c;e.a?(t.ha(e.b,null,e.a,e.c),Z()):t.wa(n,r)?Ca(e,t):X(new Rn("invalid-auth-event"))}else X(new Rn("invalid-auth-event"))},Aa.prototype.confirm=function(e){return e=br(this.verificationId,e),this.a(e)},Ra.prototype.start=function(){this.a=this.c,Ma(this,!0)},Ra.prototype.stop=function(){this.b&&(this.b.cancel(),this.b=null)},Da.prototype.D=function(){return{apiKey:this.f.b,refreshToken:this.a,accessToken:this.b,expirationTime:this.c}},Da.prototype.getToken=function(e){return e=!!e,this.b&&!this.a?X(new Rn("user-token-expired")):e||!this.b||Wl()>this.c-3e4?this.a?Ba(this,{grant_type:"refresh_token",refresh_token:this.a}):Z(null):Z({accessToken:this.b,expirationTime:this.c,refreshToken:this.a})},Fa.prototype.D=function(){return{lastLoginAt:this.b,createdAt:this.a}},p(Ha,ye),p(Ga,je),Ga.prototype.oa=function(e){this.ka=e,wi(this.b,e)},Ga.prototype.ea=function(){return this.ka},Ga.prototype.xa=function(){return I(this.O)},Ga.prototype.Ha=function(){this.w.b&&(this.w.stop(),this.w.start())},xn(Ga.prototype,"providerId","firebase"),Nl=Ga.prototype,Nl.reload=function(){var e=this;return ws(this,is(this).then(function(){return cs(e).then(function(){return es(e)}).then(rs)}))},Nl.cc=function(e){return this.F(e).then(function(e){return new Ia(e)})},Nl.F=function(e){var t=this;return ws(this,is(this).then(function(){return t.h.getToken(e)}).then(function(e){if(!e)throw new Rn("internal-error");return e.accessToken!=t.qa&&($a(t,e.accessToken),t.dispatchEvent(new Ha("tokenChanged"))),ls(t,"refreshToken",e.refreshToken),e.accessToken}))},Nl.wc=function(e){if(!(e=e.users)||!e.length)throw new Rn("internal-error");e=e[0],ns(this,{uid:e.localId,displayName:e.displayName,photoURL:e.photoUrl,email:e.email,emailVerified:!!e.emailVerified,phoneNumber:e.phoneNumber,lastLoginAt:e.lastLoginAt,createdAt:e.createdAt});for(var t=hs(e),n=0;n<t.length;n++)as(this,t[n]);ls(this,"isAnonymous",!(this.email&&e.passwordHash)&&!(this.providerData&&this.providerData.length))},Nl.fb=function(e){var t=this,n=null;return ws(this,e.f(this.b,this.uid).then(function(e){return ds(t,e),n=ms(t,e,"reauthenticate"),t.i=null,t.reload()}).then(function(){return n}),!0)},Nl.xc=function(e){return kn("firebase.User.prototype.reauthenticateWithCredential is deprecated. Please use firebase.User.prototype.reauthenticateAndRetrieveDataWithCredential instead."),this.fb(e).then(function(){})},Nl.cb=function(e){var t=this,n=null;return ws(this,ps(this,e.providerId).then(function(){return t.F()}).then(function(n){return e.c(t.b,n)}).then(function(e){return n=ms(t,e,"link"),gs(t,e)}).then(function(){return n}))},Nl.oc=function(e){return kn("firebase.User.prototype.linkWithCredential is deprecated. Please use firebase.User.prototype.linkAndRetrieveDataWithCredential instead."),this.cb(e).then(function(e){return e.user})},Nl.pc=function(e,t){var n=this;return ws(this,ps(this,"phone").then(function(){return Pa(Ya(n),e,t,f(n.cb,n))}))},Nl.yc=function(e,t){var n=this;return ws(this,Z().then(function(){return Pa(Ya(n),e,t,f(n.fb,n))}),!0)},Nl.ob=function(e){var t=this;return ws(this,this.F().then(function(n){return t.b.ob(n,e)}).then(function(e){return ds(t,e),t.reload()}))},Nl.Qc=function(e){var t=this;return ws(this,this.F().then(function(n){return e.c(t.b,n)}).then(function(e){return ds(t,e),t.reload()}))},Nl.pb=function(e){var t=this;return ws(this,this.F().then(function(n){return t.b.pb(n,e)}).then(function(e){return ds(t,e),t.reload()}))},Nl.qb=function(e){if(void 0===e.displayName&&void 0===e.photoURL)return is(this);var t=this;return ws(this,this.F().then(function(n){return t.b.qb(n,{displayName:e.displayName,photoUrl:e.photoURL})}).then(function(e){return ds(t,e),ls(t,"displayName",e.displayName||null),ls(t,"photoURL",e.photoUrl||null),Ul(t.providerData,function(e){"password"===e.providerId&&(xn(e,"displayName",t.displayName),xn(e,"photoURL",t.photoURL))}),es(t)}).then(rs))},Nl.Oc=function(e){var t=this;return ws(this,cs(this).then(function(n){return C(os(t),e)?Mi(t.b,n,[e]).then(function(e){var n={};return Ul(e.providerUserInfo||[],function(e){n[e.providerId]=!0}),Ul(os(t),function(e){n[e]||ss(t,e)}),n[yr.PROVIDER_ID]||xn(t,"phoneNumber",null),es(t)}):es(t).then(function(){throw new Rn("no-such-provider")})}))},Nl.delete=function(){var e=this;return ws(this,this.F().then(function(t){return zi(e.b,ud,{idToken:t})}).then(function(){e.dispatchEvent(new Ha("userDeleted"))})).then(function(){for(var t=0;t<e.G.length;t++)e.G[t].cancel("app-deleted");qa(e,null),Ka(e,null),e.G=[],e.C=!0,Qa(e),xn(e,"refreshToken",null),e.a&&e.a.unsubscribe(e)})},Nl.ub=function(e,t){return!!("linkViaPopup"==e&&(this.g||null)==t&&this.f||"reauthViaPopup"==e&&(this.g||null)==t&&this.f||"linkViaRedirect"==e&&(this.aa||null)==t||"reauthViaRedirect"==e&&(this.aa||null)==t)},Nl.ha=function(e,t,n,r){"linkViaPopup"!=e&&"reauthViaPopup"!=e||r!=(this.g||null)||(n&&this.v?this.v(n):t&&!n&&this.f&&this.f(t),this.c&&(this.c.cancel(),this.c=null),delete this.f,delete this.v)},Nl.wa=function(e,t){return"linkViaPopup"==e&&t==(this.g||null)?f(this.zb,this):"reauthViaPopup"==e&&t==(this.g||null)?f(this.Ab,this):"linkViaRedirect"==e&&(this.aa||null)==t?f(this.zb,this):"reauthViaRedirect"==e&&(this.aa||null)==t?f(this.Ab,this):null},Nl.qc=function(e){var t=this;return vs(this,"linkViaPopup",e,function(){return ps(t,e.providerId).then(function(){return es(t)})},!1)},Nl.zc=function(e){return vs(this,"reauthViaPopup",e,function(){return Z()},!0)},Nl.rc=function(e){var t=this;return ys(this,"linkViaRedirect",e,function(){return ps(t,e.providerId)},!1)},Nl.Ac=function(e){return ys(this,"reauthViaRedirect",e,function(){return Z()},!0)},Nl.zb=function(e,t){var n=this;this.c&&(this.c.cancel(),this.c=null);var r=null;return ws(this,this.F().then(function(r){return Wi(n.b,{requestUri:e,sessionId:t,idToken:r})}).then(function(e){return r=ms(n,e,"link"),gs(n,e)}).then(function(){return r}))},Nl.Ab=function(e,t){var n=this;this.c&&(this.c.cancel(),this.c=null);var r=null;return ws(this,Z().then(function(){return Jn(Bi(n.b,{requestUri:e,sessionId:t}),n.uid)}).then(function(e){return r=ms(n,e,"reauthenticate"),ds(n,e),n.i=null,n.reload()}).then(function(){return r}),!0)},Nl.ib=function(e){var t=this,n=null;return ws(this,this.F().then(function(t){return n=t,"undefined"===typeof e||W(e)?{}:Dn(new Mn(e))}).then(function(e){return t.b.ib(n,e)}).then(function(e){if(t.email!=e)return t.reload()}).then(function(){}))},Nl.toJSON=function(){return this.D()},Nl.D=function(){var e={uid:this.uid,displayName:this.displayName,photoURL:this.photoURL,email:this.email,emailVerified:this.emailVerified,phoneNumber:this.phoneNumber,isAnonymous:this.isAnonymous,providerData:[],apiKey:this.m,appName:this.o,authDomain:this.u,stsTokenManager:this.h.D(),redirectEventId:this.aa||null};return this.metadata&&F(e,this.metadata.D()),Ul(this.providerData,function(t){e.providerData.push(On(t))}),e};var af={name:"redirectUser",A:"session"};Os.prototype.g=function(){var e=this,t=Is("local");Ls(this,function(){return Z().then(function(){return e.c&&"local"!=e.c.A?e.b.get(t,e.a):null}).then(function(n){if(n)return As(e,"local").then(function(){e.c=t})})})};var sf={name:"persistence",A:"session"};Os.prototype.lb=function(e){var t=null,n=this;return Lo(e),Ls(this,function(){return e!=n.c.A?n.b.get(n.c,n.a).then(function(r){return t=r,As(n,e)}).then(function(){if(n.c=Is(e),t)return n.b.set(n.c,t,n.a)}):Z()})},p(js,je),p(Ws,ye),p(Bs,ye),Nl=js.prototype,Nl.lb=function(e){return e=this.h.lb(e),el(this,e)},Nl.oa=function(e){this.W===e||this.m||(this.W=e,wi(this.b,this.W),this.dispatchEvent(new Ws(this.ea())))},Nl.ea=function(){return this.W},Nl.Rc=function(){var e=Dl.navigator;this.oa(e?e.languages&&e.languages[0]||e.language||e.userLanguage||null:null)},Nl.sc=function(e){this.G.push(e),Ei(this.b,r.a.SDK_VERSION?nn(r.a.SDK_VERSION,this.G):null),this.dispatchEvent(new Bs(this.G))},Nl.xa=function(){return I(this.G)},Nl.toJSON=function(){return{apiKey:Zs(this).options.apiKey,authDomain:Zs(this).options.authDomain,appName:Zs(this).name,currentUser:Xs(this)&&Xs(this).D()}},Nl.ub=function(e,t){switch(e){case"unknown":case"signInViaRedirect":return!0;case"signInViaPopup":return this.g==t&&!!this.f;default:return!1}},Nl.ha=function(e,t,n,r){"signInViaPopup"==e&&this.g==r&&(n&&this.v?this.v(n):t&&!n&&this.f&&this.f(t),this.c&&(this.c.cancel(),this.c=null),delete this.f,delete this.v)},Nl.wa=function(e,t){return"signInViaRedirect"==e||"signInViaPopup"==e&&this.g==t&&this.f?f(this.$b,this):null},Nl.$b=function(e,t){var n=this;e={requestUri:e,sessionId:t},this.c&&(this.c.cancel(),this.c=null);var r=null,i=null,o=ji(n.b,e).then(function(e){return r=wr(e),i=Gn(e),e});return e=n.V.then(function(){return o}).then(function(e){return Hs(n,e)}).then(function(){return Cn({user:Xs(n),credential:r,additionalUserInfo:i,operationType:"signIn"})}),el(this,e)},Nl.Jc=function(e){if(!sn())return X(new Rn("operation-not-supported-in-this-environment"));var t=this,n=Hn(e.providerId),i=pn(),o=null;(!cn()||Xt())&&Zs(this).options.authDomain&&e.isOAuthProvider&&(o=ro(Zs(this).options.authDomain,Zs(this).options.apiKey,Zs(this).name,"signInViaPopup",e,null,i,r.a.SDK_VERSION||null));var a=qt(o,n&&n.Ba,n&&n.Aa);return n=zs(this).then(function(t){return ga(t,a,"signInViaPopup",e,i,!!o)}).then(function(){return new V(function(e,n){t.ha("signInViaPopup",null,new Rn("cancelled-popup-request"),t.g),t.f=e,t.v=n,t.g=i,t.c=t.a.Ea(t,"signInViaPopup",a,i)})}).then(function(e){return a&&Gt(a),e?Cn(e):null}).s(function(e){throw a&&Gt(a),e}),el(this,n)},Nl.Kc=function(e){if(!sn())return X(new Rn("operation-not-supported-in-this-environment"));var t=this;return el(this,zs(this).then(function(){return Rs(t.h)}).then(function(){return t.a.Ca("signInViaRedirect",e)}))},Nl.fa=function(){if(!sn())return X(new Rn("operation-not-supported-in-this-environment"));var e=this;return el(this,zs(this).then(function(){return e.a.fa()}).then(function(e){return e?Cn(e):null}))},Nl.Pc=function(e){if(!e)return X(new Rn("null-user"));var t=this,n={};n.apiKey=Zs(this).options.apiKey,n.authDomain=Zs(this).options.authDomain,n.appName=Zs(this).name;var r=ks(e,n,t.w,t.xa());return el(this,this.i.then(function(){if(Zs(t).options.apiKey!=e.m)return r.reload()}).then(function(){return Xs(t)&&e.uid==Xs(t).uid?(us(Xs(t),e),t.Z(e)):(Gs(t,r),ts(r),t.Z(r))}).then(function(){$s(t)}))},Nl.mb=function(){var e=this;return el(this,this.i.then(function(){return Xs(e)?(Gs(e,null),Ms(e.h).then(function(){$s(e)})):Z()}))},Nl.Lc=function(){var e=this;return Ds(this.h,Zs(this).options.authDomain).then(function(t){if(!e.m){var n;if(n=Xs(e)&&t){n=Xs(e).uid;var r=t.uid;n=void 0!==n&&null!==n&&""!==n&&void 0!==r&&null!==r&&""!==r&&n==r}if(n)return us(Xs(e),t),Xs(e).F();(Xs(e)||t)&&(Gs(e,t),t&&(ts(t),t.ba=e.w),e.a&&e.a.subscribe(e),$s(e))}})},Nl.Z=function(e){return Ns(this.h,e)},Nl.ac=function(){$s(this),this.Z(Xs(this))},Nl.ic=function(){this.mb()},Nl.jc=function(){this.mb()},Nl.kc=function(e){var t=this;this.addAuthTokenListener(function(){e.next(Xs(t))})},Nl.mc=function(e){var t=this;Js(this,function(){e.next(Xs(t))})},Nl.uc=function(e,t,n){var i=this;return this.X&&r.a.Promise.resolve().then(function(){l(e)?e(Xs(i)):l(e.next)&&e.next(Xs(i))}),this.Sb(e,t,n)},Nl.tc=function(e,t,n){var i=this;return this.X&&r.a.Promise.resolve().then(function(){i.O=i.getUid(),l(e)?e(Xs(i)):l(e.next)&&e.next(Xs(i))}),this.Tb(e,t,n)},Nl.bc=function(e){var t=this;return el(this,this.i.then(function(){return Xs(t)?Xs(t).F(e).then(function(e){return{accessToken:e}}):null}))},Nl.Mb=function(e){var t=this;return this.i.then(function(){return Ys(t,zi(t.b,Cd,{token:e}))}).then(function(e){var n=e.user;return ls(n,"isAnonymous",!1),t.Z(n),e})},Nl.Dc=function(e){return kn("firebase.auth.Auth.prototype.signInAndRetrieveDataWithCustomToken is deprecated. Please use firebase.auth.Auth.prototype.signInWithCustomToken instead."),this.Mb(e)},Nl.Ec=function(e,t){return kn("firebase.auth.Auth.prototype.signInAndRetrieveDataWithEmailAndPassword is deprecated. Please use firebase.auth.Auth.prototype.signInWithEmailAndPassword instead."),this.Nb(e,t)},Nl.Nb=function(e,t){var n=this;return this.i.then(function(){return Ys(n,zi(n.b,Od,{email:e,password:t}))})},Nl.wb=function(e,t){var n=this;return this.i.then(function(){return Ys(n,zi(n.b,sd,{email:e,password:t}))})},Nl.Vb=function(e,t){return kn("firebase.auth.Auth.prototype.createUserAndRetrieveDataWithEmailAndPassword is deprecated. Please use firebase.auth.Auth.prototype.createUserWithEmailAndPassword instead."),this.wb(e,t)},Nl.Gc=function(e){return kn("firebase.auth.Auth.prototype.signInWithCredential is deprecated. Please use firebase.auth.Auth.prototype.signInAndRetrieveDataWithCredential instead."),this.Oa(e).then(function(e){return e.user})},Nl.Oa=function(e){var t=this;return this.i.then(function(){return Ys(t,e.ya(t.b))})},Nl.Pa=function(){var e=this;return this.i.then(function(){var t=Xs(e);if(t&&t.isAnonymous){return Cn({user:t,credential:null,additionalUserInfo:Cn({providerId:null,isNewUser:!1}),operationType:"signIn"})}return Ys(e,e.b.Pa()).then(function(t){var n=t.user;return ls(n,"isAnonymous",!0),e.Z(n),t})})},Nl.Fc=function(){return kn("firebase.auth.Auth.prototype.signInAnonymouslyAndRetrieveData is deprecated. Please use firebase.auth.Auth.prototype.signInAnonymously instead."),this.Pa()},Nl.getUid=function(){return Xs(this)&&Xs(this).uid||null},Nl.Ub=function(e){this.addAuthTokenListener(e),0<++this.u&&Xs(this)&&Xa(Xs(this))},Nl.Bc=function(e){var t=this;Ul(this.o,function(n){n==e&&t.u--}),0>this.u&&(this.u=0),0==this.u&&Xs(this)&&Qa(Xs(this)),this.removeAuthTokenListener(e)},Nl.addAuthTokenListener=function(e){var t=this;this.o.push(e),el(this,this.i.then(function(){t.m||C(t.o,e)&&e(Qs(t))}))},Nl.removeAuthTokenListener=function(e){A(this.o,function(t){return t==e})},Nl.delete=function(){this.m=!0;for(var e=0;e<this.N.length;e++)this.N[e].cancel("app-deleted");return this.N=[],this.h&&(e=this.h,e.b.removeListener(Is("local"),e.a,this.ka)),this.a&&(this.a.unsubscribe(this),this.a.Xa()),r.a.Promise.resolve()},Nl.Yb=function(e){return kn("firebase.auth.Auth.prototype.fetchProvidersForEmail is deprecated. Please use firebase.auth.Auth.prototype.fetchSignInMethodsForEmail instead."),el(this,Oi(this.b,e))},Nl.Zb=function(e){return el(this,Ai(this.b,e))},Nl.nc=function(e){return!!mr(e)},Nl.kb=function(e,t){var n=this;return el(this,Z().then(function(){var e=new Mn(t);if(!e.c)throw new Rn("argument-error",yc+" must be true when sending sign in link to email");return Dn(e)}).then(function(t){return n.b.kb(e,t)}).then(function(){}))},Nl.Sc=function(e){return this.Ja(e).then(function(e){return e.data.email})},Nl.Ya=function(e,t){return el(this,this.b.Ya(e,t).then(function(){}))},Nl.Ja=function(e){return el(this,this.b.Ja(e).then(function(e){return new In(e)}))},Nl.Va=function(e){return el(this,this.b.Va(e).then(function(){}))},Nl.jb=function(e,t){var n=this;return el(this,Z().then(function(){return"undefined"===typeof t||W(t)?{}:Dn(new Mn(t))}).then(function(t){return n.b.jb(e,t)}).then(function(){}))},Nl.Ic=function(e,t){return el(this,Pa(this,e,t,f(this.Oa,this)))},Nl.Hc=function(e,t){var n=this;return el(this,Z().then(function(){var r=pr(e,t||Bt());return n.Oa(r)}))},tl.prototype.render=function(){},tl.prototype.reset=function(){},tl.prototype.getResponse=function(){},tl.prototype.execute=function(){};var lf=null;nl.prototype.render=function(e,t){return this.a[this.b.toString()]=new ol(e,t),this.b++},nl.prototype.reset=function(e){var t=rl(this,e);e=il(e),t&&e&&(t.delete(),delete this.a[e])},nl.prototype.getResponse=function(e){return(e=rl(this,e))?e.getResponse():null},nl.prototype.execute=function(e){(e=rl(this,e))&&e.execute()},ol.prototype.getResponse=function(){return al(this),this.b},ol.prototype.execute=function(){al(this);var e=this;this.a||(this.a=setTimeout(function(){e.b=en();var t=e.c.callback,n=e.c["expired-callback"];if(t)try{t(e.b)}catch(e){}e.a=setTimeout(function(){if(e.a=null,e.b=null,n)try{n()}catch(e){}e.h&&e.execute()},6e4)},500))},ol.prototype.delete=function(){al(this),this.g=!0,clearTimeout(this.a),this.a=null,Ae(this.f,"click",this.i)},sl.prototype.g=function(){return lf||(lf=new nl),Z(lf)},sl.prototype.c=function(){};var uf=null,cf=vt("https://www.google.com/recaptcha/api.js?onload=%{onload}&render=explicit&hl=%{hl}"),df=new vn(3e4,6e4);ll.prototype.g=function(e){var t=this;return new V(function(n,r){var i=setTimeout(function(){r(new Rn("network-request-failed"))},df.get());if(!Dl.grecaptcha||e!==t.f&&!t.b){Dl[t.a]=function(){if(Dl.grecaptcha){t.f=e;var o=Dl.grecaptcha.render;Dl.grecaptcha.render=function(e,n){return e=o(e,n),t.b++,e},clearTimeout(i),n(Dl.grecaptcha)}else clearTimeout(i),r(new Rn("internal-error"));delete Dl[t.a]};Z(hi(wt(cf,{onload:t.a,hl:e||""}))).s(function(){clearTimeout(i),r(new Rn("internal-error","Unable to load external reCAPTCHA dependencies!"))})}else clearTimeout(i),n(Dl.grecaptcha)})},ll.prototype.c=function(){this.b--};var ff=null,hf="callback",pf="expired-callback",mf="sitekey",gf="size";Nl=ul.prototype,Nl.za=function(){var e=this;return this.f?this.f:this.f=fl(this,Z().then(function(){if(ln()&&!Qt())return Kt();throw new Rn("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment.")}).then(function(){return e.o.g(e.v())}).then(function(t){return e.g=t,zi(e.u,yd,{})}).then(function(t){e.a[mf]=t.recaptchaSiteKey}).s(function(t){throw e.f=null,t}))},Nl.render=function(){hl(this);var e=this;return fl(this,this.za().then(function(){if(null===e.c){var t=e.m;if(!e.i){var n=At(t);t=It("DIV"),n.appendChild(t)}e.c=e.g.render(t,e.a)}return e.c}))},Nl.verify=function(){hl(this);var e=this;return fl(this,this.render().then(function(t){return new V(function(n){var r=e.g.getResponse(t);if(r)n(r);else{var i=function(t){t&&(dl(e,i),n(t))};e.l.push(i),e.i&&e.g.execute(e.c)}})}))},Nl.reset=function(){hl(this),null!==this.c&&this.g.reset(this.c)},Nl.clear=function(){hl(this),this.C=!0,this.o.c();for(var e=0;e<this.h.length;e++)this.h[e].cancel("RecaptchaVerifier instance has been destroyed.");if(!this.i){e=At(this.m);for(var t;t=e.firstChild;)e.removeChild(t)}},p(pl,ul);var vf="First Second Third Fourth Fifth Sixth Seventh Eighth Ninth".split(" ");Ol(js.prototype,{Va:{name:"applyActionCode",j:[gl("code")]},Ja:{name:"checkActionCode",j:[gl("code")]},Ya:{name:"confirmPasswordReset",j:[gl("code"),gl("newPassword")]},wb:{name:"createUserWithEmailAndPassword",j:[gl("email"),gl("password")]},Vb:{name:"createUserAndRetrieveDataWithEmailAndPassword",j:[gl("email"),gl("password")]},Yb:{name:"fetchProvidersForEmail",j:[gl("email")]},Zb:{name:"fetchSignInMethodsForEmail",j:[gl("email")]},fa:{name:"getRedirectResult",j:[]},nc:{name:"isSignInWithEmailLink",j:[gl("emailLink")]},tc:{name:"onAuthStateChanged",j:[Cl(yl(),bl(),"nextOrObserver"),bl("opt_error",!0),bl("opt_completed",!0)]},uc:{name:"onIdTokenChanged",j:[Cl(yl(),bl(),"nextOrObserver"),bl("opt_error",!0),bl("opt_completed",!0)]},jb:{name:"sendPasswordResetEmail",j:[gl("email"),Cl(yl("opt_actionCodeSettings",!0),wl(null,!0),"opt_actionCodeSettings",!0)]},kb:{name:"sendSignInLinkToEmail",j:[gl("email"),yl("actionCodeSettings")]},lb:{name:"setPersistence",j:[gl("persistence")]},Oa:{name:"signInAndRetrieveDataWithCredential",j:[kl()]},Pa:{name:"signInAnonymously",j:[]},Fc:{name:"signInAnonymouslyAndRetrieveData",j:[]},Gc:{name:"signInWithCredential",j:[kl()]},Mb:{name:"signInWithCustomToken",j:[gl("token")]},Dc:{name:"signInAndRetrieveDataWithCustomToken",j:[gl("token")]},Nb:{name:"signInWithEmailAndPassword",j:[gl("email"),gl("password")]},Hc:{name:"signInWithEmailLink",j:[gl("email"),gl("emailLink",!0)]},Ec:{name:"signInAndRetrieveDataWithEmailAndPassword",j:[gl("email"),gl("password")]},Ic:{name:"signInWithPhoneNumber",j:[gl("phoneNumber"),Sl()]},Jc:{name:"signInWithPopup",j:[xl()]},Kc:{name:"signInWithRedirect",j:[xl()]},Pc:{name:"updateCurrentUser",j:[Cl(function(e){return{name:"user",K:"an instance of Firebase User",optional:!1,M:function(e){return!!(e&&e instanceof Ga)}}}(),wl(),"user")]},mb:{name:"signOut",j:[]},toJSON:{name:"toJSON",j:[gl(null,!0)]},Rc:{name:"useDeviceLanguage",j:[]},Sc:{name:"verifyPasswordResetCode",j:[gl("code")]}}),Al(js.prototype,{lc:{name:"languageCode",sb:Cl(gl(),wl(),"languageCode")}}),js.Persistence=qd,js.Persistence.LOCAL="local",js.Persistence.SESSION="session",js.Persistence.NONE="none",Ol(Ga.prototype,{delete:{name:"delete",j:[]},cc:{name:"getIdTokenResult",j:[vl("opt_forceRefresh",!0)]},F:{name:"getIdToken",j:[vl("opt_forceRefresh",!0)]},cb:{name:"linkAndRetrieveDataWithCredential",j:[kl()]},oc:{name:"linkWithCredential",j:[kl()]},pc:{name:"linkWithPhoneNumber",j:[gl("phoneNumber"),Sl()]},qc:{name:"linkWithPopup",j:[xl()]},rc:{name:"linkWithRedirect",j:[xl()]},fb:{name:"reauthenticateAndRetrieveDataWithCredential",j:[kl()]},xc:{name:"reauthenticateWithCredential",j:[kl()]},yc:{name:"reauthenticateWithPhoneNumber",j:[gl("phoneNumber"),Sl()]},zc:{name:"reauthenticateWithPopup",j:[xl()]},Ac:{name:"reauthenticateWithRedirect",j:[xl()]},reload:{name:"reload",j:[]},ib:{name:"sendEmailVerification",j:[Cl(yl("opt_actionCodeSettings",!0),wl(null,!0),"opt_actionCodeSettings",!0)]},toJSON:{name:"toJSON",j:[gl(null,!0)]},Oc:{name:"unlink",j:[gl("provider")]},ob:{name:"updateEmail",j:[gl("email")]},pb:{name:"updatePassword",j:[gl("password")]},Qc:{name:"updatePhoneNumber",j:[kl("phone")]},qb:{name:"updateProfile",j:[yl("profile")]}}),Ol(nl.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),Ol(tl.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),Ol(V.prototype,{ia:{name:"finally"},s:{name:"catch"},then:{name:"then"}}),Al(Oa.prototype,{appVerificationDisabled:{name:"appVerificationDisabledForTesting",sb:vl("appVerificationDisabledForTesting")}}),Ol(Aa.prototype,{confirm:{name:"confirm",j:[gl("verificationCode")]}}),Pl(hr,"credential",function(e,t){return new fr(e,t)},[gl("email"),gl("password")]),Ol(ir.prototype,{ta:{name:"addScope",j:[gl("scope")]},Da:{name:"setCustomParameters",j:[yl("customOAuthParameters")]}}),Pl(ir,"credential",or,[Cl(gl(),yl(),"token")]),Pl(hr,"credentialWithLink",pr,[gl("email"),gl("emailLink")]),Ol(ar.prototype,{ta:{name:"addScope",j:[gl("scope")]},Da:{name:"setCustomParameters",j:[yl("customOAuthParameters")]}}),Pl(ar,"credential",sr,[Cl(gl(),yl(),"token")]),Ol(lr.prototype,{ta:{name:"addScope",j:[gl("scope")]},Da:{name:"setCustomParameters",j:[yl("customOAuthParameters")]}}),Pl(lr,"credential",ur,[Cl(gl(),Cl(yl(),wl()),"idToken"),Cl(gl(),wl(),"accessToken",!0)]),Ol(cr.prototype,{Da:{name:"setCustomParameters",j:[yl("customOAuthParameters")]}}),Pl(cr,"credential",dr,[Cl(gl(),yl(),"token"),gl("secret",!0)]),Ol(rr.prototype,{ta:{name:"addScope",j:[gl("scope")]},credential:{name:"credential",j:[Cl(gl(),wl(),"idToken",!0),Cl(gl(),wl(),"accessToken",!0)]},Da:{name:"setCustomParameters",j:[yl("customOAuthParameters")]}}),Pl(yr,"credential",br,[gl("verificationId"),gl("verificationCode")]),Ol(yr.prototype,{Ta:{name:"verifyPhoneNumber",j:[gl("phoneNumber"),Sl()]}}),Ol(Rn.prototype,{toJSON:{name:"toJSON",j:[gl(null,!0)]}}),Ol(Sr.prototype,{toJSON:{name:"toJSON",j:[gl(null,!0)]}}),Ol(xr.prototype,{toJSON:{name:"toJSON",j:[gl(null,!0)]}}),Ol(pl.prototype,{clear:{name:"clear",j:[]},render:{name:"render",j:[]},verify:{name:"verify",j:[]}}),function(){if("undefined"===typeof r.a||!r.a.INTERNAL||!r.a.INTERNAL.registerService)throw Error("Cannot find the firebase namespace; be sure to include firebase-app.js before this library.");var e={Auth:js,Error:Rn};Pl(e,"EmailAuthProvider",hr,[]),Pl(e,"FacebookAuthProvider",ir,[]),Pl(e,"GithubAuthProvider",ar,[]),Pl(e,"GoogleAuthProvider",lr,[]),Pl(e,"TwitterAuthProvider",cr,[]),Pl(e,"OAuthProvider",rr,[gl("providerId")]),Pl(e,"PhoneAuthProvider",yr,[Tl()]),Pl(e,"RecaptchaVerifier",pl,[Cl(gl(),El(),"recaptchaContainer"),yl("recaptchaParameters",!0),_l()]),r.a.INTERNAL.registerService("auth",function(e,t){return e=new js(e),t({INTERNAL:{getUid:f(e.getUid,e),getToken:f(e.bc,e),addAuthTokenListener:f(e.Ub,e),removeAuthTokenListener:f(e.Bc,e)}}),e},e,function(e,t){if("create"===e)try{t.auth()}catch(e){}}),r.a.INTERNAL.extendNamespace({User:Ga})}()}).call("undefined"!==typeof e?e:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})}).call(t,n(18))},function(e,t,n){"use strict";var r=n(854);n.n(r)},function(e,t,n){"use strict";(function(r){function i(e){for(var t="",n=e.split("/"),r=0;r<n.length;r++)if(n[r].length>0){var i=n[r];try{i=decodeURIComponent(i.replace(/\+/g," "))}catch(e){}t+="/"+i}return t}function o(e){var t={};"?"===e.charAt(0)&&(e=e.substring(1));for(var n=0,r=e.split("&");n<r.length;n++){var i=r[n];if(0!==i.length){var o=i.split("=");2===o.length?t[decodeURIComponent(o[0])]=decodeURIComponent(o[1]):j("Invalid query segment '"+i+"' in query '"+e+"'")}}return t}function a(e,t){return H(e.name,t.name)}function s(e,t){return H(e,t)}function l(e,t){if(void 0===t&&(t=null),null===e)return Ze.EMPTY_NODE;if("object"===typeof e&&".priority"in e&&(t=e[".priority"]),v.assert(null===t||"string"===typeof t||"number"===typeof t||"object"===typeof t&&".sv"in t,"Invalid priority type found: "+typeof t),"object"===typeof e&&".value"in e&&null!==e[".value"]&&(e=e[".value"]),"object"!==typeof e||".sv"in e){return new je(e,l(t))}if(e instanceof Array||!$e){var n=Ze.EMPTY_NODE,r=e;return v.forEach(r,function(e,t){if(v.contains(r,e)&&"."!==e.substring(0,1)){var i=l(t);!i.isLeafNode()&&i.isEmpty()||(n=n.updateImmediateChild(e,i))}}),n.updatePriority(l(t))}var i=[],o=!1,u=e;if(v.forEach(u,function(e,t){if("string"!==typeof e||"."!==e.substring(0,1)){var n=l(u[e]);n.isEmpty()||(o=o||!n.getPriority().isEmpty(),i.push(new Ie(e,n)))}}),0==i.length)return Ze.EMPTY_NODE;var c=Ve(i,a,function(e){return e.name},s);if(o){var d=Ve(i,Be.getCompare());return new Ze(c,l(t),new Ye({".priority":d},{".priority":Be}))}return new Ze(c,l(t),Ye.Default)}function u(t){var n=t.INTERNAL.registerService("database",function(e,t,n){return xn.getInstance().databaseFromApp(e,n)},{Reference:wn,Query:ut,Database:Sn,enableLogging:R,INTERNAL:Ln,ServerValue:qn,TEST_ACCESS:Gn},null,!0);v.isNodeSdk()&&(e.exports=n)}Object.defineProperty(t,"__esModule",{value:!0});var c,d,f,h,p,m,g,v=n(149),y=n(855),b=n(150),w=function(e){return e&&"object"===typeof e&&"default"in e?e.default:e}(n(95)),E=function(){function e(e){this.domStorage_=e,this.prefix_="firebase:"}return e.prototype.set=function(e,t){null==t?this.domStorage_.removeItem(this.prefixedName_(e)):this.domStorage_.setItem(this.prefixedName_(e),v.stringify(t))},e.prototype.get=function(e){var t=this.domStorage_.getItem(this.prefixedName_(e));return null==t?null:v.jsonEval(t)},e.prototype.remove=function(e){this.domStorage_.removeItem(this.prefixedName_(e))},e.prototype.prefixedName_=function(e){return this.prefix_+e},e.prototype.toString=function(){return this.domStorage_.toString()},e}(),T=function(){function e(){this.cache_={},this.isInMemoryStorage=!0}return e.prototype.set=function(e,t){null==t?delete this.cache_[e]:this.cache_[e]=t},e.prototype.get=function(e){return v.contains(this.cache_,e)?this.cache_[e]:null},e.prototype.remove=function(e){delete this.cache_[e]},e}(),_=function(e){try{if("undefined"!==typeof window&&"undefined"!==typeof window[e]){var t=window[e];return t.setItem("firebase:sentinel","cache"),t.removeItem("firebase:sentinel"),new E(t)}}catch(e){}return new T},k=_("localStorage"),x=_("sessionStorage"),S=new y.Logger("@firebase/database"),C=function(){var e=1;return function(){return e++}}(),O=function(e){var t=v.stringToByteArray(e),n=new v.Sha1;n.update(t);var r=n.digest();return v.base64.encodeByteArray(r)},A=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",r=0;r<e.length;r++)Array.isArray(e[r])||e[r]&&"object"===typeof e[r]&&"number"===typeof e[r].length?n+=A.apply(null,e[r]):"object"===typeof e[r]?n+=v.stringify(e[r]):n+=e[r],n+=" ";return n},P=null,I=!0,R=function(e,t){v.assert(!t||!0===e||!1===e,"Can't turn on custom loggers persistently."),!0===e?(S.logLevel=y.LogLevel.VERBOSE,P=S.log.bind(S),t&&x.set("logging_enabled",!0)):"function"===typeof e?P=e:(P=null,x.remove("logging_enabled"))},N=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!0===I&&(I=!1,null===P&&!0===x.get("logging_enabled")&&R(!0)),P){var n=A.apply(null,e);P(n)}},M=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];N.apply(void 0,[e].concat(t))}},D=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="FIREBASE INTERNAL ERROR: "+A.apply(void 0,e);S.error(n)},L=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="FIREBASE FATAL ERROR: "+A.apply(void 0,e);throw S.error(n),new Error(n)},j=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="FIREBASE WARNING: "+A.apply(void 0,e);S.warn(n)},W=function(){"undefined"!==typeof window&&window.location&&window.location.protocol&&-1!==window.location.protocol.indexOf("https:")&&j("Insecure Firebase access from a secure page. Please use https in calls to new Firebase().")},B=function(e){return"number"===typeof e&&(e!=e||e==Number.POSITIVE_INFINITY||e==Number.NEGATIVE_INFINITY)},F=function(e){if(v.isNodeSdk()||"complete"===document.readyState)e();else{var t=!1,n=function(){if(!document.body)return void setTimeout(n,Math.floor(10));t||(t=!0,e())};document.addEventListener?(document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",n,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&n()}),window.attachEvent("onload",n))}},z="[MIN_NAME]",U="[MAX_NAME]",H=function(e,t){if(e===t)return 0;if(e===z||t===U)return-1;if(t===z||e===U)return 1;var n=ee(e),r=ee(t);return null!==n?null!==r?n-r==0?e.length-t.length:n-r:-1:null!==r?1:e<t?-1:1},G=function(e,t){return e===t?0:e<t?-1:1},q=function(e,t){if(t&&e in t)return t[e];throw new Error("Missing required key ("+e+") in object: "+v.stringify(t))},V=function(e){if("object"!==typeof e||null===e)return v.stringify(e);var t=[];for(var n in e)t.push(n);t.sort();for(var r="{",i=0;i<t.length;i++)0!==i&&(r+=","),r+=v.stringify(t[i]),r+=":",r+=V(e[t[i]]);return r+="}"},K=function(e,t){var n=e.length;if(n<=t)return[e];for(var r=[],i=0;i<n;i+=t)i+t>n?r.push(e.substring(i,n)):r.push(e.substring(i,i+t));return r},Y=function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;++n)t(n,e[n]);else v.forEach(e,function(e,n){return t(n,e)})},Z=function(e){v.assert(!B(e),"Invalid JSON number");var t,n,r,i,o,a,s;for(0===e?(n=0,r=0,t=1/e===-1/0?1:0):(t=e<0,e=Math.abs(e),e>=Math.pow(2,-1022)?(i=Math.min(Math.floor(Math.log(e)/Math.LN2),1023),n=i+1023,r=Math.round(e*Math.pow(2,52-i)-Math.pow(2,52))):(n=0,r=Math.round(e/Math.pow(2,-1074)))),a=[],o=52;o;o-=1)a.push(r%2?1:0),r=Math.floor(r/2);for(o=11;o;o-=1)a.push(n%2?1:0),n=Math.floor(n/2);a.push(t?1:0),a.reverse(),s=a.join("");var l="";for(o=0;o<64;o+=8){var u=parseInt(s.substr(o,8),2).toString(16);1===u.length&&(u="0"+u),l+=u}return l.toLowerCase()},X=function(){return!("object"!==typeof window||!window.chrome||!window.chrome.extension||/^chrome/.test(window.location.href))},Q=function(){return"object"===typeof Windows&&"object"===typeof Windows.UI},$=function(e,t){var n="Unknown Error";"too_big"===e?n="The data requested exceeds the maximum size that can be accessed with a single request.":"permission_denied"==e?n="Client doesn't have permission to access the desired data.":"unavailable"==e&&(n="The service is unavailable");var r=new Error(e+" at "+t.path.toString()+": "+n);return r.code=e.toUpperCase(),r},J=new RegExp("^-?\\d{1,10}$"),ee=function(e){if(J.test(e)){var t=Number(e);if(t>=-2147483648&&t<=2147483647)return t}return null},te=function(e){try{e()}catch(e){setTimeout(function(){var t=e.stack||"";throw j("Exception was thrown by user callback.",t),e},Math.floor(0))}},ne=function(){return("object"===typeof window&&window.navigator&&window.navigator.userAgent||"").search(/googlebot|google webmaster tools|bingbot|yahoo! slurp|baiduspider|yandexbot|duckduckbot/i)>=0},re=function(e,t){var n=setTimeout(e,t);return"object"===typeof n&&n.unref&&n.unref(),n},ie=function(){function e(e,t){if(void 0===t){this.pieces_=e.split("/");for(var n=0,r=0;r<this.pieces_.length;r++)this.pieces_[r].length>0&&(this.pieces_[n]=this.pieces_[r],n++);this.pieces_.length=n,this.pieceNum_=0}else this.pieces_=e,this.pieceNum_=t}return Object.defineProperty(e,"Empty",{get:function(){return new e("")},enumerable:!0,configurable:!0}),e.prototype.getFront=function(){return this.pieceNum_>=this.pieces_.length?null:this.pieces_[this.pieceNum_]},e.prototype.getLength=function(){return this.pieces_.length-this.pieceNum_},e.prototype.popFront=function(){var t=this.pieceNum_;return t<this.pieces_.length&&t++,new e(this.pieces_,t)},e.prototype.getBack=function(){return this.pieceNum_<this.pieces_.length?this.pieces_[this.pieces_.length-1]:null},e.prototype.toString=function(){for(var e="",t=this.pieceNum_;t<this.pieces_.length;t++)""!==this.pieces_[t]&&(e+="/"+this.pieces_[t]);return e||"/"},e.prototype.toUrlEncodedString=function(){for(var e="",t=this.pieceNum_;t<this.pieces_.length;t++)""!==this.pieces_[t]&&(e+="/"+encodeURIComponent(String(this.pieces_[t])));return e||"/"},e.prototype.slice=function(e){return void 0===e&&(e=0),this.pieces_.slice(this.pieceNum_+e)},e.prototype.parent=function(){if(this.pieceNum_>=this.pieces_.length)return null;for(var t=[],n=this.pieceNum_;n<this.pieces_.length-1;n++)t.push(this.pieces_[n]);return new e(t,0)},e.prototype.child=function(t){for(var n=[],r=this.pieceNum_;r<this.pieces_.length;r++)n.push(this.pieces_[r]);if(t instanceof e)for(var r=t.pieceNum_;r<t.pieces_.length;r++)n.push(t.pieces_[r]);else for(var i=t.split("/"),r=0;r<i.length;r++)i[r].length>0&&n.push(i[r]);return new e(n,0)},e.prototype.isEmpty=function(){return this.pieceNum_>=this.pieces_.length},e.relativePath=function(t,n){var r=t.getFront(),i=n.getFront();if(null===r)return n;if(r===i)return e.relativePath(t.popFront(),n.popFront());throw new Error("INTERNAL ERROR: innerPath ("+n+") is not within outerPath ("+t+")")},e.comparePaths=function(e,t){for(var n=e.slice(),r=t.slice(),i=0;i<n.length&&i<r.length;i++){var o=H(n[i],r[i]);if(0!==o)return o}return n.length===r.length?0:n.length<r.length?-1:1},e.prototype.equals=function(e){if(this.getLength()!==e.getLength())return!1;for(var t=this.pieceNum_,n=e.pieceNum_;t<=this.pieces_.length;t++,n++)if(this.pieces_[t]!==e.pieces_[n])return!1;return!0},e.prototype.contains=function(e){var t=this.pieceNum_,n=e.pieceNum_;if(this.getLength()>e.getLength())return!1;for(;t<this.pieces_.length;){if(this.pieces_[t]!==e.pieces_[n])return!1;++t,++n}return!0},e}(),oe=function(){function e(e,t){this.errorPrefix_=t,this.parts_=e.slice(),this.byteLength_=Math.max(1,this.parts_.length);for(var n=0;n<this.parts_.length;n++)this.byteLength_+=v.stringLength(this.parts_[n]);this.checkValid_()}return Object.defineProperty(e,"MAX_PATH_DEPTH",{get:function(){return 32},enumerable:!0,configurable:!0}),Object.defineProperty(e,"MAX_PATH_LENGTH_BYTES",{get:function(){return 768},enumerable:!0,configurable:!0}),e.prototype.push=function(e){this.parts_.length>0&&(this.byteLength_+=1),this.parts_.push(e),this.byteLength_+=v.stringLength(e),this.checkValid_()},e.prototype.pop=function(){var e=this.parts_.pop();this.byteLength_-=v.stringLength(e),this.parts_.length>0&&(this.byteLength_-=1)},e.prototype.checkValid_=function(){if(this.byteLength_>e.MAX_PATH_LENGTH_BYTES)throw new Error(this.errorPrefix_+"has a key path longer than "+e.MAX_PATH_LENGTH_BYTES+" bytes ("+this.byteLength_+").");if(this.parts_.length>e.MAX_PATH_DEPTH)throw new Error(this.errorPrefix_+"path specified exceeds the maximum depth that can be written ("+e.MAX_PATH_DEPTH+") or object contains a cycle "+this.toErrorString())},e.prototype.toErrorString=function(){return 0==this.parts_.length?"":"in property '"+this.parts_.join(".")+"'"},e}(),ae="long_polling",se=function(){function e(e,t,n,r,i){void 0===i&&(i=""),this.secure=t,this.namespace=n,this.webSocketOnly=r,this.persistenceKey=i,this.host=e.toLowerCase(),this.domain=this.host.substr(this.host.indexOf(".")+1),this.internalHost=k.get("host:"+e)||this.host}return e.prototype.needsQueryParam=function(){return this.host!==this.internalHost||this.isCustomHost()},e.prototype.isCacheableHost=function(){return"s-"===this.internalHost.substr(0,2)},e.prototype.isDemoHost=function(){return"firebaseio-demo.com"===this.domain},e.prototype.isCustomHost=function(){return"firebaseio.com"!==this.domain&&"firebaseio-demo.com"!==this.domain},e.prototype.updateHost=function(e){e!==this.internalHost&&(this.internalHost=e,this.isCacheableHost()&&k.set("host:"+this.host,this.internalHost))},e.prototype.connectionURL=function(e,t){v.assert("string"===typeof e,"typeof type must == string"),v.assert("object"===typeof t,"typeof params must == object");var n;if("websocket"===e)n=(this.secure?"wss://":"ws://")+this.internalHost+"/.ws?";else{if(e!==ae)throw new Error("Unknown connection type: "+e);n=(this.secure?"https://":"http://")+this.internalHost+"/.lp?"}this.needsQueryParam()&&(t.ns=this.namespace);var r=[];return v.forEach(t,function(e,t){r.push(e+"="+t)}),n+r.join("&")},e.prototype.toString=function(){var e=this.toURLString();return this.persistenceKey&&(e+="<"+this.persistenceKey+">"),e},e.prototype.toURLString=function(){return(this.secure?"https://":"http://")+this.host},e}(),le=function(e){var t=ue(e),n=t.subdomain;"firebase"===t.domain&&L(t.host+" is no longer supported. Please use <YOUR FIREBASE>.firebaseio.com instead"),n&&"undefined"!=n||"localhost"===t.domain||L("Cannot parse Firebase url. Please use https://<YOUR FIREBASE>.firebaseio.com"),t.secure||W();var r="ws"===t.scheme||"wss"===t.scheme;return{repoInfo:new se(t.host,t.secure,n,r),path:new ie(t.pathString)}},ue=function(e){var t="",n="",r="",a="",s=!0,l="https",u=443;if("string"===typeof e){var c=e.indexOf("//");c>=0&&(l=e.substring(0,c-1),e=e.substring(c+2));var d=e.indexOf("/");-1===d&&(d=e.length);var f=e.indexOf("?");-1===f&&(f=e.length),t=e.substring(0,Math.min(d,f)),d<f&&(a=i(e.substring(d,f)));var h=o(e.substring(Math.min(e.length,f)));c=t.indexOf(":"),c>=0?(s="https"===l||"wss"===l,u=parseInt(t.substring(c+1),10)):c=e.length;var p=t.split(".");3===p.length?(n=p[1],r=p[0].toLowerCase()):2===p.length?n=p[0]:"localhost"===p[0].slice(0,c).toLowerCase()&&(n="localhost"),""===r&&"ns"in h&&(r=h.ns)}return{host:t,port:u,domain:n,subdomain:r,secure:s,scheme:l,pathString:a}},ce=/[\[\].#$\/\u0000-\u001F\u007F]/,de=/[\[\].#$\u0000-\u001F\u007F]/,fe=function(e){return"string"===typeof e&&0!==e.length&&!ce.test(e)},he=function(e){return"string"===typeof e&&0!==e.length&&!de.test(e)},pe=function(e){return e&&(e=e.replace(/^\/*\.info(\/|$)/,"/")),he(e)},me=function(e){return null===e||"string"===typeof e||"number"===typeof e&&!B(e)||e&&"object"===typeof e&&v.contains(e,".sv")},ge=function(e,t,n,r,i){i&&void 0===n||ve(v.errorPrefix(e,t,i),n,r)},ve=function(e,t,n){var r=n instanceof ie?new oe(n,e):n;if(void 0===t)throw new Error(e+"contains undefined "+r.toErrorString());if("function"===typeof t)throw new Error(e+"contains a function "+r.toErrorString()+" with contents = "+t.toString());if(B(t))throw new Error(e+"contains "+t.toString()+" "+r.toErrorString());if("string"===typeof t&&t.length>10485760/3&&v.stringLength(t)>10485760)throw new Error(e+"contains a string greater than 10485760 utf8 bytes "+r.toErrorString()+" ('"+t.substring(0,50)+"...')");if(t&&"object"===typeof t){var i=!1,o=!1;if(v.forEach(t,function(t,n){if(".value"===t)i=!0;else if(".priority"!==t&&".sv"!==t&&(o=!0,!fe(t)))throw new Error(e+" contains an invalid key ("+t+") "+r.toErrorString()+'.  Keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]"');r.push(t),ve(e,n,r),r.pop()}),i&&o)throw new Error(e+' contains ".value" child '+r.toErrorString()+" in addition to actual children.")}},ye=function(e,t){var n,r;for(n=0;n<t.length;n++){r=t[n];for(var i=r.slice(),o=0;o<i.length;o++)if(".priority"===i[o]&&o===i.length-1);else if(!fe(i[o]))throw new Error(e+"contains an invalid key ("+i[o]+") in path "+r.toString()+'. Keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]"')}t.sort(ie.comparePaths);var a=null;for(n=0;n<t.length;n++){if(r=t[n],null!==a&&a.contains(r))throw new Error(e+"contains a path "+a.toString()+" that is ancestor of another path "+r.toString());a=r}},be=function(e,t,n,r,i){if(!i||void 0!==n){var o=v.errorPrefix(e,t,i);if(!n||"object"!==typeof n||Array.isArray(n))throw new Error(o+" must be an object containing the children to replace.");var a=[];v.forEach(n,function(e,t){var n=new ie(e);if(ve(o,t,r.child(n)),".priority"===n.getBack()&&!me(t))throw new Error(o+"contains an invalid value for '"+n.toString()+"', which must be a valid Firebase priority (a string, finite number, server value, or null).");a.push(n)}),ye(o,a)}},we=function(e,t,n,r){if(!r||void 0!==n){if(B(n))throw new Error(v.errorPrefix(e,t,r)+"is "+n.toString()+", but must be a valid Firebase priority (a string, finite number, server value, or null).");if(!me(n))throw new Error(v.errorPrefix(e,t,r)+"must be a valid Firebase priority (a string, finite number, server value, or null).")}},Ee=function(e,t,n,r){if(!r||void 0!==n)switch(n){case"value":case"child_added":case"child_removed":case"child_changed":case"child_moved":break;default:throw new Error(v.errorPrefix(e,t,r)+'must be a valid event type = "value", "child_added", "child_removed", "child_changed", or "child_moved".')}},Te=function(e,t,n,r){if((!r||void 0!==n)&&!fe(n))throw new Error(v.errorPrefix(e,t,r)+'was an invalid key = "'+n+'".  Firebase keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]").')},_e=function(e,t,n,r){if((!r||void 0!==n)&&!he(n))throw new Error(v.errorPrefix(e,t,r)+'was an invalid path = "'+n+'". Paths must be non-empty strings and can\'t contain ".", "#", "$", "[", or "]"')},ke=function(e,t,n,r){n&&(n=n.replace(/^\/*\.info(\/|$)/,"/")),_e(e,t,n,r)},xe=function(e,t){if(".info"===t.getFront())throw new Error(e+" failed = Can't modify data under /.info/")},Se=function(e,t,n){var r=n.path.toString();if("string"!==typeof n.repoInfo.host||0===n.repoInfo.host.length||!fe(n.repoInfo.namespace)&&"localhost"!==n.repoInfo.host.split(":")[0]||0!==r.length&&!pe(r))throw new Error(v.errorPrefix(e,t,!1)+'must be a valid firebase URL and the path can\'t contain ".", "#", "$", "[", or "]".')},Ce=function(e,t,n,r){if((!r||void 0!==n)&&"boolean"!==typeof n)throw new Error(v.errorPrefix(e,t,r)+"must be a boolean.")},Oe=function(){function e(e,t){this.repo_=e,this.path_=t}return e.prototype.cancel=function(e){v.validateArgCount("OnDisconnect.cancel",0,1,arguments.length),v.validateCallback("OnDisconnect.cancel",1,e,!0);var t=new v.Deferred;return this.repo_.onDisconnectCancel(this.path_,t.wrapCallback(e)),t.promise},e.prototype.remove=function(e){v.validateArgCount("OnDisconnect.remove",0,1,arguments.length),xe("OnDisconnect.remove",this.path_),v.validateCallback("OnDisconnect.remove",1,e,!0);var t=new v.Deferred;return this.repo_.onDisconnectSet(this.path_,null,t.wrapCallback(e)),t.promise},e.prototype.set=function(e,t){v.validateArgCount("OnDisconnect.set",1,2,arguments.length),xe("OnDisconnect.set",this.path_),ge("OnDisconnect.set",1,e,this.path_,!1),v.validateCallback("OnDisconnect.set",2,t,!0);var n=new v.Deferred;return this.repo_.onDisconnectSet(this.path_,e,n.wrapCallback(t)),n.promise},e.prototype.setWithPriority=function(e,t,n){v.validateArgCount("OnDisconnect.setWithPriority",2,3,arguments.length),xe("OnDisconnect.setWithPriority",this.path_),ge("OnDisconnect.setWithPriority",1,e,this.path_,!1),we("OnDisconnect.setWithPriority",2,t,!1),v.validateCallback("OnDisconnect.setWithPriority",3,n,!0);var r=new v.Deferred;return this.repo_.onDisconnectSetWithPriority(this.path_,e,t,r.wrapCallback(n)),r.promise},e.prototype.update=function(e,t){if(v.validateArgCount("OnDisconnect.update",1,2,arguments.length),xe("OnDisconnect.update",this.path_),Array.isArray(e)){for(var n={},r=0;r<e.length;++r)n[""+r]=e[r];e=n,j("Passing an Array to firebase.database.onDisconnect().update() is deprecated. Use set() if you want to overwrite the existing data, or an Object with integer keys if you really do want to only update some of the children.")}be("OnDisconnect.update",1,e,this.path_,!1),v.validateCallback("OnDisconnect.update",2,t,!0);var i=new v.Deferred;return this.repo_.onDisconnectUpdate(this.path_,e,i.wrapCallback(t)),i.promise},e}(),Ae=function(){function e(e,t){this.committed=e,this.snapshot=t}return e.prototype.toJSON=function(){return v.validateArgCount("TransactionResult.toJSON",0,1,arguments.length),{committed:this.committed,snapshot:this.snapshot.toJSON()}},e}(),Pe=function(){var e="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz",t=0,n=[];return function(r){var i=r===t;t=r;var o,a=new Array(8);for(o=7;o>=0;o--)a[o]=e.charAt(r%64),r=Math.floor(r/64);v.assert(0===r,"Cannot push at time == 0");var s=a.join("");if(i){for(o=11;o>=0&&63===n[o];o--)n[o]=0;n[o]++}else for(o=0;o<12;o++)n[o]=Math.floor(64*Math.random());for(o=0;o<12;o++)s+=e.charAt(n[o]);return v.assert(20===s.length,"nextPushId: Length should be 20."),s}}(),Ie=function(){function e(e,t){this.name=e,this.node=t}return e.Wrap=function(t,n){return new e(t,n)},e}(),Re=function(){function e(){}return e.prototype.getCompare=function(){return this.compare.bind(this)},e.prototype.indexedValueChanged=function(e,t){var n=new Ie(z,e),r=new Ie(z,t);return 0!==this.compare(n,r)},e.prototype.minPost=function(){return Ie.MIN},e}(),Ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b.__extends(t,e),Object.defineProperty(t,"__EMPTY_NODE",{get:function(){return c},set:function(e){c=e},enumerable:!0,configurable:!0}),t.prototype.compare=function(e,t){return H(e.name,t.name)},t.prototype.isDefinedOn=function(e){throw v.assertionError("KeyIndex.isDefinedOn not expected to be called.")},t.prototype.indexedValueChanged=function(e,t){return!1},t.prototype.minPost=function(){return Ie.MIN},t.prototype.maxPost=function(){return new Ie(U,c)},t.prototype.makePost=function(e,t){return v.assert("string"===typeof e,"KeyIndex indexValue must always be a string."),new Ie(e,c)},t.prototype.toString=function(){return".key"},t}(Re),Me=new Ne,De=function(e){return"number"===typeof e?"number:"+Z(e):"string:"+e},Le=function(e){if(e.isLeafNode()){var t=e.val();v.assert("string"===typeof t||"number"===typeof t||"object"===typeof t&&v.contains(t,".sv"),"Priority must be a string or number.")}else v.assert(e===d||e.isEmpty(),"priority of unexpected type.");v.assert(e===d||e.getPriority().isEmpty(),"Priority nodes can't have a priority of their own.")},je=function(){function e(t,n){void 0===n&&(n=e.__childrenNodeConstructor.EMPTY_NODE),this.value_=t,this.priorityNode_=n,this.lazyHash_=null,v.assert(void 0!==this.value_&&null!==this.value_,"LeafNode shouldn't be created with null/undefined value."),Le(this.priorityNode_)}return Object.defineProperty(e,"__childrenNodeConstructor",{get:function(){return f},set:function(e){f=e},enumerable:!0,configurable:!0}),e.prototype.isLeafNode=function(){return!0},e.prototype.getPriority=function(){return this.priorityNode_},e.prototype.updatePriority=function(t){return new e(this.value_,t)},e.prototype.getImmediateChild=function(t){return".priority"===t?this.priorityNode_:e.__childrenNodeConstructor.EMPTY_NODE},e.prototype.getChild=function(t){return t.isEmpty()?this:".priority"===t.getFront()?this.priorityNode_:e.__childrenNodeConstructor.EMPTY_NODE},e.prototype.hasChild=function(){return!1},e.prototype.getPredecessorChildName=function(e,t){return null},e.prototype.updateImmediateChild=function(t,n){return".priority"===t?this.updatePriority(n):n.isEmpty()&&".priority"!==t?this:e.__childrenNodeConstructor.EMPTY_NODE.updateImmediateChild(t,n).updatePriority(this.priorityNode_)},e.prototype.updateChild=function(t,n){var r=t.getFront();return null===r?n:n.isEmpty()&&".priority"!==r?this:(v.assert(".priority"!==r||1===t.getLength(),".priority must be the last token in a path"),this.updateImmediateChild(r,e.__childrenNodeConstructor.EMPTY_NODE.updateChild(t.popFront(),n)))},e.prototype.isEmpty=function(){return!1},e.prototype.numChildren=function(){return 0},e.prototype.forEachChild=function(e,t){return!1},e.prototype.val=function(e){return e&&!this.getPriority().isEmpty()?{".value":this.getValue(),".priority":this.getPriority().val()}:this.getValue()},e.prototype.hash=function(){if(null===this.lazyHash_){var e="";this.priorityNode_.isEmpty()||(e+="priority:"+De(this.priorityNode_.val())+":");var t=typeof this.value_;e+=t+":",e+="number"===t?Z(this.value_):this.value_,this.lazyHash_=O(e)}return this.lazyHash_},e.prototype.getValue=function(){return this.value_},e.prototype.compareTo=function(t){return t===e.__childrenNodeConstructor.EMPTY_NODE?1:t instanceof e.__childrenNodeConstructor?-1:(v.assert(t.isLeafNode(),"Unknown node type"),this.compareToLeafNode_(t))},e.prototype.compareToLeafNode_=function(t){var n=typeof t.value_,r=typeof this.value_,i=e.VALUE_TYPE_ORDER.indexOf(n),o=e.VALUE_TYPE_ORDER.indexOf(r);return v.assert(i>=0,"Unknown leaf type: "+n),v.assert(o>=0,"Unknown leaf type: "+r),i===o?"object"===r?0:this.value_<t.value_?-1:this.value_===t.value_?0:1:o-i},e.prototype.withIndex=function(){return this},e.prototype.isIndexed=function(){return!0},e.prototype.equals=function(e){if(e===this)return!0;if(e.isLeafNode()){var t=e;return this.value_===t.value_&&this.priorityNode_.equals(t.priorityNode_)}return!1},e.VALUE_TYPE_ORDER=["object","boolean","number","string"],e}(),We=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b.__extends(t,e),t.prototype.compare=function(e,t){var n=e.node.getPriority(),r=t.node.getPriority(),i=n.compareTo(r);return 0===i?H(e.name,t.name):i},t.prototype.isDefinedOn=function(e){return!e.getPriority().isEmpty()},t.prototype.indexedValueChanged=function(e,t){return!e.getPriority().equals(t.getPriority())},t.prototype.minPost=function(){return Ie.MIN},t.prototype.maxPost=function(){return new Ie(U,new je("[PRIORITY-POST]",p))},t.prototype.makePost=function(e,t){var n=h(e);return new Ie(t,new je("[PRIORITY-POST]",n))},t.prototype.toString=function(){return".priority"},t}(Re),Be=new We,Fe=function(){function e(e,t,n,r,i){void 0===i&&(i=null),this.isReverse_=r,this.resultGenerator_=i,this.nodeStack_=[];for(var o=1;!e.isEmpty();)if(e=e,o=t?n(e.key,t):1,r&&(o*=-1),o<0)e=this.isReverse_?e.left:e.right;else{if(0===o){this.nodeStack_.push(e);break}this.nodeStack_.push(e),e=this.isReverse_?e.right:e.left}}return e.prototype.getNext=function(){if(0===this.nodeStack_.length)return null;var e,t=this.nodeStack_.pop();if(e=this.resultGenerator_?this.resultGenerator_(t.key,t.value):{key:t.key,value:t.value},this.isReverse_)for(t=t.left;!t.isEmpty();)this.nodeStack_.push(t),t=t.right;else for(t=t.right;!t.isEmpty();)this.nodeStack_.push(t),t=t.left;return e},e.prototype.hasNext=function(){return this.nodeStack_.length>0},e.prototype.peek=function(){if(0===this.nodeStack_.length)return null;var e=this.nodeStack_[this.nodeStack_.length-1];return this.resultGenerator_?this.resultGenerator_(e.key,e.value):{key:e.key,value:e.value}},e}(),ze=function(){function e(t,n,r,i,o){this.key=t,this.value=n,this.color=null!=r?r:e.RED,this.left=null!=i?i:He.EMPTY_NODE,this.right=null!=o?o:He.EMPTY_NODE}return e.prototype.copy=function(t,n,r,i,o){return new e(null!=t?t:this.key,null!=n?n:this.value,null!=r?r:this.color,null!=i?i:this.left,null!=o?o:this.right)},e.prototype.count=function(){return this.left.count()+1+this.right.count()},e.prototype.isEmpty=function(){return!1},e.prototype.inorderTraversal=function(e){return this.left.inorderTraversal(e)||e(this.key,this.value)||this.right.inorderTraversal(e)},e.prototype.reverseTraversal=function(e){return this.right.reverseTraversal(e)||e(this.key,this.value)||this.left.reverseTraversal(e)},e.prototype.min_=function(){return this.left.isEmpty()?this:this.left.min_()},e.prototype.minKey=function(){return this.min_().key},e.prototype.maxKey=function(){return this.right.isEmpty()?this.key:this.right.maxKey()},e.prototype.insert=function(e,t,n){var r,i;return i=this,r=n(e,i.key),i=r<0?i.copy(null,null,null,i.left.insert(e,t,n),null):0===r?i.copy(null,t,null,null,null):i.copy(null,null,null,null,i.right.insert(e,t,n)),i.fixUp_()},e.prototype.removeMin_=function(){if(this.left.isEmpty())return He.EMPTY_NODE;var e=this;return e.left.isRed_()||e.left.left.isRed_()||(e=e.moveRedLeft_()),e=e.copy(null,null,null,e.left.removeMin_(),null),e.fixUp_()},e.prototype.remove=function(e,t){var n,r;if(n=this,t(e,n.key)<0)n.left.isEmpty()||n.left.isRed_()||n.left.left.isRed_()||(n=n.moveRedLeft_()),n=n.copy(null,null,null,n.left.remove(e,t),null);else{if(n.left.isRed_()&&(n=n.rotateRight_()),n.right.isEmpty()||n.right.isRed_()||n.right.left.isRed_()||(n=n.moveRedRight_()),0===t(e,n.key)){if(n.right.isEmpty())return He.EMPTY_NODE;r=n.right.min_(),n=n.copy(r.key,r.value,null,null,n.right.removeMin_())}n=n.copy(null,null,null,null,n.right.remove(e,t))}return n.fixUp_()},e.prototype.isRed_=function(){return this.color},e.prototype.fixUp_=function(){var e=this;return e.right.isRed_()&&!e.left.isRed_()&&(e=e.rotateLeft_()),e.left.isRed_()&&e.left.left.isRed_()&&(e=e.rotateRight_()),e.left.isRed_()&&e.right.isRed_()&&(e=e.colorFlip_()),e},e.prototype.moveRedLeft_=function(){var e=this.colorFlip_();return e.right.left.isRed_()&&(e=e.copy(null,null,null,null,e.right.rotateRight_()),e=e.rotateLeft_(),e=e.colorFlip_()),e},e.prototype.moveRedRight_=function(){var e=this.colorFlip_();return e.left.left.isRed_()&&(e=e.rotateRight_(),e=e.colorFlip_()),e},e.prototype.rotateLeft_=function(){var t=this.copy(null,null,e.RED,null,this.right.left);return this.right.copy(null,null,this.color,t,null)},e.prototype.rotateRight_=function(){var t=this.copy(null,null,e.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,t)},e.prototype.colorFlip_=function(){var e=this.left.copy(null,null,!this.left.color,null,null),t=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,e,t)},e.prototype.checkMaxDepth_=function(){var e=this.check_();return Math.pow(2,e)<=this.count()+1},e.prototype.check_=function(){var e;if(this.isRed_()&&this.left.isRed_())throw new Error("Red node has red child("+this.key+","+this.value+")");if(this.right.isRed_())throw new Error("Right child of ("+this.key+","+this.value+") is red");if((e=this.left.check_())!==this.right.check_())throw new Error("Black depths differ");return e+(this.isRed_()?0:1)},e.RED=!0,e.BLACK=!1,e}(),Ue=function(){function e(){}return e.prototype.copy=function(e,t,n,r,i){return this},e.prototype.insert=function(e,t,n){return new ze(e,t,null)},e.prototype.remove=function(e,t){return this},e.prototype.count=function(){return 0},e.prototype.isEmpty=function(){return!0},e.prototype.inorderTraversal=function(e){return!1},e.prototype.reverseTraversal=function(e){return!1},e.prototype.minKey=function(){return null},e.prototype.maxKey=function(){return null},e.prototype.check_=function(){return 0},e.prototype.isRed_=function(){return!1},e}(),He=function(){function e(t,n){void 0===n&&(n=e.EMPTY_NODE),this.comparator_=t,this.root_=n}return e.prototype.insert=function(t,n){return new e(this.comparator_,this.root_.insert(t,n,this.comparator_).copy(null,null,ze.BLACK,null,null))},e.prototype.remove=function(t){return new e(this.comparator_,this.root_.remove(t,this.comparator_).copy(null,null,ze.BLACK,null,null))},e.prototype.get=function(e){for(var t,n=this.root_;!n.isEmpty();){if(0===(t=this.comparator_(e,n.key)))return n.value;t<0?n=n.left:t>0&&(n=n.right)}return null},e.prototype.getPredecessorKey=function(e){for(var t,n=this.root_,r=null;!n.isEmpty();){if(0===(t=this.comparator_(e,n.key))){if(n.left.isEmpty())return r?r.key:null;for(n=n.left;!n.right.isEmpty();)n=n.right;return n.key}t<0?n=n.left:t>0&&(r=n,n=n.right)}throw new Error("Attempted to find predecessor key for a nonexistent key.  What gives?")},e.prototype.isEmpty=function(){return this.root_.isEmpty()},e.prototype.count=function(){return this.root_.count()},e.prototype.minKey=function(){return this.root_.minKey()},e.prototype.maxKey=function(){return this.root_.maxKey()},e.prototype.inorderTraversal=function(e){return this.root_.inorderTraversal(e)},e.prototype.reverseTraversal=function(e){return this.root_.reverseTraversal(e)},e.prototype.getIterator=function(e){return new Fe(this.root_,null,this.comparator_,!1,e)},e.prototype.getIteratorFrom=function(e,t){return new Fe(this.root_,e,this.comparator_,!1,t)},e.prototype.getReverseIteratorFrom=function(e,t){return new Fe(this.root_,e,this.comparator_,!0,t)},e.prototype.getReverseIterator=function(e){return new Fe(this.root_,null,this.comparator_,!0,e)},e.EMPTY_NODE=new Ue,e}(),Ge=Math.log(2),qe=function(){function e(e){this.count=function(e){return parseInt(Math.log(e)/Ge,10)}(e+1),this.current_=this.count-1;var t=function(e){return parseInt(Array(e+1).join("1"),2)}(this.count);this.bits_=e+1&t}return e.prototype.nextBitIsOne=function(){var e=!(this.bits_&1<<this.current_);return this.current_--,e},e}(),Ve=function(e,t,n,r){e.sort(t);var i=function(t,r){var o,a,s=r-t;if(0==s)return null;if(1==s)return o=e[t],a=n?n(o):o,new ze(a,o.node,ze.BLACK,null,null);var l=parseInt(s/2,10)+t,u=i(t,l),c=i(l+1,r);return o=e[l],a=n?n(o):o,new ze(a,o.node,ze.BLACK,u,c)},o=new qe(e.length),a=function(t){for(var r=null,o=null,a=e.length,s=function(t,r){var o=a-t,s=a;a-=t;var u=i(o+1,s),c=e[o],d=n?n(c):c;l(new ze(d,c.node,r,null,u))},l=function(e){r?(r.left=e,r=e):(o=e,r=e)},u=0;u<t.count;++u){var c=t.nextBitIsOne(),d=Math.pow(2,t.count-(u+1));c?s(d,ze.BLACK):(s(d,ze.BLACK),s(d,ze.RED))}return o}(o);return new He(r||t,a)},Ke={},Ye=function(){function e(e,t){this.indexes_=e,this.indexSet_=t}return Object.defineProperty(e,"Default",{get:function(){return v.assert(Ke&&Be,"ChildrenNode.ts has not been loaded"),m=m||new e({".priority":Ke},{".priority":Be})},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var t=v.safeGet(this.indexes_,e);if(!t)throw new Error("No index defined for "+e);return t===Ke?null:t},e.prototype.hasIndex=function(e){return v.contains(this.indexSet_,e.toString())},e.prototype.addIndex=function(t,n){v.assert(t!==Me,"KeyIndex always exists and isn't meant to be added to the IndexMap.");for(var r=[],i=!1,o=n.getIterator(Ie.Wrap),a=o.getNext();a;)i=i||t.isDefinedOn(a.node),r.push(a),a=o.getNext();var s;s=i?Ve(r,t.getCompare()):Ke;var l=t.toString(),u=v.clone(this.indexSet_);u[l]=t;var c=v.clone(this.indexes_);return c[l]=s,new e(c,u)},e.prototype.addToIndexes=function(t,n){var r=this;return new e(v.map(this.indexes_,function(e,i){var o=v.safeGet(r.indexSet_,i);if(v.assert(o,"Missing index implementation for "+i),e===Ke){if(o.isDefinedOn(t.node)){for(var a=[],s=n.getIterator(Ie.Wrap),l=s.getNext();l;)l.name!=t.name&&a.push(l),l=s.getNext();return a.push(t),Ve(a,o.getCompare())}return Ke}var u=n.get(t.name),c=e;return u&&(c=c.remove(new Ie(t.name,u))),c.insert(t,t.node)}),this.indexSet_)},e.prototype.removeFromIndexes=function(t,n){return new e(v.map(this.indexes_,function(e){if(e===Ke)return e;var r=n.get(t.name);return r?e.remove(new Ie(t.name,r)):e}),this.indexSet_)},e}(),Ze=function(){function e(e,t,n){this.children_=e,this.priorityNode_=t,this.indexMap_=n,this.lazyHash_=null,this.priorityNode_&&Le(this.priorityNode_),this.children_.isEmpty()&&v.assert(!this.priorityNode_||this.priorityNode_.isEmpty(),"An empty node cannot have a priority")}return Object.defineProperty(e,"EMPTY_NODE",{get:function(){return g||(g=new e(new He(s),null,Ye.Default))},enumerable:!0,configurable:!0}),e.prototype.isLeafNode=function(){return!1},e.prototype.getPriority=function(){return this.priorityNode_||g},e.prototype.updatePriority=function(t){return this.children_.isEmpty()?this:new e(this.children_,t,this.indexMap_)},e.prototype.getImmediateChild=function(e){if(".priority"===e)return this.getPriority();var t=this.children_.get(e);return null===t?g:t},e.prototype.getChild=function(e){var t=e.getFront();return null===t?this:this.getImmediateChild(t).getChild(e.popFront())},e.prototype.hasChild=function(e){return null!==this.children_.get(e)},e.prototype.updateImmediateChild=function(t,n){if(v.assert(n,"We should always be passing snapshot nodes"),".priority"===t)return this.updatePriority(n);var r=new Ie(t,n),i=void 0,o=void 0,a=void 0;return n.isEmpty()?(i=this.children_.remove(t),o=this.indexMap_.removeFromIndexes(r,this.children_)):(i=this.children_.insert(t,n),o=this.indexMap_.addToIndexes(r,this.children_)),a=i.isEmpty()?g:this.priorityNode_,new e(i,a,o)},e.prototype.updateChild=function(e,t){var n=e.getFront();if(null===n)return t;v.assert(".priority"!==e.getFront()||1===e.getLength(),".priority must be the last token in a path");var r=this.getImmediateChild(n).updateChild(e.popFront(),t);return this.updateImmediateChild(n,r)},e.prototype.isEmpty=function(){return this.children_.isEmpty()},e.prototype.numChildren=function(){return this.children_.count()},e.prototype.val=function(t){if(this.isEmpty())return null;var n={},r=0,i=0,o=!0;if(this.forEachChild(Be,function(a,s){n[a]=s.val(t),r++,o&&e.INTEGER_REGEXP_.test(a)?i=Math.max(i,Number(a)):o=!1}),!t&&o&&i<2*r){var a=[];for(var s in n)a[s]=n[s];return a}return t&&!this.getPriority().isEmpty()&&(n[".priority"]=this.getPriority().val()),n},e.prototype.hash=function(){if(null===this.lazyHash_){var e="";this.getPriority().isEmpty()||(e+="priority:"+De(this.getPriority().val())+":"),this.forEachChild(Be,function(t,n){var r=n.hash();""!==r&&(e+=":"+t+":"+r)}),this.lazyHash_=""===e?"":O(e)}return this.lazyHash_},e.prototype.getPredecessorChildName=function(e,t,n){var r=this.resolveIndex_(n);if(r){var i=r.getPredecessorKey(new Ie(e,t));return i?i.name:null}return this.children_.getPredecessorKey(e)},e.prototype.getFirstChildName=function(e){var t=this.resolveIndex_(e);if(t){var n=t.minKey();return n&&n.name}return this.children_.minKey()},e.prototype.getFirstChild=function(e){var t=this.getFirstChildName(e);return t?new Ie(t,this.children_.get(t)):null},e.prototype.getLastChildName=function(e){var t=this.resolveIndex_(e);if(t){var n=t.maxKey();return n&&n.name}return this.children_.maxKey()},e.prototype.getLastChild=function(e){var t=this.getLastChildName(e);return t?new Ie(t,this.children_.get(t)):null},e.prototype.forEachChild=function(e,t){var n=this.resolveIndex_(e);return n?n.inorderTraversal(function(e){return t(e.name,e.node)}):this.children_.inorderTraversal(t)},e.prototype.getIterator=function(e){return this.getIteratorFrom(e.minPost(),e)},e.prototype.getIteratorFrom=function(e,t){var n=this.resolveIndex_(t);if(n)return n.getIteratorFrom(e,function(e){return e});for(var r=this.children_.getIteratorFrom(e.name,Ie.Wrap),i=r.peek();null!=i&&t.compare(i,e)<0;)r.getNext(),i=r.peek();return r},e.prototype.getReverseIterator=function(e){return this.getReverseIteratorFrom(e.maxPost(),e)},e.prototype.getReverseIteratorFrom=function(e,t){var n=this.resolveIndex_(t);if(n)return n.getReverseIteratorFrom(e,function(e){return e});for(var r=this.children_.getReverseIteratorFrom(e.name,Ie.Wrap),i=r.peek();null!=i&&t.compare(i,e)>0;)r.getNext(),i=r.peek();return r},e.prototype.compareTo=function(e){return this.isEmpty()?e.isEmpty()?0:-1:e.isLeafNode()||e.isEmpty()?1:e===Qe?-1:0},e.prototype.withIndex=function(t){if(t===Me||this.indexMap_.hasIndex(t))return this;var n=this.indexMap_.addIndex(t,this.children_);return new e(this.children_,this.priorityNode_,n)},e.prototype.isIndexed=function(e){return e===Me||this.indexMap_.hasIndex(e)},e.prototype.equals=function(e){if(e===this)return!0;if(e.isLeafNode())return!1;var t=e;if(this.getPriority().equals(t.getPriority())){if(this.children_.count()===t.children_.count()){for(var n=this.getIterator(Be),r=t.getIterator(Be),i=n.getNext(),o=r.getNext();i&&o;){if(i.name!==o.name||!i.node.equals(o.node))return!1;i=n.getNext(),o=r.getNext()}return null===i&&null===o}return!1}return!1},e.prototype.resolveIndex_=function(e){return e===Me?null:this.indexMap_.get(e.toString())},e.INTEGER_REGEXP_=/^(0|[1-9]\d*)$/,e}(),Xe=function(e){function t(){return e.call(this,new He(s),Ze.EMPTY_NODE,Ye.Default)||this}return b.__extends(t,e),t.prototype.compareTo=function(e){return e===this?0:1},t.prototype.equals=function(e){return e===this},t.prototype.getPriority=function(){return this},t.prototype.getImmediateChild=function(e){return Ze.EMPTY_NODE},t.prototype.isEmpty=function(){return!1},t}(Ze),Qe=new Xe;Object.defineProperties(Ie,{MIN:{value:new Ie(z,Ze.EMPTY_NODE)},MAX:{value:new Ie(U,Qe)}}),Ne.__EMPTY_NODE=Ze.EMPTY_NODE,je.__childrenNodeConstructor=Ze,function(e){d=e}(Qe),function(e){p=e}(Qe);var $e=!0;!function(e){h=e}(l);var Je,et,tt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b.__extends(t,e),t.prototype.compare=function(e,t){var n=e.node.compareTo(t.node);return 0===n?H(e.name,t.name):n},t.prototype.isDefinedOn=function(e){return!0},t.prototype.indexedValueChanged=function(e,t){return!e.equals(t)},t.prototype.minPost=function(){return Ie.MIN},t.prototype.maxPost=function(){return Ie.MAX},t.prototype.makePost=function(e,t){var n=l(e);return new Ie(t,n)},t.prototype.toString=function(){return".value"},t}(Re),nt=new tt,rt=function(e){function t(t){var n=e.call(this)||this;return n.indexPath_=t,v.assert(!t.isEmpty()&&".priority"!==t.getFront(),"Can't create PathIndex with empty path or .priority key"),n}return b.__extends(t,e),t.prototype.extractChild=function(e){return e.getChild(this.indexPath_)},t.prototype.isDefinedOn=function(e){return!e.getChild(this.indexPath_).isEmpty()},t.prototype.compare=function(e,t){var n=this.extractChild(e.node),r=this.extractChild(t.node),i=n.compareTo(r);return 0===i?H(e.name,t.name):i},t.prototype.makePost=function(e,t){var n=l(e),r=Ze.EMPTY_NODE.updateChild(this.indexPath_,n);return new Ie(t,r)},t.prototype.maxPost=function(){var e=Ze.EMPTY_NODE.updateChild(this.indexPath_,Qe);return new Ie(U,e)},t.prototype.toString=function(){return this.indexPath_.slice().join("/")},t}(Re),it=function(){function e(e,t,n){this.node_=e,this.ref_=t,this.index_=n}return e.prototype.val=function(){return v.validateArgCount("DataSnapshot.val",0,0,arguments.length),this.node_.val()},e.prototype.exportVal=function(){return v.validateArgCount("DataSnapshot.exportVal",0,0,arguments.length),this.node_.val(!0)},e.prototype.toJSON=function(){return v.validateArgCount("DataSnapshot.toJSON",0,1,arguments.length),this.exportVal()},e.prototype.exists=function(){return v.validateArgCount("DataSnapshot.exists",0,0,arguments.length),!this.node_.isEmpty()},e.prototype.child=function(t){v.validateArgCount("DataSnapshot.child",0,1,arguments.length),t=String(t),_e("DataSnapshot.child",1,t,!1);var n=new ie(t),r=this.ref_.child(n);return new e(this.node_.getChild(n),r,Be)},e.prototype.hasChild=function(e){v.validateArgCount("DataSnapshot.hasChild",1,1,arguments.length),_e("DataSnapshot.hasChild",1,e,!1);var t=new ie(e);return!this.node_.getChild(t).isEmpty()},e.prototype.getPriority=function(){return v.validateArgCount("DataSnapshot.getPriority",0,0,arguments.length),this.node_.getPriority().val()},e.prototype.forEach=function(t){var n=this;return v.validateArgCount("DataSnapshot.forEach",1,1,arguments.length),v.validateCallback("DataSnapshot.forEach",1,t,!1),!this.node_.isLeafNode()&&!!this.node_.forEachChild(this.index_,function(r,i){return t(new e(i,n.ref_.child(r),Be))})},e.prototype.hasChildren=function(){return v.validateArgCount("DataSnapshot.hasChildren",0,0,arguments.length),!this.node_.isLeafNode()&&!this.node_.isEmpty()},Object.defineProperty(e.prototype,"key",{get:function(){return this.ref_.getKey()},enumerable:!0,configurable:!0}),e.prototype.numChildren=function(){return v.validateArgCount("DataSnapshot.numChildren",0,0,arguments.length),this.node_.numChildren()},e.prototype.getRef=function(){return v.validateArgCount("DataSnapshot.ref",0,0,arguments.length),this.ref_},Object.defineProperty(e.prototype,"ref",{get:function(){return this.getRef()},enumerable:!0,configurable:!0}),e}(),ot=function(){function e(e,t,n,r){this.eventType=e,this.eventRegistration=t,this.snapshot=n,this.prevName=r}return e.prototype.getPath=function(){var e=this.snapshot.getRef();return"value"===this.eventType?e.path:e.getParent().path},e.prototype.getEventType=function(){return this.eventType},e.prototype.getEventRunner=function(){return this.eventRegistration.getEventRunner(this)},e.prototype.toString=function(){return this.getPath().toString()+":"+this.eventType+":"+v.stringify(this.snapshot.exportVal())},e}(),at=function(){function e(e,t,n){this.eventRegistration=e,this.error=t,this.path=n}return e.prototype.getPath=function(){return this.path},e.prototype.getEventType=function(){return"cancel"},e.prototype.getEventRunner=function(){return this.eventRegistration.getEventRunner(this)},e.prototype.toString=function(){return this.path.toString()+":cancel"},e}(),st=function(){function e(e,t,n){this.callback_=e,this.cancelCallback_=t,this.context_=n}return e.prototype.respondsTo=function(e){return"value"===e},e.prototype.createEvent=function(e,t){var n=t.getQueryParams().getIndex();return new ot("value",this,new it(e.snapshotNode,t.getRef(),n))},e.prototype.getEventRunner=function(e){var t=this.context_;if("cancel"===e.getEventType()){v.assert(this.cancelCallback_,"Raising a cancel event on a listener with no cancel callback");var n=this.cancelCallback_;return function(){n.call(t,e.error)}}var r=this.callback_;return function(){r.call(t,e.snapshot)}},e.prototype.createCancelEvent=function(e,t){return this.cancelCallback_?new at(this,e,t):null},e.prototype.matches=function(t){return t instanceof e&&(!t.callback_||!this.callback_||t.callback_===this.callback_&&t.context_===this.context_)},e.prototype.hasAnyCallback=function(){return null!==this.callback_},e}(),lt=function(){function e(e,t,n){this.callbacks_=e,this.cancelCallback_=t,this.context_=n}return e.prototype.respondsTo=function(e){var t="children_added"===e?"child_added":e;return t="children_removed"===t?"child_removed":t,v.contains(this.callbacks_,t)},e.prototype.createCancelEvent=function(e,t){return this.cancelCallback_?new at(this,e,t):null},e.prototype.createEvent=function(e,t){v.assert(null!=e.childName,"Child events should have a childName.");var n=t.getRef().child(e.childName),r=t.getQueryParams().getIndex();return new ot(e.type,this,new it(e.snapshotNode,n,r),e.prevName)},e.prototype.getEventRunner=function(e){var t=this.context_;if("cancel"===e.getEventType()){v.assert(this.cancelCallback_,"Raising a cancel event on a listener with no cancel callback");var n=this.cancelCallback_;return function(){n.call(t,e.error)}}var r=this.callbacks_[e.eventType];return function(){r.call(t,e.snapshot,e.prevName)}},e.prototype.matches=function(t){if(t instanceof e){if(!this.callbacks_||!t.callbacks_)return!0;if(this.context_===t.context_){var n=v.getCount(t.callbacks_);if(n===v.getCount(this.callbacks_)){if(1===n){var r=v.getAnyKey(t.callbacks_),i=v.getAnyKey(this.callbacks_);return i===r&&(!t.callbacks_[r]||!this.callbacks_[i]||t.callbacks_[r]===this.callbacks_[i])}return v.every(this.callbacks_,function(e,n){return t.callbacks_[e]===n})}}}return!1},e.prototype.hasAnyCallback=function(){return null!==this.callbacks_},e}(),ut=function(){function e(e,t,n,r){this.repo=e,this.path=t,this.queryParams_=n,this.orderByCalled_=r}return Object.defineProperty(e,"__referenceConstructor",{get:function(){return v.assert(Je,"Reference.ts has not been loaded"),Je},set:function(e){Je=e},enumerable:!0,configurable:!0}),e.validateQueryEndpoints_=function(e){var t=null,n=null;if(e.hasStart()&&(t=e.getIndexStartValue()),e.hasEnd()&&(n=e.getIndexEndValue()),e.getIndex()===Me){var r="Query: When ordering by key, you may only pass one argument to startAt(), endAt(), or equalTo().",i="Query: When ordering by key, the argument passed to startAt(), endAt(),or equalTo() must be a string.";if(e.hasStart()){if(e.getIndexStartName()!=z)throw new Error(r);if("string"!==typeof t)throw new Error(i)}if(e.hasEnd()){if(e.getIndexEndName()!=U)throw new Error(r);if("string"!==typeof n)throw new Error(i)}}else if(e.getIndex()===Be){if(null!=t&&!me(t)||null!=n&&!me(n))throw new Error("Query: When ordering by priority, the first argument passed to startAt(), endAt(), or equalTo() must be a valid priority value (null, a number, or a string).")}else if(v.assert(e.getIndex()instanceof rt||e.getIndex()===nt,"unknown index type."),null!=t&&"object"===typeof t||null!=n&&"object"===typeof n)throw new Error("Query: First argument passed to startAt(), endAt(), or equalTo() cannot be an object.")},e.validateLimit_=function(e){if(e.hasStart()&&e.hasEnd()&&e.hasLimit()&&!e.hasAnchoredLimit())throw new Error("Query: Can't combine startAt(), endAt(), and limit(). Use limitToFirst() or limitToLast() instead.")},e.prototype.validateNoPreviousOrderByCall_=function(e){if(!0===this.orderByCalled_)throw new Error(e+": You can't combine multiple orderBy calls.")},e.prototype.getQueryParams=function(){return this.queryParams_},e.prototype.getRef=function(){return v.validateArgCount("Query.ref",0,0,arguments.length),new e.__referenceConstructor(this.repo,this.path)},e.prototype.on=function(t,n,r,i){v.validateArgCount("Query.on",2,4,arguments.length),Ee("Query.on",1,t,!1),v.validateCallback("Query.on",2,n,!1);var o=e.getCancelAndContextArgs_("Query.on",r,i);if("value"===t)this.onValueEvent(n,o.cancel,o.context);else{var a={};a[t]=n,this.onChildEvent(a,o.cancel,o.context)}return n},e.prototype.onValueEvent=function(e,t,n){var r=new st(e,t||null,n||null);this.repo.addEventCallbackForQuery(this,r)},e.prototype.onChildEvent=function(e,t,n){var r=new lt(e,t,n);this.repo.addEventCallbackForQuery(this,r)},e.prototype.off=function(e,t,n){v.validateArgCount("Query.off",0,3,arguments.length),Ee("Query.off",1,e,!0),v.validateCallback("Query.off",2,t,!0),v.validateContextObject("Query.off",3,n,!0);var r=null,i=null;if("value"===e){r=new st(t||null,null,n||null)}else e&&(t&&(i={},i[e]=t),r=new lt(i,null,n||null));this.repo.removeEventCallbackForQuery(this,r)},e.prototype.once=function(t,n,r,i){var o=this;v.validateArgCount("Query.once",1,4,arguments.length),Ee("Query.once",1,t,!1),v.validateCallback("Query.once",2,n,!0);var a=e.getCancelAndContextArgs_("Query.once",r,i),s=!0,l=new v.Deferred;l.promise.catch(function(){});var u=function(e){s&&(s=!1,o.off(t,u),n&&n.bind(a.context)(e),l.resolve(e))};return this.on(t,u,function(e){o.off(t,u),a.cancel&&a.cancel.bind(a.context)(e),l.reject(e)}),l.promise},e.prototype.limitToFirst=function(t){if(v.validateArgCount("Query.limitToFirst",1,1,arguments.length),"number"!==typeof t||Math.floor(t)!==t||t<=0)throw new Error("Query.limitToFirst: First argument must be a positive integer.");if(this.queryParams_.hasLimit())throw new Error("Query.limitToFirst: Limit was already set (by another call to limit, limitToFirst, or limitToLast).");return new e(this.repo,this.path,this.queryParams_.limitToFirst(t),this.orderByCalled_)},e.prototype.limitToLast=function(t){if(v.validateArgCount("Query.limitToLast",1,1,arguments.length),"number"!==typeof t||Math.floor(t)!==t||t<=0)throw new Error("Query.limitToLast: First argument must be a positive integer.");if(this.queryParams_.hasLimit())throw new Error("Query.limitToLast: Limit was already set (by another call to limit, limitToFirst, or limitToLast).");return new e(this.repo,this.path,this.queryParams_.limitToLast(t),this.orderByCalled_)},e.prototype.orderByChild=function(t){if(v.validateArgCount("Query.orderByChild",1,1,arguments.length),"$key"===t)throw new Error('Query.orderByChild: "$key" is invalid.  Use Query.orderByKey() instead.');if("$priority"===t)throw new Error('Query.orderByChild: "$priority" is invalid.  Use Query.orderByPriority() instead.');if("$value"===t)throw new Error('Query.orderByChild: "$value" is invalid.  Use Query.orderByValue() instead.');_e("Query.orderByChild",1,t,!1),this.validateNoPreviousOrderByCall_("Query.orderByChild");var n=new ie(t);if(n.isEmpty())throw new Error("Query.orderByChild: cannot pass in empty path.  Use Query.orderByValue() instead.");var r=new rt(n),i=this.queryParams_.orderBy(r);return e.validateQueryEndpoints_(i),new e(this.repo,this.path,i,!0)},e.prototype.orderByKey=function(){v.validateArgCount("Query.orderByKey",0,0,arguments.length),this.validateNoPreviousOrderByCall_("Query.orderByKey");var t=this.queryParams_.orderBy(Me);return e.validateQueryEndpoints_(t),new e(this.repo,this.path,t,!0)},e.prototype.orderByPriority=function(){v.validateArgCount("Query.orderByPriority",0,0,arguments.length),this.validateNoPreviousOrderByCall_("Query.orderByPriority");var t=this.queryParams_.orderBy(Be);return e.validateQueryEndpoints_(t),new e(this.repo,this.path,t,!0)},e.prototype.orderByValue=function(){v.validateArgCount("Query.orderByValue",0,0,arguments.length),this.validateNoPreviousOrderByCall_("Query.orderByValue");var t=this.queryParams_.orderBy(nt);return e.validateQueryEndpoints_(t),new e(this.repo,this.path,t,!0)},e.prototype.startAt=function(t,n){void 0===t&&(t=null),v.validateArgCount("Query.startAt",0,2,arguments.length),ge("Query.startAt",1,t,this.path,!0),Te("Query.startAt",2,n,!0);var r=this.queryParams_.startAt(t,n);if(e.validateLimit_(r),e.validateQueryEndpoints_(r),this.queryParams_.hasStart())throw new Error("Query.startAt: Starting point was already set (by another call to startAt or equalTo).");return void 0===t&&(t=null,n=null),new e(this.repo,this.path,r,this.orderByCalled_)},e.prototype.endAt=function(t,n){void 0===t&&(t=null),v.validateArgCount("Query.endAt",0,2,arguments.length),ge("Query.endAt",1,t,this.path,!0),Te("Query.endAt",2,n,!0);var r=this.queryParams_.endAt(t,n);if(e.validateLimit_(r),e.validateQueryEndpoints_(r),this.queryParams_.hasEnd())throw new Error("Query.endAt: Ending point was already set (by another call to endAt or equalTo).");return new e(this.repo,this.path,r,this.orderByCalled_)},e.prototype.equalTo=function(e,t){if(v.validateArgCount("Query.equalTo",1,2,arguments.length),ge("Query.equalTo",1,e,this.path,!1),Te("Query.equalTo",2,t,!0),this.queryParams_.hasStart())throw new Error("Query.equalTo: Starting point was already set (by another call to startAt or equalTo).");if(this.queryParams_.hasEnd())throw new Error("Query.equalTo: Ending point was already set (by another call to endAt or equalTo).");return this.startAt(e,t).endAt(e,t)},e.prototype.toString=function(){return v.validateArgCount("Query.toString",0,0,arguments.length),this.repo.toString()+this.path.toUrlEncodedString()},e.prototype.toJSON=function(){return v.validateArgCount("Query.toJSON",0,1,arguments.length),this.toString()},e.prototype.queryObject=function(){return this.queryParams_.getQueryObject()},e.prototype.queryIdentifier=function(){var e=this.queryObject(),t=V(e);return"{}"===t?"default":t},e.prototype.isEqual=function(t){if(v.validateArgCount("Query.isEqual",1,1,arguments.length),!(t instanceof e)){throw new Error("Query.isEqual failed: First argument must be an instance of firebase.database.Query.")}var n=this.repo===t.repo,r=this.path.equals(t.path),i=this.queryIdentifier()===t.queryIdentifier();return n&&r&&i},e.getCancelAndContextArgs_=function(e,t,n){var r={cancel:null,context:null};if(t&&n)r.cancel=t,v.validateCallback(e,3,r.cancel,!0),r.context=n,v.validateContextObject(e,4,r.context,!0);else if(t)if("object"===typeof t&&null!==t)r.context=t;else{if("function"!==typeof t)throw new Error(v.errorPrefix(e,3,!0)+" must either be a cancel callback or a context object.");r.cancel=t}return r},Object.defineProperty(e.prototype,"ref",{get:function(){return this.getRef()},enumerable:!0,configurable:!0}),e}(),ct=function(){function e(){this.set={}}return e.prototype.add=function(e,t){this.set[e]=null===t||t},e.prototype.contains=function(e){return v.contains(this.set,e)},e.prototype.get=function(e){return this.contains(e)?this.set[e]:void 0},e.prototype.remove=function(e){delete this.set[e]},e.prototype.clear=function(){this.set={}},e.prototype.isEmpty=function(){return v.isEmpty(this.set)},e.prototype.count=function(){return v.getCount(this.set)},e.prototype.each=function(e){v.forEach(this.set,function(t,n){return e(t,n)})},e.prototype.keys=function(){var e=[];return v.forEach(this.set,function(t){e.push(t)}),e},e}(),dt=function(){function e(){this.value_=null,this.children_=null}return e.prototype.find=function(e){if(null!=this.value_)return this.value_.getChild(e);if(e.isEmpty()||null==this.children_)return null;var t=e.getFront();if(e=e.popFront(),this.children_.contains(t)){return this.children_.get(t).find(e)}return null},e.prototype.remember=function(t,n){if(t.isEmpty())this.value_=n,this.children_=null;else if(null!==this.value_)this.value_=this.value_.updateChild(t,n);else{null==this.children_&&(this.children_=new ct);var r=t.getFront();this.children_.contains(r)||this.children_.add(r,new e);var i=this.children_.get(r);t=t.popFront(),i.remember(t,n)}},e.prototype.forget=function(e){if(e.isEmpty())return this.value_=null,this.children_=null,!0;if(null!==this.value_){if(this.value_.isLeafNode())return!1;var t=this.value_;this.value_=null;var n=this;return t.forEachChild(Be,function(e,t){n.remember(new ie(e),t)}),this.forget(e)}if(null!==this.children_){var r=e.getFront();if(e=e.popFront(),this.children_.contains(r)){this.children_.get(r).forget(e)&&this.children_.remove(r)}return!!this.children_.isEmpty()&&(this.children_=null,!0)}return!0},e.prototype.forEachTree=function(e,t){null!==this.value_?t(e,this.value_):this.forEachChild(function(n,r){var i=new ie(e.toString()+"/"+n);r.forEachTree(i,t)})},e.prototype.forEachChild=function(e){null!==this.children_&&this.children_.each(function(t,n){e(t,n)})},e}(),ft=function(e){return e=e||{},e.timestamp=e.timestamp||(new Date).getTime(),e},ht=function(e,t){return e&&"object"===typeof e?(v.assert(".sv"in e,"Unexpected leaf node or priority contents"),t[e[".sv"]]):e},pt=function(e,t){var n=new dt;return e.forEachTree(new ie(""),function(e,r){n.remember(e,mt(r,t))}),n},mt=function(e,t){var n,r=e.getPriority().val(),i=ht(r,t);if(e.isLeafNode()){var o=e,a=ht(o.getValue(),t);return a!==o.getValue()||i!==o.getPriority().val()?new je(a,l(i)):e}var s=e;return n=s,i!==s.getPriority().val()&&(n=n.updatePriority(new je(i))),s.forEachChild(Be,function(e,r){var i=mt(r,t);i!==r&&(n=n.updateImmediateChild(e,i))}),n};!function(e){e[e.OVERWRITE=0]="OVERWRITE",e[e.MERGE=1]="MERGE",e[e.ACK_USER_WRITE=2]="ACK_USER_WRITE",e[e.LISTEN_COMPLETE=3]="LISTEN_COMPLETE"}(et||(et={}));var gt,vt,yt=function(){function e(e,t,n,r){this.fromUser=e,this.fromServer=t,this.queryId=n,this.tagged=r,v.assert(!r||t,"Tagged queries must be from server.")}return e.User=new e(!0,!1,null,!1),e.Server=new e(!1,!0,null,!1),e.forServerTaggedQuery=function(t){return new e(!1,!0,t,!0)},e}(),bt=function(){function e(e,t,n){this.path=e,this.affectedTree=t,this.revert=n,this.type=et.ACK_USER_WRITE,this.source=yt.User}return e.prototype.operationForChild=function(t){if(this.path.isEmpty()){if(null!=this.affectedTree.value)return v.assert(this.affectedTree.children.isEmpty(),"affectedTree should not have overlapping affected paths."),this;var n=this.affectedTree.subtree(new ie(t));return new e(ie.Empty,n,this.revert)}return v.assert(this.path.getFront()===t,"operationForChild called for unrelated child."),new e(this.path.popFront(),this.affectedTree,this.revert)},e}(),wt=function(){return gt||(gt=new He(G)),gt},Et=function(){function e(e,t){void 0===t&&(t=wt()),this.value=e,this.children=t}return e.fromObject=function(t){var n=e.Empty;return v.forEach(t,function(e,t){n=n.set(new ie(e),t)}),n},e.prototype.isEmpty=function(){return null===this.value&&this.children.isEmpty()},e.prototype.findRootMostMatchingPathAndValue=function(e,t){if(null!=this.value&&t(this.value))return{path:ie.Empty,value:this.value};if(e.isEmpty())return null;var n=e.getFront(),r=this.children.get(n);if(null!==r){var i=r.findRootMostMatchingPathAndValue(e.popFront(),t);if(null!=i){return{path:new ie(n).child(i.path),value:i.value}}return null}return null},e.prototype.findRootMostValueAndPath=function(e){return this.findRootMostMatchingPathAndValue(e,function(){return!0})},e.prototype.subtree=function(t){if(t.isEmpty())return this;var n=t.getFront(),r=this.children.get(n);return null!==r?r.subtree(t.popFront()):e.Empty},e.prototype.set=function(t,n){if(t.isEmpty())return new e(n,this.children);var r=t.getFront(),i=this.children.get(r)||e.Empty,o=i.set(t.popFront(),n),a=this.children.insert(r,o);return new e(this.value,a)},e.prototype.remove=function(t){if(t.isEmpty())return this.children.isEmpty()?e.Empty:new e(null,this.children);var n=t.getFront(),r=this.children.get(n);if(r){var i=r.remove(t.popFront()),o=void 0;return o=i.isEmpty()?this.children.remove(n):this.children.insert(n,i),null===this.value&&o.isEmpty()?e.Empty:new e(this.value,o)}return this},e.prototype.get=function(e){if(e.isEmpty())return this.value;var t=e.getFront(),n=this.children.get(t);return n?n.get(e.popFront()):null},e.prototype.setTree=function(t,n){if(t.isEmpty())return n;var r=t.getFront(),i=this.children.get(r)||e.Empty,o=i.setTree(t.popFront(),n),a=void 0;return a=o.isEmpty()?this.children.remove(r):this.children.insert(r,o),new e(this.value,a)},e.prototype.fold=function(e){return this.fold_(ie.Empty,e)},e.prototype.fold_=function(e,t){var n={};return this.children.inorderTraversal(function(r,i){n[r]=i.fold_(e.child(r),t)}),t(e,this.value,n)},e.prototype.findOnPath=function(e,t){return this.findOnPath_(e,ie.Empty,t)},e.prototype.findOnPath_=function(e,t,n){var r=!!this.value&&n(t,this.value);if(r)return r;if(e.isEmpty())return null;var i=e.getFront(),o=this.children.get(i);return o?o.findOnPath_(e.popFront(),t.child(i),n):null},e.prototype.foreachOnPath=function(e,t){return this.foreachOnPath_(e,ie.Empty,t)},e.prototype.foreachOnPath_=function(t,n,r){if(t.isEmpty())return this;this.value&&r(n,this.value);var i=t.getFront(),o=this.children.get(i);return o?o.foreachOnPath_(t.popFront(),n.child(i),r):e.Empty},e.prototype.foreach=function(e){this.foreach_(ie.Empty,e)},e.prototype.foreach_=function(e,t){this.children.inorderTraversal(function(n,r){r.foreach_(e.child(n),t)}),this.value&&t(e,this.value)},e.prototype.foreachChild=function(e){this.children.inorderTraversal(function(t,n){n.value&&e(t,n.value)})},e.Empty=new e(null),e}(),Tt=function(){function e(e,t){this.source=e,this.path=t,this.type=et.LISTEN_COMPLETE}return e.prototype.operationForChild=function(t){return this.path.isEmpty()?new e(this.source,ie.Empty):new e(this.source,this.path.popFront())},e}(),_t=function(){function e(e,t,n){this.source=e,this.path=t,this.snap=n,this.type=et.OVERWRITE}return e.prototype.operationForChild=function(t){return this.path.isEmpty()?new e(this.source,ie.Empty,this.snap.getImmediateChild(t)):new e(this.source,this.path.popFront(),this.snap)},e}(),kt=function(){function e(e,t,n){this.source=e,this.path=t,this.children=n,this.type=et.MERGE}return e.prototype.operationForChild=function(t){if(this.path.isEmpty()){var n=this.children.subtree(new ie(t));return n.isEmpty()?null:n.value?new _t(this.source,ie.Empty,n.value):new e(this.source,ie.Empty,n)}return v.assert(this.path.getFront()===t,"Can't get a merge for a child not on the path of the operation"),new e(this.source,this.path.popFront(),this.children)},e.prototype.toString=function(){return"Operation("+this.path+": "+this.source.toString()+" merge: "+this.children.toString()+")"},e}(),xt=function(){function e(e,t,n){this.node_=e,this.fullyInitialized_=t,this.filtered_=n}return e.prototype.isFullyInitialized=function(){return this.fullyInitialized_},e.prototype.isFiltered=function(){return this.filtered_},e.prototype.isCompleteForPath=function(e){if(e.isEmpty())return this.isFullyInitialized()&&!this.filtered_;var t=e.getFront();return this.isCompleteForChild(t)},e.prototype.isCompleteForChild=function(e){return this.isFullyInitialized()&&!this.filtered_||this.node_.hasChild(e)},e.prototype.getNode=function(){return this.node_},e}(),St=function(){function e(e,t){this.eventCache_=e,this.serverCache_=t}return e.prototype.updateEventSnap=function(t,n,r){return new e(new xt(t,n,r),this.serverCache_)},e.prototype.updateServerSnap=function(t,n,r){return new e(this.eventCache_,new xt(t,n,r))},e.prototype.getEventCache=function(){return this.eventCache_},e.prototype.getCompleteEventSnap=function(){return this.eventCache_.isFullyInitialized()?this.eventCache_.getNode():null},e.prototype.getServerCache=function(){return this.serverCache_},e.prototype.getCompleteServerSnap=function(){return this.serverCache_.isFullyInitialized()?this.serverCache_.getNode():null},e.Empty=new e(new xt(Ze.EMPTY_NODE,!1,!1),new xt(Ze.EMPTY_NODE,!1,!1)),e}(),Ct=function(){function e(e,t,n,r,i){this.type=e,this.snapshotNode=t,this.childName=n,this.oldSnap=r,this.prevName=i}return e.valueChange=function(t){return new e(e.VALUE,t)},e.childAddedChange=function(t,n){return new e(e.CHILD_ADDED,n,t)},e.childRemovedChange=function(t,n){return new e(e.CHILD_REMOVED,n,t)},e.childChangedChange=function(t,n,r){return new e(e.CHILD_CHANGED,n,t,r)},e.childMovedChange=function(t,n){return new e(e.CHILD_MOVED,n,t)},e.CHILD_ADDED="child_added",e.CHILD_REMOVED="child_removed",e.CHILD_CHANGED="child_changed",e.CHILD_MOVED="child_moved",e.VALUE="value",e}(),Ot=function(){function e(e){this.index_=e}return e.prototype.updateChild=function(e,t,n,r,i,o){v.assert(e.isIndexed(this.index_),"A node must be indexed if only a child is updated");var a=e.getImmediateChild(t);return a.getChild(r).equals(n.getChild(r))&&a.isEmpty()==n.isEmpty()?e:(null!=o&&(n.isEmpty()?e.hasChild(t)?o.trackChildChange(Ct.childRemovedChange(t,a)):v.assert(e.isLeafNode(),"A child remove without an old child only makes sense on a leaf node"):a.isEmpty()?o.trackChildChange(Ct.childAddedChange(t,n)):o.trackChildChange(Ct.childChangedChange(t,n,a))),e.isLeafNode()&&n.isEmpty()?e:e.updateImmediateChild(t,n).withIndex(this.index_))},e.prototype.updateFullNode=function(e,t,n){return null!=n&&(e.isLeafNode()||e.forEachChild(Be,function(e,r){t.hasChild(e)||n.trackChildChange(Ct.childRemovedChange(e,r))}),t.isLeafNode()||t.forEachChild(Be,function(t,r){if(e.hasChild(t)){var i=e.getImmediateChild(t);i.equals(r)||n.trackChildChange(Ct.childChangedChange(t,r,i))}else n.trackChildChange(Ct.childAddedChange(t,r))})),t.withIndex(this.index_)},e.prototype.updatePriority=function(e,t){return e.isEmpty()?Ze.EMPTY_NODE:e.updatePriority(t)},e.prototype.filtersNodes=function(){return!1},e.prototype.getIndexedFilter=function(){return this},e.prototype.getIndex=function(){return this.index_},e}(),At=function(){function e(){this.changeMap_={}}return e.prototype.trackChildChange=function(e){var t=e.type,n=e.childName;v.assert(t==Ct.CHILD_ADDED||t==Ct.CHILD_CHANGED||t==Ct.CHILD_REMOVED,"Only child changes supported for tracking"),v.assert(".priority"!==n,"Only non-priority child changes can be tracked.");var r=v.safeGet(this.changeMap_,n);if(r){var i=r.type;if(t==Ct.CHILD_ADDED&&i==Ct.CHILD_REMOVED)this.changeMap_[n]=Ct.childChangedChange(n,e.snapshotNode,r.snapshotNode);else if(t==Ct.CHILD_REMOVED&&i==Ct.CHILD_ADDED)delete this.changeMap_[n];else if(t==Ct.CHILD_REMOVED&&i==Ct.CHILD_CHANGED)this.changeMap_[n]=Ct.childRemovedChange(n,r.oldSnap);else if(t==Ct.CHILD_CHANGED&&i==Ct.CHILD_ADDED)this.changeMap_[n]=Ct.childAddedChange(n,e.snapshotNode);else{if(t!=Ct.CHILD_CHANGED||i!=Ct.CHILD_CHANGED)throw v.assertionError("Illegal combination of changes: "+e+" occurred after "+r);this.changeMap_[n]=Ct.childChangedChange(n,e.snapshotNode,r.oldSnap)}}else this.changeMap_[n]=e},e.prototype.getChanges=function(){return v.getValues(this.changeMap_)},e}(),Pt=function(){function e(){}return e.prototype.getCompleteChild=function(e){return null},e.prototype.getChildAfterChild=function(e,t,n){return null},e}(),It=new Pt,Rt=function(){function e(e,t,n){void 0===n&&(n=null),this.writes_=e,this.viewCache_=t,this.optCompleteServerCache_=n}return e.prototype.getCompleteChild=function(e){var t=this.viewCache_.getEventCache();if(t.isCompleteForChild(e))return t.getNode().getImmediateChild(e);var n=null!=this.optCompleteServerCache_?new xt(this.optCompleteServerCache_,!0,!1):this.viewCache_.getServerCache();return this.writes_.calcCompleteChild(e,n)},e.prototype.getChildAfterChild=function(e,t,n){var r=null!=this.optCompleteServerCache_?this.optCompleteServerCache_:this.viewCache_.getCompleteServerSnap(),i=this.writes_.calcIndexedSlice(r,t,1,n,e);return 0===i.length?null:i[0]},e}(),Nt=function(){function e(e,t){this.viewCache=e,this.changes=t}return e}(),Mt=function(){function e(e){this.filter_=e}return e.prototype.assertIndexed=function(e){v.assert(e.getEventCache().getNode().isIndexed(this.filter_.getIndex()),"Event snap not indexed"),v.assert(e.getServerCache().getNode().isIndexed(this.filter_.getIndex()),"Server snap not indexed")},e.prototype.applyOperation=function(t,n,r,i){var o,a,s=new At;if(n.type===et.OVERWRITE){var l=n;l.source.fromUser?o=this.applyUserOverwrite_(t,l.path,l.snap,r,i,s):(v.assert(l.source.fromServer,"Unknown source."),a=l.source.tagged||t.getServerCache().isFiltered()&&!l.path.isEmpty(),o=this.applyServerOverwrite_(t,l.path,l.snap,r,i,a,s))}else if(n.type===et.MERGE){var u=n;u.source.fromUser?o=this.applyUserMerge_(t,u.path,u.children,r,i,s):(v.assert(u.source.fromServer,"Unknown source."),a=u.source.tagged||t.getServerCache().isFiltered(),o=this.applyServerMerge_(t,u.path,u.children,r,i,a,s))}else if(n.type===et.ACK_USER_WRITE){var c=n;o=c.revert?this.revertUserWrite_(t,c.path,r,i,s):this.ackUserWrite_(t,c.path,c.affectedTree,r,i,s)}else{if(n.type!==et.LISTEN_COMPLETE)throw v.assertionError("Unknown operation type: "+n.type);o=this.listenComplete_(t,n.path,r,s)}var d=s.getChanges();return e.maybeAddValueEvent_(t,o,d),new Nt(o,d)},e.maybeAddValueEvent_=function(e,t,n){var r=t.getEventCache();if(r.isFullyInitialized()){var i=r.getNode().isLeafNode()||r.getNode().isEmpty(),o=e.getCompleteEventSnap();(n.length>0||!e.getEventCache().isFullyInitialized()||i&&!r.getNode().equals(o)||!r.getNode().getPriority().equals(o.getPriority()))&&n.push(Ct.valueChange(t.getCompleteEventSnap()))}},e.prototype.generateEventCacheAfterServerEvent_=function(e,t,n,r,i){var o=e.getEventCache();if(null!=n.shadowingWrite(t))return e;var a=void 0,s=void 0;if(t.isEmpty())if(v.assert(e.getServerCache().isFullyInitialized(),"If change path is empty, we must have complete server data"),e.getServerCache().isFiltered()){var l=e.getCompleteServerSnap(),u=l instanceof Ze?l:Ze.EMPTY_NODE,c=n.calcCompleteEventChildren(u);a=this.filter_.updateFullNode(e.getEventCache().getNode(),c,i)}else{var d=n.calcCompleteEventCache(e.getCompleteServerSnap());a=this.filter_.updateFullNode(e.getEventCache().getNode(),d,i)}else{var f=t.getFront();if(".priority"==f){v.assert(1==t.getLength(),"Can't have a priority with additional path components");var h=o.getNode();s=e.getServerCache().getNode();var p=n.calcEventCacheAfterServerOverwrite(t,h,s);a=null!=p?this.filter_.updatePriority(h,p):o.getNode()}else{var m=t.popFront(),g=void 0;if(o.isCompleteForChild(f)){s=e.getServerCache().getNode();var y=n.calcEventCacheAfterServerOverwrite(t,o.getNode(),s);g=null!=y?o.getNode().getImmediateChild(f).updateChild(m,y):o.getNode().getImmediateChild(f)}else g=n.calcCompleteChild(f,e.getServerCache());a=null!=g?this.filter_.updateChild(o.getNode(),f,g,m,r,i):o.getNode()}}return e.updateEventSnap(a,o.isFullyInitialized()||t.isEmpty(),this.filter_.filtersNodes())},e.prototype.applyServerOverwrite_=function(e,t,n,r,i,o,a){var s,l=e.getServerCache(),u=o?this.filter_:this.filter_.getIndexedFilter();if(t.isEmpty())s=u.updateFullNode(l.getNode(),n,null);else if(u.filtersNodes()&&!l.isFiltered()){var c=l.getNode().updateChild(t,n);s=u.updateFullNode(l.getNode(),c,null)}else{var d=t.getFront();if(!l.isCompleteForPath(t)&&t.getLength()>1)return e;var f=t.popFront(),h=l.getNode().getImmediateChild(d),p=h.updateChild(f,n);s=".priority"==d?u.updatePriority(l.getNode(),p):u.updateChild(l.getNode(),d,p,f,It,null)}var m=e.updateServerSnap(s,l.isFullyInitialized()||t.isEmpty(),u.filtersNodes()),g=new Rt(r,m,i);return this.generateEventCacheAfterServerEvent_(m,t,r,g,a)},e.prototype.applyUserOverwrite_=function(e,t,n,r,i,o){var a,s,l=e.getEventCache(),u=new Rt(r,e,i);if(t.isEmpty())s=this.filter_.updateFullNode(e.getEventCache().getNode(),n,o),a=e.updateEventSnap(s,!0,this.filter_.filtersNodes());else{var c=t.getFront();if(".priority"===c)s=this.filter_.updatePriority(e.getEventCache().getNode(),n),a=e.updateEventSnap(s,l.isFullyInitialized(),l.isFiltered());else{var d=t.popFront(),f=l.getNode().getImmediateChild(c),h=void 0;if(d.isEmpty())h=n;else{var p=u.getCompleteChild(c);h=null!=p?".priority"===d.getBack()&&p.getChild(d.parent()).isEmpty()?p:p.updateChild(d,n):Ze.EMPTY_NODE}if(f.equals(h))a=e;else{var m=this.filter_.updateChild(l.getNode(),c,h,d,u,o);a=e.updateEventSnap(m,l.isFullyInitialized(),this.filter_.filtersNodes())}}}return a},e.cacheHasChild_=function(e,t){return e.getEventCache().isCompleteForChild(t)},e.prototype.applyUserMerge_=function(t,n,r,i,o,a){var s=this,l=t;return r.foreach(function(r,u){var c=n.child(r);e.cacheHasChild_(t,c.getFront())&&(l=s.applyUserOverwrite_(l,c,u,i,o,a))}),r.foreach(function(r,u){var c=n.child(r);e.cacheHasChild_(t,c.getFront())||(l=s.applyUserOverwrite_(l,c,u,i,o,a))}),l},e.prototype.applyMerge_=function(e,t){return t.foreach(function(t,n){e=e.updateChild(t,n)}),e},e.prototype.applyServerMerge_=function(e,t,n,r,i,o,a){var s=this;if(e.getServerCache().getNode().isEmpty()&&!e.getServerCache().isFullyInitialized())return e;var l,u=e;l=t.isEmpty()?n:Et.Empty.setTree(t,n);var c=e.getServerCache().getNode();return l.children.inorderTraversal(function(t,n){if(c.hasChild(t)){var l=e.getServerCache().getNode().getImmediateChild(t),d=s.applyMerge_(l,n);u=s.applyServerOverwrite_(u,new ie(t),d,r,i,o,a)}}),l.children.inorderTraversal(function(t,n){var l=!e.getServerCache().isCompleteForChild(t)&&null==n.value;if(!c.hasChild(t)&&!l){var d=e.getServerCache().getNode().getImmediateChild(t),f=s.applyMerge_(d,n);u=s.applyServerOverwrite_(u,new ie(t),f,r,i,o,a)}}),u},e.prototype.ackUserWrite_=function(e,t,n,r,i,o){if(null!=r.shadowingWrite(t))return e;var a=e.getServerCache().isFiltered(),s=e.getServerCache();if(null!=n.value){if(t.isEmpty()&&s.isFullyInitialized()||s.isCompleteForPath(t))return this.applyServerOverwrite_(e,t,s.getNode().getChild(t),r,i,a,o);if(t.isEmpty()){var l=Et.Empty;return s.getNode().forEachChild(Me,function(e,t){l=l.set(new ie(e),t)}),this.applyServerMerge_(e,t,l,r,i,a,o)}return e}var u=Et.Empty;return n.foreach(function(e,n){var r=t.child(e);s.isCompleteForPath(r)&&(u=u.set(e,s.getNode().getChild(r)))}),this.applyServerMerge_(e,t,u,r,i,a,o)},e.prototype.listenComplete_=function(e,t,n,r){var i=e.getServerCache(),o=e.updateServerSnap(i.getNode(),i.isFullyInitialized()||t.isEmpty(),i.isFiltered());return this.generateEventCacheAfterServerEvent_(o,t,n,It,r)},e.prototype.revertUserWrite_=function(e,t,n,r,i){var o;if(null!=n.shadowingWrite(t))return e;var a=new Rt(n,e,r),s=e.getEventCache().getNode(),l=void 0;if(t.isEmpty()||".priority"===t.getFront()){var u=void 0;if(e.getServerCache().isFullyInitialized())u=n.calcCompleteEventCache(e.getCompleteServerSnap());else{var c=e.getServerCache().getNode();v.assert(c instanceof Ze,"serverChildren would be complete if leaf node"),u=n.calcCompleteEventChildren(c)}u=u,l=this.filter_.updateFullNode(s,u,i)}else{var d=t.getFront(),f=n.calcCompleteChild(d,e.getServerCache());null==f&&e.getServerCache().isCompleteForChild(d)&&(f=s.getImmediateChild(d)),l=null!=f?this.filter_.updateChild(s,d,f,t.popFront(),a,i):e.getEventCache().getNode().hasChild(d)?this.filter_.updateChild(s,d,Ze.EMPTY_NODE,t.popFront(),a,i):s,l.isEmpty()&&e.getServerCache().isFullyInitialized()&&(o=n.calcCompleteEventCache(e.getCompleteServerSnap()),o.isLeafNode()&&(l=this.filter_.updateFullNode(l,o,i)))}return o=e.getServerCache().isFullyInitialized()||null!=n.shadowingWrite(ie.Empty),e.updateEventSnap(l,o,this.filter_.filtersNodes())},e}(),Dt=function(){function e(e){this.query_=e,this.index_=this.query_.getQueryParams().getIndex()}return e.prototype.generateEventsForChanges=function(e,t,n){var r=this,i=[],o=[];return e.forEach(function(e){e.type===Ct.CHILD_CHANGED&&r.index_.indexedValueChanged(e.oldSnap,e.snapshotNode)&&o.push(Ct.childMovedChange(e.childName,e.snapshotNode))}),this.generateEventsForType_(i,Ct.CHILD_REMOVED,e,n,t),this.generateEventsForType_(i,Ct.CHILD_ADDED,e,n,t),this.generateEventsForType_(i,Ct.CHILD_MOVED,o,n,t),this.generateEventsForType_(i,Ct.CHILD_CHANGED,e,n,t),this.generateEventsForType_(i,Ct.VALUE,e,n,t),i},e.prototype.generateEventsForType_=function(e,t,n,r,i){var o=this,a=n.filter(function(e){return e.type===t});a.sort(this.compareChanges_.bind(this)),a.forEach(function(t){var n=o.materializeSingleChange_(t,i);r.forEach(function(r){r.respondsTo(t.type)&&e.push(r.createEvent(n,o.query_))})})},e.prototype.materializeSingleChange_=function(e,t){return"value"===e.type||"child_removed"===e.type?e:(e.prevName=t.getPredecessorChildName(e.childName,e.snapshotNode,this.index_),e)},e.prototype.compareChanges_=function(e,t){if(null==e.childName||null==t.childName)throw v.assertionError("Should only compare child_ events.");var n=new Ie(e.childName,e.snapshotNode),r=new Ie(t.childName,t.snapshotNode);return this.index_.compare(n,r)},e}(),Lt=function(){function e(e,t){this.query_=e,this.eventRegistrations_=[];var n=this.query_.getQueryParams(),r=new Ot(n.getIndex()),i=n.getNodeFilter();this.processor_=new Mt(i);var o=t.getServerCache(),a=t.getEventCache(),s=r.updateFullNode(Ze.EMPTY_NODE,o.getNode(),null),l=i.updateFullNode(Ze.EMPTY_NODE,a.getNode(),null),u=new xt(s,o.isFullyInitialized(),r.filtersNodes()),c=new xt(l,a.isFullyInitialized(),i.filtersNodes());this.viewCache_=new St(c,u),this.eventGenerator_=new Dt(this.query_)}return e.prototype.getQuery=function(){return this.query_},e.prototype.getServerCache=function(){return this.viewCache_.getServerCache().getNode()},e.prototype.getCompleteServerCache=function(e){var t=this.viewCache_.getCompleteServerSnap();return t&&(this.query_.getQueryParams().loadsAllData()||!e.isEmpty()&&!t.getImmediateChild(e.getFront()).isEmpty())?t.getChild(e):null},e.prototype.isEmpty=function(){return 0===this.eventRegistrations_.length},e.prototype.addEventRegistration=function(e){this.eventRegistrations_.push(e)},e.prototype.removeEventRegistration=function(e,t){var n=[];if(t){v.assert(null==e,"A cancel should cancel all event registrations.");var r=this.query_.path;this.eventRegistrations_.forEach(function(e){t=t;var i=e.createCancelEvent(t,r);i&&n.push(i)})}if(e){for(var i=[],o=0;o<this.eventRegistrations_.length;++o){var a=this.eventRegistrations_[o];if(a.matches(e)){if(e.hasAnyCallback()){i=i.concat(this.eventRegistrations_.slice(o+1));break}}else i.push(a)}this.eventRegistrations_=i}else this.eventRegistrations_=[];return n},e.prototype.applyOperation=function(e,t,n){e.type===et.MERGE&&null!==e.source.queryId&&(v.assert(this.viewCache_.getCompleteServerSnap(),"We should always have a full cache before handling merges"),v.assert(this.viewCache_.getCompleteEventSnap(),"Missing event cache, even though we have a server cache"));var r=this.viewCache_,i=this.processor_.applyOperation(r,e,t,n);return this.processor_.assertIndexed(i.viewCache),v.assert(i.viewCache.getServerCache().isFullyInitialized()||!r.getServerCache().isFullyInitialized(),"Once a server snap is complete, it should never go back"),this.viewCache_=i.viewCache,this.generateEventsForChanges_(i.changes,i.viewCache.getEventCache().getNode(),null)},e.prototype.getInitialEvents=function(e){var t=this.viewCache_.getEventCache(),n=[];if(!t.getNode().isLeafNode()){t.getNode().forEachChild(Be,function(e,t){n.push(Ct.childAddedChange(e,t))})}return t.isFullyInitialized()&&n.push(Ct.valueChange(t.getNode())),this.generateEventsForChanges_(n,t.getNode(),e)},e.prototype.generateEventsForChanges_=function(e,t,n){var r=n?[n]:this.eventRegistrations_;return this.eventGenerator_.generateEventsForChanges(e,t,r)},e}(),jt=function(){function e(){this.views_={}}return Object.defineProperty(e,"__referenceConstructor",{get:function(){return v.assert(vt,"Reference.ts has not been loaded"),vt},set:function(e){v.assert(!vt,"__referenceConstructor has already been defined"),vt=e},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return v.isEmpty(this.views_)},e.prototype.applyOperation=function(e,t,n){var r=e.source.queryId;if(null!==r){var i=v.safeGet(this.views_,r);return v.assert(null!=i,"SyncTree gave us an op for an invalid query."),i.applyOperation(e,t,n)}var o=[];return v.forEach(this.views_,function(r,i){o=o.concat(i.applyOperation(e,t,n))}),o},e.prototype.addEventRegistration=function(e,t,n,r,i){var o=e.queryIdentifier(),a=v.safeGet(this.views_,o);if(!a){var s=n.calcCompleteEventCache(i?r:null),l=!1;s?l=!0:r instanceof Ze?(s=n.calcCompleteEventChildren(r),l=!1):(s=Ze.EMPTY_NODE,l=!1);var u=new St(new xt(s,l,!1),new xt(r,i,!1));a=new Lt(e,u),this.views_[o]=a}return a.addEventRegistration(t),a.getInitialEvents(t)},e.prototype.removeEventRegistration=function(t,n,r){var i=t.queryIdentifier(),o=[],a=[],s=this.hasCompleteView();if("default"===i){var l=this;v.forEach(this.views_,function(e,t){a=a.concat(t.removeEventRegistration(n,r)),t.isEmpty()&&(delete l.views_[e],t.getQuery().getQueryParams().loadsAllData()||o.push(t.getQuery()))})}else{var u=v.safeGet(this.views_,i);u&&(a=a.concat(u.removeEventRegistration(n,r)),u.isEmpty()&&(delete this.views_[i],u.getQuery().getQueryParams().loadsAllData()||o.push(u.getQuery())))}return s&&!this.hasCompleteView()&&o.push(new e.__referenceConstructor(t.repo,t.path)),{removed:o,events:a}},e.prototype.getQueryViews=function(){var e=this;return Object.keys(this.views_).map(function(t){return e.views_[t]}).filter(function(e){return!e.getQuery().getQueryParams().loadsAllData()})},e.prototype.getCompleteServerCache=function(e){var t=null;return v.forEach(this.views_,function(n,r){t=t||r.getCompleteServerCache(e)}),t},e.prototype.viewForQuery=function(e){if(e.getQueryParams().loadsAllData())return this.getCompleteView();var t=e.queryIdentifier();return v.safeGet(this.views_,t)},e.prototype.viewExistsForQuery=function(e){return null!=this.viewForQuery(e)},e.prototype.hasCompleteView=function(){return null!=this.getCompleteView()},e.prototype.getCompleteView=function(){return v.findValue(this.views_,function(e){return e.getQuery().getQueryParams().loadsAllData()})||null},e}(),Wt=function(){function e(e){this.writeTree_=e}return e.prototype.addWrite=function(t,n){if(t.isEmpty())return new e(new Et(n));var r=this.writeTree_.findRootMostValueAndPath(t);if(null!=r){var i=r.path,o=r.value,a=ie.relativePath(i,t);return o=o.updateChild(a,n),new e(this.writeTree_.set(i,o))}var s=new Et(n);return new e(this.writeTree_.setTree(t,s))},e.prototype.addWrites=function(e,t){var n=this;return v.forEach(t,function(t,r){n=n.addWrite(e.child(t),r)}),n},e.prototype.removeWrite=function(t){return t.isEmpty()?e.Empty:new e(this.writeTree_.setTree(t,Et.Empty))},e.prototype.hasCompleteWrite=function(e){return null!=this.getCompleteNode(e)},e.prototype.getCompleteNode=function(e){var t=this.writeTree_.findRootMostValueAndPath(e);return null!=t?this.writeTree_.get(t.path).getChild(ie.relativePath(t.path,e)):null},e.prototype.getCompleteChildren=function(){var e=[],t=this.writeTree_.value;return null!=t?t.isLeafNode()||t.forEachChild(Be,function(t,n){e.push(new Ie(t,n))}):this.writeTree_.children.inorderTraversal(function(t,n){null!=n.value&&e.push(new Ie(t,n.value))}),e},e.prototype.childCompoundWrite=function(t){if(t.isEmpty())return this;var n=this.getCompleteNode(t);return new e(null!=n?new Et(n):this.writeTree_.subtree(t))},e.prototype.isEmpty=function(){return this.writeTree_.isEmpty()},e.prototype.apply=function(t){return e.applySubtreeWrite_(ie.Empty,this.writeTree_,t)},e.Empty=new e(new Et(null)),e.applySubtreeWrite_=function(t,n,r){if(null!=n.value)return r.updateChild(t,n.value);var i=null;return n.children.inorderTraversal(function(n,o){".priority"===n?(v.assert(null!==o.value,"Priority writes must always be leaf nodes"),i=o.value):r=e.applySubtreeWrite_(t.child(n),o,r)}),r.getChild(t).isEmpty()||null===i||(r=r.updateChild(t.child(".priority"),i)),r},e}(),Bt=function(){function e(){this.visibleWrites_=Wt.Empty,this.allWrites_=[],this.lastWriteId_=-1}return e.prototype.childWrites=function(e){return new Ft(e,this)},e.prototype.addOverwrite=function(e,t,n,r){v.assert(n>this.lastWriteId_,"Stacking an older write on top of newer ones"),void 0===r&&(r=!0),this.allWrites_.push({path:e,snap:t,writeId:n,visible:r}),r&&(this.visibleWrites_=this.visibleWrites_.addWrite(e,t)),this.lastWriteId_=n},e.prototype.addMerge=function(e,t,n){v.assert(n>this.lastWriteId_,"Stacking an older merge on top of newer ones"),this.allWrites_.push({path:e,children:t,writeId:n,visible:!0}),this.visibleWrites_=this.visibleWrites_.addWrites(e,t),this.lastWriteId_=n},e.prototype.getWrite=function(e){for(var t=0;t<this.allWrites_.length;t++){var n=this.allWrites_[t];if(n.writeId===e)return n}return null},e.prototype.removeWrite=function(e){var t=this,n=this.allWrites_.findIndex(function(t){return t.writeId===e});v.assert(n>=0,"removeWrite called with nonexistent writeId.");var r=this.allWrites_[n];this.allWrites_.splice(n,1);for(var i=r.visible,o=!1,a=this.allWrites_.length-1;i&&a>=0;){var s=this.allWrites_[a];s.visible&&(a>=n&&this.recordContainsPath_(s,r.path)?i=!1:r.path.contains(s.path)&&(o=!0)),a--}if(i){if(o)return this.resetTree_(),!0;if(r.snap)this.visibleWrites_=this.visibleWrites_.removeWrite(r.path);else{var l=r.children;v.forEach(l,function(e){t.visibleWrites_=t.visibleWrites_.removeWrite(r.path.child(e))})}return!0}return!1},e.prototype.getCompleteWriteData=function(e){return this.visibleWrites_.getCompleteNode(e)},e.prototype.calcCompleteEventCache=function(t,n,r,i){if(r||i){var o=this.visibleWrites_.childCompoundWrite(t);if(!i&&o.isEmpty())return n;if(i||null!=n||o.hasCompleteWrite(ie.Empty)){var a=function(e){return(e.visible||i)&&(!r||!~r.indexOf(e.writeId))&&(e.path.contains(t)||t.contains(e.path))},s=e.layerTree_(this.allWrites_,a,t),l=n||Ze.EMPTY_NODE;return s.apply(l)}return null}var u=this.visibleWrites_.getCompleteNode(t);if(null!=u)return u;var c=this.visibleWrites_.childCompoundWrite(t);if(c.isEmpty())return n;if(null!=n||c.hasCompleteWrite(ie.Empty)){var l=n||Ze.EMPTY_NODE;return c.apply(l)}return null},e.prototype.calcCompleteEventChildren=function(e,t){var n=Ze.EMPTY_NODE,r=this.visibleWrites_.getCompleteNode(e);if(r)return r.isLeafNode()||r.forEachChild(Be,function(e,t){n=n.updateImmediateChild(e,t)}),n;if(t){var i=this.visibleWrites_.childCompoundWrite(e);return t.forEachChild(Be,function(e,t){var r=i.childCompoundWrite(new ie(e)).apply(t);n=n.updateImmediateChild(e,r)}),i.getCompleteChildren().forEach(function(e){n=n.updateImmediateChild(e.name,e.node)}),n}return this.visibleWrites_.childCompoundWrite(e).getCompleteChildren().forEach(function(e){n=n.updateImmediateChild(e.name,e.node)}),n},e.prototype.calcEventCacheAfterServerOverwrite=function(e,t,n,r){v.assert(n||r,"Either existingEventSnap or existingServerSnap must exist");var i=e.child(t);if(this.visibleWrites_.hasCompleteWrite(i))return null;var o=this.visibleWrites_.childCompoundWrite(i);return o.isEmpty()?r.getChild(t):o.apply(r.getChild(t))},e.prototype.calcCompleteChild=function(e,t,n){var r=e.child(t),i=this.visibleWrites_.getCompleteNode(r);if(null!=i)return i;if(n.isCompleteForChild(t)){return this.visibleWrites_.childCompoundWrite(r).apply(n.getNode().getImmediateChild(t))}return null},e.prototype.shadowingWrite=function(e){return this.visibleWrites_.getCompleteNode(e)},e.prototype.calcIndexedSlice=function(e,t,n,r,i,o){var a,s=this.visibleWrites_.childCompoundWrite(e),l=s.getCompleteNode(ie.Empty);if(null!=l)a=l;else{if(null==t)return[];a=s.apply(t)}if(a=a.withIndex(o),a.isEmpty()||a.isLeafNode())return[];for(var u=[],c=o.getCompare(),d=i?a.getReverseIteratorFrom(n,o):a.getIteratorFrom(n,o),f=d.getNext();f&&u.length<r;)0!==c(f,n)&&u.push(f),f=d.getNext();return u},e.prototype.recordContainsPath_=function(e,t){return e.snap?e.path.contains(t):!!v.findKey(e.children,function(n,r){return e.path.child(r).contains(t)})},e.prototype.resetTree_=function(){this.visibleWrites_=e.layerTree_(this.allWrites_,e.DefaultFilter_,ie.Empty),this.allWrites_.length>0?this.lastWriteId_=this.allWrites_[this.allWrites_.length-1].writeId:this.lastWriteId_=-1},e.DefaultFilter_=function(e){return e.visible},e.layerTree_=function(e,t,n){for(var r=Wt.Empty,i=0;i<e.length;++i){var o=e[i];if(t(o)){var a=o.path,s=void 0;if(o.snap)n.contains(a)?(s=ie.relativePath(n,a),r=r.addWrite(s,o.snap)):a.contains(n)&&(s=ie.relativePath(a,n),r=r.addWrite(ie.Empty,o.snap.getChild(s)));else{if(!o.children)throw v.assertionError("WriteRecord should have .snap or .children");if(n.contains(a))s=ie.relativePath(n,a),r=r.addWrites(s,o.children);else if(a.contains(n))if(s=ie.relativePath(a,n),s.isEmpty())r=r.addWrites(ie.Empty,o.children);else{var l=v.safeGet(o.children,s.getFront());if(l){var u=l.getChild(s.popFront());r=r.addWrite(ie.Empty,u)}}}}}return r},e}(),Ft=function(){function e(e,t){this.treePath_=e,this.writeTree_=t}return e.prototype.calcCompleteEventCache=function(e,t,n){return this.writeTree_.calcCompleteEventCache(this.treePath_,e,t,n)},e.prototype.calcCompleteEventChildren=function(e){return this.writeTree_.calcCompleteEventChildren(this.treePath_,e)},e.prototype.calcEventCacheAfterServerOverwrite=function(e,t,n){return this.writeTree_.calcEventCacheAfterServerOverwrite(this.treePath_,e,t,n)},e.prototype.shadowingWrite=function(e){return this.writeTree_.shadowingWrite(this.treePath_.child(e))},e.prototype.calcIndexedSlice=function(e,t,n,r,i){return this.writeTree_.calcIndexedSlice(this.treePath_,e,t,n,r,i)},e.prototype.calcCompleteChild=function(e,t){return this.writeTree_.calcCompleteChild(this.treePath_,e,t)},e.prototype.child=function(t){return new e(this.treePath_.child(t),this.writeTree_)},e}(),zt=function(){function e(e){this.listenProvider_=e,this.syncPointTree_=Et.Empty,this.pendingWriteTree_=new Bt,this.tagToQueryMap_={},this.queryToTagMap_={}}return e.prototype.applyUserOverwrite=function(e,t,n,r){return this.pendingWriteTree_.addOverwrite(e,t,n,r),r?this.applyOperationToSyncPoints_(new _t(yt.User,e,t)):[]},e.prototype.applyUserMerge=function(e,t,n){this.pendingWriteTree_.addMerge(e,t,n);var r=Et.fromObject(t);return this.applyOperationToSyncPoints_(new kt(yt.User,e,r))},e.prototype.ackUserWrite=function(e,t){void 0===t&&(t=!1);var n=this.pendingWriteTree_.getWrite(e);if(this.pendingWriteTree_.removeWrite(e)){var r=Et.Empty;return null!=n.snap?r=r.set(ie.Empty,!0):v.forEach(n.children,function(e,t){r=r.set(new ie(e),t)}),this.applyOperationToSyncPoints_(new bt(n.path,r,t))}return[]},e.prototype.applyServerOverwrite=function(e,t){return this.applyOperationToSyncPoints_(new _t(yt.Server,e,t))},e.prototype.applyServerMerge=function(e,t){var n=Et.fromObject(t);return this.applyOperationToSyncPoints_(new kt(yt.Server,e,n))},e.prototype.applyListenComplete=function(e){return this.applyOperationToSyncPoints_(new Tt(yt.Server,e))},e.prototype.applyTaggedQueryOverwrite=function(t,n,r){var i=this.queryKeyForTag_(r);if(null!=i){var o=e.parseQueryKey_(i),a=o.path,s=o.queryId,l=ie.relativePath(a,t),u=new _t(yt.forServerTaggedQuery(s),l,n);return this.applyTaggedOperation_(a,u)}return[]},e.prototype.applyTaggedQueryMerge=function(t,n,r){var i=this.queryKeyForTag_(r);if(i){var o=e.parseQueryKey_(i),a=o.path,s=o.queryId,l=ie.relativePath(a,t),u=Et.fromObject(n),c=new kt(yt.forServerTaggedQuery(s),l,u);return this.applyTaggedOperation_(a,c)}return[]},e.prototype.applyTaggedListenComplete=function(t,n){var r=this.queryKeyForTag_(n);if(r){var i=e.parseQueryKey_(r),o=i.path,a=i.queryId,s=ie.relativePath(o,t),l=new Tt(yt.forServerTaggedQuery(a),s);return this.applyTaggedOperation_(o,l)}return[]},e.prototype.addEventRegistration=function(t,n){var r=t.path,i=null,o=!1;this.syncPointTree_.foreachOnPath(r,function(e,t){var n=ie.relativePath(e,r);i=i||t.getCompleteServerCache(n),o=o||t.hasCompleteView()});var a=this.syncPointTree_.get(r);a?(o=o||a.hasCompleteView(),i=i||a.getCompleteServerCache(ie.Empty)):(a=new jt,this.syncPointTree_=this.syncPointTree_.set(r,a));var s;if(null!=i)s=!0;else{s=!1,i=Ze.EMPTY_NODE;this.syncPointTree_.subtree(r).foreachChild(function(e,t){var n=t.getCompleteServerCache(ie.Empty);n&&(i=i.updateImmediateChild(e,n))})}var l=a.viewExistsForQuery(t);if(!l&&!t.getQueryParams().loadsAllData()){var u=e.makeQueryKey_(t);v.assert(!(u in this.queryToTagMap_),"View does not exist, but we have a tag");var c=e.getNextQueryTag_();this.queryToTagMap_[u]=c,this.tagToQueryMap_["_"+c]=u}var d=this.pendingWriteTree_.childWrites(r),f=a.addEventRegistration(t,n,d,i,s);if(!l&&!o){var h=a.viewForQuery(t);f=f.concat(this.setupListener_(t,h))}return f},e.prototype.removeEventRegistration=function(t,n,r){var i=this,o=t.path,a=this.syncPointTree_.get(o),s=[];if(a&&("default"===t.queryIdentifier()||a.viewExistsForQuery(t))){var l=a.removeEventRegistration(t,n,r);a.isEmpty()&&(this.syncPointTree_=this.syncPointTree_.remove(o));var u=l.removed;s=l.events;var c=-1!==u.findIndex(function(e){return e.getQueryParams().loadsAllData()}),d=this.syncPointTree_.findOnPath(o,function(e,t){return t.hasCompleteView()});if(c&&!d){var f=this.syncPointTree_.subtree(o);if(!f.isEmpty())for(var h=this.collectDistinctViewsForSubTree_(f),p=0;p<h.length;++p){var m=h[p],g=m.getQuery(),v=this.createListenerForView_(m);this.listenProvider_.startListening(e.queryForListening_(g),this.tagForQuery_(g),v.hashFn,v.onComplete)}}if(!d&&u.length>0&&!r)if(c){this.listenProvider_.stopListening(e.queryForListening_(t),null)}else u.forEach(function(t){var n=i.queryToTagMap_[e.makeQueryKey_(t)];i.listenProvider_.stopListening(e.queryForListening_(t),n)});this.removeTags_(u)}return s},e.prototype.calcCompleteEventCache=function(e,t){var n=this.pendingWriteTree_,r=this.syncPointTree_.findOnPath(e,function(t,n){var r=ie.relativePath(t,e),i=n.getCompleteServerCache(r);if(i)return i});return n.calcCompleteEventCache(e,r,t,!0)},e.prototype.collectDistinctViewsForSubTree_=function(e){return e.fold(function(e,t,n){if(t&&t.hasCompleteView()){return[t.getCompleteView()]}var r=[];return t&&(r=t.getQueryViews()),v.forEach(n,function(e,t){r=r.concat(t)}),r})},e.prototype.removeTags_=function(t){for(var n=0;n<t.length;++n){var r=t[n];if(!r.getQueryParams().loadsAllData()){var i=e.makeQueryKey_(r),o=this.queryToTagMap_[i];delete this.queryToTagMap_[i],delete this.tagToQueryMap_["_"+o]}}},e.queryForListening_=function(e){return e.getQueryParams().loadsAllData()&&!e.getQueryParams().isDefault()?e.getRef():e},e.prototype.setupListener_=function(t,n){var r=t.path,i=this.tagForQuery_(t),o=this.createListenerForView_(n),a=this.listenProvider_.startListening(e.queryForListening_(t),i,o.hashFn,o.onComplete),s=this.syncPointTree_.subtree(r);if(i)v.assert(!s.value.hasCompleteView(),"If we're adding a query, it shouldn't be shadowed");else for(var l=s.fold(function(e,t,n){if(!e.isEmpty()&&t&&t.hasCompleteView())return[t.getCompleteView().getQuery()];var r=[];return t&&(r=r.concat(t.getQueryViews().map(function(e){return e.getQuery()}))),v.forEach(n,function(e,t){r=r.concat(t)}),r}),u=0;u<l.length;++u){var c=l[u];this.listenProvider_.stopListening(e.queryForListening_(c),this.tagForQuery_(c))}return a},e.prototype.createListenerForView_=function(e){var t=this,n=e.getQuery(),r=this.tagForQuery_(n);return{hashFn:function(){return(e.getServerCache()||Ze.EMPTY_NODE).hash()},onComplete:function(e){if("ok"===e)return r?t.applyTaggedListenComplete(n.path,r):t.applyListenComplete(n.path);var i=$(e,n);return t.removeEventRegistration(n,null,i)}}},e.makeQueryKey_=function(e){return e.path.toString()+"$"+e.queryIdentifier()},e.parseQueryKey_=function(e){var t=e.indexOf("$");return v.assert(-1!==t&&t<e.length-1,"Bad queryKey."),{queryId:e.substr(t+1),path:new ie(e.substr(0,t))}},e.prototype.queryKeyForTag_=function(e){return this.tagToQueryMap_["_"+e]},e.prototype.tagForQuery_=function(t){var n=e.makeQueryKey_(t);return v.safeGet(this.queryToTagMap_,n)},e.getNextQueryTag_=function(){return e.nextQueryTag_++},e.prototype.applyTaggedOperation_=function(e,t){var n=this.syncPointTree_.get(e);v.assert(n,"Missing sync point for query tag that we're tracking");var r=this.pendingWriteTree_.childWrites(e);return n.applyOperation(t,r,null)},e.prototype.applyOperationToSyncPoints_=function(e){return this.applyOperationHelper_(e,this.syncPointTree_,null,this.pendingWriteTree_.childWrites(ie.Empty))},e.prototype.applyOperationHelper_=function(e,t,n,r){if(e.path.isEmpty())return this.applyOperationDescendantsHelper_(e,t,n,r);var i=t.get(ie.Empty);null==n&&null!=i&&(n=i.getCompleteServerCache(ie.Empty));var o=[],a=e.path.getFront(),s=e.operationForChild(a),l=t.children.get(a);if(l&&s){var u=n?n.getImmediateChild(a):null,c=r.child(a);o=o.concat(this.applyOperationHelper_(s,l,u,c))}return i&&(o=o.concat(i.applyOperation(e,r,n))),o},e.prototype.applyOperationDescendantsHelper_=function(e,t,n,r){var i=this,o=t.get(ie.Empty);null==n&&null!=o&&(n=o.getCompleteServerCache(ie.Empty));var a=[];return t.children.inorderTraversal(function(t,o){var s=n?n.getImmediateChild(t):null,l=r.child(t),u=e.operationForChild(t);u&&(a=a.concat(i.applyOperationDescendantsHelper_(u,o,s,l)))}),o&&(a=a.concat(o.applyOperation(e,r,n))),a},e.nextQueryTag_=1,e}(),Ut=function(){function e(){this.rootNode_=Ze.EMPTY_NODE}return e.prototype.getNode=function(e){return this.rootNode_.getChild(e)},e.prototype.updateSnapshot=function(e,t){this.rootNode_=this.rootNode_.updateChild(e,t)},e}(),Ht=function(){function e(e){this.app_=e}return e.prototype.getToken=function(e){return this.app_.INTERNAL.getToken(e).then(null,function(e){return e&&"auth/token-not-initialized"===e.code?(N("Got auth/token-not-initialized error.  Treating as null token."),null):Promise.reject(e)})},e.prototype.addTokenChangeListener=function(e){this.app_.INTERNAL.addAuthTokenListener(e)},e.prototype.removeTokenChangeListener=function(e){this.app_.INTERNAL.removeAuthTokenListener(e)},e.prototype.notifyForInvalidToken=function(){var e='Provided authentication credentials for the app named "'+this.app_.name+'" are invalid. This usually indicates your app was not initialized correctly. ';"credential"in this.app_.options?e+='Make sure the "credential" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project.':"serviceAccount"in this.app_.options?e+='Make sure the "serviceAccount" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project.':e+='Make sure the "apiKey" and "databaseURL" properties provided to initializeApp() match the values provided for your app at https://console.firebase.google.com/.',j(e)},e}(),Gt=function(){function e(){this.counters_={}}return e.prototype.incrementCounter=function(e,t){void 0===t&&(t=1),v.contains(this.counters_,e)||(this.counters_[e]=0),this.counters_[e]+=t},e.prototype.get=function(){return v.deepCopy(this.counters_)},e}(),qt=function(){function e(){}return e.getCollection=function(e){var t=e.toString();return this.collections_[t]||(this.collections_[t]=new Gt),this.collections_[t]},e.getOrCreateReporter=function(e,t){var n=e.toString();return this.reporters_[n]||(this.reporters_[n]=t()),this.reporters_[n]},e.collections_={},e.reporters_={},e}(),Vt=function(){function e(e){this.collection_=e,this.last_=null}return e.prototype.get=function(){var e=this.collection_.get(),t=v.clone(e);return this.last_&&v.forEach(this.last_,function(e,n){t[e]=t[e]-n}),this.last_=e,t},e}(),Kt=1e4,Yt=3e4,Zt=function(){function e(e,t){this.server_=t,this.statsToReport_={},this.statsListener_=new Vt(e);var n=Kt+(Yt-Kt)*Math.random();re(this.reportStats_.bind(this),Math.floor(n))}return e.prototype.includeStat=function(e){this.statsToReport_[e]=!0},e.prototype.reportStats_=function(){var e=this,t=this.statsListener_.get(),n={},r=!1;v.forEach(t,function(t,i){i>0&&v.contains(e.statsToReport_,t)&&(n[t]=i,r=!0)}),r&&this.server_.reportStats(n),re(this.reportStats_.bind(this),Math.floor(2*Math.random()*3e5))},e}(),Xt=function(){function e(){this.eventLists_=[],this.recursionDepth_=0}return e.prototype.queueEvents=function(e){for(var t=null,n=0;n<e.length;n++){var r=e[n],i=r.getPath();null===t||i.equals(t.getPath())||(this.eventLists_.push(t),t=null),null===t&&(t=new Qt(i)),t.add(r)}t&&this.eventLists_.push(t)},e.prototype.raiseEventsAtPath=function(e,t){this.queueEvents(t),this.raiseQueuedEventsMatchingPredicate_(function(t){return t.equals(e)})},e.prototype.raiseEventsForChangedPath=function(e,t){this.queueEvents(t),this.raiseQueuedEventsMatchingPredicate_(function(t){return t.contains(e)||e.contains(t)})},e.prototype.raiseQueuedEventsMatchingPredicate_=function(e){this.recursionDepth_++;for(var t=!0,n=0;n<this.eventLists_.length;n++){var r=this.eventLists_[n];if(r){e(r.getPath())?(this.eventLists_[n].raise(),this.eventLists_[n]=null):t=!1}}t&&(this.eventLists_=[]),this.recursionDepth_--},e}(),Qt=function(){function e(e){this.path_=e,this.events_=[]}return e.prototype.add=function(e){this.events_.push(e)},e.prototype.raise=function(){for(var e=0;e<this.events_.length;e++){var t=this.events_[e];if(null!==t){this.events_[e]=null;var n=t.getEventRunner();P&&N("event: "+t.toString()),te(n)}}},e.prototype.getPath=function(){return this.path_},e}(),$t=function(){function e(e){this.allowedEvents_=e,this.listeners_={},v.assert(Array.isArray(e)&&e.length>0,"Requires a non-empty array")}return e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Array.isArray(this.listeners_[e]))for(var r=this.listeners_[e].slice(),i=0;i<r.length;i++)r[i].callback.apply(r[i].context,t)},e.prototype.on=function(e,t,n){this.validateEventType_(e),this.listeners_[e]=this.listeners_[e]||[],this.listeners_[e].push({callback:t,context:n});var r=this.getInitialEvent(e);r&&t.apply(n,r)},e.prototype.off=function(e,t,n){this.validateEventType_(e);for(var r=this.listeners_[e]||[],i=0;i<r.length;i++)if(r[i].callback===t&&(!n||n===r[i].context))return void r.splice(i,1)},e.prototype.validateEventType_=function(e){v.assert(this.allowedEvents_.find(function(t){return t===e}),"Unknown event: "+e)},e}(),Jt=function(e){function t(){var t,n,r=e.call(this,["visible"])||this;return"undefined"!==typeof document&&"undefined"!==typeof document.addEventListener&&("undefined"!==typeof document.hidden?(n="visibilitychange",t="hidden"):"undefined"!==typeof document.mozHidden?(n="mozvisibilitychange",t="mozHidden"):"undefined"!==typeof document.msHidden?(n="msvisibilitychange",t="msHidden"):"undefined"!==typeof document.webkitHidden&&(n="webkitvisibilitychange",t="webkitHidden")),r.visible_=!0,n&&document.addEventListener(n,function(){var e=!document[t];e!==r.visible_&&(r.visible_=e,r.trigger("visible",e))},!1),r}return b.__extends(t,e),t.getInstance=function(){return new t},t.prototype.getInitialEvent=function(e){return v.assert("visible"===e,"Unknown event type: "+e),[this.visible_]},t}($t),en=function(e){function t(){var t=e.call(this,["online"])||this;return t.online_=!0,"undefined"===typeof window||"undefined"===typeof window.addEventListener||v.isMobileCordova()||(window.addEventListener("online",function(){t.online_||(t.online_=!0,t.trigger("online",!0))},!1),window.addEventListener("offline",function(){t.online_&&(t.online_=!1,t.trigger("online",!1))},!1)),t}return b.__extends(t,e),t.getInstance=function(){return new t},t.prototype.getInitialEvent=function(e){return v.assert("online"===e,"Unknown event type: "+e),[this.online_]},t.prototype.currentlyOnline=function(){return this.online_},t}($t),tn=function(){function e(e){this.onMessage_=e,this.pendingResponses=[],this.currentResponseNum=0,this.closeAfterResponse=-1,this.onClose=null}return e.prototype.closeAfter=function(e,t){this.closeAfterResponse=e,this.onClose=t,this.closeAfterResponse<this.currentResponseNum&&(this.onClose(),this.onClose=null)},e.prototype.handleResponse=function(e,t){var n=this;this.pendingResponses[e]=t;for(var r=this;this.pendingResponses[this.currentResponseNum];){if("break"===function(){var e=r.pendingResponses[r.currentResponseNum];delete r.pendingResponses[r.currentResponseNum];for(var t=0;t<e.length;++t)!function(t){e[t]&&te(function(){n.onMessage_(e[t])})}(t);if(r.currentResponseNum===r.closeAfterResponse)return r.onClose&&(r.onClose(),r.onClose=null),"break";r.currentResponseNum++}())break}},e}(),nn="pLPCommand",rn="pRTLPCB",on=function(){function e(e,t,n,r){this.connId=e,this.repoInfo=t,this.transportSessionId=n,this.lastSessionId=r,this.bytesSent=0,this.bytesReceived=0,this.everConnected_=!1,this.log_=M(e),this.stats_=qt.getCollection(t),this.urlFn=function(e){return t.connectionURL(ae,e)}}return e.prototype.open=function(e,t){var n=this;this.curSegmentNum=0,this.onDisconnect_=t,this.myPacketOrderer=new tn(e),this.isClosed_=!1,this.connectTimeoutTimer_=setTimeout(function(){n.log_("Timed out trying to connect."),n.onClosed_(),n.connectTimeoutTimer_=null},Math.floor(3e4)),F(function(){if(!n.isClosed_){n.scriptTagHolder=new an(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[0],i=e[1],o=e[2];if(n.incrementIncomingBytes_(e),n.scriptTagHolder)if(n.connectTimeoutTimer_&&(clearTimeout(n.connectTimeoutTimer_),n.connectTimeoutTimer_=null),n.everConnected_=!0,"start"==r)n.id=i,n.password=o;else{if("close"!==r)throw new Error("Unrecognized command received: "+r);i?(n.scriptTagHolder.sendNewPolls=!1,n.myPacketOrderer.closeAfter(i,function(){n.onClosed_()})):n.onClosed_()}},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[0],i=e[1];n.incrementIncomingBytes_(e),n.myPacketOrderer.handleResponse(r,i)},function(){n.onClosed_()},n.urlFn);var e={};e.start="t",e.ser=Math.floor(1e8*Math.random()),n.scriptTagHolder.uniqueCallbackIdentifier&&(e.cb=n.scriptTagHolder.uniqueCallbackIdentifier),e.v="5",n.transportSessionId&&(e.s=n.transportSessionId),n.lastSessionId&&(e.ls=n.lastSessionId),!v.isNodeSdk()&&"undefined"!==typeof location&&location.href&&-1!==location.href.indexOf("firebaseio.com")&&(e.r="f");var t=n.urlFn(e);n.log_("Connecting via long-poll to "+t),n.scriptTagHolder.addTag(t,function(){})}})},e.prototype.start=function(){this.scriptTagHolder.startLongPoll(this.id,this.password),this.addDisconnectPingFrame(this.id,this.password)},e.forceAllow=function(){e.forceAllow_=!0},e.forceDisallow=function(){e.forceDisallow_=!0},e.isAvailable=function(){return e.forceAllow_||!e.forceDisallow_&&"undefined"!==typeof document&&null!=document.createElement&&!X()&&!Q()&&!v.isNodeSdk()},e.prototype.markConnectionHealthy=function(){},e.prototype.shutdown_=function(){this.isClosed_=!0,this.scriptTagHolder&&(this.scriptTagHolder.close(),this.scriptTagHolder=null),this.myDisconnFrame&&(document.body.removeChild(this.myDisconnFrame),this.myDisconnFrame=null),this.connectTimeoutTimer_&&(clearTimeout(this.connectTimeoutTimer_),this.connectTimeoutTimer_=null)},e.prototype.onClosed_=function(){this.isClosed_||(this.log_("Longpoll is closing itself"),this.shutdown_(),this.onDisconnect_&&(this.onDisconnect_(this.everConnected_),this.onDisconnect_=null))},e.prototype.close=function(){this.isClosed_||(this.log_("Longpoll is being closed."),this.shutdown_())},e.prototype.send=function(e){var t=v.stringify(e);this.bytesSent+=t.length,this.stats_.incrementCounter("bytes_sent",t.length);for(var n=v.base64Encode(t),r=K(n,1840),i=0;i<r.length;i++)this.scriptTagHolder.enqueueSegment(this.curSegmentNum,r.length,r[i]),this.curSegmentNum++},e.prototype.addDisconnectPingFrame=function(e,t){if(!v.isNodeSdk()){this.myDisconnFrame=document.createElement("iframe");var n={};n.dframe="t",n.id=e,n.pw=t,this.myDisconnFrame.src=this.urlFn(n),this.myDisconnFrame.style.display="none",document.body.appendChild(this.myDisconnFrame)}},e.prototype.incrementIncomingBytes_=function(e){var t=v.stringify(e).length;this.bytesReceived+=t,this.stats_.incrementCounter("bytes_received",t)},e}(),an=function(){function e(t,n,r,i){if(this.onDisconnect=r,this.urlFn=i,this.outstandingRequests=new ct,this.pendingSegs=[],this.currentSerial=Math.floor(1e8*Math.random()),this.sendNewPolls=!0,v.isNodeSdk())this.commandCB=t,this.onMessageCB=n;else{this.uniqueCallbackIdentifier=C(),window[nn+this.uniqueCallbackIdentifier]=t,window[rn+this.uniqueCallbackIdentifier]=n,this.myIFrame=e.createIFrame_();var o="";if(this.myIFrame.src&&"javascript:"===this.myIFrame.src.substr(0,"javascript:".length)){o='<script>document.domain="'+document.domain+'";<\/script>'}var a="<html><body>"+o+"</body></html>";try{this.myIFrame.doc.open(),this.myIFrame.doc.write(a),this.myIFrame.doc.close()}catch(e){N("frame writing exception"),e.stack&&N(e.stack),N(e)}}}return e.createIFrame_=function(){var e=document.createElement("iframe");if(e.style.display="none",!document.body)throw"Document body has not initialized. Wait to initialize Firebase until after the document is ready.";document.body.appendChild(e);try{e.contentWindow.document||N("No IE domain setting required")}catch(n){var t=document.domain;e.src="javascript:void((function(){document.open();document.domain='"+t+"';document.close();})())"}return e.contentDocument?e.doc=e.contentDocument:e.contentWindow?e.doc=e.contentWindow.document:e.document&&(e.doc=e.document),e},e.prototype.close=function(){var t=this;if(this.alive=!1,this.myIFrame&&(this.myIFrame.doc.body.innerHTML="",setTimeout(function(){null!==t.myIFrame&&(document.body.removeChild(t.myIFrame),t.myIFrame=null)},Math.floor(0))),v.isNodeSdk()&&this.myID){var n={};n.disconn="t",n.id=this.myID,n.pw=this.myPW;var r=this.urlFn(n);e.nodeRestRequest(r)}var i=this.onDisconnect;i&&(this.onDisconnect=null,i())},e.prototype.startLongPoll=function(e,t){for(this.myID=e,this.myPW=t,this.alive=!0;this.newRequest_(););},e.prototype.newRequest_=function(){if(this.alive&&this.sendNewPolls&&this.outstandingRequests.count()<(this.pendingSegs.length>0?2:1)){this.currentSerial++;var e={};e.id=this.myID,e.pw=this.myPW,e.ser=this.currentSerial;for(var t=this.urlFn(e),n="",r=0;this.pendingSegs.length>0;){if(!(this.pendingSegs[0].d.length+30+n.length<=1870))break;var i=this.pendingSegs.shift();n=n+"&seg"+r+"="+i.seg+"&ts"+r+"="+i.ts+"&d"+r+"="+i.d,r++}return t+=n,this.addLongPollTag_(t,this.currentSerial),!0}return!1},e.prototype.enqueueSegment=function(e,t,n){this.pendingSegs.push({seg:e,ts:t,d:n}),this.alive&&this.newRequest_()},e.prototype.addLongPollTag_=function(e,t){var n=this;this.outstandingRequests.add(t,1);var r=function(){n.outstandingRequests.remove(t),n.newRequest_()},i=setTimeout(r,Math.floor(25e3)),o=function(){clearTimeout(i),r()};this.addTag(e,o)},e.prototype.addTag=function(e,t){var n=this;v.isNodeSdk()?this.doNodeLongPoll(e,t):setTimeout(function(){try{if(!n.sendNewPolls)return;var r=n.myIFrame.doc.createElement("script");r.type="text/javascript",r.async=!0,r.src=e,r.onload=r.onreadystatechange=function(){var e=r.readyState;e&&"loaded"!==e&&"complete"!==e||(r.onload=r.onreadystatechange=null,r.parentNode&&r.parentNode.removeChild(r),t())},r.onerror=function(){N("Long-poll script failed to load: "+e),n.sendNewPolls=!1,n.close()},n.myIFrame.doc.body.appendChild(r)}catch(e){}},Math.floor(1))},e}(),sn=null;"undefined"!==typeof MozWebSocket?sn=MozWebSocket:"undefined"!==typeof WebSocket&&(sn=WebSocket);var ln=function(){function e(t,n,r,i){this.connId=t,this.keepaliveTimer=null,this.frames=null,this.totalFrames=0,this.bytesSent=0,this.bytesReceived=0,this.log_=M(this.connId),this.stats_=qt.getCollection(n),this.connURL=e.connectionURL_(n,r,i)}return e.connectionURL_=function(e,t,n){var r={};return r.v="5",!v.isNodeSdk()&&"undefined"!==typeof location&&location.href&&-1!==location.href.indexOf("firebaseio.com")&&(r.r="f"),t&&(r.s=t),n&&(r.ls=n),e.connectionURL("websocket",r)},e.prototype.open=function(e,t){var n=this;this.onDisconnect=t,this.onMessage=e,this.log_("Websocket connecting to "+this.connURL),this.everConnected_=!1,k.set("previous_websocket_failure",!0);try{if(v.isNodeSdk()){var i=v.CONSTANTS.NODE_ADMIN?"AdminNode":"Node",o={headers:{"User-Agent":"Firebase/5/"+w.SDK_VERSION+"/"+r.platform+"/"+i}},a=Object({NODE_ENV:"production",PUBLIC_URL:""}),s=0==this.connURL.indexOf("wss://")?a.HTTPS_PROXY||a.https_proxy:a.HTTP_PROXY||a.http_proxy;s&&(o.proxy={origin:s}),this.mySock=new sn(this.connURL,[],o)}else this.mySock=new sn(this.connURL)}catch(e){this.log_("Error instantiating WebSocket.");var l=e.message||e.data;return l&&this.log_(l),void this.onClosed_()}this.mySock.onopen=function(){n.log_("Websocket connected."),n.everConnected_=!0},this.mySock.onclose=function(){n.log_("Websocket connection was disconnected."),n.mySock=null,n.onClosed_()},this.mySock.onmessage=function(e){n.handleIncomingFrame(e)},this.mySock.onerror=function(e){n.log_("WebSocket error.  Closing connection.");var t=e.message||e.data;t&&n.log_(t),n.onClosed_()}},e.prototype.start=function(){},e.forceDisallow=function(){e.forceDisallow_=!0},e.isAvailable=function(){var t=!1;if("undefined"!==typeof navigator&&navigator.userAgent){var n=/Android ([0-9]{0,}\.[0-9]{0,})/,r=navigator.userAgent.match(n);r&&r.length>1&&parseFloat(r[1])<4.4&&(t=!0)}return!t&&null!==sn&&!e.forceDisallow_},e.previouslyFailed=function(){return k.isInMemoryStorage||!0===k.get("previous_websocket_failure")},e.prototype.markConnectionHealthy=function(){k.remove("previous_websocket_failure")},e.prototype.appendFrame_=function(e){if(this.frames.push(e),this.frames.length==this.totalFrames){var t=this.frames.join("");this.frames=null;var n=v.jsonEval(t);this.onMessage(n)}},e.prototype.handleNewFrameCount_=function(e){this.totalFrames=e,this.frames=[]},e.prototype.extractFrameCount_=function(e){if(v.assert(null===this.frames,"We already have a frame buffer"),e.length<=6){var t=Number(e);if(!isNaN(t))return this.handleNewFrameCount_(t),null}return this.handleNewFrameCount_(1),e},e.prototype.handleIncomingFrame=function(e){if(null!==this.mySock){var t=e.data;if(this.bytesReceived+=t.length,this.stats_.incrementCounter("bytes_received",t.length),this.resetKeepAlive(),null!==this.frames)this.appendFrame_(t);else{var n=this.extractFrameCount_(t);null!==n&&this.appendFrame_(n)}}},e.prototype.send=function(e){this.resetKeepAlive();var t=v.stringify(e);this.bytesSent+=t.length,this.stats_.incrementCounter("bytes_sent",t.length);var n=K(t,16384);n.length>1&&this.sendString_(String(n.length));for(var r=0;r<n.length;r++)this.sendString_(n[r])},e.prototype.shutdown_=function(){this.isClosed_=!0,this.keepaliveTimer&&(clearInterval(this.keepaliveTimer),this.keepaliveTimer=null),this.mySock&&(this.mySock.close(),this.mySock=null)},e.prototype.onClosed_=function(){this.isClosed_||(this.log_("WebSocket is closing itself"),this.shutdown_(),this.onDisconnect&&(this.onDisconnect(this.everConnected_),this.onDisconnect=null))},e.prototype.close=function(){this.isClosed_||(this.log_("WebSocket is being closed"),this.shutdown_())},e.prototype.resetKeepAlive=function(){var e=this;clearInterval(this.keepaliveTimer),this.keepaliveTimer=setInterval(function(){e.mySock&&e.sendString_("0"),e.resetKeepAlive()},Math.floor(45e3))},e.prototype.sendString_=function(e){try{this.mySock.send(e)}catch(e){this.log_("Exception thrown from WebSocket.send():",e.message||e.data,"Closing connection."),setTimeout(this.onClosed_.bind(this),0)}},e.responsesRequiredToBeHealthy=2,e.healthyTimeout=3e4,e}(),un=function(){function e(e){this.initTransports_(e)}return Object.defineProperty(e,"ALL_TRANSPORTS",{get:function(){return[on,ln]},enumerable:!0,configurable:!0}),e.prototype.initTransports_=function(t){var n=ln&&ln.isAvailable(),r=n&&!ln.previouslyFailed();if(t.webSocketOnly&&(n||j("wss:// URL used, but browser isn't known to support websockets.  Trying anyway."),r=!0),r)this.transports_=[ln];else{var i=this.transports_=[];Y(e.ALL_TRANSPORTS,function(e,t){t&&t.isAvailable()&&i.push(t)})}},e.prototype.initialTransport=function(){if(this.transports_.length>0)return this.transports_[0];throw new Error("No transports available")},e.prototype.upgradeTransport=function(){return this.transports_.length>1?this.transports_[1]:null},e}(),cn=function(){function e(e,t,n,r,i,o,a){this.id=e,this.repoInfo_=t,this.onMessage_=n,this.onReady_=r,this.onDisconnect_=i,this.onKill_=o,this.lastSessionId=a,this.connectionCount=0,this.pendingDataMessages=[],this.state_=0,this.log_=M("c:"+this.id+":"),this.transportManager_=new un(t),this.log_("Connection created"),this.start_()}return e.prototype.start_=function(){var e=this,t=this.transportManager_.initialTransport();this.conn_=new t(this.nextTransportId_(),this.repoInfo_,void 0,this.lastSessionId),this.primaryResponsesRequired_=t.responsesRequiredToBeHealthy||0;var n=this.connReceiver_(this.conn_),r=this.disconnReceiver_(this.conn_);this.tx_=this.conn_,this.rx_=this.conn_,this.secondaryConn_=null,this.isHealthy_=!1,setTimeout(function(){e.conn_&&e.conn_.open(n,r)},Math.floor(0));var i=t.healthyTimeout||0;i>0&&(this.healthyTimeout_=re(function(){e.healthyTimeout_=null,e.isHealthy_||(e.conn_&&e.conn_.bytesReceived>102400?(e.log_("Connection exceeded healthy timeout but has received "+e.conn_.bytesReceived+" bytes.  Marking connection healthy."),e.isHealthy_=!0,e.conn_.markConnectionHealthy()):e.conn_&&e.conn_.bytesSent>10240?e.log_("Connection exceeded healthy timeout but has sent "+e.conn_.bytesSent+" bytes.  Leaving connection alive."):(e.log_("Closing unhealthy connection after timeout."),e.close()))},Math.floor(i)))},e.prototype.nextTransportId_=function(){return"c:"+this.id+":"+this.connectionCount++},e.prototype.disconnReceiver_=function(e){var t=this;return function(n){e===t.conn_?t.onConnectionLost_(n):e===t.secondaryConn_?(t.log_("Secondary connection lost."),t.onSecondaryConnectionLost_()):t.log_("closing an old connection")}},e.prototype.connReceiver_=function(e){var t=this;return function(n){2!=t.state_&&(e===t.rx_?t.onPrimaryMessageReceived_(n):e===t.secondaryConn_?t.onSecondaryMessageReceived_(n):t.log_("message on old connection"))}},e.prototype.sendRequest=function(e){var t={t:"d",d:e};this.sendData_(t)},e.prototype.tryCleanupConnection=function(){this.tx_===this.secondaryConn_&&this.rx_===this.secondaryConn_&&(this.log_("cleaning up and promoting a connection: "+this.secondaryConn_.connId),this.conn_=this.secondaryConn_,this.secondaryConn_=null)},e.prototype.onSecondaryControl_=function(e){if("t"in e){var t=e.t;"a"===t?this.upgradeIfSecondaryHealthy_():"r"===t?(this.log_("Got a reset on secondary, closing it"),this.secondaryConn_.close(),this.tx_!==this.secondaryConn_&&this.rx_!==this.secondaryConn_||this.close()):"o"===t&&(this.log_("got pong on secondary."),this.secondaryResponsesRequired_--,this.upgradeIfSecondaryHealthy_())}},e.prototype.onSecondaryMessageReceived_=function(e){var t=q("t",e),n=q("d",e);if("c"==t)this.onSecondaryControl_(n);else{if("d"!=t)throw new Error("Unknown protocol layer: "+t);this.pendingDataMessages.push(n)}},e.prototype.upgradeIfSecondaryHealthy_=function(){this.secondaryResponsesRequired_<=0?(this.log_("Secondary connection is healthy."),this.isHealthy_=!0,this.secondaryConn_.markConnectionHealthy(),this.proceedWithUpgrade_()):(this.log_("sending ping on secondary."),this.secondaryConn_.send({t:"c",d:{t:"p",d:{}}}))},e.prototype.proceedWithUpgrade_=function(){this.secondaryConn_.start(),this.log_("sending client ack on secondary"),this.secondaryConn_.send({t:"c",d:{t:"a",d:{}}}),this.log_("Ending transmission on primary"),this.conn_.send({t:"c",d:{t:"n",d:{}}}),this.tx_=this.secondaryConn_,this.tryCleanupConnection()},e.prototype.onPrimaryMessageReceived_=function(e){var t=q("t",e),n=q("d",e);"c"==t?this.onControl_(n):"d"==t&&this.onDataMessage_(n)},e.prototype.onDataMessage_=function(e){this.onPrimaryResponse_(),this.onMessage_(e)},e.prototype.onPrimaryResponse_=function(){this.isHealthy_||--this.primaryResponsesRequired_<=0&&(this.log_("Primary connection is healthy."),this.isHealthy_=!0,this.conn_.markConnectionHealthy())},e.prototype.onControl_=function(e){var t=q("t",e);if("d"in e){var n=e.d;if("h"===t)this.onHandshake_(n);else if("n"===t){this.log_("recvd end transmission on primary"),this.rx_=this.secondaryConn_;for(var r=0;r<this.pendingDataMessages.length;++r)this.onDataMessage_(this.pendingDataMessages[r]);this.pendingDataMessages=[],this.tryCleanupConnection()}else"s"===t?this.onConnectionShutdown_(n):"r"===t?this.onReset_(n):"e"===t?D("Server Error: "+n):"o"===t?(this.log_("got pong on primary."),this.onPrimaryResponse_(),this.sendPingOnPrimaryIfNecessary_()):D("Unknown control packet command: "+t)}},e.prototype.onHandshake_=function(e){var t=e.ts,n=e.v,r=e.h;this.sessionId=e.s,this.repoInfo_.updateHost(r),0==this.state_&&(this.conn_.start(),this.onConnectionEstablished_(this.conn_,t),"5"!==n&&j("Protocol version mismatch detected"),this.tryStartUpgrade_())},e.prototype.tryStartUpgrade_=function(){var e=this.transportManager_.upgradeTransport();e&&this.startUpgrade_(e)},e.prototype.startUpgrade_=function(e){var t=this;this.secondaryConn_=new e(this.nextTransportId_(),this.repoInfo_,this.sessionId),this.secondaryResponsesRequired_=e.responsesRequiredToBeHealthy||0;var n=this.connReceiver_(this.secondaryConn_),r=this.disconnReceiver_(this.secondaryConn_);this.secondaryConn_.open(n,r),re(function(){t.secondaryConn_&&(t.log_("Timed out trying to upgrade."),t.secondaryConn_.close())},Math.floor(6e4))},e.prototype.onReset_=function(e){this.log_("Reset packet received.  New host: "+e),this.repoInfo_.updateHost(e),1===this.state_?this.close():(this.closeConnections_(),this.start_())},e.prototype.onConnectionEstablished_=function(e,t){var n=this;this.log_("Realtime connection established."),this.conn_=e,this.state_=1,this.onReady_&&(this.onReady_(t,this.sessionId),this.onReady_=null),0===this.primaryResponsesRequired_?(this.log_("Primary connection is healthy."),this.isHealthy_=!0):re(function(){n.sendPingOnPrimaryIfNecessary_()},Math.floor(5e3))},e.prototype.sendPingOnPrimaryIfNecessary_=function(){this.isHealthy_||1!==this.state_||(this.log_("sending ping on primary."),this.sendData_({t:"c",d:{t:"p",d:{}}}))},e.prototype.onSecondaryConnectionLost_=function(){var e=this.secondaryConn_;this.secondaryConn_=null,this.tx_!==e&&this.rx_!==e||this.close()},e.prototype.onConnectionLost_=function(e){this.conn_=null,e||0!==this.state_?1===this.state_&&this.log_("Realtime connection lost."):(this.log_("Realtime connection failed."),this.repoInfo_.isCacheableHost()&&(k.remove("host:"+this.repoInfo_.host),this.repoInfo_.internalHost=this.repoInfo_.host)),this.close()},e.prototype.onConnectionShutdown_=function(e){this.log_("Connection shutdown command received. Shutting down..."),this.onKill_&&(this.onKill_(e),this.onKill_=null),this.onDisconnect_=null,this.close()},e.prototype.sendData_=function(e){if(1!==this.state_)throw"Connection is not connected";this.tx_.send(e)},e.prototype.close=function(){2!==this.state_&&(this.log_("Closing realtime connection."),this.state_=2,this.closeConnections_(),this.onDisconnect_&&(this.onDisconnect_(),this.onDisconnect_=null))},e.prototype.closeConnections_=function(){this.log_("Shutting down all connections"),this.conn_&&(this.conn_.close(),this.conn_=null),this.secondaryConn_&&(this.secondaryConn_.close(),this.secondaryConn_=null),this.healthyTimeout_&&(clearTimeout(this.healthyTimeout_),this.healthyTimeout_=null)},e}(),dn=function(){function e(){}return e.prototype.put=function(e,t,n,r){},e.prototype.merge=function(e,t,n,r){},e.prototype.refreshAuthToken=function(e){},e.prototype.onDisconnectPut=function(e,t,n){},e.prototype.onDisconnectMerge=function(e,t,n){},e.prototype.onDisconnectCancel=function(e,t){},e.prototype.reportStats=function(e){},e}(),fn=1e3,hn=3e5,pn=function(e){function t(n,r,i,o,a,s){var l=e.call(this)||this;if(l.repoInfo_=n,l.onDataUpdate_=r,l.onConnectStatus_=i,l.onServerInfoUpdate_=o,l.authTokenProvider_=a,l.authOverride_=s,l.id=t.nextPersistentConnectionId_++,l.log_=M("p:"+l.id+":"),l.interruptReasons_={},l.listens_={},l.outstandingPuts_=[],l.outstandingPutCount_=0,l.onDisconnectRequestQueue_=[],l.connected_=!1,l.reconnectDelay_=fn,l.maxReconnectDelay_=hn,l.securityDebugCallback_=null,l.lastSessionId=null,l.establishConnectionTimer_=null,l.visible_=!1,l.requestCBHash_={},l.requestNumber_=0,l.realtime_=null,l.authToken_=null,l.forceTokenRefresh_=!1,l.invalidAuthTokenCount_=0,l.firstConnection_=!0,l.lastConnectionAttemptTime_=null,l.lastConnectionEstablishedTime_=null,s&&!v.isNodeSdk())throw new Error("Auth override specified in options, but not supported on non Node.js platforms");return l.scheduleConnect_(0),Jt.getInstance().on("visible",l.onVisible_,l),-1===n.host.indexOf("fblocal")&&en.getInstance().on("online",l.onOnline_,l),l}return b.__extends(t,e),t.prototype.sendRequest=function(e,t,n){var r=++this.requestNumber_,i={r:r,a:e,b:t};this.log_(v.stringify(i)),v.assert(this.connected_,"sendRequest call when we're not connected not allowed."),this.realtime_.sendRequest(i),n&&(this.requestCBHash_[r]=n)},t.prototype.listen=function(e,t,n,r){var i=e.queryIdentifier(),o=e.path.toString();this.log_("Listen called for "+o+" "+i),this.listens_[o]=this.listens_[o]||{},v.assert(e.getQueryParams().isDefault()||!e.getQueryParams().loadsAllData(),"listen() called for non-default but complete query"),v.assert(!this.listens_[o][i],"listen() called twice for same path/queryId.");var a={onComplete:r,hashFn:t,query:e,tag:n};this.listens_[o][i]=a,this.connected_&&this.sendListen_(a)},t.prototype.sendListen_=function(e){var n=this,r=e.query,i=r.path.toString(),o=r.queryIdentifier();this.log_("Listen on "+i+" for "+o);var a={p:i};e.tag&&(a.q=r.queryObject(),a.t=e.tag),a.h=e.hashFn(),this.sendRequest("q",a,function(a){var s=a.d,l=a.s;t.warnOnListenWarnings_(s,r),(n.listens_[i]&&n.listens_[i][o])===e&&(n.log_("listen response",a),"ok"!==l&&n.removeListen_(i,o),e.onComplete&&e.onComplete(l,s))})},t.warnOnListenWarnings_=function(e,t){if(e&&"object"===typeof e&&v.contains(e,"w")){var n=v.safeGet(e,"w");if(Array.isArray(n)&&~n.indexOf("no_index")){var r='".indexOn": "'+t.getQueryParams().getIndex().toString()+'"',i=t.path.toString();j("Using an unspecified index. Your data will be downloaded and filtered on the client. Consider adding "+r+" at "+i+" to your security rules for better performance.")}}},t.prototype.refreshAuthToken=function(e){this.authToken_=e,this.log_("Auth token refreshed"),this.authToken_?this.tryAuth():this.connected_&&this.sendRequest("unauth",{},function(){}),this.reduceReconnectDelayIfAdminCredential_(e)},t.prototype.reduceReconnectDelayIfAdminCredential_=function(e){(e&&40===e.length||v.isAdmin(e))&&(this.log_("Admin auth credential detected.  Reducing max reconnect time."),this.maxReconnectDelay_=3e4)},t.prototype.tryAuth=function(){var e=this;if(this.connected_&&this.authToken_){var t=this.authToken_,n=v.isValidFormat(t)?"auth":"gauth",r={cred:t};null===this.authOverride_?r.noauth=!0:"object"===typeof this.authOverride_&&(r.authvar=this.authOverride_),this.sendRequest(n,r,function(n){var r=n.s,i=n.d||"error";e.authToken_===t&&("ok"===r?e.invalidAuthTokenCount_=0:e.onAuthRevoked_(r,i))})}},t.prototype.unlisten=function(e,t){var n=e.path.toString(),r=e.queryIdentifier();this.log_("Unlisten called for "+n+" "+r),v.assert(e.getQueryParams().isDefault()||!e.getQueryParams().loadsAllData(),"unlisten() called for non-default but complete query"),this.removeListen_(n,r)&&this.connected_&&this.sendUnlisten_(n,r,e.queryObject(),t)},t.prototype.sendUnlisten_=function(e,t,n,r){this.log_("Unlisten on "+e+" for "+t);var i={p:e};r&&(i.q=n,i.t=r),this.sendRequest("n",i)},t.prototype.onDisconnectPut=function(e,t,n){this.connected_?this.sendOnDisconnect_("o",e,t,n):this.onDisconnectRequestQueue_.push({pathString:e,action:"o",data:t,onComplete:n})},t.prototype.onDisconnectMerge=function(e,t,n){this.connected_?this.sendOnDisconnect_("om",e,t,n):this.onDisconnectRequestQueue_.push({pathString:e,action:"om",data:t,onComplete:n})},t.prototype.onDisconnectCancel=function(e,t){this.connected_?this.sendOnDisconnect_("oc",e,null,t):this.onDisconnectRequestQueue_.push({pathString:e,action:"oc",data:null,onComplete:t})},t.prototype.sendOnDisconnect_=function(e,t,n,r){var i={p:t,d:n};this.log_("onDisconnect "+e,i),this.sendRequest(e,i,function(e){r&&setTimeout(function(){r(e.s,e.d)},Math.floor(0))})},t.prototype.put=function(e,t,n,r){this.putInternal("p",e,t,n,r)},t.prototype.merge=function(e,t,n,r){this.putInternal("m",e,t,n,r)},t.prototype.putInternal=function(e,t,n,r,i){var o={p:t,d:n};void 0!==i&&(o.h=i),this.outstandingPuts_.push({action:e,request:o,onComplete:r}),this.outstandingPutCount_++;var a=this.outstandingPuts_.length-1;this.connected_?this.sendPut_(a):this.log_("Buffering put: "+t)},t.prototype.sendPut_=function(e){var t=this,n=this.outstandingPuts_[e].action,r=this.outstandingPuts_[e].request,i=this.outstandingPuts_[e].onComplete;this.outstandingPuts_[e].queued=this.connected_,this.sendRequest(n,r,function(r){t.log_(n+" response",r),delete t.outstandingPuts_[e],t.outstandingPutCount_--,0===t.outstandingPutCount_&&(t.outstandingPuts_=[]),i&&i(r.s,r.d)})},t.prototype.reportStats=function(e){var t=this;if(this.connected_){var n={c:e};this.log_("reportStats",n),this.sendRequest("s",n,function(e){if("ok"!==e.s){var n=e.d;t.log_("reportStats","Error sending stats: "+n)}})}},t.prototype.onDataMessage_=function(e){if("r"in e){this.log_("from server: "+v.stringify(e));var t=e.r,n=this.requestCBHash_[t];n&&(delete this.requestCBHash_[t],n(e.b))}else{if("error"in e)throw"A server-side error has occurred: "+e.error;"a"in e&&this.onDataPush_(e.a,e.b)}},t.prototype.onDataPush_=function(e,t){this.log_("handleServerMessage",e,t),"d"===e?this.onDataUpdate_(t.p,t.d,!1,t.t):"m"===e?this.onDataUpdate_(t.p,t.d,!0,t.t):"c"===e?this.onListenRevoked_(t.p,t.q):"ac"===e?this.onAuthRevoked_(t.s,t.d):"sd"===e?this.onSecurityDebugPacket_(t):D("Unrecognized action received from server: "+v.stringify(e)+"\nAre you using the latest client?")},t.prototype.onReady_=function(e,t){this.log_("connection ready"),this.connected_=!0,this.lastConnectionEstablishedTime_=(new Date).getTime(),this.handleTimestamp_(e),this.lastSessionId=t,this.firstConnection_&&this.sendConnectStats_(),this.restoreState_(),this.firstConnection_=!1,this.onConnectStatus_(!0)},t.prototype.scheduleConnect_=function(e){var t=this;v.assert(!this.realtime_,"Scheduling a connect when we're already connected/ing?"),this.establishConnectionTimer_&&clearTimeout(this.establishConnectionTimer_),this.establishConnectionTimer_=setTimeout(function(){t.establishConnectionTimer_=null,t.establishConnection_()},Math.floor(e))},t.prototype.onVisible_=function(e){e&&!this.visible_&&this.reconnectDelay_===this.maxReconnectDelay_&&(this.log_("Window became visible.  Reducing delay."),this.reconnectDelay_=fn,this.realtime_||this.scheduleConnect_(0)),this.visible_=e},t.prototype.onOnline_=function(e){e?(this.log_("Browser went online."),this.reconnectDelay_=fn,this.realtime_||this.scheduleConnect_(0)):(this.log_("Browser went offline.  Killing connection."),this.realtime_&&this.realtime_.close())},t.prototype.onRealtimeDisconnect_=function(){if(this.log_("data client disconnected"),this.connected_=!1,this.realtime_=null,this.cancelSentTransactions_(),this.requestCBHash_={},this.shouldReconnect_()){if(this.visible_){if(this.lastConnectionEstablishedTime_){var e=(new Date).getTime()-this.lastConnectionEstablishedTime_;e>3e4&&(this.reconnectDelay_=fn),this.lastConnectionEstablishedTime_=null}}else this.log_("Window isn't visible.  Delaying reconnect."),this.reconnectDelay_=this.maxReconnectDelay_,this.lastConnectionAttemptTime_=(new Date).getTime();var t=(new Date).getTime()-this.lastConnectionAttemptTime_,n=Math.max(0,this.reconnectDelay_-t);n=Math.random()*n,this.log_("Trying to reconnect in "+n+"ms"),this.scheduleConnect_(n),this.reconnectDelay_=Math.min(this.maxReconnectDelay_,1.3*this.reconnectDelay_)}this.onConnectStatus_(!1)},t.prototype.establishConnection_=function(){if(this.shouldReconnect_()){this.log_("Making a connection attempt"),this.lastConnectionAttemptTime_=(new Date).getTime(),this.lastConnectionEstablishedTime_=null;var e=this.onDataMessage_.bind(this),n=this.onReady_.bind(this),r=this.onRealtimeDisconnect_.bind(this),i=this.id+":"+t.nextConnectionId_++,o=this,a=this.lastSessionId,s=!1,l=null,u=function(){l?l.close():(s=!0,r())},c=function(e){v.assert(l,"sendRequest call when we're not connected not allowed."),l.sendRequest(e)};this.realtime_={close:u,sendRequest:c};var d=this.forceTokenRefresh_;this.forceTokenRefresh_=!1,this.authTokenProvider_.getToken(d).then(function(t){s?N("getToken() completed but was canceled"):(N("getToken() completed. Creating connection."),o.authToken_=t&&t.accessToken,l=new cn(i,o.repoInfo_,e,n,r,function(e){j(e+" ("+o.repoInfo_.toString()+")"),o.interrupt("server_kill")},a))}).then(null,function(e){o.log_("Failed to get token: "+e),s||(v.CONSTANTS.NODE_ADMIN&&j(e),u())})}},t.prototype.interrupt=function(e){N("Interrupting connection for reason: "+e),this.interruptReasons_[e]=!0,this.realtime_?this.realtime_.close():(this.establishConnectionTimer_&&(clearTimeout(this.establishConnectionTimer_),this.establishConnectionTimer_=null),this.connected_&&this.onRealtimeDisconnect_())},t.prototype.resume=function(e){N("Resuming connection for reason: "+e),delete this.interruptReasons_[e],v.isEmpty(this.interruptReasons_)&&(this.reconnectDelay_=fn,this.realtime_||this.scheduleConnect_(0))},t.prototype.handleTimestamp_=function(e){var t=e-(new Date).getTime();this.onServerInfoUpdate_({serverTimeOffset:t})},t.prototype.cancelSentTransactions_=function(){for(var e=0;e<this.outstandingPuts_.length;e++){var t=this.outstandingPuts_[e];t&&"h"in t.request&&t.queued&&(t.onComplete&&t.onComplete("disconnect"),delete this.outstandingPuts_[e],this.outstandingPutCount_--)}0===this.outstandingPutCount_&&(this.outstandingPuts_=[])},t.prototype.onListenRevoked_=function(e,t){var n;n=t?t.map(function(e){return V(e)}).join("$"):"default";var r=this.removeListen_(e,n);r&&r.onComplete&&r.onComplete("permission_denied")},t.prototype.removeListen_=function(e,t){var n,r=new ie(e).toString();return void 0!==this.listens_[r]?(n=this.listens_[r][t],delete this.listens_[r][t],0===v.getCount(this.listens_[r])&&delete this.listens_[r]):n=void 0,n},t.prototype.onAuthRevoked_=function(e,t){N("Auth token revoked: "+e+"/"+t),this.authToken_=null,this.forceTokenRefresh_=!0,this.realtime_.close(),"invalid_token"!==e&&"permission_denied"!==e||++this.invalidAuthTokenCount_>=3&&(this.reconnectDelay_=3e4,this.authTokenProvider_.notifyForInvalidToken())},t.prototype.onSecurityDebugPacket_=function(e){this.securityDebugCallback_?this.securityDebugCallback_(e):"msg"in e&&console.log("FIREBASE: "+e.msg.replace("\n","\nFIREBASE: "))},t.prototype.restoreState_=function(){var e=this;this.tryAuth(),v.forEach(this.listens_,function(t,n){v.forEach(n,function(t,n){e.sendListen_(n)})});for(var t=0;t<this.outstandingPuts_.length;t++)this.outstandingPuts_[t]&&this.sendPut_(t);for(;this.onDisconnectRequestQueue_.length;){var n=this.onDisconnectRequestQueue_.shift();this.sendOnDisconnect_(n.action,n.pathString,n.data,n.onComplete)}},t.prototype.sendConnectStats_=function(){var e={},t="js";v.CONSTANTS.NODE_ADMIN?t="admin_node":v.CONSTANTS.NODE_CLIENT&&(t="node"),e["sdk."+t+"."+w.SDK_VERSION.replace(/\./g,"-")]=1,v.isMobileCordova()?e["framework.cordova"]=1:v.isReactNative()&&(e["framework.reactnative"]=1),this.reportStats(e)},t.prototype.shouldReconnect_=function(){var e=en.getInstance().currentlyOnline();return v.isEmpty(this.interruptReasons_)&&e},t.nextPersistentConnectionId_=0,t.nextConnectionId_=0,t}(dn),mn=function(e){function t(t,n,r){var i=e.call(this)||this;return i.repoInfo_=t,i.onDataUpdate_=n,i.authTokenProvider_=r,i.log_=M("p:rest:"),i.listens_={},i}return b.__extends(t,e),t.prototype.reportStats=function(e){throw new Error("Method not implemented.")},t.getListenId_=function(e,t){return void 0!==t?"tag$"+t:(v.assert(e.getQueryParams().isDefault(),"should have a tag if it's not a default query."),e.path.toString())},t.prototype.listen=function(e,n,r,i){var o=this,a=e.path.toString();this.log_("Listen called for "+a+" "+e.queryIdentifier());var s=t.getListenId_(e,r),l={};this.listens_[s]=l;var u=e.getQueryParams().toRestQueryStringParameters();this.restRequest_(a+".json",u,function(e,t){var n=t;if(404===e&&(n=null,e=null),null===e&&o.onDataUpdate_(a,n,!1,r),v.safeGet(o.listens_,s)===l){var u;u=e?401==e?"permission_denied":"rest_error:"+e:"ok",i(u,null)}})},t.prototype.unlisten=function(e,n){var r=t.getListenId_(e,n);delete this.listens_[r]},t.prototype.refreshAuthToken=function(e){},t.prototype.restRequest_=function(e,t,n){var r=this;void 0===t&&(t={}),t.format="export",this.authTokenProvider_.getToken(!1).then(function(i){var o=i&&i.accessToken;o&&(t.auth=o);var a=(r.repoInfo_.secure?"https://":"http://")+r.repoInfo_.host+e+"?"+v.querystring(t);r.log_("Sending REST request for "+a);var s=new XMLHttpRequest;s.onreadystatechange=function(){if(n&&4===s.readyState){r.log_("REST Response for "+a+" received. status:",s.status,"response:",s.responseText);var e=null;if(s.status>=200&&s.status<300){try{e=v.jsonEval(s.responseText)}catch(e){j("Failed to parse JSON response for "+a+": "+s.responseText)}n(null,e)}else 401!==s.status&&404!==s.status&&j("Got unsuccessful REST response for "+a+" Status: "+s.status),n(s.status);n=null}},s.open("GET",a,!0),s.send()})},t}(dn),gn=function(){function e(e,t,n){var r=this;this.repoInfo_=e,this.app=n,this.dataUpdateCount=0,this.statsListener_=null,this.eventQueue_=new Xt,this.nextWriteId_=1,this.interceptServerDataCallback_=null,this.onDisconnect_=new dt,this.persistentConnection_=null;var i=new Ht(n);if(this.stats_=qt.getCollection(e),t||ne())this.server_=new mn(this.repoInfo_,this.onDataUpdate_.bind(this),i),setTimeout(this.onConnectStatus_.bind(this,!0),0);else{var o=n.options.databaseAuthVariableOverride;if("undefined"!==typeof o&&null!==o){if("object"!==typeof o)throw new Error("Only objects are supported for option databaseAuthVariableOverride");try{v.stringify(o)}catch(e){throw new Error("Invalid authOverride provided: "+e)}}this.persistentConnection_=new pn(this.repoInfo_,this.onDataUpdate_.bind(this),this.onConnectStatus_.bind(this),this.onServerInfoUpdate_.bind(this),i,o),this.server_=this.persistentConnection_}i.addTokenChangeListener(function(e){r.server_.refreshAuthToken(e)}),this.statsReporter_=qt.getOrCreateReporter(e,function(){return new Zt(r.stats_,r.server_)}),this.transactions_init_(),this.infoData_=new Ut,this.infoSyncTree_=new zt({startListening:function(e,t,n,i){var o=[],a=r.infoData_.getNode(e.path);return a.isEmpty()||(o=r.infoSyncTree_.applyServerOverwrite(e.path,a),setTimeout(function(){i("ok")},0)),o},stopListening:function(){}}),this.updateInfo_("connected",!1),this.serverSyncTree_=new zt({startListening:function(e,t,n,i){return r.server_.listen(e,n,t,function(t,n){var o=i(t,n);r.eventQueue_.raiseEventsForChangedPath(e.path,o)}),[]},stopListening:function(e,t){r.server_.unlisten(e,t)}})}return e.prototype.toString=function(){return(this.repoInfo_.secure?"https://":"http://")+this.repoInfo_.host},e.prototype.name=function(){return this.repoInfo_.namespace},e.prototype.serverTime=function(){var e=this.infoData_.getNode(new ie(".info/serverTimeOffset")),t=e.val()||0;return(new Date).getTime()+t},e.prototype.generateServerValues=function(){return ft({timestamp:this.serverTime()})},e.prototype.onDataUpdate_=function(e,t,n,r){this.dataUpdateCount++;var i=new ie(e);t=this.interceptServerDataCallback_?this.interceptServerDataCallback_(e,t):t;var o=[];if(r)if(n){var a=v.map(t,function(e){return l(e)});o=this.serverSyncTree_.applyTaggedQueryMerge(i,a,r)}else{var s=l(t);o=this.serverSyncTree_.applyTaggedQueryOverwrite(i,s,r)}else if(n){var u=v.map(t,function(e){return l(e)});o=this.serverSyncTree_.applyServerMerge(i,u)}else{var c=l(t);o=this.serverSyncTree_.applyServerOverwrite(i,c)}var d=i;o.length>0&&(d=this.rerunTransactions_(i)),this.eventQueue_.raiseEventsForChangedPath(d,o)},e.prototype.interceptServerData_=function(e){this.interceptServerDataCallback_=e},e.prototype.onConnectStatus_=function(e){this.updateInfo_("connected",e),!1===e&&this.runOnDisconnectEvents_()},e.prototype.onServerInfoUpdate_=function(e){var t=this;Y(e,function(e,n){t.updateInfo_(n,e)})},e.prototype.updateInfo_=function(e,t){var n=new ie("/.info/"+e),r=l(t);this.infoData_.updateSnapshot(n,r);var i=this.infoSyncTree_.applyServerOverwrite(n,r);this.eventQueue_.raiseEventsForChangedPath(n,i)},e.prototype.getNextWriteId_=function(){return this.nextWriteId_++},e.prototype.setWithPriority=function(e,t,n,r){var i=this;this.log_("set",{path:e.toString(),value:t,priority:n});var o=this.generateServerValues(),a=l(t,n),s=mt(a,o),u=this.getNextWriteId_(),c=this.serverSyncTree_.applyUserOverwrite(e,s,u,!0);this.eventQueue_.queueEvents(c),this.server_.put(e.toString(),a.val(!0),function(t,n){var o="ok"===t;o||j("set at "+e+" failed: "+t);var a=i.serverSyncTree_.ackUserWrite(u,!o);i.eventQueue_.raiseEventsForChangedPath(e,a),i.callOnCompleteCallback(r,t,n)});var d=this.abortTransactions_(e);this.rerunTransactions_(d),this.eventQueue_.raiseEventsForChangedPath(d,[])},e.prototype.update=function(e,t,n){var r=this;this.log_("update",{path:e.toString(),value:t});var i=!0,o=this.generateServerValues(),a={};if(v.forEach(t,function(e,t){i=!1;var n=l(t);a[e]=mt(n,o)}),i)N("update() called with empty data.  Don't do anything."),this.callOnCompleteCallback(n,"ok");else{var s=this.getNextWriteId_(),u=this.serverSyncTree_.applyUserMerge(e,a,s);this.eventQueue_.queueEvents(u),this.server_.merge(e.toString(),t,function(t,i){var o="ok"===t;o||j("update at "+e+" failed: "+t);var a=r.serverSyncTree_.ackUserWrite(s,!o),l=a.length>0?r.rerunTransactions_(e):e;r.eventQueue_.raiseEventsForChangedPath(l,a),r.callOnCompleteCallback(n,t,i)}),v.forEach(t,function(t){var n=r.abortTransactions_(e.child(t));r.rerunTransactions_(n)}),this.eventQueue_.raiseEventsForChangedPath(e,[])}},e.prototype.runOnDisconnectEvents_=function(){var e=this;this.log_("onDisconnectEvents");var t=this.generateServerValues(),n=pt(this.onDisconnect_,t),r=[];n.forEachTree(ie.Empty,function(t,n){r=r.concat(e.serverSyncTree_.applyServerOverwrite(t,n));var i=e.abortTransactions_(t);e.rerunTransactions_(i)}),this.onDisconnect_=new dt,this.eventQueue_.raiseEventsForChangedPath(ie.Empty,r)},e.prototype.onDisconnectCancel=function(e,t){var n=this;this.server_.onDisconnectCancel(e.toString(),function(r,i){"ok"===r&&n.onDisconnect_.forget(e),n.callOnCompleteCallback(t,r,i)})},e.prototype.onDisconnectSet=function(e,t,n){var r=this,i=l(t);this.server_.onDisconnectPut(e.toString(),i.val(!0),function(t,o){"ok"===t&&r.onDisconnect_.remember(e,i),r.callOnCompleteCallback(n,t,o)})},e.prototype.onDisconnectSetWithPriority=function(e,t,n,r){var i=this,o=l(t,n);this.server_.onDisconnectPut(e.toString(),o.val(!0),function(t,n){"ok"===t&&i.onDisconnect_.remember(e,o),i.callOnCompleteCallback(r,t,n)})},e.prototype.onDisconnectUpdate=function(e,t,n){var r=this;if(v.isEmpty(t))return N("onDisconnect().update() called with empty data.  Don't do anything."),void this.callOnCompleteCallback(n,"ok");this.server_.onDisconnectMerge(e.toString(),t,function(i,o){"ok"===i&&v.forEach(t,function(t,n){var i=l(n);r.onDisconnect_.remember(e.child(t),i)}),r.callOnCompleteCallback(n,i,o)})},e.prototype.addEventCallbackForQuery=function(e,t){var n;n=".info"===e.path.getFront()?this.infoSyncTree_.addEventRegistration(e,t):this.serverSyncTree_.addEventRegistration(e,t),this.eventQueue_.raiseEventsAtPath(e.path,n)},e.prototype.removeEventCallbackForQuery=function(e,t){var n;n=".info"===e.path.getFront()?this.infoSyncTree_.removeEventRegistration(e,t):this.serverSyncTree_.removeEventRegistration(e,t),this.eventQueue_.raiseEventsAtPath(e.path,n)},e.prototype.interrupt=function(){this.persistentConnection_&&this.persistentConnection_.interrupt("repo_interrupt")},e.prototype.resume=function(){this.persistentConnection_&&this.persistentConnection_.resume("repo_interrupt")},e.prototype.stats=function(e){if(void 0===e&&(e=!1),"undefined"!==typeof console){var t;e?(this.statsListener_||(this.statsListener_=new Vt(this.stats_)),t=this.statsListener_.get()):t=this.stats_.get();var n=Object.keys(t).reduce(function(e,t){return Math.max(t.length,e)},0);v.forEach(t,function(e,t){for(var r=e.length;r<n+2;r++)e+=" ";console.log(e+t)})}},e.prototype.statsIncrementCounter=function(e){this.stats_.incrementCounter(e),this.statsReporter_.includeStat(e)},e.prototype.log_=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="";this.persistentConnection_&&(n=this.persistentConnection_.id+":"),N.apply(void 0,[n].concat(e))},e.prototype.callOnCompleteCallback=function(e,t,n){e&&te(function(){if("ok"==t)e(null);else{var r=(t||"error").toUpperCase(),i=r;n&&(i+=": "+n);var o=new Error(i);o.code=r,e(o)}})},Object.defineProperty(e.prototype,"database",{get:function(){return this.__database||(this.__database=new Sn(this))},enumerable:!0,configurable:!0}),e}(),vn=function(){function e(t){this.indexedFilter_=new Ot(t.getIndex()),this.index_=t.getIndex(),this.startPost_=e.getStartPost_(t),this.endPost_=e.getEndPost_(t)}return e.prototype.getStartPost=function(){return this.startPost_},e.prototype.getEndPost=function(){return this.endPost_},e.prototype.matches=function(e){return this.index_.compare(this.getStartPost(),e)<=0&&this.index_.compare(e,this.getEndPost())<=0},e.prototype.updateChild=function(e,t,n,r,i,o){return this.matches(new Ie(t,n))||(n=Ze.EMPTY_NODE),this.indexedFilter_.updateChild(e,t,n,r,i,o)},e.prototype.updateFullNode=function(e,t,n){t.isLeafNode()&&(t=Ze.EMPTY_NODE);var r=t.withIndex(this.index_);r=r.updatePriority(Ze.EMPTY_NODE);var i=this;return t.forEachChild(Be,function(e,t){i.matches(new Ie(e,t))||(r=r.updateImmediateChild(e,Ze.EMPTY_NODE))}),this.indexedFilter_.updateFullNode(e,r,n)},e.prototype.updatePriority=function(e,t){return e},e.prototype.filtersNodes=function(){return!0},e.prototype.getIndexedFilter=function(){return this.indexedFilter_},e.prototype.getIndex=function(){return this.index_},e.getStartPost_=function(e){if(e.hasStart()){var t=e.getIndexStartName();return e.getIndex().makePost(e.getIndexStartValue(),t)}return e.getIndex().minPost()},e.getEndPost_=function(e){if(e.hasEnd()){var t=e.getIndexEndName();return e.getIndex().makePost(e.getIndexEndValue(),t)}return e.getIndex().maxPost()},e}(),yn=function(){function e(e){this.rangedFilter_=new vn(e),this.index_=e.getIndex(),this.limit_=e.getLimit(),this.reverse_=!e.isViewFromLeft()}return e.prototype.updateChild=function(e,t,n,r,i,o){return this.rangedFilter_.matches(new Ie(t,n))||(n=Ze.EMPTY_NODE),e.getImmediateChild(t).equals(n)?e:e.numChildren()<this.limit_?this.rangedFilter_.getIndexedFilter().updateChild(e,t,n,r,i,o):this.fullLimitUpdateChild_(e,t,n,i,o)},e.prototype.updateFullNode=function(e,t,n){var r;if(t.isLeafNode()||t.isEmpty())r=Ze.EMPTY_NODE.withIndex(this.index_);else if(2*this.limit_<t.numChildren()&&t.isIndexed(this.index_)){r=Ze.EMPTY_NODE.withIndex(this.index_);var i=void 0;i=this.reverse_?t.getReverseIteratorFrom(this.rangedFilter_.getEndPost(),this.index_):t.getIteratorFrom(this.rangedFilter_.getStartPost(),this.index_);for(var o=0;i.hasNext()&&o<this.limit_;){var a=i.getNext(),s=void 0;if(!(s=this.reverse_?this.index_.compare(this.rangedFilter_.getStartPost(),a)<=0:this.index_.compare(a,this.rangedFilter_.getEndPost())<=0))break;r=r.updateImmediateChild(a.name,a.node),o++}}else{r=t.withIndex(this.index_),r=r.updatePriority(Ze.EMPTY_NODE);var l=void 0,u=void 0,c=void 0,i=void 0;if(this.reverse_){i=r.getReverseIterator(this.index_),l=this.rangedFilter_.getEndPost(),u=this.rangedFilter_.getStartPost();var d=this.index_.getCompare();c=function(e,t){return d(t,e)}}else i=r.getIterator(this.index_),l=this.rangedFilter_.getStartPost(),u=this.rangedFilter_.getEndPost(),c=this.index_.getCompare();for(var o=0,f=!1;i.hasNext();){var a=i.getNext();!f&&c(l,a)<=0&&(f=!0);var s=f&&o<this.limit_&&c(a,u)<=0;s?o++:r=r.updateImmediateChild(a.name,Ze.EMPTY_NODE)}}return this.rangedFilter_.getIndexedFilter().updateFullNode(e,r,n)},e.prototype.updatePriority=function(e,t){return e},e.prototype.filtersNodes=function(){return!0},e.prototype.getIndexedFilter=function(){return this.rangedFilter_.getIndexedFilter()},e.prototype.getIndex=function(){return this.index_},e.prototype.fullLimitUpdateChild_=function(e,t,n,r,i){var o;if(this.reverse_){var a=this.index_.getCompare();o=function(e,t){return a(t,e)}}else o=this.index_.getCompare();var s=e;v.assert(s.numChildren()==this.limit_,"");var l=new Ie(t,n),u=this.reverse_?s.getFirstChild(this.index_):s.getLastChild(this.index_),c=this.rangedFilter_.matches(l);if(s.hasChild(t)){for(var d=s.getImmediateChild(t),f=r.getChildAfterChild(this.index_,u,this.reverse_);null!=f&&(f.name==t||s.hasChild(f.name));)f=r.getChildAfterChild(this.index_,f,this.reverse_);var h=null==f?1:o(f,l);if(c&&!n.isEmpty()&&h>=0)return null!=i&&i.trackChildChange(Ct.childChangedChange(t,n,d)),s.updateImmediateChild(t,n);null!=i&&i.trackChildChange(Ct.childRemovedChange(t,d));var p=s.updateImmediateChild(t,Ze.EMPTY_NODE);return null!=f&&this.rangedFilter_.matches(f)?(null!=i&&i.trackChildChange(Ct.childAddedChange(f.name,f.node)),p.updateImmediateChild(f.name,f.node)):p}return n.isEmpty()?e:c&&o(u,l)>=0?(null!=i&&(i.trackChildChange(Ct.childRemovedChange(u.name,u.node)),i.trackChildChange(Ct.childAddedChange(t,n))),s.updateImmediateChild(t,n).updateImmediateChild(u.name,Ze.EMPTY_NODE)):e},e}(),bn=function(){function e(){this.limitSet_=!1,this.startSet_=!1,this.startNameSet_=!1,this.endSet_=!1,this.endNameSet_=!1,this.limit_=0,this.viewFrom_="",this.indexStartValue_=null,this.indexStartName_="",this.indexEndValue_=null,this.indexEndName_="",this.index_=Be}return e.prototype.hasStart=function(){return this.startSet_},e.prototype.isViewFromLeft=function(){return""===this.viewFrom_?this.startSet_:this.viewFrom_===e.WIRE_PROTOCOL_CONSTANTS_.VIEW_FROM_LEFT},e.prototype.getIndexStartValue=function(){return v.assert(this.startSet_,"Only valid if start has been set"),this.indexStartValue_},e.prototype.getIndexStartName=function(){return v.assert(this.startSet_,"Only valid if start has been set"),this.startNameSet_?this.indexStartName_:z},e.prototype.hasEnd=function(){return this.endSet_},e.prototype.getIndexEndValue=function(){return v.assert(this.endSet_,"Only valid if end has been set"),this.indexEndValue_},e.prototype.getIndexEndName=function(){return v.assert(this.endSet_,"Only valid if end has been set"),this.endNameSet_?this.indexEndName_:U},e.prototype.hasLimit=function(){return this.limitSet_},e.prototype.hasAnchoredLimit=function(){return this.limitSet_&&""!==this.viewFrom_},e.prototype.getLimit=function(){return v.assert(this.limitSet_,"Only valid if limit has been set"),this.limit_},e.prototype.getIndex=function(){return this.index_},e.prototype.copy_=function(){var t=new e;return t.limitSet_=this.limitSet_,t.limit_=this.limit_,t.startSet_=this.startSet_,t.indexStartValue_=this.indexStartValue_,t.startNameSet_=this.startNameSet_,t.indexStartName_=this.indexStartName_,t.endSet_=this.endSet_,t.indexEndValue_=this.indexEndValue_,t.endNameSet_=this.endNameSet_,t.indexEndName_=this.indexEndName_,t.index_=this.index_,t.viewFrom_=this.viewFrom_,t},e.prototype.limit=function(e){var t=this.copy_();return t.limitSet_=!0,t.limit_=e,t.viewFrom_="",t},e.prototype.limitToFirst=function(t){var n=this.copy_();return n.limitSet_=!0,n.limit_=t,n.viewFrom_=e.WIRE_PROTOCOL_CONSTANTS_.VIEW_FROM_LEFT,n},e.prototype.limitToLast=function(t){var n=this.copy_();return n.limitSet_=!0,n.limit_=t,n.viewFrom_=e.WIRE_PROTOCOL_CONSTANTS_.VIEW_FROM_RIGHT,n},e.prototype.startAt=function(e,t){var n=this.copy_();return n.startSet_=!0,void 0===e&&(e=null),n.indexStartValue_=e,null!=t?(n.startNameSet_=!0,n.indexStartName_=t):(n.startNameSet_=!1,n.indexStartName_=""),n},e.prototype.endAt=function(e,t){var n=this.copy_();return n.endSet_=!0,void 0===e&&(e=null),n.indexEndValue_=e,void 0!==t?(n.endNameSet_=!0,n.indexEndName_=t):(n.endNameSet_=!1,n.indexEndName_=""),n},e.prototype.orderBy=function(e){var t=this.copy_();return t.index_=e,t},e.prototype.getQueryObject=function(){var t=e.WIRE_PROTOCOL_CONSTANTS_,n={};if(this.startSet_&&(n[t.INDEX_START_VALUE]=this.indexStartValue_,this.startNameSet_&&(n[t.INDEX_START_NAME]=this.indexStartName_)),this.endSet_&&(n[t.INDEX_END_VALUE]=this.indexEndValue_,this.endNameSet_&&(n[t.INDEX_END_NAME]=this.indexEndName_)),this.limitSet_){n[t.LIMIT]=this.limit_;var r=this.viewFrom_;""===r&&(r=this.isViewFromLeft()?t.VIEW_FROM_LEFT:t.VIEW_FROM_RIGHT),n[t.VIEW_FROM]=r}return this.index_!==Be&&(n[t.INDEX]=this.index_.toString()),n},e.prototype.loadsAllData=function(){return!(this.startSet_||this.endSet_||this.limitSet_)},e.prototype.isDefault=function(){return this.loadsAllData()&&this.index_==Be},e.prototype.getNodeFilter=function(){return this.loadsAllData()?new Ot(this.getIndex()):this.hasLimit()?new yn(this):new vn(this)},e.prototype.toRestQueryStringParameters=function(){var t=e.REST_QUERY_CONSTANTS_,n={};if(this.isDefault())return n;var r;return this.index_===Be?r=t.PRIORITY_INDEX:this.index_===nt?r=t.VALUE_INDEX:this.index_===Me?r=t.KEY_INDEX:(v.assert(this.index_ instanceof rt,"Unrecognized index type!"),r=this.index_.toString()),n[t.ORDER_BY]=v.stringify(r),this.startSet_&&(n[t.START_AT]=v.stringify(this.indexStartValue_),this.startNameSet_&&(n[t.START_AT]+=","+v.stringify(this.indexStartName_))),this.endSet_&&(n[t.END_AT]=v.stringify(this.indexEndValue_),this.endNameSet_&&(n[t.END_AT]+=","+v.stringify(this.indexEndName_))),this.limitSet_&&(this.isViewFromLeft()?n[t.LIMIT_TO_FIRST]=this.limit_:n[t.LIMIT_TO_LAST]=this.limit_),n},e.WIRE_PROTOCOL_CONSTANTS_={INDEX_START_VALUE:"sp",INDEX_START_NAME:"sn",INDEX_END_VALUE:"ep",INDEX_END_NAME:"en",LIMIT:"l",VIEW_FROM:"vf",VIEW_FROM_LEFT:"l",VIEW_FROM_RIGHT:"r",INDEX:"i"},e.REST_QUERY_CONSTANTS_={ORDER_BY:"orderBy",PRIORITY_INDEX:"$priority",VALUE_INDEX:"$value",KEY_INDEX:"$key",START_AT:"startAt",END_AT:"endAt",LIMIT_TO_FIRST:"limitToFirst",LIMIT_TO_LAST:"limitToLast"},e.DEFAULT=new e,e}(),wn=function(e){function t(t,n){if(!(t instanceof gn))throw new Error("new Reference() no longer supported - use app.database().");return e.call(this,t,n,bn.DEFAULT,!1)||this}return b.__extends(t,e),t.prototype.getKey=function(){return v.validateArgCount("Reference.key",0,0,arguments.length),this.path.isEmpty()?null:this.path.getBack()},t.prototype.child=function(e){return v.validateArgCount("Reference.child",1,1,arguments.length),"number"===typeof e?e=String(e):e instanceof ie||(null===this.path.getFront()?ke("Reference.child",1,e,!1):_e("Reference.child",1,e,!1)),new t(this.repo,this.path.child(e))},t.prototype.getParent=function(){v.validateArgCount("Reference.parent",0,0,arguments.length);var e=this.path.parent();return null===e?null:new t(this.repo,e)},t.prototype.getRoot=function(){v.validateArgCount("Reference.root",0,0,arguments.length);for(var e=this;null!==e.getParent();)e=e.getParent();return e},t.prototype.databaseProp=function(){return this.repo.database},t.prototype.set=function(e,t){v.validateArgCount("Reference.set",1,2,arguments.length),xe("Reference.set",this.path),ge("Reference.set",1,e,this.path,!1),v.validateCallback("Reference.set",2,t,!0);var n=new v.Deferred;return this.repo.setWithPriority(this.path,e,null,n.wrapCallback(t)),n.promise},t.prototype.update=function(e,t){if(v.validateArgCount("Reference.update",1,2,arguments.length),xe("Reference.update",this.path),Array.isArray(e)){for(var n={},r=0;r<e.length;++r)n[""+r]=e[r];e=n,j("Passing an Array to Firebase.update() is deprecated. Use set() if you want to overwrite the existing data, or an Object with integer keys if you really do want to only update some of the children.")}be("Reference.update",1,e,this.path,!1),v.validateCallback("Reference.update",2,t,!0);var i=new v.Deferred;return this.repo.update(this.path,e,i.wrapCallback(t)),i.promise},t.prototype.setWithPriority=function(e,t,n){if(v.validateArgCount("Reference.setWithPriority",2,3,arguments.length),xe("Reference.setWithPriority",this.path),ge("Reference.setWithPriority",1,e,this.path,!1),we("Reference.setWithPriority",2,t,!1),v.validateCallback("Reference.setWithPriority",3,n,!0),".length"===this.getKey()||".keys"===this.getKey())throw"Reference.setWithPriority failed: "+this.getKey()+" is a read-only object.";var r=new v.Deferred;return this.repo.setWithPriority(this.path,e,t,r.wrapCallback(n)),r.promise},t.prototype.remove=function(e){return v.validateArgCount("Reference.remove",0,1,arguments.length),xe("Reference.remove",this.path),v.validateCallback("Reference.remove",1,e,!0),this.set(null,e)},t.prototype.transaction=function(e,t,n){if(v.validateArgCount("Reference.transaction",1,3,arguments.length),xe("Reference.transaction",this.path),v.validateCallback("Reference.transaction",1,e,!1),v.validateCallback("Reference.transaction",2,t,!0),Ce("Reference.transaction",3,n,!0),".length"===this.getKey()||".keys"===this.getKey())throw"Reference.transaction failed: "+this.getKey()+" is a read-only object.";void 0===n&&(n=!0);var r=new v.Deferred;"function"===typeof t&&r.promise.catch(function(){});var i=function(e,n,i){e?r.reject(e):r.resolve(new Ae(n,i)),"function"===typeof t&&t(e,n,i)};return this.repo.startTransaction(this.path,e,i,n),r.promise},t.prototype.setPriority=function(e,t){v.validateArgCount("Reference.setPriority",1,2,arguments.length),xe("Reference.setPriority",this.path),we("Reference.setPriority",1,e,!1),v.validateCallback("Reference.setPriority",2,t,!0);var n=new v.Deferred;return this.repo.setWithPriority(this.path.child(".priority"),e,null,n.wrapCallback(t)),n.promise},t.prototype.push=function(e,t){v.validateArgCount("Reference.push",0,2,arguments.length),xe("Reference.push",this.path),ge("Reference.push",1,e,this.path,!0),v.validateCallback("Reference.push",2,t,!0);var n,r=this.repo.serverTime(),i=Pe(r),o=this.child(i),a=this.child(i);return n=null!=e?o.set(e,t).then(function(){return a}):Promise.resolve(a),o.then=n.then.bind(n),o.catch=n.then.bind(n,void 0),"function"===typeof t&&n.catch(function(){}),o},t.prototype.onDisconnect=function(){return xe("Reference.onDisconnect",this.path),new Oe(this.repo,this.path)},Object.defineProperty(t.prototype,"database",{get:function(){return this.databaseProp()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"key",{get:function(){return this.getKey()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this.getParent()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this.getRoot()},enumerable:!0,configurable:!0}),t}(ut);ut.__referenceConstructor=wn,jt.__referenceConstructor=wn;var En,Tn=function(){function e(){this.children={},this.childCount=0,this.value=null}return e}(),_n=function(){function e(e,t,n){void 0===e&&(e=""),void 0===t&&(t=null),void 0===n&&(n=new Tn),this.name_=e,this.parent_=t,this.node_=n}return e.prototype.subTree=function(t){for(var n,r=t instanceof ie?t:new ie(t),i=this;null!==(n=r.getFront());){i=new e(n,i,v.safeGet(i.node_.children,n)||new Tn),r=r.popFront()}return i},e.prototype.getValue=function(){return this.node_.value},e.prototype.setValue=function(e){v.assert("undefined"!==typeof e,"Cannot set value to undefined"),this.node_.value=e,this.updateParents_()},e.prototype.clear=function(){this.node_.value=null,this.node_.children={},this.node_.childCount=0,this.updateParents_()},e.prototype.hasChildren=function(){return this.node_.childCount>0},e.prototype.isEmpty=function(){return null===this.getValue()&&!this.hasChildren()},e.prototype.forEachChild=function(t){var n=this;v.forEach(this.node_.children,function(r,i){t(new e(r,n,i))})},e.prototype.forEachDescendant=function(e,t,n){t&&!n&&e(this),this.forEachChild(function(t){t.forEachDescendant(e,!0,n)}),t&&n&&e(this)},e.prototype.forEachAncestor=function(e,t){for(var n=t?this:this.parent();null!==n;){if(e(n))return!0;n=n.parent()}return!1},e.prototype.forEachImmediateDescendantWithValue=function(e){this.forEachChild(function(t){null!==t.getValue()?e(t):t.forEachImmediateDescendantWithValue(e)})},e.prototype.path=function(){return new ie(null===this.parent_?this.name_:this.parent_.path()+"/"+this.name_)},e.prototype.name=function(){return this.name_},e.prototype.parent=function(){return this.parent_},e.prototype.updateParents_=function(){null!==this.parent_&&this.parent_.updateChild_(this.name_,this)},e.prototype.updateChild_=function(e,t){var n=t.isEmpty(),r=v.contains(this.node_.children,e);n&&r?(delete this.node_.children[e],this.node_.childCount--,this.updateParents_()):n||r||(this.node_.children[e]=t.node_,this.node_.childCount++,this.updateParents_())},e}();!function(e){e[e.RUN=0]="RUN",e[e.SENT=1]="SENT",e[e.COMPLETED=2]="COMPLETED",e[e.SENT_NEEDS_ABORT=3]="SENT_NEEDS_ABORT",e[e.NEEDS_ABORT=4]="NEEDS_ABORT"}(En||(En={})),gn.MAX_TRANSACTION_RETRIES_=25,gn.prototype.transactions_init_=function(){this.transactionQueueTree_=new _n},gn.prototype.startTransaction=function(e,t,n,r){this.log_("transaction on "+e);var i=function(){},o=new wn(this,e);o.on("value",i);var a=function(){o.off("value",i)},s={path:e,update:t,onComplete:n,status:null,order:C(),applyLocally:r,retryCount:0,unwatcher:a,abortReason:null,currentWriteId:null,currentInputSnapshot:null,currentOutputSnapshotRaw:null,currentOutputSnapshotResolved:null},u=this.getLatestState_(e);s.currentInputSnapshot=u;var c=s.update(u.val());if(void 0===c){if(s.unwatcher(),s.currentOutputSnapshotRaw=null,s.currentOutputSnapshotResolved=null,s.onComplete){var d=new it(s.currentInputSnapshot,new wn(this,s.path),Be);s.onComplete(null,!1,d)}}else{ve("transaction failed: Data returned ",c,s.path),s.status=En.RUN;var f=this.transactionQueueTree_.subTree(e),h=f.getValue()||[];h.push(s),f.setValue(h);var p=void 0;if("object"===typeof c&&null!==c&&v.contains(c,".priority"))p=v.safeGet(c,".priority"),v.assert(me(p),"Invalid priority returned by transaction. Priority must be a valid string, finite number, server value, or null.");else{p=(this.serverSyncTree_.calcCompleteEventCache(e)||Ze.EMPTY_NODE).getPriority().val()}p=p;var m=this.generateServerValues(),g=l(c,p),y=mt(g,m);s.currentOutputSnapshotRaw=g,s.currentOutputSnapshotResolved=y,s.currentWriteId=this.getNextWriteId_();var b=this.serverSyncTree_.applyUserOverwrite(e,y,s.currentWriteId,s.applyLocally);this.eventQueue_.raiseEventsForChangedPath(e,b),this.sendReadyTransactions_()}},gn.prototype.getLatestState_=function(e,t){return this.serverSyncTree_.calcCompleteEventCache(e,t)||Ze.EMPTY_NODE},gn.prototype.sendReadyTransactions_=function(e){var t=this;if(void 0===e&&(e=this.transactionQueueTree_),e||this.pruneCompletedTransactionsBelowNode_(e),null!==e.getValue()){var n=this.buildTransactionQueue_(e);v.assert(n.length>0,"Sending zero length transaction queue");n.every(function(e){return e.status===En.RUN})&&this.sendTransactionQueue_(e.path(),n)}else e.hasChildren()&&e.forEachChild(function(e){t.sendReadyTransactions_(e)})},gn.prototype.sendTransactionQueue_=function(e,t){for(var n=this,r=t.map(function(e){return e.currentWriteId}),i=this.getLatestState_(e,r),o=i,a=i.hash(),s=0;s<t.length;s++){var l=t[s];v.assert(l.status===En.RUN,"tryToSendTransactionQueue_: items in queue should all be run."),l.status=En.SENT,l.retryCount++;var u=ie.relativePath(e,l.path);o=o.updateChild(u,l.currentOutputSnapshotRaw)}var c=o.val(!0),d=e;this.server_.put(d.toString(),c,function(r){n.log_("transaction put response",{path:d.toString(),status:r});var i=[];if("ok"===r){for(var o=[],a=0;a<t.length;a++){if(t[a].status=En.COMPLETED,i=i.concat(n.serverSyncTree_.ackUserWrite(t[a].currentWriteId)),t[a].onComplete){var s=t[a].currentOutputSnapshotResolved,l=new wn(n,t[a].path),u=new it(s,l,Be);o.push(t[a].onComplete.bind(null,null,!0,u))}t[a].unwatcher()}n.pruneCompletedTransactionsBelowNode_(n.transactionQueueTree_.subTree(e)),n.sendReadyTransactions_(),n.eventQueue_.raiseEventsForChangedPath(e,i);for(var a=0;a<o.length;a++)te(o[a])}else{if("datastale"===r)for(var a=0;a<t.length;a++)t[a].status===En.SENT_NEEDS_ABORT?t[a].status=En.NEEDS_ABORT:t[a].status=En.RUN;else{j("transaction at "+d.toString()+" failed: "+r);for(var a=0;a<t.length;a++)t[a].status=En.NEEDS_ABORT,t[a].abortReason=r}n.rerunTransactions_(e)}},a)},gn.prototype.rerunTransactions_=function(e){var t=this.getAncestorTransactionNode_(e),n=t.path(),r=this.buildTransactionQueue_(t);return this.rerunTransactionQueue_(r,n),n},gn.prototype.rerunTransactionQueue_=function(e,t){if(0!==e.length){for(var n=[],r=[],i=e.filter(function(e){return e.status===En.RUN}),o=i.map(function(e){return e.currentWriteId}),a=0;a<e.length;a++){var s=e[a],u=ie.relativePath(t,s.path),c=!1,d=void 0;if(v.assert(null!==u,"rerunTransactionsUnderNode_: relativePath should not be null."),s.status===En.NEEDS_ABORT)c=!0,d=s.abortReason,r=r.concat(this.serverSyncTree_.ackUserWrite(s.currentWriteId,!0));else if(s.status===En.RUN)if(s.retryCount>=gn.MAX_TRANSACTION_RETRIES_)c=!0,d="maxretry",r=r.concat(this.serverSyncTree_.ackUserWrite(s.currentWriteId,!0));else{var f=this.getLatestState_(s.path,o);s.currentInputSnapshot=f;var h=e[a].update(f.val());if(void 0!==h){ve("transaction failed: Data returned ",h,s.path);var p=l(h),m="object"===typeof h&&null!=h&&v.contains(h,".priority");m||(p=p.updatePriority(f.getPriority()));var g=s.currentWriteId,y=this.generateServerValues(),b=mt(p,y);s.currentOutputSnapshotRaw=p,s.currentOutputSnapshotResolved=b,s.currentWriteId=this.getNextWriteId_(),o.splice(o.indexOf(g),1),r=r.concat(this.serverSyncTree_.applyUserOverwrite(s.path,b,s.currentWriteId,s.applyLocally)),r=r.concat(this.serverSyncTree_.ackUserWrite(g,!0))}else c=!0,d="nodata",r=r.concat(this.serverSyncTree_.ackUserWrite(s.currentWriteId,!0))}if(this.eventQueue_.raiseEventsForChangedPath(t,r),r=[],c&&(e[a].status=En.COMPLETED,function(e){setTimeout(e,Math.floor(0))}(e[a].unwatcher),e[a].onComplete))if("nodata"===d){var w=new wn(this,e[a].path),E=e[a].currentInputSnapshot,T=new it(E,w,Be);n.push(e[a].onComplete.bind(null,null,!1,T))}else n.push(e[a].onComplete.bind(null,new Error(d),!1,null))}this.pruneCompletedTransactionsBelowNode_(this.transactionQueueTree_);for(var a=0;a<n.length;a++)te(n[a]);this.sendReadyTransactions_()}},gn.prototype.getAncestorTransactionNode_=function(e){for(var t,n=this.transactionQueueTree_;null!==(t=e.getFront())&&null===n.getValue();)n=n.subTree(t),e=e.popFront();return n},gn.prototype.buildTransactionQueue_=function(e){var t=[];return this.aggregateTransactionQueuesForNode_(e,t),t.sort(function(e,t){return e.order-t.order}),t},gn.prototype.aggregateTransactionQueuesForNode_=function(e,t){var n=this,r=e.getValue();if(null!==r)for(var i=0;i<r.length;i++)t.push(r[i]);e.forEachChild(function(e){n.aggregateTransactionQueuesForNode_(e,t)})},gn.prototype.pruneCompletedTransactionsBelowNode_=function(e){var t=this,n=e.getValue();if(n){for(var r=0,i=0;i<n.length;i++)n[i].status!==En.COMPLETED&&(n[r]=n[i],r++);n.length=r,e.setValue(n.length>0?n:null)}e.forEachChild(function(e){t.pruneCompletedTransactionsBelowNode_(e)})},gn.prototype.abortTransactions_=function(e){var t=this,n=this.getAncestorTransactionNode_(e).path(),r=this.transactionQueueTree_.subTree(e);return r.forEachAncestor(function(e){t.abortTransactionsOnNode_(e)}),this.abortTransactionsOnNode_(r),r.forEachDescendant(function(e){t.abortTransactionsOnNode_(e)}),n},gn.prototype.abortTransactionsOnNode_=function(e){var t=e.getValue();if(null!==t){for(var n=[],r=[],i=-1,o=0;o<t.length;o++)if(t[o].status===En.SENT_NEEDS_ABORT);else if(t[o].status===En.SENT)v.assert(i===o-1,"All SENT items should be at beginning of queue."),i=o,t[o].status=En.SENT_NEEDS_ABORT,t[o].abortReason="set";else if(v.assert(t[o].status===En.RUN,"Unexpected transaction status in abort"),t[o].unwatcher(),r=r.concat(this.serverSyncTree_.ackUserWrite(t[o].currentWriteId,!0)),t[o].onComplete){n.push(t[o].onComplete.bind(null,new Error("set"),!1,null))}-1===i?e.setValue(null):t.length=i+1,this.eventQueue_.raiseEventsForChangedPath(e.path(),r);for(var o=0;o<n.length;o++)te(n[o])}};var kn,xn=function(){function e(){this.repos_={},this.useRestClient_=!1}return e.getInstance=function(){return kn||(kn=new e),kn},e.prototype.interrupt=function(){for(var e in this.repos_)for(var t in this.repos_[e])this.repos_[e][t].interrupt()},e.prototype.resume=function(){for(var e in this.repos_)for(var t in this.repos_[e])this.repos_[e][t].resume()},e.prototype.databaseFromApp=function(e,t){var n=t||e.options.databaseURL;void 0===n&&L("Can't determine Firebase Database URL.  Be sure to include databaseURL option when calling firebase.initializeApp().");var r=le(n),i=r.repoInfo;return Se("Invalid Firebase Database URL",1,r),r.path.isEmpty()||L("Database URL must point to the root of a Firebase Database (not including a child path)."),this.createRepo(i,e).database},e.prototype.deleteRepo=function(e){var t=v.safeGet(this.repos_,e.app.name);t&&v.safeGet(t,e.repoInfo_.toURLString())===e||L("Database "+e.app.name+"("+e.repoInfo_+") has already been deleted."),e.interrupt(),delete t[e.repoInfo_.toURLString()]},e.prototype.createRepo=function(e,t){var n=v.safeGet(this.repos_,t.name);n||(n={},this.repos_[t.name]=n);var r=v.safeGet(n,e.toURLString());return r&&L("Database initialized multiple times. Please make sure the format of the database URL matches with each database() call."),r=new gn(e,this.useRestClient_,t),n[e.toURLString()]=r,r},e.prototype.forceRestClient=function(e){this.useRestClient_=e},e}(),Sn=function(){function e(e){this.repo_=e,e instanceof gn||L("Don't call new Database() directly - please use firebase.database()."),this.root_=new wn(e,ie.Empty),this.INTERNAL=new Cn(this)}return Object.defineProperty(e.prototype,"app",{get:function(){return this.repo_.app},enumerable:!0,configurable:!0}),e.prototype.ref=function(e){return this.checkDeleted_("ref"),v.validateArgCount("database.ref",0,1,arguments.length),e instanceof wn?this.refFromURL(e.toString()):void 0!==e?this.root_.child(e):this.root_},e.prototype.refFromURL=function(e){var t="database.refFromURL";this.checkDeleted_(t),v.validateArgCount(t,1,1,arguments.length);var n=le(e);Se(t,1,n);var r=n.repoInfo;return r.host!==this.repo_.repoInfo_.host&&L(t+": Host name does not match the current database: (found "+r.host+" but expected "+this.repo_.repoInfo_.host+")"),this.ref(n.path.toString())},e.prototype.checkDeleted_=function(e){null===this.repo_&&L("Cannot call "+e+" on a deleted database.")},e.prototype.goOffline=function(){v.validateArgCount("database.goOffline",0,0,arguments.length),this.checkDeleted_("goOffline"),this.repo_.interrupt()},e.prototype.goOnline=function(){v.validateArgCount("database.goOnline",0,0,arguments.length),this.checkDeleted_("goOnline"),this.repo_.resume()},e.ServerValue={TIMESTAMP:{".sv":"timestamp"}},e}(),Cn=function(){function e(e){this.database=e}return e.prototype.delete=function(){return b.__awaiter(this,void 0,void 0,function(){return b.__generator(this,function(e){return this.database.checkDeleted_("delete"),xn.getInstance().deleteRepo(this.database.repo_),this.database.repo_=null,this.database.root_=null,this.database.INTERNAL=null,this.database=null,[2]})})},e}(),On=function(){ln.forceDisallow(),on.forceAllow()},An=function(){on.forceDisallow()},Pn=function(){return ln.isAvailable()},In=function(e,t){e.repo.persistentConnection_.securityDebugCallback_=t},Rn=function(e,t){e.repo.stats(t)},Nn=function(e,t){e.repo.statsIncrementCounter(t)},Mn=function(e){return e.repo.dataUpdateCount},Dn=function(e,t){return e.repo.interceptServerData_(t)},Ln=Object.freeze({forceLongPolling:On,forceWebSockets:An,isWebSocketsAvailable:Pn,setSecurityDebugCallback:In,stats:Rn,statsIncrementCounter:Nn,dataUpdateCount:Mn,interceptServerData:Dn}),jn=pn;pn.prototype.simpleListen=function(e,t){this.sendRequest("q",{p:e},t)},pn.prototype.echo=function(e,t){this.sendRequest("echo",{d:e},t)};var Wn=cn,Bn=function(e){var t=pn.prototype.put;return pn.prototype.put=function(n,r,i,o){void 0!==o&&(o=e()),t.call(this,n,r,i,o)},function(){pn.prototype.put=t}},Fn=se,zn=function(e){return e.queryIdentifier()},Un=function(e){return e.repo.persistentConnection_.listens_},Hn=function(e){xn.getInstance().forceRestClient(e)},Gn=Object.freeze({DataConnection:jn,RealTimeConnection:Wn,hijackHash:Bn,ConnectionTarget:Fn,queryIdentifier:zn,listens:Un,forceRestClient:Hn}),qn=Sn.ServerValue;u(w),t.registerDatabase=u,t.Database=Sn,t.Query=ut,t.Reference=wn,t.enableLogging=R,t.ServerValue=qn,t.DataSnapshot=it,t.OnDisconnect=Oe}).call(t,n(43))},function(e,t,n){"use strict";function r(e){o.forEach(function(t){t.logLevel=e})}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"setLogLevel",function(){return r}),n.d(t,"Logger",function(){return l}),n.d(t,"LogLevel",function(){return i});var i,o=[];!function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(i||(i={}));var a=i.INFO,s=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];if(!(t<e.logLevel)){var o=(new Date).toISOString();switch(t){case i.DEBUG:case i.VERBOSE:console.log.apply(console,["["+o+"]  "+e.name+":"].concat(n));break;case i.INFO:console.info.apply(console,["["+o+"]  "+e.name+":"].concat(n));break;case i.WARN:console.warn.apply(console,["["+o+"]  "+e.name+":"].concat(n));break;case i.ERROR:console.error.apply(console,["["+o+"]  "+e.name+":"].concat(n));break;default:throw new Error("Attempted to log a message with an invalid logType (value: "+t+")")}}},l=function(){function e(e){this.name=e,this._logLevel=a,this._logHandler=s,o.push(this)}return Object.defineProperty(e.prototype,"logLevel",{get:function(){return this._logLevel},set:function(e){if(!(e in i))throw new TypeError("Invalid value assigned to `logLevel`");this._logLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"logHandler",{get:function(){return this._logHandler},set:function(e){if("function"!==typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e},enumerable:!0,configurable:!0}),e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._logHandler.apply(this,[this,i.DEBUG].concat(e))},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._logHandler.apply(this,[this,i.VERBOSE].concat(e))},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._logHandler.apply(this,[this,i.INFO].concat(e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._logHandler.apply(this,[this,i.WARN].concat(e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._logHandler.apply(this,[this,i.ERROR].concat(e))},e}()},function(e,t,n){(function(t){function n(){return"undefined"!==typeof navigator?o(navigator.userAgent):i()}function r(e){var t=s(),n=t.filter(function(t){return t.rule&&t.rule.test(e)})[0];return n?n.name:null}function i(){return"undefined"!==typeof t&&t.version&&{name:"node",version:t.version.slice(1),os:t.platform}}function o(e){var t=a();if(!e)return null;var n=t.map(function(t){var n=t.rule.exec(e),r=n&&n[1].split(/[._]/).slice(0,3);return r&&r.length<3&&(r=r.concat(1==r.length?[0,0]:[0])),n&&{name:t.name,version:r.join(".")}}).filter(Boolean)[0]||null;return n&&(n.os=r(e)),/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/i.test(e)&&(n=n||{},n.bot=!0),n}function a(){return l([["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["vivaldi",/Vivaldi\/([0-9\.]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)$/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/]])}function s(){return l([["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/],["Search Bot",/(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(MSNBot)|(Ask Jeeves\/Teoma)|(ia_archiver)/]])}function l(e){return e.map(function(e){return{name:e[0],rule:e[1]}})}e.exports={detect:n,detectOS:r,getNodeVersion:i,parseUserAgent:o}}).call(t,n(43))}]);
//# sourceMappingURL=main.61d637df.js.map
+
//# sourceMappingURL=main.f9c0ce4f.js.map

Revision as of 09:00, 17 October 2018

!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.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=268)}([function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){"use strict";e.exports=n(274)},function(e,t,n){e.exports=n(334)()},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){function r(e,t){if(null==e)return{};var n,r,o=i(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var i=n(290);e.exports=r},function(e,t,n){"use strict";function r(){return P||(P=(0,E.default)())}var i=n(46),o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.sheetsManager=void 0;var a=o(n(3)),s=o(n(8)),l=o(n(9)),u=o(n(10)),c=o(n(11)),d=o(n(12)),f=o(n(4)),h=o(n(1)),p=o(n(2)),m=(o(n(13)),o(n(102))),g=(o(n(103)),o(n(61)),o(n(338))),v=n(158),y=i(n(165)),b=o(n(157)),w=o(n(166)),E=o(n(97)),T=o(n(101)),_=o(n(151)),k=o(n(340)),x=o(n(167)),S=(0,v.create)((0,b.default)()),C=(0,_.default)(),O=-1e11,A=new Map;t.sheetsManager=A;var P,I={},R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var i=t.withTheme,o=void 0!==i&&i,v=t.flip,b=void 0===v?null:v,E=t.name,_=(0,f.default)(t,["withTheme","flip","name"]),P=(0,k.default)(e),R=P.themingEnabled||o||"string"===typeof E;O+=1,P.options.index=O;var N=function(e){function t(e,n){var i;(0,s.default)(this,t),i=(0,u.default)(this,(0,c.default)(t).call(this,e,n)),i.disableStylesGeneration=!1,i.jss=null,i.sheetOptions=null,i.sheetsManager=A,i.stylesCreatorSaved=null,i.theme=null,i.unsubscribeId=null,i.state={},i.jss=n[y.jss]||S;var o=n.muiThemeProviderOptions;return o&&(o.sheetsManager&&(i.sheetsManager=o.sheetsManager),i.disableStylesGeneration=o.disableStylesGeneration),i.stylesCreatorSaved=P,i.sheetOptions=(0,a.default)({generateClassName:C},n[y.sheetOptions]),i.theme=R?T.default.initial(n)||r():I,i.attach(i.theme),i.cacheClasses={value:null,lastProp:null,lastJSS:{}},i}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){var e=this;R&&(this.unsubscribeId=T.default.subscribe(this.context,function(t){var n=e.theme;e.theme=t,e.attach(e.theme),e.setState({},function(){e.detach(n)})}))}},{key:"componentDidUpdate",value:function(){this.stylesCreatorSaved,0}},{key:"componentWillUnmount",value:function(){this.detach(this.theme),null!==this.unsubscribeId&&T.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"getClasses",value:function(){var e=!1;if(!this.disableStylesGeneration){var t=this.sheetsManager.get(this.stylesCreatorSaved),r=t.get(this.theme);r.sheet.classes!==this.cacheClasses.lastJSS&&(this.cacheClasses.lastJSS=r.sheet.classes,e=!0)}return this.props.classes!==this.cacheClasses.lastProp&&(this.cacheClasses.lastProp=this.props.classes,e=!0),e&&(this.cacheClasses.value=(0,w.default)({baseClasses:this.cacheClasses.lastJSS,newClasses:this.props.classes,Component:n,noBase:this.disableStylesGeneration})),this.cacheClasses.value}},{key:"attach",value:function(e){if(!this.disableStylesGeneration){var t=this.stylesCreatorSaved,n=this.sheetsManager.get(t);n||(n=new Map,this.sheetsManager.set(t,n));var r=n.get(e);if(r||(r={refs:0,sheet:null},n.set(e,r)),0===r.refs){var i=t.create(e,E),o=E,s=this.jss.createStyleSheet(i,(0,a.default)({meta:o,classNamePrefix:o,flip:"boolean"===typeof b?b:"rtl"===e.direction,link:!1},this.sheetOptions,t.options,{name:E},_));r.sheet=s,s.attach();var l=this.context[y.sheetsRegistry];l&&l.add(s)}r.refs+=1}}},{key:"detach",value:function(e){if(!this.disableStylesGeneration){var t=this.stylesCreatorSaved,n=this.sheetsManager.get(t),r=n.get(e);if(r.refs-=1,0===r.refs){n.delete(e),this.jss.removeStyleSheet(r.sheet);var i=this.context[y.sheetsRegistry];i&&i.remove(r.sheet)}}}},{key:"render",value:function(){var e=this.props,t=(e.classes,e.innerRef),r=(0,f.default)(e,["classes","innerRef"]),i=(0,x.default)({theme:this.theme,name:E});return o&&(i.theme=this.theme),h.default.createElement(n,(0,a.default)({},i,{classes:this.getClasses(),ref:t},r))}}]),t}(h.default.Component);return N.propTypes={},N.contextTypes=(0,a.default)({muiThemeProviderOptions:p.default.object},g.default,R?T.default.contextTypes:{}),(0,m.default)(N,n),N}},N=R;t.default=N},function(e,t,n){var r,i;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=n.apply(null,r);a&&e.push(a)}else if("object"===i)for(var s in r)o.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(i=function(){return n}.apply(t,r))&&(e.exports=i))}()},function(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=n},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}e.exports=r},function(e,t,n){function r(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?o(e):t}var i=n(75),o=n(47);e.exports=r},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}var i=n(333);e.exports=r},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e,t){return Object.keys(t).every(function(n){return e.hasOwnProperty(n)&&e[n]===t[n]})}function o(e,t){for(var n=(0,u.default)(t),r=0;r<e.length;r+=1){if("function"===n&&!0===!!t(e[r],r,e))return r;if("object"===n&&i(e[r],t))return r;if(-1!==["string","number","boolean"].indexOf(n))return e.indexOf(t)}return-1}function a(e,t){var n=o(e,t);return n>-1?e[n]:void 0}function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r),t.apply(this,r)}},function(){})}var l=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=r,t.contains=i,t.findIndex=o,t.find=a,t.createChainedFunction=s;var u=l(n(75));l(n(13))},function(e,t,n){"use strict";function r(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(e){console.error(e)}}r(),e.exports=n(275)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(390))},function(e,t,n){"use strict";function r(e,t){for(var n,r,a=t.children||[],s=a.length,l=[],u=-1;++u<s;)(n=o(e,a[u],t))&&(u&&"break"===a[u-1].type&&(n.value&&(n.value=i.left(n.value)),(r=n.children&&n.children[0])&&r.value&&(r.value=i.left(r.value))),l=l.concat(n));return l}e.exports=r;var i=n(27),o=n(251)},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(345))},function(e,t,n){"use strict";function r(e){return o.test("number"===typeof e?i(e):e.charAt(0))}e.exports=r;var i=String.fromCharCode,o=/\s/},function(e,t,n){"use strict";var r=n(62);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(463)),o=r(n(466)),a=(r(n(195)),r(n(61)),function(e){var t=(0,i.default)(function(e,t){return!(0,o.default)(e,t)});return t(e)}),s=a;t.default=s},function(e,t,n){"use strict";function r(e,t){if("string"!==typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(i!==e||"undefined"===typeof i)i=e,o="";else if(o.length>=n)return o.substr(0,n);for(;n>o.length&&t>1;)1&t&&(o+=e),t>>=1,e+=e;return o+=e,o=o.substr(0,n)}var i,o="";e.exports=r},function(e,t,n){"use strict";var r=n(70);e.exports=function(e,t,n){return null!=n||"object"==typeof t&&!Array.isArray(t)||(n=t,t={}),r({},t,{type:String(e)},null!=n&&(Array.isArray(n)?{children:n}:{value:String(n)}))}},function(e,t){function n(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var i in n)r.call(n,i)&&(e[i]=n[i])}return e}e.exports=n;var r=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(343))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(393))},function(e,t){function n(e){return e.replace(/^\s*|\s*$/g,"")}t=e.exports=n,t.left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.isNumber=t.isString=t.formatMs=t.duration=t.easing=void 0;var i=r(n(4)),o=(r(n(13)),{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"});t.easing=o;var a={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};t.duration=a;var s=function(e){return"".concat(Math.round(e),"ms")};t.formatMs=s;var l=function(e){return"string"===typeof e};t.isString=l;var u=function(e){return!isNaN(parseFloat(e))};t.isNumber=u;var c={easing:o,duration:a,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?a.standard:n,l=t.easing,u=void 0===l?o.easeInOut:l,c=t.delay,d=void 0===c?0:c;(0,i.default)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map(function(e){return"".concat(e," ").concat("string"===typeof r?r:s(r)," ").concat(u," ").concat("string"===typeof d?d:s(d))}).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}};t.default=c},function(e,t,n){"use strict";function r(){return o||(o=(0,m.default)())}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=i(n(3)),s=i(n(4)),l=i(n(8)),u=i(n(9)),c=i(n(10)),d=i(n(11)),f=i(n(12)),h=i(n(1)),p=(i(n(2)),i(n(102))),m=(i(n(61)),i(n(97))),g=i(n(101)),v=function(){return function(e){var t=function(t){function n(e,t){var i;return(0,l.default)(this,n),i=(0,c.default)(this,(0,d.default)(n).call(this)),i.unsubscribeId=null,i.state={},i.state={theme:g.default.initial(t)||r()},i}return(0,f.default)(n,t),(0,u.default)(n,[{key:"componentDidMount",value:function(){var e=this;this.unsubscribeId=g.default.subscribe(this.context,function(t){e.setState({theme:t})})}},{key:"componentWillUnmount",value:function(){null!==this.unsubscribeId&&g.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"render",value:function(){var t=this.props,n=t.innerRef,r=(0,s.default)(t,["innerRef"]);return h.default.createElement(e,(0,a.default)({theme:this.state.theme,ref:n},r))}}]),n}(h.default.Component);return t.propTypes={},t.contextTypes=g.default.contextTypes,(0,p.default)(t,e),t}},y=v;t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r;t.default=i},function(e,t,n){"use strict";function r(e){return e&&"object"===typeof e&&"default"in e?e.default:e}function i(e,t,n){return Object.defineProperty(e,t,n)}function o(e){return y({},E,e)}function a(e,t,n){var r=[e,t];return r.push(w?n:n.capture),r}function s(e,t,n,r){e.addEventListener.apply(e,a(t,n,r))}function l(e,t,n,r){e.removeEventListener.apply(e,a(t,n,r))}function u(e,t){var n=(e.children,e.target,v(e,["children","target"]));Object.keys(n).forEach(function(e){if("on"===e.substring(0,2)){var r=n[e],i=g(r),a="object"===i,s="function"===i;if(a||s){var l="capture"===e.substr(-7).toLowerCase(),u=e.substring(2).toLowerCase();u=l?u.substring(0,u.length-7):u,a?t(u,r.handler,r.options):t(u,r,o({capture:l}))}}})}function c(e,t){return{handler:e,options:o(t)}}Object.defineProperty(t,"__esModule",{value:!0});var d=r(n(8)),f=r(n(9)),h=r(n(10)),p=r(n(11)),m=r(n(12)),g=r(n(75)),v=r(n(4)),y=r(n(3)),b=r(n(1)),w=(r(n(2)),r(n(13)),function(){var e=null;return function(){if(null!==e)return e;var t=!1;try{window.addEventListener("test",null,i({},"passive",{get:function(){t=!0}}))}catch(e){}return e=t,t}()}()),E={capture:!1,passive:!1},T=function(e){function t(){return d(this,t),h(this,p(t).apply(this,arguments))}return m(t,e),f(t,[{key:"componentDidMount",value:function(){this.applyListeners(s)}},{key:"componentDidUpdate",value:function(e){this.applyListeners(l,e),this.applyListeners(s)}},{key:"componentWillUnmount",value:function(){this.applyListeners(l)}},{key:"applyListeners",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props,n=t.target;if(n){var r=n;"string"===typeof n&&(r=window[n]),u(t,e.bind(null,r))}}},{key:"render",value:function(){return this.props.children||null}}]),t}(b.PureComponent);T.propTypes={},t.withOptions=c,t.default=T},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getColumnProps=t.Col=t.getRowProps=t.Row=t.Grid=void 0;var i=n(617);Object.defineProperty(t,"getRowProps",{enumerable:!0,get:function(){return i.getRowProps}});var o=n(619);Object.defineProperty(t,"getColumnProps",{enumerable:!0,get:function(){return o.getColumnProps}});var a=n(620),s=r(a),l=r(i),u=r(o);t.Grid=s.default,t.Row=l.default,t.Col=u.default},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return e<t?t:e>n?n:e}function i(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length/3,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(function(e){return e+e})),n?"rgb(".concat(n.map(function(e){return parseInt(e,16)}).join(", "),")"):""}function o(e){function t(e){var t=e.toString(16);return 1===t.length?"0".concat(t):t}if(0===e.indexOf("#"))return e;var n=a(e),r=n.values;return r=r.map(function(e){return t(e)}),"#".concat(r.join(""))}function a(e){if("#"===e.charAt(0))return a(i(e));var t=e.indexOf("("),n=e.substring(0,t),r=e.substring(t+1,e.length-1).split(",");return r=r.map(function(e){return parseFloat(e)}),{type:n,values:r}}function s(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")&&(n=n.map(function(e,t){return t<3?parseInt(e,10):e})),-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(e.type,"(").concat(n.join(", "),")")}function l(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e){var t=a(e);if(-1!==t.type.indexOf("rgb")){var n=t.values.map(function(e){return e/=255,e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)});return Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}return t.values[2]/100}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return u(e)>.5?f(e,t):h(e,t)}function d(e,t){return e?(e=a(e),t=r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,s(e)):e}function f(e,t){if(!e)return e;if(e=a(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return s(e)}function h(e,t){if(!e)return e;if(e=a(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return s(e)}var p=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.convertHexToRGB=i,t.rgbToHex=o,t.decomposeColor=a,t.recomposeColor=s,t.getContrastRatio=l,t.getLuminance=u,t.emphasize=c,t.fade=d,t.darken=f,t.lighten=h;p(n(13))},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(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)}function l(){}t.__esModule=!0,t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var u=n(65),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(u),d=n(1),f=r(d),h=n(15),p=r(h),m=n(181),g=(n(182),t.UNMOUNTED="unmounted"),v=t.EXITED="exited",y=t.ENTERING="entering",b=t.ENTERED="entered",w=t.EXITING="exiting",E=function(e){function t(n,r){o(this,t);var i=a(this,e.call(this,n,r)),s=r.transitionGroup,l=s&&!s.isMounting?n.enter:n.appear,u=void 0;return i.appearStatus=null,n.in?l?(u=v,i.appearStatus=y):u=b:u=n.unmountOnExit||n.mountOnEnter?g:v,i.state={status:u},i.nextCallback=null,i}return s(t,e),t.prototype.getChildContext=function(){return{transitionGroup:null}},t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===g?{status:v}:null},t.prototype.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.prototype.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==y&&n!==b&&(t=y):n!==y&&n!==b||(t=w)}this.updateStatus(!1,t)},t.prototype.componentWillUnmount=function(){this.cancelNextCallback()},t.prototype.getTimeouts=function(){var e=this.props.timeout,t=void 0,n=void 0,r=void 0;return t=n=r=e,null!=e&&"number"!==typeof e&&(t=e.exit,n=e.enter,r=e.appear),{exit:t,enter:n,appear:r}},t.prototype.updateStatus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];if(null!==t){this.cancelNextCallback();var n=p.default.findDOMNode(this);t===y?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===v&&this.setState({status:g})},t.prototype.performEnter=function(e,t){var n=this,r=this.props.enter,i=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,o=this.getTimeouts();if(!t&&!r)return void this.safeSetState({status:b},function(){n.props.onEntered(e)});this.props.onEnter(e,i),this.safeSetState({status:y},function(){n.props.onEntering(e,i),n.onTransitionEnd(e,o.enter,function(){n.safeSetState({status:b},function(){n.props.onEntered(e,i)})})})},t.prototype.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();if(!n)return void this.safeSetState({status:v},function(){t.props.onExited(e)});this.props.onExit(e),this.safeSetState({status:w},function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,function(){t.safeSetState({status:v},function(){t.props.onExited(e)})})})},t.prototype.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},t.prototype.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},t.prototype.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},t.prototype.onTransitionEnd=function(e,t,n){this.setNextCallback(n),e?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},t.prototype.render=function(){var e=this.state.status;if(e===g)return null;var t=this.props,n=t.children,r=i(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"===typeof n)return n(e,r);var o=f.default.Children.only(n);return f.default.cloneElement(o,r)},t}(f.default.Component);E.contextTypes={transitionGroup:c.object},E.childContextTypes={transitionGroup:function(){}},E.propTypes={},E.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:l,onEntering:l,onEntered:l,onExit:l,onExiting:l,onExited:l},E.UNMOUNTED=0,E.EXITED=1,E.ENTERING=2,E.ENTERED=3,E.EXITING=4,t.default=(0,m.polyfill)(E)},function(e,t,n){"use strict";function r(e){return e}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.specialProperty=void 0;var o=(i(n(7)),i(n(3)),"exact-prop: \u200b");t.specialProperty=o;var a=r;t.default=a},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){function n(e,t,n){function r(){var u=Date.now()-s;u<t&&u>=0?i=setTimeout(r,t-u):(i=null,n||(l=e.apply(a,o),a=o=null))}var i,o,a,s,l;null==t&&(t=100);var u=function(){a=this,o=arguments,s=Date.now();var u=n&&!i;return i||(i=setTimeout(r,t)),u&&(l=e.apply(a,o),a=o=null),l};return u.clear=function(){i&&(clearTimeout(i),i=null)},u.flush=function(){i&&(l=e.apply(a,o),a=o=null,clearTimeout(i),i=null)},u}n.debounce=n,e.exports=n},function(e,t,n){"use strict";function r(e,t){return l.default.cloneElement(e,{className:(0,u.default)(e.props.className,t)})}function i(e,t){return l.default.Children.map(e,function(e){return l.default.isValidElement(e)&&r(e,t)})}function o(e,t){return l.default.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function a(e,t){return-1!==t.indexOf(e.muiName)}var s=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.cloneElementWithClassName=r,t.cloneChildrenWithClassName=i,t.isMuiElement=o,t.isMuiComponent=a;var l=s(n(1)),u=s(n(6))},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){var n=t.distance,r=t.left,i=t.right,o=t.up,a=t.down,l=t.top,u=t.bottom,c=t.big,f=t.mirror,h=t.opposite,p=(n?n.toString():0)+((r?1:0)|(i?2:0)|(l||a?4:0)|(u||o?8:0)|(f?16:0)|(h?32:0)|(e?64:0)|(c?128:0));if(d.hasOwnProperty(p))return d[p];var m=r||i||o||a||l||u,g=void 0,v=void 0;if(m){if(!f!=!(e&&h)){var y=[i,r,u,l,a,o];r=y[0],i=y[1],l=y[2],u=y[3],o=y[4],a=y[5]}var b=n||(c?"2000px":"100%");g=r?"-"+b:i?b:"0",v=a||l?"-"+b:o||u?b:"0"}return d[p]=(0,s.animation)((e?"to":"from")+" {opacity: 0;"+(m?" transform: translate3d("+g+", "+v+", 0);":"")+"}\n "+(e?"from":"to")+" {opacity: 1;transform: none;} "),d[p]}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.defaults,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.children,o=(e.out,e.forever),a=e.timeout,l=e.duration,c=void 0===l?s.defaults.duration:l,d=e.delay,f=void 0===d?s.defaults.delay:d,h=e.count,p=void 0===h?s.defaults.count:h,m=r(e,["children","out","forever","timeout","duration","delay","count"]),g={make:i,duration:void 0===a?c:a,delay:f,forever:o,count:p,style:{animationFillMode:"both"},reverse:m.left};return t?(0,u.default)(m,g,g,n):g}Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),s=n(135),l=n(225),u=function(e){return e&&e.__esModule?e:{default:e}}(l),c={out:a.bool,left:a.bool,right:a.bool,top:a.bool,bottom:a.bool,big:a.bool,mirror:a.bool,opposite:a.bool,duration:a.number,timeout:a.number,distance:a.string,delay:a.number,count:a.number,forever:a.bool},d={};o.propTypes=c,t.default=o,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={};r.container={background:"rgba(0, 0, 0, 0.8)",gutter:{horizontal:10,vertical:10},zIndex:2001},r.header={height:40},r.close={fill:"white"},r.footer={color:"white",count:{color:"rgba(255, 255, 255, 0.75)",fontSize:"0.85em"},height:40,gutter:{horizontal:0,vertical:5}},r.thumbnail={activeBorderColor:"white",size:50,gutter:2},r.arrow={background:"none",fill:"white",height:120},t.default=r},function(e,t,n){e.exports=n(821)},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){m&&h&&(m=!1,h.length?p=h.concat(p):g=-1,p.length&&s())}function s(){if(!m){var e=i(a);m=!0;for(var t=p.length;t;){for(h=p,p=[];++g<t;)h&&h[g].run();g=-1,t=p.length}h=null,m=!1,o(e)}}function l(e,t){this.fun=e,this.array=t}function u(){}var c,d,f=e.exports={};!function(){try{c="function"===typeof setTimeout?setTimeout:n}catch(e){c=n}try{d="function"===typeof clearTimeout?clearTimeout:r}catch(e){d=r}}();var h,p=[],m=!1,g=-1;f.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new l(e,t)),1!==p.length||m||i(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.prependListener=u,f.prependOnceListener=u,f.listeners=function(e){return[]},f.binding=function(e){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(e){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},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},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(44),u=r(l),c=n(98),d=r(c),f=n(72),h=r(f),p=function(){function e(t,n,r){i(this,e),this.type="style",this.isProcessed=!1;var o=r.sheet,a=r.Renderer,s=r.selector;this.key=t,this.options=r,this.style=n,s&&(this.selectorText=s),this.renderer=o?o.renderer:new a}return s(e,[{key:"prop",value:function(e,t){if(void 0===t)return this.style[e];if(this.style[e]===t)return this;t=this.options.jss.plugins.onChangeValue(t,e,this);var n=null==t||!1===t,r=e in this.style;if(n&&!r)return this;var i=n&&r;if(i?delete this.style[e]:this.style[e]=t,this.renderable)return i?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,t),this;var o=this.options.sheet;return o&&o.attached&&(0,u.default)(!1,'Rule is not linked. Missing sheet option "link: true".'),this}},{key:"applyTo",value:function(e){var t=this.toJSON();for(var n in t)this.renderer.setProperty(e,n,t[n]);return this}},{key:"toJSON",value:function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==("undefined"===typeof n?"undefined":a(n))?e[t]=n:Array.isArray(n)&&(e[t]=(0,h.default)(n))}return e}},{key:"toString",value:function(e){var t=this.options.sheet,n=!!t&&t.options.link,r=n?o({},e,{allowEmpty:!0}):e;return(0,d.default)(this.selector,this.style,r)}},{key:"selector",set:function(e){if(e!==this.selectorText&&(this.selectorText=e,this.renderable)){if(!this.renderer.setSelector(this.renderable,e)&&this.renderable){var t=this.renderer.replaceRule(this.renderable,this);t&&(this.renderable=t)}}},get:function(){return this.selectorText}}]),e}();t.default=p},function(e,t){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}e.exports=n},function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n},function(e,t,n){var r=n(49),i=n(79);e.exports=n(51)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(64),i=n(171),o=n(110),a=Object.defineProperty;t.f=n(51)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},function(e,t,n){e.exports=!n(78)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(358),i=n(108);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(115)("wks"),i=n(80),o=n(34).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(392))},function(e,t){function n(e){if(e&&"object"===typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"===typeof e)return a[e];var n=String(e),o=r[n.toLowerCase()];if(o)return o;var o=i[n.toLowerCase()];return o||(1===n.length?n.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"===typeof e){var n=e.which||e.keyCode||e.charCode;if(null===n||void 0===n)return!1;if("string"===typeof t){var o=r[t.toLowerCase()];if(o)return o===n;var o=i[t.toLowerCase()];if(o)return o===n}else if("number"===typeof t)return t===n;return!1}},t=e.exports=n;var r=t.code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=t.aliases={windows:91,"\u21e7":16,"\u2325":18,"\u2303":17,"\u2318":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(o=97;o<123;o++)r[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)r[o-48]=o;for(o=1;o<13;o++)r["f"+o]=o+111;for(o=0;o<10;o++)r["numpad "+o]=o+96;var a=t.names=t.title={};for(o in r)a[r[o]]=o;for(var s in i)r[s]=i[s]},function(e,t,n){"use strict";function r(e,t){var n=e.timeout,r=e.style,i=void 0===r?{}:r;return{duration:i.transitionDuration||"number"===typeof n?n:n[t.mode],delay:i.transitionDelay}}Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitionProps=r,t.reflow=void 0;var i=function(e){return e.scrollTop};t.reflow=i},function(e,t,n){"use strict";function r(e,t){var n=[],r=-1,o=e.length;for(t&&n.push(i("text","\n"));++r<o;)r&&n.push(i("text","\n")),n.push(e[r]);return t&&0!==e.length&&n.push(i("text","\n")),n}e.exports=r;var i=n(23)},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=o({},e);return Object.keys(t).forEach(function(o){"object"===i(t[o])&&t[o]&&e[o]?n[o]=r(e[o],t[o]):n[o]=t[o]}),n}Object.defineProperty(t,"__esModule",{value:!0});var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=r},function(e,t,n){"use strict";function r(e){function t(e){return"@media (min-width:".concat("number"===typeof c[e]?c[e]:e).concat(f,")")}function n(e){var n=s.indexOf(e)+1,r=c[s[n]];return n===s.length?t("xs"):"@media (max-width:".concat(("number"===typeof r&&n>0?r:e)-p/100).concat(f,")")}function r(e,n){var r=s.indexOf(n)+1;return r===s.length?t(e):"@media (min-width:".concat(c[e]).concat(f,") and ")+"(max-width:".concat(c[s[r]]-p/100).concat(f,")")}function i(e){return r(e,e)}function l(e){return c[e]}var u=e.values,c=void 0===u?{xs:0,sm:600,md:960,lg:1280,xl:1920}:u,d=e.unit,f=void 0===d?"px":d,h=e.step,p=void 0===h?5:h,m=(0,a.default)(e,["values","unit","step"]);return(0,o.default)({keys:s,values:c,up:t,down:n,between:r,only:i,width:l},m)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,t.keys=void 0;var o=i(n(3)),a=i(n(4)),s=["xs","sm","md","lg","xl"];t.keys=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(73),l=r(s),u=n(161),c=r(u),d=n(45),f=r(d),h=n(307),p=r(h),m=function(){function e(t){var n=this;i(this,e),this.map={},this.raw={},this.index=[],this.update=function(e,t){var r=n.options,i=r.jss.plugins,o=r.sheet;if("string"===typeof e)i.onUpdate(t,n.get(e),o);else for(var a=0;a<n.index.length;a++)i.onUpdate(e,n.index[a],o)},this.options=t,this.classes=t.classes}return a(e,[{key:"add",value:function(e,t,n){var r=this.options,i=r.parent,a=r.sheet,s=r.jss,u=r.Renderer,c=r.generateClassName;n=o({classes:this.classes,parent:i,sheet:a,jss:s,Renderer:u,generateClassName:c},n),!n.selector&&this.classes[e]&&(n.selector="."+(0,p.default)(this.classes[e])),this.raw[e]=t;var d=(0,l.default)(e,t,n),h=void 0;!n.selector&&d instanceof f.default&&(h=c(d,a),d.selector="."+(0,p.default)(h)),this.register(d,h);var m=void 0===n.index?this.index.length:n.index;return this.index.splice(m,0,d),d}},{key:"get",value:function(e){return this.map[e]}},{key:"remove",value:function(e){this.unregister(e),this.index.splice(this.indexOf(e),1)}},{key:"indexOf",value:function(e){return this.index.indexOf(e)}},{key:"process",value:function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)}},{key:"register",value:function(e,t){this.map[e.key]=e,e instanceof f.default&&(this.map[e.selector]=e,t&&(this.classes[e.key]=t))}},{key:"unregister",value:function(e){delete this.map[e.key],e instanceof f.default&&(delete this.map[e.selector],delete this.classes[e.key])}},{key:"link",value:function(e){for(var t=this.options.sheet.renderer.getUnescapedKeysMap(this.index),n=0;n<e.length;n++){var r=e[n],i=this.options.sheet.renderer.getKey(r);t[i]&&(i=t[i]);var o=this.map[i];o&&(0,c.default)(o,r)}}},{key:"toString",value:function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var o=this.index[i],a=o.toString(e);(a||r)&&(t&&(t+="\n"),t+=a)}return t}}]),e}();t.default=m},function(e,t,n){"use strict";var r=n(62);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(103)),o=function(e,t){return t+"("+(0,i.default)(e)+")"},a=o;t.default=a},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t){var n=e.exports={version:"2.5.5"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(50);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=n(399)()},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(132))},function(e,t,n){"use strict";(function(e){function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e){return e.split(";").map(function(e){return e.trim()}).filter(function(e){return e}).reduce(function(e,t){var n=t.indexOf(":"),i=v.camelize(t.slice(0,n)),o=t.slice(n+1).trim();return i.startsWith("webkit")?e[r(i)]=o:e[i]=o,e},{})}function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(t.children||[]).map(o.bind(null,e)),a=Object.keys(t.attributes||{}).reduce(function(e,n){var r=t.attributes[n];switch(n){case"class":e.attrs.className=r,delete t.attributes.class;break;case"style":e.attrs.style=i(r);break;default:0===n.indexOf("aria-")||0===n.indexOf("data-")?e.attrs[n.toLowerCase()]=r:e.attrs[v.camelize(n)]=r}return e},{attrs:{}}),s=n.style,l=void 0===s?{}:s,u=E(n,["style"]);return a.attrs.style=w({},a.attrs.style,l),e.apply(void 0,[t.tag,w({},a.attrs,u)].concat(T(r)))}function a(){if(!_&&console&&"function"===typeof console.error){var e;(e=console).error.apply(e,arguments)}}function s(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?b({},e,t):{}}function l(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-inverse":e.inverse,"fa-border":e.border,"fa-li":e.listItem,"fa-flip-horizontal":"horizontal"===e.flip||"both"===e.flip,"fa-flip-vertical":"vertical"===e.flip||"both"===e.flip},b(t,"fa-"+e.size,null!==e.size),b(t,"fa-rotate-"+e.rotation,null!==e.rotation),b(t,"fa-pull-"+e.pull,null!==e.pull),t);return Object.keys(n).map(function(e){return n[e]?e:null}).filter(function(e){return e})}function u(e){return null===e?null:"object"===("undefined"===typeof e?"undefined":y(e))&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"===typeof e?{prefix:"fas",iconName:e}:void 0}function c(e){var t=e.icon,n=e.mask,r=e.symbol,i=e.className,o=u(t),f=s("classes",[].concat(T(l(e)),T(i.split(" ")))),h=s("transform","string"===typeof e.transform?d.b.transform(e.transform):e.transform),p=s("mask",u(n)),m=Object(d.a)(o,w({},f,h,p,{symbol:r}));if(!m)return a("Could not find icon",o),null;var g=m.abstract,v={};return Object.keys(e).forEach(function(t){c.defaultProps.hasOwnProperty(t)||(v[t]=e[t])}),k(g[0],v)}n.d(t,"a",function(){return c});var d=n(625),f=n(2),h=n.n(f),p=n(1),m=n.n(p),g="undefined"!==typeof window?window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:{},v=function(e,t){return t={exports:{}},e(t,t.exports),t.exports}(function(e){!function(t){var n=function(e,t,r){if(!u(t)||d(t)||f(t)||h(t)||l(t))return t;var i,o=0,a=0;if(c(t))for(i=[],a=t.length;o<a;o++)i.push(n(e,t[o],r));else{i={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(i[e(s,r)]=n(e,t[s],r))}return i},r=function(e,t){t=t||{};var n=t.separator||"_",r=t.split||/(?=[A-Z])/;return e.split(r).join(n)},i=function(e){return p(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))},o=function(e){var t=i(e);return t.substr(0,1).toUpperCase()+t.substr(1)},a=function(e,t){return r(e,t).toLowerCase()},s=Object.prototype.toString,l=function(e){return"function"===typeof e},u=function(e){return e===Object(e)},c=function(e){return"[object Array]"==s.call(e)},d=function(e){return"[object Date]"==s.call(e)},f=function(e){return"[object RegExp]"==s.call(e)},h=function(e){return"[object Boolean]"==s.call(e)},p=function(e){return(e-=0)===e},m=function(e,t){var n=t&&"process"in t?t.process:t;return"function"!==typeof n?e:function(t,r){return n(t,e,r)}},g={camelize:i,decamelize:a,pascalize:o,depascalize:a,camelizeKeys:function(e,t){return n(m(i,t),e)},decamelizeKeys:function(e,t){return n(m(a,t),e,t)},pascalizeKeys:function(e,t){return n(m(o,t),e)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=g:t.humps=g}(g)}),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},b=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},T=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},_=!1;try{_=!0}catch(e){}c.displayName="FontAwesomeIcon",c.propTypes={border:h.a.bool,className:h.a.string,mask:h.a.oneOfType([h.a.object,h.a.array,h.a.string]),fixedWidth:h.a.bool,inverse:h.a.bool,flip:h.a.oneOf(["horizontal","vertical","both"]),icon:h.a.oneOfType([h.a.object,h.a.array,h.a.string]),listItem:h.a.bool,pull:h.a.oneOf(["right","left"]),pulse:h.a.bool,rotation:h.a.oneOf([90,180,270]),size:h.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:h.a.bool,symbol:h.a.oneOfType([h.a.bool,h.a.string]),transform:h.a.oneOfType([h.a.string,h.a.object])},c.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,transform:null};var k=o.bind(null,m.a.createElement)}).call(t,n(18))},function(e,t,n){"use strict";function r(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){function l(e,r,o){var l;return r=r||(o?0:null),t&&e.type!==t&&!i(t,e,r,o||null)||(l=n(e,r,o||null)),l===s?l:e.children&&l!==a&&u(e.children,e)===s?s:l}function u(e,t){for(var n,i,a=r?-1:1,u=(r?e.length:-1)+a;u>-1&&u<e.length;){if(n=e[u],(i=n&&l(n,u,t))===s)return i;u="number"===typeof i?i:u+a}return o}"function"===typeof t&&"function"!==typeof n&&(r=n,n=t,t=null),l(e)}e.exports=r;var i=n(238),o=!0,a="skip",s=!1;r.CONTINUE=o,r.SKIP=a,r.EXIT=s},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=r(e),u=1;u<arguments.length;u++){n=Object(arguments[u]);for(var c in n)o.call(n,c)&&(l[c]=n[c]);if(i){s=i(n);for(var d=0;d<s.length;d++)a.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t,n){"use strict";function r(e){return!!e&&"object"===typeof e}function i(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||o(e)}function o(e){return e.$$typeof===h}function a(e){return Array.isArray(e)?[]:{}}function s(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c(a(e),e,t):e}function l(e,t,n){return e.concat(t).map(function(e){return s(e,n)})}function u(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){r[t]=s(e[t],n)}),Object.keys(t).forEach(function(i){n.isMergeableObject(t[i])&&e[i]?r[i]=c(e[i],t[i],n):r[i]=s(t[i],n)}),r}function c(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||l,n.isMergeableObject=n.isMergeableObject||d;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):u(e,t,n):s(t,n)}Object.defineProperty(t,"__esModule",{value:!0});var d=function(e){return r(e)&&!i(e)},f="function"===typeof Symbol&&Symbol.for,h=f?Symbol.for("react.element"):60103;c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return c(e,n,t)},{})};var p=c;t.default=p},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=i(e[r]," ");else n=i(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unnamed",t=arguments[1],n=arguments[2],r=n.jss,i=(0,c.default)(t),o=r.plugins.onCreateRule(e,i,n);return o||("@"===e[0]&&(0,a.default)(!1,"[JSS] Unknown at-rule %s",e),new l.default(e,i,n))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(44),a=r(o),s=n(45),l=r(s),u=n(303),c=r(u)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"isBrowser",function(){return i});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},i="object"===("undefined"===typeof window?"undefined":r(window))&&"object"===("undefined"===typeof document?"undefined":r(document))&&9===document.nodeType;t.default=i},function(e,t){function n(e){return(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})(e)}function r(t){return"function"===typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){var r=n(34),i=n(63),o=n(170),a=n(48),s=n(37),l=function(e,t,n){var u,c,d,f=e&l.F,h=e&l.G,p=e&l.S,m=e&l.P,g=e&l.B,v=e&l.W,y=h?i:i[t]||(i[t]={}),b=y.prototype,w=h?r:p?r[t]:(r[t]||{}).prototype;h&&(n=t);for(u in n)(c=!f&&w&&void 0!==w[u])&&s(y,u)||(d=c?w[u]:n[u],y[u]=h&&"function"!=typeof w[u]?n[u]:g&&c?o(d,r):v&&w[u]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((y.virtual||(y.virtual={}))[u]=d,e&l.R&&b&&!b[u]&&a(b,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window,n=(0,o.default)(e);return n.defaultView||n.parentView||t}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(30)),a=r;t.default=a},function(e,t,n){function r(e){return i(e)||o(e)||a()}var i=n(396),o=n(397),a=n(398);e.exports=r},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"ModalManager",{enumerable:!0,get:function(){return o.default}});var i=r(n(405)),o=r(n(188))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(461))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(475))},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return o}),n.d(t,"d",function(){return a}),n.d(t,"e",function(){return s});var r={prefix:"fas",iconName:"arrow-alt-circle-right",icon:[512,512,[],"f35a","M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zM140 300h116v70.9c0 10.7 13 16.1 20.5 8.5l114.3-114.9c4.7-4.7 4.7-12.2 0-16.9l-114.3-115c-7.6-7.6-20.5-2.2-20.5 8.5V212H140c-6.6 0-12 5.4-12 12v64c0 6.6 5.4 12 12 12z"]},i={prefix:"fas",iconName:"arrow-circle-left",icon:[512,512,[],"f0a8","M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zm28.9-143.6L209.4 288H392c13.3 0 24-10.7 24-24v-16c0-13.3-10.7-24-24-24H209.4l75.5-72.4c9.7-9.3 9.9-24.8.4-34.3l-11-10.9c-9.4-9.4-24.6-9.4-33.9 0L107.7 239c-9.4 9.4-9.4 24.6 0 33.9l132.7 132.7c9.4 9.4 24.6 9.4 33.9 0l11-10.9c9.5-9.5 9.3-25-.4-34.3z"]},o={prefix:"fas",iconName:"arrow-circle-right",icon:[512,512,[],"f0a9","M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm-28.9 143.6l75.5 72.4H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h182.6l-75.5 72.4c-9.7 9.3-9.9 24.8-.4 34.3l11 10.9c9.4 9.4 24.6 9.4 33.9 0L404.3 273c9.4-9.4 9.4-24.6 0-33.9L271.6 106.3c-9.4-9.4-24.6-9.4-33.9 0l-11 10.9c-9.5 9.6-9.3 25.1.4 34.4z"]},a={prefix:"fas",iconName:"circle",icon:[512,512,[],"f111","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"]},s={prefix:"fas",iconName:"envelope",icon:[512,512,[],"f0e0","M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"]}},function(e,t,n){"use strict";var r=n(646),i=n(658),o=n(705);e.exports=r().use(i).use(o).freeze()},function(e,t,n){"use strict";function r(e,t){var n,r,o={};t||(t={});for(r in g)n=t[r],o[r]=null===n||void 0===n?g[r]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),i(e,o)}function i(e,t){function n(){return{line:ae,column:oe,offset:re+(ee.offset||0)}}function r(e,t){var r=n();r.column+=t,r.offset+=t,X.call(J,A[e],r,e)}function i(t){return e.charAt(t)}function c(){se&&(le.push(se),Y&&Y.call(Q,se,{start:U,end:n()}),se="")}var d,g,P,I,R,N,M,D,L,j,W,B,F,z,U,H,G,q,V=t.additional,K=t.nonTerminated,Y=t.text,Z=t.reference,X=t.warning,Q=t.textContext,$=t.referenceContext,J=t.warningContext,ee=t.position,te=t.indent||[],ne=e.length,re=0,ie=-1,oe=ee.column||1,ae=ee.line||1,se="",le=[];for(U=n(),M=X?r:m,re--,ne++;++re<ne;)if("\n"===I&&(oe=te[ie]||1),"&"!==(I=i(re)))"\n"===I&&(ae++,ie++,oe=0),I?(se+=I,oe++):c();else{if("\t"===(N=i(re+1))||"\n"===N||"\f"===N||" "===N||"<"===N||"&"===N||""===N||V&&N===V){se+=I,oe++;continue}for(B=re+1,W=B,q=B,"#"!==N?F=v:(q=++W,N=i(q),"x"===N||"X"===N?(F=y,q=++W):F=b),d="",j="",P="",z=E[F],q--;++q<ne&&(N=i(q),z(N));)P+=N,F===v&&h.call(l,P)&&(d=P,j=l[P]);g=";"===i(q),g&&(q++,F===v&&h.call(s,P)&&(d=P,j=s[P])),G=1+q-B,(g||K)&&(P?F===v?(g&&!j?M(S,1):(d!==P&&(q=W+d.length,G=1+q-W,g=!1),g||(D=d?T:k,t.attribute?(N=i(q),"="===N?(M(D,G),j=null):f(N)?j=null:M(D,G)):M(D,G))),R=j):(g||M(_,G),R=parseInt(P,w[F]),o(R)?(M(O,G),R="\ufffd"):R in u?(M(C,G),R=u[R]):(L="",a(R)&&M(C,G),R>65535&&(R-=65536,L+=p(R>>>10|55296),R=56320|1023&R),R=L+p(R))):F!==v&&M(x,G)),R?(c(),U=n(),re=q-1,oe+=q-B+1,le.push(R),H=n(),H.offset++,Z&&Z.call($,R,{start:U,end:H},e.slice(B-1,q)),U=H):(P=e.slice(B-1,q),se+=P,oe+=P.length,re=q-1)}return le.join("")}function o(e){return e>=55296&&e<=57343||e>1114111}function a(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535===(65535&e)||65534===(65535&e)}var s=n(664),l=n(232),u=n(665),c=n(68),d=n(233),f=n(234);e.exports=r;var h={}.hasOwnProperty,p=String.fromCharCode,m=Function.prototype,g={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},v="named",y="hexadecimal",b="decimal",w={};w[y]=16,w[b]=10;var E={};E[v]=f,E[b]=c,E[y]=d;var T=1,_=2,k=3,x=4,S=5,C=6,O=7,A={};A[T]="Named character references must be terminated by a semicolon",A[_]="Numeric character references must be terminated by a semicolon",A[k]="Named character references cannot be empty",A[x]="Numeric character references cannot be empty",A[S]="Named character references must be known",A[C]="Numeric character references cannot be disallowed",A[O]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";function r(e){function t(e,t,n){var r=u.call(m,e)?m[e]:e;return n&&-1!==c.indexOf(r)&&(n=n.filter(function(e){return"\n"!==e})),d(r,t,n)}function n(e){var n={type:"element",tagName:"div",properties:{},children:o(e,p).children};return f&&(n=a(n,h)),n=l(n),s(t,n,r.prefix)}var r=e||{},d=r.createElement||i,f=!1!==r.sanitize,h=f&&"boolean"!==typeof r.sanitize?r.sanitize:null,p=r.toHast||{},m=r.remarkReactComponents||{};this.Compiler=n}e.exports=r;var i,o=n(751),a=n(778),s=n(781),l=n(791);try{i=n(1).createElement}catch(e){}var u={}.hasOwnProperty,c=["table","thead","tbody","tfoot","tr"]},function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)r[e.charCodeAt(t)]=e[t];return r}function i(e,t,n){var o,a,s,l,u,c="";for("string"!==typeof t&&(n=t,t=i.defaultChars),"undefined"===typeof n&&(n=!0),u=r(t),o=0,a=e.length;o<a;o++)if(s=e.charCodeAt(o),n&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))c+=e.slice(o,o+3),o+=2;else if(s<128)c+=u[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){c+=encodeURIComponent(e[o]+e[o+1]),o++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[o]);return c}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},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}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length<=2||void 0===arguments[2]?function(e,t){return e+t}:arguments[2];return r({},e,["-webkit-","-moz-",""].map(function(e){return n(e,t)}))},e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n,r,o,a,s,l){if(i(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,s,l],d=0;u=new Error(t.replace(/%s/g,function(){return c[d++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}var i=function(e){};e.exports=r},function(e,t,n){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function i(e,t){if(r(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(!o.call(t,n[a])||!r(e[n[a]],t[n[a]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;e.exports=i},function(e,t,n){"use strict";function r(){function e(e){f(p[e],"delete"),delete p[e]}function t(e){return e=e||s,a(p,e)||i("no-app",{name:e}),p[e]}function n(e,t){if(void 0===t&&(t={}),"object"!==typeof t||null===t){t={name:t}}var n=t;void 0===n.name&&(n.name=s);var r=n.name;"string"===typeof r&&r||i("bad-app-name",{name:r+""}),a(p,r)&&i("duplicate-app",{name:r});var o=new u(e,n,v);return p[r]=o,f(o,"create"),o}function l(){return Object.keys(p).map(function(e){return p[e]})}function c(e,n,r,a,s){m[e]&&i("duplicate-service",{name:e}),m[e]=n,a&&(g[e]=a,l().forEach(function(e){a("create",e)}));var c=function(n){return void 0===n&&(n=t()),"function"!==typeof n[e]&&i("invalid-app-argument",{name:e}),n[e]()};return void 0!==r&&o.deepExtend(c,r),v[e]=c,u.prototype[e]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return this._getService.bind(this,e).apply(this,s?t:[])},c}function d(e){o.deepExtend(v,e)}function f(e,t){Object.keys(m).forEach(function(n){var r=h(e,n);null!==r&&g[r]&&g[r](t,e)})}function h(e,t){if("serverAuth"===t)return null;var n=t;e.options;return n}var p={},m={},g={},v={__esModule:!0,initializeApp:n,app:t,apps:null,Promise:Promise,SDK_VERSION:"5.0.4",INTERNAL:{registerService:c,createFirebaseNamespace:r,extendNamespace:d,createSubscribe:o.createSubscribe,ErrorFactory:o.ErrorFactory,removeApp:e,factories:m,useAsService:h,Promise:Promise,deepExtend:o.deepExtend}};return o.patchProperty(v,"default",v),Object.defineProperty(v,"apps",{get:l}),o.patchProperty(t,"App",u),v}function i(e,t){throw d.create(e,t)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(149),a=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s="[DEFAULT]",l=[],u=function(){function e(e,t,n){this.firebase_=n,this.isDeleted_=!1,this.services_={},this.name_=t.name,this._automaticDataCollectionEnabled=t.automaticDataCollectionEnabled||!1,this.options_=o.deepCopy(e),this.INTERNAL={getUid:function(){return null},getToken:function(){return Promise.resolve(null)},addAuthTokenListener:function(e){l.push(e),setTimeout(function(){return e(null)},0)},removeAuthTokenListener:function(e){l=l.filter(function(t){return t!==e})}}}return Object.defineProperty(e.prototype,"automaticDataCollectionEnabled",{get:function(){return this.checkDestroyed_(),this._automaticDataCollectionEnabled},set:function(e){this.checkDestroyed_(),this._automaticDataCollectionEnabled=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.checkDestroyed_(),this.name_},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this.checkDestroyed_(),this.options_},enumerable:!0,configurable:!0}),e.prototype.delete=function(){var e=this;return new Promise(function(t){e.checkDestroyed_(),t()}).then(function(){e.firebase_.INTERNAL.removeApp(e.name_);var t=[];return Object.keys(e.services_).forEach(function(n){Object.keys(e.services_[n]).forEach(function(r){t.push(e.services_[n][r])})}),Promise.all(t.map(function(e){return e.INTERNAL.delete()}))}).then(function(){e.isDeleted_=!0,e.services_={}})},e.prototype._getService=function(e,t){if(void 0===t&&(t=s),this.checkDestroyed_(),this.services_[e]||(this.services_[e]={}),!this.services_[e][t]){var n=t!==s?t:void 0,r=this.firebase_.INTERNAL.factories[e](this,this.extendApp.bind(this),n);this.services_[e][t]=r}return this.services_[e][t]},e.prototype.extendApp=function(e){var t=this;o.deepExtend(this,e),e.INTERNAL&&e.INTERNAL.addAuthTokenListener&&(l.forEach(function(e){t.INTERNAL.addAuthTokenListener(e)}),l=[])},e.prototype.checkDestroyed_=function(){this.isDeleted_&&i("app-deleted",{name:this.name_})},e}();u.prototype.name&&u.prototype.options||u.prototype.delete||console.log("dc");var c={"no-app":"No Firebase App '{$name}' has been created - call Firebase App.initializeApp()","bad-app-name":"Illegal App name: '{$name}","duplicate-app":"Firebase App named '{$name}' already exists","app-deleted":"Firebase App named '{$name}' already deleted","duplicate-service":"Firebase service named '{$name}' already registered","sa-not-supported":"Initializing the Firebase SDK with a service account is only allowed in a Node.js environment. On client devices, you should instead initialize the SDK with an api key and auth domain","invalid-app-argument":"firebase.{$name}() takes either no argument or a Firebase App instance."},d=new o.ErrorFactory("app","Firebase",c),f=r();t.firebase=f,t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createGenerateClassName",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"createMuiTheme",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"jssPreset",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"MuiThemeProvider",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"createStyles",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"withStyles",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"withTheme",{enumerable:!0,get:function(){return c.default}});var i=r(n(151)),o=r(n(97)),a=r(n(157)),s=r(n(332)),l=r(n(337)),u=r(n(5)),c=r(n(29))},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,i=void 0===r?{}:r,y=e.palette,b=void 0===y?{}:y,w=e.shadows,E=e.typography,T=void 0===E?{}:E,_=(0,a.default)(e,["breakpoints","mixins","palette","shadows","typography"]),k=(0,d.default)(b),x=(0,u.default)(n),S=(0,o.default)({breakpoints:x,direction:"ltr",mixins:(0,c.default)(x,m.default,i),overrides:{},palette:k,props:{},shadows:w||h.default,typography:(0,f.default)(k,T)},(0,s.default)({shape:p.default,spacing:m.default,transitions:g.default,zIndex:v.default},_,{isMergeableObject:l.default}));return S}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(71)),l=i(n(291)),u=(i(n(13)),i(n(59))),c=i(n(293)),d=i(n(294)),f=i(n(295)),h=i(n(296)),p=i(n(297)),m=i(n(298)),g=i(n(28)),v=i(n(299)),y=r;t.default=y},function(e,t,n){"use strict";function r(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i="";if(!t)return i;var o=n.indent,s=void 0===o?0:o,l=t.fallbacks;if(s++,l)if(Array.isArray(l))for(var u=0;u<l.length;u++){var c=l[u];for(var d in c){var f=c[d];null!=f&&(i+="\n"+r(d+": "+(0,a.default)(f)+";",s))}}else for(var h in l){var p=l[h];null!=p&&(i+="\n"+r(h+": "+(0,a.default)(p)+";",s))}for(var m in t){var g=t[m];null!=g&&"fallbacks"!==m&&(i+="\n"+r(m+": "+(0,a.default)(g)+";",s))}return i||n.allowEmpty?(s--,i=r(e+" {"+i+"\n",s)+r("}",s)):i}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(72),a=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(159),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=new i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(74),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o="",a="";if(i.default){var s={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},l=document.createElement("p").style;for(var u in s)if(u+"Transform"in l){o=u,a=s[u];break}}t.default={js:o,css:a}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CHANNEL=void 0;var i=r(n(7)),o=r(n(2)),a="__THEMING__";t.CHANNEL=a;var s={contextTypes:(0,i.default)({},a,o.default.object),initial:function(e){return e[a]?e[a].getState():null},subscribe:function(e,t){return e[a]?e[a].subscribe(t):null},unsubscribe:function(e,t){e[a]&&e[a].unsubscribe(t)}},l=s;t.default=l},function(e,t,n){"use strict";function r(e,t,n){if("string"!==typeof t){if(d){var f=c(t);f&&f!==d&&r(e,f,n)}var h=s(t);l&&(h=h.concat(l(t)));for(var p=0;p<h.length;++p){var m=h[p];if(!i[m]&&!o[m]&&(!n||!n[m])){var g=u(t,m);try{a(e,m,g)}catch(e){}}}return e}return e}var i={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,d=c&&c(Object);e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if("string"===typeof e)return e;if(e)return e.displayName||e.name||"Component"},i=r;t.default=i},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(342))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(344))},function(e,t,n){"use strict";function r(e,t){var n=function(t){return o.default.createElement(s.default,t,e)};return n.displayName=t,n=(0,a.default)(n),n.muiName="SvgIcon",n}var i=n(76);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(1)),a=i(n(347)),s=i(n(16)),l=r;t.default=l},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports=!0},function(e,t,n){var r=n(50);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports={}},function(e,t,n){var r=n(64),i=n(357),o=n(116),a=n(114)("IE_PROTO"),s=function(){},l=function(){var e,t=n(172)("iframe"),r=o.length;for(t.style.display="none",n(362).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(174),i=n(116);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(115)("keys"),i=n(80);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(34),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(49).f,i=n(37),o=n(53)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){t.f=n(53)},function(e,t,n){var r=n(34),i=n(63),o=n(109),a=n(118),s=n(49).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(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)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(65),c=r(u),d=n(1),f=r(d),h=n(181),p=n(401),m=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},g=(c.default.any,c.default.node,c.default.bool,c.default.bool,c.default.bool,c.default.func,{component:"div",childFactory:function(e){return e}}),v=function(e){function t(n,r){o(this,t);var i=a(this,e.call(this,n,r)),s=i.handleExited.bind(i);return i.state={handleExited:s,firstRender:!0},i}return s(t,e),t.prototype.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},t.prototype.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,p.getInitialChildMapping)(e,r):(0,p.getNextChildMapping)(e,n,r),firstRender:!1}},t.prototype.handleExited=function(e,t){var n=(0,p.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.setState(function(t){var n=l({},t.children);return delete n[e.key],{children:n}}))},t.prototype.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=i(e,["component","childFactory"]),o=m(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o:f.default.createElement(t,r,o)},t}(f.default.Component);v.childContextTypes={transitionGroup:c.default.object.isRequired},v.propTypes={},v.defaultProps=g,t.default=(0,h.polyfill)(v),e.exports=t.default},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(406))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(407))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(420))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(421))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(424))},function(e,t,n){"use strict";var r=n(426),i=(n.n(r),n(96)),o=(n.n(i),n(104)),a=(n.n(o),n(442)),s=(n.n(a),n(190)),l=(n.n(s),n(443)),u=(n.n(l),n(445)),c=(n.n(u),n(447)),d=(n.n(c),n(54)),f=(n.n(d),n(26)),h=(n.n(f),n(449)),p=(n.n(h),n(451)),m=(n.n(p),n(453)),g=(n.n(m),n(455)),v=(n.n(g),n(457)),y=(n.n(v),n(459)),b=(n.n(y),n(469)),w=(n.n(b),n(472)),E=(n.n(w),n(196)),T=(n.n(E),n(85)),_=(n.n(T),n(476)),k=(n.n(_),n(478)),x=(n.n(k),n(480)),S=(n.n(x),n(482)),C=(n.n(S),n(484)),O=(n.n(C),n(486)),A=(n.n(O),n(488)),P=(n.n(A),n(490)),I=(n.n(P),n(197)),R=(n.n(I),n(493)),N=(n.n(R),n(198)),M=(n.n(N),n(199)),D=(n.n(M),n(124)),L=(n.n(D),n(200)),j=(n.n(L),n(499)),W=(n.n(j),n(201)),B=(n.n(W),n(202)),F=(n.n(B),n(203)),z=(n.n(F),n(504)),U=(n.n(z),n(507)),H=(n.n(U),n(509)),G=(n.n(H),n(511)),q=(n.n(G),n(125)),V=(n.n(q),n(513)),K=(n.n(V),n(518)),Y=(n.n(K),n(84)),Z=n.n(Y);n.d(t,"a",function(){return Z.a});var X=n(66),Q=(n.n(X),n(520)),$=(n.n(Q),n(204)),J=(n.n($),n(205)),ee=(n.n(J),n(192)),te=n.n(ee);n.d(t,"b",function(){return te.a});var ne=n(193),re=n.n(ne);n.d(t,"c",function(){return re.a});var ie=n(524),oe=(n.n(ie),n(526)),ae=(n.n(oe),n(528)),se=(n.n(ae),n(206)),le=(n.n(se),n(531)),ue=(n.n(le),n(183)),ce=(n.n(ue),n(126)),de=(n.n(ce),n(191)),fe=(n.n(de),n(533)),he=(n.n(fe),n(83)),pe=(n.n(he),n(535)),me=(n.n(pe),n(210)),ge=(n.n(me),n(25)),ve=(n.n(ge),n(187)),ye=(n.n(ve),n(211)),be=(n.n(ye),n(123)),we=(n.n(be),n(539)),Ee=(n.n(we),n(543)),Te=(n.n(Ee),n(122)),_e=(n.n(Te),n(134)),ke=(n.n(_e),n(131)),xe=(n.n(ke),n(547)),Se=(n.n(xe),n(212)),Ce=(n.n(Se),n(550)),Oe=(n.n(Ce),n(552)),Ae=(n.n(Oe),n(215)),Pe=(n.n(Ae),n(559)),Ie=(n.n(Pe),n(214)),Re=(n.n(Ie),n(213)),Ne=(n.n(Re),n(561)),Me=(n.n(Ne),n(16)),De=(n.n(Me),n(563)),Le=n.n(De);n.d(t,"d",function(){return Le.a});var je=n(566),We=(n.n(je),n(568)),Be=(n.n(We),n(570)),Fe=(n.n(Be),n(216)),ze=(n.n(Fe),n(573)),Ue=(n.n(ze),n(575)),He=(n.n(Ue),n(577)),Ge=(n.n(He),n(581)),qe=(n.n(Ge),n(583)),Ve=(n.n(qe),n(219)),Ke=(n.n(Ve),n(220)),Ye=(n.n(Ke),n(593)),Ze=(n.n(Ye),n(105)),Xe=(n.n(Ze),n(595)),Qe=(n.n(Xe),n(19)),$e=(n.n(Qe),n(597)),Je=(n.n($e),n(133)),et=(n.n(Je),n(599));n.n(et)},function(e,t,n){"use strict";function r(e,t,n,r,i){return null}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r;t.default=i},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=r(n(2)),p=r(n(6)),m=r(n(5)),g=r(n(84)),v={root:{display:"inline-flex",alignItems:"center",transition:"none","&:hover":{backgroundColor:"transparent"}},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0}};t.styles=v;var y=function(e){function t(e){var n;return(0,s.default)(this,t),n=(0,u.default)(this,(0,c.default)(t).call(this)),n.input=null,n.isControlled=null,n.state={},n.handleFocus=function(e){n.props.onFocus&&n.props.onFocus(e);var t=n.context.muiFormControl;t&&t.onFocus&&t.onFocus(e)},n.handleBlur=function(e){n.props.onBlur&&n.props.onBlur(e);var t=n.context.muiFormControl;t&&t.onBlur&&t.onBlur(e)},n.handleInputChange=function(e){var t=e.target.checked;n.isControlled||n.setState({checked:t}),n.props.onChange&&n.props.onChange(e,t)},n.isControlled=null!=e.checked,n.isControlled||(n.state.checked=void 0!==e.defaultChecked&&e.defaultChecked),n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e,t=this.props,n=t.autoFocus,r=t.checked,s=t.checkedIcon,l=t.classes,u=t.className,c=t.disabled,d=t.icon,h=t.id,m=t.inputProps,v=t.inputRef,y=t.name,b=(t.onBlur,t.onChange,t.onFocus,t.readOnly),w=t.required,E=t.tabIndex,T=t.type,_=t.value,k=(0,a.default)(t,["autoFocus","checked","checkedIcon","classes","className","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),x=this.context.muiFormControl,S=c;x&&"undefined"===typeof S&&(S=x.disabled);var C=this.isControlled?r:this.state.checked,O="checkbox"===T||"radio"===T;return f.default.createElement(g.default,(0,i.default)({component:"span",className:(0,p.default)(l.root,(e={},(0,o.default)(e,l.checked,C),(0,o.default)(e,l.disabled,S),e),u),disabled:S,tabIndex:null,role:void 0,onFocus:this.handleFocus,onBlur:this.handleBlur},k),C?s:d,f.default.createElement("input",(0,i.default)({autoFocus:n,checked:C,className:l.input,disabled:S,id:O&&h,name:y,onChange:this.handleInputChange,readOnly:b,ref:v,required:w,tabIndex:E,type:T,value:_},m)))}}]),t}(f.default.Component);y.propTypes={},y.contextTypes={muiFormControl:h.default.object};var b=(0,m.default)(v,{name:"MuiSwitchBase"})(y);t.default=b},function(e,t,n){"use strict";function r(e){return-1!==["left","right"].indexOf(e.anchor)}function i(e){return"rtl"===e.theme.direction&&r(e)?T[e.anchor]:e.anchor}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.isHorizontal=r,t.getAnchor=i,t.default=t.styles=void 0;var a=o(n(3)),s=o(n(7)),l=o(n(4)),u=o(n(8)),c=o(n(9)),d=o(n(10)),f=o(n(11)),h=o(n(12)),p=o(n(1)),m=(o(n(2)),o(n(6))),g=o(n(83)),v=o(n(5)),y=o(n(131)),b=o(n(25)),w=n(14),E=n(28),T={left:"right",right:"left",top:"down",bottom:"up"},_=function(e){return{docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:e.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:"none"},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(e.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(e.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(e.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(e.palette.divider)},modal:{}}};t.styles=_;var k=function(e){function t(){var e,n;(0,u.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,d.default)(this,(e=(0,f.default)(t)).call.apply(e,[this].concat(i))),n.mounted=!1,n}return(0,h.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"render",value:function(){var e=this.props,t=(e.anchor,e.children),n=e.classes,r=e.className,o=e.elevation,u=e.ModalProps;u=void 0===u?{}:u;var c=u.BackdropProps,d=(0,l.default)(u,["BackdropProps"]),f=e.onClose,h=e.open,v=e.PaperProps,E=e.SlideProps,_=(e.theme,e.transitionDuration),k=e.variant,x=(0,l.default)(e,["anchor","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","theme","transitionDuration","variant"]),S=i(this.props),C=p.default.createElement(b.default,(0,a.default)({elevation:"temporary"===k?o:0,square:!0,className:(0,m.default)(n.paper,n["paperAnchor".concat((0,w.capitalize)(S))],(0,s.default)({},n["paperAnchorDocked".concat((0,w.capitalize)(S))],"temporary"!==k))},v),t);if("permanent"===k)return p.default.createElement("div",(0,a.default)({className:(0,m.default)(n.docked,r)},x),C);var O=p.default.createElement(y.default,(0,a.default)({in:h,direction:T[S],timeout:_,appear:this.mounted},E),C);return"persistent"===k?p.default.createElement("div",(0,a.default)({className:(0,m.default)(n.docked,r)},x),O):p.default.createElement(g.default,(0,a.default)({BackdropProps:(0,a.default)({},c,{transitionDuration:_}),className:(0,m.default)(n.modal,r),open:h,onClose:f},x,d),O)}}]),t}(p.default.Component);k.propTypes={},k.defaultProps={anchor:"left",elevation:16,open:!1,transitionDuration:{enter:E.duration.enteringScreen,exit:E.duration.leavingScreen},variant:"temporary"};var x=(0,v.default)(_,{name:"MuiDrawer",flip:!1,withTheme:!0})(k);t.default=x},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(491))},function(e,t,n){"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function o(e){return e.startAdornment}function a(e,t){var n=e.disabled,r=e.error,i=e.margin,o=e.required;return t&&t.muiFormControl&&("undefined"===typeof n&&(n=t.muiFormControl.disabled),"undefined"===typeof r&&(r=t.muiFormControl.error),"undefined"===typeof i&&(i=t.muiFormControl.margin),"undefined"===typeof o&&(o=t.muiFormControl.required)),{disabled:n,error:r,margin:i,required:o}}var s=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.hasValue=r,t.isFilled=i,t.isAdornedStart=o,t.default=t.styles=void 0;var l=s(n(3)),u=s(n(7)),c=s(n(4)),d=s(n(8)),f=s(n(9)),h=s(n(10)),p=s(n(11)),m=s(n(12)),g=s(n(1)),v=s(n(2)),y=s(n(6)),b=s(n(5)),w=s(n(498)),E=function(e){var t="light"===e.palette.type,n={color:"currentColor",opacity:t?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:0},i={opacity:t?.42:.5},o=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{display:"inline-flex",position:"relative",fontFamily:e.typography.fontFamily,color:e.palette.text.primary,fontSize:e.typography.pxToRem(16),lineHeight:"1.1875em","&$disabled":{color:e.palette.text.disabled}},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary[t?"dark":"light"]),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(o),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):not($focused):not($error):before":{borderBottom:"2px solid ".concat(e.palette.text.primary)},"&$disabled:before":{borderBottom:"1px dotted ".concat(o)}},error:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px")},fullWidth:{width:"100%"},input:{font:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",verticalAlign:"middle",background:"none",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,flexGrow:1,"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},"&$disabled":{opacity:1}},inputMarginDense:{paddingTop:3},inputMultiline:{resize:"none",padding:0},inputType:{height:"1.1875em"},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"}}};t.styles=E;var T=function(e){function t(e,n){var r;(0,d.default)(this,t),r=(0,h.default)(this,(0,p.default)(t).call(this,e,n)),r.isControlled=null,r.input=null,r.state={focused:!1},r.handleFocus=function(e){if(a(r.props,r.context).disabled)return void e.stopPropagation();r.setState({focused:!0}),r.props.onFocus&&r.props.onFocus(e);var t=r.context.muiFormControl;t&&t.onFocus&&t.onFocus(e)},r.handleBlur=function(e){r.setState({focused:!1}),r.props.onBlur&&r.props.onBlur(e);var t=r.context.muiFormControl;t&&t.onBlur&&t.onBlur(e)},r.handleChange=function(e){r.isControlled||r.checkDirty(r.inputRef),r.props.onChange&&r.props.onChange(e)},r.handleRefInput=function(e){r.inputRef=e;var t;r.props.inputRef?t=r.props.inputRef:r.props.inputProps&&r.props.inputProps.ref&&(t=r.props.inputProps.ref),t&&("function"===typeof t?t(e):t.current=e)},r.isControlled=null!=e.value,r.isControlled&&r.checkDirty(e);var i=function(e,t){!a(r.props,r.context).disabled&&a(e,t).disabled&&r.setState({focused:!1})},o=function(e,t,n){if(!a(r.props,r.context).disabled&&a(e,n).disabled){var i=r.context.muiFormControl;i&&i.onBlur&&i.onBlur()}};return g.default.createContext?(r.UNSAFE_componentWillReceiveProps=i,r.UNSAFE_componentWillUpdate=o):(r.componentWillReceiveProps=i,r.componentWillUpdate=o),r}return(0,m.default)(t,e),(0,f.default)(t,[{key:"getChildContext",value:function(){return{muiFormControl:null}}},{key:"componentDidMount",value:function(){this.isControlled||this.checkDirty(this.inputRef)}},{key:"componentDidUpdate",value:function(){this.isControlled&&this.checkDirty(this.props)}},{key:"checkDirty",value:function(e){var t=this.context.muiFormControl;if(i(e))return t&&t.onFilled&&t.onFilled(),void(this.props.onFilled&&this.props.onFilled());t&&t.onEmpty&&t.onEmpty(),this.props.onEmpty&&this.props.onEmpty()}},{key:"render",value:function(){var e,t,n=this.props,r=n.autoComplete,i=n.autoFocus,o=n.classes,s=n.className,d=n.defaultValue,f=(n.disabled,n.disableUnderline),h=n.endAdornment,p=(n.error,n.fullWidth),m=n.id,v=n.inputComponent,b=n.inputProps;b=void 0===b?{}:b;var E=b.className,T=(0,c.default)(b,["className"]),_=(n.inputRef,n.margin,n.multiline),k=n.name,x=(n.onBlur,n.onChange,n.onEmpty,n.onFilled,n.onFocus,n.onKeyDown),S=n.onKeyUp,C=n.placeholder,O=n.readOnly,A=n.rows,P=n.rowsMax,I=n.startAdornment,R=n.type,N=n.value,M=(0,c.default)(n,["autoComplete","autoFocus","classes","className","defaultValue","disabled","disableUnderline","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onEmpty","onFilled","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","rows","rowsMax","startAdornment","type","value"]),D=this.context.muiFormControl,L=a(this.props,this.context),j=L.disabled,W=L.error,B=L.margin,F=L.required,z=(0,y.default)(o.root,(e={},(0,u.default)(e,o.disabled,j),(0,u.default)(e,o.error,W),(0,u.default)(e,o.fullWidth,p),(0,u.default)(e,o.focused,this.state.focused),(0,u.default)(e,o.formControl,D),(0,u.default)(e,o.multiline,_),(0,u.default)(e,o.underline,!f),e),s),U=(0,y.default)(o.input,(t={},(0,u.default)(t,o.disabled,j),(0,u.default)(t,o.inputType,"text"!==R),(0,u.default)(t,o.inputTypeSearch,"search"===R),(0,u.default)(t,o.inputMultiline,_),(0,u.default)(t,o.inputMarginDense,"dense"===B),t),E),H="input",G=(0,l.default)({},T,{ref:this.handleRefInput});return v?(H=v,G=(0,l.default)({inputRef:this.handleRefInput},G,{ref:null})):_&&(A&&!P?H="textarea":(G=(0,l.default)({rowsMax:P,textareaRef:this.handleRefInput},G,{ref:null}),H=w.default)),g.default.createElement("div",(0,l.default)({className:z},M),I,g.default.createElement(H,(0,l.default)({"aria-invalid":W,autoComplete:r,autoFocus:i,className:U,defaultValue:d,disabled:j,id:m,name:k,onBlur:this.handleBlur,onChange:this.handleChange,onFocus:this.handleFocus,onKeyDown:x,onKeyUp:S,placeholder:C,readOnly:O,required:F,rows:A,type:R,value:N},G)),h)}}]),t}(g.default.Component);T.propTypes={},T.muiName="Input",T.defaultProps={disableUnderline:!1,fullWidth:!1,multiline:!1,type:"text"},T.contextTypes={muiFormControl:v.default.object},T.childContextTypes={muiFormControl:v.default.object};var _=(0,b.default)(E,{name:"MuiInput"})(T);t.default=_},function(e,t,n){"use strict";var r=n(46);Object.defineProperty(t,"__esModule",{value:!0});var i={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=r(n(516));Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(545))},function(e,t,n){"use strict";function r(e){try{return y.insertRule(e,y.cssRules.length)}catch(e){console.warn("react-reveal - animation failed")}}function i(e,t,n,r,i){var o=Math.log(r),a=Math.log(i),s=(a-o)/(n-t);return Math.exp(o+s*(e-t))}function o(e){if(!y)return"";var t="@keyframes "+(b+g)+"{"+e+"}",n=v[e];return n?""+b+n:(y.insertRule(t,y.cssRules.length),v[e]=g,""+b+g++)}function a(){p||(t.globalHide=p=!0,window.removeEventListener("scroll",a,!0),r("."+l+" { opacity: 0; }"),window.removeEventListener("orientationchange",a,!0),window.document.removeEventListener("visibilitychange",a))}function s(e){var n=e.ssrFadeout;t.fadeOutEnabled=h=n}Object.defineProperty(t,"__esModule",{value:!0}),t.insertRule=r,t.cascade=i,t.animation=o,t.hideAll=a,t.default=s;var l=t.namespace="react-reveal",u=(t.defaults={duration:1e3,delay:0,count:1},t.ssr=!0),c=t.observerMode=!1,d=t.raf=function(e){return window.setTimeout(e,66)},f=t.disableSsr=function(){return t.ssr=u=!1},h=t.fadeOutEnabled=!1,p=(t.ssrFadeout=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t.fadeOutEnabled=h=e},t.globalHide=!1),m=(t.ie10=!1,t.collapseend=void 0),g=1,v={},y=!1,b=l+"-"+Math.floor(1e15*Math.random())+"-";if("undefined"!=typeof window&&"nodejs"!==window.name&&window.document&&"undefined"!=typeof navigator){t.observerMode=c="IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&/\{\s*\[native code\]\s*\}/.test(""+IntersectionObserver),t.raf=d=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||d,t.ssr=u=window.document.querySelectorAll("div[data-reactroot]").length>0,-1!==navigator.appVersion.indexOf("MSIE 10")&&(t.ie10=!0),u&&"performance"in window&&"timing"in window.performance&&"domContentLoadedEventEnd"in window.performance.timing&&window.performance.timing.domLoading&&Date.now()-window.performance.timing.domLoading<300&&(t.ssr=u=!1),u&&window.setTimeout(f,1500),c||(t.collapseend=m=document.createEvent("Event"),m.initEvent("collapseend",!0,!0));var w=document.createElement("style");document.head.appendChild(w),w.sheet&&w.sheet.cssRules&&w.sheet.insertRule&&(y=w.sheet,window.addEventListener("scroll",a,!0),window.addEventListener("orientationchange",a,!0),window.document.addEventListener("visibilitychange",a))}},function(e,t,n){"use strict";function r(e){return o.default&&o.default[e]?o.default[e]:e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(618),o=function(e){return e&&e.__esModule?e:{default:e}}(i)},function(e,t,n){"use strict";function r(e,t,n){var r={};Object.keys(t).filter(function(t){return"children"===t||!e[t]}).forEach(function(e){return r[e]=t[e]});var i=n.filter(function(e){return e}).join(" ");return Object.assign({},r,{className:i})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){for(var t=String(e),n=t.length;t.charAt(--n)===i;);return t.slice(0,n+1)}e.exports=r;var i="\n"},function(e,t,n){"use strict";function r(e,t,n,r){for(var i,o,a,s,l,u,c=["pedantic","commonmark"],d=c.length,f=e.length,h=-1;++h<f;){for(i=e[h],o=i[1]||{},a=i[0],s=-1,u=!1;++s<d;)if(l=c[s],void 0!==o[l]&&o[l]!==n.options[l]){u=!0;break}if(!u&&t[a].apply(n,r))return!0}return!1}e.exports=r},function(e,t,n){"use strict";function r(e){return i(e).toLowerCase()}var i=n(241);e.exports=r},function(e,t,n){"use strict";function r(e,t){return t||0===e.length||o.test(e)||i(e,"(")!==i(e,")")?"<"+e+">":e}var i=n(739);e.exports=r;var o=/\s/},function(e,t,n){"use strict";function r(e){var t=-1===e.indexOf('"')?'"':"'";return t+e+t}e.exports=r},function(e,t,n){"use strict";function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}function i(e){for(var t=e.length,n=t,r=0,i=void 0;t>=4;)i=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24,i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16),i^=i>>>24,i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^i,t-=4,++r;switch(t){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)}return n^=n>>>13,n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16),n^=n>>>15,(n>>>0).toString(36)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}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")}}(),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(e){return Object.keys(e).map(function(t){return[t,e[t]]})};t.objectToPairs=s;var l=function(e){var t={};return e.forEach(function(e){var n=o(e,2),r=n[0],i=n[1];t[r]=i}),t},u=function(e,t){return l(s(e).map(t))};t.mapObj=u;var c=function(e){return e.reduce(function(e,t){return e.concat(t)},[])};t.flatten=c;var d=/([A-Z])/g,f=/^ms-/,h=function(e){return e.replace(d,"-$1").toLowerCase()},p=function(e){return h(e).replace(f,"-ms-")};t.kebabifyStyleName=p;var m=function e(t,n){if("object"!==typeof t)return n;var r=a({},t);return Object.keys(n).forEach(function(i){r.hasOwnProperty(i)?r[i]=e(t[i],n[i]):r[i]=n[i]}),r};t.recursiveMerge=m;var g={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},v=["Webkit","ms","Moz","O"];Object.keys(g).forEach(function(e){v.forEach(function(t){g[r(t,e)]=g[e]})});var y=function(e,t){return"number"===typeof t?g[e]?""+t:t+"px":t};t.stringifyValue=y;var b=function(e){return i(JSON.stringify(e))};t.hashObject=b;var w=/^([^:]+:.*?)( !important)?;$/,E=function(e){return e.replace(w,function(e,t,n){return t+" !important;"})};t.importantify=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Array.isArray(e)&&(e=e.join(",")),null!==e.match(/-webkit-|-moz-|-ms-/)},e.exports=t.default},function(e,t,n){"use strict";function r(){}function i(e){try{return e.then}catch(e){return v=e,y}}function o(e,t){try{return e(t)}catch(e){return v=e,y}}function a(e,t,n){try{e(t,n)}catch(e){return v=e,y}}function s(e){if("object"!==typeof this)throw new TypeError("Promises must be constructed via new");if("function"!==typeof e)throw new TypeError("Promise constructor's argument is not a function");this._75=0,this._83=0,this._18=null,this._38=null,e!==r&&m(e,this)}function l(e,t,n){return new e.constructor(function(i,o){var a=new s(r);a.then(i,o),u(e,new p(t,n,a))})}function u(e,t){for(;3===e._83;)e=e._18;if(s._47&&s._47(e),0===e._83)return 0===e._75?(e._75=1,void(e._38=t)):1===e._75?(e._75=2,void(e._38=[e._38,t])):void e._38.push(t);c(e,t)}function c(e,t){g(function(){var n=1===e._83?t.onFulfilled:t.onRejected;if(null===n)return void(1===e._83?d(t.promise,e._18):f(t.promise,e._18));var r=o(n,e._18);r===y?f(t.promise,v):d(t.promise,r)})}function d(e,t){if(t===e)return f(e,new TypeError("A promise cannot be resolved with itself."));if(t&&("object"===typeof t||"function"===typeof t)){var n=i(t);if(n===y)return f(e,v);if(n===e.then&&t instanceof s)return e._83=3,e._18=t,void h(e);if("function"===typeof n)return void m(n.bind(t),e)}e._83=1,e._18=t,h(e)}function f(e,t){e._83=2,e._18=t,s._71&&s._71(e,t),h(e)}function h(e){if(1===e._75&&(u(e,e._38),e._38=null),2===e._75){for(var t=0;t<e._38.length;t++)u(e,e._38[t]);e._38=null}}function p(e,t,n){this.onFulfilled="function"===typeof e?e:null,this.onRejected="function"===typeof t?t:null,this.promise=n}function m(e,t){var n=!1,r=a(e,function(e){n||(n=!0,d(t,e))},function(e){n||(n=!0,f(t,e))});n||r!==y||(n=!0,f(t,v))}var g=n(146),v=null,y={};e.exports=s,s._47=null,s._71=null,s._44=r,s.prototype.then=function(e,t){if(this.constructor!==s)return l(this,e,t);var n=new s(r);return u(this,new p(e,t,n)),n}},function(e,t,n){"use strict";(function(t){function n(e){a.length||(o(),s=!0),a[a.length]=e}function r(){for(;l<a.length;){var e=l;if(l+=1,a[e].call(),l>u){for(var t=0,n=a.length-l;t<n;t++)a[t]=a[t+l];a.length-=l,l=0}}a.length=0,l=0,s=!1}function i(e){return function(){function t(){clearTimeout(n),clearInterval(r),e()}var n=setTimeout(t,0),r=setInterval(t,50)}}e.exports=n;var o,a=[],s=!1,l=0,u=1024,c="undefined"!==typeof t?t:self,d=c.MutationObserver||c.WebKitMutationObserver;o="function"===typeof d?function(e){var t=1,n=new d(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}(r):i(r),n.requestFlush=o,n.makeRequestCallFromTimer=i}).call(t,n(18))},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";n(281);var r=function(e){return e&&"object"===typeof e&&"default"in e?e.default:e}(n(95));e.exports=r},function(e,t,n){"use strict";function r(e){return i(void 0,e)}function i(e,t){if(!(t instanceof Object))return t;switch(t.constructor){case Date:var n=t;return new Date(n.getTime());case Object:void 0===e&&(e={});break;case Array:e=[];break;default:return t}for(var r in t)t.hasOwnProperty(r)&&(e[r]=i(e[r],t[r]));return e}function o(e,t,n){e[t]=n}function a(e){var t=R;return R=e,t}function s(e){return JSON.parse(e)}function l(e){return JSON.stringify(e)}function u(e,t){var n=new ie(e,t);return n.subscribe.bind(n)}function c(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];Promise.resolve(!0).then(function(){e.apply(void 0,n)}).catch(function(e){t&&t(e)})}}function d(e,t){if("object"!==typeof e||null===e)return!1;for(var n=0,r=t;n<r.length;n++){var i=r[n];if(i in e&&"function"===typeof e[i])return!0}return!1}function f(){}function h(e,t,n){var r="";switch(t){case 1:r=n?"first":"First";break;case 2:r=n?"second":"Second";break;case 3:r=n?"third":"Third";break;case 4:r=n?"fourth":"Fourth";break;default:throw new Error("errorPrefix called with argumentNumber > 4. Need to update it?")}var i=e+" failed: ";return i+=r+" argument "}function p(e,t,n,r){if((!r||n)&&"string"!==typeof n)throw new Error(h(e,t,r)+"must be a valid firebase namespace.")}function m(e,t,n,r){if((!r||n)&&"function"!==typeof n)throw new Error(h(e,t,r)+"must be a valid function.")}function g(e,t,n,r){if((!r||n)&&("object"!==typeof n||null===n))throw new Error(h(e,t,r)+"must be a valid context object.")}Object.defineProperty(t,"__esModule",{value:!0});var v=n(150),y={NODE_CLIENT:!1,NODE_ADMIN:!1,SDK_VERSION:"${JSCORE_VERSION}"},b=function(e,t){if(!e)throw w(t)},w=function(e){return new Error("Firebase Database ("+y.SDK_VERSION+") INTERNAL ASSERT FAILED: "+e)},E=function(e){for(var t=[],n=0,r=0;r<e.length;r++){var i=e.charCodeAt(r);i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):55296==(64512&i)&&r+1<e.length&&56320==(64512&e.charCodeAt(r+1))?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++r)),t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t},T=function(e){for(var t=[],n=0,r=0;n<e.length;){var i=e[n++];if(i<128)t[r++]=String.fromCharCode(i);else if(i>191&&i<224){var o=e[n++];t[r++]=String.fromCharCode((31&i)<<6|63&o)}else if(i>239&&i<365){var o=e[n++],a=e[n++],s=e[n++],l=((7&i)<<18|(63&o)<<12|(63&a)<<6|63&s)-65536;t[r++]=String.fromCharCode(55296+(l>>10)),t[r++]=String.fromCharCode(56320+(1023&l))}else{var o=e[n++],a=e[n++];t[r++]=String.fromCharCode((15&i)<<12|(63&o)<<6|63&a)}}return t.join("")},_={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"===typeof atob,encodeByteArray:function(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();for(var n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[],i=0;i<e.length;i+=3){var o=e[i],a=i+1<e.length,s=a?e[i+1]:0,l=i+2<e.length,u=l?e[i+2]:0,c=o>>2,d=(3&o)<<4|s>>4,f=(15&s)<<2|u>>6,h=63&u;l||(h=64,a||(f=64)),r.push(n[c],n[d],n[f],n[h])}return r.join("")},encodeString:function(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(E(e),t)},decodeString:function(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):T(this.decodeStringToByteArray(e,t))},decodeStringToByteArray:function(e,t){this.init_();for(var n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[],i=0;i<e.length;){var o=n[e.charAt(i++)],a=i<e.length,s=a?n[e.charAt(i)]:0;++i;var l=i<e.length,u=l?n[e.charAt(i)]:64;++i;var c=i<e.length,d=c?n[e.charAt(i)]:64;if(++i,null==o||null==s||null==u||null==d)throw Error();var f=o<<2|s>>4;if(r.push(f),64!=u){var h=s<<4&240|u>>2;if(r.push(h),64!=d){var p=u<<6&192|d;r.push(p)}}}return r},init_:function(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(var e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}},k=function(e){var t=E(e);return _.encodeByteArray(t,!0)},x=function(e){try{return _.decodeString(e,!0)}catch(e){console.error("base64Decode failed: ",e)}return null},S=function(){function e(){var e=this;this.promise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return e.prototype.wrapCallback=function(e){var t=this;return function(n,r){n?t.reject(n):t.resolve(r),"function"===typeof e&&(t.promise.catch(function(){}),1===e.length?e(n):e(n,r))}},e}(),C=function(){return"undefined"!==typeof navigator&&"string"===typeof navigator.userAgent?navigator.userAgent:""},O=function(){return"undefined"!==typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(C())},A=function(){return"object"===typeof navigator&&"ReactNative"===navigator.product},P=function(){return!0===y.NODE_CLIENT||!0===y.NODE_ADMIN},I="FirebaseError",R=Error.captureStackTrace,N=function(){function e(e,t){if(this.code=e,this.message=t,R)R(this,M.prototype.create);else try{throw Error.apply(this,arguments)}catch(e){this.name=I,Object.defineProperty(this,"stack",{get:function(){return e.stack}})}}return e}();N.prototype=Object.create(Error.prototype),N.prototype.constructor=N,N.prototype.name=I;var M=function(){function e(e,t,n){this.service=e,this.serviceName=t,this.errors=n,this.pattern=/\{\$([^}]+)}/g}return e.prototype.create=function(e,t){void 0===t&&(t={});var n,r=this.errors[e],i=this.service+"/"+e;n=void 0===r?"Error":r.replace(this.pattern,function(e,n){var r=t[n];return void 0!==r?r.toString():"<"+n+"?>"}),n=this.serviceName+": "+n+" ("+i+").";var o=new N(i,n);for(var a in t)t.hasOwnProperty(a)&&"_"!==a.slice(-1)&&(o[a]=t[a]);return o},e}(),D=function(e){var t={},n={},r={},i="";try{var o=e.split(".");t=s(x(o[0])||""),n=s(x(o[1])||""),i=o[2],r=n.d||{},delete n.d}catch(e){}return{header:t,claims:n,data:r,signature:i}},L=function(e){var t,n,r=D(e).claims,i=Math.floor((new Date).getTime()/1e3);return"object"===typeof r&&(r.hasOwnProperty("nbf")?t=r.nbf:r.hasOwnProperty("iat")&&(t=r.iat),n=r.hasOwnProperty("exp")?r.exp:t+86400),i&&t&&n&&i>=t&&i<=n},j=function(e){var t=D(e).claims;return"object"===typeof t&&t.hasOwnProperty("iat")?t.iat:null},W=function(e){var t=D(e),n=t.claims;return!!t.signature&&!!n&&"object"===typeof n&&n.hasOwnProperty("iat")},B=function(e){var t=D(e).claims;return"object"===typeof t&&!0===t.admin},F=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},z=function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]},U=function(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t(n,e[n])},H=function(e,t){return U(t,function(t,n){e[t]=n}),e},G=function(e){return H({},e)},q=function(e){return"object"===typeof e&&null!==e},V=function(e){for(var t in e)return!1;return!0},K=function(e){var t=0;for(var n in e)t++;return t},Y=function(e,t,n){var r={};for(var i in e)r[i]=t.call(n,e[i],i,e);return r},Z=function(e,t,n){for(var r in e)if(t.call(n,e[r],r,e))return r},X=function(e,t,n){var r=Z(e,t,n);return r&&e[r]},Q=function(e){for(var t in e)return t},$=function(e){var t=[],n=0;for(var r in e)t[n++]=e[r];return t},J=function(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&!t(n,e[n]))return!1;return!0},ee=function(e){var t=[];return U(e,function(e,n){Array.isArray(n)?n.forEach(function(n){t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))}):t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))}),t.length?"&"+t.join("&"):""},te=function(e){var t={};return e.replace(/^\?/,"").split("&").forEach(function(e){if(e){var n=e.split("=");t[n[0]]=n[1]}}),t},ne=function(){function e(){this.blockSize=-1}return e}(),re=function(e){function t(){var t=e.call(this)||this;t.chain_=[],t.buf_=[],t.W_=[],t.pad_=[],t.inbuf_=0,t.total_=0,t.blockSize=64,t.pad_[0]=128;for(var n=1;n<t.blockSize;++n)t.pad_[n]=0;return t.reset(),t}return v.__extends(t,e),t.prototype.reset=function(){this.chain_[0]=1732584193,this.chain_[1]=4023233417,this.chain_[2]=2562383102,this.chain_[3]=271733878,this.chain_[4]=3285377520,this.inbuf_=0,this.total_=0},t.prototype.compress_=function(e,t){t||(t=0);var n=this.W_;if("string"===typeof e)for(var r=0;r<16;r++)n[r]=e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|e.charCodeAt(t+3),t+=4;else for(var r=0;r<16;r++)n[r]=e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3],t+=4;for(var r=16;r<80;r++){var i=n[r-3]^n[r-8]^n[r-14]^n[r-16];n[r]=4294967295&(i<<1|i>>>31)}for(var o,a,s=this.chain_[0],l=this.chain_[1],u=this.chain_[2],c=this.chain_[3],d=this.chain_[4],r=0;r<80;r++){r<40?r<20?(o=c^l&(u^c),a=1518500249):(o=l^u^c,a=1859775393):r<60?(o=l&u|c&(l|u),a=2400959708):(o=l^u^c,a=3395469782);var i=(s<<5|s>>>27)+o+d+a+n[r]&4294967295;d=c,c=u,u=4294967295&(l<<30|l>>>2),l=s,s=i}this.chain_[0]=this.chain_[0]+s&4294967295,this.chain_[1]=this.chain_[1]+l&4294967295,this.chain_[2]=this.chain_[2]+u&4294967295,this.chain_[3]=this.chain_[3]+c&4294967295,this.chain_[4]=this.chain_[4]+d&4294967295},t.prototype.update=function(e,t){if(null!=e){void 0===t&&(t=e.length);for(var n=t-this.blockSize,r=0,i=this.buf_,o=this.inbuf_;r<t;){if(0==o)for(;r<=n;)this.compress_(e,r),r+=this.blockSize;if("string"===typeof e){for(;r<t;)if(i[o]=e.charCodeAt(r),++o,++r,o==this.blockSize){this.compress_(i),o=0;break}}else for(;r<t;)if(i[o]=e[r],++o,++r,o==this.blockSize){this.compress_(i),o=0;break}}this.inbuf_=o,this.total_+=t}},t.prototype.digest=function(){var e=[],t=8*this.total_;this.inbuf_<56?this.update(this.pad_,56-this.inbuf_):this.update(this.pad_,this.blockSize-(this.inbuf_-56));for(var n=this.blockSize-1;n>=56;n--)this.buf_[n]=255&t,t/=256;this.compress_(this.buf_);for(var r=0,n=0;n<5;n++)for(var i=24;i>=0;i-=8)e[r]=this.chain_[n]>>i&255,++r;return e},t}(ne),ie=function(){function e(e,t){var n=this;this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=t,this.task.then(function(){e(n)}).catch(function(e){n.error(e)})}return e.prototype.next=function(e){this.forEachObserver(function(t){t.next(e)})},e.prototype.error=function(e){this.forEachObserver(function(t){t.error(e)}),this.close(e)},e.prototype.complete=function(){this.forEachObserver(function(e){e.complete()}),this.close()},e.prototype.subscribe=function(e,t,n){var r,i=this;if(void 0===e&&void 0===t&&void 0===n)throw new Error("Missing Observer.");r=d(e,["next","error","complete"])?e:{next:e,error:t,complete:n},void 0===r.next&&(r.next=f),void 0===r.error&&(r.error=f),void 0===r.complete&&(r.complete=f);var o=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(function(){try{i.finalError?r.error(i.finalError):r.complete()}catch(e){}}),this.observers.push(r),o},e.prototype.unsubscribeOne=function(e){void 0!==this.observers&&void 0!==this.observers[e]&&(delete this.observers[e],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))},e.prototype.forEachObserver=function(e){if(!this.finalized)for(var t=0;t<this.observers.length;t++)this.sendOne(t,e)},e.prototype.sendOne=function(e,t){var n=this;this.task.then(function(){if(void 0!==n.observers&&void 0!==n.observers[e])try{t(n.observers[e])}catch(e){"undefined"!==typeof console&&console.error&&console.error(e)}})},e.prototype.close=function(e){var t=this;this.finalized||(this.finalized=!0,void 0!==e&&(this.finalError=e),this.task.then(function(){t.observers=void 0,t.onNoObservers=void 0}))},e}(),oe=function(e,t,n,r){var i;if(r<t?i="at least "+t:r>n&&(i=0===n?"none":"no more than "+n),i){var o=e+" failed: Was called with "+r+(1===r?" argument.":" arguments.")+" Expects "+i+".";throw new Error(o)}},ae=function(e){for(var t=[],n=0,r=0;r<e.length;r++){var i=e.charCodeAt(r);if(i>=55296&&i<=56319){var o=i-55296;r++,b(r<e.length,"Surrogate pair missing trail surrogate.");i=65536+(o<<10)+(e.charCodeAt(r)-56320)}i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):i<65536?(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t},se=function(e){for(var t=0,n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t++:r<2048?t+=2:r>=55296&&r<=56319?(t+=4,n++):t+=3}return t};t.assert=b,t.assertionError=w,t.base64=_,t.base64Decode=x,t.base64Encode=k,t.CONSTANTS=y,t.deepCopy=r,t.deepExtend=i,t.patchProperty=o,t.Deferred=S,t.getUA=C,t.isMobileCordova=O,t.isNodeSdk=P,t.isReactNative=A,t.ErrorFactory=M,t.FirebaseError=N,t.patchCapture=a,t.jsonEval=s,t.stringify=l,t.decode=D,t.isAdmin=B,t.issuedAtTime=j,t.isValidFormat=W,t.isValidTimestamp=L,t.clone=G,t.contains=F,t.every=J,t.extend=H,t.findKey=Z,t.findValue=X,t.forEach=U,t.getAnyKey=Q,t.getCount=K,t.getValues=$,t.isEmpty=V,t.isNonNullObject=q,t.map=Y,t.safeGet=z,t.querystring=ee,t.querystringDecode=te,t.Sha1=re,t.async=c,t.createSubscribe=u,t.errorPrefix=h,t.validateArgCount=oe,t.validateCallback=m,t.validateContextObject=g,t.validateNamespace=p,t.stringLength=se,t.stringToByteArray=ae},function(e,t,n){"use strict";function r(e,t){function n(){this.constructor=e}E(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]]);return n}function o(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function a(e,t){return function(n,r){t(n,r,e)}}function s(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(a,s)}l((r=r.apply(e,t||[])).next())})}function u(e,t){function n(e){return function(t){return r([e,t])}}function r(n){if(i)throw new TypeError("Generator is already executing.");for(;l;)try{if(i=1,o&&(a=o[2&n[0]?"return":n[0]?"throw":"next"])&&!(a=a.call(o,n[1])).done)return a;switch(o=0,a&&(n=[0,a.value]),n[0]){case 0:case 1:a=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,o=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(a=l.trys,!(a=a.length>0&&a[a.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!a||n[1]>a[0]&&n[1]<a[3])){l.label=n[1];break}if(6===n[0]&&l.label<a[1]){l.label=a[1],a=n;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(n);break}a[2]&&l.ops.pop(),l.trys.pop();continue}n=t.call(e,l)}catch(e){n=[6,e],o=0}finally{i=a=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}var i,o,a,s,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:n(0),throw:n(1),return:n(2)},"function"===typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s}function c(e,t){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}function d(e){var t="function"===typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function f(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function h(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(f(arguments[t]));return e}function p(e){return this instanceof p?(this.v=e,this):new p(e)}function m(e,t,n){function r(e){c[e]&&(u[e]=function(t){return new Promise(function(n,r){d.push([e,t,n,r])>1||i(e,t)})})}function i(e,t){try{o(c[e](t))}catch(e){l(d[0][3],e)}}function o(e){e.value instanceof p?Promise.resolve(e.value.v).then(a,s):l(d[0][2],e)}function a(e){i("next",e)}function s(e){i("throw",e)}function l(e,t){e(t),d.shift(),d.length&&i(d[0][0],d[0][1])}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u,c=n.apply(e,t||[]),d=[];return u={},r("next"),r("throw"),r("return"),u[Symbol.asyncIterator]=function(){return this},u}function g(e){function t(t,i){e[t]&&(n[t]=function(n){return(r=!r)?{value:p(e[t](n)),done:"return"===t}:i?i(n):n})}var n,r;return n={},t("next"),t("throw",function(e){throw e}),t("return"),n[Symbol.iterator]=function(){return this},n}function v(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator];return t?t.call(e):"function"===typeof d?d(e):e[Symbol.iterator]()}function y(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function b(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function w(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.__extends=r,n.d(t,"__assign",function(){return T}),t.__rest=i,t.__decorate=o,t.__param=a,t.__metadata=s,t.__awaiter=l,t.__generator=u,t.__exportStar=c,t.__values=d,t.__read=f,t.__spread=h,t.__await=p,t.__asyncGenerator=m,t.__asyncDelegator=g,t.__asyncValues=v,t.__makeTemplateObject=y,t.__importStar=b,t.__importDefault=w;var E=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])},T=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}},function(e,t,n){"use strict";(function(e){function r(e){var t=String(e);return t.replace(a,"-")}function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.dangerouslyUseGlobalCSS,i=void 0!==n&&n,o=t.productionPrefix,a=void 0===o?"jss":o,s=0;return"undefined"!==typeof window&&(e.__MUI_GENERATOR_COUNTER__+=1,e.__MUI_GENERATOR_COUNTER__>2&&console.error(["Material-UI: we have detected more than needed creation of the class name generator.","You should only use one class name generator on the client side.","If you do otherwise, you take the risk to have conflicting class names in production."].join("\n"))),function(e,t){if(s+=1,i){if(t){if(t.options.name)return"".concat(t.options.name,"-").concat(e.key);if(t.options.classNamePrefix,!1){return"".concat(r(t.options.classNamePrefix),"-").concat(e.key,"-").concat(s)}}return"".concat(a).concat(s)}return"".concat(a).concat(s)}}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;o(n(13));e.__MUI_GENERATOR_COUNTER__=0;var a=/([[\].#*$><+~=|^:(),"'`\s])/g}).call(t,n(18))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={black:"#000",white:"#fff"},i=r;t.default=i},function(e,t,n){"use strict";function r(){return{plugins:[(0,o.default)(),(0,a.default)(),(0,s.default)(),(0,l.default)(),(0,u.default)(),(0,c.default)()]}}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(300)),a=i(n(321)),s=i(n(323)),l=i(n(324)),u=i(n(326)),c=i(n(331)),d=r;t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.create=t.createGenerateClassName=t.sheets=t.RuleList=t.SheetsManager=t.SheetsRegistry=t.toCssValue=t.getDynamicStyles=void 0;var i=n(301);Object.defineProperty(t,"getDynamicStyles",{enumerable:!0,get:function(){return r(i).default}});var o=n(72);Object.defineProperty(t,"toCssValue",{enumerable:!0,get:function(){return r(o).default}});var a=n(159);Object.defineProperty(t,"SheetsRegistry",{enumerable:!0,get:function(){return r(a).default}});var s=n(302);Object.defineProperty(t,"SheetsManager",{enumerable:!0,get:function(){return r(s).default}});var l=n(60);Object.defineProperty(t,"RuleList",{enumerable:!0,get:function(){return r(l).default}});var u=n(99);Object.defineProperty(t,"sheets",{enumerable:!0,get:function(){return r(u).default}});var c=n(162);Object.defineProperty(t,"createGenerateClassName",{enumerable:!0,get:function(){return r(c).default}});var d=n(309),f=r(d),h=t.create=function(e){return new f.default(e)};t.default=h()},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){r(this,e),this.registry=[]}return i(e,[{key:"add",value:function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e)){if(0===t.length||n>=this.index)return void t.push(e);for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)}}},{key:"reset",value:function(){this.registry=[]}},{key:"remove",value:function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)}},{key:"toString",value:function(e){return this.registry.filter(function(e){return e.attached}).map(function(t){return t.toString(e)}).join("\n")}},{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(304),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){return e&&e[i.default]&&e===e[i.default]()}},function(e,t,n){"use strict";function r(e,t){e.renderable=t,e.rules&&t.cssRules&&e.rules.link(t.cssRules)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(44),o=r(i),a=n(163),s=(r(a),n(308)),l=r(s);t.default=function(){var e=0;return function(t,n){(e+=1)>1e10&&(0,o.default)(!1,"[JSS] You might have a memory leak. Rule counter is at %s.",e);var r="c",i="";return n&&(r=n.options.classNamePrefix||"c",null!=n.options.jss.id&&(i+=n.options.jss.id)),""+r+l.default+i+e}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(161),l=r(s),u=n(60),c=r(u),d=function(){function e(t,n){var r=this;i(this,e),this.update=function(e,t){return"string"===typeof e?r.rules.update(e,t):r.rules.update(e),r},this.attached=!1,this.deployed=!1,this.linked=!1,this.classes={},this.options=o({},n,{sheet:this,parent:this,classes:this.classes}),this.renderer=new n.Renderer(this),this.rules=new c.default(this.options);for(var a in t)this.rules.add(a,t[a]);this.rules.process()}return a(e,[{key:"attach",value:function(){return this.attached?this:(this.deployed||this.deploy(),this.renderer.attach(),!this.linked&&this.options.link&&this.link(),this.attached=!0,this)}},{key:"detach",value:function(){return this.attached?(this.renderer.detach(),this.attached=!1,this):this}},{key:"addRule",value:function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)}},{key:"insertRule",value:function(e){var t=this.renderer.insertRule(e);t&&this.options.link&&(0,l.default)(e,t)}},{key:"addRules",value:function(e,t){var n=[];for(var r in e)n.push(this.addRule(r,e[r],t));return n}},{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"deleteRule",value:function(e){var t=this.rules.get(e);return!!t&&(this.rules.remove(t),!this.attached||!t.renderable||this.renderer.deleteRule(t.renderable))}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"deploy",value:function(){return this.renderer.deploy(),this.deployed=!0,this}},{key:"link",value:function(){var e=this.renderer.getRules();return e&&this.rules.link(e),this.linked=!0,this}},{key:"toString",value:function(e){return this.rules.toString(e)}}]),e}();t.default=d},function(e,t,n){"use strict";function r(e){return e in a?a[e]:a[e]=e.replace(i,"-$&").toLowerCase().replace(o,"-ms-")}var i=/[A-Z]/g,o=/^ms-/,a={};e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.jss="64a55d578f856d258dc345b094a2a2b3",t.sheetsRegistry="d4bd0baacbc52bbd48bbb9eb24344ecd",t.managers="b768b78919504fba9de2c03545c5cd3a",t.sheetOptions="6fc570d6bd61383819d0f9e7407c452d"},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component,e.noBase;return n?(0,o.default)({},t,Object.keys(n).reduce(function(e,r){return n[r]&&(e[r]="".concat(t[r]," ").concat(n[r])),e},{})):t}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=(i(n(13)),i(n(103)),r);t.default=a},function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.name;return n&&t.props&&t.props[n]?t.props[n]:{}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r;t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(351),o=r(i),a=n(369),s=r(a),l="function"===typeof s.default&&"symbol"===typeof o.default?function(e){return typeof e}:function(e){return e&&"function"===typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"===typeof s.default&&"symbol"===l(o.default)?function(e){return"undefined"===typeof e?"undefined":l(e)}:function(e){return e&&"function"===typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"===typeof e?"undefined":l(e)}},function(e,t,n){"use strict";var r=n(109),i=n(77),o=n(173),a=n(48),s=n(111),l=n(356),u=n(117),c=n(363),d=n(53)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,p,m,g,v){l(n,t,p);var y,b,w,E=function(e){if(!f&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},T=t+" Iterator",_="values"==m,k=!1,x=e.prototype,S=x[d]||x["@@iterator"]||m&&x[m],C=S||E(m),O=m?_?E("entries"):C:void 0,A="Array"==t?x.entries||S:S;if(A&&(w=c(A.call(new e)))!==Object.prototype&&w.next&&(u(w,T,!0),r||"function"==typeof w[d]||a(w,d,h)),_&&S&&"values"!==S.name&&(k=!0,C=function(){return S.call(this)}),r&&!v||!f&&!k&&x[d]||a(x,d,C),s[t]=C,s[T]=h,m)if(y={values:_?C:E("values"),keys:g?C:E("keys"),entries:O},v)for(b in y)b in x||o(x,b,y[b]);else i(i.P+i.F*(f||k),t,y);return y}},function(e,t,n){var r=n(355);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){e.exports=!n(51)&&!n(78)(function(){return 7!=Object.defineProperty(n(172)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(50),i=n(34).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){e.exports=n(48)},function(e,t,n){var r=n(37),i=n(52),o=n(359)(!1),a=n(114)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(174),i=n(116).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(120),i=n(79),o=n(52),a=n(110),s=n(37),l=n(171),u=Object.getOwnPropertyDescriptor;t.f=n(51)?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(387),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=function(e){return(0,i.default)("displayName",e)};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(388),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=function(e,t){return t+"("+(0,i.default)(e)+")"};t.default=o},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function i(e){function t(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}this.setState(t.bind(this))}function o(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof e.getDerivedStateFromProps&&"function"!==typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"===typeof t.componentWillMount?n="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?s="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var l=e.displayName||e.name,u="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=i),"function"===typeof t.getSnapshotBeforeUpdate){if("function"!==typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;c.call(this,e,t,r)}}return e}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"polyfill",function(){return a}),r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";function r(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!==typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0,t.transitionTimeout=r;var i=n(65),o=function(e){return e&&e.__esModule?e:{default:e}}(i);t.timeoutsShape=o.default.oneOfType([o.default.number,o.default.shape({enter:o.default.number,exit:o.default.number}).isRequired]),t.classNamesShape=o.default.oneOfType([o.default.string,o.default.shape({enter:o.default.string,exit:o.default.string,active:o.default.string}),o.default.shape({enter:o.default.string,enterDone:o.default.string,enterActive:o.default.string,exit:o.default.string,exitDone:o.default.string,exitActive:o.default.string})])},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(184))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(15))),h=r(n(185)),p=r(n(5)),m=r(n(187)),g=r(n(191)),v={vertical:"top",horizontal:"right"},y={vertical:"top",horizontal:"left"},b={paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}};t.styles=b;var w=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.menuListRef=null,n.getContentAnchorEl=function(){return n.menuListRef&&n.menuListRef.selectedItemRef?f.default.findDOMNode(n.menuListRef.selectedItemRef):f.default.findDOMNode(n.menuListRef).firstChild},n.focus=function(){if(n.menuListRef&&n.menuListRef.selectedItemRef)return void f.default.findDOMNode(n.menuListRef.selectedItemRef).focus();var e=f.default.findDOMNode(n.menuListRef);e&&e.firstChild&&e.firstChild.focus()},n.handleEnter=function(e){var t=n.props,r=t.disableAutoFocusItem,i=t.theme,o=f.default.findDOMNode(n.menuListRef);if(!0!==r&&n.focus(),o&&e.clientHeight<o.clientHeight&&!o.style.width){var a="".concat((0,h.default)(),"px");o.style["rtl"===i.direction?"paddingLeft":"paddingRight"]=a,o.style.width="calc(100% + ".concat(a,")")}n.props.onEnter&&n.props.onEnter(e)},n.handleListKeyDown=function(e,t){"tab"===t&&(e.preventDefault(),n.props.onClose&&n.props.onClose(e))},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.props.open&&!0!==this.props.disableAutoFocusItem&&this.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.classes,a=(t.disableAutoFocusItem,t.MenuListProps),s=(t.onEnter,t.PaperProps),l=void 0===s?{}:s,u=t.PopoverClasses,c=t.theme,f=(0,o.default)(t,["children","classes","disableAutoFocusItem","MenuListProps","onEnter","PaperProps","PopoverClasses","theme"]);return d.default.createElement(m.default,(0,i.default)({getContentAnchorEl:this.getContentAnchorEl,classes:u,onEnter:this.handleEnter,anchorOrigin:"rtl"===c.direction?v:y,transformOrigin:"rtl"===c.direction?v:y,PaperProps:(0,i.default)({},l,{classes:(0,i.default)({},l.classes,{root:r.paper})})},f),d.default.createElement(g.default,(0,i.default)({onKeyDown:this.handleListKeyDown},a,{ref:function(t){e.menuListRef=t}}),n))}}]),t}(d.default.Component);w.propTypes={},w.defaultProps={disableAutoFocusItem:!1,transitionDuration:"auto"};var E=(0,p.default)(b,{name:"MuiMenu",withTheme:!0})(w);t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((!o&&0!==o||e)&&i.default){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),o=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return o};var r=n(186),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=void 0;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=!("undefined"===typeof window||!window.document||!window.document.createElement),e.exports=t.default},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(404))},function(e,t,n){"use strict";function r(e,t){var n=-1;return e.some(function(e,r){return!!t(e)&&(n=r,!0)}),n}function i(e){return parseInt((0,c.default)(e,"paddingRight")||0,10)}function o(e,t){var n={overflow:"hidden"};if(e.style={overflow:t.style.overflow,paddingRight:t.style.paddingRight},e.overflowing){var r=(0,d.default)();n.paddingRight="".concat(i(t)+r,"px");for(var o=(0,f.default)(t).querySelectorAll(".mui-fixed"),a=0;a<o.length;a+=1){var s=i(o[a]);e.prevPaddings.push(s),o[a].style.paddingRight="".concat(s+r,"px")}}Object.keys(n).forEach(function(e){t.style[e]=n[e]})}function a(e,t){Object.keys(e.style).forEach(function(n){t.style[n]=e.style[n]});for(var n=(0,f.default)(t).querySelectorAll(".mui-fixed"),r=0;r<n.length;r+=1)n[r].style.paddingRight="".concat(e.prevPaddings[r],"px")}var s=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=s(n(8)),u=s(n(9)),c=s(n(408)),d=s(n(185)),f=s(n(30)),h=s(n(416)),p=n(418),m=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,l.default)(this,e);var n=t.hideSiblingNodes,r=void 0===n||n,i=t.handleContainerOverflow,o=void 0===i||i;this.hideSiblingNodes=r,this.handleContainerOverflow=o,this.modals=[],this.containers=[],this.data=[]}return(0,u.default)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),this.hideSiblingNodes&&(0,p.hideSiblings)(t,e.mountNode);var r=this.containers.indexOf(t);if(-1!==r)return this.data[r].modals.push(e),n;var i={modals:[e],overflowing:(0,h.default)(t),prevPaddings:[]};return this.handleContainerOverflow&&o(i,t),this.containers.push(t),this.data.push(i),n}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=r(this.data,function(t){return-1!==t.modals.indexOf(e)}),i=this.data[n],o=this.containers[n];return i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(t,1),0===i.modals.length?(this.handleContainerOverflow&&a(i,o),this.hideSiblingNodes&&(0,p.showSiblings)(o,e.mountNode),this.containers.splice(n,1),this.data.splice(n,1)):this.hideSiblingNodes&&(0,p.ariaHidden)(!1,i.modals[i.modals.length-1].mountNode),t}},{key:"isTopModal",value:function(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}}]),e}(),g=m;t.default=g},function(e,t,n){"use strict";function r(e){return(0,o.default)(e.replace(a,"ms-"))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(409),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=/^-ms-/;e.exports=t.default},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(419))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(422))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(423))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(425))},function(e,t,n){"use strict";function r(e){var t=e.alt,n=e.children,r=e.childrenClassName,i=e.classes,c=e.className,d=e.component,f=e.imgProps,h=e.sizes,p=e.src,m=e.srcSet,g=(0,s.default)(e,["alt","children","childrenClassName","classes","className","component","imgProps","sizes","src","srcSet"]),v=(0,u.default)(i.root,(0,a.default)({},i.colorDefault,n&&!p&&!m),c),y=null;if(p||m)y=l.default.createElement("img",(0,o.default)({alt:t,src:p,srcSet:m,sizes:h,className:i.img},f));else if(r&&l.default.isValidElement(n)){var b=(0,u.default)(r,n.props.className);y=l.default.cloneElement(n,{className:b})}else y=n;return l.default.createElement(d,(0,o.default)({className:v},g),y)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover"}}};t.styles=d,r.propTypes={},r.defaultProps={component:"div"};var f=(0,c.default)(d,{name:"MuiAvatar"})(r);t.default=f},function(e,t,n){"use strict";var r=n(62);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(465)),o=function(e){return(0,i.default)("displayName",e)},a=o;t.default=a},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(474))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(492))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(495))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(496))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(497))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(501))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(502))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(503))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(522))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(523))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(530))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.IconComponent,i=e.input,u=e.inputProps,c=(0,a.default)(e,["children","classes","IconComponent","input","inputProps"]);return s.default.cloneElement(i,(0,o.default)({inputComponent:l.default,inputProps:(0,o.default)({children:t,classes:n,IconComponent:r,type:void 0},u,i?i.props.inputProps:{})},c))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(208))),u=i(n(5)),c=i(n(209)),d=i(n(66)),f=function(e){return{root:{position:"relative",width:"100%"},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",paddingRight:32,width:"calc(100% - 32px)",minWidth:16,cursor:"pointer","&:focus":{background:"light"===e.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&:-moz-focusring":{color:"transparent",textShadow:"0 0 0 #000"},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"}},selectMenu:{width:"auto",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",minHeight:"1.1875em"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",color:e.palette.action.active,"pointer-events":"none"}}};t.styles=f,r.propTypes={},r.defaultProps={IconComponent:c.default,input:s.default.createElement(d.default,null)},r.muiName="NativeSelect";var h=(0,u.default)(f,{name:"MuiNativeSelect"})(r);t.default=h},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=e.disabled,c=e.IconComponent,d=e.inputRef,f=e.name,h=e.onChange,p=e.value,m=(0,s.default)(e,["children","classes","className","disabled","IconComponent","inputRef","name","onChange","value"]);return l.default.createElement("div",{className:n.root},l.default.createElement("select",(0,o.default)({className:(0,u.default)(n.select,(0,a.default)({},n.disabled,i),r),name:f,disabled:i,onChange:h,value:p,ref:d},m),t),l.default.createElement(c,{className:n.icon}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6)));r.propTypes={};var c=r;t.default=c},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M7 10l5 5 5-5z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(536))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(537))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(549))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(554))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(555))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(558))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(572))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(586))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(592))},function(e,t,n){"use strict";var r=n(76);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(106)),a=(0,o.default)(i.default.createElement("g",null,i.default.createElement("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})),"ExpandMore");t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.removeHash=t.goToAnchor=t.configureAnchors=t.goToTop=void 0;var i=n(223);Object.defineProperty(t,"goToAnchor",{enumerable:!0,get:function(){return i.updateHash}}),Object.defineProperty(t,"removeHash",{enumerable:!0,get:function(){return i.removeHash}});var o=n(611);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(o).default}});var a=n(224),s=r(a);t.goToTop=s.default.goToTop,t.configureAnchors=s.default.configure},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.getHash=function(){return decodeURI(window.location.hash.slice(1))},t.updateHash=function(e,t){t?window.location.hash=e:window.location.replace("#"+e)},t.removeHash=function(){history.replaceState("",document.title,window.location.pathname+window.location.search)}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(612),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=n(613),l=n(614),u=n(223),c={offset:0,scrollDuration:400,keepLastAnchorHash:!1},d=function e(){var t=this;r(this,e),this.addListeners=function(){window.addEventListener("scroll",t.scrollHandler,!1),window.addEventListener("hashchange",t.handleHashChange)},this.removeListeners=function(){window.removeEventListener("scroll",t.scrollHandler,!1),window.removeEventListener("hashchange",t.handleHashChange)},this.configure=function(e){t.config=i({},c,e)},this.goToTop=function(){0!==(0,l.getScrollTop)()&&(t.forcedHash=!0,window.scroll(0,0))},this.addAnchor=function(e,n){0===Object.keys(t.anchors).length&&t.addListeners(),t.forceHashUpdate(),t.anchors[e]=n},this.removeAnchor=function(e){delete t.anchors[e],0===Object.keys(t.anchors).length&&t.removeListeners()},this.handleScroll=function(){var e=t.config,n=e.offset,r=e.keepLastAnchorHash,i=(0,l.getBestAnchorGivenScrollLocation)(t.anchors,n);i&&(0,u.getHash)()!==i?(t.forcedHash=!0,(0,u.updateHash)(i,!1)):i||r||(0,u.removeHash)()},this.handleHashChange=function(e){t.forcedHash?t.forcedHash=!1:t.goToSection((0,u.getHash)())},this.goToSection=function(e){var n=t.anchors[e];n?(0,a.default)(n,{duration:t.config.scrollDuration,offset:t.config.offset}):(n=document.getElementById(e))&&(0,a.default)(n,{duration:0,offset:t.config.offset})},this.anchors={},this.forcedHash=!1,this.config=c,this.scrollHandler=(0,s.debounce)(this.handleScroll,100),this.forceHashUpdate=(0,s.debounce)(this.handleHashChange,1)};t.default=new d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n,r){return"in"in e&&(e.when=e.in),s.default.Children.count(r)<2?s.default.createElement(u.default,o({},e,{inEffect:t,outEffect:n,children:r})):(r=s.default.Children.map(r,function(r){return s.default.createElement(u.default,o({},e,{inEffect:t,outEffect:n,children:r}))}),"Fragment"in s.default?s.default.createElement(s.default.Fragment,null,r):s.default.createElement("span",null,r))}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=i;var a=n(1),s=r(a),l=n(616),u=r(l);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ViewportSizeType=t.ColumnSizeType=void 0;var r=n(2),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.ColumnSizeType=i.default.oneOfType([i.default.number,i.default.bool]),t.ViewportSizeType=i.default.oneOf(["xs","sm","md","lg","xl"])},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return o}),n.d(t,"d",function(){return a});var r={prefix:"fab",iconName:"facebook",icon:[448,512,[],"f09a","M448 56.7v398.5c0 13.7-11.1 24.7-24.7 24.7H309.1V306.5h58.2l8.7-67.6h-67v-43.2c0-19.6 5.4-32.9 33.5-32.9h35.8v-60.5c-6.2-.8-27.4-2.7-52.2-2.7-51.6 0-87 31.5-87 89.4v49.9h-58.4v67.6h58.4V480H24.7C11.1 480 0 468.9 0 455.3V56.7C0 43.1 11.1 32 24.7 32h398.5c13.7 0 24.8 11.1 24.8 24.7z"]},i={prefix:"fab",iconName:"github",icon:[496,512,[],"f09b","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]},o={prefix:"fab",iconName:"instagram",icon:[448,512,[],"f16d","M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]},a={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]}},function(e,t,n){function r(e,t,n){var r=u[t];if("undefined"===typeof r&&(r=o(t)),r){if(void 0===n)return e.style[r];e.style[r]=c(r,n)}}function i(e,t){for(var n in t)t.hasOwnProperty(n)&&r(e,n,t[n])}function o(e){var t=l(e),n=s(t);return u[t]=u[e]=u[n]=n,n}function a(){2===arguments.length?"string"===typeof arguments[1]?arguments[0].style.cssText=arguments[1]:i(arguments[0],arguments[1]):r(arguments[0],arguments[1],arguments[2])}var s=n(630),l=n(631),u={float:"cssFloat"},c=n(634);e.exports=a,e.exports.set=a,e.exports.get=function(e,t){return Array.isArray(t)?t.reduce(function(t,n){return t[n]=r(e,n||""),t},{}):r(e,t||"")}},function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var i=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,o=function(e){return i.exec(e).slice(1)};t.resolve=function(){for(var t="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,i="/"===a.charAt(0))}return t=n(r(t.split("/"),function(e){return!!e}),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){var i=t.isAbsolute(e),o="/"===a(e,-1);return e=n(r(e.split("/"),function(e){return!!e}),!i).join("/"),e||i||(e="."),e&&o&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l<a;l++)if(i[l]!==o[l]){s=l;break}for(var u=[],l=s;l<i.length;l++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){var t=o(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},t.basename=function(e,t){var n=o(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){return o(e)[3]};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(t,n(43))},function(e,t,n){"use strict";function r(e){function t(t){return e.apply(this,t)}function n(){return this instanceof n?e.apply(this,arguments):new t(arguments)}var r,a,s;o(n,e),o(t,n),r=n.prototype;for(a in r)(s=r[a])&&"object"===typeof s&&(r[a]="concat"in s?s.concat():i(s));return n}var i=n(24),o=n(659);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){function r(){function r(){i[e]=o}var i=n||this,o=i[e];return i[e]=!t,r}return r}e.exports=r},function(e,t){e.exports={AElig:"\xc6",AMP:"&",Aacute:"\xc1",Acirc:"\xc2",Agrave:"\xc0",Aring:"\xc5",Atilde:"\xc3",Auml:"\xc4",COPY:"\xa9",Ccedil:"\xc7",ETH:"\xd0",Eacute:"\xc9",Ecirc:"\xca",Egrave:"\xc8",Euml:"\xcb",GT:">",Iacute:"\xcd",Icirc:"\xce",Igrave:"\xcc",Iuml:"\xcf",LT:"<",Ntilde:"\xd1",Oacute:"\xd3",Ocirc:"\xd4",Ograve:"\xd2",Oslash:"\xd8",Otilde:"\xd5",Ouml:"\xd6",QUOT:'"',REG:"\xae",THORN:"\xde",Uacute:"\xda",Ucirc:"\xdb",Ugrave:"\xd9",Uuml:"\xdc",Yacute:"\xdd",aacute:"\xe1",acirc:"\xe2",acute:"\xb4",aelig:"\xe6",agrave:"\xe0",amp:"&",aring:"\xe5",atilde:"\xe3",auml:"\xe4",brvbar:"\xa6",ccedil:"\xe7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",ecirc:"\xea",egrave:"\xe8",eth:"\xf0",euml:"\xeb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",iacute:"\xed",icirc:"\xee",iexcl:"\xa1",igrave:"\xec",iquest:"\xbf",iuml:"\xef",laquo:"\xab",lt:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",oacute:"\xf3",ocirc:"\xf4",ograve:"\xf2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",otilde:"\xf5",ouml:"\xf6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',raquo:"\xbb",reg:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",times:"\xd7",uacute:"\xfa",ucirc:"\xfb",ugrave:"\xf9",uml:"\xa8",uuml:"\xfc",yacute:"\xfd",yen:"\xa5",yuml:"\xff"}},function(e,t,n){"use strict";function r(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}e.exports=r},function(e,t,n){"use strict";function r(e){return i(e)||o(e)}var i=n(235),o=n(68);e.exports=r},function(e,t,n){"use strict";function r(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}e.exports=r},function(e,t,n){"use strict";function r(e){var t=e||{};return t.commonmark?a:t.gfm?o:i}e.exports=r;var i=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],o=i.concat(["~","|"]),a=o.concat(["\n",'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);r.default=i,r.gfm=o,r.commonmark=a},function(e,t,n){"use strict";e.exports={position:!0,gfm:!0,commonmark:!1,footnotes:!1,pedantic:!1,blocks:n(668)}},function(e,t,n){"use strict";function r(e,t,n,o,a){var s=null!==o&&void 0!==o,l=null!==n&&void 0!==n,u=i(e);if(l&&("number"!==typeof n||n<0||n===1/0))throw new Error("Expected positive finite index or child node");if(s&&(!r(null,o)||!o.children))throw new Error("Expected parent node");if(!t||!t.type||"string"!==typeof t.type)return!1;if(s!==l)throw new Error("Expected both parent and index");return Boolean(u.call(a,t,n,o))}function i(e){if("string"===typeof e)return l(e);if(null===e||void 0===e)return u;if("object"===typeof e)return("length"in e?s:a)(e);if("function"===typeof e)return e;throw new Error("Expected function, string, or object as test")}function o(e){for(var t=[],n=e.length,r=-1;++r<n;)t[r]=i(e[r]);return t}function a(e){function t(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}return t}function s(e){function t(){for(var e=-1;++e<r;)if(n[e].apply(this,arguments))return!0;return!1}var n=o(e),r=n.length;return t}function l(e){function t(t){return Boolean(t&&t.type===e)}return t}function u(){return!0}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n=0,r=0,o=e.charAt(n),a={};o in i;)t=i[o],r+=t,t>1&&(r=Math.floor(r/t)*t),a[r]=n,o=e.charAt(++n);return{indent:r,stops:a}}e.exports=r;var i={" ":1,"\t":4}},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.openCloseTag=new RegExp("^(?:"+r+"|"+i+")"),t.tag=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Za-z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)")},function(e,t,n){"use strict";function r(e){return String(e).replace(/\s+/g," ")}e.exports=r},function(e,t,n){"use strict";function r(e,t){return e.indexOf("<",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);return-1===r?n:n<r?n:r}e.exports=r},function(e,t,n){"use strict";function r(e){return e}e.exports=r},function(e,t,n){"use strict";function r(e){return e.length}e.exports={gfm:!0,commonmark:!1,pedantic:!1,entities:"false",setext:!1,closeAtx:!1,looseTable:!1,spacedTable:!0,paddedTable:!0,stringLength:r,incrementListMarker:!0,fences:!1,fence:"`",bullet:"-",listItemIndent:"tab",rule:"*",ruleSpaces:!0,ruleRepetition:3,strong:"*",emphasis:"_"}},function(e,t,n){"use strict";function r(e){var t;return"&"!==e.charAt(0)?0:(t=e.split("&",2).join("&"),t.length-i(t).length)}var i=n(88);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n,r;for(e=e.split("\n"),n=e.length,r=i(" ",t*o);n--;)0!==e[n].length&&(e[n]=r+e[n]);return e.join("\n")}var i=n(22);e.exports=r;var o=4},function(e,t,n){"use strict";function r(e,t){var n,r,i=0,o=0;if("string"!==typeof t||1!==t.length)throw new Error("Expected character");for(e=String(e),r=e.indexOf(t),n=r;-1!==r;)i++,r===n?i>o&&(o=i):i=1,n=r+1,r=e.indexOf(t,n);return o}e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.referenceType,n="full"===t?e.identifier:"";return"shortcut"===t?n:"["+n+"]"}e.exports=r},function(e,t,n){"use strict";function r(e){function t(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:isNaN(n.offset)?null:n.offset}}return t.displayName=e,t}var i=t;i.start=r("start"),i.end=r("end")},function(e,t,n){"use strict";function r(e,t){return o(t)?e.augment(t,a("text",t.value)):e(t,"div",s(e,t))}function i(e,t,n){var i=t&&t.type,o=l.call(e.handlers,i)?e.handlers[i]:null;if(!i)throw new Error("Expected node, got `"+t+"`");return("function"===typeof o?o:r)(e,t,n)}function o(e){var t=e.data||{};return!(l.call(t,"hName")||l.call(t,"hProperties")||l.call(t,"hChildren"))&&"value"in e}e.exports=i;var a=n(23),s=n(17),l={}.hasOwnProperty},function(e,t,n){"use strict";function r(e,t){return e(t,"hr")}e.exports=r},function(e,t,n){"use strict";function r(e,t){var n={},r=t.ordered?"ol":"ul";return"number"===typeof t.start&&1!==t.start&&(n.start=t.start),e(t,r,n,i(o(e,t),!0))}e.exports=r;var i=n(57),o=n(17)},function(e,t,n){"use strict";function r(e,t){var n=t.identifier;return e(t.position,"sup",{id:"fnref-"+n},[e(t,"a",{href:"#fn-"+n,className:["footnote-ref"]},[i("text",n)])])}e.exports=r;var i=n(23)},function(e,t,n){"use strict";function r(e,t,n){var r=t.referenceType;if("collapsed"!==r&&"full"!==r&&!n)return"imageReference"===t.type?i("text","!["+t.alt+"]"):[i("text","[")].concat(o(e,t),i("text","]"))}e.exports=r;var i=n(23),o=n(17)},function(e,t,n){"use strict";var r=n(787),i=n(789),o="function"===typeof Symbol&&"symbol"===typeof Symbol(),a=Object.prototype.toString,s=function(e){return"function"===typeof e&&"[object Function]"===a.call(e)},l=Object.defineProperty&&function(){var e={};try{Object.defineProperty(e,"x",{enumerable:!1,value:e});for(var t in e)return!1;return e.x===e}catch(e){return!1}}(),u=function(e,t,n,r){(!(t in e)||s(r)&&r())&&(l?Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},c=function(e,t){var n=arguments.length>2?arguments[2]:{},a=r(t);o&&(a=a.concat(Object.getOwnPropertySymbols(t))),i(a,function(r){u(e,r,t[r],n[r])})};c.supportsDescriptors=!!l,e.exports=c},function(e,t,n){"use strict";e.exports=function(e){return e!==e}},function(e,t,n){"use strict";var r=n(257);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}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")}}(),i=n(143),o=n(260),a={create:function(e){return(0,i.mapObj)(e,function(e){var t=r(e,2),n=t[0],o=t[1];return[n,{_name:n+"_"+(0,i.hashObject)(o),_definition:o}]})},rehydrate:function(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];(0,o.addRenderedClassNames)(e)}},s={renderStatic:function(e){return(0,o.reset)(),(0,o.startBuffering)(),{html:e(),css:{content:(0,o.flushToString)(),renderedClassNames:(0,o.getRenderedClassNames)()}}}},l={suppressStyleInjection:function(){(0,o.reset)(),(0,o.startBuffering)()},clearBufferAndResumeStyleInjection:function(){(0,o.reset)()}},u=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.injectAndGetClassName)(!0,t)};t.default={StyleSheet:a,StyleSheetServer:s,StyleSheetTestUtils:l,css:u},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(801),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=n(802),a=n(143),s=null,l=function(e){if(null==s&&null==(s=document.querySelector("style[data-aphrodite]"))){var t=document.head||document.getElementsByTagName("head")[0];s=document.createElement("style"),s.type="text/css",s.setAttribute("data-aphrodite",""),t.appendChild(s)}s.styleSheet?s.styleSheet.cssText+=e:s.appendChild(document.createTextNode(e))},u={fontFamily:function e(t){return Array.isArray(t)?t.map(e).join(","):"object"===typeof t?(p(t.fontFamily,"@font-face",[t],!1),'"'+t.fontFamily+'"'):t},animationName:function(e){if("object"!==typeof e)return e;var t="keyframe_"+(0,a.hashObject)(e),n="@keyframes "+t+"{";return Object.keys(e).forEach(function(t){n+=(0,o.generateCSS)(t,[e[t]],u,!1)}),n+="}",h(t,n),t}},c={},d="",f=!1,h=function(e,t){if(!c[e]){if(!f){if("undefined"===typeof document)throw new Error("Cannot automatically buffer without a document");f=!0,(0,i.default)(y)}d+=t,c[e]=!0}},p=function(e,t,n,r){if(!c[e]){var i=(0,o.generateCSS)(t,n,u,r);h(e,i)}};t.injectStyleOnce=p;var m=function(){d="",c={},f=!1,s=null};t.reset=m;var g=function(){if(f)throw new Error("Cannot buffer while already buffering");f=!0};t.startBuffering=g;var v=function(){f=!1;var e=d;return d="",e};t.flushToString=v;var y=function(){var e=v();e.length>0&&l(e)};t.flushToStyleTag=y;var b=function(){return Object.keys(c)};t.getRenderedClassNames=b;var w=function(e){e.forEach(function(e){c[e]=!0})};t.addRenderedClassNames=w;var E=function(e,t){var n=t.filter(function(e){return e});if(0===n.length)return"";var r=n.map(function(e){return e._name}).join("-o_O-");return p(r,"."+r,n.map(function(e){return e._definition}),e),r};t.injectAndGetClassName=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={Webkit:{transform:!0,transformOrigin:!0,transformOriginX:!0,transformOriginY:!0,backfaceVisibility:!0,perspective:!0,perspectiveOrigin:!0,transformStyle:!0,transformOriginZ:!0,animation:!0,animationDelay:!0,animationDirection:!0,animationFillMode:!0,animationDuration:!0,animationIterationCount:!0,animationName:!0,animationPlayState:!0,animationTimingFunction:!0,appearance:!0,userSelect:!0,fontKerning:!0,textEmphasisPosition:!0,textEmphasis:!0,textEmphasisStyle:!0,textEmphasisColor:!0,boxDecorationBreak:!0,clipPath:!0,maskImage:!0,maskMode:!0,maskRepeat:!0,maskPosition:!0,maskClip:!0,maskOrigin:!0,maskSize:!0,maskComposite:!0,mask:!0,maskBorderSource:!0,maskBorderMode:!0,maskBorderSlice:!0,maskBorderWidth:!0,maskBorderOutset:!0,maskBorderRepeat:!0,maskBorder:!0,maskType:!0,textDecorationStyle:!0,textDecorationSkip:!0,textDecorationLine:!0,textDecorationColor:!0,filter:!0,fontFeatureSettings:!0,breakAfter:!0,breakBefore:!0,breakInside:!0,columnCount:!0,columnFill:!0,columnGap:!0,columnRule:!0,columnRuleColor:!0,columnRuleStyle:!0,columnRuleWidth:!0,columns:!0,columnSpan:!0,columnWidth:!0,flex:!0,flexBasis:!0,flexDirection:!0,flexGrow:!0,flexFlow:!0,flexShrink:!0,flexWrap:!0,alignContent:!0,alignItems:!0,alignSelf:!0,justifyContent:!0,order:!0,transition:!0,transitionDelay:!0,transitionDuration:!0,transitionProperty:!0,transitionTimingFunction:!0,backdropFilter:!0,scrollSnapType:!0,scrollSnapPointsX:!0,scrollSnapPointsY:!0,scrollSnapDestination:!0,scrollSnapCoordinate:!0,shapeImageThreshold:!0,shapeImageMargin:!0,shapeImageOutside:!0,hyphens:!0,flowInto:!0,flowFrom:!0,regionFragment:!0,textSizeAdjust:!0},Moz:{appearance:!0,userSelect:!0,boxSizing:!0,textAlignLast:!0,textDecorationStyle:!0,textDecorationSkip:!0,textDecorationLine:!0,textDecorationColor:!0,tabSize:!0,hyphens:!0,fontFeatureSettings:!0,breakAfter:!0,breakBefore:!0,breakInside:!0,columnCount:!0,columnFill:!0,columnGap:!0,columnRule:!0,columnRuleColor:!0,columnRuleStyle:!0,columnRuleWidth:!0,columns:!0,columnSpan:!0,columnWidth:!0},ms:{flex:!0,flexBasis:!1,flexDirection:!0,flexGrow:!1,flexFlow:!0,flexShrink:!1,flexWrap:!0,alignContent:!1,alignItems:!1,alignSelf:!1,justifyContent:!1,order:!1,transform:!0,transformOrigin:!0,transformOriginX:!0,transformOriginY:!0,userSelect:!0,wrapFlow:!0,wrapThrough:!0,wrapMargin:!0,scrollSnapType:!0,scrollSnapPointsX:!0,scrollSnapPointsY:!0,scrollSnapDestination:!0,scrollSnapCoordinate:!0,touchAction:!0,hyphens:!0,flowInto:!0,flowFrom:!0,breakBefore:!0,breakAfter:!0,breakInside:!0,regionFragment:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridTemplate:!0,gridAutoColumns:!0,gridAutoRows:!0,gridAutoFlow:!0,grid:!0,gridRowStart:!0,gridColumnStart:!0,gridRowEnd:!0,gridRow:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridRowGap:!0,gridArea:!0,gridGap:!0,textSizeAdjust:!0}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e.exports=t.default},function(e,t,n){var r;!function(){"use strict";var i=!("undefined"===typeof window||!window.document||!window.document.createElement),o={canUseDOM:i,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0!==(r=function(){return o}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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.defaultProps=void 0;var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(1),l=(function(e){e&&e.__esModule}(s),t.defaultProps={attributes:{},styles:{}}),u=function(e){function t(){var e,n,o,a;r(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=o=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.originalAttributes={},o.originalStyles={},a=n,i(o,a)}return o(t,e),a(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.styles,i=t.target,o=void 0===i?document.body:i;o&&(this.attributeKeys=Object.keys(n),this.styleKeys=Object.keys(r),this.styleKeys.length&&this.styleKeys.forEach(function(t){e.originalStyles[t]=o.style.getPropertyValue(t),o.style.setProperty(t,r[t])}),this.attributeKeys.length&&this.attributeKeys.forEach(function(t){e.originalAttributes[t]=o.getAttribute(t)||"",o.setAttribute(t,n[t])}))}},{key:"componentWillUnmount",value:function(){var e=this,t=this.props.target,n=void 0===t?document.body:t;n&&(this.styleKeys.length&&this.styleKeys.forEach(function(t){n.style.setProperty(t,e.originalStyles[t])}),this.attributeKeys.length&&this.attributeKeys.forEach(function(t){e.originalAttributes[t]?n.setAttribute(t,e.originalAttributes[t]):n.removeAttribute(t)}))}},{key:"render",value:function(){return null}}]),t}(s.PureComponent);u.defaultProps=l,t.default=u},function(e,t,n){"use strict";function r(e){e.preventDefault()}function i(e){e.stopPropagation()}function o(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function a(){return!!window&&("ontouchstart"in window||navigator.maxTouchPoints)}function s(){if(!document||!window)return 0;var e=parseInt(document.body.paddingRight,10)||0,t=document.body?document.body.clientWidth:0;return window.innerWidth-t+e||0}function l(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if(window&&window.innerHeight)return window.innerHeight*e}function c(){if(document&&document.body)return document.body.clientHeight}function d(e){return isNaN(e)?e:e+"px"}Object.defineProperty(t,"__esModule",{value:!0}),t.preventTouchMove=r,t.allowTouchMove=i,t.preventInertiaScroll=o,t.isTouchDevice=a,t.getPadding=s,t.camelToKebab=l,t.getWindowHeight=u,t.getDocumentHeight=c,t.parse=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=t.theme,r=e.direction,o=e.icon,s=e.onClick,l=e.size,u=i(e,["direction","icon","onClick","size"]),f=d.StyleSheet.create((0,m.default)(y,n));return c.default.createElement("button",a({type:"button",className:(0,d.css)(f.arrow,f["arrow__direction__"+r],l&&f["arrow__size__"+l]),onClick:s,onTouchEnd:s},u),c.default.createElement(v.default,{fill:!!n.arrow&&n.arrow.fill||h.default.arrow.fill,type:o}))}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(2),l=r(s),u=n(1),c=r(u),d=n(42),f=n(41),h=r(f),p=n(58),m=r(p),g=n(267),v=r(g);o.propTypes={direction:l.default.oneOf(["left","right"]),icon:l.default.string,onClick:l.default.func.isRequired,size:l.default.oneOf(["medium","small"]).isRequired},o.defaultProps={size:"medium"},o.contextTypes={theme:l.default.object.isRequired};var y={arrow:{background:"none",border:"none",borderRadius:4,cursor:"pointer",outline:"none",padding:10,position:"absolute",top:"50%",WebkitTouchCallout:"none",userSelect:"none"},arrow__size__medium:{height:h.default.arrow.height,marginTop:h.default.arrow.height/-2,width:40,"@media (min-width: 768px)":{width:70}},arrow__size__small:{height:h.default.thumbnail.size,marginTop:h.default.thumbnail.size/-2,width:30,"@media (min-width: 500px)":{width:40}},arrow__direction__right:{right:h.default.container.gutter.horizontal},arrow__direction__left:{left:h.default.container.gutter.horizontal}};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(2),s=r(a),l=n(1),u=r(l),c=n(822),d=r(c),f=n(823),h=r(f),p=n(824),m=r(p),g={arrowLeft:d.default,arrowRight:h.default,close:m.default},v=function(e){var t=e.fill,n=e.type,r=i(e,["fill","type"]),a=g[n];return u.default.createElement("span",o({dangerouslySetInnerHTML:{__html:a(t)}},r))};v.propTypes={fill:s.default.string,type:s.default.oneOf(Object.keys(g))},v.defaultProps={fill:"white"},t.default=v},function(e,t,n){n(269),e.exports=n(273)},function(e,t,n){"use strict";"undefined"===typeof Promise&&(n(270).enable(),window.Promise=n(271)),n(272),Object.assign=n(70)},function(e,t,n){"use strict";function r(){u=!1,s._47=null,s._71=null}function i(e){function t(t){(e.allRejections||a(d[t].error,e.whitelist||l))&&(d[t].displayId=c++,e.onUnhandled?(d[t].logged=!0,e.onUnhandled(d[t].displayId,d[t].error)):(d[t].logged=!0,o(d[t].displayId,d[t].error)))}function n(t){d[t].logged&&(e.onHandled?e.onHandled(d[t].displayId,d[t].error):d[t].onUnhandled||(console.warn("Promise Rejection Handled (id: "+d[t].displayId+"):"),console.warn(' This means you can ignore any previous messages of the form "Possible Unhandled Promise Rejection" with id '+d[t].displayId+".")))}e=e||{},u&&r(),u=!0;var i=0,c=0,d={};s._47=function(e){2===e._83&&d[e._56]&&(d[e._56].logged?n(e._56):clearTimeout(d[e._56].timeout),delete d[e._56])},s._71=function(e,n){0===e._75&&(e._56=i++,d[e._56]={displayId:null,error:n,timeout:setTimeout(t.bind(null,e._56),a(n,l)?100:2e3),logged:!1})}}function o(e,t){console.warn("Possible Unhandled Promise Rejection (id: "+e+"):"),((t&&(t.stack||t))+"").split("\n").forEach(function(e){console.warn(" "+e)})}function a(e,t){return t.some(function(t){return e instanceof t})}var s=n(145),l=[ReferenceError,TypeError,RangeError],u=!1;t.disable=r,t.enable=i},function(e,t,n){"use strict";function r(e){var t=new i(i._44);return t._83=1,t._18=e,t}var i=n(145);e.exports=i;var o=r(!0),a=r(!1),s=r(null),l=r(void 0),u=r(0),c=r("");i.resolve=function(e){if(e instanceof i)return e;if(null===e)return s;if(void 0===e)return l;if(!0===e)return o;if(!1===e)return a;if(0===e)return u;if(""===e)return c;if("object"===typeof e||"function"===typeof e)try{var t=e.then;if("function"===typeof t)return new i(t.bind(e))}catch(e){return new i(function(t,n){n(e)})}return r(e)},i.all=function(e){var t=Array.prototype.slice.call(e);return new i(function(e,n){function r(a,s){if(s&&("object"===typeof s||"function"===typeof s)){if(s instanceof i&&s.then===i.prototype.then){for(;3===s._83;)s=s._18;return 1===s._83?r(a,s._18):(2===s._83&&n(s._18),void s.then(function(e){r(a,e)},n))}var l=s.then;if("function"===typeof l){return void new i(l.bind(s)).then(function(e){r(a,e)},n)}}t[a]=s,0===--o&&e(t)}if(0===t.length)return e([]);for(var o=t.length,a=0;a<t.length;a++)r(a,t[a])})},i.reject=function(e){return new i(function(t,n){n(e)})},i.race=function(e){return new i(function(t,n){e.forEach(function(e){i.resolve(e).then(t,n)})})},i.prototype.catch=function(e){return this.then(null,e)}},function(e,t){!function(e){"use strict";function t(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!==typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return v.iterable&&(t[Symbol.iterator]=function(){return t}),t}function i(e){this.map={},e instanceof i?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function o(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function a(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function s(e){var t=new FileReader,n=a(t);return t.readAsArrayBuffer(e),n}function l(e){var t=new FileReader,n=a(t);return t.readAsText(e),n}function u(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function c(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"===typeof e)this._bodyText=e;else if(v.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(v.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(v.arrayBuffer&&v.blob&&b(e))this._bodyArrayBuffer=c(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!v.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!w(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=c(e)}else this._bodyText="";this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},v.blob&&(this.blob=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?o(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(s)}),this.text=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return l(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(u(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},v.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(e){var t=e.toUpperCase();return E.indexOf(t)>-1?t:e}function h(e,t){t=t||{};var n=t.body;if(e instanceof h){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new i(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new i(t.headers)),this.method=f(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function m(e){var t=new i;return e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t}function g(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new i(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var v={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(v.arrayBuffer)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(e){return e&&DataView.prototype.isPrototypeOf(e)},w=ArrayBuffer.isView||function(e){return e&&y.indexOf(Object.prototype.toString.call(e))>-1};i.prototype.append=function(e,r){e=t(e),r=n(r);var i=this.map[e];this.map[e]=i?i+","+r:r},i.prototype.delete=function(e){delete this.map[t(e)]},i.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},i.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},i.prototype.set=function(e,r){this.map[t(e)]=n(r)},i.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},i.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},i.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},i.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},v.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries);var E=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];h.prototype.clone=function(){return new h(this,{body:this._bodyInit})},d.call(h.prototype),d.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},g.error=function(){var e=new g(null,{status:0,statusText:""});return e.type="error",e};var T=[301,302,303,307,308];g.redirect=function(e,t){if(-1===T.indexOf(t))throw new RangeError("Invalid status code");return new g(null,{status:t,headers:{location:e}})},e.Headers=i,e.Request=h,e.Response=g,e.fetch=function(e,t){return new Promise(function(n,r){var i=new h(e,t),o=new XMLHttpRequest;o.onload=function(){var e={status:o.status,statusText:o.statusText,headers:m(o.getAllResponseHeaders()||"")};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var t="response"in o?o.response:o.responseText;n(new g(t,e))},o.onerror=function(){r(new TypeError("Network request failed"))},o.ontimeout=function(){r(new TypeError("Network request failed"))},o.open(i.method,i.url,!0),"include"===i.credentials&&(o.withCredentials=!0),"responseType"in o&&v.blob&&(o.responseType="blob"),i.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send("undefined"===typeof i._bodyInit?null:i._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!==typeof self?self:this)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n.n(r),o=n(15),a=n.n(o),s=n(148),l=n.n(s),u=n(285),c=(n.n(u),n(286)),d=n(856),f=(n.n(d),Object(d.detect)()),h=function(e){alert(e.toUpperCase()+" is not entirely supported by Team Washington's Team Wiki. For best performance please use Firefox or Google Chrome! \n \nYou may continue to use the site, but please note that there will be bugs and poor performance. Sorry for any inconvenience, and thank you!")};switch(document.title="Washington iGEM",f&&f.name){case"edge":case"ie":h(f.name)}var p={apiKey:"AIzaSyDCQF40jxKpF8So-kbj_uqtYKBnlGHVReA",authDomain:"wiki2018-987d7.firebaseapp.com",databaseURL:"https://wiki2018-987d7.firebaseio.com",projectId:"wiki2018-987d7",storageBucket:"wiki2018-987d7.appspot.com",messagingSenderId:"158742751002"};l.a.initializeApp(p),window.W_IGEM_VERSION="1.0.5",a.a.render(i.a.createElement(c.a,null),document.getElementById("root"))},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);y(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function i(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||R}function o(){}function a(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||R}function s(e,t,n){var r=void 0,i={},o=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(o=""+t.key),t)D.call(t,r)&&!L.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===i[r]&&(i[r]=s[r]);return{$$typeof:T,type:e,key:o,ref:a,props:i,_owner:M.current}}function l(e){return"object"===typeof e&&null!==e&&e.$$typeof===T}function u(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function c(e,t,n,r){if(W.length){var i=W.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function d(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>W.length&&W.push(e)}function f(e,t,n,i){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var a=!1;if(null===e)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case T:case _:a=!0}}if(a)return n(i,e,""===t?"."+h(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var s=0;s<e.length;s++){o=e[s];var l=t+h(o,s);a+=f(o,l,n,i)}else if(null===e||"undefined"===typeof e?l=null:(l=I&&e[I]||e["@@iterator"],l="function"===typeof l?l:null),"function"===typeof l)for(e=l.call(e),s=0;!(o=e.next()).done;)o=o.value,l=t+h(o,s++),a+=f(o,l,n,i);else"object"===o&&(n=""+e,r("31","[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return a}function h(e,t){return"object"===typeof e&&null!==e&&null!=e.key?u(e.key):t.toString(36)}function p(e,t){e.func.call(e.context,t,e.count++)}function m(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?g(e,r,n,w.thatReturnsArgument):null!=e&&(l(e)&&(t=i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+n,e={$$typeof:T,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),r.push(e))}function g(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(j,"$&/")+"/"),t=c(t,o,r,i),null==e||f(e,"",m,t),d(t)}var v=n(70),y=n(92),b=n(147),w=n(93),E="function"===typeof Symbol&&Symbol.for,T=E?Symbol.for("react.element"):60103,_=E?Symbol.for("react.portal"):60106,k=E?Symbol.for("react.fragment"):60107,x=E?Symbol.for("react.strict_mode"):60108,S=E?Symbol.for("react.profiler"):60114,C=E?Symbol.for("react.provider"):60109,O=E?Symbol.for("react.context"):60110,A=E?Symbol.for("react.async_mode"):60111,P=E?Symbol.for("react.forward_ref"):60112;E&&Symbol.for("react.timeout");var I="function"===typeof Symbol&&Symbol.iterator,R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};i.prototype.isReactComponent={},i.prototype.setState=function(e,t){"object"!==typeof e&&"function"!==typeof e&&null!=e&&r("85"),this.updater.enqueueSetState(this,e,t,"setState")},i.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=i.prototype;var N=a.prototype=new o;N.constructor=a,v(N,i.prototype),N.isPureReactComponent=!0;var M={current:null},D=Object.prototype.hasOwnProperty,L={key:!0,ref:!0,__self:!0,__source:!0},j=/\/+/g,W=[],B={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return g(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;t=c(null,null,t,n),null==e||f(e,"",p,t),d(t)},count:function(e){return null==e?0:f(e,"",w.thatReturnsNull,null)},toArray:function(e){var t=[];return g(e,t,null,w.thatReturnsArgument),t},only:function(e){return l(e)||r("143"),e}},createRef:function(){return{current:null}},Component:i,PureComponent:a,createContext:function(e,t){return void 0===t&&(t=null),e={$$typeof:O,_calculateChangedBits:t,_defaultValue:e,_currentValue:e,_currentValue2:e,_changedBits:0,_changedBits2:0,Provider:null,Consumer:null},e.Provider={$$typeof:C,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:P,render:e}},Fragment:k,StrictMode:x,unstable_AsyncMode:A,unstable_Profiler:S,createElement:s,cloneElement:function(e,t,n){(null===e||void 0===e)&&r("267",e);var i=void 0,o=v({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(s=t.ref,l=M.current),void 0!==t.key&&(a=""+t.key);var u=void 0;e.type&&e.type.defaultProps&&(u=e.type.defaultProps);for(i in t)D.call(t,i)&&!L.hasOwnProperty(i)&&(o[i]=void 0===t[i]&&void 0!==u?u[i]:t[i])}if(1===(i=arguments.length-2))o.children=n;else if(1<i){u=Array(i);for(var c=0;c<i;c++)u[c]=arguments[c+2];o.children=u}return{$$typeof:T,type:e.type,key:a,ref:s,props:o,_owner:l}},createFactory:function(e){var t=s.bind(null,e);return t.type=e,t},isValidElement:l,version:"16.4.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:M,assign:v}},F={default:B},z=F&&B||F;e.exports=z.default?z.default:z},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);Mr(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function i(e,t,n,r,i,o,a,s,l){this._hasCaughtError=!1,this._caughtError=null;var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this._caughtError=e,this._hasCaughtError=!0}}function o(){if(Hr._hasRethrowError){var e=Hr._rethrowError;throw Hr._rethrowError=null,Hr._hasRethrowError=!1,e}}function a(){if(Gr)for(var e in qr){var t=qr[e],n=Gr.indexOf(e);if(-1<n||r("96",e),!Vr[n]){t.extractEvents||r("97",e),Vr[n]=t,n=t.eventTypes;for(var i in n){var o=void 0,a=n[i],l=t,u=i;Kr.hasOwnProperty(u)&&r("99",u),Kr[u]=a;var c=a.phasedRegistrationNames;if(c){for(o in c)c.hasOwnProperty(o)&&s(c[o],l,u);o=!0}else a.registrationName?(s(a.registrationName,l,u),o=!0):o=!1;o||r("98",i,e)}}}}function s(e,t,n){Yr[e]&&r("100",e),Yr[e]=t,Zr[e]=t.eventTypes[n].dependencies}function l(e){Gr&&r("101"),Gr=Array.prototype.slice.call(e),a()}function u(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var i=e[t];qr.hasOwnProperty(t)&&qr[t]===i||(qr[t]&&r("102",t),qr[t]=i,n=!0)}n&&a()}function c(e,t,n,r){t=e.type||"unknown-event",e.currentTarget=Jr(r),Hr.invokeGuardedCallbackAndCatchFirstError(t,n,void 0,e),e.currentTarget=null}function d(e,t){return null==t&&r("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function f(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function h(e,t){if(e){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var i=0;i<n.length&&!e.isPropagationStopped();i++)c(e,t,n[i],r[i]);else n&&c(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function p(e){return h(e,!0)}function m(e){return h(e,!1)}function g(e,t){var n=e.stateNode;if(!n)return null;var i=Qr(n);if(!i)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(i=!i.disabled)||(e=e.type,i=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!i;break e;default:e=!1}return e?null:(n&&"function"!==typeof n&&r("231",t,typeof n),n)}function v(e,t){null!==e&&(ei=d(ei,e)),e=ei,ei=null,e&&(t?f(e,p):f(e,m),ei&&r("95"),Hr.rethrowCaughtError())}function y(e,t,n,r){for(var i=null,o=0;o<Vr.length;o++){var a=Vr[o];a&&(a=a.extractEvents(e,t,n,r))&&(i=d(i,a))}v(i,!1)}function b(e){if(e[ii])return e[ii];for(;!e[ii];){if(!e.parentNode)return null;e=e.parentNode}return e=e[ii],5===e.tag||6===e.tag?e:null}function w(e){if(5===e.tag||6===e.tag)return e.stateNode;r("33")}function E(e){return e[oi]||null}function T(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function _(e,t,n){for(var r=[];e;)r.push(e),e=T(e);for(e=r.length;0<e--;)t(r[e],"captured",n);for(e=0;e<r.length;e++)t(r[e],"bubbled",n)}function k(e,t,n){(t=g(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=d(n._dispatchListeners,t),n._dispatchInstances=d(n._dispatchInstances,e))}function x(e){e&&e.dispatchConfig.phasedRegistrationNames&&_(e._targetInst,k,e)}function S(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst;t=t?T(t):null,_(t,k,e)}}function C(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=g(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=d(n._dispatchListeners,t),n._dispatchInstances=d(n._dispatchInstances,e))}function O(e){e&&e.dispatchConfig.registrationName&&C(e._targetInst,null,e)}function A(e){f(e,x)}function P(e,t,n,r){if(n&&r)e:{for(var i=n,o=r,a=0,s=i;s;s=T(s))a++;s=0;for(var l=o;l;l=T(l))s++;for(;0<a-s;)i=T(i),a--;for(;0<s-a;)o=T(o),s--;for(;a--;){if(i===o||i===o.alternate)break e;i=T(i),o=T(o)}i=null}else i=null;for(o=i,i=[];n&&n!==o&&(null===(a=n.alternate)||a!==o);)i.push(n),n=T(n);for(n=[];r&&r!==o&&(null===(a=r.alternate)||a!==o);)n.push(r),r=T(r);for(r=0;r<i.length;r++)C(i[r],"bubbled",e);for(e=n.length;0<e--;)C(n[e],"captured",t)}function I(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function R(e){if(ui[e])return ui[e];if(!li[e])return e;var t,n=li[e];for(t in n)if(n.hasOwnProperty(t)&&t in ci)return ui[e]=n[t];return e}function N(){return!gi&&Lr.canUseDOM&&(gi="textContent"in document.documentElement?"textContent":"innerText"),gi}function M(){if(vi._fallbackText)return vi._fallbackText;var e,t,n=vi._startText,r=n.length,i=D(),o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return vi._fallbackText=i.slice(e,1<t?1-t:void 0),vi._fallbackText}function D(){return"value"in vi._root?vi._root.value:vi._root[N()]}function L(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface;for(var i in e)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Wr.thatReturnsTrue:Wr.thatReturnsFalse,this.isPropagationStopped=Wr.thatReturnsFalse,this}function j(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function W(e){e instanceof this||r("223"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function B(e){e.eventPool=[],e.getPooled=j,e.release=W}function F(e,t){switch(e){case"keyup":return-1!==Ti.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function z(e){return e=e.detail,"object"===typeof e&&"data"in e?e.data:null}function U(e,t){switch(e){case"compositionend":return z(t);case"keypress":return 32!==t.which?null:(Ai=!0,Ci);case"textInput":return e=t.data,e===Ci&&Ai?null:e;default:return null}}function H(e,t){if(Pi)return"compositionend"===e||!_i&&F(e,t)?(e=M(),vi._root=null,vi._startText=null,vi._fallbackText=null,Pi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Si?null:t.data;default:return null}}function G(e){if(e=$r(e)){Ri&&"function"===typeof Ri.restoreControlledState||r("194");var t=Qr(e.stateNode);Ri.restoreControlledState(e.stateNode,e.type,t)}}function q(e){Mi?Di?Di.push(e):Di=[e]:Mi=e}function V(){return null!==Mi||null!==Di}function K(){if(Mi){var e=Mi,t=Di;if(Di=Mi=null,G(e),t)for(e=0;e<t.length;e++)G(t[e])}}function Y(e,t){return e(t)}function Z(e,t,n){return e(t,n)}function X(){}function Q(e,t){if(ji)return e(t);ji=!0;try{return Y(e,t)}finally{ji=!1,V()&&(X(),K())}}function $(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wi[e.type]:"textarea"===t}function J(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ee(e,t){return!(!Lr.canUseDOM||t&&!("addEventListener"in document))&&(e="on"+e,t=e in document,t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t="function"===typeof t[e]),t)}function te(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ne(e){var t=te(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function re(e){e._valueTracker||(e._valueTracker=ne(e))}function ie(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=te(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function oe(e){return null===e||"undefined"===typeof e?null:(e=Qi&&e[Qi]||e["@@iterator"],"function"===typeof e?e:null)}function ae(e){var t=e.type;if("function"===typeof t)return t.displayName||t.name;if("string"===typeof t)return t;switch(t){case Yi:return"AsyncMode";case Ki:return"Context.Consumer";case Hi:return"ReactFragment";case Ui:return"ReactPortal";case qi:return"Profiler("+e.pendingProps.id+")";case Vi:return"Context.Provider";case Gi:return"StrictMode";case Xi:return"Timeout"}if("object"===typeof t&&null!==t)switch(t.$$typeof){case Zi:return e=t.render.displayName||t.render.name||"",""!==e?"ForwardRef("+e+")":"ForwardRef"}return null}function se(e){var t="";do{e:switch(e.tag){case 0:case 1:case 2:case 5:var n=e._debugOwner,r=e._debugSource,i=ae(e),o=null;n&&(o=ae(n)),n=r,i="\n in "+(i||"Unknown")+(n?" (at "+n.fileName.replace(/^.*[\\\/]/,"")+":"+n.lineNumber+")":o?" (created by "+o+")":"");break e;default:i=""}t+=i,e=e.return}while(e);return t}function le(e){return!!Ji.call(to,e)||!Ji.call(eo,e)&&($i.test(e)?to[e]=!0:(eo[e]=!0,!1))}function ue(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}function ce(e,t,n,r){if(null===t||"undefined"===typeof t||ue(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function de(e,t,n,r,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t}function fe(e){return e[1].toUpperCase()}function he(e,t,n,r){var i=no.hasOwnProperty(t)?no[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(ce(t,n,i,r)&&(n=null),r||null===i?le(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(i=i.type,n=3===i||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function pe(e,t){var n=t.checked;return jr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function me(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=we(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ge(e,t){null!=(t=t.checked)&&he(e,"checked",t,!1)}function ve(e,t){ge(e,t);var n=we(t.value);null!=n&&("number"===t.type?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n)),t.hasOwnProperty("value")?be(e,t.type,n):t.hasOwnProperty("defaultValue")&&be(e,t.type,we(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ye(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){t=""+e._wrapperState.initialValue;var r=e.value;n||t===r||(e.value=t),e.defaultValue=t}n=e.name,""!==n&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,""!==n&&(e.name=n)}function be(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function we(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Ee(e,t,n){return e=L.getPooled(io.change,e,t,n),e.type="change",q(n),A(e),e}function Te(e){v(e,!1)}function _e(e){if(ie(w(e)))return e}function ke(e,t){if("change"===e)return t}function xe(){oo&&(oo.detachEvent("onpropertychange",Se),ao=oo=null)}function Se(e){"value"===e.propertyName&&_e(ao)&&(e=Ee(ao,e,J(e)),Q(Te,e))}function Ce(e,t,n){"focus"===e?(xe(),oo=t,ao=n,oo.attachEvent("onpropertychange",Se)):"blur"===e&&xe()}function Oe(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return _e(ao)}function Ae(e,t){if("click"===e)return _e(t)}function Pe(e,t){if("input"===e||"change"===e)return _e(t)}function Ie(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=co[e])&&!!t[e]}function Re(){return Ie}function Ne(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!==(2&t.effectTag))return 1;for(;t.return;)if(t=t.return,0!==(2&t.effectTag))return 1}return 3===t.tag?2:3}function Me(e){2!==Ne(e)&&r("188")}function De(e){var t=e.alternate;if(!t)return t=Ne(e),3===t&&r("188"),1===t?null:e;for(var n=e,i=t;;){var o=n.return,a=o?o.alternate:null;if(!o||!a)break;if(o.child===a.child){for(var s=o.child;s;){if(s===n)return Me(o),e;if(s===i)return Me(o),t;s=s.sibling}r("188")}if(n.return!==i.return)n=o,i=a;else{s=!1;for(var l=o.child;l;){if(l===n){s=!0,n=o,i=a;break}if(l===i){s=!0,i=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,i=o;break}if(l===i){s=!0,i=a,n=o;break}l=l.sibling}s||r("189")}}n.alternate!==i&&r("190")}return 3!==n.tag&&r("188"),n.stateNode.current===n?e:t}function Le(e){if(!(e=De(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function je(e){if(!(e=De(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child&&4!==t.tag)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function We(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Be(e,t){var n=e[0];e=e[1];var r="on"+(e[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:r,captured:r+"Capture"},dependencies:[n],isInteractive:t},Co[e]=t,Oo[n]=t}function Fe(e){var t=e.targetInst;do{if(!t){e.ancestors.push(t);break}var n;for(n=t;n.return;)n=n.return;if(!(n=3!==n.tag?null:n.stateNode.containerInfo))break;e.ancestors.push(t),t=b(n)}while(t);for(n=0;n<e.ancestors.length;n++)t=e.ancestors[n],y(e.topLevelType,t,e.nativeEvent,J(e.nativeEvent))}function ze(e){Ro=!!e}function Ue(e,t){if(!t)return null;var n=(Po(e)?Ge:qe).bind(null,e);t.addEventListener(e,n,!1)}function He(e,t){if(!t)return null;var n=(Po(e)?Ge:qe).bind(null,e);t.addEventListener(e,n,!0)}function Ge(e,t){Z(qe,e,t)}function qe(e,t){if(Ro){var n=J(t);if(n=b(n),null===n||"number"!==typeof n.tag||2===Ne(n)||(n=null),Io.length){var r=Io.pop();r.topLevelType=e,r.nativeEvent=t,r.targetInst=n,e=r}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{Q(Fe,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>Io.length&&Io.push(e)}}}function Ve(e){return Object.prototype.hasOwnProperty.call(e,Lo)||(e[Lo]=Do++,Mo[e[Lo]]={}),Mo[e[Lo]]}function Ke(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ye(e,t){var n=Ke(e);e=0;for(var r;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ke(n)}}function Ze(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Xe(e,t){if(Uo||null==Bo||Bo!==Br())return null;var n=Bo;return"selectionStart"in n&&Ze(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?(n=window.getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}):n=void 0,zo&&Fr(zo,n)?null:(zo=n,e=L.getPooled(Wo.select,Fo,e,t),e.type="select",e.target=Bo,A(e),e)}function Qe(e){var t="";return Dr.Children.forEach(e,function(e){null==e||"string"!==typeof e&&"number"!==typeof e||(t+=e)}),t}function $e(e,t){return e=jr({children:void 0},t),(t=Qe(t.children))&&(e.children=t),e}function Je(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+n,t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function et(e,t){var n=t.value;e._wrapperState={initialValue:null!=n?n:t.defaultValue,wasMultiple:!!t.multiple}}function tt(e,t){return null!=t.dangerouslySetInnerHTML&&r("91"),jr({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function nt(e,t){var n=t.value;null==n&&(n=t.defaultValue,t=t.children,null!=t&&(null!=n&&r("92"),Array.isArray(t)&&(1>=t.length||r("93"),t=t[0]),n=""+t),null==n&&(n="")),e._wrapperState={initialValue:""+n}}function rt(e,t){var n=t.value;null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)}function it(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function ot(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function at(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ot(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function st(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function lt(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=n,o=t[n];i=null==o||"boolean"===typeof o||""===o?"":r||"number"!==typeof o||0===o||ma.hasOwnProperty(i)&&ma[i]?(""+o).trim():o+"px","float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}function ut(e,t,n){t&&(va[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&r("137",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&r("60"),"object"===typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||r("61")),null!=t.style&&"object"!==typeof t.style&&r("62",n()))}function ct(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function dt(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=Ve(e);t=Zr[t];for(var r=0;r<t.length;r++){var i=t[r];if(!n.hasOwnProperty(i)||!n[i]){switch(i){case"scroll":He("scroll",e);break;case"focus":case"blur":He("focus",e),He("blur",e),n.blur=!0,n.focus=!0;break;case"cancel":case"close":ee(i,!0)&&He(i,e);break;case"invalid":case"submit":case"reset":break;default:-1===mi.indexOf(i)&&Ue(i,e)}n[i]=!0}}}function ft(e,t,n,r){return n=9===n.nodeType?n:n.ownerDocument,r===fa.html&&(r=ot(e)),r===fa.html?"script"===e?(e=n.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):e="string"===typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(r,e),e}function ht(e,t){return(9===t.nodeType?t:t.ownerDocument).createTextNode(e)}function pt(e,t,n,r){var i=ct(t,n);switch(t){case"iframe":case"object":Ue("load",e);var o=n;break;case"video":case"audio":for(o=0;o<mi.length;o++)Ue(mi[o],e);o=n;break;case"source":Ue("error",e),o=n;break;case"img":case"image":case"link":Ue("error",e),Ue("load",e),o=n;break;case"form":Ue("reset",e),Ue("submit",e),o=n;break;case"details":Ue("toggle",e),o=n;break;case"input":me(e,n),o=pe(e,n),Ue("invalid",e),dt(r,"onChange");break;case"option":o=$e(e,n);break;case"select":et(e,n),o=jr({},n,{value:void 0}),Ue("invalid",e),dt(r,"onChange");break;case"textarea":nt(e,n),o=tt(e,n),Ue("invalid",e),dt(r,"onChange");break;default:o=n}ut(t,o,ya);var a,s=o;for(a in s)if(s.hasOwnProperty(a)){var l=s[a];"style"===a?lt(e,l,ya):"dangerouslySetInnerHTML"===a?null!=(l=l?l.__html:void 0)&&pa(e,l):"children"===a?"string"===typeof l?("textarea"!==t||""!==l)&&st(e,l):"number"===typeof l&&st(e,""+l):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(Yr.hasOwnProperty(a)?null!=l&&dt(r,a):null!=l&&he(e,a,l,i))}switch(t){case"input":re(e),ye(e,n,!1);break;case"textarea":re(e),it(e,n);break;case"option":null!=n.value&&e.setAttribute("value",n.value);break;case"select":e.multiple=!!n.multiple,t=n.value,null!=t?Je(e,!!n.multiple,t,!1):null!=n.defaultValue&&Je(e,!!n.multiple,n.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Wr)}}function mt(e,t,n,r,i){var o=null;switch(t){case"input":n=pe(e,n),r=pe(e,r),o=[];break;case"option":n=$e(e,n),r=$e(e,r),o=[];break;case"select":n=jr({},n,{value:void 0}),r=jr({},r,{value:void 0}),o=[];break;case"textarea":n=tt(e,n),r=tt(e,r),o=[];break;default:"function"!==typeof n.onClick&&"function"===typeof r.onClick&&(e.onclick=Wr)}ut(t,r,ya),t=e=void 0;var a=null;for(e in n)if(!r.hasOwnProperty(e)&&n.hasOwnProperty(e)&&null!=n[e])if("style"===e){var s=n[e];for(t in s)s.hasOwnProperty(t)&&(a||(a={}),a[t]="")}else"dangerouslySetInnerHTML"!==e&&"children"!==e&&"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&"autoFocus"!==e&&(Yr.hasOwnProperty(e)?o||(o=[]):(o=o||[]).push(e,null));for(e in r){var l=r[e];if(s=null!=n?n[e]:void 0,r.hasOwnProperty(e)&&l!==s&&(null!=l||null!=s))if("style"===e)if(s){for(t in s)!s.hasOwnProperty(t)||l&&l.hasOwnProperty(t)||(a||(a={}),a[t]="");for(t in l)l.hasOwnProperty(t)&&s[t]!==l[t]&&(a||(a={}),a[t]=l[t])}else a||(o||(o=[]),o.push(e,a)),a=l;else"dangerouslySetInnerHTML"===e?(l=l?l.__html:void 0,s=s?s.__html:void 0,null!=l&&s!==l&&(o=o||[]).push(e,""+l)):"children"===e?s===l||"string"!==typeof l&&"number"!==typeof l||(o=o||[]).push(e,""+l):"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&(Yr.hasOwnProperty(e)?(null!=l&&dt(i,e),o||s===l||(o=[])):(o=o||[]).push(e,l))}return a&&(o=o||[]).push("style",a),o}function gt(e,t,n,r,i){"input"===n&&"radio"===i.type&&null!=i.name&&ge(e,i),ct(n,r),r=ct(n,i);for(var o=0;o<t.length;o+=2){var a=t[o],s=t[o+1];"style"===a?lt(e,s,ya):"dangerouslySetInnerHTML"===a?pa(e,s):"children"===a?st(e,s):he(e,a,s,r)}switch(n){case"input":ve(e,i);break;case"textarea":rt(e,i);break;case"select":e._wrapperState.initialValue=void 0,t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!i.multiple,n=i.value,null!=n?Je(e,!!i.multiple,n,!1):t!==!!i.multiple&&(null!=i.defaultValue?Je(e,!!i.multiple,i.defaultValue,!0):Je(e,!!i.multiple,i.multiple?[]:"",!1))}}function vt(e,t,n,r,i){switch(t){case"iframe":case"object":Ue("load",e);break;case"video":case"audio":for(r=0;r<mi.length;r++)Ue(mi[r],e);break;case"source":Ue("error",e);break;case"img":case"image":case"link":Ue("error",e),Ue("load",e);break;case"form":Ue("reset",e),Ue("submit",e);break;case"details":Ue("toggle",e);break;case"input":me(e,n),Ue("invalid",e),dt(i,"onChange");break;case"select":et(e,n),Ue("invalid",e),dt(i,"onChange");break;case"textarea":nt(e,n),Ue("invalid",e),dt(i,"onChange")}ut(t,n,ya),r=null;for(var o in n)if(n.hasOwnProperty(o)){var a=n[o];"children"===o?"string"===typeof a?e.textContent!==a&&(r=["children",a]):"number"===typeof a&&e.textContent!==""+a&&(r=["children",""+a]):Yr.hasOwnProperty(o)&&null!=a&&dt(i,o)}switch(t){case"input":re(e),ye(e,n,!0);break;case"textarea":re(e),it(e,n);break;case"select":case"option":break;default:"function"===typeof n.onClick&&(e.onclick=Wr)}return r}function yt(e,t){return e.nodeValue!==t}function bt(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function wt(e,t){return"textarea"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&"string"===typeof t.dangerouslySetInnerHTML.__html}function Et(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function Tt(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function _t(e){return{current:e}}function kt(e){0>Sa||(e.current=xa[Sa],xa[Sa]=null,Sa--)}function xt(e,t){Sa++,xa[Sa]=e.current,e.current=t}function St(e){return Ot(e)?Aa:Ca.current}function Ct(e,t){var n=e.type.contextTypes;if(!n)return Ur;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ot(e){return 2===e.tag&&null!=e.type.childContextTypes}function At(e){Ot(e)&&(kt(Oa,e),kt(Ca,e))}function Pt(e){kt(Oa,e),kt(Ca,e)}function It(e,t,n){Ca.current!==Ur&&r("168"),xt(Ca,t,e),xt(Oa,n,e)}function Rt(e,t){var n=e.stateNode,i=e.type.childContextTypes;if("function"!==typeof n.getChildContext)return t;n=n.getChildContext();for(var o in n)o in i||r("108",ae(e)||"Unknown",o);return jr({},t,n)}function Nt(e){if(!Ot(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Ur,Aa=Ca.current,xt(Ca,t,e),xt(Oa,Oa.current,e),!0}function Mt(e,t){var n=e.stateNode;if(n||r("169"),t){var i=Rt(e,Aa);n.__reactInternalMemoizedMergedChildContext=i,kt(Oa,e),kt(Ca,e),xt(Ca,i,e)}else kt(Oa,e);xt(Oa,t,e)}function Dt(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function Lt(e,t,n){var r=e.alternate;return null===r?(r=new Dt(e.tag,t,e.key,e.mode),r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.expirationTime=n,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function jt(e,t,n){var i=e.type,o=e.key;if(e=e.props,"function"===typeof i)var a=i.prototype&&i.prototype.isReactComponent?2:0;else if("string"===typeof i)a=5;else switch(i){case Hi:return Wt(e.children,t,n,o);case Yi:a=11,t|=3;break;case Gi:a=11,t|=2;break;case qi:return i=new Dt(15,e,o,4|t),i.type=qi,i.expirationTime=n,i;case Xi:a=16,t|=2;break;default:e:{switch("object"===typeof i&&null!==i?i.$$typeof:null){case Vi:a=13;break e;case Ki:a=12;break e;case Zi:a=14;break e;default:r("130",null==i?i:typeof i,"")}a=void 0}}return t=new Dt(a,e,o,t),t.type=i,t.expirationTime=n,t}function Wt(e,t,n,r){return e=new Dt(10,e,r,t),e.expirationTime=n,e}function Bt(e,t,n){return e=new Dt(6,e,null,t),e.expirationTime=n,e}function Ft(e,t,n){return t=new Dt(4,null!==e.children?e.children:[],e.key,t),t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zt(e,t,n){return t=new Dt(3,null,null,t?3:0),e={current:t,containerInfo:e,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,pendingCommitExpirationTime:0,finishedWork:null,context:null,pendingContext:null,hydrate:n,remainingExpirationTime:0,firstBatch:null,nextScheduledRoot:null},t.stateNode=e}function Ut(e){return function(t){try{return e(t)}catch(e){}}}function Ht(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Pa=Ut(function(e){return t.onCommitFiberRoot(n,e)}),Ia=Ut(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Gt(e){"function"===typeof Pa&&Pa(e)}function qt(e){"function"===typeof Ia&&Ia(e)}function Vt(e){return{expirationTime:0,baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Kt(e){return{expirationTime:e.expirationTime,baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Yt(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Zt(e,t,n){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t),(0===e.expirationTime||e.expirationTime>n)&&(e.expirationTime=n)}function Xt(e,t,n){var r=e.alternate;if(null===r){var i=e.updateQueue,o=null;null===i&&(i=e.updateQueue=Vt(e.memoizedState))}else i=e.updateQueue,o=r.updateQueue,null===i?null===o?(i=e.updateQueue=Vt(e.memoizedState),o=r.updateQueue=Vt(r.memoizedState)):i=e.updateQueue=Kt(o):null===o&&(o=r.updateQueue=Kt(i));null===o||i===o?Zt(i,t,n):null===i.lastUpdate||null===o.lastUpdate?(Zt(i,t,n),Zt(o,t,n)):(Zt(i,t,n),o.lastUpdate=t)}function Qt(e,t,n){var r=e.updateQueue;r=null===r?e.updateQueue=Vt(e.memoizedState):$t(e,r),null===r.lastCapturedUpdate?r.firstCapturedUpdate=r.lastCapturedUpdate=t:(r.lastCapturedUpdate.next=t,r.lastCapturedUpdate=t),(0===r.expirationTime||r.expirationTime>n)&&(r.expirationTime=n)}function $t(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Kt(t)),t}function Jt(e,t,n,r,i,o){switch(n.tag){case 1:return e=n.payload,"function"===typeof e?e.call(o,r,i):e;case 3:e.effectTag=-1025&e.effectTag|64;case 0:if(e=n.payload,null===(i="function"===typeof e?e.call(o,r,i):e)||void 0===i)break;return jr({},r,i);case 2:Ra=!0}return r}function en(e,t,n,r,i){if(Ra=!1,!(0===t.expirationTime||t.expirationTime>i)){t=$t(e,t);for(var o=t.baseState,a=null,s=0,l=t.firstUpdate,u=o;null!==l;){var c=l.expirationTime;c>i?(null===a&&(a=l,o=u),(0===s||s>c)&&(s=c)):(u=Jt(e,t,l,u,n,r),null!==l.callback&&(e.effectTag|=32,l.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=l:(t.lastEffect.nextEffect=l,t.lastEffect=l))),l=l.next}for(c=null,l=t.firstCapturedUpdate;null!==l;){var d=l.expirationTime;d>i?(null===c&&(c=l,null===a&&(o=u)),(0===s||s>d)&&(s=d)):(u=Jt(e,t,l,u,n,r),null!==l.callback&&(e.effectTag|=32,l.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=l:(t.lastCapturedEffect.nextEffect=l,t.lastCapturedEffect=l))),l=l.next}null===a&&(t.lastUpdate=null),null===c?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===c&&(o=u),t.baseState=o,t.firstUpdate=a,t.firstCapturedUpdate=c,t.expirationTime=s,e.memoizedState=u}}function tn(e,t){"function"!==typeof e&&r("191",e),e.call(t)}function nn(e,t,n){for(null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),e=t.firstEffect,t.firstEffect=t.lastEffect=null;null!==e;){var r=e.callback;null!==r&&(e.callback=null,tn(r,n)),e=e.nextEffect}for(e=t.firstCapturedEffect,t.firstCapturedEffect=t.lastCapturedEffect=null;null!==e;)t=e.callback,null!==t&&(e.callback=null,tn(t,n)),e=e.nextEffect}function rn(e,t){return{value:e,source:t,stack:se(t)}}function on(e){var t=e.type._context;xt(Da,t._changedBits,e),xt(Ma,t._currentValue,e),xt(Na,e,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode}function an(e){var t=Da.current,n=Ma.current;kt(Na,e),kt(Ma,e),kt(Da,e),e=e.type._context,e._currentValue=n,e._changedBits=t}function sn(e){return e===La&&r("174"),e}function ln(e,t){xt(Ba,t,e),xt(Wa,e,e),xt(ja,La,e);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:at(null,"");break;default:n=8===n?t.parentNode:t,t=n.namespaceURI||null,n=n.tagName,t=at(t,n)}kt(ja,e),xt(ja,t,e)}function un(e){kt(ja,e),kt(Wa,e),kt(Ba,e)}function cn(e){Wa.current===e&&(kt(ja,e),kt(Wa,e))}function dn(e,t,n){var r=e.memoizedState;t=t(n,r),r=null===t||void 0===t?r:jr({},r,t),e.memoizedState=r,null!==(e=e.updateQueue)&&0===e.expirationTime&&(e.baseState=r)}function fn(e,t,n,r,i,o){var a=e.stateNode;return e=e.type,"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(n,i,o):!e.prototype||!e.prototype.isPureReactComponent||(!Fr(t,n)||!Fr(r,i))}function hn(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Fa.enqueueReplaceState(t,t.state,null)}function pn(e,t){var n=e.type,r=e.stateNode,i=e.pendingProps,o=St(e);r.props=i,r.state=e.memoizedState,r.refs=Ur,r.context=Ct(e,o),o=e.updateQueue,null!==o&&(en(e,o,i,r,t),r.state=e.memoizedState),o=e.type.getDerivedStateFromProps,"function"===typeof o&&(dn(e,o,i),r.state=e.memoizedState),"function"===typeof n.getDerivedStateFromProps||"function"===typeof r.getSnapshotBeforeUpdate||"function"!==typeof r.UNSAFE_componentWillMount&&"function"!==typeof r.componentWillMount||(n=r.state,"function"===typeof r.componentWillMount&&r.componentWillMount(),"function"===typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),n!==r.state&&Fa.enqueueReplaceState(r,r.state,null),null!==(o=e.updateQueue)&&(en(e,o,i,r,t),r.state=e.memoizedState)),"function"===typeof r.componentDidMount&&(e.effectTag|=4)}function mn(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){n=n._owner;var i=void 0;n&&(2!==n.tag&&r("110"),i=n.stateNode),i||r("147",e);var o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=i.refs===Ur?i.refs={}:i.refs;null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}"string"!==typeof e&&r("148"),n._owner||r("254",e)}return e}function gn(e,t){"textarea"!==e.type&&r("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function vn(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function i(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t,n){return e=Lt(e,t,n),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index,r<n?(t.effectTag=2,n):r):(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?(t=Bt(n,e.mode,r),t.return=e,t):(t=o(t,n,r),t.return=e,t)}function u(e,t,n,r){return null!==t&&t.type===n.type?(r=o(t,n.props,r),r.ref=mn(e,t,n),r.return=e,r):(r=jt(n,e.mode,r),r.ref=mn(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Ft(n,e.mode,r),t.return=e,t):(t=o(t,n.children||[],r),t.return=e,t)}function d(e,t,n,r,i){return null===t||10!==t.tag?(t=Wt(n,e.mode,r,i),t.return=e,t):(t=o(t,n,r),t.return=e,t)}function f(e,t,n){if("string"===typeof t||"number"===typeof t)return t=Bt(""+t,e.mode,n),t.return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case zi:return n=jt(t,e.mode,n),n.ref=mn(e,null,t),n.return=e,n;case Ui:return t=Ft(t,e.mode,n),t.return=e,t}if(za(t)||oe(t))return t=Wt(t,e.mode,n,null),t.return=e,t;gn(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==i?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case zi:return n.key===i?n.type===Hi?d(e,t,n.props.children,r,i):u(e,t,n,r):null;case Ui:return n.key===i?c(e,t,n,r):null}if(za(n)||oe(n))return null!==i?null:d(e,t,n,r,null);gn(e,n)}return null}function p(e,t,n,r,i){if("string"===typeof r||"number"===typeof r)return e=e.get(n)||null,l(t,e,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case zi:return e=e.get(null===r.key?n:r.key)||null,r.type===Hi?d(t,e,r.props.children,i,r.key):u(t,e,r,i);case Ui:return e=e.get(null===r.key?n:r.key)||null,c(t,e,r,i)}if(za(r)||oe(r))return e=e.get(n)||null,d(t,e,r,i,null);gn(t,r)}return null}function m(r,o,s,l){for(var u=null,c=null,d=o,m=o=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=h(r,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(r,d),o=a(v,o,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===s.length)return n(r,d),u;if(null===d){for(;m<s.length;m++)(d=f(r,s[m],l))&&(o=a(d,o,m),null===c?u=d:c.sibling=d,c=d);return u}for(d=i(r,d);m<s.length;m++)(g=p(d,r,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),o=a(g,o,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(r,e)}),u}function g(o,s,l,u){var c=oe(l);"function"!==typeof c&&r("150"),null==(l=c.call(l))&&r("151");for(var d=c=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=h(o,m,y.value,u);if(null===b){m||(m=v);break}e&&m&&null===b.alternate&&t(o,m),s=a(b,s,g),null===d?c=b:d.sibling=b,d=b,m=v}if(y.done)return n(o,m),c;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=f(o,y.value,u))&&(s=a(y,s,g),null===d?c=y:d.sibling=y,d=y);return c}for(m=i(o,m);!y.done;g++,y=l.next())null!==(y=p(m,o,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=a(y,s,g),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach(function(e){return t(o,e)}),c}return function(e,i,a,l){var u="object"===typeof a&&null!==a&&a.type===Hi&&null===a.key;u&&(a=a.props.children);var c="object"===typeof a&&null!==a;if(c)switch(a.$$typeof){case zi:e:{for(c=a.key,u=i;null!==u;){if(u.key===c){if(10===u.tag?a.type===Hi:u.type===a.type){n(e,u.sibling),i=o(u,a.type===Hi?a.props.children:a.props,l),i.ref=mn(e,u,a),i.return=e,e=i;break e}n(e,u);break}t(e,u),u=u.sibling}a.type===Hi?(i=Wt(a.props.children,e.mode,l,a.key),i.return=e,e=i):(l=jt(a,e.mode,l),l.ref=mn(e,i,a),l.return=e,e=l)}return s(e);case Ui:e:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(e,i.sibling),i=o(i,a.children||[],l),i.return=e,e=i;break e}n(e,i);break}t(e,i),i=i.sibling}i=Ft(a,e.mode,l),i.return=e,e=i}return s(e)}if("string"===typeof a||"number"===typeof a)return a=""+a,null!==i&&6===i.tag?(n(e,i.sibling),i=o(i,a,l),i.return=e,e=i):(n(e,i),i=Bt(a,e.mode,l),i.return=e,e=i),s(e);if(za(a))return m(e,i,a,l);if(oe(a))return g(e,i,a,l);if(c&&gn(e,a),"undefined"===typeof a&&!u)switch(e.tag){case 2:case 1:l=e.type,r("152",l.displayName||l.name||"Component")}return n(e,i)}}function yn(e,t){var n=new Dt(5,null,null,0);n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function bn(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function wn(e){if(Va){var t=qa;if(t){var n=t;if(!bn(e,t)){if(!(t=Et(n))||!bn(e,t))return e.effectTag|=2,Va=!1,void(Ga=e);yn(Ga,n)}Ga=e,qa=Tt(t)}else e.effectTag|=2,Va=!1,Ga=e}}function En(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;Ga=e}function Tn(e){if(e!==Ga)return!1;if(!Va)return En(e),Va=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!wt(t,e.memoizedProps))for(t=qa;t;)yn(e,t),t=Et(t);return En(e),qa=Ga?Et(e.stateNode):null,!0}function _n(){qa=Ga=null,Va=!1}function kn(e,t,n){xn(e,t,n,t.expirationTime)}function xn(e,t,n,r){t.child=null===e?Ha(t,null,n,r):Ua(t,e.child,n,r)}function Sn(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Cn(e,t,n,r,i){Sn(e,t);var o=0!==(64&t.effectTag);if(!n&&!o)return r&&Mt(t,!1),In(e,t);n=t.stateNode,Bi.current=t;var a=o?null:n.render();return t.effectTag|=1,o&&(xn(e,t,null,i),t.child=null),xn(e,t,a,i),t.memoizedState=n.state,t.memoizedProps=n.props,r&&Mt(t,!0),t.child}function On(e){var t=e.stateNode;t.pendingContext?It(e,t.pendingContext,t.pendingContext!==t.context):t.context&&It(e,t.context,!1),ln(e,t.containerInfo)}function An(e,t,n,r){var i=e.child;for(null!==i&&(i.return=e);null!==i;){switch(i.tag){case 12:var o=0|i.stateNode;if(i.type===t&&0!==(o&n)){for(o=i;null!==o;){var a=o.alternate;if(0===o.expirationTime||o.expirationTime>r)o.expirationTime=r,null!==a&&(0===a.expirationTime||a.expirationTime>r)&&(a.expirationTime=r);else{if(null===a||!(0===a.expirationTime||a.expirationTime>r))break;a.expirationTime=r}o=o.return}o=null}else o=i.child;break;case 13:o=i.type===e.type?null:i.child;break;default:o=i.child}if(null!==o)o.return=i;else for(o=i;null!==o;){if(o===e){o=null;break}if(null!==(i=o.sibling)){i.return=o.return,o=i;break}o=o.return}i=o}}function Pn(e,t,n){var r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=!0;if(Oa.current)a=!1;else if(o===i)return t.stateNode=0,on(t),In(e,t);var s=i.value;if(t.memoizedProps=i,null===o)s=1073741823;else if(o.value===i.value){if(o.children===i.children&&a)return t.stateNode=0,on(t),In(e,t);s=0}else{var l=o.value;if(l===s&&(0!==l||1/l===1/s)||l!==l&&s!==s){if(o.children===i.children&&a)return t.stateNode=0,on(t),In(e,t);s=0}else if(s="function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,s):1073741823,0===(s|=0)){if(o.children===i.children&&a)return t.stateNode=0,on(t),In(e,t)}else An(t,r,s,n)}return t.stateNode=s,on(t),kn(e,t,i.children),t.child}function In(e,t){if(null!==e&&t.child!==e.child&&r("153"),null!==t.child){e=t.child;var n=Lt(e,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,n=n.sibling=Lt(e,e.pendingProps,e.expirationTime),n.return=t;n.sibling=null}return t.child}function Rn(e,t,n){if(0===t.expirationTime||t.expirationTime>n){switch(t.tag){case 3:On(t);break;case 2:Nt(t);break;case 4:ln(t,t.stateNode.containerInfo);break;case 13:on(t)}return null}switch(t.tag){case 0:null!==e&&r("155");var i=t.type,o=t.pendingProps,a=St(t);return a=Ct(t,a),i=i(o,a),t.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof?(a=t.type,t.tag=2,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,a=a.getDerivedStateFromProps,"function"===typeof a&&dn(t,a,o),o=Nt(t),i.updater=Fa,t.stateNode=i,i._reactInternalFiber=t,pn(t,n),e=Cn(e,t,!0,o,n)):(t.tag=1,kn(e,t,i),t.memoizedProps=o,e=t.child),e;case 1:return o=t.type,n=t.pendingProps,Oa.current||t.memoizedProps!==n?(i=St(t),i=Ct(t,i),o=o(n,i),t.effectTag|=1,kn(e,t,o),t.memoizedProps=n,e=t.child):e=In(e,t),e;case 2:if(o=Nt(t),null===e)if(null===t.stateNode){var s=t.pendingProps,l=t.type;i=St(t);var u=2===t.tag&&null!=t.type.contextTypes;a=u?Ct(t,i):Ur,s=new l(s,a),t.memoizedState=null!==s.state&&void 0!==s.state?s.state:null,s.updater=Fa,t.stateNode=s,s._reactInternalFiber=t,u&&(u=t.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=i,u.__reactInternalMemoizedMaskedChildContext=a),pn(t,n),i=!0}else{l=t.type,i=t.stateNode,u=t.memoizedProps,a=t.pendingProps,i.props=u;var c=i.context;s=St(t),s=Ct(t,s);var d=l.getDerivedStateFromProps;(l="function"===typeof d||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(u!==a||c!==s)&&hn(t,i,a,s),Ra=!1;var f=t.memoizedState;c=i.state=f;var h=t.updateQueue;null!==h&&(en(t,h,a,i,n),c=t.memoizedState),u!==a||f!==c||Oa.current||Ra?("function"===typeof d&&(dn(t,d,a),c=t.memoizedState),(u=Ra||fn(t,u,a,f,c,s))?(l||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||("function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"===typeof i.componentDidMount&&(t.effectTag|=4)):("function"===typeof i.componentDidMount&&(t.effectTag|=4),t.memoizedProps=a,t.memoizedState=c),i.props=a,i.state=c,i.context=s,i=u):("function"===typeof i.componentDidMount&&(t.effectTag|=4),i=!1)}else l=t.type,i=t.stateNode,a=t.memoizedProps,u=t.pendingProps,i.props=a,c=i.context,s=St(t),s=Ct(t,s),d=l.getDerivedStateFromProps,(l="function"===typeof d||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(a!==u||c!==s)&&hn(t,i,u,s),Ra=!1,c=t.memoizedState,f=i.state=c,h=t.updateQueue,null!==h&&(en(t,h,u,i,n),f=t.memoizedState),a!==u||c!==f||Oa.current||Ra?("function"===typeof d&&(dn(t,d,u),f=t.memoizedState),(d=Ra||fn(t,a,u,c,f,s))?(l||"function"!==typeof i.UNSAFE_componentWillUpdate&&"function"!==typeof i.componentWillUpdate||("function"===typeof i.componentWillUpdate&&i.componentWillUpdate(u,f,s),"function"===typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(u,f,s)),"function"===typeof i.componentDidUpdate&&(t.effectTag|=4),"function"===typeof i.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!==typeof i.componentDidUpdate||a===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!==typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=u,t.memoizedState=f),i.props=u,i.state=f,i.context=s,i=d):("function"!==typeof i.componentDidUpdate||a===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!==typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),i=!1);return Cn(e,t,i,o,n);case 3:return On(t),o=t.updateQueue,null!==o?(i=t.memoizedState,i=null!==i?i.element:null,en(t,o,t.pendingProps,null,n),(o=t.memoizedState.element)===i?(_n(),e=In(e,t)):(i=t.stateNode,(i=(null===e||null===e.child)&&i.hydrate)&&(qa=Tt(t.stateNode.containerInfo),Ga=t,i=Va=!0),i?(t.effectTag|=2,t.child=Ha(t,null,o,n)):(_n(),kn(e,t,o)),e=t.child)):(_n(),e=In(e,t)),e;case 5:return sn(Ba.current),o=sn(ja.current),i=at(o,t.type),o!==i&&(xt(Wa,t,t),xt(ja,i,t)),null===e&&wn(t),o=t.type,u=t.memoizedProps,i=t.pendingProps,a=null!==e?e.memoizedProps:null,Oa.current||u!==i||((u=1&t.mode&&!!i.hidden)&&(t.expirationTime=1073741823),u&&1073741823===n)?(u=i.children,wt(o,i)?u=null:a&&wt(o,a)&&(t.effectTag|=16),Sn(e,t),1073741823!==n&&1&t.mode&&i.hidden?(t.expirationTime=1073741823,t.memoizedProps=i,e=null):(kn(e,t,u),t.memoizedProps=i,e=t.child)):e=In(e,t),e;case 6:return null===e&&wn(t),t.memoizedProps=t.pendingProps,null;case 16:return null;case 4:return ln(t,t.stateNode.containerInfo),o=t.pendingProps,Oa.current||t.memoizedProps!==o?(null===e?t.child=Ua(t,null,o,n):kn(e,t,o),t.memoizedProps=o,e=t.child):e=In(e,t),e;case 14:return o=t.type.render,n=t.pendingProps,i=t.ref,Oa.current||t.memoizedProps!==n||i!==(null!==e?e.ref:null)?(o=o(n,i),kn(e,t,o),t.memoizedProps=n,e=t.child):e=In(e,t),e;case 10:return n=t.pendingProps,Oa.current||t.memoizedProps!==n?(kn(e,t,n),t.memoizedProps=n,e=t.child):e=In(e,t),e;case 11:return n=t.pendingProps.children,Oa.current||null!==n&&t.memoizedProps!==n?(kn(e,t,n),t.memoizedProps=n,e=t.child):e=In(e,t),e;case 15:return n=t.pendingProps,t.memoizedProps===n?e=In(e,t):(kn(e,t,n.children),t.memoizedProps=n,e=t.child),e;case 13:return Pn(e,t,n);case 12:e:if(i=t.type,a=t.pendingProps,u=t.memoizedProps,o=i._currentValue,s=i._changedBits,Oa.current||0!==s||u!==a){if(t.memoizedProps=a,l=a.unstable_observedBits,void 0!==l&&null!==l||(l=1073741823),t.stateNode=l,0!==(s&l))An(t,i,s,n);else if(u===a){e=In(e,t);break e}n=a.children,n=n(o),t.effectTag|=1,kn(e,t,n),e=t.child}else e=In(e,t);return e;default:r("156")}}function Nn(e){e.effectTag|=4}function Mn(e,t){var n=t.pendingProps;switch(t.tag){case 1:return null;case 2:return At(t),null;case 3:un(t),Pt(t);var i=t.stateNode;return i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),null!==e&&null!==e.child||(Tn(t),t.effectTag&=-3),Ka(t),null;case 5:cn(t),i=sn(Ba.current);var o=t.type;if(null!==e&&null!=t.stateNode){var a=e.memoizedProps,s=t.stateNode,l=sn(ja.current);s=mt(s,o,a,n,i),Ya(e,t,s,o,a,n,i,l),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!n)return null===t.stateNode&&r("166"),null;if(e=sn(ja.current),Tn(t))n=t.stateNode,o=t.type,a=t.memoizedProps,n[ii]=t,n[oi]=a,i=vt(n,o,a,e,i),t.updateQueue=i,null!==i&&Nn(t);else{e=ft(o,n,i,e),e[ii]=t,e[oi]=n;e:for(a=t.child;null!==a;){if(5===a.tag||6===a.tag)e.appendChild(a.stateNode);else if(4!==a.tag&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}pt(e,o,n,i),bt(o,n)&&Nn(t),t.stateNode=e}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Za(e,t,e.memoizedProps,n);else{if("string"!==typeof n)return null===t.stateNode&&r("166"),null;i=sn(Ba.current),sn(ja.current),Tn(t)?(i=t.stateNode,n=t.memoizedProps,i[ii]=t,yt(i,n)&&Nn(t)):(i=ht(n,i),i[ii]=t,t.stateNode=i)}return null;case 14:case 16:case 10:case 11:case 15:return null;case 4:return un(t),Ka(t),null;case 13:return an(t),null;case 12:return null;case 0:r("167");default:r("156")}}function Dn(e,t){var n=t.source;null===t.stack&&null!==n&&se(n),null!==n&&ae(n),t=t.value,null!==e&&2===e.tag&&ae(e);try{t&&t.suppressReactErrorLogging||console.error(t)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}}function Ln(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(t){Xn(e,t)}else t.current=null}function jn(e){switch("function"===typeof qt&&qt(e),e.tag){case 2:Ln(e);var t=e.stateNode;if("function"===typeof t.componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Xn(e,t)}break;case 5:Ln(e);break;case 4:Fn(e)}}function Wn(e){return 5===e.tag||3===e.tag||4===e.tag}function Bn(e){e:{for(var t=e.return;null!==t;){if(Wn(t)){var n=t;break e}t=t.return}r("160"),n=void 0}var i=t=void 0;switch(n.tag){case 5:t=n.stateNode,i=!1;break;case 3:case 4:t=n.stateNode.containerInfo,i=!0;break;default:r("161")}16&n.effectTag&&(st(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Wn(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var o=e;;){if(5===o.tag||6===o.tag)if(n)if(i){var a=t,s=o.stateNode,l=n;8===a.nodeType?a.parentNode.insertBefore(s,l):a.insertBefore(s,l)}else t.insertBefore(o.stateNode,n);else i?(a=t,s=o.stateNode,8===a.nodeType?a.parentNode.insertBefore(s,a):a.appendChild(s)):t.appendChild(o.stateNode);else if(4!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function Fn(e){for(var t=e,n=!1,i=void 0,o=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&r("160"),n.tag){case 5:i=n.stateNode,o=!1;break e;case 3:case 4:i=n.stateNode.containerInfo,o=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var a=t,s=a;;)if(jn(s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===a)break;for(;null===s.sibling;){if(null===s.return||s.return===a)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}o?(a=i,s=t.stateNode,8===a.nodeType?a.parentNode.removeChild(s):a.removeChild(s)):i.removeChild(t.stateNode)}else if(4===t.tag?i=t.stateNode.containerInfo:jn(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return,4===t.tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function zn(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var i=t.memoizedProps;e=null!==e?e.memoizedProps:i;var o=t.type,a=t.updateQueue;t.updateQueue=null,null!==a&&(n[oi]=i,gt(n,a,o,e,i))}break;case 6:null===t.stateNode&&r("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 15:case 16:break;default:r("163")}}function Un(e,t,n){n=Yt(n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){pr(r),Dn(e,t)},n}function Hn(e,t,n){n=Yt(n),n.tag=3;var r=e.stateNode;return null!==r&&"function"===typeof r.componentDidCatch&&(n.callback=function(){null===cs?cs=new Set([this]):cs.add(this);var n=t.value,r=t.stack;Dn(e,t),this.componentDidCatch(n,{componentStack:null!==r?r:""})}),n}function Gn(e,t,n,r,i,o){n.effectTag|=512,n.firstEffect=n.lastEffect=null,r=rn(r,n),e=t;do{switch(e.tag){case 3:return e.effectTag|=1024,r=Un(e,r,o),void Qt(e,r,o);case 2:if(t=r,n=e.stateNode,0===(64&e.effectTag)&&null!==n&&"function"===typeof n.componentDidCatch&&(null===cs||!cs.has(n)))return e.effectTag|=1024,r=Hn(e,t,o),void Qt(e,r,o)}e=e.return}while(null!==e)}function qn(e){switch(e.tag){case 2:At(e);var t=e.effectTag;return 1024&t?(e.effectTag=-1025&t|64,e):null;case 3:return un(e),Pt(e),t=e.effectTag,1024&t?(e.effectTag=-1025&t|64,e):null;case 5:return cn(e),null;case 16:return t=e.effectTag,1024&t?(e.effectTag=-1025&t|64,e):null;case 4:return un(e),null;case 13:return an(e),null;default:return null}}function Vn(){if(null!==ns)for(var e=ns.return;null!==e;){var t=e;switch(t.tag){case 2:At(t);break;case 3:un(t),Pt(t);break;case 5:cn(t);break;case 4:un(t);break;case 13:an(t)}e=e.return}rs=null,is=0,os=-1,as=!1,ns=null,us=!1}function Kn(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0===(512&e.effectTag)){t=Mn(t,e,is);var i=e;if(1073741823===is||1073741823!==i.expirationTime){var o=0;switch(i.tag){case 3:case 2:var a=i.updateQueue;null!==a&&(o=a.expirationTime)}for(a=i.child;null!==a;)0!==a.expirationTime&&(0===o||o>a.expirationTime)&&(o=a.expirationTime),a=a.sibling;i.expirationTime=o}if(null!==t)return t;if(null!==n&&0===(512&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e)),null!==r)return r;if(null===n){us=!0;break}e=n}else{if(null!==(e=qn(e,as,is)))return e.effectTag&=511,e;if(null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=512),null!==r)return r;if(null===n)break;e=n}}return null}function Yn(e){var t=Rn(e.alternate,e,is);return null===t&&(t=Kn(e)),Bi.current=null,t}function Zn(e,t,n){ts&&r("243"),ts=!0,t===is&&e===rs&&null!==ns||(Vn(),rs=e,is=t,os=-1,ns=Lt(rs.current,null,is),e.pendingCommitExpirationTime=0);var i=!1;for(as=!n||is<=Qa;;){try{if(n)for(;null!==ns&&!hr();)ns=Yn(ns);else for(;null!==ns;)ns=Yn(ns)}catch(t){if(null===ns)i=!0,pr(t);else{null===ns&&r("271"),n=ns;var o=n.return;if(null===o){i=!0,pr(t);break}Gn(e,o,n,t,as,is,$a),ns=Kn(n)}}break}if(ts=!1,i)return null;if(null===ns){if(us)return e.pendingCommitExpirationTime=t,e.current.alternate;as&&r("262"),0<=os&&setTimeout(function(){var t=e.current.expirationTime;0!==t&&(0===e.remainingExpirationTime||e.remainingExpirationTime<t)&&ir(e,t)},os),mr(e.current.expirationTime)}return null}function Xn(e,t){var n;e:{for(ts&&!ls&&r("263"),n=e.return;null!==n;){switch(n.tag){case 2:var i=n.stateNode;if("function"===typeof n.type.getDerivedStateFromCatch||"function"===typeof i.componentDidCatch&&(null===cs||!cs.has(i))){e=rn(t,e),e=Hn(n,e,1),Xt(n,e,1),Jn(n,1),n=void 0;break e}break;case 3:e=rn(t,e),e=Un(n,e,1),Xt(n,e,1),Jn(n,1),n=void 0;break e}n=n.return}3===e.tag&&(n=rn(t,e),n=Un(e,n,1),Xt(e,n,1),Jn(e,1)),n=void 0}return n}function Qn(){var e=2+25*(1+((er()-2+500)/25|0));return e<=Ja&&(e=Ja+1),Ja=e}function $n(e,t){return e=0!==es?es:ts?ls?1:is:1&t.mode?xs?2+10*(1+((e-2+15)/10|0)):2+25*(1+((e-2+500)/25|0)):1,xs&&(0===ys||e>ys)&&(ys=e),e}function Jn(e,t){for(;null!==e;){if((0===e.expirationTime||e.expirationTime>t)&&(e.expirationTime=t),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>t)&&(e.alternate.expirationTime=t),null===e.return){if(3!==e.tag)break;var n=e.stateNode;!ts&&0!==is&&t<is&&Vn();var i=n.current.expirationTime;ts&&!ls&&rs===n||ir(n,i),Os>Cs&&r("185")}e=e.return}}function er(){return $a=Ta()-Xa,Qa=2+($a/10|0)}function tr(e){var t=es;es=2+25*(1+((er()-2+500)/25|0));try{return e()}finally{es=t}}function nr(e,t,n,r,i){var o=es;es=1;try{return e(t,n,r,i)}finally{es=o}}function rr(e){if(0!==hs){if(e>hs)return;null!==ps&&ka(ps)}var t=Ta()-Xa;hs=e,ps=_a(ar,{timeout:10*(e-2)-t})}function ir(e,t){if(null===e.nextScheduledRoot)e.remainingExpirationTime=t,null===fs?(ds=fs=e,e.nextScheduledRoot=e):(fs=fs.nextScheduledRoot=e,fs.nextScheduledRoot=ds);else{var n=e.remainingExpirationTime;(0===n||t<n)&&(e.remainingExpirationTime=t)}ms||(_s?ks&&(gs=e,vs=1,dr(e,1,!1)):1===t?sr():rr(t))}function or(){var e=0,t=null;if(null!==fs)for(var n=fs,i=ds;null!==i;){var o=i.remainingExpirationTime;if(0===o){if((null===n||null===fs)&&r("244"),i===i.nextScheduledRoot){ds=fs=i.nextScheduledRoot=null;break}if(i===ds)ds=o=i.nextScheduledRoot,fs.nextScheduledRoot=o,i.nextScheduledRoot=null;else{if(i===fs){fs=n,fs.nextScheduledRoot=ds,i.nextScheduledRoot=null;break}n.nextScheduledRoot=i.nextScheduledRoot,i.nextScheduledRoot=null}i=n.nextScheduledRoot}else{if((0===e||o<e)&&(e=o,t=i),i===fs)break;n=i,i=i.nextScheduledRoot}}n=gs,null!==n&&n===t&&1===e?Os++:Os=0,gs=t,vs=e}function ar(e){lr(0,!0,e)}function sr(){lr(1,!1,null)}function lr(e,t,n){if(Ts=n,or(),t)for(;null!==gs&&0!==vs&&(0===e||e>=vs)&&(!bs||er()>=vs);)er(),dr(gs,vs,!bs),or();else for(;null!==gs&&0!==vs&&(0===e||e>=vs);)dr(gs,vs,!1),or();null!==Ts&&(hs=0,ps=null),0!==vs&&rr(vs),Ts=null,bs=!1,cr()}function ur(e,t){ms&&r("253"),gs=e,vs=t,dr(e,t,!1),sr(),cr()}function cr(){if(Os=0,null!==Ss){var e=Ss;Ss=null;for(var t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(e){ws||(ws=!0,Es=e)}}}if(ws)throw e=Es,Es=null,ws=!1,e}function dr(e,t,n){ms&&r("245"),ms=!0,n?(n=e.finishedWork,null!==n?fr(e,n,t):null!==(n=Zn(e,t,!0))&&(hr()?e.finishedWork=n:fr(e,n,t))):(n=e.finishedWork,null!==n?fr(e,n,t):null!==(n=Zn(e,t,!1))&&fr(e,n,t)),ms=!1}function fr(e,t,n){var i=e.firstBatch;if(null!==i&&i._expirationTime<=n&&(null===Ss?Ss=[i]:Ss.push(i),i._defer))return e.finishedWork=t,void(e.remainingExpirationTime=0);if(e.finishedWork=null,ls=ts=!0,n=t.stateNode,n.current===t&&r("177"),i=n.pendingCommitExpirationTime,0===i&&r("261"),n.pendingCommitExpirationTime=0,er(),Bi.current=null,1<t.effectTag)if(null!==t.lastEffect){t.lastEffect.nextEffect=t;var o=t.firstEffect}else o=t;else o=t.firstEffect;wa=Ro;var a=Br();if(Ze(a)){if("selectionStart"in a)var s={start:a.selectionStart,end:a.selectionEnd};else e:{var l=window.getSelection&&window.getSelection();if(l&&0!==l.rangeCount){s=l.anchorNode;var u=l.anchorOffset,c=l.focusNode;l=l.focusOffset;try{s.nodeType,c.nodeType}catch(e){s=null;break e}var d=0,f=-1,h=-1,p=0,m=0,g=a,v=null;t:for(;;){for(var y;g!==s||0!==u&&3!==g.nodeType||(f=d+u),g!==c||0!==l&&3!==g.nodeType||(h=d+l),3===g.nodeType&&(d+=g.nodeValue.length),null!==(y=g.firstChild);)v=g,g=y;for(;;){if(g===a)break t;if(v===s&&++p===u&&(f=d),v===c&&++m===l&&(h=d),null!==(y=g.nextSibling))break;g=v,v=g.parentNode}g=y}s=-1===f||-1===h?null:{start:f,end:h}}else s=null}s=s||{start:0,end:0}}else s=null;for(Ea={focusedElem:a,selectionRange:s},ze(!1),ss=o;null!==ss;){a=!1,s=void 0;try{for(;null!==ss;){if(256&ss.effectTag){var b=ss.alternate;switch(u=ss,u.tag){case 2:if(256&u.effectTag&&null!==b){var w=b.memoizedProps,E=b.memoizedState,T=u.stateNode;T.props=u.memoizedProps,T.state=u.memoizedState;var _=T.getSnapshotBeforeUpdate(w,E);T.__reactInternalSnapshotBeforeUpdate=_}break;case 3:case 5:case 6:case 4:break;default:r("163")}}ss=ss.nextEffect}}catch(e){a=!0,s=e}a&&(null===ss&&r("178"),Xn(ss,s),null!==ss&&(ss=ss.nextEffect))}for(ss=o;null!==ss;){b=!1,w=void 0;try{for(;null!==ss;){var k=ss.effectTag;if(16&k&&st(ss.stateNode,""),128&k){var x=ss.alternate;if(null!==x){var S=x.ref;null!==S&&("function"===typeof S?S(null):S.current=null)}}switch(14&k){case 2:Bn(ss),ss.effectTag&=-3;break;case 6:Bn(ss),ss.effectTag&=-3,zn(ss.alternate,ss);break;case 4:zn(ss.alternate,ss);break;case 8:E=ss,Fn(E),E.return=null,E.child=null,E.alternate&&(E.alternate.child=null,E.alternate.return=null)}ss=ss.nextEffect}}catch(e){b=!0,w=e}b&&(null===ss&&r("178"),Xn(ss,w),null!==ss&&(ss=ss.nextEffect))}if(S=Ea,x=Br(),k=S.focusedElem,b=S.selectionRange,x!==k&&zr(document.documentElement,k)){null!==b&&Ze(k)&&(x=b.start,S=b.end,void 0===S&&(S=x),"selectionStart"in k?(k.selectionStart=x,k.selectionEnd=Math.min(S,k.value.length)):window.getSelection&&(x=window.getSelection(),w=k[N()].length,S=Math.min(b.start,w),b=void 0===b.end?S:Math.min(b.end,w),!x.extend&&S>b&&(w=b,b=S,S=w),w=Ye(k,S),E=Ye(k,b),w&&E&&(1!==x.rangeCount||x.anchorNode!==w.node||x.anchorOffset!==w.offset||x.focusNode!==E.node||x.focusOffset!==E.offset)&&(T=document.createRange(),T.setStart(w.node,w.offset),x.removeAllRanges(),S>b?(x.addRange(T),x.extend(E.node,E.offset)):(T.setEnd(E.node,E.offset),x.addRange(T))))),x=[];for(S=k;S=S.parentNode;)1===S.nodeType&&x.push({element:S,left:S.scrollLeft,top:S.scrollTop});for("function"===typeof k.focus&&k.focus(),k=0;k<x.length;k++)S=x[k],S.element.scrollLeft=S.left,S.element.scrollTop=S.top}for(Ea=null,ze(wa),wa=null,n.current=t,ss=o;null!==ss;){o=!1,k=void 0;try{for(x=i;null!==ss;){var C=ss.effectTag;if(36&C){var O=ss.alternate;switch(S=ss,b=x,S.tag){case 2:var A=S.stateNode;if(4&S.effectTag)if(null===O)A.props=S.memoizedProps,A.state=S.memoizedState,A.componentDidMount();else{var P=O.memoizedProps,I=O.memoizedState;A.props=S.memoizedProps,A.state=S.memoizedState,A.componentDidUpdate(P,I,A.__reactInternalSnapshotBeforeUpdate)}var R=S.updateQueue;null!==R&&(A.props=S.memoizedProps,A.state=S.memoizedState,nn(S,R,A,b));break;case 3:var M=S.updateQueue;if(null!==M){if(w=null,null!==S.child)switch(S.child.tag){case 5:w=S.child.stateNode;break;case 2:w=S.child.stateNode}nn(S,M,w,b)}break;case 5:var D=S.stateNode;null===O&&4&S.effectTag&&bt(S.type,S.memoizedProps)&&D.focus();break;case 6:case 4:case 15:case 16:break;default:r("163")}}if(128&C){S=void 0;var L=ss.ref;if(null!==L){var j=ss.stateNode;switch(ss.tag){case 5:S=j;break;default:S=j}"function"===typeof L?L(S):L.current=S}}var W=ss.nextEffect;ss.nextEffect=null,ss=W}}catch(e){o=!0,k=e}o&&(null===ss&&r("178"),Xn(ss,k),null!==ss&&(ss=ss.nextEffect))}ts=ls=!1,"function"===typeof Gt&&Gt(t.stateNode),t=n.current.expirationTime,0===t&&(cs=null),e.remainingExpirationTime=t}function hr(){return!(null===Ts||Ts.timeRemaining()>As)&&(bs=!0)}function pr(e){null===gs&&r("246"),gs.remainingExpirationTime=0,ws||(ws=!0,Es=e)}function mr(e){null===gs&&r("246"),gs.remainingExpirationTime=e}function gr(e,t){var n=_s;_s=!0;try{return e(t)}finally{(_s=n)||ms||sr()}}function vr(e,t){if(_s&&!ks){ks=!0;try{return e(t)}finally{ks=!1}}return e(t)}function yr(e,t){ms&&r("187");var n=_s;_s=!0;try{return nr(e,t)}finally{_s=n,sr()}}function br(e,t,n){if(xs)return e(t,n);_s||ms||0===ys||(lr(ys,!1,null),ys=0);var r=xs,i=_s;_s=xs=!0;try{return e(t,n)}finally{xs=r,(_s=i)||ms||sr()}}function wr(e){var t=_s;_s=!0;try{nr(e)}finally{(_s=t)||ms||lr(1,!1,null)}}function Er(e,t,n,i,o){var a=t.current;if(n){n=n._reactInternalFiber;var s;e:{for(2===Ne(n)&&2===n.tag||r("170"),s=n;3!==s.tag;){if(Ot(s)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}(s=s.return)||r("171")}s=s.stateNode.context}n=Ot(n)?Rt(n,s):s}else n=Ur;return null===t.context?t.context=n:t.pendingContext=n,t=o,o=Yt(i),o.payload={element:e},t=void 0===t?null:t,null!==t&&(o.callback=t),Xt(a,o,i),Jn(a,i),i}function Tr(e){var t=e._reactInternalFiber;return void 0===t&&("function"===typeof e.render?r("188"):r("268",Object.keys(e))),e=Le(t),null===e?null:e.stateNode}function _r(e,t,n,r){var i=t.current;return i=$n(er(),i),Er(e,t,n,i,r)}function kr(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function xr(e){var t=e.findFiberByHostInstance;return Ht(jr({},e,{findHostInstanceByFiber:function(e){return e=Le(e),null===e?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}function Sr(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ui,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Cr(e){this._expirationTime=Qn(),this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Or(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Ar(e,t,n){this._internalRoot=zt(e,t,n)}function Pr(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ir(e,t){if(t||(t=e?9===e.nodeType?e.documentElement:e.firstChild:null,t=!(!t||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Ar(e,!1,t)}function Rr(e,t,n,i,o){Pr(n)||r("200");var a=n._reactRootContainer;if(a){if("function"===typeof o){var s=o;o=function(){var e=kr(a._internalRoot);s.call(e)}}null!=e?a.legacy_renderSubtreeIntoContainer(e,t,o):a.render(t,o)}else{if(a=n._reactRootContainer=Ir(n,i),"function"===typeof o){var l=o;o=function(){var e=kr(a._internalRoot);l.call(e)}}vr(function(){null!=e?a.legacy_renderSubtreeIntoContainer(e,t,o):a.render(t,o)})}return kr(a._internalRoot)}function Nr(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return Pr(t)||r("200"),Sr(e,t,null,n)}var Mr=n(92),Dr=n(1),Lr=n(276),jr=n(70),Wr=n(93),Br=n(277),Fr=n(94),zr=n(278),Ur=n(147);Dr||r("227");var Hr={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,invokeGuardedCallback:function(e,t,n,r,o,a,s,l,u){i.apply(Hr,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,r,i,o,a,s,l){if(Hr.invokeGuardedCallback.apply(this,arguments),Hr.hasCaughtError()){var u=Hr.clearCaughtError();Hr._hasRethrowError||(Hr._hasRethrowError=!0,Hr._rethrowError=u)}},rethrowCaughtError:function(){return o.apply(Hr,arguments)},hasCaughtError:function(){return Hr._hasCaughtError},clearCaughtError:function(){if(Hr._hasCaughtError){var e=Hr._caughtError;return Hr._caughtError=null,Hr._hasCaughtError=!1,e}r("198")}},Gr=null,qr={},Vr=[],Kr={},Yr={},Zr={},Xr={plugins:Vr,eventNameDispatchConfigs:Kr,registrationNameModules:Yr,registrationNameDependencies:Zr,possibleRegistrationNames:null,injectEventPluginOrder:l,injectEventPluginsByName:u},Qr=null,$r=null,Jr=null,ei=null,ti={injectEventPluginOrder:l,injectEventPluginsByName:u},ni={injection:ti,getListener:g,runEventsInBatch:v,runExtractedEventsInBatch:y},ri=Math.random().toString(36).slice(2),ii="__reactInternalInstance$"+ri,oi="__reactEventHandlers$"+ri,ai={precacheFiberNode:function(e,t){t[ii]=e},getClosestInstanceFromNode:b,getInstanceFromNode:function(e){return e=e[ii],!e||5!==e.tag&&6!==e.tag?null:e},getNodeFromInstance:w,getFiberCurrentPropsFromNode:E,updateFiberProps:function(e,t){e[oi]=t}},si={accumulateTwoPhaseDispatches:A,accumulateTwoPhaseDispatchesSkipTarget:function(e){f(e,S)},accumulateEnterLeaveDispatches:P,accumulateDirectDispatches:function(e){f(e,O)}},li={animationend:I("Animation","AnimationEnd"),animationiteration:I("Animation","AnimationIteration"),animationstart:I("Animation","AnimationStart"),transitionend:I("Transition","TransitionEnd")},ui={},ci={};Lr.canUseDOM&&(ci=document.createElement("div").style,"AnimationEvent"in window||(delete li.animationend.animation,delete li.animationiteration.animation,delete li.animationstart.animation),"TransitionEvent"in window||delete li.transitionend.transition);var di=R("animationend"),fi=R("animationiteration"),hi=R("animationstart"),pi=R("transitionend"),mi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),gi=null,vi={_root:null,_startText:null,_fallbackText:null},yi="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),bi={type:null,target:null,currentTarget:Wr.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};jr(L.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Wr.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Wr.thatReturnsTrue)},persist:function(){this.isPersistent=Wr.thatReturnsTrue},isPersistent:Wr.thatReturnsFalse,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;t<yi.length;t++)this[yi[t]]=null}}),L.Interface=bi,L.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return jr(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=jr({},r.Interface,e),n.extend=r.extend,B(n),n},B(L);var wi=L.extend({data:null}),Ei=L.extend({data:null}),Ti=[9,13,27,32],_i=Lr.canUseDOM&&"CompositionEvent"in window,ki=null;Lr.canUseDOM&&"documentMode"in document&&(ki=document.documentMode);var xi=Lr.canUseDOM&&"TextEvent"in window&&!ki,Si=Lr.canUseDOM&&(!_i||ki&&8<ki&&11>=ki),Ci=String.fromCharCode(32),Oi={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Ai=!1,Pi=!1,Ii={eventTypes:Oi,extractEvents:function(e,t,n,r){var i=void 0,o=void 0;if(_i)e:{switch(e){case"compositionstart":i=Oi.compositionStart;break e;case"compositionend":i=Oi.compositionEnd;break e;case"compositionupdate":i=Oi.compositionUpdate;break e}i=void 0}else Pi?F(e,n)&&(i=Oi.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=Oi.compositionStart);return i?(Si&&(Pi||i!==Oi.compositionStart?i===Oi.compositionEnd&&Pi&&(o=M()):(vi._root=r,vi._startText=D(),Pi=!0)),i=wi.getPooled(i,t,n,r),o?i.data=o:null!==(o=z(n))&&(i.data=o),A(i),o=i):o=null,(e=xi?U(e,n):H(e,n))?(t=Ei.getPooled(Oi.beforeInput,t,n,r),t.data=e,A(t)):t=null,null===o?t:null===t?o:[o,t]}},Ri=null,Ni={injectFiberControlledHostComponent:function(e){Ri=e}},Mi=null,Di=null,Li={injection:Ni,enqueueStateRestore:q,needsStateRestore:V,restoreStateIfNeeded:K},ji=!1,Wi={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Bi=Dr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Fi="function"===typeof Symbol&&Symbol.for,zi=Fi?Symbol.for("react.element"):60103,Ui=Fi?Symbol.for("react.portal"):60106,Hi=Fi?Symbol.for("react.fragment"):60107,Gi=Fi?Symbol.for("react.strict_mode"):60108,qi=Fi?Symbol.for("react.profiler"):60114,Vi=Fi?Symbol.for("react.provider"):60109,Ki=Fi?Symbol.for("react.context"):60110,Yi=Fi?Symbol.for("react.async_mode"):60111,Zi=Fi?Symbol.for("react.forward_ref"):60112,Xi=Fi?Symbol.for("react.timeout"):60113,Qi="function"===typeof Symbol&&Symbol.iterator,$i=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ji=Object.prototype.hasOwnProperty,eo={},to={},no={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){no[e]=new de(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];no[t]=new de(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){no[e]=new de(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){no[e]=new de(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){no[e]=new de(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){no[e]=new de(e,3,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){no[e]=new de(e,4,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){no[e]=new de(e,6,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){no[e]=new de(e,5,!1,e.toLowerCase(),null)});var ro=/[\-:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ro,fe);no[t]=new de(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ro,fe);no[t]=new de(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ro,fe);no[t]=new de(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),no.tabIndex=new de("tabIndex",1,!1,"tabindex",null);var io={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},oo=null,ao=null,so=!1;Lr.canUseDOM&&(so=ee("input")&&(!document.documentMode||9<document.documentMode));var lo={eventTypes:io,_isInputEventSupported:so,extractEvents:function(e,t,n,r){var i=t?w(t):window,o=void 0,a=void 0,s=i.nodeName&&i.nodeName.toLowerCase();if("select"===s||"input"===s&&"file"===i.type?o=ke:$(i)?so?o=Pe:(o=Oe,a=Ce):(s=i.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(o=Ae),o&&(o=o(e,t)))return Ee(o,n,r);a&&a(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&be(i,"number",i.value)}},uo=L.extend({view:null,detail:null}),co={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},fo=uo.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Re,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)}}),ho=fo.extend({pointerId:null,width:null,height:null,pressure:null,tiltX:null,tiltY:null,pointerType:null,isPrimary:null}),po={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},mo={eventTypes:po,extractEvents:function(e,t,n,r){var i="mouseover"===e||"pointerover"===e,o="mouseout"===e||"pointerout"===e;if(i&&(n.relatedTarget||n.fromElement)||!o&&!i)return null;if(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,o?(o=t,t=(t=n.relatedTarget||n.toElement)?b(t):null):o=null,o===t)return null;var a=void 0,s=void 0,l=void 0,u=void 0;return"mouseout"===e||"mouseover"===e?(a=fo,s=po.mouseLeave,l=po.mouseEnter,u="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=ho,s=po.pointerLeave,l=po.pointerEnter,u="pointer"),e=null==o?i:w(o),i=null==t?i:w(t),s=a.getPooled(s,o,n,r),s.type=u+"leave",s.target=e,s.relatedTarget=i,n=a.getPooled(l,t,n,r),n.type=u+"enter",n.target=i,n.relatedTarget=e,P(s,n,o,t),[s,n]}},go=L.extend({animationName:null,elapsedTime:null,pseudoElement:null}),vo=L.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yo=uo.extend({relatedTarget:null}),bo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wo={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Eo=uo.extend({key:function(e){if(e.key){var t=bo[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?(e=We(e),13===e?"Enter":String.fromCharCode(e)):"keydown"===e.type||"keyup"===e.type?wo[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Re,charCode:function(e){return"keypress"===e.type?We(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?We(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),To=fo.extend({dataTransfer:null}),_o=uo.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Re}),ko=L.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),xo=fo.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),So=[["abort","abort"],[di,"animationEnd"],[fi,"animationIteration"],[hi,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[pi,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],Co={},Oo={};[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(e){Be(e,!0)}),So.forEach(function(e){Be(e,!1)});var Ao={eventTypes:Co,isInteractiveTopLevelEventType:function(e){return void 0!==(e=Oo[e])&&!0===e.isInteractive},extractEvents:function(e,t,n,r){var i=Oo[e];if(!i)return null;switch(e){case"keypress":if(0===We(n))return null;case"keydown":case"keyup":e=Eo;break;case"blur":case"focus":e=yo;break;case"click":if(2===n.button)return null;case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=fo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=To;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=_o;break;case di:case fi:case hi:e=go;break;case pi:e=ko;break;case"scroll":e=uo;break;case"wheel":e=xo;break;case"copy":case"cut":case"paste":e=vo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=ho;break;default:e=L}return t=e.getPooled(i,t,n,r),A(t),t}},Po=Ao.isInteractiveTopLevelEventType,Io=[],Ro=!0,No={get _enabled(){return Ro},setEnabled:ze,isEnabled:function(){return Ro},trapBubbledEvent:Ue,trapCapturedEvent:He,dispatchEvent:qe},Mo={},Do=0,Lo="_reactListenersID"+(""+Math.random()).slice(2),jo=Lr.canUseDOM&&"documentMode"in document&&11>=document.documentMode,Wo={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Bo=null,Fo=null,zo=null,Uo=!1,Ho={eventTypes:Wo,extractEvents:function(e,t,n,r){var i,o=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(i=!o)){e:{o=Ve(o),i=Zr.onSelect;for(var a=0;a<i.length;a++){var s=i[a];if(!o.hasOwnProperty(s)||!o[s]){o=!1;break e}}o=!0}i=!o}if(i)return null;switch(o=t?w(t):window,e){case"focus":($(o)||"true"===o.contentEditable)&&(Bo=o,Fo=t,zo=null);break;case"blur":zo=Fo=Bo=null;break;case"mousedown":Uo=!0;break;case"contextmenu":case"mouseup":return Uo=!1,Xe(n,r);case"selectionchange":if(jo)break;case"keydown":case"keyup":return Xe(n,r)}return null}};ti.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),Qr=ai.getFiberCurrentPropsFromNode,$r=ai.getInstanceFromNode,Jr=ai.getNodeFromInstance,ti.injectEventPluginsByName({SimpleEventPlugin:Ao,EnterLeaveEventPlugin:mo,ChangeEventPlugin:lo,SelectEventPlugin:Ho,BeforeInputEventPlugin:Ii});var Go="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,qo=Date,Vo=setTimeout,Ko=clearTimeout,Yo=void 0;if("object"===typeof performance&&"function"===typeof performance.now){var Zo=performance;Yo=function(){return Zo.now()}}else Yo=function(){return qo.now()};var Xo=void 0,Qo=void 0;if(Lr.canUseDOM){var $o="function"===typeof Go?Go:function(){r("276")},Jo=null,ea=null,ta=-1,na=!1,ra=!1,ia=0,oa=33,aa=33,sa={didTimeout:!1,timeRemaining:function(){var e=ia-Yo();return 0<e?e:0}},la=function(e,t){var n=e.scheduledCallback,r=!1;try{n(t),r=!0}finally{Qo(e),r||(na=!0,window.postMessage(ua,"*"))}},ua="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(e){if(e.source===window&&e.data===ua&&(na=!1,null!==Jo)){if(null!==Jo){var t=Yo();if(!(-1===ta||ta>t)){e=-1;for(var n=[],r=Jo;null!==r;){var i=r.timeoutTime;-1!==i&&i<=t?n.push(r):-1!==i&&(-1===e||i<e)&&(e=i),r=r.next}if(0<n.length)for(sa.didTimeout=!0,t=0,r=n.length;t<r;t++)la(n[t],sa);ta=e}}for(e=Yo();0<ia-e&&null!==Jo;)e=Jo,sa.didTimeout=!1,la(e,sa),e=Yo();null===Jo||ra||(ra=!0,$o(ca))}},!1);var ca=function(e){ra=!1;var t=e-ia+aa;t<aa&&oa<aa?(8>t&&(t=8),aa=t<oa?oa:t):oa=t,ia=e+aa,na||(na=!0,window.postMessage(ua,"*"))};Xo=function(e,t){var n=-1;return null!=t&&"number"===typeof t.timeout&&(n=Yo()+t.timeout),(-1===ta||-1!==n&&n<ta)&&(ta=n),e={scheduledCallback:e,timeoutTime:n,prev:null,next:null},null===Jo?Jo=e:null!==(t=e.prev=ea)&&(t.next=e),ea=e,ra||(ra=!0,$o(ca)),e},Qo=function(e){if(null!==e.prev||Jo===e){var t=e.next,n=e.prev;e.next=null,e.prev=null,null!==t?null!==n?(n.next=t,t.prev=n):(t.prev=null,Jo=t):null!==n?(n.next=null,ea=n):ea=Jo=null}}}else{var da=new Map;Xo=function(e){var t={scheduledCallback:e,timeoutTime:0,next:null,prev:null},n=Vo(function(){e({timeRemaining:function(){return 1/0},didTimeout:!1})});return da.set(e,n),t},Qo=function(e){var t=da.get(e.scheduledCallback);da.delete(e),Ko(t)}}var fa={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},ha=void 0,pa=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if(e.namespaceURI!==fa.svg||"innerHTML"in e)e.innerHTML=t;else{for(ha=ha||document.createElement("div"),ha.innerHTML="<svg>"+t+"</svg>",t=ha.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),ma={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ga=["Webkit","ms","Moz","O"];Object.keys(ma).forEach(function(e){ga.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ma[t]=ma[e]})});var va=jr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),ya=Wr.thatReturns(""),ba={createElement:ft,createTextNode:ht,setInitialProperties:pt,diffProperties:mt,updateProperties:gt,diffHydratedProperties:vt,diffHydratedText:yt,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(e,t,n){switch(t){case"input":if(ve(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var o=E(i);o||r("90"),ie(i),ve(i,o)}}}break;case"textarea":rt(e,n);break;case"select":null!=(t=n.value)&&Je(e,!!n.multiple,t,!1)}}},wa=null,Ea=null,Ta=Yo,_a=Xo,ka=Qo;new Set;var xa=[],Sa=-1,Ca=_t(Ur),Oa=_t(!1),Aa=Ur,Pa=null,Ia=null,Ra=!1,Na=_t(null),Ma=_t(null),Da=_t(0),La={},ja=_t(La),Wa=_t(La),Ba=_t(La),Fa={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===Ne(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=er();r=$n(r,e);var i=Yt(r);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),Xt(e,i,r),Jn(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=er();r=$n(r,e);var i=Yt(r);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),Xt(e,i,r),Jn(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=er();n=$n(n,e);var r=Yt(n);r.tag=2,void 0!==t&&null!==t&&(r.callback=t),Xt(e,r,n),Jn(e,n)}},za=Array.isArray,Ua=vn(!0),Ha=vn(!1),Ga=null,qa=null,Va=!1,Ka=void 0,Ya=void 0,Za=void 0;Ka=function(){},Ya=function(e,t,n){(t.updateQueue=n)&&Nn(t)},Za=function(e,t,n,r){n!==r&&Nn(t)};var Xa=Ta(),Qa=2,$a=Xa,Ja=0,es=0,ts=!1,ns=null,rs=null,is=0,os=-1,as=!1,ss=null,ls=!1,us=!1,cs=null,ds=null,fs=null,hs=0,ps=void 0,ms=!1,gs=null,vs=0,ys=0,bs=!1,ws=!1,Es=null,Ts=null,_s=!1,ks=!1,xs=!1,Ss=null,Cs=1e3,Os=0,As=1,Ps={updateContainerAtExpirationTime:Er,createContainer:function(e,t,n){return zt(e,t,n)},updateContainer:_r,flushRoot:ur,requestWork:ir,computeUniqueAsyncExpiration:Qn,batchedUpdates:gr,unbatchedUpdates:vr,deferredUpdates:tr,syncUpdates:nr,interactiveUpdates:br,flushInteractiveUpdates:function(){ms||0===ys||(lr(ys,!1,null),ys=0)},flushControlled:wr,flushSync:yr,getPublicRootInstance:kr,findHostInstance:Tr,findHostInstanceWithNoPortals:function(e){return e=je(e),null===e?null:e.stateNode},injectIntoDevTools:xr};Ni.injectFiberControlledHostComponent(ba),Cr.prototype.render=function(e){this._defer||r("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,i=new Or;return Er(e,t,null,n,i._onCommit),i},Cr.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Cr.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||r("251"),this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var i=null,o=t;o!==this;)i=o,o=o._next;null===i&&r("251"),i._next=o._next,this._next=t,e.firstBatch=this}this._defer=!1,ur(e,n),t=this._next,this._next=null,t=e.firstBatch=t,null!==t&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},Cr.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},Or.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Or.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!==typeof n&&r("191",n),n()}}},Ar.prototype.render=function(e,t){var n=this._internalRoot,r=new Or;return t=void 0===t?null:t,null!==t&&r.then(t),_r(e,n,null,r._onCommit),r},Ar.prototype.unmount=function(e){var t=this._internalRoot,n=new Or;return e=void 0===e?null:e,null!==e&&n.then(e),_r(null,t,null,n._onCommit),n},Ar.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var r=this._internalRoot,i=new Or;return n=void 0===n?null:n,null!==n&&i.then(n),_r(t,r,e,i._onCommit),i},Ar.prototype.createBatch=function(){var e=new Cr(this),t=e._expirationTime,n=this._internalRoot,r=n.firstBatch;if(null===r)n.firstBatch=e,e._next=null;else{for(n=null;null!==r&&r._expirationTime<=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},Y=Ps.batchedUpdates,Z=Ps.interactiveUpdates,X=Ps.flushInteractiveUpdates;var Is={createPortal:Nr,findDOMNode:function(e){return null==e?null:1===e.nodeType?e:Tr(e)},hydrate:function(e,t,n){return Rr(null,e,t,!0,n)},render:function(e,t,n){return Rr(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,i){return(null==e||void 0===e._reactInternalFiber)&&r("38"),Rr(e,t,n,!1,i)},unmountComponentAtNode:function(e){return Pr(e)||r("40"),!!e._reactRootContainer&&(vr(function(){Rr(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return Nr.apply(void 0,arguments)},unstable_batchedUpdates:gr,unstable_deferredUpdates:tr,unstable_interactiveUpdates:br,flushSync:yr,unstable_flushControlled:wr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:ni,EventPluginRegistry:Xr,EventPropagators:si,ReactControlledComponent:Li,ReactDOMComponentTree:ai,ReactDOMEventListener:No},unstable_createRoot:function(e,t){return new Ar(e,!0,null!=t&&!0===t.hydrate)}};xr({findFiberByHostInstance:b,bundleType:0,version:"16.4.2",rendererPackageName:"react-dom"});var Rs={default:Is},Ns=Rs&&Is||Rs;e.exports=Ns.default?Ns.default:Ns},function(e,t,n){"use strict";var r=!("undefined"===typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=i},function(e,t,n){"use strict";function r(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=r},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!i(e)&&(i(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var i=n(279);e.exports=r},function(e,t,n){"use strict";function r(e){return i(e)&&3==e.nodeType}var i=n(280);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"===typeof n.Node?e instanceof n.Node:"object"===typeof e&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){function r(){}function i(e,t){return function(){e.apply(t,arguments)}}function o(e){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!==typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this)}function a(e,t){for(;3===e._state;)e=e._value;if(0===e._state)return void e._deferreds.push(t);e._handled=!0,o._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null===n)return void(1===e._state?s:l)(t.promise,e._value);var r;try{r=n(e._value)}catch(e){return void l(t.promise,e)}s(t.promise,r)})}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===typeof t||"function"===typeof t)){var n=t.then;if(t instanceof o)return e._state=3,e._value=t,void u(e);if("function"===typeof n)return void d(i(n,t),e)}e._state=1,e._value=t,u(e)}catch(t){l(e,t)}}function l(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&o._immediateFn(function(){e._handled||o._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)a(e,e._deferreds[t]);e._deferreds=null}function c(e,t,n){this.onFulfilled="function"===typeof e?e:null,this.onRejected="function"===typeof t?t:null,this.promise=n}function d(e,t){var n=!1;try{e(function(e){n||(n=!0,s(t,e))},function(e){n||(n=!0,l(t,e))})}catch(e){if(n)return;n=!0,l(t,e)}}function f(e,t){return t={exports:{}},e(t,t.exports),t.exports}var h=n(284),p=(n.n(h),setTimeout);o.prototype.catch=function(e){return this.then(null,e)},o.prototype.then=function(e,t){var n=new this.constructor(r);return a(this,new c(e,t,n)),n},o.prototype.finally=function(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){return t.reject(n)})})},o.all=function(e){return new o(function(t,n){function r(e,a){try{if(a&&("object"===typeof a||"function"===typeof a)){var s=a.then;if("function"===typeof s)return void s.call(a,function(t){r(e,t)},n)}i[e]=a,0===--o&&t(i)}catch(e){n(e)}}if(!e||"undefined"===typeof e.length)throw new TypeError("Promise.all accepts an array");var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var o=i.length,a=0;a<i.length;a++)r(a,i[a])})},o.resolve=function(e){return e&&"object"===typeof e&&e.constructor===o?e:new o(function(t){t(e)})},o.reject=function(e){return new o(function(t,n){n(e)})},o.race=function(e){return new o(function(t,n){for(var r=0,i=e.length;r<i;r++)e[r].then(t,n)})},o._immediateFn="function"===typeof e&&function(t){e(t)}||function(e){p(e,0)},o._unhandledRejectionFn=function(e){"undefined"!==typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var m=function(){if("undefined"!==typeof self)return self;if("undefined"!==typeof window)return window;if("undefined"!==typeof t)return t;throw new Error("unable to locate global object")}();m.Promise||(m.Promise=o);var g=f(function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),v=f(function(e){var t=e.exports={version:"2.5.5"};"number"==typeof __e&&(__e=t)}),y=(v.version,function(e){return"object"===typeof e?null!==e:"function"===typeof e}),b=function(e){if(!y(e))throw TypeError(e+" is not an object!");return e},w=function(e){try{return!!e()}catch(e){return!0}},E=!w(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),T=g.document,_=y(T)&&y(T.createElement),k=function(e){return _?T.createElement(e):{}},x=!E&&!w(function(){return 7!=Object.defineProperty(k("div"),"a",{get:function(){return 7}}).a}),S=function(e,t){if(!y(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!y(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},C=Object.defineProperty,O=E?Object.defineProperty:function(e,t,n){if(b(e),t=S(t,!0),b(n),x)try{return C(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e},A={f:O},P=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},I=E?function(e,t,n){return A.f(e,t,P(1,n))}:function(e,t,n){return e[t]=n,e},R={}.hasOwnProperty,N=function(e,t){return R.call(e,t)},M=0,D=Math.random(),L=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++M+D).toString(36))},j=f(function(e){var t=L("src"),n=Function.toString,r=(""+n).split("toString");v.inspectSource=function(e){return n.call(e)},(e.exports=function(e,n,i,o){var a="function"==typeof i;a&&(N(i,"name")||I(i,"name",n)),e[n]!==i&&(a&&(N(i,t)||I(i,t,e[n]?""+e[n]:r.join(String(n)))),e===g?e[n]=i:o?e[n]?e[n]=i:I(e,n,i):(delete e[n],I(e,n,i)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[t]||n.call(this)})}),W=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},B=function(e,t,n){if(W(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},F=function(e,t,n){var r,i,o,a,s=e&F.F,l=e&F.G,u=e&F.S,c=e&F.P,d=e&F.B,f=l?g:u?g[t]||(g[t]={}):(g[t]||{}).prototype,h=l?v:v[t]||(v[t]={}),p=h.prototype||(h.prototype={});l&&(n=t);for(r in n)i=!s&&f&&void 0!==f[r],o=(i?f:n)[r],a=d&&i?B(o,g):c&&"function"==typeof o?B(Function.call,o):o,f&&j(f,r,o,e&F.U),h[r]!=o&&I(h,r,a),c&&p[r]!=o&&(p[r]=o)};g.core=v,F.F=1,F.G=2,F.S=4,F.P=8,F.B=16,F.W=32,F.U=64,F.R=128;var z=F,U={}.toString,H=function(e){return U.call(e).slice(8,-1)},G=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==H(e)?e.split(""):Object(e)},q=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},V=function(e){return Object(q(e))},K=Math.ceil,Y=Math.floor,Z=function(e){return isNaN(e=+e)?0:(e>0?Y:K)(e)},X=Math.min,Q=function(e){return e>0?X(Z(e),9007199254740991):0},$=Array.isArray||function(e){return"Array"==H(e)},J=g["__core-js_shared__"]||(g["__core-js_shared__"]={}),ee=function(e){return J[e]||(J[e]={})},te=f(function(e){var t=ee("wks"),n=g.Symbol,r="function"==typeof n;(e.exports=function(e){return t[e]||(t[e]=r&&n[e]||(r?n:L)("Symbol."+e))}).store=t}),ne=te("species"),re=function(e){var t;return $(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!$(t.prototype)||(t=void 0),y(t)&&null===(t=t[ne])&&(t=void 0)),void 0===t?Array:t},ie=function(e,t){return new(re(e))(t)},oe=function(e,t){var n=1==e,r=2==e,i=3==e,o=4==e,a=6==e,s=5==e||a,l=t||ie;return function(t,u,c){for(var d,f,h=V(t),p=G(h),m=B(u,c,3),g=Q(p.length),v=0,y=n?l(t,g):r?l(t,0):void 0;g>v;v++)if((s||v in p)&&(d=p[v],f=m(d,v,h),e))if(n)y[v]=f;else if(f)switch(e){case 3:return!0;case 5:return d;case 6:return v;case 2:y.push(d)}else if(o)return!1;return a?-1:i||o?o:y}},ae=te("unscopables"),se=Array.prototype;void 0==se[ae]&&I(se,ae,{});var le=function(e){se[ae][e]=!0},ue=oe(5),ce=!0;"find"in[]&&Array(1).find(function(){ce=!1}),z(z.P+z.F*ce,"Array",{find:function(e){return ue(this,e,arguments.length>1?arguments[1]:void 0)}}),le("find");var de=(v.Array.find,oe(6)),fe=!0;"findIndex"in[]&&Array(1).findIndex(function(){fe=!1}),z(z.P+z.F*fe,"Array",{findIndex:function(e){return de(this,e,arguments.length>1?arguments[1]:void 0)}}),le("findIndex");var he=(v.Array.findIndex,function(e){return G(q(e))}),pe=Math.max,me=Math.min,ge=function(e,t){return e=Z(e),e<0?pe(e+t,0):me(e,t)},ve=ee("keys"),ye=function(e){return ve[e]||(ve[e]=L(e))},be=function(e){return function(t,n,r){var i,o=he(t),a=Q(o.length),s=ge(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}}(!1),we=ye("IE_PROTO"),Ee=function(e,t){var n,r=he(e),i=0,o=[];for(n in r)n!=we&&N(r,n)&&o.push(n);for(;t.length>i;)N(r,n=t[i++])&&(~be(o,n)||o.push(n));return o},Te="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),_e=Object.keys||function(e){return Ee(e,Te)},ke=Object.getOwnPropertySymbols,xe={f:ke},Se={}.propertyIsEnumerable,Ce={f:Se},Oe=Object.assign,Ae=!Oe||w(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=Oe({},e)[n]||Object.keys(Oe({},t)).join("")!=r})?function(e,t){for(var n=V(e),r=arguments.length,i=1,o=xe.f,a=Ce.f;r>i;)for(var s,l=G(arguments[i++]),u=o?_e(l).concat(o(l)):_e(l),c=u.length,d=0;c>d;)a.call(l,s=u[d++])&&(n[s]=l[s]);return n}:Oe;z(z.S+z.F,"Object",{assign:Ae});var Pe=(v.Object.assign,te("match")),Ie=function(e){var t;return y(e)&&(void 0!==(t=e[Pe])?!!t:"RegExp"==H(e))},Re=function(e,t,n){if(Ie(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(q(e))},Ne=te("match"),Me="".startsWith;z(z.P+z.F*function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Ne]=!1,!"/./"[e](t)}catch(e){}}return!0}("startsWith"),"String",{startsWith:function(e){var t=Re(this,e,"startsWith"),n=Q(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return Me?Me.call(t,r,n):t.slice(n,n+r.length)===r}});var De=(v.String.startsWith,function(e){var t=String(q(this)),n="",r=Z(e);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n});z(z.P,"String",{repeat:De});var Le=(v.String.repeat,f(function(e){var t=L("meta"),n=A.f,r=0,i=Object.isExtensible||function(){return!0},o=!w(function(){return i(Object.preventExtensions({}))}),a=function(e){n(e,t,{value:{i:"O"+ ++r,w:{}}})},s=function(e,n){if(!y(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!N(e,t)){if(!i(e))return"F";if(!n)return"E";a(e)}return e[t].i},l=function(e,n){if(!N(e,t)){if(!i(e))return!0;if(!n)return!1;a(e)}return e[t].w},u=function(e){return o&&c.NEED&&i(e)&&!N(e,t)&&a(e),e},c=e.exports={KEY:t,NEED:!1,fastKey:s,getWeak:l,onFreeze:u}})),je=(Le.KEY,Le.NEED,Le.fastKey,Le.getWeak,Le.onFreeze,A.f),We=te("toStringTag"),Be=function(e,t,n){e&&!N(e=n?e:e.prototype,We)&&je(e,We,{configurable:!0,value:t})},Fe=te,ze={f:Fe},Ue=A.f,He=function(e){var t=v.Symbol||(v.Symbol=g.Symbol||{});"_"==e.charAt(0)||e in t||Ue(t,e,{value:ze.f(e)})},Ge=function(e){var t=_e(e),n=xe.f;if(n)for(var r,i=n(e),o=Ce.f,a=0;i.length>a;)o.call(e,r=i[a++])&&t.push(r);return t},qe=E?Object.defineProperties:function(e,t){b(e);for(var n,r=_e(t),i=r.length,o=0;i>o;)A.f(e,n=r[o++],t[n]);return e},Ve=g.document,Ke=Ve&&Ve.documentElement,Ye=ye("IE_PROTO"),Ze=function(){},Xe=function(){var e,t=k("iframe"),n=Te.length;for(t.style.display="none",Ke.appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),Xe=e.F;n--;)delete Xe.prototype[Te[n]];return Xe()},Qe=Object.create||function(e,t){var n;return null!==e?(Ze.prototype=b(e),n=new Ze,Ze.prototype=null,n[Ye]=e):n=Xe(),void 0===t?n:qe(n,t)},$e=Te.concat("length","prototype"),Je=Object.getOwnPropertyNames||function(e){return Ee(e,$e)},et={f:Je},tt=et.f,nt={}.toString,rt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],it=function(e){try{return tt(e)}catch(e){return rt.slice()}},ot=function(e){return rt&&"[object Window]"==nt.call(e)?it(e):tt(he(e))},at={f:ot},st=Object.getOwnPropertyDescriptor,lt=E?st:function(e,t){if(e=he(e),t=S(t,!0),x)try{return st(e,t)}catch(e){}if(N(e,t))return P(!Ce.f.call(e,t),e[t])},ut={f:lt},ct=Le.KEY,dt=ut.f,ft=A.f,ht=at.f,pt=g.Symbol,mt=g.JSON,gt=mt&&mt.stringify,vt=te("_hidden"),yt=te("toPrimitive"),bt={}.propertyIsEnumerable,wt=ee("symbol-registry"),Et=ee("symbols"),Tt=ee("op-symbols"),_t=Object.prototype,kt="function"==typeof pt,xt=g.QObject,St=!xt||!xt.prototype||!xt.prototype.findChild,Ct=E&&w(function(){return 7!=Qe(ft({},"a",{get:function(){return ft(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=dt(_t,t);r&&delete _t[t],ft(e,t,n),r&&e!==_t&&ft(_t,t,r)}:ft,Ot=function(e){var t=Et[e]=Qe(pt.prototype);return t._k=e,t},At=kt&&"symbol"==typeof pt.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof pt},Pt=function(e,t,n){return e===_t&&Pt(Tt,t,n),b(e),t=S(t,!0),b(n),N(Et,t)?(n.enumerable?(N(e,vt)&&e[vt][t]&&(e[vt][t]=!1),n=Qe(n,{enumerable:P(0,!1)})):(N(e,vt)||ft(e,vt,P(1,{})),e[vt][t]=!0),Ct(e,t,n)):ft(e,t,n)},It=function(e,t){b(e);for(var n,r=Ge(t=he(t)),i=0,o=r.length;o>i;)Pt(e,n=r[i++],t[n]);return e},Rt=function(e,t){return void 0===t?Qe(e):It(Qe(e),t)},Nt=function(e){var t=bt.call(this,e=S(e,!0));return!(this===_t&&N(Et,e)&&!N(Tt,e))&&(!(t||!N(this,e)||!N(Et,e)||N(this,vt)&&this[vt][e])||t)},Mt=function(e,t){if(e=he(e),t=S(t,!0),e!==_t||!N(Et,t)||N(Tt,t)){var n=dt(e,t);return!n||!N(Et,t)||N(e,vt)&&e[vt][t]||(n.enumerable=!0),n}},Dt=function(e){for(var t,n=ht(he(e)),r=[],i=0;n.length>i;)N(Et,t=n[i++])||t==vt||t==ct||r.push(t);return r},Lt=function(e){for(var t,n=e===_t,r=ht(n?Tt:he(e)),i=[],o=0;r.length>o;)!N(Et,t=r[o++])||n&&!N(_t,t)||i.push(Et[t]);return i};kt||(pt=function(){if(this instanceof pt)throw TypeError("Symbol is not a constructor!");var e=L(arguments.length>0?arguments[0]:void 0),t=function(n){this===_t&&t.call(Tt,n),N(this,vt)&&N(this[vt],e)&&(this[vt][e]=!1),Ct(this,e,P(1,n))};return E&&St&&Ct(_t,e,{configurable:!0,set:t}),Ot(e)},j(pt.prototype,"toString",function(){return this._k}),ut.f=Mt,A.f=Pt,et.f=at.f=Dt,Ce.f=Nt,xe.f=Lt,E&&j(_t,"propertyIsEnumerable",Nt,!0),ze.f=function(e){return Ot(te(e))}),z(z.G+z.W+z.F*!kt,{Symbol:pt});for(var jt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Wt=0;jt.length>Wt;)te(jt[Wt++]);for(var Bt=_e(te.store),Ft=0;Bt.length>Ft;)He(Bt[Ft++]);z(z.S+z.F*!kt,"Symbol",{for:function(e){return N(wt,e+="")?wt[e]:wt[e]=pt(e)},keyFor:function(e){if(!At(e))throw TypeError(e+" is not a symbol!");for(var t in wt)if(wt[t]===e)return t},useSetter:function(){St=!0},useSimple:function(){St=!1}}),z(z.S+z.F*!kt,"Object",{create:Rt,defineProperty:Pt,defineProperties:It,getOwnPropertyDescriptor:Mt,getOwnPropertyNames:Dt,getOwnPropertySymbols:Lt}),mt&&z(z.S+z.F*(!kt||w(function(){var e=pt();return"[null]"!=gt([e])||"{}"!=gt({a:e})||"{}"!=gt(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!At(e))return $(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!At(t))return t}),r[1]=t,gt.apply(mt,r)}}),pt.prototype[yt]||I(pt.prototype,yt,pt.prototype.valueOf),Be(pt,"Symbol"),Be(Math,"Math",!0),Be(g.JSON,"JSON",!0);var zt=te("toStringTag"),Ut="Arguments"==H(function(){return arguments}()),Ht=function(e,t){try{return e[t]}catch(e){}},Gt=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=Ht(t=Object(e),zt))?n:Ut?H(t):"Object"==(r=H(t))&&"function"==typeof t.callee?"Arguments":r},qt={};qt[te("toStringTag")]="z",qt+""!="[object z]"&&j(Object.prototype,"toString",function(){return"[object "+Gt(this)+"]"},!0),He("asyncIterator"),He("observable");var Vt=(v.Symbol,{}),Kt={};I(Kt,te("iterator"),function(){return this});var Yt=function(e,t,n){e.prototype=Qe(Kt,{next:P(1,n)}),Be(e,t+" Iterator")},Zt=ye("IE_PROTO"),Xt=Object.prototype,Qt=Object.getPrototypeOf||function(e){return e=V(e),N(e,Zt)?e[Zt]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Xt:null},$t=te("iterator"),Jt=!([].keys&&"next"in[].keys()),en=function(){return this},tn=function(e,t,n,r,i,o,a){Yt(n,t,r);var s,l,u,c=function(e){if(!Jt&&e in p)return p[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},d=t+" Iterator",f="values"==i,h=!1,p=e.prototype,m=p[$t]||p["@@iterator"]||i&&p[i],g=m||c(i),v=i?f?c("entries"):g:void 0,y="Array"==t?p.entries||m:m;if(y&&(u=Qt(y.call(new e)))!==Object.prototype&&u.next&&(Be(u,d,!0),"function"!=typeof u[$t]&&I(u,$t,en)),f&&m&&"values"!==m.name&&(h=!0,g=function(){return m.call(this)}),(Jt||h||!p[$t])&&I(p,$t,g),Vt[t]=g,Vt[d]=en,i)if(s={values:f?g:c("values"),keys:o?g:c("keys"),entries:v},a)for(l in s)l in p||j(p,l,s[l]);else z(z.P+z.F*(Jt||h),t,s);return s},nn=function(e){return function(t,n){var r,i,o=String(q(t)),a=Z(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o.charCodeAt(a),r<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536)}}(!0);tn(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=nn(t,n),this._i+=e.length,{value:e,done:!1})});var rn=function(e,t){return{value:t,done:!!e}},on=tn(Array,"Array",function(e,t){this._t=he(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,rn(1)):"keys"==t?rn(0,n):"values"==t?rn(0,e[n]):rn(0,[n,e[n]])},"values");Vt.Arguments=Vt.Array,le("keys"),le("values"),le("entries");for(var an=te("iterator"),sn=te("toStringTag"),ln=Vt.Array,un={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},cn=_e(un),dn=0;dn<cn.length;dn++){var fn,hn=cn[dn],pn=un[hn],mn=g[hn],gn=mn&&mn.prototype;if(gn&&(gn[an]||I(gn,an,ln),gn[sn]||I(gn,sn,hn),Vt[hn]=ln,pn))for(fn in on)gn[fn]||j(gn,fn,on[fn],!0)}ze.f("iterator")}.call(t,n(282).setImmediate,n(18))},function(e,t,n){(function(e){function r(e,t){this._id=e,this._clearFn=t}var i="undefined"!==typeof e&&e||"undefined"!==typeof self&&self||window,o=Function.prototype.apply;t.setTimeout=function(){return new r(o.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(i,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(283),t.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(18))},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){"function"!==typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return u[l]=r,s(l),l++}function i(e){delete u[e]}function o(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}function a(e){if(c)setTimeout(a,0,e);else{var t=u[e];if(t){c=!0;try{o(t)}finally{i(e),c=!1}}}}if(!e.setImmediate){var s,l=1,u={},c=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?function(){s=function(e){t.nextTick(function(){a(e)})}}():function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"===typeof n.data&&0===n.data.indexOf(t)&&a(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),s=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){a(e.data)},s=function(t){e.port2.postMessage(t)}}():d&&"onreadystatechange"in d.createElement("script")?function(){var e=d.documentElement;s=function(t){var n=d.createElement("script");n.onreadystatechange=function(){a(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():function(){s=function(e){setTimeout(a,0,e)}}(),f.setImmediate=r,f.clearImmediate=i}}("undefined"===typeof self?"undefined"===typeof e?this:e:self)}).call(t,n(18),n(43))},function(e,t){!function(e){"use strict";function t(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!==typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return v.iterable&&(t[Symbol.iterator]=function(){return t}),t}function i(e){this.map={},e instanceof i?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function o(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function a(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function s(e){var t=new FileReader,n=a(t);return t.readAsArrayBuffer(e),n}function l(e){var t=new FileReader,n=a(t);return t.readAsText(e),n}function u(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function c(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"===typeof e)this._bodyText=e;else if(v.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(v.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(v.arrayBuffer&&v.blob&&b(e))this._bodyArrayBuffer=c(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!v.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!w(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=c(e)}else this._bodyText="";this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},v.blob&&(this.blob=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?o(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(s)}),this.text=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return l(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(u(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},v.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(e){var t=e.toUpperCase();return E.indexOf(t)>-1?t:e}function h(e,t){t=t||{};var n=t.body;if(e instanceof h){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new i(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new i(t.headers)),this.method=f(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function m(e){var t=new i;return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t}function g(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new i(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var v={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(v.arrayBuffer)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(e){return e&&DataView.prototype.isPrototypeOf(e)},w=ArrayBuffer.isView||function(e){return e&&y.indexOf(Object.prototype.toString.call(e))>-1};i.prototype.append=function(e,r){e=t(e),r=n(r);var i=this.map[e];this.map[e]=i?i+","+r:r},i.prototype.delete=function(e){delete this.map[t(e)]},i.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},i.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},i.prototype.set=function(e,r){this.map[t(e)]=n(r)},i.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},i.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},i.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},i.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},v.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries);var E=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];h.prototype.clone=function(){return new h(this,{body:this._bodyInit})},d.call(h.prototype),d.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},g.error=function(){var e=new g(null,{status:0,statusText:""});return e.type="error",e};var T=[301,302,303,307,308];g.redirect=function(e,t){if(-1===T.indexOf(t))throw new RangeError("Invalid status code");return new g(null,{status:t,headers:{location:e}})},e.Headers=i,e.Request=h,e.Response=g,e.fetch=function(e,t){return new Promise(function(n,r){var i=new h(e,t),o=new XMLHttpRequest;o.onload=function(){var e={status:o.status,statusText:o.statusText,headers:m(o.getAllResponseHeaders()||"")};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var t="response"in o?o.response:o.responseText;n(new g(t,e))},o.onerror=function(){r(new TypeError("Network request failed"))},o.ontimeout=function(){r(new TypeError("Network request failed"))},o.open(i.method,i.url,!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&v.blob&&(o.responseType="blob"),i.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send("undefined"===typeof i._bodyInit?null:i._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!==typeof self?self:this)},function(e,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 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 o(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)}var a=n(1),s=n.n(a),l=n(287),u=n(288),c=n(96),d=(n.n(c),n(341)),f=n(605),h=n(847),p=n(850),m=n(148),g=n.n(m),v=(n(851),n(853),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}());window.addEventListener("unload",function(){});var y=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.debugURL="/Model",n.name="https://2018.igem.org/Team:Washington",n.state={loading:!0,data:new p.a},n.displayLoadingMessage=n.displayLoadingMessage.bind(n),n.getContentData=n.getContentData.bind(n),n.setEdit=n.setEdit.bind(n),n.imgsToPrefetch=n.state.data.getImgsToPrefetch(),n}return o(t,e),v(t,[{key:"prefetchImages",value:function(){this.imgsToPrefetch.forEach(function(e){(new Image).src=e})}},{key:"componentDidMount",value:function(){this.prefetchImages()}},{key:"componentWillMount",value:function(){var e=this,t=window.location.href.split("igem");if(this.pageTitle=this.debugURL,this.debugMode=!0,2===t.length){var n=t[1].split("Team:Washington")[1];this.pageTitle=n,this.debugMode=!1}this.setState({loading:!1});var r=this.state.data.getDisplayConstants(this.pageTitle),i=Object(c.createMuiTheme)({palette:{primary:{main:r.primaryColor},secondary:{main:r.secondaryColor}},typography:{fontFamily:["Raleway"]}});this.theme=i,this.firebasePassIn=null,this.firebasePassIn=g.a,g.a.database().ref("/").on("value",function(t){e.firebaseIsSet=!0,e.setState({contentData:t.val()})})}},{key:"getContentData",value:function(){return this.firebaseIsSet&&Date.now()<153983514e4?this.state.contentData.pageData:this.state.data.getContentData()}},{key:"displayLoadingMessage",value:function(){var e=this;this.setState({loading:!0}),setTimeout(function(){e.setState({loading:!1})},500)}},{key:"setEdit",value:function(e,t){this.setState({setEditData:{page:e,index:t}})}},{key:"render",value:function(){var e=this,t=this.displayLoadingMessage,n=this.getContentData(),r="/Editor"===this.pageTitle;return s.a.createElement("div",{className:"App"},s.a.createElement(c.MuiThemeProvider,{theme:this.theme},this.debugMode&&s.a.createElement(l.a,null),s.a.createElement(d.a,{name:this.name,pageTitle:this.pageTitle,data:this.state.data,a:t}),!this.state.loading&&s.a.createElement("div",null,"/ASDFTest"===this.pageTitle&&s.a.createElement("h1",null,s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("a",{onClick:function(){return e.displayLoadingMessage()},style:{color:"white"},href:this.name+"/TempMain"},"page is asdftest")),"/ASDFTestA"===this.pageTitle&&s.a.createElement("h1",null,"Page is not asdftest"),s.a.createElement("div",{style:{minHeight:"100vh"}}," ",s.a.createElement(f.a,{setEdit:this.setEdit,setEditData:this.state.setEditData,edit:r,pageTitle:r?n[0].pageTitle:this.pageTitle,a:t,data:this.state.data,contentData:n,firebase:this.firebasePassIn})),s.a.createElement(h.a,null)),this.state.loading&&s.a.createElement(u.a,null)))}}]),t}(a.Component);t.a=y},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return u});var a=n(1),s=n.n(a),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),l(t,[{key:"render",value:function(){return s.a.createElement("div",{className:"debugheader"})}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return c});var a=n(1),s=n.n(a),l=n(289),u=(n.n(l),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),c=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),u(t,[{key:"render",value:function(){return s.a.createElement("div",null,s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("h1",null,"Page loading..."),s.a.createElement("div",{className:"sk-circle"},s.a.createElement("div",{className:"sk-circle1 sk-child"}),s.a.createElement("div",{className:"sk-circle2 sk-child"}),s.a.createElement("div",{className:"sk-circle3 sk-child"}),s.a.createElement("div",{className:"sk-circle4 sk-child"}),s.a.createElement("div",{className:"sk-circle5 sk-child"}),s.a.createElement("div",{className:"sk-circle6 sk-child"}),s.a.createElement("div",{className:"sk-circle7 sk-child"}),s.a.createElement("div",{className:"sk-circle8 sk-child"}),s.a.createElement("div",{className:"sk-circle9 sk-child"}),s.a.createElement("div",{className:"sk-circle10 sk-child"}),s.a.createElement("div",{className:"sk-circle11 sk-child"}),s.a.createElement("div",{className:"sk-circle12 sk-child"})))}}]),t}(a.Component)},function(e,t){},function(e,t){function n(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}e.exports=n},function(e,t,n){"use strict";function r(e){return!0===i(e)&&"[object Object]"===Object.prototype.toString.call(e)}var i=n(292);e.exports=function(e){var t,n;return!1!==r(e)&&("function"===typeof(t=e.constructor)&&(n=t.prototype,!1!==r(n)&&!1!==n.hasOwnProperty("isPrototypeOf")))}},function(e,t,n){"use strict";e.exports=function(e){return null!=e&&"object"===typeof e&&!1===Array.isArray(e)}},function(e,t,n){"use strict";function r(e,t,n){var r;return(0,a.default)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,a.default)({paddingLeft:2*t.unit,paddingRight:2*t.unit},n,(0,o.default)({},e.up("sm"),(0,a.default)({paddingLeft:3*t.unit,paddingRight:3*t.unit},n[e.up("sm")])))},toolbar:(r={minHeight:56},(0,o.default)(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,o.default)(r,e.up("sm"),{minHeight:64}),r)},n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=i(n(7)),a=i(n(3))},function(e,t,n){"use strict";function r(e,t,n,r){e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,p.lighten)(e.main,r):"dark"===t&&(e.dark=(0,p.darken)(e.main,1.5*r)))}function i(e){function t(e){var t=(0,p.getContrastRatio)(e,g.text.primary)>=k?g.text.primary:m.text.primary;return t}function n(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;!e.main&&e[n]&&(e.main=e[n]),r(e,"light",i,S),r(e,"dark",o,S),e.contrastText||(e.contrastText=t(e.main))}var i=e.primary,o=void 0===i?{light:u.default[300],main:u.default[500],dark:u.default[700]}:i,v=e.secondary,y=void 0===v?{light:c.default.A200,main:c.default.A400,dark:c.default.A700}:v,b=e.error,w=void 0===b?{light:f.default[300],main:f.default[500],dark:f.default[700]}:b,E=e.type,T=void 0===E?"light":E,_=e.contrastThreshold,k=void 0===_?3:_,x=e.tonalOffset,S=void 0===x?.2:x,C=(0,s.default)(e,["primary","secondary","error","type","contrastThreshold","tonalOffset"]);n(o),n(y,"A400","A200","A700"),n(w);var O={dark:g,light:m};return(0,l.default)((0,a.default)({common:h.default,type:T,primary:o,secondary:y,error:w,grey:d.default,contrastThreshold:k,getContrastText:t,augmentColor:n,tonalOffset:S},O[T]),C,{clone:!1})}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=i,t.dark=t.light=void 0;var a=o(n(3)),s=o(n(4)),l=(o(n(13)),o(n(71))),u=o(n(152)),c=o(n(153)),d=o(n(154)),f=o(n(155)),h=o(n(156)),p=n(33),m={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:h.default.white,default:d.default[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.08)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.14)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)"}};t.light=m;var g={text:{primary:h.default.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:d.default[800],default:"#303030"},action:{active:h.default.white,hover:"rgba(255, 255, 255, 0.1)",hoverOpacity:.1,selected:"rgba(255, 255, 255, 0.2)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)"}};t.dark=g},function(e,t,n){"use strict";function r(e){return Math.round(1e5*e)/1e5}function i(e,t){function n(e){return"".concat(e/b*T,"rem")}var i="function"===typeof t?t(e):t,o=i.fontFamily,u=void 0===o?'"Roboto", "Helvetica", "Arial", sans-serif':o,c=i.fontSize,d=void 0===c?14:c,f=i.fontWeightLight,h=void 0===f?300:f,p=i.fontWeightRegular,m=void 0===p?400:p,g=i.fontWeightMedium,v=void 0===g?500:g,y=i.htmlFontSize,b=void 0===y?16:y,w=i.allVariants,E=(0,s.default)(i,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","htmlFontSize","allVariants"]),T=d/14;return(0,l.default)({pxToRem:n,round:r,fontFamily:u,fontSize:d,fontWeightLight:h,fontWeightRegular:m,fontWeightMedium:v,display4:(0,a.default)({fontSize:n(112),fontWeight:h,fontFamily:u,letterSpacing:"-.04em",lineHeight:"".concat(r(128/112),"em"),marginLeft:"-.04em",color:e.text.secondary},w),display3:(0,a.default)({fontSize:n(56),fontWeight:m,fontFamily:u,letterSpacing:"-.02em",lineHeight:"".concat(r(73/56),"em"),marginLeft:"-.02em",color:e.text.secondary},w),display2:(0,a.default)({fontSize:n(45),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(51/45),"em"),marginLeft:"-.02em",color:e.text.secondary},w),display1:(0,a.default)({fontSize:n(34),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(41/34),"em"),color:e.text.secondary},w),headline:(0,a.default)({fontSize:n(24),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(32.5/24),"em"),color:e.text.primary},w),title:(0,a.default)({fontSize:n(21),fontWeight:v,fontFamily:u,lineHeight:"".concat(r(24.5/21),"em"),color:e.text.primary},w),subheading:(0,a.default)({fontSize:n(16),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(1.5),"em"),color:e.text.primary},w),body2:(0,a.default)({fontSize:n(14),fontWeight:v,fontFamily:u,lineHeight:"".concat(r(24/14),"em"),color:e.text.primary},w),body1:(0,a.default)({fontSize:n(14),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(20.5/14),"em"),color:e.text.primary},w),caption:(0,a.default)({fontSize:n(12),fontWeight:m,fontFamily:u,lineHeight:"".concat(r(1.375),"em"),color:e.text.secondary},w),button:(0,a.default)({fontSize:n(14),textTransform:"uppercase",fontWeight:v,fontFamily:u,color:e.text.primary},w)},E,{clone:!1})}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=o(n(3)),s=o(n(4)),l=o(n(71))},function(e,t,n){"use strict";function r(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0, 0, 0, ").concat(i,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0, 0, 0, ").concat(o,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0, 0, 0, ").concat(a,")")].join(",")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=.2,o=.14,a=.12,s=["none",r(0,1,3,0,0,1,1,0,0,2,1,-1),r(0,1,5,0,0,2,2,0,0,3,1,-2),r(0,1,8,0,0,3,4,0,0,3,3,-2),r(0,2,4,-1,0,4,5,0,0,1,10,0),r(0,3,5,-1,0,5,8,0,0,1,14,0),r(0,3,5,-1,0,6,10,0,0,1,18,0),r(0,4,5,-2,0,7,10,1,0,2,16,1),r(0,5,5,-3,0,8,10,1,0,3,14,2),r(0,5,6,-3,0,9,12,1,0,3,16,2),r(0,6,6,-3,0,10,14,1,0,4,18,3),r(0,6,7,-4,0,11,15,1,0,4,20,3),r(0,7,8,-4,0,12,17,2,0,5,22,4),r(0,7,8,-4,0,13,19,2,0,5,24,4),r(0,7,9,-4,0,14,21,2,0,5,26,4),r(0,8,9,-5,0,15,22,2,0,6,28,5),r(0,8,10,-5,0,16,24,2,0,6,30,5),r(0,8,11,-5,0,17,26,2,0,6,32,5),r(0,9,11,-5,0,18,28,2,0,7,34,6),r(0,9,12,-6,0,19,29,2,0,7,36,6),r(0,10,13,-6,0,20,31,3,0,8,38,7),r(0,10,13,-6,0,21,33,3,0,8,40,7),r(0,10,14,-6,0,22,35,3,0,8,42,7),r(0,11,14,-7,0,23,36,3,0,9,44,8),r(0,11,15,-7,0,24,38,3,0,9,46,8)],l=s;t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={borderRadius:4},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={unit:8},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={mobileStepper:1e3,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},i=r;t.default=i},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=e.split(m),r="",i=0;i<n.length;i++)r+=t+" "+n[i].trim(),n[i+1]&&(r+=", ");return r}function o(e){var t=e.options,n=e.style,r=n[d];if(r){for(var o in r)t.sheet.addRule(o,r[o],l({},t,{selector:i(o,e.selector)}));delete n[d]}}function a(e){var t=e.options,n=e.style;for(var r in n)if(r.substr(0,d.length)===d){var o=i(r.substr(d.length),e.selector);t.sheet.addRule(o,n[r],l({},t,{selector:o})),delete n[r]}}function s(){function e(e,t,n){if(e===d)return new h(e,t,n);if("@"===e[0]&&e.substr(0,f.length)===f)return new p(e,t,n);var r=n.parent;return r&&("global"!==r.type&&"global"!==r.options.parent.type||(n.global=!0)),n.global&&(n.selector=e),null}function t(e){"style"===e.type&&(o(e),a(e))}return{onCreateRule:e,onProcessRule:t}}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=s;var c=n(158),d="@global",f="@global ",h=function(){function e(t,n,i){r(this,e),this.type="global",this.key=t,this.options=i,this.rules=new c.RuleList(l({},i,{parent:this}));for(var o in n)this.rules.add(o,n[o],{selector:o});this.rules.process()}return u(e,[{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"addRule",value:function(e,t,n){var r=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(r),r}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"toString",value:function(){return this.rules.toString()}}]),e}(),p=function(){function e(t,n,i){r(this,e),this.name=t,this.options=i;var o=t.substr(f.length);this.rule=i.jss.createRule(o,n,l({},i,{parent:this,selector:o}))}return u(e,[{key:"toString",value:function(e){return this.rule.toString(e)}}]),e}(),m=/\s*,\s*/g},function(e,t,n){"use strict";function r(e){var t=null;for(var n in e){var o=e[n],a="undefined"===typeof o?"undefined":i(o);if("function"===a)t||(t={}),t[n]=o;else if("object"===a&&null!==o&&!Array.isArray(o)){var s=r(o);s&&(t||(t={}),t[n]=s)}}return t}Object.defineProperty(t,"__esModule",{value:!0});var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=r},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(44),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=function(){function e(){r(this,e),this.sheets=[],this.refs=[],this.keys=[]}return i(e,[{key:"get",value:function(e){var t=this.keys.indexOf(e);return this.sheets[t]}},{key:"add",value:function(e,t){var n=this.sheets,r=this.refs,i=this.keys,o=n.indexOf(t);return-1!==o?o:(n.push(t),r.push(0),i.push(e),n.length-1)}},{key:"manage",value:function(e){var t=this.keys.indexOf(e),n=this.sheets[t];return 0===this.refs[t]&&n.attach(),this.refs[t]++,this.keys[t]||this.keys.splice(t,0,e),n}},{key:"unmanage",value:function(e){var t=this.keys.indexOf(e);if(-1===t)return void(0,a.default)(!1,"SheetsManager: can't find sheet to unmanage");this.refs[t]>0&&0===--this.refs[t]&&this.sheets[t].detach()}},{key:"size",get:function(){return this.keys.length}}]),e}();t.default=s},function(e,t,n){"use strict";function r(e){if(null==e)return e;var t="undefined"===typeof e?"undefined":i(e);if("string"===t||"number"===t||"function"===t)return e;if(s(e))return e.map(r);if((0,a.default)(e))return e;var n={};for(var o in e){var l=e[o];"object"!==("undefined"===typeof l?"undefined":i(l))?n[o]=l:n[o]=r(l)}return n}Object.defineProperty(t,"__esModule",{value:!0});var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=r;var o=n(160),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=Array.isArray},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,r){var i,o=n(306);i="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:r;var a=Object(o.a)(i);t.default=a}.call(t,n(18),n(305)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"===typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}t.a=r},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});e.CSS;t.default=function(e){return e}}).call(t,n(18))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n="2f1acc6c3a606b082e5eef5e54414ffb";null==e[n]&&(e[n]=0),t.default=e[n]++}).call(t,n(18))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(74),u=r(l),c=n(163),d=r(c),f=n(310),h=r(f),p=n(311),m=r(p),g=n(317),v=r(g),y=n(318),b=r(y),w=n(99),E=r(w),T=n(45),_=r(T),k=n(162),x=r(k),S=n(73),C=r(S),O=n(319),A=r(O),P=n(320),I=r(P),R=m.default.concat([v.default,b.default]),N=0,M=function(){function e(t){i(this,e),this.id=N++,this.version="9.8.7",this.plugins=new h.default,this.options={createGenerateClassName:x.default,Renderer:u.default?A.default:I.default,plugins:[]},this.generateClassName=(0,x.default)(),this.use.apply(this,R),this.setup(t)}return s(e,[{key:"setup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.createGenerateClassName&&(this.options.createGenerateClassName=e.createGenerateClassName,this.generateClassName=e.createGenerateClassName()),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),(e.virtual||e.Renderer)&&(this.options.Renderer=e.Renderer||(e.virtual?I.default:A.default)),e.plugins&&this.use.apply(this,e.plugins),this}},{key:"createStyleSheet",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index;"number"!==typeof n&&(n=0===E.default.index?0:E.default.index+1);var r=new d.default(e,a({},t,{jss:this,generateClassName:t.generateClassName||this.generateClassName,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r}},{key:"removeStyleSheet",value:function(e){return e.detach(),E.default.remove(e),this}},{key:"createRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"object"===("undefined"===typeof e?"undefined":o(e))&&(n=t,t=e,e=void 0);var r=n;r.jss=this,r.Renderer=this.options.Renderer,r.generateClassName||(r.generateClassName=this.generateClassName),r.classes||(r.classes={});var i=(0,C.default)(e,t,r);return!r.selector&&i instanceof _.default&&(i.selector="."+r.generateClassName(i)),this.plugins.onProcessRule(i),i}},{key:"use",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach(function(t){-1===e.options.plugins.indexOf(t)&&(e.options.plugins.push(t),e.plugins.use(t))}),this}}]),e}();t.default=M},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(44),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=function(){function e(){r(this,e),this.hooks={onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}}return i(e,[{key:"onCreateRule",value:function(e,t,n){for(var r=0;r<this.hooks.onCreateRule.length;r++){var i=this.hooks.onCreateRule[r](e,t,n);if(i)return i}return null}},{key:"onProcessRule",value:function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.hooks.onProcessRule.length;n++)this.hooks.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}}},{key:"onProcessStyle",value:function(e,t,n){for(var r=e,i=0;i<this.hooks.onProcessStyle.length;i++)r=this.hooks.onProcessStyle[i](r,t,n),t.style=r}},{key:"onProcessSheet",value:function(e){for(var t=0;t<this.hooks.onProcessSheet.length;t++)this.hooks.onProcessSheet[t](e)}},{key:"onUpdate",value:function(e,t,n){for(var r=0;r<this.hooks.onUpdate.length;r++)this.hooks.onUpdate[r](e,t,n)}},{key:"onChangeValue",value:function(e,t,n){for(var r=e,i=0;i<this.hooks.onChangeValue.length;i++)r=this.hooks.onChangeValue[i](r,t,n);return r}},{key:"use",value:function(e){for(var t in e)this.hooks[t]?this.hooks[t].push(e[t]):(0,a.default)(!1,'[JSS] Unknown hook "%s".',t)}}]),e}();t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(312),o=r(i),a=n(313),s=r(a),l=n(314),u=r(l),c=n(315),d=r(c),f=n(316),h=r(f),p={"@charset":o.default,"@import":o.default,"@namespace":o.default,"@keyframes":s.default,"@media":u.default,"@supports":u.default,"@font-face":d.default,"@viewport":h.default,"@-ms-viewport":h.default},m=Object.keys(p).map(function(e){var t=new RegExp("^"+e),n=p[e];return{onCreateRule:function(e,r,i){return t.test(e)?new n(e,r,i):null}}});t.default=m},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n,i){r(this,e),this.type="simple",this.isProcessed=!1,this.key=t,this.value=n,this.options=i}return i(e,[{key:"toString",value:function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"}}]),e}();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")}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(60),s=function(e){return e&&e.__esModule?e:{default:e}}(a),l=function(){function e(t,n,o){r(this,e),this.type="keyframes",this.isProcessed=!1,this.key=t,this.options=o,this.rules=new s.default(i({},o,{parent:this}));for(var a in n)this.rules.add(a,n[a],i({},this.options,{parent:this,selector:a}));this.rules.process()}return o(e,[{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t&&(t+="\n"),this.key+" {\n"+t+"}"}}]),e}();t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(60),s=function(e){return e&&e.__esModule?e:{default:e}}(a),l=function(){function e(t,n,o){r(this,e),this.type="conditional",this.isProcessed=!1,this.key=t,this.options=o,this.rules=new s.default(i({},o,{parent:this}));for(var a in n)this.rules.add(a,n[a]);this.rules.process()}return o(e,[{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"addRule",value:function(e,t,n){var r=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(r),r}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""}}]),e}();t.default=l},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(98),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=function(){function e(t,n,i){r(this,e),this.type="font-face",this.isProcessed=!1,this.key=t,this.style=n,this.options=i}return i(e,[{key:"toString",value:function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=(0,a.default)(this.key,this.style[n]),this.style[n+1]&&(t+="\n");return t}return(0,a.default)(this.key,this.style,e)}}]),e}();t.default=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")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(98),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=function(){function e(t,n,i){r(this,e),this.type="viewport",this.isProcessed=!1,this.key=t,this.style=n,this.options=i}return i(e,[{key:"toString",value:function(e){return(0,a.default)(this.key,this.style,e)}}]),e}();t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(45),o=r(i),a=n(73),s=r(a),l=n(160),u=r(l);t.default={onCreateRule:function(e,t,n){if(!(0,u.default)(t))return null;var r=t,i=(0,s.default)(e,{},n);return r.subscribe(function(e){for(var t in e)i.prop(t,e[t])}),i},onProcessRule:function(e){if(e instanceof o.default){var t=e,n=t.style;for(var r in n){(function(e){var r=n[e];if(!(0,u.default)(r))return"continue";delete n[e],r.subscribe({next:function(n){t.prop(e,n)}})})(r)}}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(60),o=r(i),a=n(45),s=r(a),l=n(73),u=r(l),c=Date.now(),d="fnValues"+c,f="fnStyle"+ ++c;t.default={onCreateRule:function(e,t,n){if("function"!==typeof t)return null;var r=(0,u.default)(e,{},n);return r[f]=t,r},onProcessStyle:function(e,t){var n={};for(var r in e){var i=e[r];"function"===typeof i&&(delete e[r],n[r]=i)}return t=t,t[d]=n,e},onUpdate:function(e,t){if(t.rules instanceof o.default)return void t.rules.update(e);if(t instanceof s.default){if(t=t,t[d])for(var n in t[d])t.prop(n,t[d][n](e));t=t;var r=t[f];if(r){var i=r(e);for(var a in i)t.prop(a,i[a])}}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){try{return e.style.getPropertyValue(t)}catch(e){return""}}function a(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=(0,T.default)(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.style.setProperty(t,r)}catch(e){return!1}return!0}function s(e,t){try{e.style.removeProperty(t)}catch(e){(0,g.default)(!1,'[JSS] DOMException "%s" was thrown. Tried to remove property "%s".',e.message,t)}}function l(e,t){return e.selectorText=t,e.selectorText===t}function u(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}function c(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}function d(e){for(var t=S(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}function f(e){var t=y.default.registry;if(t.length>0){var n=u(t,e);if(n)return n.renderer.element;if(n=c(t,e))return n.renderer.element.nextElementSibling}var r=e.insertionPoint;if(r&&"string"===typeof r){var i=d(r);if(i)return i.nextSibling;(0,g.default)("jss"===r,'[JSS] Insertion point "%s" not found.',r)}return null}function h(e,t){var n=t.insertionPoint,r=f(t);if(r){var i=r.parentNode;return void(i&&i.insertBefore(e,r))}if(n&&"number"===typeof n.nodeType){var o=n,a=o.parentNode;return void(a?a.insertBefore(e,o.nextSibling):(0,g.default)(!1,"[JSS] Insertion point is not in the DOM."))}S().insertBefore(e,r)}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=n(44),g=r(m),v=n(99),y=r(v),b=n(45),w=r(b),E=n(72),T=r(E),_=function(e){var t=void 0;return function(){return t||(t=e()),t}},k={STYLE_RULE:1,KEYFRAMES_RULE:7},x=function(){var e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.substr(t,e.indexOf("{")-1)};return function(t){if(t.type===k.STYLE_RULE)return t.selectorText;if(t.type===k.KEYFRAMES_RULE){var n=t.name;if(n)return"@keyframes "+n;var r=t.cssText;return"@"+e(r,r.indexOf("keyframes"))}return e(t.cssText)}}(),S=_(function(){return document.head||document.getElementsByTagName("head")[0]}),C=function(){var e=void 0,t=!1;return function(n){var r={};e||(e=document.createElement("style"));for(var i=0;i<n.length;i++){var o=n[i];if(o instanceof w.default){var a=o.selector;if(a&&-1!==a.indexOf("\\")){t||(S().appendChild(e),t=!0),e.textContent=a+" {}";var s=e,l=s.sheet;if(l){var u=l.cssRules;u&&(r[u[0].selectorText]=o.key)}}}}return t&&(S().removeChild(e),t=!1),r}}(),O=_(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),A=function(){function e(t){i(this,e),this.getPropertyValue=o,this.setProperty=a,this.removeProperty=s,this.setSelector=l,this.getKey=x,this.getUnescapedKeysMap=C,this.hasInsertedRules=!1,t&&y.default.add(t),this.sheet=t;var n=this.sheet?this.sheet.options:{},r=n.media,u=n.meta,c=n.element;this.element=c||document.createElement("style"),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),u&&this.element.setAttribute("data-meta",u);var d=O();d&&this.element.setAttribute("nonce",d)}return p(e,[{key:"attach",value:function(){!this.element.parentNode&&this.sheet&&(this.hasInsertedRules&&(this.deploy(),this.hasInsertedRules=!1),h(this.element,this.sheet.options))}},{key:"detach",value:function(){this.element.parentNode.removeChild(this.element)}},{key:"deploy",value:function(){this.sheet&&(this.element.textContent="\n"+this.sheet.toString()+"\n")}},{key:"insertRule",value:function(e,t){var n=this.element.sheet,r=n.cssRules,i=e.toString();if(t||(t=r.length),!i)return!1;try{n.insertRule(i,t)}catch(t){return(0,g.default)(!1,"[JSS] Can not insert an unsupported rule \n\r%s",e),!1}return this.hasInsertedRules=!0,r[t]}},{key:"deleteRule",value:function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),!0)}},{key:"indexOf",value:function(e){for(var t=this.element.sheet.cssRules,n=0;n<t.length;n++)if(e===t[n])return n;return-1}},{key:"replaceRule",value:function(e,t){var n=this.indexOf(e),r=this.insertRule(t,n);return this.element.sheet.deleteRule(n),r}},{key:"getRules",value:function(){return this.element.sheet.cssRules}}]),e}();t.default=A},function(e,t,n){"use strict";function r(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;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){r(this,e)}return i(e,[{key:"setProperty",value:function(){return!0}},{key:"getPropertyValue",value:function(){return""}},{key:"removeProperty",value:function(){}},{key:"setSelector",value:function(){return!0}},{key:"getKey",value:function(){return""}},{key:"attach",value:function(){}},{key:"detach",value:function(){}},{key:"deploy",value:function(){}},{key:"insertRule",value:function(){return!1}},{key:"deleteRule",value:function(){return!0}},{key:"replaceRule",value:function(){return!1}},{key:"getRules",value:function(){}},{key:"indexOf",value:function(){return-1}}]),e}();t.default=o},function(e,t,n){"use strict";function r(){function e(e){return function(t,n){var r=e.getRule(n);return r?r.selector:((0,a.default)(!1,"[JSS] Could not find the referenced rule %s in %s.",n,e.options.meta||e),n)}}function t(e,t){for(var n=t.split(s),r=e.split(s),i="",a=0;a<n.length;a++)for(var u=n[a],c=0;c<r.length;c++){var d=r[c];i&&(i+=", "),i+=o(d)?d.replace(l,u):u+" "+d}return i}function n(e,t,n){if(n)return i({},n,{index:n.index+1});var r=e.options.nestingLevel;return r=void 0===r?1:r+1,i({},e.options,{nestingLevel:r,index:t.indexOf(e)+1})}function r(r,a){if("style"!==a.type)return r;var s=a.options.parent,l=void 0,c=void 0;for(var d in r){var f=o(d),h="@"===d[0];if(f||h){if(l=n(a,s,l),f){var p=t(d,a.selector);c||(c=e(s)),p=p.replace(u,c),s.addRule(p,r[d],i({},l,{selector:p}))}else h&&s.addRule(d,null,l).addRule(a.key,r[d],{selector:a.selector});delete r[d]}}return r}var o=function(e){return-1!==e.indexOf("&")};return{onProcessStyle:r}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=r;var o=n(322),a=function(e){return e&&e.__esModule?e:{default:e}}(o),s=/\s*,\s*/g,l=/&/g,u=/\$([\w-]+)/g},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){var t={};for(var n in e)t[(0,a.default)(n)]=e[n];return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(r):t.fallbacks=r(e.fallbacks)),t}function i(){function e(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=r(e[t]);return e}return r(e)}function t(e,t,n){var r=(0,a.default)(t);return t===r?e:(n.prop(r,e),null)}return{onProcessStyle:e,onChangeValue:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(164),a=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t,n){"use strict";function r(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var i in e)r[i]=e[i],r[i.replace(t,n)]=e[i];return r}function i(e,t,n){if(!t)return t;var r=t,o="undefined"===typeof t?"undefined":a(t);switch("object"===o&&Array.isArray(t)&&(o="array"),o){case"object":if("fallbacks"===e){for(var s in t)t[s]=i(s,t[s],n);break}for(var l in t)t[l]=i(e+"-"+l,t[l],n);break;case"array":for(var c=0;c<t.length;c++)t[c]=i(e,t[c],n);break;case"number":0!==t&&(r=t+(n[e]||u[e]||""))}return r}function o(){function e(e,t){if("style"!==t.type)return e;for(var n in e)e[n]=i(n,e[n],o);return e}function t(e,t){return i(t,e,o)}var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=r(n);return{onProcessStyle:e,onChangeValue:t}}Object.defineProperty(t,"__esModule",{value:!0});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};t.default=o;var s=n(325),l=function(e){return e&&e.__esModule?e:{default:e}}(s),u=r(l.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"animation-delay":"ms","animation-duration":"ms","background-position":"px","background-position-x":"px","background-position-y":"px","background-size":"px",border:"px","border-bottom":"px","border-bottom-left-radius":"px","border-bottom-right-radius":"px","border-bottom-width":"px","border-left":"px","border-left-width":"px","border-radius":"px","border-right":"px","border-right-width":"px","border-spacing":"px","border-top":"px","border-top-left-radius":"px","border-top-right-radius":"px","border-top-width":"px","border-width":"px","border-after-width":"px","border-before-width":"px","border-end-width":"px","border-horizontal-spacing":"px","border-start-width":"px","border-vertical-spacing":"px",bottom:"px","box-shadow":"px","column-gap":"px","column-rule":"px","column-rule-width":"px","column-width":"px","flex-basis":"px","font-size":"px","font-size-delta":"px",height:"px",left:"px","letter-spacing":"px","logical-height":"px","logical-width":"px",margin:"px","margin-after":"px","margin-before":"px","margin-bottom":"px","margin-left":"px","margin-right":"px","margin-top":"px","max-height":"px","max-width":"px","margin-end":"px","margin-start":"px","mask-position-x":"px","mask-position-y":"px","mask-size":"px","max-logical-height":"px","max-logical-width":"px","min-height":"px","min-width":"px","min-logical-height":"px","min-logical-width":"px",motion:"px","motion-offset":"px",outline:"px","outline-offset":"px","outline-width":"px",padding:"px","padding-bottom":"px","padding-left":"px","padding-right":"px","padding-top":"px","padding-after":"px","padding-before":"px","padding-end":"px","padding-start":"px","perspective-origin-x":"%","perspective-origin-y":"%",perspective:"px",right:"px","shape-margin":"px",size:"px","text-indent":"px","text-stroke":"px","text-stroke-width":"px",top:"px","transform-origin":"%","transform-origin-x":"%","transform-origin-y":"%","transform-origin-z":"%","transition-delay":"ms","transition-duration":"ms","vertical-align":"px",width:"px","word-spacing":"px","box-shadow-x":"px","box-shadow-y":"px","box-shadow-blur":"px","box-shadow-spread":"px","font-line-height":"px","text-shadow-x":"px","text-shadow-y":"px","text-shadow-blur":"px"}},function(e,t,n){"use strict";function r(){function e(e){"keyframes"===e.type&&(e.key="@"+o.prefix.css+e.key.substr(1))}function t(e,t){if("style"!==t.type)return e;for(var n in e){var r=e[n],i=!1,a=o.supportedProperty(n);a&&a!==n&&(i=!0);var s=!1,l=o.supportedValue(a,r);l&&l!==r&&(s=!0),(i||s)&&(i&&delete e[n],e[a||n]=l||r)}return e}function n(e,t){return o.supportedValue(t,e)}return{onProcessRule:e,onProcessStyle:t,onChangeValue:n}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(327),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.supportedValue=t.supportedProperty=t.prefix=void 0;var i=n(100),o=r(i),a=n(328),s=r(a),l=n(330),u=r(l);t.default={prefix:o.default,supportedProperty:s.default,supportedValue:u.default},t.prefix=o.default,t.supportedProperty=s.default,t.supportedValue=u.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return d?null!=f[e]?f[e]:((0,c.default)(e)in d.style?f[e]=e:l.default.js+(0,c.default)("-"+e)in d.style?f[e]=l.default.css+e:f[e]=!1,f[e]):e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(74),a=r(o),s=n(100),l=r(s),u=n(329),c=r(u),d=void 0,f={};if(a.default){d=document.createElement("p");var h=window.getComputedStyle(document.documentElement,"");for(var p in h)isNaN(p)||(f[h[p]]=h[p])}},function(e,t,n){"use strict";function r(e){return e.replace(o,i)}function i(e,t){return t?t.toUpperCase():""}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=/[-\s]+(.)?/g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!c)return t;if("string"!==typeof t||!isNaN(parseInt(t,10)))return t;var n=e+t;if(null!=u[n])return u[n];try{c.style[e]=t}catch(e){return u[n]=!1,!1}return""!==c.style[e]?u[n]=t:(t=l.default.css+t,"-ms-flex"===t&&(t="-ms-flexbox"),c.style[e]=t,""!==c.style[e]&&(u[n]=t)),u[n]||(u[n]=!1),c.style[e]="",u[n]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(74),a=r(o),s=n(100),l=r(s),u={},c=void 0;a.default&&(c=document.createElement("p"))},function(e,t,n){"use strict";function r(){function e(e,t){return e.length-t.length}function t(t,n){if("style"!==n.type)return t;var r={},i=Object.keys(t).sort(e);for(var o in i)r[i[o]]=t[i[o]];return r}return{onProcessStyle:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";var r=n(46),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(8)),l=i(n(9)),u=i(n(10)),c=i(n(11)),d=i(n(12)),f=i(n(1)),h=i(n(2)),p=(i(n(13)),i(n(336))),m=r(n(101)),g=(i(n(36)),function(e){function t(e,n){var r;return(0,s.default)(this,t),r=(0,u.default)(this,(0,c.default)(t).call(this)),r.broadcast=(0,p.default)(),r.unsubscribeId=null,r.outerTheme=null,r.outerTheme=m.default.initial(n),r.broadcast.setState(r.mergeOuterLocalTheme(e.theme)),r}return(0,d.default)(t,e),(0,l.default)(t,[{key:"getChildContext",value:function(){var e,t=this.props,n=t.sheetsManager,r=t.disableStylesGeneration,i=this.context.muiThemeProviderOptions||{};return void 0!==n&&(i.sheetsManager=n),void 0!==r&&(i.disableStylesGeneration=r),e={},(0,a.default)(e,m.CHANNEL,this.broadcast),(0,a.default)(e,"muiThemeProviderOptions",i),e}},{key:"componentDidMount",value:function(){var e=this;this.unsubscribeId=m.default.subscribe(this.context,function(t){e.outerTheme=t,e.broadcast.setState(e.mergeOuterLocalTheme(e.props.theme))})}},{key:"componentDidUpdate",value:function(e){this.props.theme!==e.theme&&this.broadcast.setState(this.mergeOuterLocalTheme(this.props.theme))}},{key:"componentWillUnmount",value:function(){null!==this.unsubscribeId&&m.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"mergeOuterLocalTheme",value:function(e){return"function"===typeof e?e(this.outerTheme):this.outerTheme?(0,o.default)({},this.outerTheme,e):e}},{key:"render",value:function(){return this.props.children}}]),t}(f.default.Component));g.propTypes={},g.propTypes={},g.childContextTypes=(0,o.default)({},m.default.contextTypes,{muiThemeProviderOptions:h.default.object}),g.contextTypes=(0,o.default)({},m.default.contextTypes,{muiThemeProviderOptions:h.default.object});var v=g;t.default=v},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";var r=n(93),i=n(92),o=n(335);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e){function t(){return s}function n(e){s=e;for(var t=Object.keys(o),n=0,r=t.length;n<r;n++)o[t[n]]&&o[t[n]](e)}function r(e){if("function"!==typeof e)throw new Error("listener must be a function.");var t=a;return o[t]=e,a+=1,t}function i(e){o[e]=void 0}var o={},a=1,s=e;return{getState:t,setState:n,subscribe:r,unsubscribe:i}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},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}Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(2),a=n(165),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(a),l=n(339),u=function(e){return e&&e.__esModule?e:{default:e}}(l);t.default=(i={},r(i,s.jss,u.default.jss),r(i,s.sheetOptions,o.object),r(i,s.sheetsRegistry,u.default.registry),r(i,s.managers,o.object),i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);t.default={jss:(0,r.shape)({options:(0,r.shape)({createGenerateClassName:r.func.isRequired}).isRequired,createStyleSheet:r.func.isRequired,removeStyleSheet:r.func.isRequired}),registry:(0,r.shape)({add:r.func.isRequired,toString:r.func.isRequired})}},function(e,t,n){"use strict";function r(e,t){return t}function i(e){function t(t,i){var o=n?e(t):e;if(!i||!t.overrides||!t.overrides[i])return o;var l=t.overrides[i],u=(0,a.default)({},o);return Object.keys(l).forEach(function(e){u[e]=(0,s.default)(u[e],l[e],{arrayMerge:r})}),u}var n="function"===typeof e;return{create:t,options:{},themingEnabled:n}}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(3)),s=(o(n(75)),o(n(13)),o(n(71))),l=i;t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return E});var a=n(1),s=n.n(a),l=n(104),u=n.n(l),c=n(105),d=n.n(c),f=n(19),h=n.n(f),p=n(346),m=n.n(p),g=n(391),v=n(127),y=n(601),b=n(604),w=(n.n(b),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),E=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setHovered=function(){},n.removeHovered=function(){},n.setPageTop=function(){},n.removePageTop=function(){},n.state={sidebarEnabled:!1,minimized:!1,drawerOpen:!1,hovered:!1,pageTop:!0},n.updateDim=n.updateDim.bind(n),n.toggleDrawer=n.toggleDrawer.bind(n),n.appbarStyle={flexGrow:1,paddingTop:"2px"},n.logoStyle={flex:1,textAlign:"left",marginBottom:-5},n.logoHeight=30,n.minWidth=768,n.hoveredColor="#420dab",n.pageTopThresHeight=300,n}return o(t,e),w(t,[{key:"componentWillMount",value:function(){window.addEventListener("resize",this.updateDim),window.innerWidth<=this.minWidth&&this.setState({minimized:!0}),this.hamburgerStyle={paddingTop:this.props.data.getButtonHeight()}}},{key:"updateDim",value:function(){window.innerWidth<=this.minWidth&&!this.state.minimized?this.setState({minimized:!0}):window.innerWidth>this.minWidth&&this.state.minimized&&this.setState({minimized:!1,drawerOpen:!1})}},{key:"toggleDrawer",value:function(){this.setState({drawerOpen:!this.state.drawerOpen})}},{key:"render",value:function(){var e=this,t=this.props.a;return s.a.createElement("div",{style:Object.assign({},this.appbarStyle)},s.a.createElement(u.a,{className:"navHov",style:{backgroundColor:this.state.pageTop||this.state.hovered?this.hoveredColor:this.notHoveredColor,boxShadow:"none"},onMouseEnter:this.setHovered,onMouseLeave:this.removeHovered},s.a.createElement(d.a,null,s.a.createElement(h.a,{style:this.logoStyle,variant:"title",color:"primary"},s.a.createElement("a",{href:"https://2018.igem.org/Team:Washington"},s.a.createElement("svg",{style:{color:"white"},height:this.logoHeight,viewBox:"0 0 116.25 80"},s.a.createElement("g",null,s.a.createElement("path",{style:{fill:"white",stroke:"none",strokeWidth:4},d:"M84.384,3.819c0,0.858,0,12.238,0,13.098c0.856,0,9.206,0,9.206,0\r L83.311,55.168c0,0-12.577-50.636-12.756-51.349c-0.687,0-12.626,0-13.303,0c-0.188,0.696-13.796,51.352-13.796,51.352\r l-9.466-38.254c0,0,8.726,0,9.585,0c0-0.859,0-12.239,0-13.098c-0.919,0-37.532,0-38.451,0c0,0.858,0,12.238,0,13.098\r c0.851,0,8.52,0,8.52,0s14.703,58.809,14.88,59.523c0.708,0,19.942,0,20.639,0c0.183-0.697,9.852-37.454,9.852-37.454\r s9.187,36.747,9.364,37.454c0.707,0,19.941,0,20.639,0c0.186-0.702,15.656-59.523,15.656-59.523s7.6,0,8.449,0\r c0-0.859,0-12.239,0-13.098C112.217,3.819,85.292,3.819,84.384,3.819z"}))))),!this.state.minimized&&this.props.data.getNavbarData().map(function(n,r){return s.a.createElement(g.a,{a:t,data:e.props.data,name:e.props.name,pageTitle:e.props.pageTitle,nav:n,key:"abmL-"+r,hovered:e.state.hovered,removeHovered:e.removeHovered})}),this.state.minimized&&s.a.createElement("div",{style:this.hamburgerStyle},s.a.createElement(v.a,{color:"inherit","aria-label":"open drawer",onClick:function(){return e.toggleDrawer()}},s.a.createElement(m.a,null)),s.a.createElement(y.a,{drawerOpen:this.state.drawerOpen,toggleDrawer:this.toggleDrawer,data:this.props.data,side:"right",name:this.props.name,title:this.props.pageTitle,a:t})))))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.classes,i=e.className,c=e.color,h=e.position,p=(0,s.default)(e,["children","classes","className","color","position"]),m=(0,u.default)(r.root,r["position".concat((0,d.capitalize)(h))],(t={},(0,a.default)(t,r["color".concat((0,d.capitalize)(c))],"inherit"!==c),(0,a.default)(t,"mui-fixed","fixed"===h),t),i);return l.default.createElement(f.default,(0,o.default)({square:!0,component:"header",elevation:4,className:m},p),n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=i(n(25)),h=function(e){var t="light"===e.palette.type?e.palette.grey[100]:e.palette.grey[900];return{root:{display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",zIndex:e.zIndex.appBar,flexShrink:0},positionFixed:{position:"fixed",top:0,left:"auto",right:0},positionAbsolute:{position:"absolute",top:0,left:"auto",right:0},positionSticky:{position:"sticky",top:0,left:"auto",right:0},positionStatic:{position:"static"},colorDefault:{backgroundColor:t,color:e.palette.getContrastText(t)},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText}}};t.styles=h,r.propTypes={},r.defaultProps={color:"primary",position:"fixed"};var p=(0,c.default)(h,{name:"MuiAppBar"})(r);t.default=p},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.component,i=e.square,c=e.elevation,d=(0,a.default)(e,["classes","className","component","square","elevation"]),f=(0,u.default)(t.root,t["elevation".concat(c)],(0,o.default)({},t.rounded,!i),n);return l.default.createElement(r,(0,s.default)({className:f},d))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(4)),s=i(n(3)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=(i(n(13)),i(n(5))),d=function(e){var t={};return e.shadows.forEach(function(e,n){t["elevation".concat(n)]={boxShadow:e}}),(0,s.default)({root:{backgroundColor:e.palette.background.paper},rounded:{borderRadius:e.shape.borderRadius}},t)};t.styles=d,r.propTypes={},r.defaultProps={component:"div",elevation:2,square:!1};var f=(0,c.default)(d,{name:"MuiPaper"})(r);t.default=f},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=e.disableGutters,c=e.variant,d=(0,s.default)(e,["children","classes","className","disableGutters","variant"]),f=(0,u.default)(n.root,n[c],(0,a.default)({},n.gutters,!i),r);return l.default.createElement("div",(0,o.default)({className:f},d),t)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=function(e){return{root:{position:"relative",display:"flex",alignItems:"center"},gutters:e.mixins.gutters(),regular:e.mixins.toolbar,dense:{minHeight:48}}};t.styles=d,r.propTypes={},r.defaultProps={disableGutters:!1,variant:"regular"};var f=(0,c.default)(d,{name:"MuiToolbar"})(r);t.default=f},function(e,t,n){"use strict";function r(e){var t,n=e.align,r=e.classes,i=e.className,c=e.color,f=e.component,h=e.gutterBottom,p=e.headlineMapping,m=e.noWrap,g=e.paragraph,v=e.variant,y=(0,s.default)(e,["align","classes","className","color","component","gutterBottom","headlineMapping","noWrap","paragraph","variant"]),b=(0,u.default)(r.root,r[v],(t={},(0,a.default)(t,r["color".concat((0,d.capitalize)(c))],"default"!==c),(0,a.default)(t,r.noWrap,m),(0,a.default)(t,r.gutterBottom,h),(0,a.default)(t,r.paragraph,g),(0,a.default)(t,r["align".concat((0,d.capitalize)(n))],"inherit"!==n),t),i),w=f||(g?"p":p[v])||"span";return l.default.createElement(w,(0,o.default)({className:b},y))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=function(e){return{root:{display:"block",margin:0},display4:e.typography.display4,display3:e.typography.display3,display2:e.typography.display2,display1:e.typography.display1,headline:e.typography.headline,title:e.typography.title,subheading:e.typography.subheading,body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main}}};t.styles=f,r.propTypes={},r.defaultProps={align:"inherit",color:"default",gutterBottom:!1,headlineMapping:{display4:"h1",display3:"h1",display2:"h1",display1:"h1",headline:"h1",title:"h2",subheading:"h3",body2:"aside",body1:"p"},noWrap:!1,paragraph:!1,variant:"body1"};var h=(0,c.default)(f,{name:"MuiTypography"})(r);t.default=h},function(e,t,n){"use strict";var r=n(76);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(106)),a=(0,o.default)(i.default.createElement("g",null,i.default.createElement("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"})),"Menu");t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(348),o=r(i),a=n(389),s=r(a),l=n(179),u=(r(l),n(180)),c=(r(u),function(e){var t=(0,o.default)(function(e,t){return!(0,s.default)(e,t)});return t(e)});t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(349),o=r(i),a=n(350),s=r(a),l=n(379),u=r(l),c=n(1),d=n(179),f=(r(d),n(180)),h=(r(f),function(e){return function(t){var n=(0,c.createFactory)(t),r=function(t){function r(){return(0,o.default)(this,r),(0,s.default)(this,t.apply(this,arguments))}return(0,u.default)(r,t),r.prototype.shouldComponentUpdate=function(t){return e(this.props,t)},r.prototype.render=function(){return n(this.props)},r}(c.Component);return r}});t.default=h},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(168),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"===typeof t?"undefined":(0,i.default)(t))&&"function"!==typeof t?e:t}},function(e,t,n){e.exports={default:n(352),__esModule:!0}},function(e,t,n){n(353),n(365),e.exports=n(118).f("iterator")},function(e,t,n){"use strict";var r=n(354)(!0);n(169)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(107),i=n(108);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(112),i=n(79),o=n(117),a={};n(48)(a,n(53)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(49),i=n(64),o=n(113);e.exports=n(51)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(175);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(52),i=n(360),o=n(361);e.exports=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(107),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(107),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(34).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(37),i=n(364),o=n(114)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(108);e.exports=function(e){return Object(r(e))}},function(e,t,n){n(366);for(var r=n(34),i=n(48),o=n(111),a=n(53)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=r[u],d=c&&c.prototype;d&&!d[a]&&i(d,a,u),o[u]=o.Array}},function(e,t,n){"use strict";var r=n(367),i=n(368),o=n(111),a=n(52);e.exports=n(169)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(370),__esModule:!0}},function(e,t,n){n(371),n(376),n(377),n(378),e.exports=n(63).Symbol},function(e,t,n){"use strict";var r=n(34),i=n(37),o=n(51),a=n(77),s=n(173),l=n(372).KEY,u=n(78),c=n(115),d=n(117),f=n(80),h=n(53),p=n(118),m=n(119),g=n(373),v=n(374),y=n(64),b=n(50),w=n(52),E=n(110),T=n(79),_=n(112),k=n(375),x=n(178),S=n(49),C=n(113),O=x.f,A=S.f,P=k.f,I=r.Symbol,R=r.JSON,N=R&&R.stringify,M=h("_hidden"),D=h("toPrimitive"),L={}.propertyIsEnumerable,j=c("symbol-registry"),W=c("symbols"),B=c("op-symbols"),F=Object.prototype,z="function"==typeof I,U=r.QObject,H=!U||!U.prototype||!U.prototype.findChild,G=o&&u(function(){return 7!=_(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(F,t);r&&delete F[t],A(e,t,n),r&&e!==F&&A(F,t,r)}:A,q=function(e){var t=W[e]=_(I.prototype);return t._k=e,t},V=z&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},K=function(e,t,n){return e===F&&K(B,t,n),y(e),t=E(t,!0),y(n),i(W,t)?(n.enumerable?(i(e,M)&&e[M][t]&&(e[M][t]=!1),n=_(n,{enumerable:T(0,!1)})):(i(e,M)||A(e,M,T(1,{})),e[M][t]=!0),G(e,t,n)):A(e,t,n)},Y=function(e,t){y(e);for(var n,r=g(t=w(t)),i=0,o=r.length;o>i;)K(e,n=r[i++],t[n]);return e},Z=function(e,t){return void 0===t?_(e):Y(_(e),t)},X=function(e){var t=L.call(this,e=E(e,!0));return!(this===F&&i(W,e)&&!i(B,e))&&(!(t||!i(this,e)||!i(W,e)||i(this,M)&&this[M][e])||t)},Q=function(e,t){if(e=w(e),t=E(t,!0),e!==F||!i(W,t)||i(B,t)){var n=O(e,t);return!n||!i(W,t)||i(e,M)&&e[M][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=P(w(e)),r=[],o=0;n.length>o;)i(W,t=n[o++])||t==M||t==l||r.push(t);return r},J=function(e){for(var t,n=e===F,r=P(n?B:w(e)),o=[],a=0;r.length>a;)!i(W,t=r[a++])||n&&!i(F,t)||o.push(W[t]);return o};z||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(B,n),i(this,M)&&i(this[M],e)&&(this[M][e]=!1),G(this,e,T(1,n))};return o&&H&&G(F,e,{configurable:!0,set:t}),q(e)},s(I.prototype,"toString",function(){return this._k}),x.f=Q,S.f=K,n(177).f=k.f=$,n(120).f=X,n(176).f=J,o&&!n(109)&&s(F,"propertyIsEnumerable",X,!0),p.f=function(e){return q(h(e))}),a(a.G+a.W+a.F*!z,{Symbol:I});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)h(ee[te++]);for(var ne=C(h.store),re=0;ne.length>re;)m(ne[re++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return i(j,e+="")?j[e]:j[e]=I(e)},keyFor:function(e){if(!V(e))throw TypeError(e+" is not a symbol!");for(var t in j)if(j[t]===e)return t},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!z,"Object",{create:Z,defineProperty:K,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:$,getOwnPropertySymbols:J}),R&&a(a.S+a.F*(!z||u(function(){var e=I();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!V(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!V(t))return t}),r[1]=t,N.apply(R,r)}}),I.prototype[D]||n(48)(I.prototype,D,I.prototype.valueOf),d(I,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(80)("meta"),i=n(50),o=n(37),a=n(49).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(78)(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},f=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},h=function(e){return u&&p.NEED&&l(e)&&!o(e,r)&&c(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:f,onFreeze:h}},function(e,t,n){var r=n(113),i=n(176),o=n(120);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,n){var r=n(175);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(52),i=n(177).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},function(e,t){},function(e,t,n){n(119)("asyncIterator")},function(e,t,n){n(119)("observable")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(380),o=r(i),a=n(384),s=r(a),l=n(168),u=r(l);t.default=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof t?"undefined":(0,u.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(o.default?(0,o.default)(e,t):e.__proto__=t)}},function(e,t,n){e.exports={default:n(381),__esModule:!0}},function(e,t,n){n(382),e.exports=n(63).Object.setPrototypeOf},function(e,t,n){var r=n(77);r(r.S,"Object",{setPrototypeOf:n(383).set})},function(e,t,n){var r=n(50),i=n(64),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(170)(Function.call,n(178).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){e.exports={default:n(385),__esModule:!0}},function(e,t,n){n(386);var r=n(63).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(77);r(r.S,"Object",{create:n(112)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){return function(n){return n[e]=t,n}};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if("string"===typeof e)return e;if(e)return e.displayName||e.name||"Component"};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(94),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=i.default},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.classes,i=e.className,c=e.color,f=e.component,h=e.fontSize,p=e.nativeColor,m=e.titleAccess,g=e.viewBox,v=(0,s.default)(e,["children","classes","className","color","component","fontSize","nativeColor","titleAccess","viewBox"]),y=(0,u.default)(r.root,(t={},(0,a.default)(t,r.fontSizeInherit,"inherit"===h),(0,a.default)(t,r["color".concat((0,d.capitalize)(c))],"inherit"!==c),t),i);return l.default.createElement(f,(0,o.default)({className:y,focusable:"false",viewBox:g,color:p,"aria-hidden":m?"false":"true"},v),n,m?l.default.createElement("title",null,m):null)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:24,transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"}}};t.styles=f,r.propTypes={},r.defaultProps={color:"inherit",component:"svg",fontSize:"default",viewBox:"0 0 24 24"},r.muiName="SvgIcon";var h=(0,c.default)(f,{name:"MuiSvgIcon"})(r);t.default=h},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return m});var a=n(1),s=n.n(a),l=n(54),u=n.n(l),c=n(183),d=n.n(c),f=n(126),h=n.n(f),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClick=function(e){n.setState({anchorEl:e.currentTarget})},n.handleClose=function(){n.setState({anchorEl:null}),n.props.removeHovered()},n.handleLink=function(){n.a(),n.handleClose()},n.state={anchorEl:null},n.getLink=n.getLink.bind(n),n.buttonStyle={margin:"2px",textTransform:"none",fontFamily:"RalewayBold",marginLeft:15},n.anchorElSpacing=45,n.buttonVariant="text",n.menuItemStyles={color:"#000000",textDecoration:"none",fontFamily:"RalewayBold"},n}return o(t,e),p(t,[{key:"componentWillMount",value:function(){this.appbarStyle={paddingTop:this.props.data.getButtonHeight()},this.a=this.props.a}},{key:"getLink",value:function(e){var t=""+this.props.name+this.props.nav.links[e];return"Home"===this.props.nav.title&&(t=this.props.nav.links[e]),t}},{key:"render",value:function(){var e=this,t=this.state.anchorEl;return s.a.createElement("div",{style:this.appbarStyle},s.a.createElement(u.a,{variant:this.buttonVariant,"aria-owns":t?"simple-menu":null,"aria-haspopup":"true",onClick:this.handleClick,color:"inherit",style:this.buttonStyle},this.props.nav.title),s.a.createElement(d.a,{id:"simple-menu",anchorEl:t,open:Boolean(t),onClose:this.handleClose,anchorOrigin:{vertical:this.anchorElSpacing,horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},getContentAnchorEl:null},this.props.nav.names.map(function(t,n){return s.a.createElement(h.a,{style:e.menuItemStyles,component:"a",href:e.getLink(n),disabled:e.props.pageTitle===e.props.nav.links[n],key:t+"-"+n,onClick:e.handleLink,value:n},t)})))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.classes,i=e.className,c=e.color,d=e.disabled,p=e.disableFocusRipple,m=e.fullWidth,g=e.focusVisibleClassName,v=e.mini,y=e.size,b=e.variant,w=(0,a.default)(e,["children","classes","className","color","disabled","disableFocusRipple","fullWidth","focusVisibleClassName","mini","size","variant"]),E="fab"===b||"extendedFab"===b,T="contained"===b||"raised"===b,_="text"===b||"flat"===b||"outlined"===b,k=(0,u.default)(r.root,(t={},(0,o.default)(t,r.fab,E),(0,o.default)(t,r.mini,E&&v),(0,o.default)(t,r.extendedFab,"extendedFab"===b),(0,o.default)(t,r.text,_),(0,o.default)(t,r.textPrimary,_&&"primary"===c),(0,o.default)(t,r.textSecondary,_&&"secondary"===c),(0,o.default)(t,r.flat,"text"===b||"flat"===b),(0,o.default)(t,r.flatPrimary,("text"===b||"flat"===b)&&"primary"===c),(0,o.default)(t,r.flatSecondary,("text"===b||"flat"===b)&&"secondary"===c),(0,o.default)(t,r.contained,T||E),(0,o.default)(t,r.containedPrimary,(T||E)&&"primary"===c),(0,o.default)(t,r.containedSecondary,(T||E)&&"secondary"===c),(0,o.default)(t,r.raised,T||E),(0,o.default)(t,r.raisedPrimary,(T||E)&&"primary"===c),(0,o.default)(t,r.raisedSecondary,(T||E)&&"secondary"===c),(0,o.default)(t,r.outlined,"outlined"===b),(0,o.default)(t,r.outlinedPrimary,"outlined"===b&&"primary"===c),(0,o.default)(t,r.outlinedSecondary,"outlined"===b&&"secondary"===c),(0,o.default)(t,r["size".concat((0,h.capitalize)(y))],"medium"!==y),(0,o.default)(t,r.disabled,d),(0,o.default)(t,r.fullWidth,m),(0,o.default)(t,r.colorInherit,"inherit"===c),t),i);return l.default.createElement(f.default,(0,s.default)({className:k,disabled:d,focusRipple:!p,focusVisibleClassName:(0,u.default)(r.focusVisible,g)},w),l.default.createElement("span",{className:r.label},n))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(4)),s=i(n(3)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(33),f=i(n(26)),h=n(14),p=function(e){return{root:(0,s.default)({},e.typography.button,{lineHeight:"1.4em",boxSizing:"border-box",minWidth:64,minHeight:36,padding:"8px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:(0,d.fade)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,d.fade)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,d.fade)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},flat:{},flatPrimary:{},flatSecondary:{},outlined:{border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},outlinedPrimary:{border:"1px solid ".concat((0,d.fade)(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main)}},outlinedSecondary:{border:"1px solid ".concat((0,d.fade)(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground},"&:hover":{backgroundColor:e.palette.grey.A100,"@media (hover: none)":{backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},raised:{},raisedPrimary:{},raisedSecondary:{},fab:{borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,boxShadow:e.shadows[6],"&:active":{boxShadow:e.shadows[12]}},extendedFab:{borderRadius:24,padding:"0 16px",width:"auto",minWidth:48,height:48},focusVisible:{},disabled:{},colorInherit:{color:"inherit"},mini:{width:40,height:40},sizeSmall:{padding:"7px 8px",minWidth:64,minHeight:32,fontSize:e.typography.pxToRem(13)},sizeLarge:{padding:"8px 24px",minWidth:112,minHeight:40,fontSize:e.typography.pxToRem(15)},fullWidth:{width:"100%"}}};t.styles=p,r.propTypes={},r.defaultProps={color:"default",component:"button",disabled:!1,disableFocusRipple:!1,fullWidth:!1,mini:!1,size:"medium",type:"button",variant:"text"};var m=(0,c.default)(p,{name:"MuiButton"})(r);t.default=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(47)),h=r(n(1)),p=(r(n(2)),r(n(15))),m=r(n(6)),g=r(n(55)),v=r(n(81)),y=r(n(5)),b=n(394),w=r(n(395)),E=r(n(403)),T={root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:"none",border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"}},disabled:{},focusVisible:{}};t.styles=T;var _=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.ripple=null,n.keyDown=!1,n.button=null,n.focusVisibleTimeout=null,n.focusVisibleCheckTime=50,n.focusVisibleMaxCheckTimes=5,n.handleMouseDown=(0,E.default)((0,f.default)((0,f.default)(n)),"MouseDown","start",function(){clearTimeout(n.focusVisibleTimeout),n.state.focusVisible&&n.setState({focusVisible:!1})}),n.handleMouseUp=(0,E.default)((0,f.default)((0,f.default)(n)),"MouseUp","stop"),n.handleMouseLeave=(0,E.default)((0,f.default)((0,f.default)(n)),"MouseLeave","stop",function(e){n.state.focusVisible&&e.preventDefault()}),n.handleTouchStart=(0,E.default)((0,f.default)((0,f.default)(n)),"TouchStart","start"),n.handleTouchEnd=(0,E.default)((0,f.default)((0,f.default)(n)),"TouchEnd","stop"),n.handleTouchMove=(0,E.default)((0,f.default)((0,f.default)(n)),"TouchMove","stop"),n.handleBlur=(0,E.default)((0,f.default)((0,f.default)(n)),"Blur","stop",function(){clearTimeout(n.focusVisibleTimeout),n.state.focusVisible&&n.setState({focusVisible:!1})}),n.state={},n.onRippleRef=function(e){n.ripple=e},n.onFocusVisibleHandler=function(e){n.keyDown=!1,n.setState({focusVisible:!0}),n.props.onFocusVisible&&n.props.onFocusVisible(e)},n.handleKeyDown=function(e){var t=n.props,r=t.component,i=t.focusRipple,o=t.onKeyDown,a=t.onClick,s=(0,g.default)(e);i&&!n.keyDown&&n.state.focusVisible&&n.ripple&&"space"===s&&(n.keyDown=!0,e.persist(),n.ripple.stop(e,function(){n.ripple.start(e)})),o&&o(e),e.target!==e.currentTarget||!r||"button"===r||"space"!==s&&"enter"!==s||"A"===n.button.tagName&&n.button.href||(e.preventDefault(),a&&a(e))},n.handleKeyUp=function(e){n.props.focusRipple&&"space"===(0,g.default)(e)&&n.ripple&&n.state.focusVisible&&(n.keyDown=!1,e.persist(),n.ripple.stop(e,function(){n.ripple.pulsate(e)})),n.props.onKeyUp&&n.props.onKeyUp(e)},n.handleFocus=function(e){n.props.disabled||(n.button||(n.button=e.currentTarget),e.persist(),(0,b.detectFocusVisible)((0,f.default)((0,f.default)(n)),n.button,function(){n.onFocusVisibleHandler(e)}),n.props.onFocus&&n.props.onFocus(e))},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){var e=this;this.button=p.default.findDOMNode(this),(0,b.listenForFocusKeys)((0,v.default)(this.button)),this.props.action&&this.props.action({focusVisible:function(){e.setState({focusVisible:!0}),e.button.focus()}})}},{key:"componentDidUpdate",value:function(e,t){this.props.focusRipple&&!this.props.disableRipple&&!t.focusVisible&&this.state.focusVisible&&this.ripple.pulsate()}},{key:"componentWillUnmount",value:function(){this.button=null,clearTimeout(this.focusVisibleTimeout)}},{key:"render",value:function(){var e,t=this.props,n=(t.action,t.buttonRef),r=t.centerRipple,s=t.children,l=t.classes,u=t.className,c=t.component,d=t.disabled,f=t.disableRipple,p=(t.disableTouchRipple,t.focusRipple,t.focusVisibleClassName),g=(t.onBlur,t.onFocus,t.onFocusVisible,t.onKeyDown,t.onKeyUp,t.onMouseDown,t.onMouseLeave,t.onMouseUp,t.onTouchEnd,t.onTouchMove,t.onTouchStart,t.tabIndex),v=t.TouchRippleProps,y=t.type,b=(0,a.default)(t,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","type"]),E=(0,m.default)(l.root,(e={},(0,o.default)(e,l.disabled,d),(0,o.default)(e,l.focusVisible,this.state.focusVisible),(0,o.default)(e,p,this.state.focusVisible),e),u),T={},_=c;return"button"===_&&b.href&&(_="a"),"button"===_?(T.type=y||"button",T.disabled=d):T.role="button",h.default.createElement(_,(0,i.default)({onBlur:this.handleBlur,onFocus:this.handleFocus,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onMouseDown:this.handleMouseDown,onMouseLeave:this.handleMouseLeave,onMouseUp:this.handleMouseUp,onTouchEnd:this.handleTouchEnd,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,tabIndex:d?"-1":g,className:E,ref:n},T,b),s,f||d?null:h.default.createElement(w.default,(0,i.default)({innerRef:this.onRippleRef,center:r},v)))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return"undefined"===typeof t.focusVisible?{focusVisible:!1,lastDisabled:e.disabled}:!t.prevState&&e.disabled&&t.focusVisible?{focusVisible:!1,lastDisabled:e.disabled}:{lastDisabled:e.disabled}}}]),t}(h.default.Component);_.propTypes={},_.defaultProps={centerRipple:!1,component:"button",disableRipple:!1,disableTouchRipple:!1,focusRipple:!1,tabIndex:"0",type:"button"};var k=(0,y.default)(T,{name:"MuiButtonBase"})(_);t.default=k},function(e,t,n){"use strict";function r(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;e.focusVisibleTimeout=setTimeout(function(){var o=(0,l.default)(t);u.focusKeyPressed&&(o.activeElement===t||t.contains(o.activeElement))?n():i<e.focusVisibleMaxCheckTimes&&r(e,t,n,i+1)},e.focusVisibleCheckTime)}function i(e){return c.indexOf((0,s.default)(e))>-1}function o(e){e.addEventListener("keyup",d)}var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.detectFocusVisible=r,t.listenForFocusKeys=o;var s=a(n(55)),l=(a(n(13)),a(n(30))),u={focusKeyPressed:!1,keyUpEventTimeout:-1},c=["tab","enter","space","esc","up","down","left","right"],d=function(e){i(e)&&(u.focusKeyPressed=!0,clearTimeout(u.keyUpEventTimeout),u.keyUpEventTimeout=setTimeout(function(){u.focusKeyPressed=!1},1e3))}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=t.DELAY_RIPPLE=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(82)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(47)),h=r(n(1)),p=(r(n(2)),r(n(15))),m=r(n(121)),g=r(n(6)),v=r(n(5)),y=r(n(402)),b=550,w=80;t.DELAY_RIPPLE=w;var E=function(e){return{root:{display:"block",position:"absolute",overflow:"hidden",borderRadius:"inherit",width:"100%",height:"100%",left:0,top:0,pointerEvents:"none",zIndex:0},ripple:{width:50,height:50,left:0,top:0,opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"mui-ripple-enter ".concat(b,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"mui-ripple-exit ".concat(b,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"mui-ripple-pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes mui-ripple-enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes mui-ripple-exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes mui-ripple-pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}};t.styles=E;var T=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.ignoringMouseDown=!1,n.startTimer=null,n.startTimerCommit=null,n.state={nextKey:0,ripples:[]},n.pulsate=function(){n.start({},{pulsate:!0})},n.start=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=t.pulsate,o=void 0!==i&&i,a=t.center,s=void 0===a?n.props.center||t.pulsate:a,l=t.fakeElement,u=void 0!==l&&l;if("mousedown"===e.type&&n.ignoringMouseDown)return void(n.ignoringMouseDown=!1);"touchstart"===e.type&&(n.ignoringMouseDown=!0);var c,d,h,m=u?null:p.default.findDOMNode((0,f.default)((0,f.default)(n))),g=m?m.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(g.width/2),d=Math.round(g.height/2);else{var v=e.clientX?e.clientX:e.touches[0].clientX,y=e.clientY?e.clientY:e.touches[0].clientY;c=Math.round(v-g.left),d=Math.round(y-g.top)}if(s)(h=Math.sqrt((2*Math.pow(g.width,2)+Math.pow(g.height,2))/3))%2===0&&(h+=1);else{var b=2*Math.max(Math.abs((m?m.clientWidth:0)-c),c)+2,E=2*Math.max(Math.abs((m?m.clientHeight:0)-d),d)+2;h=Math.sqrt(Math.pow(b,2)+Math.pow(E,2))}e.touches?(n.startTimerCommit=function(){n.startCommit({pulsate:o,rippleX:c,rippleY:d,rippleSize:h,cb:r})},n.startTimer=setTimeout(function(){n.startTimerCommit&&(n.startTimerCommit(),n.startTimerCommit=null)},w)):n.startCommit({pulsate:o,rippleX:c,rippleY:d,rippleSize:h,cb:r})},n.startCommit=function(e){var t=e.pulsate,r=e.rippleX,i=e.rippleY,o=e.rippleSize,s=e.cb;n.setState(function(e){return{nextKey:e.nextKey+1,ripples:(0,a.default)(e.ripples).concat([h.default.createElement(y.default,{key:e.nextKey,classes:n.props.classes,timeout:{exit:b,enter:b},pulsate:t,rippleX:r,rippleY:i,rippleSize:o})])}},s)},n.stop=function(e,t){clearTimeout(n.startTimer);var r=n.state.ripples;if("touchend"===e.type&&n.startTimerCommit)return e.persist(),n.startTimerCommit(),n.startTimerCommit=null,void(n.startTimer=setTimeout(function(){n.stop(e,t)},0));n.startTimerCommit=null,r&&r.length&&n.setState({ripples:r.slice(1)},t)},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.startTimer)}},{key:"render",value:function(){var e=this.props,t=(e.center,e.classes),n=e.className,r=(0,o.default)(e,["center","classes","className"]);return h.default.createElement(m.default,(0,i.default)({component:"span",enter:!0,exit:!0,className:(0,g.default)(t.root,n)},r),this.state.ripples)}}]),t}(h.default.PureComponent);T.propTypes={},T.defaultProps={center:!1};var _=(0,v.default)(E,{flip:!1,name:"MuiTouchRipple"})(T);t.default=_},function(e,t){function n(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}e.exports=n},function(e,t){function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}e.exports=n},function(e,t){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance")}e.exports=n},function(e,t,n){"use strict";function r(){}var i=n(400);e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e,t){var n=function(e){return t&&(0,l.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&l.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function i(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var a=void 0,s={};for(var l in t){if(r[l])for(a=0;a<r[l].length;a++){var u=r[l][a];s[r[l][a]]=n(u)}s[l]=n(l)}for(a=0;a<i.length;a++)s[i[a]]=n(i[a]);return s}function o(e,t,n){return null!=n[t]?n[t]:e.props[t]}function a(e,t){return r(e.children,function(n){return(0,l.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:o(n,"appear",e),enter:o(n,"enter",e),exit:o(n,"exit",e)})})}function s(e,t,n){var a=r(e.children),s=i(t,a);return Object.keys(s).forEach(function(r){var i=s[r];if((0,l.isValidElement)(i)){var u=r in t,c=r in a,d=t[r],f=(0,l.isValidElement)(d)&&!d.props.in;!c||u&&!f?c||!u||f?c&&u&&(0,l.isValidElement)(d)&&(s[r]=(0,l.cloneElement)(i,{onExited:n.bind(null,i),in:d.props.in,exit:o(i,"exit",e),enter:o(i,"enter",e)})):s[r]=(0,l.cloneElement)(i,{in:!1}):s[r]=(0,l.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:o(i,"exit",e),enter:o(i,"enter",e)})}}),s}t.__esModule=!0,t.getChildMapping=r,t.mergeChildMappings=i,t.getInitialChildMapping=a,t.getNextChildMapping=s;var l=n(1)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(35)),m=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.state={visible:!1,leaving:!1},n.handleEnter=function(){n.setState({visible:!0})},n.handleExit=function(){n.setState({leaving:!0})},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e,t,n=this.props,r=n.classes,s=n.className,l=n.pulsate,u=n.rippleX,c=n.rippleY,d=n.rippleSize,m=(0,a.default)(n,["classes","className","pulsate","rippleX","rippleY","rippleSize"]),g=this.state,v=g.visible,y=g.leaving,b=(0,h.default)(r.ripple,(e={},(0,o.default)(e,r.rippleVisible,v),(0,o.default)(e,r.ripplePulsate,l),e),s),w={width:d,height:d,top:-d/2+c,left:-d/2+u},E=(0,h.default)(r.child,(t={},(0,o.default)(t,r.childLeaving,y),(0,o.default)(t,r.childPulsate,l),t));return f.default.createElement(p.default,(0,i.default)({onEnter:this.handleEnter,onExit:this.handleExit},m),f.default.createElement("span",{className:b,style:w},f.default.createElement("span",{className:E})))}}]),t}(f.default.Component);m.propTypes={},m.defaultProps={pulsate:!1};var g=m;t.default=g},function(e,t,n){"use strict";function r(e,t,n,r){return function(i){r&&r.call(e,i);var o=!1;return i.defaultPrevented&&(o=!0),e.props.disableTouchRipple&&"Blur"!==t&&(o=!0),!o&&e.ripple&&e.ripple[n](i),"function"===typeof e.props["on".concat(t)]&&e.props["on".concat(t)](i),!0}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r;t.default=i},function(e,t,n){"use strict";function r(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function i(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function o(e){return[e.horizontal,e.vertical].map(function(e){return"number"===typeof e?"".concat(e,"px"):e}).join(" ")}function a(e,t){for(var n=t,r=0;n&&n!==e;)n=n.parentNode,r+=n.scrollTop;return r}function s(e){return"function"===typeof e?e():e}var l=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var u=l(n(3)),c=l(n(4)),d=l(n(8)),f=l(n(9)),h=l(n(10)),p=l(n(11)),m=l(n(12)),g=l(n(1)),v=(l(n(2)),l(n(15))),y=(l(n(13)),l(n(38))),b=l(n(31)),w=l(n(30)),E=l(n(81)),T=l(n(5)),_=l(n(83)),k=l(n(125)),x=l(n(25)),S={paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:"none"}};t.styles=S;var C=function(e){function t(){var e,n;(0,d.default)(this,t);for(var a=arguments.length,l=new Array(a),u=0;u<a;u++)l[u]=arguments[u];return n=(0,h.default)(this,(e=(0,p.default)(t)).call.apply(e,[this].concat(l))),n.paperRef=null,n.handleGetOffsetTop=r,n.handleGetOffsetLeft=i,n.handleResize=(0,y.default)(function(){n.setPositioningStyles(n.paperRef)},166),n.componentWillUnmount=function(){n.handleResize.clear()},n.setPositioningStyles=function(e){if(e&&e.style){var t=n.getPositioningStyle(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}},n.getPositioningStyle=function(e){var t=n.props,r=t.anchorEl,i=t.anchorReference,a=t.marginThreshold,l=n.getContentAnchorOffset(e),u={width:e.clientWidth,height:e.clientHeight},c=n.getTransformOrigin(u,l);if("none"===i)return{top:null,left:null,transformOrigin:o(c)};var d=n.getAnchorOffset(l),f=d.top-c.vertical,h=d.left-c.horizontal,p=f+u.height,m=h+u.width,g=(0,E.default)(s(r)),v=g.innerHeight-a,y=g.innerWidth-a;if(f<a){var b=f-a;f-=b,c.vertical+=b}else if(p>v){var w=p-v;f-=w,c.vertical+=w}if(h<a){var T=h-a;h-=T,c.horizontal+=T}else if(m>y){var _=m-y;h-=_,c.horizontal+=_}return{top:"".concat(f,"px"),left:"".concat(h,"px"),transformOrigin:o(c)}},n.handleEnter=function(e){n.props.onEnter&&n.props.onEnter(e),n.setPositioningStyles(e)},n}return(0,m.default)(t,e),(0,f.default)(t,[{key:"componentDidMount",value:function(){this.props.action&&this.props.action({updatePosition:this.handleResize})}},{key:"getAnchorOffset",value:function(e){var t=this.props,n=t.anchorEl,r=t.anchorOrigin,i=t.anchorReference,o=t.anchorPosition;if("anchorPosition"===i)return o;var a=s(n)||(0,w.default)(this.paperRef).body,l=a.getBoundingClientRect(),u=0===e?r.vertical:"center";return{top:l.top+this.handleGetOffsetTop(l,u),left:l.left+this.handleGetOffsetLeft(l,r.horizontal)}}},{key:"getContentAnchorOffset",value:function(e){var t=this.props,n=t.getContentAnchorEl,r=t.anchorReference,i=0;if(n&&"anchorEl"===r){var o=n(e);if(o&&e.contains(o)){var s=a(e,o);i=o.offsetTop+o.clientHeight/2-s||0}}return i}},{key:"getTransformOrigin",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.props.transformOrigin;return{vertical:this.handleGetOffsetTop(e,n.vertical)+t,horizontal:this.handleGetOffsetLeft(e,n.horizontal)}}},{key:"render",value:function(){var e=this,t=this.props,n=(t.action,t.anchorEl),r=(t.anchorOrigin,t.anchorPosition,t.anchorReference,t.children),i=t.classes,o=t.container,a=t.elevation,l=(t.getContentAnchorEl,t.marginThreshold,t.ModalClasses),d=(t.onEnter,t.onEntered),f=t.onEntering,h=t.onExit,p=t.onExited,m=t.onExiting,y=t.open,E=t.PaperProps,T=t.role,k=(t.transformOrigin,t.TransitionComponent),S=t.transitionDuration,C=t.TransitionProps,O=(0,c.default)(t,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","container","elevation","getContentAnchorEl","marginThreshold","ModalClasses","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","role","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),A=S;"auto"!==S||k.muiSupportAuto||(A=void 0);var P=o||(n?(0,w.default)(s(n)).body:void 0);return g.default.createElement(_.default,(0,u.default)({classes:l,container:P,open:y,BackdropProps:{invisible:!0}},O),g.default.createElement(k,(0,u.default)({appear:!0,in:y,onEnter:this.handleEnter,onEntered:d,onEntering:f,onExit:h,onExited:p,onExiting:m,role:T,timeout:A},C),g.default.createElement(x.default,(0,u.default)({className:i.paper,elevation:a,ref:function(t){e.paperRef=v.default.findDOMNode(t)}},E),g.default.createElement(b.default,{target:"window",onResize:this.handleResize}),r)))}}]),t}(g.default.Component);C.propTypes={},C.defaultProps={anchorReference:"anchorEl",anchorOrigin:{vertical:"top",horizontal:"left"},elevation:8,marginThreshold:16,transformOrigin:{vertical:"top",horizontal:"left"},TransitionComponent:k.default,transitionDuration:"auto"};var O=(0,T.default)(S,{name:"MuiPopover"})(C);t.default=O},function(e,t,n){"use strict";function r(e,t){return e="function"===typeof e?e():e,g.default.findDOMNode(e)||t}function i(e){return!!e.children&&e.children.props.hasOwnProperty("in")}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var a=o(n(3)),s=o(n(7)),l=o(n(4)),u=o(n(8)),c=o(n(9)),d=o(n(10)),f=o(n(11)),h=o(n(12)),p=o(n(47)),m=o(n(1)),g=o(n(15)),v=(o(n(2)),o(n(6))),y=(o(n(13)),o(n(55))),b=o(n(30)),w=o(n(122)),E=o(n(123)),T=n(14),_=o(n(5)),k=o(n(188)),x=o(n(190)),S=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}};t.styles=S;var C=function(e){function t(e){var n;return(0,u.default)(this,t),n=(0,d.default)(this,(0,f.default)(t).call(this)),n.mountNode=null,n.modalRef=null,n.dialogRef=null,n.mounted=!1,n.handleRendered=function(){n.autoFocus(),n.modalRef.scrollTop=0,n.props.onRendered&&n.props.onRendered()},n.handleOpen=function(){var e=(0,b.default)(n.mountNode),t=r(n.props.container,e.body);n.props.manager.add((0,p.default)((0,p.default)(n)),t),e.addEventListener("keydown",n.handleDocumentKeyDown),e.addEventListener("focus",n.enforceFocus,!0)},n.handleClose=function(){n.props.manager.remove((0,p.default)((0,p.default)(n)));var e=(0,b.default)(n.mountNode);e.removeEventListener("keydown",n.handleDocumentKeyDown),e.removeEventListener("focus",n.enforceFocus,!0),n.restoreLastFocus()},n.handleExited=function(){n.setState({exited:!0}),n.handleClose()},n.handleBackdropClick=function(e){e.target===e.currentTarget&&(n.props.onBackdropClick&&n.props.onBackdropClick(e),!n.props.disableBackdropClick&&n.props.onClose&&n.props.onClose(e,"backdropClick"))},n.handleDocumentKeyDown=function(e){n.isTopModal()&&"esc"===(0,y.default)(e)&&(e.defaultPrevented||(n.props.onEscapeKeyDown&&n.props.onEscapeKeyDown(e),!n.props.disableEscapeKeyDown&&n.props.onClose&&n.props.onClose(e,"escapeKeyDown")))},n.checkForFocus=function(){n.lastFocus=(0,b.default)(n.mountNode).activeElement},n.enforceFocus=function(){if(!n.props.disableEnforceFocus&&n.mounted&&n.isTopModal()){var e=(0,b.default)(n.mountNode).activeElement;n.dialogRef&&!n.dialogRef.contains(e)&&n.dialogRef.focus()}},n.state={exited:!e.open},n}return(0,h.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.props.open&&this.handleOpen()}},{key:"componentDidUpdate",value:function(e){!e.open&&this.props.open&&this.checkForFocus(),!e.open||this.props.open||i(this.props)?!e.open&&this.props.open&&this.handleOpen():this.handleClose()}},{key:"componentWillUnmount",value:function(){this.mounted=!1,(this.props.open||i(this.props)&&!this.state.exited)&&this.handleClose()}},{key:"autoFocus",value:function(){if(!this.props.disableAutoFocus){var e=(0,b.default)(this.mountNode).activeElement;this.dialogRef&&!this.dialogRef.contains(e)&&(this.lastFocus=e,this.dialogRef.hasAttribute("tabIndex")||this.dialogRef.setAttribute("tabIndex",-1),this.dialogRef.focus())}}},{key:"restoreLastFocus",value:function(){this.props.disableRestoreFocus||this.lastFocus&&(this.lastFocus.focus&&this.lastFocus.focus(),this.lastFocus=null)}},{key:"isTopModal",value:function(){return this.props.manager.isTopModal(this)}},{key:"render",value:function(){var e=this,t=this.props,n=t.BackdropComponent,r=t.BackdropProps,o=t.children,u=t.classes,c=t.className,d=t.container,f=(t.disableAutoFocus,t.disableBackdropClick,t.disableEnforceFocus,t.disableEscapeKeyDown,t.disablePortal),h=(t.disableRestoreFocus,t.hideBackdrop),p=t.keepMounted,g=(t.manager,t.onBackdropClick,t.onClose,t.onEscapeKeyDown,t.onRendered,t.open),y=(0,l.default)(t,["BackdropComponent","BackdropProps","children","classes","className","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),b=this.state.exited,_=i(this.props),k={};return p||g||_&&!b?(_&&(k.onExited=(0,T.createChainedFunction)(this.handleExited,o.props.onExited)),void 0===o.props.role&&(k.role=o.props.role||"document"),void 0===o.props.tabIndex&&(k.tabIndex=o.props.tabIndex||"-1"),m.default.createElement(E.default,{ref:function(t){e.mountNode=t?t.getMountNode():t},container:d,disablePortal:f,onRendered:this.handleRendered},m.default.createElement("div",(0,a.default)({ref:function(t){e.modalRef=t},className:(0,v.default)(u.root,c,(0,s.default)({},u.hidden,b))},y),h?null:m.default.createElement(n,(0,a.default)({open:g,onClick:this.handleBackdropClick},r)),m.default.createElement(w.default,{rootRef:function(t){e.dialogRef=t}},m.default.cloneElement(o,k))))):null}}],[{key:"getDerivedStateFromProps",value:function(e){return e.open?{exited:!1}:i(e)?null:{exited:!0}}}]),t}(m.default.Component);C.propTypes={},C.defaultProps={disableAutoFocus:!1,disableBackdropClick:!1,disableEnforceFocus:!1,disableEscapeKeyDown:!1,disablePortal:!1,disableRestoreFocus:!1,hideBackdrop:!1,keepMounted:!1,manager:new k.default,BackdropComponent:x.default};var O=(0,_.default)(S,{flip:!1,name:"MuiModal"})(C);t.default=O},function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(8)),a=i(n(9)),s=i(n(10)),l=i(n(11)),u=i(n(12)),c=i(n(1)),d=i(n(15)),f=(i(n(2)),i(n(36)),function(e){function t(){return(0,o.default)(this,t),(0,s.default)(this,(0,l.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){r(this.props.rootRef,d.default.findDOMNode(this))}},{key:"componentDidUpdate",value:function(e){e.rootRef!==this.props.rootRef&&(r(e.rootRef,null),r(this.props.rootRef,d.default.findDOMNode(this)))}},{key:"componentWillUnmount",value:function(){r(this.props.rootRef,null)}},{key:"render",value:function(){return this.props.children}}]),t}(c.default.Component));f.propTypes={},f.propTypes={};var h=f;t.default=h},function(e,t,n){"use strict";function r(e,t){return e="function"===typeof e?e():e,f.default.findDOMNode(e)||t}function i(e){return(0,h.default)(f.default.findDOMNode(e))}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(8)),s=o(n(9)),l=o(n(10)),u=o(n(11)),c=o(n(12)),d=o(n(1)),f=o(n(15)),h=(o(n(2)),o(n(30))),p=(o(n(36)),function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.getMountNode=function(){return n.mountNode},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.setMountNode(this.props.container),this.props.disablePortal||this.forceUpdate(this.props.onRendered)}},{key:"componentDidUpdate",value:function(e){e.container===this.props.container&&e.disablePortal===this.props.disablePortal||(this.setMountNode(this.props.container),this.props.disablePortal||this.forceUpdate(this.props.onRendered))}},{key:"componentWillUnmount",value:function(){this.mountNode=null}},{key:"setMountNode",value:function(e){if(this.props.disablePortal)return void(this.mountNode=f.default.findDOMNode(this).parentElement);this.mountNode=r(e,i(this).body)}},{key:"render",value:function(){var e=this.props,t=e.children;return e.disablePortal?t:this.mountNode?f.default.createPortal(t,this.mountNode):null}}]),t}(d.default.Component));p.propTypes={},p.defaultProps={disablePortal:!1},p.propTypes={};var m=p;t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){var r="",i="",o=t;if("string"===typeof t){if(void 0===n)return e.style[(0,a.default)(t)]||(0,c.default)(e).getPropertyValue((0,l.default)(t));(o={})[t]=n}Object.keys(o).forEach(function(t){var n=o[t];n||0===n?(0,m.default)(t)?i+=t+"("+n+") ":r+=(0,l.default)(t)+": "+n+";":(0,f.default)(e,(0,l.default)(t))}),i&&(r+=h.transform+": "+i+";"),e.style.cssText+=";"+r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(189),a=r(o),s=n(410),l=r(s),u=n(412),c=r(u),d=n(413),f=r(d),h=n(414),p=n(415),m=r(p);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e.replace(i,function(e,t){return t.toUpperCase()})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=/-(.)/g;e.exports=t.default},function(e,t,n){"use strict";function r(e){return(0,o.default)(e).replace(a,"-ms-")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(411),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=/^ms-/;e.exports=t.default},function(e,t,n){"use strict";function r(e){return e.replace(i,"-$1").toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=/([A-Z])/g;e.exports=t.default},function(e,t,n){"use strict";function r(e){if(!e)throw new TypeError("No Element passed to `getComputedStyle()`");var t=e.ownerDocument;return"defaultView"in t?t.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):{getPropertyValue:function(t){var n=e.style;"float"==(t=(0,o.default)(t))&&(t="styleFloat");var r=e.currentStyle[t]||null;if(null==r&&n&&n[t]&&(r=n[t]),s.test(r)&&!a.test(t)){var i=n.left,l=e.runtimeStyle,u=l&&l.left;u&&(l.left=e.currentStyle.left),n.left="fontSize"===t?"1em":r,r=n.pixelLeft+"px",n.left=i,u&&(l.left=u)}return r}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(189),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=/^(top|right|bottom|left)$/,s=/^([+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/i;e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return"removeProperty"in e.style?e.style.removeProperty(t):e.style.removeAttribute(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var r=n(186),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o="transform",a=void 0,s=void 0,l=void 0,u=void 0,c=void 0,d=void 0,f=void 0,h=void 0,p=void 0,m=void 0,g=void 0;if(i.default){var v=function(){for(var e=document.createElement("div").style,t={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},n=Object.keys(t),r=void 0,i=void 0,o="",a=0;a<n.length;a++){var s=n[a];if(s+"TransitionProperty"in e){o="-"+s.toLowerCase(),r=t[s]("TransitionEnd"),i=t[s]("AnimationEnd");break}}return!r&&"transitionProperty"in e&&(r="transitionend"),!i&&"animationName"in e&&(i="animationend"),e=null,{animationEnd:i,transitionEnd:r,prefix:o}}();a=v.prefix,t.transitionEnd=s=v.transitionEnd,t.animationEnd=l=v.animationEnd,t.transform=o=a+"-"+o,t.transitionProperty=u=a+"-transition-property",t.transitionDuration=c=a+"-transition-duration",t.transitionDelay=f=a+"-transition-delay",t.transitionTiming=d=a+"-transition-timing-function",t.animationName=h=a+"-animation-name",t.animationDuration=p=a+"-animation-duration",t.animationTiming=m=a+"-animation-delay",t.animationDelay=g=a+"-animation-timing-function"}t.transform=o,t.transitionProperty=u,t.transitionTiming=d,t.transitionDelay=f,t.transitionDuration=c,t.transitionEnd=s,t.animationName=h,t.animationDuration=p,t.animationTiming=m,t.animationDelay=g,t.animationEnd=l,t.default={transform:o,end:s,property:u,timing:d,delay:f,duration:c}},function(e,t,n){"use strict";function r(e){return!(!e||!i.test(e))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&"body"===e.tagName.toLowerCase()}function i(e){var t=(0,s.default)(e),n=(0,l.default)(t);if(!(0,a.default)(t)&&!r(e))return e.scrollHeight>e.clientHeight;var i=n.getComputedStyle(t.body),o=parseInt(i.getPropertyValue("margin-left"),10),u=parseInt(i.getPropertyValue("margin-right"),10);return o+t.body.clientWidth+u<n.innerWidth}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.isBody=r,t.default=i;var a=o(n(417)),s=o(n(30)),l=o(n(81))},function(e,t,n){"use strict";function r(e){return e===e.window?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e){return 1===e.nodeType&&-1===l.indexOf(e.tagName.toLowerCase())}function i(e,t,n){t=[].concat(t),[].forEach.call(e.children,function(e){-1===t.indexOf(e)&&r(e)&&n(e)})}function o(e,t){t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))}function a(e,t){i(e,t,function(e){return o(!0,e)})}function s(e,t){i(e,t,function(e){return o(!1,e)})}Object.defineProperty(t,"__esModule",{value:!0}),t.ariaHidden=o,t.hideSiblings=a,t.showSiblings=s;var l=["template","script","style"]},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.invisible,i=e.open,c=e.transitionDuration,f=(0,s.default)(e,["classes","className","invisible","open","transitionDuration"]);return l.default.createElement(d.default,(0,o.default)({appear:!0,in:i,timeout:c},f),l.default.createElement("div",{className:(0,u.default)(t.root,(0,a.default)({},t.invisible,r),n),"aria-hidden":"true"}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(124)),f={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",touchAction:"none"},invisible:{backgroundColor:"transparent"}};t.styles=f,r.propTypes={},r.defaultProps={invisible:!1};var h=(0,c.default)(f,{name:"MuiBackdrop"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(35))),h=n(28),p=r(n(29)),m=n(56),g={entering:{opacity:1},entered:{opacity:1}},v=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.handleEnter=function(e){var t=n.props.theme;(0,m.reflow)(e);var r=(0,m.getTransitionProps)(n.props,{mode:"enter"});e.style.webkitTransition=t.transitions.create("opacity",r),e.style.transition=t.transitions.create("opacity",r),n.props.onEnter&&n.props.onEnter(e)},n.handleExit=function(e){var t=n.props.theme,r=(0,m.getTransitionProps)(n.props,{mode:"exit"});e.style.webkitTransition=t.transitions.create("opacity",r),e.style.transition=t.transitions.create("opacity",r),n.props.onExit&&n.props.onExit(e)},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=(e.onEnter,e.onExit,e.style),r=(e.theme,(0,o.default)(e,["children","onEnter","onExit","style","theme"])),a=(0,i.default)({},n,d.default.isValidElement(t)?t.props.style:{});return d.default.createElement(f.default,(0,i.default)({appear:!0,onEnter:this.handleEnter,onExit:this.handleExit},r),function(e,n){return d.default.cloneElement(t,(0,i.default)({style:(0,i.default)({opacity:0,willChange:"opacity"},g[e],a)},n))})}}]),t}(d.default.Component);v.propTypes={},v.defaultProps={timeout:{enter:h.duration.enteringScreen,exit:h.duration.leavingScreen}};var y=(0,p.default)()(v);t.default=y},function(e,t,n){"use strict";function r(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(8)),l=i(n(9)),u=i(n(10)),c=i(n(11)),d=i(n(12)),f=i(n(1)),h=(i(n(2)),i(n(35))),p=i(n(29)),m=n(56),g={entering:{opacity:1,transform:r(1)},entered:{opacity:1,transform:"".concat(r(1)," translateZ(0)")}},v=function(e){function t(){var e,n;(0,s.default)(this,t);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(o))),n.autoTimeout=null,n.timer=null,n.handleEnter=function(e){var t=n.props,r=t.theme,i=t.timeout;(0,m.reflow)(e);var o=(0,m.getTransitionProps)(n.props,{mode:"enter"}),a=o.duration,s=o.delay,l=0;"auto"===i?(l=r.transitions.getAutoHeightDuration(e.clientHeight),n.autoTimeout=l):l=a,e.style.transition=[r.transitions.create("opacity",{duration:l,delay:s}),r.transitions.create("transform",{duration:.666*l,delay:s})].join(","),n.props.onEnter&&n.props.onEnter(e)},n.handleExit=function(e){var t=n.props,i=t.theme,o=t.timeout,a=0,s=(0,m.getTransitionProps)(n.props,{mode:"exit"}),l=s.duration,u=s.delay;"auto"===o?(a=i.transitions.getAutoHeightDuration(e.clientHeight),n.autoTimeout=a):a=l,e.style.transition=[i.transitions.create("opacity",{duration:a,delay:u}),i.transitions.create("transform",{duration:.666*a,delay:u||.333*a})].join(","),e.style.opacity="0",e.style.transform=r(.75),n.props.onExit&&n.props.onExit(e)},n.addEndListener=function(e,t){"auto"===n.props.timeout&&(n.timer=setTimeout(t,n.autoTimeout||0))},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.timer)}},{key:"render",value:function(){var e=this.props,t=e.children,n=(e.onEnter,e.onExit,e.style),i=(e.theme,e.timeout),s=(0,a.default)(e,["children","onEnter","onExit","style","theme","timeout"]),l=(0,o.default)({},n,f.default.isValidElement(t)?t.props.style:{});return f.default.createElement(h.default,(0,o.default)({appear:!0,onEnter:this.handleEnter,onExit:this.handleExit,addEndListener:this.addEndListener,timeout:"auto"===i?null:i},s),function(e,n){return f.default.cloneElement(t,(0,o.default)({style:(0,o.default)({opacity:0,transform:r(.75)},g[e],l)},n))})}}]),t}(f.default.Component);v.propTypes={},v.defaultProps={timeout:"auto"},v.muiSupportAuto=!0;var y=(0,p.default)()(v);t.default=y},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(15))),h=r(n(55)),p=(r(n(13)),r(n(30))),m=r(n(192)),g=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.listRef=null,n.selectedItemRef=null,n.blurTimer=null,n.state={currentTabIndex:null},n.handleBlur=function(e){n.blurTimer=setTimeout(function(){if(n.listRef){var e=n.listRef,t=(0,p.default)(e).activeElement;e.contains(t)||n.resetTabIndex()}},30),n.props.onBlur&&n.props.onBlur(e)},n.handleKeyDown=function(e){var t=n.listRef,r=(0,h.default)(e),i=(0,p.default)(t).activeElement;"up"!==r&&"down"!==r||i&&(!i||t.contains(i))?"down"===r?(e.preventDefault(),i.nextElementSibling&&i.nextElementSibling.focus()):"up"===r&&(e.preventDefault(),i.previousElementSibling&&i.previousElementSibling.focus()):n.selectedItemRef?n.selectedItemRef.focus():t.firstChild.focus(),n.props.onKeyDown&&n.props.onKeyDown(e,r)},n.handleItemFocus=function(e){var t=n.listRef;if(t)for(var r=0;r<t.children.length;r+=1)if(t.children[r]===e.currentTarget){n.setTabIndex(r);break}},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.resetTabIndex()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.blurTimer)}},{key:"setTabIndex",value:function(e){this.setState({currentTabIndex:e})}},{key:"focus",value:function(){var e=this.state.currentTabIndex,t=this.listRef;t&&t.children&&t.firstChild&&(e&&e>=0?t.children[e].focus():t.firstChild.focus())}},{key:"resetTabIndex",value:function(){for(var e=this.listRef,t=(0,p.default)(e).activeElement,n=[],r=0;r<e.children.length;r+=1)n.push(e.children[r]);var i=n.indexOf(t);return-1!==i?this.setTabIndex(i):this.selectedItemRef?this.setTabIndex(n.indexOf(this.selectedItemRef)):this.setTabIndex(0)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.className,a=(t.onBlur,t.onKeyDown,(0,o.default)(t,["children","className","onBlur","onKeyDown"]));return d.default.createElement(m.default,(0,i.default)({role:"menu",ref:function(t){e.listRef=f.default.findDOMNode(t)},className:r,onKeyDown:this.handleKeyDown,onBlur:this.handleBlur},a),d.default.Children.map(n,function(t,n){return d.default.isValidElement(t)?d.default.cloneElement(t,{tabIndex:n===e.state.currentTabIndex?0:-1,ref:t.props.selected?function(t){e.selectedItemRef=f.default.findDOMNode(t)}:void 0,onFocus:e.handleItemFocus}):null}))}}]),t}(d.default.Component);g.propTypes={};var v=g;t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=r(n(2)),p=r(n(6)),m=r(n(5)),g={root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{paddingTop:4,paddingBottom:4},subheader:{paddingTop:0}};t.styles=g;var v=function(e){function t(){return(0,s.default)(this,t),(0,u.default)(this,(0,c.default)(t).apply(this,arguments))}return(0,d.default)(t,e),(0,l.default)(t,[{key:"getChildContext",value:function(){return{dense:this.props.dense}}},{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.classes,s=t.className,l=t.component,u=t.dense,c=t.disablePadding,d=t.subheader,h=(0,a.default)(t,["children","classes","className","component","dense","disablePadding","subheader"]),m=(0,p.default)(r.root,(e={},(0,o.default)(e,r.dense,u&&!c),(0,o.default)(e,r.padding,!c),(0,o.default)(e,r.subheader,d),e),s);return f.default.createElement(l,(0,i.default)({className:m},h),d,n)}}]),t}(f.default.Component);v.propTypes={},v.defaultProps={component:"ul",dense:!1,disablePadding:!1},v.childContextTypes={dense:h.default.bool};var y=(0,m.default)(g,{name:"MuiList"})(v);t.default=y},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.component,i=e.selected,c=e.role,f=(0,a.default)(e,["classes","className","component","selected","role"]);return l.default.createElement(d.default,(0,s.default)({button:!0,role:c,tabIndex:-1,className:(0,u.default)(t.root,(0,o.default)({},t.selected,i),n),component:r},f))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(4)),s=i(n(3)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(193)),f=function(e){return{root:(0,s.default)({},e.typography.subheading,{height:24,boxSizing:"content-box",width:"auto",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",paddingLeft:16,paddingRight:16,"&$selected":{backgroundColor:e.palette.action.selected}}),selected:{}}};t.styles=f,r.propTypes={},r.defaultProps={component:"li",role:"menuitem",selected:!1};var h=(0,c.default)(f,{name:"MuiMenuItem"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=r(n(2)),p=r(n(6)),m=r(n(5)),g=r(n(26)),v=n(39),y=function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:12,paddingBottom:12},container:{position:"relative"},focusVisible:{backgroundColor:e.palette.action.hover},default:{},dense:{paddingTop:8,paddingBottom:8},disabled:{opacity:.5},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:e.mixins.gutters(),button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:32}}};t.styles=y;var b=function(e){function t(){return(0,s.default)(this,t),(0,u.default)(this,(0,c.default)(t).apply(this,arguments))}return(0,d.default)(t,e),(0,l.default)(t,[{key:"getChildContext",value:function(){return{dense:this.props.dense||this.context.dense||!1}}},{key:"render",value:function(){var e,t=this.props,n=t.button,r=t.children,s=t.classes,l=t.className,u=t.component,c=t.ContainerComponent,d=t.ContainerProps;d=void 0===d?{}:d;var h=d.className,m=(0,a.default)(d,["className"]),y=t.dense,b=t.disabled,w=t.disableGutters,E=t.divider,T=t.focusVisibleClassName,_=(0,a.default)(t,["button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName"]),k=y||this.context.dense||!1,x=f.default.Children.toArray(r),S=x.some(function(e){return(0,v.isMuiElement)(e,["ListItemAvatar"])}),C=x.length&&(0,v.isMuiElement)(x[x.length-1],["ListItemSecondaryAction"]),O=(0,p.default)(s.root,s.default,(e={},(0,o.default)(e,s.dense,k||S),(0,o.default)(e,s.gutters,!w),(0,o.default)(e,s.divider,E),(0,o.default)(e,s.disabled,b),(0,o.default)(e,s.button,n),(0,o.default)(e,s.secondaryAction,C),e),l),A=(0,i.default)({className:O,disabled:b},_),P=u||"li";return n&&(A.component=u||"div",A.focusVisibleClassName=(0,p.default)(s.focusVisible,T),P=g.default),C?(P=A.component||u?P:"div","li"===c&&("li"===P?P="div":"li"===A.component&&(A.component="div")),f.default.createElement(c,(0,i.default)({className:(0,p.default)(s.container,h)},m),f.default.createElement(P,A,x),x.pop())):f.default.createElement(P,A,x)}}]),t}(f.default.Component);b.propTypes={},b.defaultProps={button:!1,ContainerComponent:"li",dense:!1,disabled:!1,disableGutters:!1,divider:!1},b.contextTypes={dense:h.default.bool},b.childContextTypes={dense:h.default.bool};var w=(0,m.default)(y,{name:"MuiListItem"})(b);t.default=w},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"common",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"red",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"pink",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"purple",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"deepPurple",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"indigo",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"blue",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"lightBlue",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"cyan",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"teal",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"green",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"lightGreen",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"lime",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"yellow",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"amber",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"orange",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"deepOrange",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"brown",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"grey",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"blueGrey",{enumerable:!0,get:function(){return _.default}});var i=r(n(156)),o=r(n(155)),a=r(n(153)),s=r(n(427)),l=r(n(428)),u=r(n(152)),c=r(n(429)),d=r(n(430)),f=r(n(431)),h=r(n(432)),p=r(n(433)),m=r(n(434)),g=r(n(435)),v=r(n(436)),y=r(n(437)),b=r(n(438)),w=r(n(439)),E=r(n(440)),T=r(n(154)),_=r(n(441))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},i=r;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"},i=r;t.default=i},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(194))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(444))},function(e,t,n){"use strict";function r(e){var t=e.badgeContent,n=e.children,r=e.classes,i=e.className,c=e.color,f=e.component,h=(0,s.default)(e,["badgeContent","children","classes","className","color","component"]),p=(0,u.default)(r.badge,(0,a.default)({},r["color".concat((0,d.capitalize)(c))],"default"!==c));return l.default.createElement(f,(0,o.default)({className:(0,u.default)(r.root,i)},h),n,l.default.createElement("span",{className:p},t))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=function(e){return{root:{position:"relative",display:"inline-flex",verticalAlign:"middle"},badge:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",top:-11,right:-11,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeight,fontSize:e.typography.pxToRem(12),width:22,height:22,borderRadius:"50%",backgroundColor:e.palette.color,color:e.palette.textColor,zIndex:1},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},colorError:{backgroundColor:e.palette.error.main,color:e.palette.error.contrastText}}};t.styles=f,r.propTypes={},r.defaultProps={color:"default",component:"span"};var h=(0,c.default)(f,{name:"MuiBadge"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(446))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=e.onChange,u=e.showLabels,c=e.value,d=(0,a.default)(e,["children","classes","className","onChange","showLabels","value"]),f=(0,l.default)(n.root,r),h=s.default.Children.map(t,function(e,t){if(!s.default.isValidElement(e))return null;var n=void 0===e.props.value?t:e.props.value;return s.default.cloneElement(e,{selected:n===c,showLabel:void 0!==e.props.showLabel?e.props.showLabel:u,value:n,onChange:i})});return s.default.createElement("div",(0,o.default)({className:f},d),h)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=(i(n(13)),i(n(5))),c=function(e){return{root:{display:"flex",justifyContent:"center",height:56,backgroundColor:e.palette.background.paper}}};t.styles=c,r.propTypes={},r.defaultProps={showLabels:!1};var d=(0,u.default)(c,{name:"MuiBottomNavigation"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(448))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(5)),m=r(n(26)),g=(r(n(128)),function(e){return{root:{transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),paddingTop:8,paddingBottom:10,paddingLeft:12,paddingRight:12,minWidth:80,maxWidth:168,color:e.palette.text.secondary,flex:"1","&$iconOnly":{paddingTop:16},"&$selected":{paddingTop:6,color:e.palette.primary.main}},selected:{},iconOnly:{},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"},label:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s","&$iconOnly":{opacity:0,transitionDelay:"0s"},"&$selected":{fontSize:e.typography.pxToRem(14)}}}});t.styles=g;var v=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.handleChange=function(e){var t=n.props,r=t.onChange,i=t.value,o=t.onClick;r&&r(e,i),o&&o(e)},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e,t,n=this.props,r=n.classes,s=n.className,l=n.icon,u=n.label,c=(n.onChange,n.onClick,n.selected),d=n.showLabel,p=(n.value,(0,a.default)(n,["classes","className","icon","label","onChange","onClick","selected","showLabel","value"])),g=(0,h.default)(r.root,(e={},(0,o.default)(e,r.selected,c),(0,o.default)(e,r.iconOnly,!d&&!c),e),s),v=(0,h.default)(r.label,(t={},(0,o.default)(t,r.selected,c),(0,o.default)(t,r.iconOnly,!d&&!c),t));return f.default.createElement(m.default,(0,i.default)({className:g,focusRipple:!0,onClick:this.handleChange},p),f.default.createElement("span",{className:r.wrapper},l,f.default.createElement("span",{className:v},u)))}}]),t}(f.default.Component);v.propTypes={};var y=(0,p.default)(g,{name:"MuiBottomNavigationAction"})(v);t.default=y},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(450))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.raised,i=(0,a.default)(e,["classes","className","raised"]);return s.default.createElement(u.default,(0,o.default)({className:(0,l.default)(t.root,n),elevation:r?8:1},i))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(25)),c=i(n(5)),d={root:{overflow:"hidden"}};t.styles=d,r.propTypes={},r.defaultProps={raised:!1};var f=(0,c.default)(d,{name:"MuiCard"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(452))},function(e,t,n){"use strict";function r(e){var t=e.disableActionSpacing,n=e.children,r=e.classes,i=e.className,s=(0,a.default)(e,["disableActionSpacing","children","classes","className"]);return l.default.createElement("div",(0,o.default)({className:(0,u.default)(r.root,i)},s),t?n:(0,d.cloneChildrenWithClassName)(n,r.action))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(7)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(39);n(54);var f=function(e){return{root:(0,s.default)({display:"flex",alignItems:"center",boxSizing:"border-box",padding:"8px 4px"},e.breakpoints.up("sm"),{padding:"8px 12px"}),action:{margin:"0 4px"}}};t.styles=f,r.propTypes={},r.defaultProps={disableActionSpacing:!1};var h=(0,c.default)(f,{name:"MuiCardActions"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(454))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.component,i=(0,a.default)(e,["classes","className","component"]);return s.default.createElement(r,(0,o.default)({className:(0,l.default)(t.root,n)},i))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=function(e){return{root:e.mixins.gutters({paddingTop:16,paddingBottom:16,"&:last-child":{paddingBottom:24}})}};t.styles=c,r.propTypes={},r.defaultProps={component:"div"};var d=(0,u.default)(c,{name:"MuiCardContent"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(456))},function(e,t,n){"use strict";function r(e){var t=e.action,n=e.avatar,r=e.classes,i=e.className,s=e.component,c=e.disableTypography,f=e.subheader,h=e.subheaderTypographyProps,p=e.title,m=e.titleTypographyProps,g=(0,a.default)(e,["action","avatar","classes","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"]),v=p;null==v||v.type===d.default||c||(v=l.default.createElement(d.default,(0,o.default)({variant:n?"body2":"headline",className:r.title,component:"span"},m),v));var y=f;return null==y||y.type===d.default||c||(y=l.default.createElement(d.default,(0,o.default)({variant:n?"body2":"body1",className:r.subheader,color:"textSecondary",component:"span"},h),y)),l.default.createElement(s,(0,o.default)({className:(0,u.default)(r.root,i)},g),n&&l.default.createElement("div",{className:r.avatar},n),l.default.createElement("div",{className:r.content},v,y),t&&l.default.createElement("div",{className:r.action},t))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(7)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(19)),f=function(e){return{root:e.mixins.gutters({display:"flex",alignItems:"center",paddingTop:16,paddingBottom:16}),avatar:{flex:"0 0 auto",marginRight:16},action:(0,s.default)({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-8,marginRight:-12},e.breakpoints.up("sm"),{marginRight:-20}),content:{flex:"1 1 auto"},title:{},subheader:{}}};t.styles=f,r.propTypes={},r.defaultProps={component:"div",disableTypography:!1};var h=(0,c.default)(f,{name:"MuiCardHeader"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(458))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.component,i=e.image,c=e.src,d=e.style,h=(0,s.default)(e,["classes","className","component","image","src","style"]),p=-1!==f.indexOf(r),m=!p&&i?(0,a.default)({backgroundImage:'url("'.concat(i,'")')},d):d;return l.default.createElement(r,(0,a.default)({className:(0,u.default)(t.root,(0,o.default)({},t.media,p),n),style:m,src:p?i||c:void 0},h))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(3)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=(i(n(13)),i(n(5))),d={root:{display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},media:{width:"100%"}};t.styles=d;var f=["video","audio","picture","iframe","img"];r.propTypes={},r.defaultProps={component:"div"};var h=(0,c.default)(d,{name:"MuiCardMedia"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(460))},function(e,t,n){"use strict";function r(e){var t=e.checkedIcon,n=e.classes,r=e.color,i=e.icon,c=e.indeterminate,d=e.indeterminateIcon,f=(0,a.default)(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon"]);return s.default.createElement(u.default,(0,o.default)({type:"checkbox",checkedIcon:c?d:t,classes:{root:(0,l.default)(n.root,n["color".concat((0,h.capitalize)(r))]),checked:n.checked,disabled:n.disabled},icon:c?d:i},f))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(129)),c=i(n(462)),d=i(n(467)),f=i(n(468)),h=n(14),p=i(n(5)),m=function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:e.palette.primary.main},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.action.disabled}}}};t.styles=m,r.propTypes={},r.defaultProps={checkedIcon:s.default.createElement(d.default,null),color:"secondary",icon:s.default.createElement(c.default,null),indeterminate:!1,indeterminateIcon:s.default.createElement(f.default,null)};var g=(0,p.default)(m,{name:"MuiCheckbox"})(r);t.default=g},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.classes,i=e.className,c=e.color,d=e.disabled,p=(0,s.default)(e,["children","classes","className","color","disabled"]);return l.default.createElement(f.default,(0,o.default)({className:(0,u.default)(r.root,(t={},(0,a.default)(t,r["color".concat((0,h.capitalize)(c))],"default"!==c),(0,a.default)(t,r.disabled,d),t),i),centerRipple:!0,focusRipple:!0,disabled:d},p),l.default.createElement("span",{className:r.label},n))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(33),f=i(n(26)),h=n(14),p=function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),width:48,height:48,padding:0,borderRadius:"50%",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:(0,d.fade)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,d.fade)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,d.fade)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}};t.styles=p,r.propTypes={},r.defaultProps={color:"default",disabled:!1};var m=(0,c.default)(p,{name:"MuiIconButton"})(r);t.default=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(62);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(464)),o=n(1),a=(r(n(195)),r(n(61)),function(e){return function(t){var n=(0,o.createFactory)(t),r=function(t){function r(){return t.apply(this,arguments)||this}(0,i.default)(r,t);var o=r.prototype;return o.shouldComponentUpdate=function(t){return e(this.props,t)},o.render=function(){return n(this.props)},r}(o.Component);return r}}),s=a;t.default=s},function(e,t){function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){return function(n){return n[e]=t,n}},i=r;t.default=i},function(e,t,n){"use strict";var r=n(62);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(94)),o=i.default;t.default=o},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(470))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(55)),m=r(n(471)),g=r(n(5)),v=n(33),y=(r(n(128)),n(14));n(194);var b=function(e){var t="light"===e.palette.type?e.palette.grey[300]:e.palette.grey[700],n=(0,v.fade)(e.palette.text.primary,.26);return{root:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:e.palette.getContrastText(t),backgroundColor:t,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:"none",textDecoration:"none",border:"none",padding:0},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},clickable:{WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover, &:focus":{backgroundColor:(0,v.emphasize)(t,.08)},"&:active":{boxShadow:e.shadows[1],backgroundColor:(0,v.emphasize)(t,.12)}},clickableColorPrimary:{"&:hover, &:focus":{backgroundColor:(0,v.emphasize)(e.palette.primary.main,.08)},"&:active":{backgroundColor:(0,v.emphasize)(e.palette.primary.main,.12)}},clickableColorSecondary:{"&:hover, &:focus":{backgroundColor:(0,v.emphasize)(e.palette.secondary.main,.08)},"&:active":{backgroundColor:(0,v.emphasize)(e.palette.secondary.main,.12)}},deletable:{"&:focus":{backgroundColor:(0,v.emphasize)(t,.08)}},deletableColorPrimary:{"&:focus":{backgroundColor:(0,v.emphasize)(e.palette.primary.main,.2)}},deletableColorSecondary:{"&:focus":{backgroundColor:(0,v.emphasize)(e.palette.secondary.main,.2)}},avatar:{marginRight:-4,width:32,height:32,color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],fontSize:e.typography.pxToRem(16)},avatarColorPrimary:{color:(0,v.darken)(e.palette.primary.contrastText,.1),backgroundColor:e.palette.primary.dark},avatarColorSecondary:{color:(0,v.darken)(e.palette.secondary.contrastText,.1),backgroundColor:e.palette.secondary.dark},avatarChildren:{width:19,height:19},label:{display:"flex",alignItems:"center",paddingLeft:12,paddingRight:12,userSelect:"none",whiteSpace:"nowrap",cursor:"inherit"},deleteIcon:{WebkitTapHighlightColor:"transparent",color:n,cursor:"pointer",height:"auto",margin:"0 4px 0 -8px","&:hover":{color:(0,v.fade)(n,.4)}},deleteIconColorPrimary:{color:(0,v.fade)(e.palette.primary.contrastText,.65),"&:hover, &:active":{color:e.palette.primary.contrastText}},deleteIconColorSecondary:{color:(0,v.fade)(e.palette.primary.contrastText,.65),"&:hover, &:active":{color:e.palette.primary.contrastText}}}};t.styles=b;var w=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.chipRef=null,n.handleDeleteIconClick=function(e){e.stopPropagation();var t=n.props.onDelete;t&&t(e)},n.handleKeyDown=function(e){if(e.currentTarget===e.target){var t=n.props,r=t.onClick,i=t.onDelete,o=t.onKeyDown,a=(0,p.default)(e);!r||"space"!==a&&"enter"!==a?i&&"backspace"===a?(e.preventDefault(),i(e)):"esc"===a&&(e.preventDefault(),n.chipRef&&n.chipRef.blur()):(e.preventDefault(),r(e)),o&&o(e)}},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.avatar,r=t.classes,s=t.className,l=t.clickable,u=t.color,c=t.component,d=t.deleteIcon,p=t.label,g=t.onClick,v=t.onDelete,b=(t.onKeyDown,t.tabIndex),w=(0,a.default)(t,["avatar","classes","className","clickable","color","component","deleteIcon","label","onClick","onDelete","onKeyDown","tabIndex"]),E=(0,h.default)(r.root,(0,o.default)({},r["color".concat((0,y.capitalize)(u))],"default"!==u),(0,o.default)({},r.clickable,g||l),(0,o.default)({},r["clickableColor".concat((0,y.capitalize)(u))],(g||l)&&"default"!==u),(0,o.default)({},r.deletable,v),(0,o.default)({},r["deletableColor".concat((0,y.capitalize)(u))],v&&"default"!==u),s),T=null;v&&(T=d&&f.default.isValidElement(d)?f.default.cloneElement(d,{className:(0,h.default)(d.props.className,r.deleteIcon,(0,o.default)({},r["deleteIconColor".concat((0,y.capitalize)(u))],"default"!==u)),onClick:this.handleDeleteIconClick}):f.default.createElement(m.default,{className:(0,h.default)(r.deleteIcon,(0,o.default)({},r["deleteIconColor".concat((0,y.capitalize)(u))],"default"!==u)),onClick:this.handleDeleteIconClick}));var _=null;n&&f.default.isValidElement(n)&&(_=f.default.cloneElement(n,{className:(0,h.default)(r.avatar,n.props.className,(0,o.default)({},r["avatarColor".concat((0,y.capitalize)(u))],"default"!==u)),childrenClassName:(0,h.default)(r.avatarChildren,n.props.childrenClassName)}));var k=b;return k||(k=g||v||l?0:-1),f.default.createElement(c,(0,i.default)({role:"button",className:E,tabIndex:k,onClick:g,onKeyDown:this.handleKeyDown,ref:function(t){e.chipRef=t}},w),_,f.default.createElement("span",{className:r.label},p),T)}}]),t}(f.default.Component);w.propTypes={},w.defaultProps={clickable:!1,component:"div",color:"default"};var E=(0,g.default)(b,{name:"MuiChip"})(w);t.default=E},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(473))},function(e,t,n){"use strict";function r(e,t,n){return(Math.min(Math.max(t,e),n)-t)/(n-t)}function i(e){return e=r(e,0,1),e=(e-=1)*e*e+1}function o(e){return e*e}function a(e){var t,n,r=e.classes,a=e.className,s=e.color,h=e.size,g=e.style,v=e.thickness,y=e.value,b=e.variant,w=(0,c.default)(e,["classes","className","color","size","style","thickness","value","variant"]),E={},T={},_={};if("determinate"===b||"static"===b){var k=2*Math.PI*((m-v)/2);E.strokeDasharray=k.toFixed(3),_["aria-valuenow"]=Math.round(y),"static"===b?(E.strokeDashoffset="".concat(((100-y)/100*k).toFixed(3),"px"),T.transform="rotate(-90deg)"):(E.strokeDashoffset="".concat((o((100-y)/100)*k).toFixed(3),"px"),T.transform="rotate(".concat((270*i(y/70)).toFixed(3),"deg)"))}return d.default.createElement("div",(0,l.default)({className:(0,f.default)(r.root,(t={},(0,u.default)(t,r["color".concat((0,p.capitalize)(s))],"inherit"!==s),(0,u.default)(t,r.indeterminate,"indeterminate"===b),(0,u.default)(t,r.static,"static"===b),t),a),style:(0,l.default)({width:h,height:h},T,g),role:"progressbar"},_,w),d.default.createElement("svg",{className:r.svg,viewBox:"".concat(m/2," ").concat(m/2," ").concat(m," ").concat(m)},d.default.createElement("circle",{className:(0,f.default)(r.circle,(n={},(0,u.default)(n,r.circleIndeterminate,"indeterminate"===b),(0,u.default)(n,r.circleStatic,"static"===b),n)),style:E,cx:m,cy:m,r:(m-v)/2,fill:"none",strokeWidth:v})))}var s=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var l=s(n(3)),u=s(n(7)),c=s(n(4)),d=s(n(1)),f=(s(n(2)),s(n(6))),h=s(n(5)),p=n(14),m=44,g=function(e){return{root:{display:"inline-block",lineHeight:1},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"mui-progress-circular-rotate 1.4s linear infinite"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"mui-progress-circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},"@keyframes mui-progress-circular-rotate":{"100%":{transform:"rotate(360deg)"}},"@keyframes mui-progress-circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-120px"}}}};t.styles=g,a.propTypes={},a.defaultProps={color:"primary",size:40,thickness:3.6,value:0,variant:"indeterminate"};var v=(0,h.default)(g,{name:"MuiCircularProgress",flip:!1})(a);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=r(n(15)),h=(r(n(2)),r(n(31))),p=r(n(30)),m=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.node=null,n.mounted=null,n.handleClickAway=function(e){if(!e.defaultPrevented&&n.mounted&&n.node){var t=(0,p.default)(n.node);t.documentElement&&t.documentElement.contains(e.target)&&!n.node.contains(e.target)&&n.props.onClickAway(e)}},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.node=f.default.findDOMNode(this),this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.mouseEvent,r=e.touchEvent,a=(e.onClickAway,(0,o.default)(e,["children","mouseEvent","touchEvent","onClickAway"])),s={};return!1!==n&&(s[n]=this.handleClickAway),!1!==r&&(s[r]=this.handleClickAway),d.default.createElement(h.default,(0,i.default)({target:"document"},s,a),t)}}]),t}(d.default.Component);m.propTypes={},m.defaultProps={mouseEvent:"onMouseUp",touchEvent:"onTouchEnd"};var g=m;t.default=g},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=r(n(6)),p=(r(n(2)),r(n(35))),m=r(n(5)),g=n(28),v=n(56),y=function(e){return{container:{height:0,overflow:"hidden",transition:e.transitions.create("height")},entered:{height:"auto"},wrapper:{display:"flex"},wrapperInner:{width:"100%"}}};t.styles=y;var b=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.wrapper=null,n.autoTransitionDuration=null,n.timer=null,n.handleEnter=function(e){e.style.height=n.props.collapsedHeight,n.props.onEnter&&n.props.onEnter(e)},n.handleEntering=function(e){var t=n.props,r=t.timeout,i=t.theme,o=n.wrapperRef?n.wrapperRef.clientHeight:0,a=(0,v.getTransitionProps)(n.props,{mode:"enter"}),s=a.duration;if("auto"===r){var l=i.transitions.getAutoHeightDuration(o);e.style.transitionDuration="".concat(l,"ms"),n.autoTransitionDuration=l}else e.style.transitionDuration="string"===typeof s?s:"".concat(s,"ms");e.style.height="".concat(o,"px"),n.props.onEntering&&n.props.onEntering(e)},n.handleEntered=function(e){e.style.height="auto",n.props.onEntered&&n.props.onEntered(e)},n.handleExit=function(e){var t=n.wrapperRef?n.wrapperRef.clientHeight:0;e.style.height="".concat(t,"px"),n.props.onExit&&n.props.onExit(e)},n.handleExiting=function(e){var t=n.props,r=t.timeout,i=t.theme,o=n.wrapperRef?n.wrapperRef.clientHeight:0,a=(0,v.getTransitionProps)(n.props,{mode:"exit"}),s=a.duration;if("auto"===r){var l=i.transitions.getAutoHeightDuration(o);e.style.transitionDuration="".concat(l,"ms"),n.autoTransitionDuration=l}else e.style.transitionDuration="string"===typeof s?s:"".concat(s,"ms");e.style.height=n.props.collapsedHeight,n.props.onExiting&&n.props.onExiting(e)},n.addEndListener=function(e,t){"auto"===n.props.timeout&&(n.timer=setTimeout(t,n.autoTransitionDuration||0))},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.timer)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.classes,s=t.className,l=t.collapsedHeight,u=t.component,c=(t.onEnter,t.onEntered,t.onEntering,t.onExit,t.onExiting,t.style),d=(t.theme,t.timeout),m=(0,a.default)(t,["children","classes","className","collapsedHeight","component","onEnter","onEntered","onEntering","onExit","onExiting","style","theme","timeout"]);return f.default.createElement(p.default,(0,i.default)({onEnter:this.handleEnter,onEntered:this.handleEntered,onEntering:this.handleEntering,onExit:this.handleExit,onExiting:this.handleExiting,addEndListener:this.addEndListener,timeout:"auto"===d?null:d},m),function(t,a){return f.default.createElement(u,(0,i.default)({className:(0,h.default)(r.container,(0,o.default)({},r.entered,"entered"===t),s),style:(0,i.default)({},c,{minHeight:l})},a),f.default.createElement("div",{className:r.wrapper,ref:function(t){e.wrapperRef=t}},f.default.createElement("div",{className:r.wrapperInner},n)))})}}]),t}(f.default.Component);b.propTypes={},b.defaultProps={collapsedHeight:"0px",component:"div",timeout:g.duration.standard},b.muiSupportAuto=!0;var w=(0,m.default)(y,{withTheme:!0,name:"MuiCollapse"})(b);t.default=w},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(477))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(8)),o=r(n(9)),a=r(n(10)),s=r(n(11)),l=r(n(12)),u=r(n(1)),c=(r(n(2)),n(96)),d=(r(n(36)),function(e){return{"@global":{html:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box"},"*, *::before, *::after":{boxSizing:"inherit"},body:{margin:0,backgroundColor:e.palette.background.default,"@media print":{backgroundColor:e.palette.common.white}}}}}),f=function(e){function t(){return(0,i.default)(this,t),(0,a.default)(this,(0,s.default)(t).apply(this,arguments))}return(0,l.default)(t,e),(0,o.default)(t,[{key:"render",value:function(){return this.props.children}}]),t}(u.default.Component);f.propTypes={},f.propTypes={},f.defaultProps={children:null};var h=(0,c.withStyles)(d,{name:"MuiCssBaseline"})(f);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(479))},function(e,t,n){"use strict";function r(e){var t,n=e.BackdropProps,r=e.children,i=e.classes,c=e.className,h=e.disableBackdropClick,p=e.disableEscapeKeyDown,g=e.fullScreen,v=e.fullWidth,y=e.maxWidth,b=e.onBackdropClick,w=e.onClose,E=e.onEnter,T=e.onEntered,_=e.onEntering,k=e.onEscapeKeyDown,x=e.onExit,S=e.onExited,C=e.onExiting,O=e.open,A=e.PaperProps,P=e.scroll,I=e.TransitionComponent,R=e.transitionDuration,N=e.TransitionProps,M=(0,a.default)(e,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"]);return l.default.createElement(f.default,(0,o.default)({className:(0,u.default)(i.root,i["scroll".concat((0,d.capitalize)(P))],c),BackdropProps:(0,o.default)({transitionDuration:R},n),disableBackdropClick:h,disableEscapeKeyDown:p,onBackdropClick:b,onEscapeKeyDown:k,onClose:w,open:O,role:"dialog"},M),l.default.createElement(I,(0,o.default)({appear:!0,in:O,timeout:R,onEnter:E,onEntering:_,onEntered:T,onExit:x,onExiting:C,onExited:S},N),l.default.createElement(m.default,(0,o.default)({elevation:24,className:(0,u.default)(i.paper,i["paperScroll".concat((0,d.capitalize)(P))],(t={},(0,s.default)(t,i["paperWidth".concat(y?(0,d.capitalize)(y):"")],y),(0,s.default)(t,i.paperFullScreen,g),(0,s.default)(t,i.paperFullWidth,v),t))},A),r)))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(7)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=i(n(83)),h=i(n(124)),p=n(28),m=i(n(25)),g=function(e){return{root:{},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden"},paper:{display:"flex",flexDirection:"column",margin:48,position:"relative",overflowY:"auto",outline:"none"},paperScrollPaper:{flex:"0 1 auto",maxHeight:"calc(100% - 96px)"},paperScrollBody:{margin:"48px auto"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,360),"&$paperScrollBody":(0,s.default)({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,360)+96),{margin:48})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,"&$paperScrollBody":(0,s.default)({},e.breakpoints.down(e.breakpoints.values.sm+96),{margin:48})},paperWidthMd:{maxWidth:e.breakpoints.values.md,"&$paperScrollBody":(0,s.default)({},e.breakpoints.down(e.breakpoints.values.md+96),{margin:48})},paperFullWidth:{width:"100%"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0}}};t.styles=g,r.propTypes={},r.defaultProps={disableBackdropClick:!1,disableEscapeKeyDown:!1,fullScreen:!1,fullWidth:!1,maxWidth:"sm",scroll:"paper",TransitionComponent:h.default,transitionDuration:{enter:p.duration.enteringScreen,exit:p.duration.leavingScreen}};var v=(0,c.default)(g,{name:"MuiDialog"})(r);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(481))},function(e,t,n){"use strict";function r(e){var t=e.disableActionSpacing,n=e.children,r=e.classes,i=e.className,u=(0,a.default)(e,["disableActionSpacing","children","classes","className"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(r.root,i)},u),t?n:(0,c.cloneChildrenWithClassName)(n,r.action))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=n(39);n(54);var d={root:{display:"flex",alignItems:"center",justifyContent:"flex-end",flex:"0 0 auto",margin:"8px 4px"},action:{margin:"0 4px"}};t.styles=d,r.propTypes={},r.defaultProps={disableActionSpacing:!1};var f=(0,u.default)(d,{name:"MuiDialogActions"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(483))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.children,r=e.className,i=(0,a.default)(e,["classes","children","className"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(t.root,r)},i),n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c={root:{flex:"1 1 auto",overflowY:"auto",WebkitOverflowScrolling:"touch",padding:"0 24px 24px","&:first-child":{paddingTop:24}}};t.styles=c,r.propTypes={};var d=(0,u.default)(c,{name:"MuiDialogContent"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(485))},function(e,t,n){"use strict";function r(e){return a.default.createElement(l.default,(0,o.default)({component:"p",variant:"subheading",color:"textSecondary"},e))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(1)),s=(i(n(2)),i(n(5))),l=i(n(19)),u={root:{}};t.styles=u,r.propTypes={};var c=(0,s.default)(u,{name:"MuiDialogContentText"})(r);t.default=c},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(487))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=e.disableTypography,u=(0,a.default)(e,["children","classes","className","disableTypography"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(n.root,r)},u),i?t:s.default.createElement(c.default,{variant:"title"},t))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=i(n(19)),d={root:{margin:0,padding:"24px 24px 20px",flex:"0 0 auto"}};t.styles=d,r.propTypes={},r.defaultProps={disableTypography:!1};var f=(0,u.default)(d,{name:"MuiDialogTitle"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(489))},function(e,t,n){"use strict";function r(e){var t,n=e.absolute,r=e.classes,i=e.className,c=e.component,d=e.inset,f=e.light,h=(0,s.default)(e,["absolute","classes","className","component","inset","light"]),p=(0,u.default)(r.root,(t={},(0,a.default)(t,r.absolute,n),(0,a.default)(t,r.inset,d),(0,a.default)(t,r.light,f),t),i);return l.default.createElement(c,(0,o.default)({className:p},h))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(33),f=function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:(0,d.fade)(e.palette.divider,.08)}}};t.styles=f,r.propTypes={},r.defaultProps={absolute:!1,component:"hr",inset:!1,light:!1};var h=(0,c.default)(f,{name:"MuiDivider"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(130))},function(e,t,n){"use strict";function r(e,t){var n,r=e.direction,i=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var o=(0,y.default)(t).getComputedStyle(t);n=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var a=0,s=0;if(n&&"none"!==n&&"string"===typeof n){var l=n.split("(")[1].split(")")[0].split(",");a=parseInt(l[4],10),s=parseInt(l[5],10)}return"left"===r?"translateX(100vw) translateX(-".concat(i.left-a,"px)"):"right"===r?"translateX(-".concat(i.left+i.width+T-a,"px)"):"up"===r?"translateY(100vh) translateY(-".concat(i.top-s,"px)"):"translateY(-".concat(i.top+i.height+T-s,"px)")}function i(e,t){var n=r(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.setTranslateValue=i,t.default=void 0;var a=o(n(4)),s=o(n(3)),l=o(n(8)),u=o(n(9)),c=o(n(10)),d=o(n(11)),f=o(n(12)),h=o(n(1)),p=(o(n(2)),o(n(15))),m=o(n(31)),g=o(n(38)),v=o(n(35)),y=o(n(81)),b=o(n(29)),w=n(28),E=n(56),T=24,_=function(e){function t(){var e,n;(0,l.default)(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=(0,c.default)(this,(e=(0,d.default)(t)).call.apply(e,[this].concat(o))),n.mounted=!1,n.transition=null,n.handleResize=(0,g.default)(function(){n.props.in||"down"===n.props.direction||"right"===n.props.direction||n.transitionRef&&i(n.props,n.transitionRef)},166),n.handleEnter=function(e){i(n.props,e),(0,E.reflow)(e),n.props.onEnter&&n.props.onEnter(e)},n.handleEntering=function(e){var t=n.props.theme,r=(0,E.getTransitionProps)(n.props,{mode:"enter"});e.style.webkitTransition=t.transitions.create("-webkit-transform",(0,s.default)({},r,{easing:t.transitions.easing.easeOut})),e.style.transition=t.transitions.create("transform",(0,s.default)({},r,{easing:t.transitions.easing.easeOut})),e.style.webkitTransform="translate(0, 0)",e.style.transform="translate(0, 0)",n.props.onEntering&&n.props.onEntering(e)},n.handleExit=function(e){var t=n.props.theme,r=(0,E.getTransitionProps)(n.props,{mode:"exit"});e.style.webkitTransition=t.transitions.create("-webkit-transform",(0,s.default)({},r,{easing:t.transitions.easing.sharp})),e.style.transition=t.transitions.create("transform",(0,s.default)({},r,{easing:t.transitions.easing.sharp})),i(n.props,e),n.props.onExit&&n.props.onExit(e)},n.handleExited=function(e){e.style.webkitTransition="",e.style.transition="",n.props.onExited&&n.props.onExited(e)},n}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){this.props.in||this.updatePosition(),this.mounted=!0}},{key:"componentDidUpdate",value:function(e){e.direction===this.props.direction||this.props.in||this.updatePosition()}},{key:"componentWillUnmount",value:function(){this.handleResize.clear()}},{key:"updatePosition",value:function(){this.transitionRef&&(this.transitionRef.style.visibility="inherit",i(this.props,this.transitionRef))}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=(t.onEnter,t.onEntering,t.onExit,t.onExited,t.style),i=(t.theme,(0,a.default)(t,["children","onEnter","onEntering","onExit","onExited","style","theme"])),o={};return this.props.in||this.mounted||(o.visibility="hidden"),o=(0,s.default)({},o,r,h.default.isValidElement(n)?n.props.style:{}),h.default.createElement(m.default,{target:"window",onResize:this.handleResize},h.default.createElement(v.default,(0,s.default)({onEnter:this.handleEnter,onEntering:this.handleEntering,onExit:this.handleExit,onExited:this.handleExited,appear:!0,style:o,ref:function(t){e.transitionRef=p.default.findDOMNode(t)}},i),n))}}]),t}(h.default.Component);_.propTypes={},_.defaultProps={direction:"down",timeout:{enter:w.duration.enteringScreen,exit:w.duration.leavingScreen}};var k=(0,b.default)()(_);t.default=k},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(7)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(3)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=(r(n(13)),r(n(85))),m=r(n(25)),g=r(n(5)),v=n(39),y="undefined"!==typeof window&&/jsdom/.test(window.navigator.userAgent)?{}:{"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}},b=function(e){var t={duration:e.transitions.duration.shortest};return{root:{position:"relative",transition:e.transitions.create(["margin"],t),"&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:e.palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-child":{borderTopLeftRadius:2,borderTopRightRadius:2,"&:before":{display:"none"}},"&:last-child":(0,d.default)({borderBottomLeftRadius:2,borderBottomRightRadius:2},y),"&$expanded + &":{"&:before":{display:"none"}}},expanded:{margin:"16px 0","&:first-child":{marginTop:0},"&:last-child":{marginBottom:0},"&:before":{opacity:0}},disabled:{backgroundColor:e.palette.action.disabledBackground}}};t.styles=b;var w=function(e){function t(e){var n;return(0,a.default)(this,t),n=(0,l.default)(this,(0,u.default)(t).call(this)),n.isControlled=null,n.state={},n.handleChange=function(e){var t=n.isControlled?n.props.expanded:n.state.expanded;n.isControlled||n.setState({expanded:!t}),n.props.onChange&&n.props.onChange(e,!t)},n.isControlled=null!=e.expanded,n.isControlled||(n.state.expanded=void 0!==e.defaultExpanded&&e.defaultExpanded),n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e,t=this,n=this.props,r=n.children,a=n.classes,s=n.className,l=n.CollapseProps,u=(n.defaultExpanded,n.disabled),c=n.expanded,g=(n.onChange,(0,o.default)(n,["children","classes","className","CollapseProps","defaultExpanded","disabled","expanded","onChange"])),y=this.isControlled?c:this.state.expanded,b=(0,h.default)(a.root,(e={},(0,i.default)(e,a.expanded,y),(0,i.default)(e,a.disabled,u),e),s),w=null,E=f.default.Children.map(r,function(e){return f.default.isValidElement(e)?(0,v.isMuiElement)(e,["ExpansionPanelSummary"])?(w=f.default.cloneElement(e,{disabled:u,expanded:y,onChange:t.handleChange}),null):e:null}),T=y?null:{"aria-hidden":"true"};return f.default.createElement(m.default,(0,d.default)({className:b,elevation:1,square:!0},g),w,f.default.createElement(p.default,(0,d.default)({in:y,timeout:"auto"},T,l),E))}}]),t}(f.default.Component);w.propTypes={},w.defaultProps={defaultExpanded:!1,disabled:!1};var E=(0,g.default)(b,{name:"MuiExpansionPanel"})(w);t.default=E},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(494))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=(0,a.default)(e,["children","classes","className"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(n.root,r)},i),(0,c.cloneChildrenWithClassName)(t,n.action))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=n(39);n(54);var d={root:{display:"flex",alignItems:"center",justifyContent:"flex-end",padding:"16px 8px"},action:{marginLeft:8}};t.styles=d,r.propTypes={};var f=(0,u.default)(d,{name:"MuiExpansionPanelActions"})(r);t.default=f},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.children,r=e.className,i=(0,a.default)(e,["classes","children","className"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(t.root,r)},i),n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c={root:{display:"flex",padding:"8px 24px 24px"}};t.styles=c,r.propTypes={};var d=(0,u.default)(c,{name:"MuiExpansionPanelDetails"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(26)),m=r(n(84)),g=r(n(5)),v=function(e){var t={duration:e.transitions.duration.shortest};return{root:{display:"flex",minHeight:48,transition:e.transitions.create(["min-height","background-color"],t),padding:"0 24px 0 24px","&:hover:not($disabled)":{cursor:"pointer"},"&$expanded":{minHeight:64},"&$focused":{backgroundColor:e.palette.grey[300]},"&$disabled":{opacity:.38}},expanded:{},focused:{},disabled:{},content:{display:"flex",flexGrow:1,transition:e.transitions.create(["margin"],t),margin:"12px 0","& > :last-child":{paddingRight:32},"&$expanded":{margin:"20px 0"}},expandIcon:{position:"absolute",top:"50%",right:8,transform:"translateY(-50%) rotate(0deg)",transition:e.transitions.create("transform",t),"&:hover":{backgroundColor:"transparent"},"&$expanded":{transform:"translateY(-50%) rotate(180deg)"}}}};t.styles=v;var y=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.state={focused:!1},n.handleFocus=function(){n.setState({focused:!0})},n.handleBlur=function(){n.setState({focused:!1})},n.handleChange=function(e){var t=n.props,r=t.onChange,i=t.onClick;r&&r(e),i&&i(e)},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.classes,s=t.className,l=t.disabled,u=t.expanded,c=t.expandIcon,d=t.IconButtonProps,g=(t.onChange,(0,a.default)(t,["children","classes","className","disabled","expanded","expandIcon","IconButtonProps","onChange"])),v=this.state.focused;return f.default.createElement(p.default,(0,i.default)({focusRipple:!1,disableRipple:!0,disabled:l,component:"div","aria-expanded":u,className:(0,h.default)(r.root,(e={},(0,o.default)(e,r.disabled,l),(0,o.default)(e,r.expanded,u),(0,o.default)(e,r.focused,v),e),s)},g,{onFocusVisible:this.handleFocus,onBlur:this.handleBlur,onClick:this.handleChange}),f.default.createElement("div",{className:(0,h.default)(r.content,(0,o.default)({},r.expanded,u))},n),c&&f.default.createElement(m.default,(0,i.default)({disabled:l,className:(0,h.default)(r.expandIcon,(0,o.default)({},r.expanded,u)),component:"div",tabIndex:-1,"aria-hidden":"true"},d),c))}}]),t}(f.default.Component);y.propTypes={},y.defaultProps={disabled:!1},y.muiName="ExpansionPanelSummary";var b=(0,g.default)(v,{name:"MuiExpansionPanelSummary"})(y);t.default=b},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=r(n(2)),p=r(n(6)),m=r(n(5)),g=n(132),v=n(14),y=n(39),b={root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}};t.styles=b;var w=function(e){function t(e){var n;(0,s.default)(this,t),n=(0,u.default)(this,(0,c.default)(t).call(this)),n.state={adornedStart:!1,filled:!1,focused:!1},n.handleFocus=function(){n.setState(function(e){return e.focused?null:{focused:!0}})},n.handleBlur=function(){n.setState(function(e){return e.focused?{focused:!1}:null})},n.handleDirty=function(){n.state.filled||n.setState({filled:!0})},n.handleClean=function(){n.state.filled&&n.setState({filled:!1})};var r=e.children;return r&&f.default.Children.forEach(r,function(e){if((0,y.isMuiElement)(e,["Input","Select","NativeSelect"])){(0,g.isFilled)(e.props,!0)&&(n.state.filled=!0);var t=(0,y.isMuiElement)(e,["Select","NativeSelect"])?e.props.input:e;t&&(0,g.isAdornedStart)(t.props)&&(n.state.adornedStart=!0)}}),n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"getChildContext",value:function(){var e=this.props,t=e.disabled,n=e.error,r=e.required,i=e.margin,o=this.state;return{muiFormControl:{adornedStart:o.adornedStart,disabled:t,error:n,filled:o.filled,focused:o.focused,margin:i,onBlur:this.handleBlur,onEmpty:this.handleClean,onFilled:this.handleDirty,onFocus:this.handleFocus,required:r}}}},{key:"render",value:function(){var e,t=this.props,n=t.classes,r=t.className,s=t.component,l=(t.disabled,t.error,t.fullWidth),u=t.margin,c=(t.required,(0,a.default)(t,["classes","className","component","disabled","error","fullWidth","margin","required"]));return f.default.createElement(s,(0,i.default)({className:(0,p.default)(n.root,(e={},(0,o.default)(e,n["margin".concat((0,v.capitalize)(u))],"none"!==u),(0,o.default)(e,n.fullWidth,l),e),r)},c))}}]),t}(f.default.Component);w.propTypes={},w.defaultProps={component:"div",disabled:!1,error:!1,fullWidth:!1,margin:"none",required:!1},w.childContextTypes={muiFormControl:h.default.object};var E=(0,m.default)(b,{name:"MuiFormControl"})(w);t.default=E},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(6))),h=r(n(38)),p=r(n(31)),m=r(n(5)),g=19,v={root:{position:"relative",width:"100%"},textarea:{width:"100%",height:"100%",resize:"none",font:"inherit",padding:0,cursor:"inherit",boxSizing:"border-box",lineHeight:"inherit",border:"none",outline:"none",background:"transparent"},shadow:{overflow:"hidden",visibility:"hidden",position:"absolute",height:"auto",whiteSpace:"pre-wrap"}};t.styles=v;var y=function(e){function t(e){var n;return(0,a.default)(this,t),n=(0,l.default)(this,(0,u.default)(t).call(this)),n.isControlled=null,n.shadowRef=null,n.singlelineShadowRef=null,n.inputRef=null,n.value=null,n.handleResize=(0,h.default)(function(){n.syncHeightWithShadow()},166),n.state={height:null},n.handleRefInput=function(e){n.inputRef=e;var t=n.props.textareaRef;t&&("function"===typeof t?t(e):t.current=e)},n.handleRefSinglelineShadow=function(e){n.singlelineShadowRef=e},n.handleRefShadow=function(e){n.shadowRef=e},n.handleChange=function(e){n.value=e.target.value,n.isControlled||(n.shadowRef.value=n.value,n.syncHeightWithShadow()),n.props.onChange&&n.props.onChange(e)},n.isControlled=null!=e.value,n.value=e.value||e.defaultValue||"",n.state={height:Number(e.rows)*g},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.syncHeightWithShadow()}},{key:"componentDidUpdate",value:function(){this.syncHeightWithShadow()}},{key:"componentWillUnmount",value:function(){this.handleResize.clear()}},{key:"syncHeightWithShadow",value:function(){var e=this.props;if(this.shadowRef){this.isControlled&&(this.shadowRef.value=null==e.value?"":String(e.value));var t=this.singlelineShadowRef.scrollHeight,n=this.shadowRef.scrollHeight;void 0!==n&&(Number(e.rowsMax)>=Number(e.rows)&&(n=Math.min(Number(e.rowsMax)*t,n)),n=Math.max(n,t),Math.abs(this.state.height-n)>1&&this.setState({height:n}))}}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.className,r=e.defaultValue,a=(e.onChange,e.rows),s=(e.rowsMax,e.textareaRef,e.value),l=(0,o.default)(e,["classes","className","defaultValue","onChange","rows","rowsMax","textareaRef","value"]);return d.default.createElement("div",{className:t.root,style:{height:this.state.height}},d.default.createElement(p.default,{target:"window",onResize:this.handleResize}),d.default.createElement("textarea",{"aria-hidden":"true",className:(0,f.default)(t.textarea,t.shadow),readOnly:!0,ref:this.handleRefSinglelineShadow,rows:"1",tabIndex:-1,value:""}),d.default.createElement("textarea",{"aria-hidden":"true",className:(0,f.default)(t.textarea,t.shadow),defaultValue:r,readOnly:!0,ref:this.handleRefShadow,rows:a,tabIndex:-1,value:s}),d.default.createElement("textarea",(0,i.default)({rows:a,className:(0,f.default)(t.textarea,n),defaultValue:r,value:s,onChange:this.handleChange,ref:this.handleRefInput},l)))}}]),t}(d.default.Component);y.propTypes={},y.defaultProps={rows:1};var b=(0,m.default)(v)(y);t.default=b},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(500))},function(e,t,n){"use strict";function r(e,t){var n,r=(e.checked,e.classes),i=e.className,u=e.control,d=e.disabled,h=(e.inputRef,e.label),p=e.labelPlacement,m=(e.name,e.onChange,e.value,(0,s.default)(e,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"])),g=t.muiFormControl,v=d;"undefined"===typeof v&&"undefined"!==typeof u.props.disabled&&(v=u.props.disabled),"undefined"===typeof v&&g&&(v=g.disabled);var y={disabled:v};return["checked","name","onChange","value","inputRef"].forEach(function(t){"undefined"===typeof u.props[t]&&"undefined"!==typeof e[t]&&(y[t]=e[t])}),l.default.createElement("label",(0,o.default)({className:(0,c.default)(r.root,(n={},(0,a.default)(n,r.labelPlacementStart,"start"===p),(0,a.default)(n,r.disabled,v),n),i)},m),l.default.cloneElement(u,y),l.default.createElement(f.default,{component:"span",className:(0,c.default)(r.label,(0,a.default)({},r.disabled,v))},h))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=i(n(19)),h=function(e){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-14,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse"},disabled:{},label:{"&$disabled":{color:e.palette.text.disabled}}}};t.styles=h,r.propTypes={},r.defaultProps={labelPlacement:"end"},r.contextTypes={muiFormControl:u.default.object};var p=(0,d.default)(h,{name:"MuiFormControlLabel"})(r);t.default=p},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.children,i=e.row,c=(0,s.default)(e,["classes","className","children","row"]);return l.default.createElement("div",(0,o.default)({className:(0,u.default)(t.root,(0,a.default)({},t.row,i),n)},c),r)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d={root:{display:"flex",flexDirection:"column",flexWrap:"wrap"},row:{flexDirection:"row"}};t.styles=d,r.propTypes={},r.defaultProps={row:!1};var f=(0,c.default)(d,{name:"MuiFormGroup"})(r);t.default=f},function(e,t,n){"use strict";function r(e,t){var n,r=e.classes,i=e.className,u=e.component,d=e.disabled,f=e.error,h=e.filled,p=e.focused,m=e.margin,g=e.required,v=(0,s.default)(e,["classes","className","component","disabled","error","filled","focused","margin","required"]),y=t.muiFormControl,b=d,w=f,E=h,T=p,_=m,k=g;y&&("undefined"===typeof b&&(b=y.disabled),"undefined"===typeof w&&(w=y.error),"undefined"===typeof _&&(_=y.margin),"undefined"===typeof k&&(k=y.required),"undefined"===typeof T&&(T=y.focused),"undefined"===typeof E&&(E=y.filled));var x=(0,c.default)(r.root,(n={},(0,a.default)(n,r.disabled,b),(0,a.default)(n,r.error,w),(0,a.default)(n,r.filled,E),(0,a.default)(n,r.focused,T),(0,a.default)(n,r.marginDense,"dense"===_),(0,a.default)(n,r.required,k),n),i);return l.default.createElement(u,(0,o.default)({className:x},v))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=function(e){return{root:{color:e.palette.text.secondary,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),textAlign:"left",marginTop:8,lineHeight:"1em",minHeight:"1em",margin:0,"&$error":{color:e.palette.error.main},"&$disabled":{color:e.palette.text.disabled}},error:{},disabled:{},marginDense:{marginTop:4},focused:{},filled:{},required:{}}};t.styles=f,r.propTypes={},r.defaultProps={component:"p"},r.contextTypes={muiFormControl:u.default.object};var h=(0,d.default)(f,{name:"MuiFormHelperText"})(r);t.default=h},function(e,t,n){"use strict";function r(e,t){var n,r=e.children,i=e.classes,u=e.className,d=e.component,f=e.disabled,h=e.error,p=e.filled,m=e.focused,g=e.required,v=(0,s.default)(e,["children","classes","className","component","disabled","error","filled","focused","required"]),y=t.muiFormControl,b=f,w=h,E=p,T=m,_=g;y&&("undefined"===typeof _&&(_=y.required),"undefined"===typeof T&&(T=y.focused),"undefined"===typeof b&&(b=y.disabled),"undefined"===typeof w&&(w=y.error),"undefined"===typeof E&&(E=y.filled));var k=(0,c.default)(i.root,(n={},(0,a.default)(n,i.disabled,b),(0,a.default)(n,i.error,w),(0,a.default)(n,i.filled,E),(0,a.default)(n,i.focused,T),(0,a.default)(n,i.required,_),n),u);return l.default.createElement(d,(0,o.default)({className:k},v),r,_&&l.default.createElement("span",{className:(0,c.default)(i.asterisk,(0,a.default)({},i.error,w))},"\u2009*"))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=function(e){return{root:{fontFamily:e.typography.fontFamily,color:e.palette.text.secondary,fontSize:e.typography.pxToRem(16),lineHeight:1,padding:0,"&$focused":{color:e.palette.primary["light"===e.palette.type?"dark":"light"]},"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:e.palette.error.main}}}};t.styles=f,r.propTypes={},r.defaultProps={component:"label"},r.contextTypes={muiFormControl:u.default.object};var h=(0,d.default)(f,{name:"MuiFormLabel"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(505))},function(e,t,n){"use strict";function r(e,t,n){var r={};m.forEach(function(e){var t="grid-".concat(n,"-").concat(e);if(!0===e)return void(r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"});if("auto"===e)return void(r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"});var i="".concat(Math.round(e/12*1e7)/1e5,"%");r[t]={flexBasis:i,flexGrow:0,maxWidth:i}}),"xs"===n?(0,u.default)(e,r):e[t.breakpoints.up(n)]=r}function i(e,t){var n={};return p.forEach(function(e,r){0!==r&&(n["spacing-".concat(t,"-").concat(e)]={margin:-e/2,width:"calc(100% + ".concat(e,"px)"),"& > $item":{padding:e/2}})}),n}function o(e){var t,n=e.alignContent,r=e.alignItems,i=e.classes,a=e.className,f=e.component,h=e.container,p=e.direction,m=e.item,g=e.justify,v=e.lg,y=e.md,b=e.sm,w=e.spacing,E=e.wrap,T=e.xl,_=e.xs,k=e.zeroMinWidth,x=(0,l.default)(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),S=(0,d.default)((t={},(0,s.default)(t,i.container,h),(0,s.default)(t,i.item,m),(0,s.default)(t,i.zeroMinWidth,k),(0,s.default)(t,i["spacing-xs-".concat(String(w))],h&&0!==w),(0,s.default)(t,i["direction-xs-".concat(String(p))],p!==o.defaultProps.direction),(0,s.default)(t,i["wrap-xs-".concat(String(E))],E!==o.defaultProps.wrap),(0,s.default)(t,i["align-items-xs-".concat(String(r))],r!==o.defaultProps.alignItems),(0,s.default)(t,i["align-content-xs-".concat(String(n))],n!==o.defaultProps.alignContent),(0,s.default)(t,i["justify-xs-".concat(String(g))],g!==o.defaultProps.justify),(0,s.default)(t,i["grid-xs-".concat(String(_))],!1!==_),(0,s.default)(t,i["grid-sm-".concat(String(b))],!1!==b),(0,s.default)(t,i["grid-md-".concat(String(y))],!1!==y),(0,s.default)(t,i["grid-lg-".concat(String(v))],!1!==v),(0,s.default)(t,i["grid-xl-".concat(String(T))],!1!==T),t),a);return c.default.createElement(f,(0,u.default)({className:S},x))}var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var s=a(n(7)),l=a(n(4)),u=a(n(3)),c=a(n(1)),d=(a(n(2)),a(n(6))),f=a(n(5)),h=n(59),p=(a(n(506)),[0,8,16,24,32,40]),m=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],g=function(e){return(0,u.default)({container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-xs-center":{justifyContent:"center"},"justify-xs-flex-end":{justifyContent:"flex-end"},"justify-xs-space-between":{justifyContent:"space-between"},"justify-xs-space-around":{justifyContent:"space-around"},"justify-xs-space-evenly":{justifyContent:"space-evenly"}},i(e,"xs"),h.keys.reduce(function(t,n){return r(t,e,n),t},{}))};t.styles=g,o.propTypes={},o.defaultProps={alignContent:"stretch",alignItems:"stretch",component:"div",container:!1,direction:"row",item:!1,justify:"flex-start",lg:!1,md:!1,sm:!1,spacing:0,wrap:"wrap",xl:!1,xs:!1,zeroMinWidth:!1};var v=(0,f.default)(g,{name:"MuiGrid"})(o),y=v;t.default=y},function(e,t,n){"use strict";function r(e){return function(){return null}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r;t.default=i},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(508))},function(e,t,n){"use strict";function r(e){var t=e.cellHeight,n=e.children,r=e.classes,i=e.className,u=e.cols,c=e.component,d=e.spacing,f=e.style,h=(0,a.default)(e,["cellHeight","children","classes","className","cols","component","spacing","style"]);return s.default.createElement(c,(0,o.default)({className:(0,l.default)(r.root,i),style:(0,o.default)({margin:-d/2},f)},h),s.default.Children.map(n,function(e){if(!s.default.isValidElement(e))return null;var n=e.props.cols||1,r=e.props.rows||1;return s.default.cloneElement(e,{style:(0,o.default)({width:"".concat(100/u*n,"%"),height:"auto"===t?"auto":t*r+d,padding:d/2},e.props.style)})}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=(i(n(13)),i(n(5))),c={root:{display:"flex",flexWrap:"wrap",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch"}};t.styles=c,r.propTypes={},r.defaultProps={cellHeight:180,cols:2,component:"ul",spacing:4};var d=(0,u.default)(c,{name:"MuiGridList"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(510))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(82)),s=r(n(8)),l=r(n(9)),u=r(n(10)),c=r(n(11)),d=r(n(12)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(31)),m=r(n(38)),g=r(n(5)),v={root:{boxSizing:"border-box",flexShrink:0},tile:{position:"relative",display:"block",height:"100%",overflow:"hidden"},imgFullHeight:{height:"100%",transform:"translateX(-50%)",position:"relative",left:"50%"},imgFullWidth:{width:"100%",position:"relative",transform:"translateY(-50%)",top:"50%"}};t.styles=v;var y=function(e){function t(){var e,n;(0,s.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,u.default)(this,(e=(0,c.default)(t)).call.apply(e,[this].concat(i))),n.imgElement=null,n.handleResize=(0,m.default)(function(){n.fit()},166),n.fit=function(){var e=n.imgElement;if(e&&e.complete){if(e.width/e.height>e.parentNode.offsetWidth/e.parentNode.offsetHeight){var t,r;(t=e.classList).remove.apply(t,(0,a.default)(n.props.classes.imgFullWidth.split(" "))),(r=e.classList).add.apply(r,(0,a.default)(n.props.classes.imgFullHeight.split(" ")))}else{var i,o;(i=e.classList).remove.apply(i,(0,a.default)(n.props.classes.imgFullHeight.split(" "))),(o=e.classList).add.apply(o,(0,a.default)(n.props.classes.imgFullWidth.split(" ")))}e.removeEventListener("load",n.fit)}},n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.ensureImageCover()}},{key:"componentDidUpdate",value:function(){this.ensureImageCover()}},{key:"componentWillUnmount",value:function(){this.handleResize.clear()}},{key:"ensureImageCover",value:function(){this.imgElement&&(this.imgElement.complete?this.fit():this.imgElement.addEventListener("load",this.fit))}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.classes,a=t.className,s=(t.cols,t.component),l=(t.rows,(0,o.default)(t,["children","classes","className","cols","component","rows"]));return f.default.createElement(s,(0,i.default)({className:(0,h.default)(r.root,a)},l),f.default.createElement(p.default,{target:"window",onResize:this.handleResize}),f.default.createElement("div",{className:r.tile},f.default.Children.map(n,function(t){return f.default.isValidElement(t)?"img"===t.type?f.default.cloneElement(t,{ref:function(t){e.imgElement=t}}):t:null})))}}]),t}(f.default.Component);y.propTypes={},y.defaultProps={cols:1,component:"li",rows:1};var b=(0,g.default)(v,{name:"MuiGridListTile"})(y);t.default=b},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(512))},function(e,t,n){"use strict";function r(e){var t,n,r=e.actionIcon,i=e.actionPosition,c=e.classes,d=e.className,f=e.subtitle,h=e.title,p=e.titlePosition,m=(0,s.default)(e,["actionIcon","actionPosition","classes","className","subtitle","title","titlePosition"]),g=r&&i,v=(0,u.default)(c.root,(t={},(0,a.default)(t,c.titlePositionBottom,"bottom"===p),(0,a.default)(t,c.titlePositionTop,"top"===p),(0,a.default)(t,c.rootSubtitle,f),t),d),y=(0,u.default)(c.titleWrap,(n={},(0,a.default)(n,c.titleWrapActionPosLeft,"left"===g),(0,a.default)(n,c.titleWrapActionPosRight,"right"===g),n));return l.default.createElement("div",(0,o.default)({className:v},m),l.default.createElement("div",{className:y},l.default.createElement("div",{className:c.title},h),f?l.default.createElement("div",{className:c.subtitle},f):null),r?l.default.createElement("div",{className:(0,u.default)(c.actionIcon,(0,a.default)({},c.actionIconActionPosLeft,"left"===g))},r):null)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=function(e){return{root:{position:"absolute",left:0,right:0,height:48,background:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",fontFamily:e.typography.fontFamily},titlePositionBottom:{bottom:0},titlePositionTop:{top:0},rootSubtitle:{height:68},titleWrap:{flexGrow:1,marginLeft:e.mixins.gutters().paddingLeft,marginRight:e.mixins.gutters().paddingRight,color:e.palette.common.white,overflow:"hidden"},titleWrapActionPosLeft:{marginLeft:0},titleWrapActionPosRight:{marginRight:0},title:{fontSize:e.typography.pxToRem(16),lineHeight:"24px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},subtitle:{fontSize:e.typography.pxToRem(12),lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},actionIcon:{},actionIconActionPosLeft:{order:-1}}};t.styles=d,r.propTypes={},r.defaultProps={actionPosition:"right",titlePosition:"bottom"};var f=(0,c.default)(d,{name:"MuiGridListTileBar"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(514))},function(e,t,n){"use strict";function r(e){var t=e.implementation,n=(0,o.default)(e,["implementation"]);return"js"===t?a.default.createElement(s.default,n):a.default.createElement(l.default,n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(4)),a=i(n(1)),s=(i(n(2)),i(n(515))),l=i(n(517));r.propTypes={},r.defaultProps={implementation:"js",lgDown:!1,lgUp:!1,mdDown:!1,mdUp:!1,smDown:!1,smUp:!1,xlDown:!1,xlUp:!1,xsDown:!1,xsUp:!1};var u=r;t.default=u},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.only,r=e.width,i=!0;if(n)if(Array.isArray(n))for(var o=0;o<n.length;o+=1){var a=n[o];if(r===a){i=!1;break}}else n&&r===n&&(i=!1);if(i)for(var u=0;u<s.keys.length;u+=1){var c=s.keys[u],d=e["".concat(c,"Up")],f=e["".concat(c,"Down")];if(d&&(0,l.isWidthUp)(c,r)||f&&(0,l.isWidthDown)(c,r)){i=!1;break}}return i?t:null}var i=n(46),o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(2)),s=n(59),l=i(n(133)),u=o(n(36));r.propTypes={children:a.default.node,className:a.default.string,implementation:a.default.oneOf(["js","css"]),initialWidth:a.default.oneOf(["xs","sm","md","lg","xl"]),lgDown:a.default.bool,lgUp:a.default.bool,mdDown:a.default.bool,mdUp:a.default.bool,only:a.default.oneOfType([a.default.oneOf(["xs","sm","md","lg","xl"]),a.default.arrayOf(a.default.oneOf(["xs","sm","md","lg","xl"]))]),smDown:a.default.bool,smUp:a.default.bool,width:a.default.string.isRequired,xlDown:a.default.bool,xlUp:a.default.bool,xsDown:a.default.bool,xsUp:a.default.bool},r.propTypes=(0,u.default)(r.propTypes);var c=(0,l.default)()(r);t.default=c},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.isWidthDown=t.isWidthUp=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(31))),h=r(n(38)),p=(r(n(61)),r(n(102))),m=r(n(29)),g=n(59),v=r(n(167)),y=function(e,t){return arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?g.keys.indexOf(e)<g.keys.indexOf(t):g.keys.indexOf(e)<=g.keys.indexOf(t)};t.isWidthUp=y;var b=function(e,t){return arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?g.keys.indexOf(t)<g.keys.indexOf(e):g.keys.indexOf(t)<=g.keys.indexOf(e)};t.isWidthDown=b;var w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=e.withTheme,r=void 0!==n&&n,y=e.noSSR,b=void 0!==y&&y,w=e.initialWidth,E=e.resizeInterval,T=void 0===E?166:E,_=function(e){function n(e){var t;return(0,a.default)(this,n),t=(0,l.default)(this,(0,u.default)(n).call(this,e)),t.handleResize=(0,h.default)(function(){var e=t.getWidth();e!==t.state.width&&t.setState({width:e})},T),t.state={width:void 0},b&&(t.state.width=t.getWidth()),t}return(0,c.default)(n,e),(0,s.default)(n,[{key:"componentDidMount",value:function(){var e=this.getWidth();e!==this.state.width&&this.setState({width:e})}},{key:"componentWillUnmount",value:function(){this.handleResize.clear()}},{key:"getWidth",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.innerWidth,t=this.props.theme.breakpoints,n=null,r=1;null===n&&r<g.keys.length;){var i=g.keys[r];if(e<t.values[i]){n=g.keys[r-1];break}r+=1}return n=n||"xl"}},{key:"render",value:function(){var e=this.props,n=e.initialWidth,a=e.theme,s=e.width,l=(0,o.default)(e,["initialWidth","theme","width"]),u=(0,i.default)({width:s||this.state.width||n||w||(0,v.default)({theme:a,name:"MuiWithWidth"}).initialWidth},l),c={};return r&&(c.theme=a),void 0===u.width?null:d.default.createElement(f.default,{target:"window",onResize:this.handleResize},d.default.createElement(t,(0,i.default)({},c,u)))}}]),n}(d.default.Component);return _.propTypes={},(0,p.default)(_,t),(0,m.default)()(_)}},E=w;t.default=E},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=(e.lgDown,e.lgUp,e.mdDown,e.mdUp,e.only),a=(e.smDown,e.smUp,e.xlDown,e.xlUp,e.xsDown,e.xsUp,(0,o.default)(e,["children","classes","className","lgDown","lgUp","mdDown","mdUp","only","smDown","smUp","xlDown","xlUp","xsDown","xsUp"]),[]);r&&a.push(r);for(var c=0;c<l.keys.length;c+=1){var d=l.keys[c],f=e["".concat(d,"Up")],h=e["".concat(d,"Down")];f&&a.push(n["".concat(d,"Up")]),h&&a.push(n["".concat(d,"Down")])}if(i){(Array.isArray(i)?i:[i]).forEach(function(e){a.push(n["only".concat((0,u.capitalize)(e))])})}return s.default.createElement("div",{className:a.join(" ")},t)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(4)),a=i(n(7)),s=i(n(1)),l=(i(n(2)),i(n(13)),n(59)),u=n(14),c=i(n(5)),d=function(e){var t={display:"none"};return l.keys.reduce(function(n,r){return n["only".concat((0,u.capitalize)(r))]=(0,a.default)({},e.breakpoints.only(r),t),n["".concat(r,"Up")]=(0,a.default)({},e.breakpoints.up(r),t),n["".concat(r,"Down")]=(0,a.default)({},e.breakpoints.down(r),t),n},{})};r.propTypes={};var f=(0,c.default)(d)(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(519))},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.classes,i=e.className,c=e.color,f=e.fontSize,h=(0,s.default)(e,["children","classes","className","color","fontSize"]);return l.default.createElement("span",(0,o.default)({className:(0,u.default)("material-icons",r.root,(t={},(0,a.default)(t,r["color".concat((0,d.capitalize)(c))],"inherit"!==c),(0,a.default)(t,r["fontSize".concat((0,d.capitalize)(f))],"default"!==f),t),i),"aria-hidden":"true"},h),n)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=function(e){return{root:{userSelect:"none",fontSize:24,width:"1em",height:"1em",overflow:"hidden",flexShrink:0},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"}}};t.styles=f,r.propTypes={},r.defaultProps={color:"inherit",fontSize:"default"},r.muiName="Icon";var h=(0,c.default)(f,{name:"MuiIcon"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(521))},function(e,t,n){"use strict";function r(e){var t,n=e.children,r=e.component,i=e.classes,d=e.className,f=e.disableTypography,h=e.position,p=(0,s.default)(e,["children","component","classes","className","disableTypography","position"]);return l.default.createElement(r,(0,o.default)({className:(0,u.default)(i.root,(t={},(0,a.default)(t,i.positionStart,"start"===h),(0,a.default)(t,i.positionEnd,"end"===h),t),d)},p),"string"!==typeof n||f?n:l.default.createElement(c.default,{color:"textSecondary"},n))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(19)),d=i(n(5)),f={root:{display:"flex",maxHeight:"2em",alignItems:"center"},positionStart:{marginRight:8},positionEnd:{marginLeft:8}};t.styles=f,r.propTypes={},r.defaultProps={component:"div",disableTypography:!1};var h=(0,d.default)(f,{name:"MuiInputAdornment"})(r);t.default=h},function(e,t,n){"use strict";function r(e,t){var n,r=e.children,i=e.classes,u=e.className,d=e.disableAnimation,h=e.FormLabelClasses,p=e.margin,m=e.shrink,g=(0,s.default)(e,["children","classes","className","disableAnimation","FormLabelClasses","margin","shrink"]),v=t.muiFormControl,y=m;"undefined"===typeof y&&v&&(y=v.filled||v.focused||v.adornedStart);var b=p;"undefined"===typeof b&&v&&(b=v.margin);var w=(0,c.default)(i.root,(n={},(0,a.default)(n,i.formControl,v),(0,a.default)(n,i.animated,!d),(0,a.default)(n,i.shrink,y),(0,a.default)(n,i.marginDense,"dense"===b),n),u);return l.default.createElement(f.default,(0,o.default)({"data-shrink":y,className:w,classes:h},g),r)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=i(n(203)),h=function(e){return{root:{transformOrigin:"top left"},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}}};t.styles=h,r.propTypes={},r.defaultProps={disableAnimation:!1},r.contextTypes={muiFormControl:u.default.object};var p=(0,d.default)(h,{name:"MuiInputLabel"})(r);t.default=p},function(e,t,n){"use strict";function r(e){var t,n,r,i,c=e.classes,d=e.className,f=e.color,h=e.value,p=e.valueBuffer,m=e.variant,g=(0,s.default)(e,["classes","className","color","value","valueBuffer","variant"]),v=(0,u.default)(c.root,(t={},(0,a.default)(t,c.colorPrimary,"primary"===f),(0,a.default)(t,c.colorSecondary,"secondary"===f),(0,a.default)(t,c.buffer,"buffer"===m),(0,a.default)(t,c.query,"query"===m),t),d),y=(0,u.default)(c.dashed,(n={},(0,a.default)(n,c.dashedColorPrimary,"primary"===f),(0,a.default)(n,c.dashedColorSecondary,"secondary"===f),n)),b=(0,u.default)(c.bar,(r={},(0,a.default)(r,c.barColorPrimary,"primary"===f),(0,a.default)(r,c.barColorSecondary,"secondary"===f),(0,a.default)(r,c.bar1Indeterminate,"indeterminate"===m||"query"===m),(0,a.default)(r,c.bar1Determinate,"determinate"===m),(0,a.default)(r,c.bar1Buffer,"buffer"===m),r)),w=(0,u.default)(c.bar,(i={},(0,a.default)(i,c.barColorPrimary,"primary"===f&&"buffer"!==m),(0,a.default)(i,c.colorPrimary,"primary"===f&&"buffer"===m),(0,a.default)(i,c.barColorSecondary,"secondary"===f&&"buffer"!==m),(0,a.default)(i,c.colorSecondary,"secondary"===f&&"buffer"===m),(0,a.default)(i,c.bar2Indeterminate,"indeterminate"===m||"query"===m),(0,a.default)(i,c.bar2Determinate,"determinate"===m),(0,a.default)(i,c.bar2Buffer,"buffer"===m),i)),E={},T={bar1:{},bar2:{}};return"determinate"!==m&&"buffer"!==m||void 0!==h&&(E["aria-valuenow"]=Math.round(h),T.bar1.transform="scaleX(".concat(h/100,")")),"buffer"===m&&void 0!==p&&(T.bar2.transform="scaleX(".concat((p||0)/100,")")),l.default.createElement("div",(0,o.default)({className:v,role:"progressbar"},E,g),"buffer"===m?l.default.createElement("div",{className:y}):null,l.default.createElement("div",{className:b,style:T.bar1}),"determinate"===m?null:l.default.createElement("div",{className:w,style:T.bar2}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=(i(n(13)),i(n(5))),d=n(33),f=function(e){return{root:{position:"relative",overflow:"hidden",height:5},colorPrimary:{backgroundColor:(0,d.lighten)(e.palette.primary.light,.6)},colorSecondary:{backgroundColor:(0,d.lighten)(e.palette.secondary.light,.4)},buffer:{backgroundColor:"transparent"},query:{transform:"rotate(180deg)"},dashed:{position:"absolute",marginTop:0,height:"100%",width:"100%",animation:"buffer 3s infinite linear"},dashedColorPrimary:{backgroundImage:"radial-gradient(".concat((0,d.lighten)(e.palette.primary.light,.6)," 0%, ").concat((0,d.lighten)(e.palette.primary.light,.6)," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0px -23px"},dashedColorSecondary:{backgroundImage:"radial-gradient(".concat((0,d.lighten)(e.palette.secondary.light,.4)," 0%, ").concat((0,d.lighten)(e.palette.secondary.light,.6)," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0px -23px"},bar:{width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},barColorPrimary:{backgroundColor:e.palette.primary.main},barColorSecondary:{backgroundColor:e.palette.secondary.main},bar1Indeterminate:{width:"auto",willChange:"left, right",animation:"mui-indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite"},bar1Determinate:{willChange:"transform",transition:"transform .".concat(4,"s linear")},bar1Buffer:{zIndex:1,transition:"transform .".concat(4,"s linear")},bar2Indeterminate:{width:"auto",willChange:"left, right",animation:"mui-indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite",animationDelay:"1.15s"},bar2Determinate:{},bar2Buffer:{transition:"transform .".concat(4,"s linear")},"@keyframes mui-indeterminate1":{"0%":{left:"-35%",right:"100%"},"60%":{left:"100%",right:"-90%"},"100%":{left:"100%",right:"-90%"}},"@keyframes mui-indeterminate2":{"0%":{left:"-200%",right:"100%"},"60%":{left:"107%",right:"-8%"},"100%":{left:"107%",right:"-8%"}},"@keyframes buffer":{"0%":{opacity:1,backgroundPosition:"0px -23px"},"50%":{opacity:0,backgroundPosition:"0px -23px"},"100%":{opacity:1,backgroundPosition:"-200px -23px"}}}};t.styles=f,r.propTypes={},r.defaultProps={color:"primary",variant:"indeterminate"};var h=(0,c.default)(f,{name:"MuiLinearProgress"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(525))},function(e,t,n){"use strict";function r(e,t){var n=e.children,r=e.classes,i=e.className,u=(0,s.default)(e,["children","classes","className"]);return void 0===t.dense?e.children:l.default.cloneElement(n,(0,a.default)({className:(0,c.default)((0,o.default)({},r.root,t.dense),i,n.props.className),childrenClassName:(0,c.default)((0,o.default)({},r.icon,t.dense),n.props.childrenClassName)},u))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(3)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=(i(n(13)),i(n(5))),f=function(e){return{root:{width:36,height:36,fontSize:e.typography.pxToRem(18),marginRight:4},icon:{width:20,height:20,fontSize:e.typography.pxToRem(20)}}};t.styles=f,r.propTypes={},r.contextTypes={dense:u.default.bool},r.muiName="ListItemAvatar";var h=(0,d.default)(f,{name:"MuiListItemAvatar"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(527))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=(0,a.default)(e,["children","classes","className"]);return s.default.cloneElement(t,(0,o.default)({className:(0,l.default)(n.root,r,t.props.className)},i))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=function(e){return{root:{marginRight:16,color:e.palette.action.active,flexShrink:0}}};t.styles=c,r.propTypes={};var d=(0,u.default)(c,{name:"MuiListItemIcon"})(r);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(529))},function(e,t,n){"use strict";function r(e){var t=e.children,n=e.classes,r=e.className,i=(0,a.default)(e,["children","classes","className"]);return s.default.createElement("div",(0,o.default)({className:(0,l.default)(n.root,r)},i),t)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c={root:{position:"absolute",right:4,top:"50%",transform:"translateY(-50%)"}};t.styles=c,r.propTypes={},r.muiName="ListItemSecondaryAction";var d=(0,u.default)(c,{name:"MuiListItemSecondaryAction"})(r);t.default=d},function(e,t,n){"use strict";function r(e,t){var n,r=e.children,i=e.classes,u=e.className,d=e.disableTypography,h=e.inset,p=e.primary,m=e.primaryTypographyProps,g=e.secondary,v=e.secondaryTypographyProps,y=(0,s.default)(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),b=t.dense,w=null!=p?p:r;null==w||w.type===f.default||d||(w=l.default.createElement(f.default,(0,o.default)({variant:"subheading",className:(0,c.default)(i.primary,(0,a.default)({},i.textDense,b)),component:"span"},m),w));var E=g;return null==E||E.type===f.default||d||(E=l.default.createElement(f.default,(0,o.default)({variant:"body1",className:(0,c.default)(i.secondary,(0,a.default)({},i.textDense,b)),color:"textSecondary"},v),E)),l.default.createElement("div",(0,o.default)({className:(0,c.default)(i.root,(n={},(0,a.default)(n,i.dense,b),(0,a.default)(n,i.inset,h),n),u)},y),w,E)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=i(n(19)),h=function(e){return{root:{flex:"1 1 auto",minWidth:0,padding:"0 16px","&:first-child":{paddingLeft:0}},inset:{"&:first-child":{paddingLeft:56}},dense:{fontSize:e.typography.pxToRem(13)},primary:{"&$textDense":{fontSize:"inherit"}},secondary:{"&$textDense":{fontSize:"inherit"}},textDense:{}}};t.styles=h,r.propTypes={},r.defaultProps={disableTypography:!1,inset:!1},r.contextTypes={dense:u.default.bool};var p=(0,d.default)(h,{name:"MuiListItemText"})(r);t.default=p},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(532))},function(e,t,n){"use strict";function r(e){var t,n=e.classes,r=e.className,i=e.color,c=e.component,f=e.disableGutters,h=e.disableSticky,p=e.inset,m=(0,s.default)(e,["classes","className","color","component","disableGutters","disableSticky","inset"]);return l.default.createElement(c,(0,o.default)({className:(0,u.default)(n.root,(t={},(0,a.default)(t,n["color".concat((0,d.capitalize)(i))],"default"!==i),(0,a.default)(t,n.inset,p),(0,a.default)(t,n.sticky,!h),(0,a.default)(t,n.gutters,!f),t),r)},m))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=function(e){return{root:{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:e.palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},colorPrimary:{color:e.palette.primary.main},colorInherit:{color:"inherit"},gutters:e.mixins.gutters(),inset:{paddingLeft:72},sticky:{position:"sticky",top:0,zIndex:1,backgroundColor:"inherit"}}};t.styles=f,r.propTypes={},r.defaultProps={color:"default",component:"li",disableGutters:!1,disableSticky:!1,inset:!1},r.muiName="ListSubheader";var h=(0,c.default)(f,{name:"MuiListSubheader"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(534))},function(e,t,n){"use strict";function r(e){var t=e.activeStep,n=e.backButton,r=e.classes,i=e.className,d=e.LinearProgressProps,m=e.nextButton,g=e.position,v=e.steps,y=e.variant,b=(0,l.default)(e,["activeStep","backButton","classes","className","LinearProgressProps","nextButton","position","steps","variant"]),w=(0,c.default)(r.root,r["position".concat((0,h.capitalize)(g))],i);return u.default.createElement(f.default,(0,o.default)({square:!0,elevation:0,className:w},b),n,"dots"===y&&u.default.createElement("div",{className:r.dots},(0,s.default)(new Array(v)).map(function(e,n){var i=(0,c.default)(r.dot,(0,a.default)({},r.dotActive,n===t));return u.default.createElement("div",{key:n,className:i})})),"progress"===y&&u.default.createElement(p.default,(0,o.default)({className:r.progress,variant:"determinate",value:Math.ceil(t/(v-1)*100)},d)),m)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(82)),l=i(n(4)),u=i(n(1)),c=(i(n(2)),i(n(6))),d=i(n(5)),f=i(n(25)),h=n(14),p=i(n(205)),m=function(e){return{root:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:e.palette.background.default,padding:8},positionBottom:{position:"fixed",bottom:0,left:0,right:0,zIndex:e.zIndex.mobileStepper},positionTop:{position:"fixed",top:0,left:0,right:0,zIndex:e.zIndex.mobileStepper},positionStatic:{},dots:{display:"flex",flexDirection:"row"},dot:{backgroundColor:e.palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"},dotActive:{backgroundColor:e.palette.primary.main},progress:{width:"50%"}}};t.styles=m,r.propTypes={},r.defaultProps={activeStep:0,position:"bottom",variant:"dots"};var g=(0,d.default)(m,{name:"MuiMobileStepper"})(r);t.default=g},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(207))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(8)),o=r(n(9)),a=r(n(10)),s=r(n(11)),l=r(n(12)),u=r(n(1)),c=(r(n(2)),r(n(36)),function(e){function t(){var e,n;(0,i.default)(this,t);for(var r=arguments.length,o=new Array(r),l=0;l<r;l++)o[l]=arguments[l];return n=(0,a.default)(this,(e=(0,s.default)(t)).call.apply(e,[this].concat(o))),n.state={mounted:!1},n}return(0,l.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){var e=this;this.mounted=!0,this.props.defer?requestAnimationFrame(function(){requestAnimationFrame(function(){e.mounted&&e.setState({mounted:!0})})}):this.setState({mounted:!0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.fallback;return this.state.mounted?t:n}}]),t}(u.default.Component));c.propTypes={},c.propTypes={},c.defaultProps={defer:!1,fallback:null};var d=c;t.default=d},function(e,t,n){"use strict";function r(e,t){if("rtl"!==e.direction)return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}function i(e){return"function"===typeof e?e():e}var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(4)),s=o(n(3)),l=o(n(8)),u=o(n(9)),c=o(n(10)),d=o(n(11)),f=o(n(12)),h=o(n(47)),p=o(n(1)),m=o(n(15)),g=(o(n(2)),o(n(538))),v=o(n(29)),y=o(n(123)),b=function(e){function t(e){var n;return(0,l.default)(this,t),n=(0,c.default)(this,(0,d.default)(t).call(this)),n.popper=null,n.handleOpen=function(){var e=n.props,t=e.anchorEl,o=e.modifiers,a=e.open,l=e.placement,u=e.popperOptions,c=void 0===u?{}:u,d=e.theme,f=e.disablePortal,p=m.default.findDOMNode((0,h.default)((0,h.default)(n)));p&&t&&a&&(n.popper&&(n.popper.destroy(),n.popper=null),n.popper=new g.default(i(t),p,(0,s.default)({placement:r(d,l)},c,{modifiers:(0,s.default)({},f?{}:{preventOverflow:{boundariesElement:"window"}},o,c.modifiers),onCreate:n.handlePopperUpdate,onUpdate:n.handlePopperUpdate})))},n.handlePopperUpdate=function(e){e.placement!==n.state.placement&&n.setState({placement:e.placement})},n.handleExited=function(){n.setState({exited:!0}),n.handleClose()},n.handleClose=function(){n.popper&&(n.popper.destroy(),n.popper=null)},n.state={exited:!e.open},n}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentDidUpdate",value:function(e){e.open===this.props.open||this.props.open||this.props.transition||this.handleClose(),e.open===this.props.open&&e.anchorEl===this.props.anchorEl&&e.popperOptions===this.props.popperOptions&&e.modifiers===this.props.modifiers&&e.disablePortal===this.props.disablePortal&&e.placement===this.props.placement||this.handleOpen()}},{key:"componentWillUnmount",value:function(){this.handleClose()}},{key:"render",value:function(){var e=this.props,t=(e.anchorEl,e.children),n=e.container,i=e.disablePortal,o=e.keepMounted,l=(e.modifiers,e.open),u=e.placement,c=(e.popperOptions,e.theme),d=e.transition,f=(0,a.default)(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","theme","transition"]),h=this.state,m=h.exited,g=h.placement;if(!o&&!l&&(!d||m))return null;var v={placement:g||r(c,u)};return d&&(v.TransitionProps={in:l,onExited:this.handleExited}),p.default.createElement(y.default,{onRendered:this.handleOpen,disablePortal:i,container:n},p.default.createElement("div",(0,s.default)({role:"tooltip",style:{position:"absolute"}},f),"function"===typeof t?t(v):t))}}],[{key:"getDerivedStateFromProps",value:function(e){return e.open?{exited:!1}:e.transition?null:{exited:!0}}}]),t}(p.default.Component);b.propTypes={},b.defaultProps={disablePortal:!1,placement:"bottom",transition:!1};var w=(0,v.default)()(b);t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){function n(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function r(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},de))}}function i(e){var t={};return e&&"[object Function]"===t.toString.call(e)}function o(e,t){if(1!==e.nodeType)return[];var n=getComputedStyle(e,null);return t?n[t]:n}function a(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function s(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=o(e),n=t.overflow,r=t.overflowX;return/(auto|scroll|overlay)/.test(n+t.overflowY+r)?e:s(a(e))}function l(e){return 11===e?me:10===e?ge:me||ge}function u(e){if(!e)return document.documentElement;for(var t=l(10)?document.body:null,n=e.offsetParent;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===o(n,"position")?u(n):n:e?e.ownerDocument.documentElement:document.documentElement}function c(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||u(e.firstElementChild)===e)}function d(e){return null!==e.parentNode?d(e.parentNode):e}function f(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(e!==a&&t!==a||r.contains(i))return c(a)?a:u(a);var s=d(e);return s.host?f(s.host,t):f(e,d(t).host)}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[n]}return e[n]}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h(t,"top"),i=h(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}function m(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function g(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],l(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function v(e){var t=e.body,n=e.documentElement,r=l(10)&&getComputedStyle(n);return{height:g("Height",t,n,r),width:g("Width",t,n,r)}}function y(e){return we({},e,{right:e.left+e.width,bottom:e.top+e.height})}function b(e){var t={};try{if(l(10)){t=e.getBoundingClientRect();var n=h(e,"top"),r=h(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?v(e.ownerDocument):{},s=a.width||e.clientWidth||i.right-i.left,u=a.height||e.clientHeight||i.bottom-i.top,c=e.offsetWidth-s,d=e.offsetHeight-u;if(c||d){var f=o(e);c-=m(f,"x"),d-=m(f,"y"),i.width-=c,i.height-=d}return y(i)}function w(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=l(10),i="HTML"===t.nodeName,a=b(e),u=b(t),c=s(e),d=o(t),f=parseFloat(d.borderTopWidth,10),h=parseFloat(d.borderLeftWidth,10);n&&i&&(u.top=Math.max(u.top,0),u.left=Math.max(u.left,0));var m=y({top:a.top-u.top-f,left:a.left-u.left-h,width:a.width,height:a.height});if(m.marginTop=0,m.marginLeft=0,!r&&i){var g=parseFloat(d.marginTop,10),v=parseFloat(d.marginLeft,10);m.top-=f-g,m.bottom-=f-g,m.left-=h-v,m.right-=h-v,m.marginTop=g,m.marginLeft=v}return(r&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(m=p(m,t)),m}function E(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=w(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:h(n),s=t?0:h(n,"left");return y({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o})}function T(e){var t=e.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===o(e,"position")||T(a(e)))}function _(e){if(!e||!e.parentElement||l())return document.documentElement;for(var t=e.parentElement;t&&"none"===o(t,"transform");)t=t.parentElement;return t||document.documentElement}function k(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},l=i?_(e):f(e,t);if("viewport"===r)o=E(l,i);else{var u=void 0;"scrollParent"===r?(u=s(a(t)),"BODY"===u.nodeName&&(u=e.ownerDocument.documentElement)):u="window"===r?e.ownerDocument.documentElement:r;var c=w(u,l,i);if("HTML"!==u.nodeName||T(l))o=c;else{var d=v(e.ownerDocument),h=d.height,p=d.width;o.top+=c.top-c.marginTop,o.bottom=h+c.top,o.left+=c.left-c.marginLeft,o.right=p+c.left}}n=n||0;var m="number"===typeof n;return o.left+=m?n:n.left||0,o.top+=m?n:n.top||0,o.right-=m?n:n.right||0,o.bottom-=m?n:n.bottom||0,o}function x(e){return e.width*e.height}function S(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=k(n,r,o,i),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){return we({key:e},s[e],{area:x(s[e])})}).sort(function(e,t){return t.area-e.area}),u=l.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,d=e.split("-")[1];return c+(d?"-"+d:"")}function C(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return w(n,r?_(t):f(t,n),r)}function O(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function A(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function P(e,t,n){n=n.split("-")[0];var r=O(e),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return i[a]=t[a]+t[l]/2-r[l]/2,i[s]=n===s?t[s]-r[u]:t[A(s)],i}function I(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function R(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var r=I(e,function(e){return e[t]===n});return e.indexOf(r)}function N(e,t,n){return(void 0===n?e:e.slice(0,R(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=y(t.offsets.popper),t.offsets.reference=y(t.offsets.reference),t=n(t,e))}),t}function M(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=C(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=S(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=P(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=N(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function D(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function L(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var i=t[r],o=i?""+i+n:e;if("undefined"!==typeof document.body.style[o])return o}return null}function j(){return this.state.isDestroyed=!0,D(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[L("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function W(e){var t=e.ownerDocument;return t?t.defaultView:window}function B(e,t,n,r){var i="BODY"===e.nodeName,o=i?e.ownerDocument.defaultView:e;o.addEventListener(t,n,{passive:!0}),i||B(s(o.parentNode),t,n,r),r.push(o)}function F(e,t,n,r){n.updateBound=r,W(e).addEventListener("resize",n.updateBound,{passive:!0});var i=s(e);return B(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function z(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}function U(e,t){return W(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function H(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=U(this.reference,this.state))}function G(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function q(e,t){Object.keys(t).forEach(function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&G(t[n])&&(r="px"),e.style[n]=t[n]+r})}function V(e,t){Object.keys(t).forEach(function(n){!1!==t[n]?e.setAttribute(n,t[n]):e.removeAttribute(n)})}function K(e){return q(e.instance.popper,e.styles),V(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&q(e.arrowElement,e.arrowStyles),e}function Y(e,t,n,r,i){var o=C(i,t,e,n.positionFixed),a=S(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),q(t,{position:n.positionFixed?"fixed":"absolute"}),n}function Z(e,t){var n=t.x,r=t.y,i=e.offsets.popper,o=I(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:t.gpuAcceleration,s=u(e.instance.popper),l=b(s),c={position:i.position},d={left:Math.floor(i.left),top:Math.round(i.top),bottom:Math.round(i.bottom),right:Math.floor(i.right)},f="bottom"===n?"top":"bottom",h="right"===r?"left":"right",p=L("transform"),m=void 0,g=void 0;if(g="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+d.bottom:-l.height+d.bottom:d.top,m="right"===h?"HTML"===s.nodeName?-s.clientWidth+d.right:-l.width+d.right:d.left,a&&p)c[p]="translate3d("+m+"px, "+g+"px, 0)",c[f]=0,c[h]=0,c.willChange="transform";else{var v="bottom"===f?-1:1,y="right"===h?-1:1;c[f]=g*v,c[h]=m*y,c.willChange=f+", "+h}var w={"x-placement":e.placement};return e.attributes=we({},w,e.attributes),e.styles=we({},c,e.styles),e.arrowStyles=we({},e.offsets.arrow,e.arrowStyles),e}function X(e,t,n){var r=I(e,function(e){return e.name===t}),i=!!r&&e.some(function(e){return e.name===n&&e.enabled&&e.order<r.order});if(!i){var o="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}function Q(e,t){var n;if(!X(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"===typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],a=e.offsets,s=a.popper,l=a.reference,u=-1!==["left","right"].indexOf(i),c=u?"height":"width",d=u?"Top":"Left",f=d.toLowerCase(),h=u?"left":"top",p=u?"bottom":"right",m=O(r)[c];l[p]-m<s[f]&&(e.offsets.popper[f]-=s[f]-(l[p]-m)),l[f]+m>s[p]&&(e.offsets.popper[f]+=l[f]+m-s[p]),e.offsets.popper=y(e.offsets.popper);var g=l[f]+l[c]/2-m/2,v=o(e.instance.popper),b=parseFloat(v["margin"+d],10),w=parseFloat(v["border"+d+"Width"],10),E=g-e.offsets.popper[f]-b-w;return E=Math.max(Math.min(s[c]-m,E),0),e.arrowElement=r,e.offsets.arrow=(n={},be(n,f,Math.round(E)),be(n,h,""),n),e}function $(e){return"end"===e?"start":"start"===e?"end":e}function J(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Te.indexOf(e),r=Te.slice(n+1).concat(Te.slice(0,n));return t?r.reverse():r}function ee(e,t){if(D(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=k(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=A(r),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case _e.FLIP:a=[r,i];break;case _e.CLOCKWISE:a=J(r);break;case _e.COUNTERCLOCKWISE:a=J(r,!0);break;default:a=t.behavior}return a.forEach(function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],i=A(r);var u=e.offsets.popper,c=e.offsets.reference,d=Math.floor,f="left"===r&&d(u.right)>d(c.left)||"right"===r&&d(u.left)<d(c.right)||"top"===r&&d(u.bottom)>d(c.top)||"bottom"===r&&d(u.top)<d(c.bottom),h=d(u.left)<d(n.left),p=d(u.right)>d(n.right),m=d(u.top)<d(n.top),g=d(u.bottom)>d(n.bottom),v="left"===r&&h||"right"===r&&p||"top"===r&&m||"bottom"===r&&g,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===o&&h||y&&"end"===o&&p||!y&&"start"===o&&m||!y&&"end"===o&&g);(f||v||b)&&(e.flipped=!0,(f||v)&&(r=a[l+1]),b&&(o=$(o)),e.placement=r+(o?"-"+o:""),e.offsets.popper=we({},e.offsets.popper,P(e.instance.popper,e.offsets.reference,e.placement)),e=N(e.instance.modifiers,e,"flip"))}),e}function te(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]<o(r[l])&&(e.offsets.popper[l]=o(r[l])-n[u]),n[l]>o(r[s])&&(e.offsets.popper[l]=o(r[s])),e}function ne(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return y(s)[t]/100*o}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}return o}function re(e,t,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(I(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return u=u.map(function(e,r){var i=(1===r?!o:o)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return ne(e,i,t,n)})}),u.forEach(function(e,t){e.forEach(function(n,r){G(n)&&(i[t]+=n*("-"===e[r-1]?-1:1))})}),i}function ie(e,t){var n=t.offset,r=e.placement,i=e.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],l=void 0;return l=G(+n)?[+n,0]:re(n,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),e.popper=o,e}function oe(e,t){var n=t.boundariesElement||u(e.instance.popper);e.instance.reference===n&&(n=u(n));var r=L("transform"),i=e.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var l=k(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=o,i.left=a,i[r]=s,t.boundaries=l;var c=t.priority,d=e.offsets.popper,f={primary:function(e){var n=d[e];return d[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(d[e],l[e])),be({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=d[n];return d[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(d[n],l[e]-("right"===e?d.width:d.height))),be({},n,r)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";d=we({},d,f[t](e))}),e.offsets.popper=d,e}function ae(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",c={start:be({},l,o[l]),end:be({},l,o[l]+o[u]-a[u])};e.offsets.popper=we({},a,c[r])}return e}function se(e){if(!X(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=I(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}function le(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),e.placement=A(t),e.offsets.popper=y(i),e}for(var ue="undefined"!==typeof window&&"undefined"!==typeof document,ce=["Edge","Trident","Firefox"],de=0,fe=0;fe<ce.length;fe+=1)if(ue&&navigator.userAgent.indexOf(ce[fe])>=0){de=1;break}var he=ue&&window.Promise,pe=he?n:r,me=ue&&!(!window.MSInputMethodContext||!document.documentMode),ge=ue&&/MSIE 10/.test(navigator.userAgent),ve=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},ye=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),be=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},we=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ee=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Te=Ee.slice(3),_e={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},ke={shift:{order:100,enabled:!0,fn:ae},offset:{order:200,enabled:!0,fn:ie,offset:0},preventOverflow:{order:300,enabled:!0,fn:oe,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:te},arrow:{order:500,enabled:!0,fn:Q,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:ee,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:le},hide:{order:800,enabled:!0,fn:se},computeStyle:{order:850,enabled:!0,fn:Z,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:K,onLoad:Y,gpuAcceleration:void 0}},xe={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:ke},Se=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ve(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=pe(this.update.bind(this)),this.options=we({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(we({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){r.options.modifiers[t]=we({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return we({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&i(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return ye(e,[{key:"update",value:function(){return M.call(this)}},{key:"destroy",value:function(){return j.call(this)}},{key:"enableEventListeners",value:function(){return z.call(this)}},{key:"disableEventListeners",value:function(){return H.call(this)}}]),e}();Se.Utils=("undefined"!==typeof window?window:e).PopperUtils,Se.placements=Ee,Se.Defaults=xe,t.default=Se}.call(t,n(18))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(540))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.color,r=(0,a.default)(e,["classes","color"]);return s.default.createElement(u.default,(0,o.default)({type:"radio",icon:m,checkedIcon:g,classes:{root:(0,l.default)(t.root,t["color".concat((0,f.capitalize)(n))]),checked:t.checked,disabled:t.disabled}},r))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(129)),c=i(n(541)),d=i(n(542)),f=n(14),h=i(n(5)),p=function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:e.palette.primary.main},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.action.disabled}}}};t.styles=p;var m=s.default.createElement(c.default,null),g=s.default.createElement(d.default,null);r.propTypes={},r.defaultProps={color:"secondary"};var v=(0,h.default)(p,{name:"MuiRadio"})(r);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(544))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(13)),r(n(201))),h=n(14),p=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.radios=[],n.focus=function(){if(n.radios&&n.radios.length){var e=n.radios.filter(function(e){return!e.disabled});if(e.length){var t=(0,h.find)(e,function(e){return e.checked});if(t)return void t.focus();e[0].focus()}}},n.handleRadioChange=function(e,t){t&&n.props.onChange&&n.props.onChange(e,e.target.value)},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.name,a=t.value,s=(t.onChange,(0,o.default)(t,["children","name","value","onChange"]));return this.radios=[],d.default.createElement(f.default,(0,i.default)({role:"radiogroup"},s),d.default.Children.map(n,function(t){return d.default.isValidElement(t)?d.default.cloneElement(t,{name:r,inputRef:function(t){t&&e.radios.push(t)},checked:a===t.props.value,onChange:(0,h.createChainedFunction)(t.props.onChange,e.handleRadioChange)}):null}))}}]),t}(d.default.Component);p.propTypes={};var m=p;t.default=m},function(e,t,n){"use strict";function r(e){var t=e.autoWidth,n=e.children,i=e.classes,u=e.displayEmpty,d=e.IconComponent,f=e.input,h=e.inputProps,m=e.MenuProps,g=e.multiple,v=e.native,y=e.onClose,b=e.onOpen,w=e.open,E=e.renderValue,T=e.SelectDisplayProps,_=(0,a.default)(e,["autoWidth","children","classes","displayEmpty","IconComponent","input","inputProps","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps"]),k=v?p.default:l.default;return s.default.cloneElement(f,(0,o.default)({inputComponent:k,inputProps:(0,o.default)({children:n,IconComponent:d,type:void 0},v?{}:{autoWidth:t,displayEmpty:u,MenuProps:m,multiple:g,onClose:y,onOpen:b,open:w,renderValue:E,SelectDisplayProps:T},h,{classes:h?(0,c.default)({baseClasses:i,newClasses:h.classes,Component:r}):i},f?f.props.inputProps:{})},_))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(546))),u=i(n(5)),c=i(n(166)),d=i(n(209)),f=i(n(66)),h=n(207),p=i(n(208)),m=h.styles;t.styles=m,r.propTypes={},r.defaultProps={autoWidth:!1,displayEmpty:!1,IconComponent:d.default,input:s.default.createElement(f.default,null),multiple:!1,native:!1},r.muiName="Select";var g=(0,u.default)(h.styles,{name:"MuiSelect"})(r);t.default=g},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(7)),a=r(n(4)),s=r(n(82)),l=r(n(8)),u=r(n(9)),c=r(n(10)),d=r(n(11)),f=r(n(12)),h=r(n(1)),p=(r(n(2)),r(n(6))),m=r(n(55)),g=(r(n(13)),r(n(184))),v=n(132),y=function(e){function t(){var e,n;(0,l.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,c.default)(this,(e=(0,d.default)(t)).call.apply(e,[this].concat(i))),n.ignoreNextBlur=!1,n.displayRef=null,n.isOpenControlled=void 0!==n.props.open,n.state={menuMinWidth:null,open:!1},n.update=function(e){var t=e.event,r=e.open;if(n.isOpenControlled)return void(r?n.props.onOpen(t):n.props.onClose(t));n.setState({menuMinWidth:n.props.autoWidth?null:n.displayRef.clientWidth,open:r})},n.handleClick=function(e){n.ignoreNextBlur=!0,n.update({open:!0,event:e})},n.handleClose=function(e){n.update({open:!1,event:e})},n.handleItemClick=function(e){return function(t){n.props.multiple||n.update({open:!1,event:t});var r=n.props,i=r.onChange,o=r.name;if(i){var a;if(n.props.multiple){a=Array.isArray(n.props.value)?(0,s.default)(n.props.value):[];var l=a.indexOf(e.props.value);-1===l?a.push(e.props.value):a.splice(l,1)}else a=e.props.value;t.persist(),t.target={value:a,name:o},i(t,e)}}},n.handleBlur=function(e){if(!0===n.ignoreNextBlur)return e.stopPropagation(),void(n.ignoreNextBlur=!1);if(n.props.onBlur){var t=n.props,r=t.value,i=t.name;e.persist(),e.target={value:r,name:i},n.props.onBlur(e)}},n.handleKeyDown=function(e){n.props.readOnly||-1!==["space","up","down"].indexOf((0,m.default)(e))&&(e.preventDefault(),n.ignoreNextBlur=!0,n.update({open:!0,event:e}))},n.handleDisplayRef=function(e){n.displayRef=e},n.handleInputRef=function(e){var t=n.props.inputRef;if(t){var r={node:e,value:n.props.value};"function"===typeof t?t(r):t.current=r}},n}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){this.isOpenControlled&&this.props.open&&(this.displayRef.focus(),this.forceUpdate()),this.props.autoFocus&&this.displayRef.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.autoWidth,r=t.children,s=t.classes,l=t.className,u=t.disabled,c=t.displayEmpty,d=t.IconComponent,f=(t.inputRef,t.MenuProps),m=void 0===f?{}:f,y=t.multiple,b=t.name,w=(t.onBlur,t.onChange,t.onClose,t.onFocus),E=(t.onOpen,t.open),T=t.readOnly,_=t.renderValue,k=(t.required,t.SelectDisplayProps),x=t.tabIndex,S=t.type,C=void 0===S?"hidden":S,O=t.value,A=(0,a.default)(t,["autoWidth","children","classes","className","disabled","displayEmpty","IconComponent","inputRef","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","required","SelectDisplayProps","tabIndex","type","value"]),P=this.isOpenControlled&&this.displayRef?E:this.state.open;delete A["aria-invalid"];var I,R="",N=[],M=!1;((0,v.isFilled)(this.props)||c)&&(_?I=_(O):M=!0);var D=h.default.Children.map(r,function(t){if(!h.default.isValidElement(t))return null;var n;if(y){if(!Array.isArray(O))throw new Error("Material-UI: the `value` property must be an array when using the `Select` component with `multiple`.");n=-1!==O.indexOf(t.props.value),n&&M&&N.push(t.props.children)}else(n=O===t.props.value)&&M&&(R=t.props.children);return h.default.cloneElement(t,{onClick:e.handleItemClick(t),role:"option",selected:n,value:void 0,"data-value":t.props.value})});M&&(I=y?N.join(", "):R);var L=this.state.menuMinWidth;!n&&this.isOpenControlled&&this.displayRef&&(L=this.displayRef.clientWidth);var j;return j="undefined"!==typeof x?x:u?null:0,h.default.createElement("div",{className:s.root},h.default.createElement("div",(0,i.default)({className:(0,p.default)(s.select,s.selectMenu,(0,o.default)({},s.disabled,u),l),ref:this.handleDisplayRef,"aria-pressed":P?"true":"false",tabIndex:j,role:"button","aria-owns":P?"menu-".concat(b||""):null,"aria-haspopup":"true",onKeyDown:this.handleKeyDown,onBlur:this.handleBlur,onClick:u||T?null:this.handleClick,onFocus:w},k),I||h.default.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})),h.default.createElement("input",(0,i.default)({value:Array.isArray(O)?O.join(","):O,name:b,ref:this.handleInputRef,type:C},A)),h.default.createElement(d,{className:s.icon}),h.default.createElement(g.default,(0,i.default)({id:"menu-".concat(b||""),anchorEl:this.displayRef,open:P,onClose:this.handleClose},m,{MenuListProps:(0,i.default)({role:"listbox"},m.MenuListProps),PaperProps:(0,i.default)({},m.PaperProps,{style:(0,i.default)({minWidth:L},null!=m.PaperProps?m.PaperProps.style:null)})}),D))}}]),t}(h.default.Component);y.propTypes={};var b=y;t.default=b},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(548))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(4)),o=r(n(8)),a=r(n(9)),s=r(n(10)),l=r(n(11)),u=r(n(12)),c=r(n(7)),d=r(n(3)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(31)),m=r(n(5)),g=n(28),v=r(n(196)),y=n(14),b=r(n(131)),w=r(n(212)),E=function(e){var t={top:0},n={bottom:0},r={justifyContent:"flex-end"},i={justifyContent:"flex-start"},o={top:24},a={bottom:24},s={right:24},l={left:24},u={left:"50%",right:"auto",transform:"translateX(-50%)"};return{root:{zIndex:e.zIndex.snackbar,position:"fixed",display:"flex",left:0,right:0,justifyContent:"center",alignItems:"center"},anchorOriginTopCenter:(0,d.default)({},t,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({},u))),anchorOriginBottomCenter:(0,d.default)({},n,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({},u))),anchorOriginTopRight:(0,d.default)({},t,r,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({left:"auto"},o,s))),anchorOriginBottomRight:(0,d.default)({},n,r,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({left:"auto"},a,s))),anchorOriginTopLeft:(0,d.default)({},t,i,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({right:"auto"},o,l))),anchorOriginBottomLeft:(0,d.default)({},n,i,(0,c.default)({},e.breakpoints.up("md"),(0,d.default)({right:"auto"},a,l)))}};t.styles=E;var T=function(e){function t(){var e,n;(0,o.default)(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=(0,s.default)(this,(e=(0,l.default)(t)).call.apply(e,[this].concat(i))),n.timerAutoHide=null,n.state={},n.handleMouseEnter=function(e){n.props.onMouseEnter&&n.props.onMouseEnter(e),n.handlePause()},n.handleMouseLeave=function(e){n.props.onMouseLeave&&n.props.onMouseLeave(e),n.handleResume()},n.handleClickAway=function(e){n.props.onClose&&n.props.onClose(e,"clickaway")},n.handlePause=function(){clearTimeout(n.timerAutoHide)},n.handleResume=function(){if(null!=n.props.autoHideDuration){if(null!=n.props.resumeHideDuration)return void n.setAutoHideTimer(n.props.resumeHideDuration);n.setAutoHideTimer(.5*n.props.autoHideDuration)}},n.handleExited=function(){n.setState({exited:!0})},n}return(0,u.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){this.props.open&&this.setAutoHideTimer()}},{key:"componentDidUpdate",value:function(e){e.open!==this.props.open&&(this.props.open?this.setAutoHideTimer():clearTimeout(this.timerAutoHide))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timerAutoHide)}},{key:"setAutoHideTimer",value:function(e){var t=this,n=null!=e?e:this.props.autoHideDuration;this.props.onClose&&null!=n&&(clearTimeout(this.timerAutoHide),this.timerAutoHide=setTimeout(function(){var n=null!=e?e:t.props.autoHideDuration;t.props.onClose&&null!=n&&t.props.onClose(null,"timeout")},n))}},{key:"render",value:function(){var e=this.props,t=e.action,n=e.anchorOrigin,r=n.vertical,o=n.horizontal,a=(e.autoHideDuration,e.children),s=e.classes,l=e.className,u=e.ContentProps,c=e.disableWindowBlurListener,m=e.message,g=(e.onClose,e.onEnter),b=e.onEntered,E=e.onEntering,T=e.onExit,_=e.onExited,k=e.onExiting,x=(e.onMouseEnter,e.onMouseLeave,e.open),S=(e.resumeHideDuration,e.TransitionComponent),C=e.transitionDuration,O=e.TransitionProps,A=(0,i.default)(e,["action","anchorOrigin","autoHideDuration","children","classes","className","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]);return!x&&this.state.exited?null:f.default.createElement(v.default,{onClickAway:this.handleClickAway},f.default.createElement("div",(0,d.default)({className:(0,h.default)(s.root,s["anchorOrigin".concat((0,y.capitalize)(r)).concat((0,y.capitalize)(o))],l),onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},A),f.default.createElement(p.default,{target:"window",onFocus:c?void 0:this.handleResume,onBlur:c?void 0:this.handlePause}),f.default.createElement(S,(0,d.default)({appear:!0,in:x,onEnter:g,onEntered:b,onEntering:E,onExit:T,onExited:(0,y.createChainedFunction)(this.handleExited,_),onExiting:k,timeout:C,direction:"top"===r?"down":"up"},O),a||f.default.createElement(w.default,(0,d.default)({message:m,action:t},u)))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return"undefined"===typeof t.exited?{exited:!e.open}:e.open?{exited:!1}:null}}]),t}(f.default.Component);T.propTypes={},T.defaultProps={anchorOrigin:{vertical:"bottom",horizontal:"center"},disableWindowBlurListener:!1,TransitionComponent:b.default,transitionDuration:{enter:g.duration.enteringScreen,exit:g.duration.leavingScreen}};var _=(0,m.default)(E,{flip:!1,name:"MuiSnackbar"})(T);t.default=_},function(e,t,n){"use strict";function r(e){var t=e.action,n=e.classes,r=e.className,i=e.message,s=(0,a.default)(e,["action","classes","className","message"]);return l.default.createElement(d.default,(0,o.default)({component:f.default,headlineMapping:{body1:"div"},role:"alertdialog",square:!0,elevation:6,className:(0,u.default)(n.root,r)},s),l.default.createElement("div",{className:n.message},i),t?l.default.createElement("div",{className:n.action},t):null)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(7)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(25)),f=i(n(19)),h=n(33),p=function(e){var t,n="light"===e.palette.type?.8:.98,r=(0,h.emphasize)(e.palette.background.default,n);return{root:(t={color:e.palette.getContrastText(r),backgroundColor:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 24px"},(0,s.default)(t,e.breakpoints.up("md"),{minWidth:288,maxWidth:568,borderRadius:e.shape.borderRadius}),(0,s.default)(t,e.breakpoints.down("sm"),{flexGrow:1}),t),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:24,marginRight:-8}}};t.styles=p,r.propTypes={};var m=(0,c.default)(p,{name:"MuiSnackbarContent"})(r);t.default=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(551))},function(e,t,n){"use strict";function r(e){var t,n=e.active,r=e.alternativeLabel,i=e.children,c=e.classes,d=e.className,f=e.completed,h=e.connector,p=e.disabled,m=e.index,g=e.last,v=e.orientation,y=(0,s.default)(e,["active","alternativeLabel","children","classes","className","completed","connector","disabled","index","last","orientation"]),b=(0,u.default)(c.root,c[v],(t={},(0,a.default)(t,c.alternativeLabel,r),(0,a.default)(t,c.completed,f),t),d);return l.default.createElement("div",(0,o.default)({className:b},y),l.default.Children.map(i,function(e){return l.default.isValidElement(e)?l.default.cloneElement(e,(0,o.default)({active:n,alternativeLabel:r,completed:f,disabled:p,icon:m+1,last:g,orientation:v},e.props)):null}),h&&r&&!g&&l.default.cloneElement(h,{orientation:v,alternativeLabel:r}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=(i(n(13)),i(n(5))),d={root:{},horizontal:{paddingLeft:8,paddingRight:8,"&:first-child":{paddingLeft:0},"&:last-child":{paddingRight:0}},vertical:{},alternativeLabel:{flex:1,position:"relative"},completed:{}};t.styles=d,r.propTypes={},r.defaultProps={active:!1,completed:!1,disabled:!1};var f=(0,c.default)(d,{name:"MuiStep"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(553))},function(e,t,n){"use strict";function r(e){var t=e.active,n=e.alternativeLabel,r=e.children,i=e.classes,u=e.className,h=e.completed,p=e.disabled,m=e.icon,g=(e.last,e.optional),v=e.orientation,y=(0,a.default)(e,["active","alternativeLabel","children","classes","className","completed","disabled","icon","last","optional","orientation"]),b={active:t,alternativeLabel:n,completed:h,disabled:p,icon:m,optional:g,orientation:v},w=(0,f.isMuiElement)(r,["StepLabel"])?s.default.cloneElement(r,b):s.default.createElement(d.default,b,r);return s.default.createElement(c.default,(0,o.default)({disabled:p,TouchRippleProps:{className:i.touchRipple},className:(0,l.default)(i.root,i[v],u)},y),w)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=i(n(26)),d=i(n(213)),f=n(39),h={root:{width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},horizontal:{},vertical:{justifyContent:"flex-start"},touchRipple:{color:"rgba(0, 0, 0, 0.3)"}};t.styles=h,r.propTypes={};var p=(0,u.default)(h,{name:"MuiStepButton"})(r);t.default=p},function(e,t,n){"use strict";function r(e){var t,n,r=e.active,i=e.alternativeLabel,c=e.children,h=e.classes,p=e.className,m=e.completed,g=e.disabled,v=e.error,y=e.icon,b=(e.last,e.optional),w=e.orientation,E=e.StepIconProps,T=(0,s.default)(e,["active","alternativeLabel","children","classes","className","completed","disabled","error","icon","last","optional","orientation","StepIconProps"]);return l.default.createElement("span",(0,o.default)({className:(0,u.default)(h.root,h[w],(t={},(0,a.default)(t,h.disabled,g),(0,a.default)(t,h.alternativeLabel,i),(0,a.default)(t,h.error,v),t),p)},T),y&&l.default.createElement("span",{className:(0,u.default)(h.iconContainer,(0,a.default)({},h.alternativeLabel,i))},l.default.createElement(f.default,(0,o.default)({completed:m,active:r,error:v,icon:y},E))),l.default.createElement("span",{className:h.labelContainer},l.default.createElement(d.default,{variant:"body1",component:"span",className:(0,u.default)(h.label,(n={},(0,a.default)(n,h.alternativeLabel,i),(0,a.default)(n,h.completed,m),(0,a.default)(n,h.active,r),(0,a.default)(n,h.error,v),n))},c),b))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(19)),f=i(n(214)),h=function(e){return{root:{display:"flex",alignItems:"center","&$alternativeLabel":{flexDirection:"column"},"&$disabled":{cursor:"default"}},horizontal:{},vertical:{},label:{color:e.palette.text.secondary,"&$active":{color:e.palette.text.primary,fontWeight:500},"&$completed":{color:e.palette.text.primary,fontWeight:500},"&$alternativeLabel":{textAlign:"center",marginTop:16},"&$error":{color:e.palette.error.main}},active:{},completed:{},error:{},disabled:{},iconContainer:{paddingRight:8,"&$alternativeLabel":{paddingRight:0}},alternativeLabel:{},labelContainer:{width:"100%"}}};t.styles=h,r.propTypes={},r.defaultProps={active:!1,alternativeLabel:!1,completed:!1,disabled:!1,error:!1,last:!1,orientation:"horizontal"},r.muiName="StepLabel";var p=(0,c.default)(h,{name:"MuiStepLabel"})(r);t.default=p},function(e,t,n){"use strict";function r(e){var t=e.completed,n=e.icon,r=e.active,i=e.error,c=e.classes;return"number"===typeof n||"string"===typeof n?i?a.default.createElement(u.default,{className:(0,s.default)(c.root,c.error)}):t?a.default.createElement(l.default,{className:(0,s.default)(c.root,c.completed)}):a.default.createElement(d.default,{className:(0,s.default)(c.root,(0,o.default)({},c.active,r))},h,a.default.createElement("text",{className:c.text,x:"12",y:"16",textAnchor:"middle"},n)):n}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(7)),a=i(n(1)),s=(i(n(2)),i(n(6))),l=i(n(556)),u=i(n(557)),c=i(n(5)),d=i(n(16)),f=function(e){return{root:{display:"block",color:e.palette.text.disabled,"&$active":{color:e.palette.primary.main},"&$completed":{color:e.palette.primary.main},"&$error":{color:e.palette.error.main}},text:{fill:e.palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily},active:{},completed:{},error:{}}};t.styles=f;var h=a.default.createElement("circle",{cx:"12",cy:"12",r:"12"});r.propTypes={},r.defaultProps={active:!1,completed:!1,error:!1};var p=(0,c.default)(f,{name:"MuiStepIcon"})(r);t.default=p},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";function r(e){var t,n=e.alternativeLabel,r=e.className,i=e.classes,c=e.orientation,d=(0,s.default)(e,["alternativeLabel","className","classes","orientation"]),f=(0,u.default)(i.root,i[c],(0,a.default)({},i.alternativeLabel,n),r),h=(0,u.default)(i.line,(t={},(0,a.default)(t,i.lineHorizontal,"horizontal"===c),(0,a.default)(t,i.lineVertical,"vertical"===c),t));return l.default.createElement("div",(0,o.default)({className:f},d),l.default.createElement("span",{className:h}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=function(e){return{root:{flex:"1 1 auto"},horizontal:{},vertical:{marginLeft:12,padding:"0 0 8px"},alternativeLabel:{position:"absolute",top:12,left:"calc(50% + 20px)",right:"calc(-50% + 20px)"},line:{display:"block",borderColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},lineHorizontal:{borderTopStyle:"solid",borderTopWidth:1},lineVertical:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}};t.styles=d,r.propTypes={},r.defaultProps={alternativeLabel:!1,orientation:"horizontal"};var f=(0,c.default)(d,{name:"MuiStepConnector"})(r);t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(560))},function(e,t,n){"use strict";function r(e){var t=e.active,n=(e.alternativeLabel,e.children),r=e.classes,i=e.className,c=(e.completed,e.last),d=(e.optional,e.orientation,e.TransitionComponent),f=e.transitionDuration,h=e.TransitionProps,p=(0,s.default)(e,["active","alternativeLabel","children","classes","className","completed","last","optional","orientation","TransitionComponent","transitionDuration","TransitionProps"]),m=f;return"auto"!==f||d.muiSupportAuto||(m=void 0),l.default.createElement("div",(0,o.default)({className:(0,u.default)(r.root,(0,a.default)({},r.last,c),i)},p),l.default.createElement(d,(0,o.default)({in:t,className:r.transition,timeout:m,unmountOnExit:!0},h),n))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(13)),i(n(6))),c=i(n(85)),d=i(n(5)),f=function(e){return{root:{marginTop:8,marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:"1px solid ".concat("light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600])},last:{borderLeft:"none"},transition:{}}};t.styles=f,r.propTypes={},r.defaultProps={TransitionComponent:c.default,transitionDuration:"auto"};var h=(0,d.default)(f,{name:"MuiStepContent"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(562))},function(e,t,n){"use strict";function r(e){var t=e.activeStep,n=e.alternativeLabel,r=e.children,i=e.classes,c=e.className,f=e.connector,h=e.nonLinear,p=e.orientation,m=(0,s.default)(e,["activeStep","alternativeLabel","children","classes","className","connector","nonLinear","orientation"]),g=(0,u.default)(i.root,i[p],(0,a.default)({},i.alternativeLabel,n),c),v=l.default.isValidElement(f)?l.default.cloneElement(f,{orientation:p}):null,y=l.default.Children.toArray(r),b=y.map(function(e,r){var i={index:r,orientation:p,active:!1,completed:!1,disabled:!1,last:r+1===y.length,alternativeLabel:n,connector:f};return t===r?i.active=!0:!h&&t>r?i.completed=!0:!h&&t<r&&(i.disabled=!0),[!n&&v&&r>0&&l.default.cloneElement(v,{key:r}),l.default.cloneElement(e,(0,o.default)({},i,e.props))]});return l.default.createElement(d.default,(0,o.default)({square:!0,elevation:0,className:g},m),b)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=i(n(25)),f=i(n(215)),h={root:{display:"flex",padding:24},horizontal:{flexDirection:"row",alignItems:"center"},vertical:{flexDirection:"column"},alternativeLabel:{alignItems:"flex-start"}};t.styles=h,r.propTypes={},r.defaultProps={activeStep:0,alternativeLabel:!1,connector:l.default.createElement(f.default,null),nonLinear:!1,orientation:"horizontal"},r.muiName="Stepper";var p=(0,c.default)(h,{name:"MuiStepper"})(r);t.default=p},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(564))},function(e,t,n){"use strict";function r(){_=null}var i=n(46),o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.reset=r,t.default=void 0;var a=o(n(3)),s=o(n(4)),l=o(n(8)),u=o(n(9)),c=o(n(10)),d=o(n(11)),f=o(n(12)),h=o(n(47)),p=o(n(1)),m=(o(n(2)),o(n(15))),g=i(n(130)),v=n(28),y=o(n(29)),b=n(56),w=o(n(210)),E=o(n(565)),T=3,_=null,k=function(e){function t(){var e,n;(0,l.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,c.default)(this,(e=(0,d.default)(t)).call.apply(e,[this].concat(i))),n.backdrop=null,n.paper=null,n.isSwiping=null,n.startX=null,n.startY=null,n.state={},n.handleBodyTouchStart=function(e){if(null===_||_===(0,h.default)((0,h.default)(n))){var t=n.props,r=t.disableDiscovery,i=t.disableSwipeToOpen,o=t.open,a=t.swipeAreaWidth,s=(0,g.getAnchor)(n.props),l="right"===s?document.body.offsetWidth-e.touches[0].pageX:e.touches[0].pageX,u="bottom"===s?window.innerHeight-e.touches[0].clientY:e.touches[0].clientY;if(!o){if(i)return;if((0,g.isHorizontal)(n.props)){if(l>a)return}else if(u>a)return}_=(0,h.default)((0,h.default)(n)),n.startX=l,n.startY=u,n.setState({maybeSwiping:!0}),!o&&n.paper&&n.setPosition(n.getMaxTranslate()+(r?20:-a),{changeTransition:!1}),document.body.addEventListener("touchmove",n.handleBodyTouchMove,{passive:!1}),document.body.addEventListener("touchend",n.handleBodyTouchEnd),document.body.addEventListener("touchcancel",n.handleBodyTouchEnd)}},n.handleBodyTouchMove=function(e){if(n.paper){var t=(0,g.getAnchor)(n.props),r=(0,g.isHorizontal)(n.props),i="right"===t?document.body.offsetWidth-e.touches[0].pageX:e.touches[0].pageX,o="bottom"===t?window.innerHeight-e.touches[0].clientY:e.touches[0].clientY;if(null==n.isSwiping){var a=Math.abs(i-n.startX),s=Math.abs(o-n.startY);a>s&&e.preventDefault();var l=r?a>s&&a>T:s>a&&s>T;if(!0===l||(r?s>T:a>T)){if(n.isSwiping=l,!l)return void n.handleBodyTouchEnd(e);n.startX=i,n.startY=o,n.props.disableDiscovery||n.props.open||(r?n.startX-=n.props.swipeAreaWidth:n.startY-=n.props.swipeAreaWidth)}}n.isSwiping&&(e.preventDefault(),n.setPosition(n.getTranslate(r?i:o)))}},n.handleBodyTouchEnd=function(e){if(_=null,n.removeBodyTouchListeners(),n.setState({maybeSwiping:!1}),!n.isSwiping)return void(n.isSwiping=null);var t,r=(0,g.getAnchor)(n.props);t=(0,g.isHorizontal)(n.props)?"right"===r?document.body.offsetWidth-e.changedTouches[0].pageX:e.changedTouches[0].pageX:"bottom"===r?window.innerHeight-e.changedTouches[0].clientY:e.changedTouches[0].clientY,n.getTranslate(t)/n.getMaxTranslate()>.5?n.isSwiping&&!n.props.open?n.setPosition(n.getMaxTranslate(),{mode:"enter"}):n.props.onClose():n.isSwiping&&!n.props.open?n.props.onOpen():n.setPosition(0,{mode:"exit"}),n.isSwiping=null},n.handleBackdropRef=function(e){n.backdrop=e?m.default.findDOMNode(e):null},n.handlePaperRef=function(e){n.paper=e?m.default.findDOMNode(e):null},n}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){"temporary"===this.props.variant&&this.listenTouchStart()}},{key:"componentDidUpdate",value:function(e){var t=this.props.variant,n=e.variant;t!==n&&("temporary"===t?this.listenTouchStart():"temporary"===n&&this.removeTouchStart())}},{key:"componentWillUnmount",value:function(){this.removeTouchStart(),this.removeBodyTouchListeners(),_===this&&(_=null)}},{key:"getMaxTranslate",value:function(){return(0,g.isHorizontal)(this.props)?this.paper.clientWidth:this.paper.clientHeight}},{key:"getTranslate",value:function(e){var t=(0,g.isHorizontal)(this.props)?this.startX:this.startY;return Math.min(Math.max(this.props.open?t-e:this.getMaxTranslate()+t-e,0),this.getMaxTranslate())}},{key:"setPosition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.mode,r=void 0===n?null:n,i=t.changeTransition,o=void 0===i||i,a=(0,g.getAnchor)(this.props),s=-1!==["right","bottom"].indexOf(a)?1:-1,l=(0,g.isHorizontal)(this.props)?"translate(".concat(s*e,"px, 0)"):"translate(0, ".concat(s*e,"px)"),u=this.paper.style;u.webkitTransform=l,u.transform=l;var c="";if(r&&(c=this.props.theme.transitions.create("all",(0,b.getTransitionProps)({timeout:this.props.transitionDuration},{mode:r}))),o&&(u.webkitTransition=c,u.transition=c),!this.props.disableBackdropTransition){var d=this.backdrop.style;d.opacity=1-e/this.getMaxTranslate(),o&&(d.webkitTransition=c,d.transition=c)}}},{key:"listenTouchStart",value:function(){document.body.addEventListener("touchstart",this.handleBodyTouchStart)}},{key:"removeTouchStart",value:function(){document.body.removeEventListener("touchstart",this.handleBodyTouchStart)}},{key:"removeBodyTouchListeners",value:function(){document.body.removeEventListener("touchmove",this.handleBodyTouchMove,{passive:!1}),document.body.removeEventListener("touchend",this.handleBodyTouchEnd),document.body.removeEventListener("touchcancel",this.handleBodyTouchEnd)}},{key:"render",value:function(){var e=this.props,t=e.anchor,n=(e.disableBackdropTransition,e.disableDiscovery),r=e.disableSwipeToOpen,i=e.ModalProps;i=void 0===i?{}:i;var o=i.BackdropProps,l=(0,s.default)(i,["BackdropProps"]),u=(e.onOpen,e.open),c=e.PaperProps,d=void 0===c?{}:c,f=e.swipeAreaWidth,h=e.variant,m=(0,s.default)(e,["anchor","disableBackdropTransition","disableDiscovery","disableSwipeToOpen","ModalProps","onOpen","open","PaperProps","swipeAreaWidth","variant"]),v=this.state.maybeSwiping;return p.default.createElement(p.default.Fragment,null,p.default.createElement(g.default,(0,a.default)({open:!("temporary"!==h||!v)||u,variant:h,ModalProps:(0,a.default)({BackdropProps:(0,a.default)({},o,{ref:this.handleBackdropRef})},l),PaperProps:(0,a.default)({},d,{style:(0,a.default)({pointerEvents:"temporary"!==h||u?"":"none"},d.style),ref:this.handlePaperRef}),anchor:t},m)),!n&&!r&&"temporary"===h&&p.default.createElement(w.default,null,p.default.createElement(E.default,{anchor:t,width:f})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return"undefined"===typeof t.maybeSwiping?{maybeSwiping:!1,open:e.open}:!e.open&&t.open?{maybeSwiping:!1,open:e.open}:{open:e.open}}}]),t}(p.default.Component);k.propTypes={},k.defaultProps={anchor:"left",disableBackdropTransition:!1,disableDiscovery:!1,disableSwipeToOpen:"undefined"!==typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent),swipeAreaWidth:20,transitionDuration:{enter:v.duration.enteringScreen,exit:v.duration.leavingScreen},variant:"temporary"};var x=(0,y.default)()(k);t.default=x},function(e,t,n){"use strict";function r(e){var t=e.anchor,n=e.classes,r=e.width,i=(0,s.default)(e,["anchor","classes","width"]);return l.default.createElement("div",(0,o.default)({className:(0,u.default)(n.root,n["anchor".concat((0,d.capitalize)(t))]),style:(0,a.default)({},(0,f.isHorizontal)(e)?"width":"height",r)},i))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(5)),d=n(14),f=n(130),h=function(e){return{root:{position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1},anchorLeft:{right:"auto"},anchorRight:{left:"auto",right:0},anchorTop:{bottom:"auto",right:0},anchorBottom:{top:"auto",bottom:0,right:0}}};t.styles=h,r.propTypes={};var p=(0,c.default)(h)(r);t.default=p},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(567))},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.color,i=(0,a.default)(e,["classes","className","color"]);return s.default.createElement("span",{className:(0,l.default)(t.root,n)},s.default.createElement(d.default,(0,o.default)({type:"checkbox",icon:s.default.createElement("span",{className:t.icon}),classes:{root:(0,l.default)(t.switchBase,t["color".concat((0,c.capitalize)(r))]),checked:t.checked,disabled:t.disabled},checkedIcon:s.default.createElement("span",{className:(0,l.default)(t.icon,t.iconChecked)})},i)),s.default.createElement("span",{className:t.bar}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=n(14),d=i(n(129)),f=function(e){return{root:{display:"inline-flex",width:62,position:"relative",flexShrink:0,verticalAlign:"middle"},icon:{boxShadow:e.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"},iconChecked:{boxShadow:e.shadows[2]},switchBase:{zIndex:1,color:"light"===e.palette.type?e.palette.grey[50]:e.palette.grey[400],transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest})},checked:{transform:"translateX(14px)","& + $bar":{opacity:.5}},colorPrimary:{"&$checked":{color:e.palette.primary.main,"& + $bar":{backgroundColor:e.palette.primary.main}}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"& + $bar":{backgroundColor:e.palette.secondary.main}}},disabled:{"& + $bar":{opacity:"light"===e.palette.type?.12:.1},"& $icon":{boxShadow:e.shadows[1]},"&$switchBase":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800],"& + $bar":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}}},bar:{borderRadius:7,display:"block",position:"absolute",width:34,height:14,top:"50%",left:"50%",marginTop:-7,marginLeft:-17,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.type?.38:.3}}};t.styles=f,r.propTypes={},r.defaultProps={color:"secondary"};var h=(0,u.default)(f,{name:"MuiSwitch"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(569))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=r(n(2)),h=r(n(6)),p=r(n(5)),m=function(e){return{root:{display:"table",fontFamily:e.typography.fontFamily,width:"100%",borderCollapse:"collapse",borderSpacing:0}}};t.styles=m;var g=function(e){function t(){return(0,a.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"getChildContext",value:function(){return{table:{padding:this.props.padding}}}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.className,r=e.component,a=(e.padding,(0,o.default)(e,["classes","className","component","padding"]));return d.default.createElement(r,(0,i.default)({className:(0,h.default)(t.root,n)},a))}}]),t}(d.default.Component);g.propTypes={},g.defaultProps={component:"table",padding:"default"},g.childContextTypes={table:f.default.object};var v=(0,p.default)(m,{name:"MuiTable"})(g);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(571))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=r(n(2)),h=r(n(6)),p=r(n(5)),m={root:{display:"table-row-group"}};t.styles=m;var g=function(e){function t(){return(0,a.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"getChildContext",value:function(){return{tablelvl2:{variant:"body"}}}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.className,r=e.component,a=(0,o.default)(e,["classes","className","component"]);return d.default.createElement(r,(0,i.default)({className:(0,h.default)(t.root,n)},a))}}]),t}(d.default.Component);g.propTypes={},g.defaultProps={component:"tbody"},g.childContextTypes={tablelvl2:f.default.object};var v=(0,p.default)(m,{name:"MuiTableBody"})(g);t.default=v},function(e,t,n){"use strict";function r(e,t){var n,r,i=e.children,u=e.classes,d=e.className,h=e.component,p=e.sortDirection,m=e.numeric,g=e.padding,v=e.scope,y=e.variant,b=(0,s.default)(e,["children","classes","className","component","sortDirection","numeric","padding","scope","variant"]),w=t.table,E=t.tablelvl2;r=h||(E&&"head"===E.variant?"th":"td");var T=v;!T&&E&&"head"===E.variant&&(T="col");var _=g||(w&&w.padding?w.padding:"default"),k=(0,c.default)(u.root,(n={},(0,a.default)(n,u.head,y?"head"===y:E&&"head"===E.variant),(0,a.default)(n,u.body,y?"body"===y:E&&"body"===E.variant),(0,a.default)(n,u.footer,y?"footer"===y:E&&"footer"===E.variant),(0,a.default)(n,u.numeric,m),(0,a.default)(n,u["padding".concat((0,f.capitalize)(_))],"default"!==_),n),d),x=null;return p&&(x="asc"===p?"ascending":"descending"),l.default.createElement(r,(0,o.default)({className:k,"aria-sort":x,scope:T},b),i)}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=n(14),h=n(33),p=function(e){return{root:{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n ".concat("light"===e.palette.type?(0,h.lighten)((0,h.fade)(e.palette.divider,1),.88):(0,h.darken)((0,h.fade)(e.palette.divider,1),.8)),textAlign:"left",padding:"4px 56px 4px 24px","&:last-child":{paddingRight:24}},head:{color:e.palette.text.secondary,fontSize:e.typography.pxToRem(12),fontWeight:e.typography.fontWeightMedium},body:{color:e.palette.text.primary,fontSize:e.typography.pxToRem(13),fontWeight:e.typography.fontWeightRegular},footer:{borderBottom:0,color:e.palette.text.secondary,fontSize:e.typography.pxToRem(12)},numeric:{textAlign:"right",flexDirection:"row-reverse"},paddingDense:{paddingRight:24},paddingCheckbox:{padding:"0 12px","&:last-child":{paddingRight:12}},paddingNone:{padding:0,"&:last-child":{padding:0}}}};t.styles=p,r.propTypes={},r.defaultProps={numeric:!1},r.contextTypes={table:u.default.object,tablelvl2:u.default.object};var m=(0,d.default)(p,{name:"MuiTableCell"})(r);t.default=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(574))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=r(n(2)),h=r(n(6)),p=r(n(5)),m={root:{display:"table-footer-group"}};t.styles=m;var g=function(e){function t(){return(0,a.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"getChildContext",value:function(){return{tablelvl2:{variant:"footer"}}}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.className,r=e.component,a=(0,o.default)(e,["classes","className","component"]);return d.default.createElement(r,(0,i.default)({className:(0,h.default)(t.root,n)},a))}}]),t}(d.default.Component);g.propTypes={},g.defaultProps={component:"tfoot"},g.childContextTypes={tablelvl2:f.default.object};var v=(0,p.default)(m,{name:"MuiTableFooter"})(g);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(576))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=r(n(2)),h=r(n(6)),p=r(n(5)),m={root:{display:"table-header-group"}};t.styles=m;var g=function(e){function t(){return(0,a.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"getChildContext",value:function(){return{tablelvl2:{variant:"head"}}}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.className,r=e.component,a=(0,o.default)(e,["classes","className","component"]);return d.default.createElement(r,(0,i.default)({className:(0,h.default)(t.root,n)},a))}}]),t}(d.default.Component);g.propTypes={},g.defaultProps={component:"thead"},g.childContextTypes={tablelvl2:f.default.object};var v=(0,p.default)(m,{name:"MuiTableHead"})(g);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(578))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(5))),h=r(n(66)),p=r(n(126)),m=r(n(134)),g=r(n(216)),v=r(n(105)),y=r(n(19)),b=r(n(579)),w=function(e){return{root:{fontSize:e.typography.pxToRem(12),"&:last-child":{padding:0}},toolbar:{height:56,minHeight:56,paddingRight:2},spacer:{flex:"1 1 100%"},caption:{flexShrink:0},selectRoot:{marginRight:32,marginLeft:8,color:e.palette.text.secondary},select:{paddingLeft:8,paddingRight:16},selectIcon:{top:1},input:{fontSize:"inherit",flexShrink:0},menuItem:{},actions:{flexShrink:0,color:e.palette.text.secondary,marginLeft:20}}};t.styles=w;var E=function(e){function t(){return(0,a.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.count,n=e.onChangePage,r=e.page,i=e.rowsPerPage,o=Math.max(0,Math.ceil(t/i)-1);r>o&&n(null,o)}},{key:"render",value:function(){var e,t=this.props,n=t.ActionsComponent,r=t.backIconButtonProps,a=t.classes,s=t.colSpan,l=t.component,u=t.count,c=t.labelDisplayedRows,f=t.labelRowsPerPage,b=t.nextIconButtonProps,w=t.onChangePage,E=t.onChangeRowsPerPage,T=t.page,_=t.rowsPerPage,k=t.rowsPerPageOptions,x=t.SelectProps,S=(0,o.default)(t,["ActionsComponent","backIconButtonProps","classes","colSpan","component","count","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onChangePage","onChangeRowsPerPage","page","rowsPerPage","rowsPerPageOptions","SelectProps"]);return l!==g.default&&"td"!==l||(e=s||1e3),d.default.createElement(l,(0,i.default)({className:a.root,colSpan:e},S),d.default.createElement(v.default,{className:a.toolbar},d.default.createElement("div",{className:a.spacer}),k.length>1&&d.default.createElement(y.default,{variant:"caption",className:a.caption},f),k.length>1&&d.default.createElement(m.default,(0,i.default)({classes:{root:a.selectRoot,select:a.select,icon:a.selectIcon},input:d.default.createElement(h.default,{className:a.input,disableUnderline:!0}),value:_,onChange:E},x),k.map(function(e){return d.default.createElement(p.default,{className:a.menuItem,key:e,value:e},e)})),d.default.createElement(y.default,{variant:"caption",className:a.caption},c({from:0===u?0:T*_+1,to:Math.min(u,(T+1)*_),count:u,page:T})),d.default.createElement(n,{className:a.actions,backIconButtonProps:r,count:u,nextIconButtonProps:b,onChangePage:w,page:T,rowsPerPage:_})))}}]),t}(d.default.Component);E.propTypes={},E.defaultProps={ActionsComponent:b.default,component:g.default,labelDisplayedRows:function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(n," of ").concat(r)},labelRowsPerPage:"Rows per page:",rowsPerPageOptions:[5,10,25]};var T=(0,f.default)(w,{name:"MuiTablePagination"})(E);t.default=T},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(580))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(217))),h=r(n(218)),p=r(n(29)),m=r(n(84)),g=d.default.createElement(h.default,null),v=d.default.createElement(f.default,null),y=d.default.createElement(f.default,null),b=d.default.createElement(h.default,null),w=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.handleBackButtonClick=function(e){n.props.onChangePage(e,n.props.page-1)},n.handleNextButtonClick=function(e){n.props.onChangePage(e,n.props.page+1)},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e=this.props,t=e.backIconButtonProps,n=e.count,r=e.nextIconButtonProps,a=(e.onChangePage,e.page),s=e.rowsPerPage,l=e.theme,u=(0,o.default)(e,["backIconButtonProps","count","nextIconButtonProps","onChangePage","page","rowsPerPage","theme"]);return d.default.createElement("div",u,d.default.createElement(m.default,(0,i.default)({onClick:this.handleBackButtonClick,disabled:0===a},t),"rtl"===l.direction?g:v),d.default.createElement(m.default,(0,i.default)({onClick:this.handleNextButtonClick,disabled:a>=Math.ceil(n/s)-1},r),"rtl"===l.direction?y:b))}}]),t}(d.default.Component);w.propTypes={};var E=(0,p.default)()(w);t.default=E},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(582))},function(e,t,n){"use strict";function r(e,t){var n,r=e.classes,i=e.className,u=e.component,d=e.hover,f=e.selected,h=(0,s.default)(e,["classes","className","component","hover","selected"]),p=t.tablelvl2,m=(0,c.default)(r.root,(n={},(0,a.default)(n,r.head,p&&"head"===p.variant),(0,a.default)(n,r.footer,p&&"footer"===p.variant),(0,a.default)(n,r.hover,d),(0,a.default)(n,r.selected,f),n),i);return l.default.createElement(u,(0,o.default)({className:m},h))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=i(n(2)),c=i(n(6)),d=i(n(5)),f=function(e){return{root:{color:"inherit",display:"table-row",height:48,verticalAlign:"middle",outline:"none","&$selected":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.04)":"rgba(255, 255, 255, 0.08)"},"&$hover:hover":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.07)":"rgba(255, 255, 255, 0.14)"}},selected:{},hover:{},head:{height:56},footer:{height:56}}};t.styles=f,r.propTypes={},r.defaultProps={component:"tr",hover:!1,selected:!1},r.contextTypes={tablelvl2:u.default.object};var h=(0,d.default)(f,{name:"MuiTableRow"})(r);t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(584))},function(e,t,n){"use strict";function r(e){var t=e.active,n=e.classes,r=e.className,i=e.children,d=e.direction,p=(0,s.default)(e,["active","classes","className","children","direction"]);return l.default.createElement(f.default,(0,o.default)({className:(0,u.default)(n.root,(0,a.default)({},n.active,t),r),component:"span",disableRipple:!0},p),i,l.default.createElement(c.default,{className:(0,u.default)(n.icon,n["iconDirection".concat((0,h.capitalize)(d))])}))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(7)),s=i(n(4)),l=i(n(1)),u=(i(n(2)),i(n(6))),c=i(n(585)),d=i(n(5)),f=i(n(26)),h=n(14),p=function(e){return{root:{cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:hover":{color:e.palette.text.primary},"&:focus":{color:e.palette.text.primary}},active:{color:e.palette.text.primary,"& $icon":{opacity:1}},icon:{height:16,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none",width:16},iconDirectionDesc:{transform:"rotate(0deg)"},iconDirectionAsc:{transform:"rotate(180deg)"}}};t.styles=p,r.propTypes={},r.defaultProps={active:!1,direction:"desc"};var m=(0,d.default)(p,{name:"MuiTableSortLabel"})(r);t.default=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(21)),a=r(n(16)),s=i.default.createElement("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),l=function(e){return i.default.createElement(a.default,e,s)};l=(0,o.default)(l),l.muiName="SvgIcon";var u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(7)),f=r(n(1)),h=(r(n(2)),r(n(13)),r(n(6))),p=r(n(31)),m=r(n(38)),g=n(587),v=r(n(588)),y=r(n(589)),b=r(n(5)),w=r(n(590)),E=r(n(591)),T=function(e){return{root:{overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch"},flexContainer:{display:"flex"},centered:{justifyContent:"center"},scroller:{position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},fixed:{overflowX:"hidden",width:"100%"},scrollable:{overflowX:"scroll"},scrollButtons:{},scrollButtonsAuto:(0,d.default)({},e.breakpoints.down("xs"),{display:"none"}),indicator:{}}};t.styles=T;var _=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.tabs=null,n.valueToIndex=new Map,n.handleResize=(0,m.default)(function(){n.updateIndicatorState(n.props),n.updateScrollButtonState()},166),n.handleTabsScroll=(0,m.default)(function(){n.updateScrollButtonState()},166),n.state={indicatorStyle:{},scrollerStyle:{marginBottom:0},showLeftScroll:!1,showRightScroll:!1,mounted:!1},n.getConditionalElements=function(){var e=n.props,t=e.classes,r=e.scrollable,i=e.ScrollButtonComponent,o=e.scrollButtons,a=e.theme,s={};s.scrollbarSizeListener=r?f.default.createElement(y.default,{onLoad:n.handleScrollbarSizeChange,onChange:n.handleScrollbarSizeChange}):null;var l=r&&("auto"===o||"on"===o);return s.scrollButtonLeft=l?f.default.createElement(i,{direction:a&&"rtl"===a.direction?"right":"left",onClick:n.handleLeftScrollClick,visible:n.state.showLeftScroll,className:(0,h.default)(t.scrollButtons,(0,d.default)({},t.scrollButtonsAuto,"auto"===o))}):null,s.scrollButtonRight=l?f.default.createElement(i,{direction:a&&"rtl"===a.direction?"left":"right",onClick:n.handleRightScrollClick,visible:n.state.showRightScroll,className:(0,h.default)(t.scrollButtons,(0,d.default)({},t.scrollButtonsAuto,"auto"===o))}):null,s},n.getTabsMeta=function(e,t){var r;if(n.tabsRef){var i=n.tabsRef.getBoundingClientRect();r={clientWidth:n.tabsRef.clientWidth,scrollLeft:n.tabsRef.scrollLeft,scrollLeftNormalized:(0,g.getNormalizedScrollLeft)(n.tabsRef,t),scrollWidth:n.tabsRef.scrollWidth,left:i.left,right:i.right}}var o;if(n.tabsRef&&!1!==e){var a=n.tabsRef.children[0].children;if(a.length>0){var s=a[n.valueToIndex.get(e)];o=s?s.getBoundingClientRect():null}}return{tabsMeta:r,tabMeta:o}},n.handleLeftScrollClick=function(){n.moveTabsScroll(-n.tabsRef.clientWidth)},n.handleRightScrollClick=function(){n.moveTabsScroll(n.tabsRef.clientWidth)},n.handleScrollbarSizeChange=function(e){var t=e.scrollbarHeight;n.setState({scrollerStyle:{marginBottom:-t}})},n.moveTabsScroll=function(e){var t=n.props.theme,r="rtl"===t.direction?-1:1,i=n.tabsRef.scrollLeft+e*r,o="rtl"===t.direction&&"reverse"===(0,g.detectScrollType)()?-1:1;n.scroll(o*i)},n.scrollSelectedIntoView=function(){var e=n.props,t=e.theme,r=e.value,i=n.getTabsMeta(r,t.direction),o=i.tabsMeta,a=i.tabMeta;if(a&&o)if(a.left<o.left){var s=o.scrollLeft+(a.left-o.left);n.scroll(s)}else if(a.right>o.right){var l=o.scrollLeft+(a.right-o.right);n.scroll(l)}},n.scroll=function(e){(0,v.default)("scrollLeft",n.tabsRef,e)},n.updateScrollButtonState=function(){var e=n.props,t=e.scrollable,r=e.scrollButtons,i=e.theme;if(t&&"off"!==r){var o=n.tabsRef,a=o.scrollWidth,s=o.clientWidth,l=(0,g.getNormalizedScrollLeft)(n.tabsRef,i.direction),u="rtl"===i.direction?a>s+l:l>0,c="rtl"===i.direction?l>0:a>s+l;u===n.state.showLeftScroll&&c===n.state.showRightScroll||n.setState({showLeftScroll:u,showRightScroll:c})}},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.setState({mounted:!0}),this.updateIndicatorState(this.props),this.updateScrollButtonState(),this.props.action&&this.props.action({updateIndicator:this.handleResize})}},{key:"componentDidUpdate",value:function(e,t){this.updateIndicatorState(this.props),this.updateScrollButtonState(),this.state.indicatorStyle!==t.indicatorStyle&&this.scrollSelectedIntoView()}},{key:"componentWillUnmount",value:function(){this.handleResize.clear(),this.handleTabsScroll.clear()}},{key:"updateIndicatorState",value:function(e){var t=e.theme,n=e.value,r=this.getTabsMeta(n,t.direction),i=r.tabsMeta,o=r.tabMeta,a=0;if(o&&i){var s="rtl"===t.direction?i.scrollLeftNormalized+i.clientWidth-i.scrollWidth:i.scrollLeft;a=Math.round(o.left-i.left+s)}var l={left:a,width:o?Math.round(o.width):0};l.left===this.state.indicatorStyle.left&&l.width===this.state.indicatorStyle.width||isNaN(l.left)||isNaN(l.width)||this.setState({indicatorStyle:l})}},{key:"render",value:function(){var e,t=this,n=this.props,r=(n.action,n.centered),a=n.children,s=n.classes,l=n.className,u=n.component,c=n.fullWidth,m=n.indicatorColor,g=n.onChange,v=n.scrollable,y=(n.ScrollButtonComponent,n.scrollButtons,n.TabIndicatorProps),b=void 0===y?{}:y,E=n.textColor,T=(n.theme,n.value),_=(0,o.default)(n,["action","centered","children","classes","className","component","fullWidth","indicatorColor","onChange","scrollable","ScrollButtonComponent","scrollButtons","TabIndicatorProps","textColor","theme","value"]),k=(0,h.default)(s.root,l),x=(0,h.default)(s.flexContainer,(0,d.default)({},s.centered,r&&!v)),S=(0,h.default)(s.scroller,(e={},(0,d.default)(e,s.fixed,!v),(0,d.default)(e,s.scrollable,v),e)),C=f.default.createElement(w.default,(0,i.default)({className:s.indicator,color:m},b,{style:(0,i.default)({},this.state.indicatorStyle,b.style)}));this.valueToIndex=new Map;var O=0,A=f.default.Children.map(a,function(e){if(!f.default.isValidElement(e))return null;var n=void 0===e.props.value?O:e.props.value;t.valueToIndex.set(n,O);var r=n===T;return O+=1,f.default.cloneElement(e,{fullWidth:c,indicator:r&&!t.state.mounted&&C,selected:r,onChange:g,textColor:E,value:n})}),P=this.getConditionalElements();return f.default.createElement(u,(0,i.default)({className:k},_),f.default.createElement(p.default,{target:"window",onResize:this.handleResize}),P.scrollbarSizeListener,f.default.createElement("div",{className:s.flexContainer},P.scrollButtonLeft,f.default.createElement("div",{className:S,style:this.state.scrollerStyle,ref:function(e){t.tabsRef=e},role:"tablist",onScroll:this.handleTabsScroll},f.default.createElement("div",{className:x},A),this.state.mounted&&C),P.scrollButtonRight))}}]),t}(f.default.Component);_.propTypes={},_.defaultProps={centered:!1,component:"div",fullWidth:!1,indicatorColor:"secondary",scrollable:!1,ScrollButtonComponent:E.default,scrollButtons:"auto",textColor:"inherit"};var k=(0,b.default)(T,{name:"MuiTabs",withTheme:!0})(_);t.default=k},function(e,t,n){"use strict";function r(e){s=e}function i(){if(s)return s;if(!l||!window.document.body)return"indeterminate";var e=window.document.createElement("div");return e.appendChild(document.createTextNode("ABCD")),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),s="reverse",e.scrollLeft>0?s="default":(e.scrollLeft=1,0===e.scrollLeft&&(s="negative")),document.body.removeChild(e),s}function o(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;var r=i();if("indeterminate"===r)return Number.NaN;switch(r){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n}return n}function a(e,t,n){if("rtl"!==n)return void(e.scrollLeft=t);var r=i();if("indeterminate"!==r)switch(r){case"negative":e.scrollLeft=e.clientWidth-e.scrollWidth+t;break;case"reverse":e.scrollLeft=e.scrollWidth-e.clientWidth-t;break;default:e.scrollLeft=t}}Object.defineProperty(t,"__esModule",{value:!0});var s,l=!("undefined"===typeof window||!window.document||!window.document.createElement);t._setScrollType=r,t.detectScrollType=i,t.getNormalizedScrollLeft=o,t.setNormalizedScrollLeft=a},function(e,t,n){"use strict";function r(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function i(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},a=i.ease,s=void 0===a?r:a,l=i.duration,u=void 0===l?300:l,c=null,d=t[e],f=!1,h=function(){f=!0},p=function r(i){if(f)return void o(new Error("Animation cancelled"));null===c&&(c=i);var a=Math.min(1,(i-c)/u);if(t[e]=s(a)*(n-d)+d,a>=1)return void requestAnimationFrame(function(){o(null)});requestAnimationFrame(r)};return d===n?(o(new Error("Element already at target position")),h):(requestAnimationFrame(p),h)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i;t.default=o},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(8)),o=r(n(9)),a=r(n(10)),s=r(n(11)),l=r(n(12)),u=r(n(1)),c=(r(n(2)),r(n(31))),d=r(n(38)),f={width:100,height:100,position:"absolute",top:-1e4,overflow:"scroll",msOverflowStyle:"scrollbar"},h=function(e){function t(){var e,n;(0,i.default)(this,t);for(var r=arguments.length,o=new Array(r),l=0;l<r;l++)o[l]=arguments[l];return n=(0,a.default)(this,(e=(0,s.default)(t)).call.apply(e,[this].concat(o))),n.handleResize=(0,d.default)(function(){var e=n.props.onChange,t=n.scrollbarHeight,r=n.scrollbarWidth;n.setMeasurements(),t===n.scrollbarHeight&&r===n.scrollbarWidth||e({scrollbarHeight:n.scrollbarHeight,scrollbarWidth:n.scrollbarWidth})},166),n.setMeasurements=function(){var e=n.nodeRef;e&&(n.scrollbarHeight=e.offsetHeight-e.clientHeight,n.scrollbarWidth=e.offsetWidth-e.clientWidth)},n}return(0,l.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){this.setMeasurements(),this.props.onLoad({scrollbarHeight:this.scrollbarHeight,scrollbarWidth:this.scrollbarWidth})}},{key:"componentWillUnmount",value:function(){this.handleResize.clear()}},{key:"render",value:function(){var e=this,t=this.props.onChange;return u.default.createElement("div",null,t?u.default.createElement(c.default,{target:"window",onResize:this.handleResize}):null,u.default.createElement("div",{style:f,ref:function(t){e.nodeRef=t}}))}}]),t}(u.default.Component);h.propTypes={};var p=h;t.default=p},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.color,i=(0,a.default)(e,["classes","className","color"]);return s.default.createElement("span",(0,o.default)({className:(0,l.default)(t.root,t["color".concat((0,c.capitalize)(r))],n)},i))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(5)),c=n(14),d=function(e){return{root:{position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),willChange:"left, width"},colorPrimary:{backgroundColor:e.palette.primary.main},colorSecondary:{backgroundColor:e.palette.secondary.main}}};t.styles=d,r.propTypes={};var f=(0,u.default)(d)(r);t.default=f},function(e,t,n){"use strict";function r(e){var t=e.classes,n=e.className,r=e.direction,i=e.onClick,u=e.visible,c=(0,a.default)(e,["classes","className","direction","onClick","visible"]),d=(0,l.default)(t.root,n);return u?s.default.createElement(f.default,(0,o.default)({className:d,onClick:i,tabIndex:-1},c),"left"===r?p:m):s.default.createElement("div",{className:d})}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(2)),i(n(6))),u=i(n(217)),c=i(n(218)),d=i(n(5)),f=i(n(26)),h={root:{color:"inherit",flex:"0 0 56px"}};t.styles=h;var p=s.default.createElement(u.default,null),m=s.default.createElement(c.default,null);r.propTypes={},r.defaultProps={visible:!0};var g=(0,d.default)(h,{name:"MuiTabScrollButton"})(r);t.default=g},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(4)),o=r(n(8)),a=r(n(9)),s=r(n(10)),l=r(n(11)),u=r(n(12)),c=r(n(7)),d=r(n(3)),f=r(n(1)),h=(r(n(2)),r(n(6))),p=r(n(5)),m=r(n(26)),g=n(14),v=(r(n(128)),function(e){return{root:(0,d.default)({},e.typography.button,(0,c.default)({maxWidth:264,position:"relative",minWidth:72,padding:0,minHeight:48,flexShrink:0,overflow:"hidden"},e.breakpoints.up("md"),{minWidth:160})),labelIcon:{minHeight:72},textColorInherit:{color:"inherit",opacity:.7,"&$selected":{opacity:1},"&$disabled":{opacity:.4}},textColorPrimary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled}},textColorSecondary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.text.disabled}},selected:{},disabled:{},fullWidth:{flexShrink:1,flexGrow:1,maxWidth:"none"},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"},labelContainer:(0,c.default)({paddingTop:6,paddingBottom:6,paddingLeft:12,paddingRight:12},e.breakpoints.up("md"),{paddingLeft:24,paddingRight:24}),label:(0,c.default)({fontSize:e.typography.pxToRem(14),whiteSpace:"normal"},e.breakpoints.up("md"),{fontSize:e.typography.pxToRem(13)}),labelWrapped:(0,c.default)({},e.breakpoints.down("sm"),{fontSize:e.typography.pxToRem(12)})}});t.styles=v;var y=function(e){function t(){var e,n;(0,o.default)(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=(0,s.default)(this,(e=(0,l.default)(t)).call.apply(e,[this].concat(i))),n.label=null,n.state={labelWrapped:!1},n.handleChange=function(e){var t=n.props,r=t.onChange,i=t.value,o=t.onClick;r&&r(e,i),o&&o(e)},n.checkTextWrap=function(){if(n.labelRef){var e=n.labelRef.getClientRects().length>1;n.state.labelWrapped!==e&&n.setState({labelWrapped:e})}},n}return(0,u.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){this.checkTextWrap()}},{key:"componentDidUpdate",value:function(e,t){this.state.labelWrapped===t.labelWrapped&&this.checkTextWrap()}},{key:"render",value:function(){var e,t,n=this,r=this.props,o=r.classes,a=r.className,s=r.disabled,l=r.fullWidth,u=r.icon,p=r.indicator,v=r.label,y=(r.onChange,r.selected),b=r.textColor,w=(r.value,(0,i.default)(r,["classes","className","disabled","fullWidth","icon","indicator","label","onChange","selected","textColor","value"]));void 0!==v&&(t=f.default.createElement("span",{className:o.labelContainer},f.default.createElement("span",{className:(0,h.default)(o.label,(0,c.default)({},o.labelWrapped,this.state.labelWrapped)),ref:function(e){n.labelRef=e}},v)));var E=(0,h.default)(o.root,o["textColor".concat((0,g.capitalize)(b))],(e={},(0,c.default)(e,o.disabled,s),(0,c.default)(e,o.selected,y),(0,c.default)(e,o.labelIcon,u&&t),(0,c.default)(e,o.fullWidth,l),e),a);return f.default.createElement(m.default,(0,d.default)({focusRipple:!0,className:E,role:"tab","aria-selected":y,disabled:s},w,{onClick:this.handleChange}),f.default.createElement("span",{className:o.wrapper},u,t),p)}}]),t}(f.default.Component);y.propTypes={},y.defaultProps={disabled:!1,textColor:"inherit"};var b=(0,p.default)(v,{name:"MuiTab"})(y);t.default=b},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(594))},function(e,t,n){"use strict";function r(e){var t=e.autoComplete,n=e.autoFocus,r=e.children,i=e.className,h=e.defaultValue,p=e.error,m=e.FormHelperTextProps,g=e.fullWidth,v=e.helperText,y=e.id,b=e.InputLabelProps,w=e.inputProps,E=e.InputProps,T=e.inputRef,_=e.label,k=e.multiline,x=e.name,S=e.onBlur,C=e.onChange,O=e.onFocus,A=e.placeholder,P=e.required,I=e.rows,R=e.rowsMax,N=e.select,M=e.SelectProps,D=e.type,L=e.value,j=(0,a.default)(e,["autoComplete","autoFocus","children","className","defaultValue","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","select","SelectProps","type","value"]),W=v&&y?"".concat(y,"-helper-text"):void 0,B=s.default.createElement(l.default,(0,o.default)({autoComplete:t,autoFocus:n,defaultValue:h,fullWidth:g,multiline:k,name:x,rows:I,rowsMax:R,type:D,value:L,id:y,inputRef:T,onBlur:S,onChange:C,onFocus:O,placeholder:A,inputProps:w},E));return s.default.createElement(c.default,(0,o.default)({"aria-describedby":W,className:i,error:p,fullWidth:g,required:P},j),_&&s.default.createElement(u.default,(0,o.default)({htmlFor:y},b),_),N?s.default.createElement(f.default,(0,o.default)({value:L,input:B},M),r):B,v&&s.default.createElement(d.default,(0,o.default)({id:W},m),v))}var i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(1)),l=(i(n(13)),i(n(2)),i(n(66))),u=i(n(204)),c=i(n(200)),d=i(n(202)),f=i(n(134));r.propTypes={},r.defaultProps={required:!1,select:!1};var h=r;t.default=h},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(596))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var i=r(n(3)),o=r(n(8)),a=r(n(9)),s=r(n(10)),l=r(n(11)),u=r(n(12)),c=r(n(7)),d=r(n(1)),f=(r(n(2)),r(n(13)),r(n(6))),h=r(n(122)),p=r(n(5)),m=n(14),g=(r(n(36)),r(n(125))),v=r(n(211)),y=function(e){return{popper:{zIndex:e.zIndex.tooltip,opacity:.9},tooltip:{backgroundColor:e.palette.grey[700],borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat(e.typography.round(1.4),"em"),maxWidth:300},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat(e.typography.round(16/14),"em")},tooltipPlacementLeft:(0,c.default)({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:(0,c.default)({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:(0,c.default)({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:(0,c.default)({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}};t.styles=y;var b=function(e){function t(e){var n;return(0,o.default)(this,t),n=(0,s.default)(this,(0,l.default)(t).call(this)),n.childrenRef=null,n.closeTimer=null,n.defaultId=null,n.enterTimer=null,n.focusTimer=null,n.ignoreNonTouchEvents=!1,n.isControlled=null,n.leaveTimer=null,n.touchTimer=null,n.onRootRef=function(e){n.childrenRef=e},n.handleFocus=function(e){e.persist(),n.focusTimer=setTimeout(function(){n.handleEnter(e)})},n.handleEnter=function(e){var t=n.props,r=t.children,i=t.enterDelay,o=r.props;"focus"===e.type&&o.onFocus&&o.onFocus(e),"mouseover"===e.type&&o.onMouseOver&&o.onMouseOver(e),n.ignoreNonTouchEvents&&"touchstart"!==e.type||(n.childrenRef.setAttribute("title",""),clearTimeout(n.enterTimer),clearTimeout(n.leaveTimer),i?(e.persist(),n.enterTimer=setTimeout(function(){n.handleOpen(e)},i)):n.handleOpen(e))},n.handleOpen=function(e){n.isControlled||n.state.open||n.setState({open:!0}),n.props.onOpen&&n.props.onOpen(e)},n.handleLeave=function(e){var t=n.props,r=t.children,i=t.leaveDelay,o=r.props;"blur"===e.type&&o.onBlur&&o.onBlur(e),"mouseleave"===e.type&&o.onMouseLeave&&o.onMouseLeave(e),clearTimeout(n.enterTimer),clearTimeout(n.leaveTimer),i?(e.persist(),n.leaveTimer=setTimeout(function(){n.handleClose(e)},i)):n.handleClose(e)},n.handleClose=function(e){n.isControlled||n.setState({open:!1}),n.props.onClose&&n.props.onClose(e),clearTimeout(n.closeTimer),n.closeTimer=setTimeout(function(){n.ignoreNonTouchEvents=!1},n.props.theme.transitions.duration.shortest)},n.handleTouchStart=function(e){n.ignoreNonTouchEvents=!0;var t=n.props,r=t.children,i=t.enterTouchDelay;r.props.onTouchStart&&r.props.onTouchStart(e),clearTimeout(n.leaveTimer),clearTimeout(n.closeTimer),clearTimeout(n.touchTimer),e.persist(),n.touchTimer=setTimeout(function(){n.handleEnter(e)},i)},n.handleTouchEnd=function(e){var t=n.props,r=t.children,i=t.leaveTouchDelay;r.props.onTouchEnd&&r.props.onTouchEnd(e),clearTimeout(n.touchTimer),clearTimeout(n.leaveTimer),e.persist(),n.leaveTimer=setTimeout(function(){n.handleClose(e)},i)},n.isControlled=null!=e.open,n.state={open:null},n.isControlled||(n.state.open=!1),n}return(0,u.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){this.defaultId="mui-tooltip-".concat(Math.round(1e5*Math.random())),this.props.open&&this.forceUpdate()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.closeTimer),clearTimeout(this.enterTimer),clearTimeout(this.focusTimer),clearTimeout(this.leaveTimer),clearTimeout(this.touchTimer)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.classes,o=t.disableFocusListener,a=t.disableHoverListener,s=t.disableTouchListener,l=t.id,u=t.open,p=t.placement,g=t.PopperProps,y=t.theme,b=t.title,w=t.TransitionComponent,E=t.TransitionProps,T=this.isControlled?u:this.state.open;""===b&&(T=!1);var _={"aria-describedby":T?l||this.defaultId:null,title:T||"string"!==typeof b?null:b};return s||(_.onTouchStart=this.handleTouchStart,_.onTouchEnd=this.handleTouchEnd),a||(_.onMouseOver=this.handleEnter,_.onMouseLeave=this.handleLeave),o||(_.onFocus=this.handleFocus,_.onBlur=this.handleLeave),d.default.createElement(d.default.Fragment,null,d.default.createElement(h.default,{rootRef:this.onRootRef},d.default.cloneElement(n,_)),d.default.createElement(v.default,(0,i.default)({className:r.popper,placement:p,anchorEl:this.childrenRef,open:T,id:_["aria-describedby"],transition:!0},g),function(t){var n=t.placement,o=t.TransitionProps;return d.default.createElement(w,(0,i.default)({timeout:y.transitions.duration.shorter},o,E),d.default.createElement("div",{className:(0,f.default)(r.tooltip,(0,c.default)({},r.touch,e.ignoreNonTouchEvents),r["tooltipPlacement".concat((0,m.capitalize)(n.split("-")[0]))])},b))}))}}]),t}(d.default.Component);b.propTypes={},b.propTypes={},b.defaultProps={disableFocusListener:!1,disableHoverListener:!1,disableTouchListener:!1,enterDelay:0,enterTouchDelay:1e3,leaveDelay:0,leaveTouchDelay:1500,placement:"bottom",TransitionComponent:g.default};var w=(0,p.default)(y,{name:"MuiTooltip",withTheme:!0})(b);t.default=w},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(598))},function(e,t,n){"use strict";var r=n(46),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(3)),a=i(n(1)),s=(i(n(2)),r(n(133))),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){function n(e){return a.default.createElement(t,(0,o.default)({fullScreen:(0,s.isWidthDown)(i,e.width)},e))}var r=e.breakpoint,i=void 0===r?"sm":r;return n.propTypes={},(0,s.default)()(n)}},u=l;t.default=u},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var i=r(n(600))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=r(n(9)),l=r(n(10)),u=r(n(11)),c=r(n(12)),d=r(n(1)),f=(r(n(2)),r(n(35))),h=n(28),p=r(n(29)),m=n(56),g={entering:{transform:"scale(1)"},entered:{transform:"scale(1)"}},v=function(e){function t(){var e,n;(0,a.default)(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=(0,l.default)(this,(e=(0,u.default)(t)).call.apply(e,[this].concat(i))),n.handleEnter=function(e){var t=n.props.theme;(0,m.reflow)(e);var r=(0,m.getTransitionProps)(n.props,{mode:"enter"});e.style.webkitTransition=t.transitions.create("transform",r),e.style.transition=t.transitions.create("transform",r),n.props.onEnter&&n.props.onEnter(e)},n.handleExit=function(e){var t=n.props.theme,r=(0,m.getTransitionProps)(n.props,{mode:"exit"});e.style.webkitTransition=t.transitions.create("transform",r),e.style.transition=t.transitions.create("transform",r),n.props.onExit&&n.props.onExit(e)},n}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=(e.onEnter,e.onExit,e.style),r=(e.theme,(0,o.default)(e,["children","onEnter","onExit","style","theme"])),a=(0,i.default)({},n,d.default.isValidElement(t)?t.props.style:{});return d.default.createElement(f.default,(0,i.default)({appear:!0,onEnter:this.handleEnter,onExit:this.handleExit},r),function(e,n){return d.default.cloneElement(t,(0,i.default)({style:(0,i.default)({transform:"scale(0)",willChange:"transform"},g[e],a)},n))})}}]),t}(d.default.Component);v.propTypes={},v.defaultProps={timeout:{enter:h.duration.enteringScreen,exit:h.duration.leavingScreen}};var y=(0,p.default)()(v);t.default=y},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return d});var a=n(1),s=n.n(a),l=n(127),u=n(602),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={drawerOpen:!1},n.drawerWidth=250,n}return o(t,e),c(t,[{key:"componentWillMount",value:function(){this.setState({drawerOpen:this.props.drawerOpen})}},{key:"componentWillReceiveProps",value:function(e){this.setState({drawerOpen:e.drawerOpen})}},{key:"render",value:function(){var e=this,t=this.props.a;return s.a.createElement(l.d,{anchor:this.props.side,open:this.state.drawerOpen,onClose:function(){return e.props.toggleDrawer()},onOpen:function(){return e.props.toggleDrawer()}},s.a.createElement("div",{tabIndex:0,role:"button"},s.a.createElement("div",{style:{width:this.drawerWidth}},s.a.createElement(l.b,{style:{paddingTop:this.props.data.getButtonHeight()}},this.props.data.getNavbarData().map(function(n,r){return s.a.createElement(u.a,{data:e.props.data,name:e.props.name,pageTitle:e.props.pageTitle,nav:n,key:"sbit-"+r,a:t})})))))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return y});var a=n(1),s=n.n(a),l=n(127),u=n(206),c=n.n(u),d=n(85),f=n.n(d),h=n(603),p=n.n(h),m=n(221),g=n.n(m),v=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),y=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={open:!1},n.handleClick=n.handleClick.bind(n),n.handleLinkClick=n.handleLinkClick.bind(n),n.getLink=n.getLink.bind(n),n.firstPadding="15px",n.secondPadding="30px",n}return o(t,e),v(t,[{key:"handleClick",value:function(){this.setState({open:!this.state.open})}},{key:"handleLinkClick",value:function(e){if(window){var t=""+this.props.name+this.props.nav.links[e];"Home"===this.props.nav.title&&(t=this.props.nav.links[e]),window.location.href=t}}},{key:"getLink",value:function(e){var t=""+this.props.name+this.props.nav.links[e];return"Home"===this.props.nav.title&&(t=this.props.nav.links[e]),t}},{key:"render",value:function(){var e=this,t=this.props.a;return s.a.createElement("div",null,s.a.createElement(l.c,{button:!0,onClick:this.handleClick},s.a.createElement(c.a,{style:{paddingLeft:this.firstPadding},primary:this.props.nav.title}),this.state.open?s.a.createElement(p.a,null):s.a.createElement(g.a,null)),s.a.createElement(f.a,{in:this.state.open,timeout:"auto",unmountOnExit:!0},s.a.createElement(l.b,{component:"div"},this.props.nav.names.map(function(n,r){return s.a.createElement(l.c,{button:!0,key:n+"-"+r,component:"a",href:e.getLink(r),onClick:t},s.a.createElement(c.a,{style:{paddingLeft:e.secondPadding},primary:n,disabled:e.props.pageTitle===e.props.nav.links[r],key:n+"-li-"+r}))}))))}}]),t}(a.Component)},function(e,t,n){"use strict";var r=n(76);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(106)),a=(0,o.default)(i.default.createElement("g",null,i.default.createElement("path",{d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"})),"ExpandLess");t.default=a},function(e,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 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 o(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)}n.d(t,"a",function(){return j});var a=n(1),s=n.n(a),l=n(606),u=(n.n(l),n(607)),c=(n.n(u),n(609)),d=(n.n(c),n(610)),f=n(621),h=n(622),p=n(624),m=n(643),g=n(644),v=n(87),y=n.n(v),b=n(89),w=n.n(b),E=n(40),T=n.n(E),_=n(222),k=n.n(_),x=n(15),S=n.n(x),C=n(32),O=(n.n(C),n(792)),A=n(794),P=n(796),I=n(797),R=n(841),N=n(842),M=n(844),D=n(845),L=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();Object(_.configureAnchors)({offset:-64,scrollDuration:1e3});var j=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.updateDim=function(){window.innerWidth<=n.minWidth&&!n.state.minimized?n.setState({minimized:!0}):window.innerWidth>n.minWidth&&n.state.minimized&&n.setState({minimized:!1});var e=Object.keys(n.refs);if(e.length>0){var t=n.state.initPositions;e.forEach(function(e){var r=S.a.findDOMNode(n.refs[e]);r&&(t[e]=r.getBoundingClientRect().top+window.scrollY)}),n.setState({initPositions:t})}},n.state={contentData:null,setEditData:null,firebase:null,tempEditType:"",tempEditContent:"",canEdit:!1,currentEmail:"",pageTitle:"",newPage:"",isContent:!1,spyPositions:{},initPositions:{}},n.possibleTypes=["MARKDOWN","LATEX","IMAGE","SPECIAL"],window.scrollTo(0,0),window.addEventListener("scroll",function(){var e=n.state.initPositions,t=Object.keys(e);if(t.length>0){var r=n.state.spyPositions,i=window.scrollY;t.forEach(function(t){r[t]=e[t]-i}),n.setState({spyPositions:r})}});var o=window.setInterval(function(){var e=Object.keys(n.refs);if(e.length>0){var t=n.state.initPositions;e.forEach(function(e){var r=S.a.findDOMNode(n.refs[e]);r&&(t[e]=r.getBoundingClientRect().top)}),n.setState({initPositions:t}),window.clearInterval(o)}},20);return n.minWidth=1e3,window.addEventListener("resize",n.updateDim),n}return o(t,e),L(t,[{key:"componentWillMount",value:function(){var e=this;this.setState({contentData:this.props.contentData,setEditData:this.props.setEditData,firebase:this.props.firebase,pageTitle:this.props.pageTitle}),this.props.edit&&this.props.firebase.auth().onAuthStateChanged(function(t){if(t)e.setState({canEdit:!0,currentEmail:t.email});else{var n=new e.props.firebase.auth.GoogleAuthProvider;e.props.firebase.auth().signInWithPopup(n).then(function(t){var n=t.user,r=n.email.split("@")[1];"uw.edu"===r||"washington.edu"===r||"u.washington.edu"===r?e.setState({canEdit:!0,currentEmail:n.email}):(alert("email not allowed, your email has been logged and will be reported to igem administration"),e.props.firebase.database().ref("evilPeople").push(n.email))}).catch(function(e){var t=e.code,n=e.message,r=e.email,i=e.credential;console.log(t,n,r,i,"error, email did not work")})}}),window.innerWidth<=this.minWidth&&this.setState({minimized:!0})}},{key:"componentWillReceiveProps",value:function(e){this.setState({contentData:e.contentData,setEditData:e.setEditData,firebase:this.props.firebase})}},{key:"filterToPage",value:function(){if(this.state.contentData){var e=0,t=!0,n=!1,r=void 0;try{for(var i,o=this.state.contentData[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=i.value;if(a.pageTitle===this.state.pageTitle)return this.pageIndex=e,a;e++}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}return null}},{key:"storeWhoEdit",value:function(){var e=this,t=this.state.currentEmail,n=this.state.tempEditContent,r=this.state.pageTitle,i=this.props.firebase.auth().currentUser?this.props.firebase.auth().currentUser:null,o=i?i.uid:"",a=i&&i.displayName?i.displayName:"",s={email:t,tempEditContent:n,uid:o,displayName:a};this.props.firebase.database().ref("editData/"+r).push(Object.assign({},s,{timestamp:this.props.firebase.database.ServerValue.TIMESTAMP}),function(){e.setState({setEditData:null,tempEditContent:null,tempEditType:null})})}},{key:"createSpecial",value:function(e){var t=null,n=e.split("\n");switch(n[0].trim()){case"HOMEPAGE":var r=n.slice(1),i={};r.forEach(function(e){var t=e.split("="),n=t[0].trim(),r=t[1].trim();i[n]=r}),t=s.a.createElement("div",null,s.a.createElement(d.a,{params:i}));break;case"CRAFTY":t=s.a.createElement("div",null,s.a.createElement(h.a,{text:n.slice(1).join()}));break;case"SECTION":var o=n[1];t=s.a.createElement("div",{id:"spy-"+o,ref:"spy-"+o},s.a.createElement(k.a,{id:o},s.a.createElement("div",null)));break;case"HEADER":var a=n.slice(1),l={};a.forEach(function(e){var t=e.split("="),n=t[0].trim(),r=t[1].trim();l[n]=r}),t=s.a.createElement("div",null,s.a.createElement(m.a,{params:l}));break;case"TEAM":var u=n.slice(1),c=[];u.forEach(function(e){var t=e.split(";"),n={};t.forEach(function(e){var t=e.split("="),r=t[0].trim(),i=t[1].trim();n[r]=i}),c.push(n)}),t=s.a.createElement("div",null,s.a.createElement(p.a,{data:c}));break;case"SPONSORS":var f=n.slice(1),v=[];f.forEach(function(e){var t=e.split(";"),n={};t.forEach(function(e){var t=e.split("="),r=t[0].trim(),i=t[1].trim();n[r]=i}),v.push(n)}),t=s.a.createElement("div",null,s.a.createElement(R.a,{data:v}));break;case"SUBIMAGES":var y=Number(n[1].split("=")[1].trim()),b=n.slice(2),w=[];b.forEach(function(e){var t=e.split(";"),n={};t.forEach(function(e){var t=e.split("="),r=t[0].trim(),i=t[1].trim();n[r]=i}),w.push(n)}),t=s.a.createElement("div",null,s.a.createElement(g.a,{maxImagesPerRow:y,data:w}));break;case"SEP":t=s.a.createElement("div",{style:{margin:"auto",marginTop:30,marginBottom:5,width:"33%",height:5,backgroundColor:"#420dab"}}," ");break;case"TAB":var E=e.split("===").slice(1),T=E.map(function(e){var t=e.split("\n");return{title:t[1],data:t.slice(2).join("\n")}});t=s.a.createElement("div",null,s.a.createElement(A.a,{tabObjs:T,updateDim:this.updateDim}));break;case"ACCORDION":var _=e.split("===").slice(1),x=_.map(function(e){var t=e.split("\n");return{title:t[1],data:t.slice(2).join("\n")}});t=s.a.createElement("div",null,s.a.createElement(N.a,{accObjs:x}));break;case"PDF":var S=n[1];t=s.a.createElement("div",{style:{margin:"0",textAlign:"center"}},s.a.createElement(P.a,{pdfLink:S}));break;case"GALLERY":var C=n.slice(1),O=[];C.forEach(function(e){var t=e.split(";"),n={};t.forEach(function(e){var t=e.split("="),r=t[0].trim(),i=t[1].trim();"width"!==r&&"height"!==r||(i=Number(i)),n[r]=i}),O.push(n)}),t=s.a.createElement("div",null,s.a.createElement(I.a,{photos:O}));break;case"SPLITVIEW":var L=e.split("===").slice(1),j=L.map(function(e){var t=e.split("\n");return{title:t[1],data:t.slice(2).join("\n")}});t=s.a.createElement("div",null,s.a.createElement(M.a,{spObjs:j}));break;case"NAVIGATION":var W=n.slice(1),B={};W.forEach(function(e){e.split(";").forEach(function(e){var t=e.split("="),n=t[0].trim(),r=t[1].trim();B[n]=r})}),t=s.a.createElement("div",null,s.a.createElement(D.a,{navParams:B}));break;case"VIDEO":var F=n[1];t=s.a.createElement("div",{style:{marginTop:20,marginBottom:20,textAlign:"center"}},s.a.createElement("video",{width:"95%",height:"auto",controls:!0,style:{margin:"auto",boxShadow:"5px 5px 10px gray"}},s.a.createElement("source",{src:F,type:"video/mp4"}),"Your browser does not support the video tag."));break;default:t=s.a.createElement("div",{className:"stub-div"})}return t}},{key:"generateSegment",value:function(e,t,n){var r=this,i=null;switch(e.type){case"MARKDOWN":i=s.a.createElement("div",{style:{marginLeft:"5%",marginRight:"5%"},className:"md"},s.a.createElement(T.a,{clear:!0,cascade:!0,duration:500},y()().use(w.a).processSync(e.data).contents));break;case"LATEX":i=s.a.createElement(u.BlockMath,{style:{marginLeft:"5%",marginRight:"5%"}},e.data);break;case"IMAGE":var o=e.data.split(","),a=o.slice(2),l=a.map(function(e){var t=e.split(":");return{K:t[0].trim(),V:t[1].trim()}});i=s.a.createElement(f.a,{style:{marginLeft:"5%",marginRight:"5%"},imageUrl:o[0].trim(),alt:o[1].trim(),params:l});break;case"SPECIAL":i=this.createSpecial(e.data);break;default:i=s.a.createElement("div",null,"stub div")}var c=!1;return this.props.edit&&this.state.setEditData&&this.state.setEditData.index===t&&(c=!0),s.a.createElement("div",{key:"segment"+t,className:(this.props.edit?"editBorder":"")+" "+(c?"greenBorder":"")},i,this.props.edit&&s.a.createElement("div",null,!c&&s.a.createElement("div",null,s.a.createElement("button",{onClick:function(){r.props.setEdit(r.state.pageTitle,t),r.setState({tempEditContent:null,tempEditType:null})}},"edit"),s.a.createElement("button",{style:{margin:10},onClick:function(){var e=n;e.content.splice(t,0,{type:"MARKDOWN",data:"Insert text"}),r.props.firebase.database().ref("pageData/"+r.pageIndex).set(e),r.props.setEdit(r.props.pageTitle,t),r.setState({setEditData:null,tempEditContent:null,tempEditType:null})}},"insert before"),s.a.createElement("button",{style:{margin:10},onClick:function(){var e=n;e.content.splice(t+1,0,{type:"MARKDOWN",data:"Insert text"}),r.props.firebase.database().ref("pageData/"+r.pageIndex).set(e),r.props.setEdit(r.props.pageTitle,t+1),r.setState({setEditData:null,tempEditContent:null,tempEditType:null})}},"insert after"),s.a.createElement("button",{onClick:function(){var e=n;e.content.splice(t,1),r.props.firebase.database().ref("pageData/"+r.pageIndex).set(e),r.setState({setEditData:null,tempEditContent:null,tempEditType:null})}},"delete")),c&&s.a.createElement("div",null,s.a.createElement("select",{value:null!==this.state.tempEditType?this.state.tempEditType:e.type,onChange:function(e){r.setState({tempEditType:e.target.value})}},this.possibleTypes.map(function(e){return s.a.createElement("option",{value:e,key:e},e)})),s.a.createElement("button",{onClick:function(){var i=n;i.content[t]={data:null!==r.state.tempEditContent?r.state.tempEditContent:e.data,type:null!==r.state.tempEditType?r.state.tempEditType:e.type},"/Team"===r.state.pageTitle&&-1===r.state.currentEmail.indexOf("wkwok16")||r.props.firebase.database().ref("pageData/"+r.pageIndex).set(i),r.storeWhoEdit()}},"submit"),s.a.createElement("button",{onClick:function(){r.setState({setEditData:null,tempEditContent:null,tempEditType:null})}},"cancel"),s.a.createElement("br",null),s.a.createElement("textarea",{style:{margin:"auto"},cols:100,rows:30,value:null!==this.state.tempEditContent?this.state.tempEditContent:e.data,onChange:function(e){r.setState({tempEditContent:e.target.value})}}))))}},{key:"submitNewPage",value:function(){var e=this;if(this.state.newPage&&"/"===this.state.newPage[0]){var t={pageTitle:this.state.newPage,isContent:this.state.isContent},n=this.state.contentData;n.push(t),this.props.firebase.database().ref("pageData").set(n,function(){e.setState({newPage:"",pageTitle:e.state.newPage,isContent:!1})})}else alert("error, invalid string")}},{key:"render",value:function(){var e=this,t=this.filterToPage(),n=[],r=this.state.contentData?this.state.contentData.reduce(function(e,t){return e.push(t.pageTitle),e},[]):[];if(t&&!t.content&&(t.content=[]),t&&!t.isContent||this.state.minimized)n=t.content.map(function(n,r){return e.generateSegment(n,r,t)});else if(t){var i=[];t.content.forEach(function(e,t){"SPECIAL"===e.type&&"SECTION"===e.data.split("\n")[0]&&i.push(e)}),n=s.a.createElement("div",null,this.generateSegment(t.content[0],0,t),s.a.createElement(C.Grid,{fluid:!0},s.a.createElement(C.Row,null,s.a.createElement(C.Col,{md:3},s.a.createElement(O.a,{spyArr:i,positions:this.state.spyPositions,updateDim:this.updateDim})),s.a.createElement(C.Col,{md:8},t.content.map(function(n,r){return r>0?e.generateSegment(n,r,t):s.a.createElement("div",{key:"blank"+r})})))))}return s.a.createElement("div",{style:{marginTop:0,marginBottom:50}}," ",(this.props.edit&&this.state.canEdit||!this.props.edit)&&s.a.createElement("div",null,this.props.edit&&s.a.createElement("div",{style:{marginTop:80}},s.a.createElement("h1",null,"Choose a page to edit:"),s.a.createElement("select",{value:this.state.pageTitle?this.state.pageTitle:this.props.pageTitle,onChange:function(t){e.setState({pageTitle:t.target.value})}},r.map(function(e){return s.a.createElement("option",{value:e,key:e},e)})),s.a.createElement("br",null),s.a.createElement("br",null),s.a.createElement("h1",null,"Create new page"),s.a.createElement("p",null,"Must have / before it, and correct capitalization"),s.a.createElement("input",{value:this.state.newPage,onChange:function(t){e.setState({newPage:t.target.value})}}),s.a.createElement("br",null),s.a.createElement("input",{type:"checkbox",checked:this.state.isContent,onChange:function(t){e.setState({isContent:!e.state.isContent})}}),"Is content",s.a.createElement("br",null),s.a.createElement("button",{onClick:function(){e.submitNewPage()}},"submit new page"),s.a.createElement("br",null),s.a.createElement("br",null)),n&&n,this.props.edit&&s.a.createElement("div",null,s.a.createElement("button",{style:{margin:10},onClick:function(){var n=t;n.content.push({type:"MARKDOWN",data:"Insert text"}),e.props.firebase.database().ref("pageData/"+e.pageIndex).set(n),e.setState({setEditData:null,tempEditContent:null,tempEditType:null})}},"insert after"),s.a.createElement("button",{onClick:function(){e.props.firebase.auth().signOut()}},"sign out"))))}}]),t}(a.Component)},function(e,t){},function(e,t,n){!function(e,r){r(t,n(1),n(2),n(608))}(0,function(e,t,n,r){"use strict";t=t&&"default"in t?t.default:t,n=n&&"default"in n?n.default:n,r=r&&"default"in r?r.default:r;var i=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},s=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},l=function(e,l){var u=l.displayMode,c=function(n){function l(e){i(this,l);var t=s(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return t.usedProp=e.math?"math":"children",t.state=t.createNewState(null,e),t}return a(l,n),o(l,[{key:"componentWillReceiveProps",value:function(){this.setState(this.createNewState)}},{key:"shouldComponentUpdate",value:function(e){return e[this.usedProp]!==this.props[this.usedProp]}},{key:"createNewState",value:function(e,t){try{return{html:this.generateHtml(t),error:void 0}}catch(e){if(e instanceof r.ParseError||e instanceof TypeError)return{error:e};throw e}}},{key:"generateHtml",value:function(e){var t=e.errorColor,n=e.renderError;return r.renderToString(e[this.usedProp],{displayMode:u,errorColor:t,throwOnError:!!n})}},{key:"render",value:function(){var n=this.state,r=n.error,i=n.html,o=this.props.renderError;return r?o?o(r):t.createElement(e,{html:""+r.message}):t.createElement(e,{html:i})}}]),l}(t.Component);return c.propTypes={children:n.string,errorColor:n.string,math:n.string,renderError:n.func},c},u=function(e){var n=e.html;return t.createElement("span",{dangerouslySetInnerHTML:{__html:n}})};u.propTypes={html:n.string.isRequired};var c=l(u,{displayMode:!1}),d=function(e){var n=e.html;return t.createElement("div",{dangerouslySetInnerHTML:{__html:n}})};d.propTypes={html:n.string.isRequired};var f=l(d,{displayMode:!0});e.InlineMath=c,e.BlockMath=f,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){!function(t,n){e.exports=n()}(0,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.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=63)}([function(e,t,n){"use strict";var r=n(57),i=n.n(r),o=n(18),a=n.n(o),s=n(12),l=n(30),u=n(28),c=n(5),d=n(13),f=n(19),h=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xa3"],p=function(e,t,n){return u.a[n][e]&&u.a[n][e].replace&&(e=u.a[n][e].replace),{value:e,metrics:l.a.getCharacterMetrics(e,t,n)}},m=function(e,t,n,r,i){var o=p(e,t,n),a=o.metrics;e=o.value;var l=void 0;if(a){var u=a.italic;"text"===n&&(u=0),l=new s.a.symbolNode(e,a.height,a.depth,u,a.skew,a.width,i)}else"undefined"!==typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"'"),l=new s.a.symbolNode(e,0,0,0,0,0,i);if(r){l.maxFontSize=r.sizeMultiplier,r.style.isTight()&&l.classes.push("mtight");var c=r.getColor();c&&(l.style.color=c)}return l},g=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return n&&n.fontFamily&&"boldsymbol"===n.fontFamily&&p(e,"Main-Bold",t).metrics?m(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===u.a[t][e].font?m(e,"Main-Regular",t,n,r):m(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},v=function(e,t,n,r,i){if("mathord"===i){var o=y(e,t,n,r);return m(e,o.fontName,t,n,r.concat([o.fontClass]))}if("textord"===i){if("ams"===(u.a[t][e]&&u.a[t][e].font)){var a=I("amsrm",n.fontWeight,n.fontShape);return m(e,a,t,n,r.concat("amsrm",n.fontWeight,n.fontShape))}var s=I("textrm",n.fontWeight,n.fontShape);return m(e,s,t,n,r.concat(n.fontWeight,n.fontShape))}throw new Error("unexpected type: "+i+" in mathDefault")},y=function(e,t,n,r){return/[0-9]/.test(e.charAt(0))||c.a.contains(h,e)?{fontName:"Main-Italic",fontClass:"mainit"}:{fontName:"Math-Italic",fontClass:"mathit"}},b=function(e,t,n,r){return p(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},w=function(e,t,n){var r=e.mode,i=e.value,o=["mord"],a=t.fontFamily;if(a){var s=void 0,l=void 0;if("boldsymbol"===a){var u=b(i,r);s=u.fontName,l=[u.fontClass]}else if("mathit"===a||c.a.contains(h,i)){var d=y(i,r,t,o);s=d.fontName,l=[d.fontClass]}else-1!==a.indexOf("math")||"math"===r?(s=D[a].fontName,l=[a]):(s=I(a,t.fontWeight,t.fontShape),l=[a,t.fontWeight,t.fontShape]);return p(i,s,r).metrics?m(i,s,r,t,o.concat(l)):v(i,r,t,o,n)}return v(i,r,t,o,n)},E=function(e){for(var t=0;t<e.length-1;t++)e[t].tryCombine(e[t+1])&&(e.splice(t+1,1),t--);return e},T=function(e){var t=0,n=0,r=0,i=!0,o=!1,s=void 0;try{for(var l,u=a()(e.children);!(i=(l=u.next()).done);i=!0){var c=l.value;c.height>t&&(t=c.height),c.depth>n&&(n=c.depth),c.maxFontSize>r&&(r=c.maxFontSize)}}catch(e){o=!0,s=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw s}}e.height=t,e.depth=n,e.maxFontSize=r},_=function(e,t,n,r){var i=new s.a.span(e,t,n,r);return T(i),i},k=function(e,t){var n=t.fontMetrics().defaultRuleThickness,r=d.a.ruleSpan(e,n,t);return r.height=n,r.style.height=5*r.height+"em",r.maxFontSize=1,r},x=function(e,t,n,r){var i=new s.a.anchor(e,t,n,r);return T(i),i},S=function(e){var t=new s.a.documentFragment(e);return T(t),t},C=function(e){if("individualShift"===e.positionType){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,i=r,o=1;o<t.length;o++){var s=-t[o].shift-i-t[o].elem.depth,l=s-(t[o-1].elem.height+t[o-1].elem.depth);i+=s,n.push({type:"kern",size:l}),n.push(t[o])}return{children:n,depth:r}}var u=void 0;if("top"===e.positionType){var c=e.positionData,d=!0,f=!1,h=void 0;try{for(var p,m=a()(e.children);!(d=(p=m.next()).done);d=!0){var g=p.value;c-="kern"===g.type?g.size:g.elem.height+g.elem.depth}}catch(e){f=!0,h=e}finally{try{!d&&m.return&&m.return()}finally{if(f)throw h}}u=c}else if("bottom"===e.positionType)u=-e.positionData;else{var v=e.children[0];if("elem"!==v.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)u=-v.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");u=-v.elem.depth}}return{children:e.children,depth:u}},O=function(e,t){var n=C(e),r=n.children,i=n.depth,o=0,l=!0,u=!1,c=void 0;try{for(var d,f=a()(r);!(l=(d=f.next()).done);l=!0){var h=d.value;if("elem"===h.type){var p=h.elem;o=Math.max(o,p.maxFontSize,p.height)}}}catch(e){u=!0,c=e}finally{try{!l&&f.return&&f.return()}finally{if(u)throw c}}o+=2;var m=_(["pstrut"],[]);m.style.height=o+"em";var g=[],v=i,y=i,b=i,w=!0,E=!1,T=void 0;try{for(var k,x=a()(r);!(w=(k=x.next()).done);w=!0){var S=k.value;if("kern"===S.type)b+=S.size;else{var O=S.elem,A=S.wrapperClasses||[],P=S.wrapperStyle||{},I=_(A,[m,O],void 0,P);I.style.top=-o-b-O.depth+"em",S.marginLeft&&(I.style.marginLeft=S.marginLeft),S.marginRight&&(I.style.marginRight=S.marginRight),g.push(I),b+=O.height+O.depth}v=Math.min(v,b),y=Math.max(y,b)}}catch(e){E=!0,T=e}finally{try{!w&&x.return&&x.return()}finally{if(E)throw T}}var R=_(["vlist"],g);R.style.height=y+"em";var N=void 0;if(v<0){var M=_(["vlist"],[]);M.style.height=-v+"em";var D=_(["vlist-s"],[new s.a.symbolNode("\u200b")]);N=[_(["vlist-r"],[R,D]),_(["vlist-r"],[M])]}else N=[_(["vlist-r"],[R])];var L=_(["vlist-t"],N);return 2===N.length&&L.classes.push("vlist-t2"),L.height=y,L.depth=-v,L},A=function(e,t){var n=e.value.body;return n=e.value.star?n.replace(/ /g,"\u2423"):n.replace(/ /g,"\xa0")},P=function(e,t){var n=_(["mord","rule"],[],t),r=Object(f.a)(e,t);return n.style.marginRight=r+"em",n},I=function(e,t,n){return R(e)+"-"+N(t,n)},R=function(e){var t="";switch(e){case"amsrm":t="AMS";break;case"textrm":t="Main";break;case"textsf":t="SansSerif";break;case"texttt":t="Typewriter";break;default:throw new Error("Invalid font provided: "+e)}return t},N=function(e,t){var n="";return"textbf"===e&&(n+="Bold"),"textit"===t&&(n+="Italic"),n||"Regular"},M={"\\qquad":{size:"2em",className:"qquad"},"\\quad":{size:"1em",className:"quad"},"\\enspace":{size:"0.5em",className:"enspace"},"\\;":{size:"0.277778em",className:"thickspace"},"\\:":{size:"0.22222em",className:"mediumspace"},"\\,":{size:"0.16667em",className:"thinspace"},"\\!":{size:"-0.16667em",className:"negativethinspace"}},D={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},L={vec:["vec",.471,.714]},j=function(e,t){var n=i()(L[e],3),r=n[0],o=n[1],a=n[2],l=new s.a.pathNode(r),u=new s.a.svgNode([l],{width:o+"em",height:a+"em",style:"width:"+o+"em",viewBox:"0 0 "+1e3*o+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),c=_(["overlay"],[u],t);return c.height=a,c.style.height=a+"em",c.style.width=o+"em",c};t.a={fontMap:D,makeSymbol:m,mathsym:g,makeSpan:_,makeLineSpan:k,makeAnchor:x,makeFragment:S,makeVList:O,makeOrd:w,makeVerb:A,makeGlue:P,staticSvg:j,svgData:L,tryCombineChars:E,spacingFunctions:M}},function(e,t,n){"use strict";var r=n(18),i=n.n(r),o=n(7),a=n.n(o),s=n(10),l=n.n(s),u=n(5),c=function(){function e(t,n){a()(this,e),this.type=t,this.attributes={},this.children=n||[]}return l()(e,[{key:"setAttribute",value:function(e,t){this.attributes[e]=t}},{key:"toNode",value:function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);var n=!0,r=!1,o=void 0;try{for(var a,s=i()(this.children);!(n=(a=s.next()).done);n=!0){var l=a.value;e.appendChild(l.toNode())}}catch(e){r=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return e}},{key:"toMarkup",value:function(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=u.a.escape(this.attributes[t]),e+='"');e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</"+this.type+">"}},{key:"toText",value:function(){return"mspace"===this.type?"0.16667em"===this.attributes.width?"\u2006":" ":this.children.map(function(e){return e.toText()}).join("")}}]),e}(),d=function(){function e(t){a()(this,e),this.text=t}return l()(e,[{key:"toNode",value:function(){return document.createTextNode(this.text)}},{key:"toMarkup",value:function(){return u.a.escape(this.text)}},{key:"toText",value:function(){return this.text}}]),e}();t.a={MathNode:c,TextNode:d}},function(e,t,n){"use strict";function r(e,t,n){var r=g(e,n),o=new a.a.MathNode("mrow",r),s=new a.a.MathNode("annotation",[new a.a.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new a.a.MathNode("semantics",[o,s]),u=new a.a.MathNode("math",[l]);return i.a.makeSpan(["katex-mathml"],[u])}n.d(t,"e",function(){return f}),n.d(t,"d",function(){return p}),n.d(t,"a",function(){return g}),n.d(t,"b",function(){return v}),t.c=r;var i=n(0),o=n(30),a=n(1),s=n(6),l=n(9),u=n(28),c=n(5),d=n(13),f=function(e,t){return u.a[t][e]&&u.a[t][e].replace&&(e=u.a[t][e].replace),new a.a.TextNode(e)},h=function(e,t){var n=t.fontFamily;if(!n)return null;var r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"bold-italic";var a=e.value;if(c.a.contains(["\\imath","\\jmath"],a))return null;u.a[r][a]&&u.a[r][a].replace&&(a=u.a[r][a].replace);var s=i.a.fontMap[n].fontName;return o.a.getCharacterMetrics(a,s,r)?i.a.fontMap[n].variant:null},p={},m={mi:"italic",mn:"normal",mtext:"normal"};p.mathord=function(e,t){var n=new a.a.MathNode("mi",[f(e.value,e.mode)]),r=h(e,t)||"italic";return r!==m[n.type]&&n.setAttribute("mathvariant",r),n},p.textord=function(e,t){var n=f(e.value,e.mode),r=h(e,t)||"normal",i=void 0;return i="text"===e.mode?new a.a.MathNode("mtext",[n]):/[0-9]/.test(e.value)?new a.a.MathNode("mn",[n]):"\\prime"===e.value?new a.a.MathNode("mo",[n]):new a.a.MathNode("mi",[n]),r!==m[i.type]&&i.setAttribute("mathvariant",r),i},p.bin=function(e,t){var n=new a.a.MathNode("mo",[f(e.value,e.mode)]),r=h(e,t);return"bold-italic"===r&&n.setAttribute("mathvariant",r),n},p.rel=function(e){return new a.a.MathNode("mo",[f(e.value,e.mode)])},p.open=function(e){return new a.a.MathNode("mo",[f(e.value,e.mode)])},p.close=function(e){return new a.a.MathNode("mo",[f(e.value,e.mode)])},p.inner=function(e){return new a.a.MathNode("mo",[f(e.value,e.mode)])},p.punct=function(e){var t=new a.a.MathNode("mo",[f(e.value,e.mode)]);return t.setAttribute("separator","true"),t},p.ordgroup=function(e,t){var n=g(e.value,t);return new a.a.MathNode("mrow",n)},p.supsub=function(e,t){var n=!1,r=void 0;e.value.base&&"horizBrace"===e.value.base.value.type&&!!e.value.sup===e.value.base.value.isOver&&(n=!0,r=e.value.base.value.isOver);var i=[v(e.value.base,t,!0)];e.value.sub&&i.push(v(e.value.sub,t,!0)),e.value.sup&&i.push(v(e.value.sup,t,!0));var o=void 0;if(n)o=r?"mover":"munder";else if(e.value.sub)if(e.value.sup){var s=e.value.base;o=s&&s.value.limits&&t.style===l.a.DISPLAY?"munderover":"msubsup"}else{var u=e.value.base;o=u&&u.value.limits&&t.style===l.a.DISPLAY?"munder":"msub"}else{var c=e.value.base;o=c&&c.value.limits&&t.style===l.a.DISPLAY?"mover":"msup"}return new a.a.MathNode(o,i)},p.spacing=function(e){var t=void 0;return"\\ "===e.value||"\\space"===e.value||" "===e.value||"~"===e.value?t=new a.a.MathNode("mtext",[new a.a.TextNode("\xa0")]):(t=new a.a.MathNode("mspace"),t.setAttribute("width",i.a.spacingFunctions[e.value].size)),t},p.horizBrace=function(e,t){var n=d.a.mathMLnode(e.value.label);return new a.a.MathNode(e.value.isOver?"mover":"munder",[v(e.value.base,t),n])},p.xArrow=function(e,t){var n=d.a.mathMLnode(e.value.label),r=void 0,i=void 0;if(e.value.body){var o=v(e.value.body,t);e.value.below?(i=v(e.value.below,t),r=new a.a.MathNode("munderover",[n,i,o])):r=new a.a.MathNode("mover",[n,o])}else e.value.below?(i=v(e.value.below,t),r=new a.a.MathNode("munder",[n,i])):r=new a.a.MathNode("mover",[n]);return r},p.mclass=function(e,t){var n=g(e.value.value,t);return new a.a.MathNode("mstyle",n)},p.raisebox=function(e,t){var n=new a.a.MathNode("mpadded",[v(e.value.body,t)]),r=e.value.dy.value.number+e.value.dy.value.unit;return n.setAttribute("voffset",r),n};var g=function(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r];n.push(v(i,t))}return n},v=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return new a.a.MathNode("mrow");if(p[e.type]){var r=p[e.type](e,t);return n&&"mrow"===r.type&&1===r.children.length?r.children[0]:r}throw new s.a("Got group of unknown type: '"+e.type+"'")}},function(e,t,n){"use strict";function r(e){for(var t=e.type,n=e.names,r=e.props,s=e.handler,l=e.htmlBuilder,u=e.mathmlBuilder,c={numArgs:r.numArgs,argTypes:r.argTypes,greediness:void 0===r.greediness?1:r.greediness,allowedInText:!!r.allowedInText,allowedInMath:void 0===r.allowedInMath||r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,handler:s},d=0;d<n.length;++d)a[n[d]]=c;t&&(l&&(i.d[t]=l),u&&(o.d[t]=u))}n.d(t,"a",function(){return a}),t.b=r,n.d(t,"c",function(){return s});var i=n(4),o=n(2),a={},s=function(e){return"ordgroup"===e.type?e.value:[e]}},function(e,t,n){"use strict";function r(e,t){e=JSON.parse(o()(e));var n=w(e,t,!0),r=g(["base"],n,t),i=g(["strut"]),a=g(["strut","bottom"]);i.style.height=r.height+"em",a.style.height=r.height+r.depth+"em",a.style.verticalAlign=-r.depth+"em";var s=g(["katex-html"],[i,a,r]);return s.setAttribute("aria-hidden","true"),s}n.d(t,"a",function(){return w}),n.d(t,"e",function(){return x}),n.d(t,"d",function(){return S}),n.d(t,"b",function(){return C}),t.c=r;var i=n(77),o=n.n(i),a=n(35),s=n.n(a),l=n(6),u=n(9),c=n(0),d=n(12),f=n(19),h=n(5),p=n(13),m=n(112),g=c.a.makeSpan,v=function(e,t){return e?h.a.contains(["mbin","mopen","mrel","mop","mpunct"],T(e,"right")):t},y=function(e,t){return e?h.a.contains(["mrel","mclose","mpunct"],T(e,"left")):t},b={display:u.a.DISPLAY,text:u.a.TEXT,script:u.a.SCRIPT,scriptscript:u.a.SCRIPTSCRIPT},w=function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[null,null],i=[],o=0;o<e.length;o++){var a=e[o],l=C(a,t);l instanceof d.a.documentFragment?i.push.apply(i,s()(l.children)):i.push(l)}for(var u=[r[0]&&g([r[0]],[],t)].concat(s()(i.filter(function(e){return e&&"mspace"!==e.classes[0]})),[r[1]&&g([r[1]],[],t)]),f=1;f<u.length-1;f++){var h=E(u[f],"left");"mbin"===h.classes[0]&&v(u[f-1],n)&&(h.classes[0]="mord");var p=E(u[f],"right");"mbin"===p.classes[0]&&y(u[f+1],n)&&(p.classes[0]="mord")}for(var w=[],k=0,x=0;x<i.length;x++)if(w.push(i[x]),"mspace"!==i[x].classes[0]&&k<u.length-1){0===k&&(w.pop(),x--);var S=T(u[k],"right"),O=T(u[k+1],"left");if(S&&O&&n){var A=_(u[k+1])?m.b[S][O]:m.a[S][O];if(A){var P=t;1===e.length&&("sizing"===e[0].type?P=t.havingSize(e[0].value.size):"styling"===e[0].type&&(P=t.havingStyle(b[e[0].value.style]))),w.push(c.a.makeGlue(A,P))}}k++}for(var I=0;I<w.length;I++)"\u0338"===w[I].value&&(w[I].style.position="absolute",w[I].style.paddingLeft="0.8em");return w},E=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";if((t instanceof d.a.documentFragment||t instanceof d.a.anchor)&&t.children.length){if("right"===n)return e(t.children[t.children.length-1]);if("left"===n)return e(t.children[0])}return t},T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";return e?(e=E(e,t),h.a.contains(["mord","mop","mbin","mrel","mopen","mclose","mpunct","minner"],e.classes[0])?e.classes[0]:null):null},_=function(e){return e=E(e,"left"),h.a.contains(e.classes,"mtight")},k=function(e,t){if(e.value.base){var n=e.value.base;if("op"===n.type)return n.value.limits&&(t.style.size===u.a.DISPLAY.size||n.value.alwaysHandleSupSub);if("accent"===n.type)return h.a.isCharacterBox(n.value.base);if("horizBrace"===n.type){return!e.value.sub===n.value.isOver}return null}return!1},x=function(e,t){var n=["nulldelimiter"].concat(e.baseSizingClasses());return g(t.concat(n))},S={};S.mathord=function(e,t){return c.a.makeOrd(e,t,"mathord")},S.textord=function(e,t){return c.a.makeOrd(e,t,"textord")},S.bin=function(e,t){return c.a.mathsym(e.value,e.mode,t,["mbin"])},S.rel=function(e,t){return c.a.mathsym(e.value,e.mode,t,["mrel"])},S.open=function(e,t){return c.a.mathsym(e.value,e.mode,t,["mopen"])},S.close=function(e,t){return c.a.mathsym(e.value,e.mode,t,["mclose"])},S.inner=function(e,t){return c.a.mathsym(e.value,e.mode,t,["minner"])},S.punct=function(e,t){return c.a.mathsym(e.value,e.mode,t,["mpunct"])},S.ordgroup=function(e,t){return g(["mord"],w(e.value,t,!0),t)},S.supsub=function(e,t){if(k(e,t))return S[e.value.base.type](e,t);var n=C(e.value.base,t),r=void 0,i=void 0,o=t.fontMetrics(),a=void 0,s=0,l=0;e.value.sup&&(a=t.havingStyle(t.style.sup()),r=C(e.value.sup,a,t),h.a.isCharacterBox(e.value.base)||(s=n.height-a.fontMetrics().supDrop*a.sizeMultiplier/t.sizeMultiplier)),e.value.sub&&(a=t.havingStyle(t.style.sub()),i=C(e.value.sub,a,t),h.a.isCharacterBox(e.value.base)||(l=n.depth+a.fontMetrics().subDrop*a.sizeMultiplier/t.sizeMultiplier));var f=void 0;f=t.style===u.a.DISPLAY?o.sup1:t.style.cramped?o.sup3:o.sup2;var p=t.sizeMultiplier,m=.5/o.ptPerEm/p+"em",v=void 0;if(e.value.sup)if(e.value.sub){s=Math.max(s,f,r.depth+.25*o.xHeight),l=Math.max(l,o.sub2);var y=o.defaultRuleThickness;if(s-r.depth-(i.height-l)<4*y){l=4*y-(s-r.depth)+i.height;var b=.8*o.xHeight-(s-r.depth);b>0&&(s+=b,l-=b)}var w=[{type:"elem",elem:i,shift:l,marginRight:m},{type:"elem",elem:r,shift:-s,marginRight:m}];n instanceof d.a.symbolNode&&(w[0].marginLeft=-n.italic+"em"),v=c.a.makeVList({positionType:"individualShift",children:w},t)}else s=Math.max(s,f,r.depth+.25*o.xHeight),v=c.a.makeVList({positionType:"shift",positionData:-s,children:[{type:"elem",elem:r,marginRight:m}]},t);else{l=Math.max(l,o.sub1,i.height-.8*o.xHeight);var E=[{type:"elem",elem:i,marginRight:m}];n instanceof d.a.symbolNode&&(E[0].marginLeft=-n.italic+"em"),v=c.a.makeVList({positionType:"shift",positionData:l,children:E},t)}var _=T(n)||"mord";return g([_],[n,g(["msupsub"],[v])],t)},S.spacing=function(e,t){return"\\ "===e.value||"\\space"===e.value||" "===e.value||"~"===e.value?"text"===e.mode?c.a.makeOrd(e,t,"textord"):g(["mspace"],[c.a.mathsym(e.value,e.mode,t)],t):g(["mspace",c.a.spacingFunctions[e.value].className],[],t)},S.horizBrace=function(e,t){var n=t.style,r="supsub"===e.type,i=void 0,o=void 0;r&&(e.value.sup?(o=t.havingStyle(n.sup()),i=C(e.value.sup,o,t)):(o=t.havingStyle(n.sub()),i=C(e.value.sub,o,t)),e=e.value.base);var a=C(e.value.base,t.havingBaseStyle(u.a.DISPLAY)),s=p.a.svgSpan(e,t),l=void 0;if(e.value.isOver?(l=c.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t),l.children[0].children[0].children[1].classes.push("svg-align")):(l=c.a.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t),l.children[0].children[0].children[0].classes.push("svg-align")),r){var d=g(["mord",e.value.isOver?"mover":"munder"],[l],t);l=e.value.isOver?c.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:d},{type:"kern",size:.2},{type:"elem",elem:i}]},t):c.a.makeVList({positionType:"bottom",positionData:d.depth+.2+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.2},{type:"elem",elem:d}]},t)}return g(["mord",e.value.isOver?"mover":"munder"],[l],t)},S.xArrow=function(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=C(e.value.body,r,t);i.classes.push("x-arrow-pad");var o=void 0;e.value.below&&(r=t.havingStyle(n.sub()),o=C(e.value.below,r,t),o.classes.push("x-arrow-pad"));var a=p.a.svgSpan(e,t),s=-t.fontMetrics().axisHeight+.5*a.height,l=-t.fontMetrics().axisHeight-.5*a.height-.111;"\\xleftequilibrium"===e.value.label&&(l-=i.depth);var u=void 0;if(e.value.below){var d=-t.fontMetrics().axisHeight+o.height+.5*a.height+.111;u=c.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:l},{type:"elem",elem:a,shift:s},{type:"elem",elem:o,shift:d}]},t)}else u=c.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:l},{type:"elem",elem:a,shift:s}]},t);return u.children[0].children[0].children[1].classes.push("svg-align"),g(["mrel","x-arrow"],[u],t)},S.mclass=function(e,t){var n=w(e.value.value,t,!0);return g([e.value.mclass],n,t)},S.raisebox=function(e,t){var n=S.sizing({value:{value:[{type:"text",value:{body:e.value.value,font:"mathrm"}}],size:6}},t),r=Object(f.a)(e.value.dy.value,t);return c.a.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)};var C=function(e,t,n){if(!e)return g();if(S[e.type]){var r=S[e.type](e,t);if(n&&t.size!==n.size){r=g(t.sizingClasses(n),[r],t);var i=t.sizeMultiplier/n.sizeMultiplier;r.height*=i,r.depth*=i}return r}throw new l.a("Got group of unknown type: '"+e.type+"'")}},function(e,t,n){"use strict";function r(e){return String(e).replace(f,function(e){return d[e]})}function i(e){h(e,"")}var o=Array.prototype.indexOf,a=function(e,t){if(null==e)return-1;if(o&&e.indexOf===o)return e.indexOf(t);for(var n=e.length,r=0;r<n;r++)if(e[r]===t)return r;return-1},s=function(e,t){return-1!==a(e,t)},l=function(e,t){return void 0===e?t:e},u=/([A-Z])/g,c=function(e){return e.replace(u,"-$1").toLowerCase()},d={"&":"&",">":">","<":"<",'"':""","'":"'"},f=/[&><"']/g,h=void 0;if("undefined"!==typeof document){var p=document.createElement("span");h="textContent"in p?function(e,t){e.textContent=t}:function(e,t){e.innerText=t}}var m=function e(t){return!!t&&("ordgroup"===t.type?1===t.value.length?e(t.value[0]):t:"color"===t.type?1===t.value.value.length?e(t.value.value[0]):t:"font"===t.type?e(t.value.body):t)},g=function(e){var t=m(e);return"mathord"===t.type||"textord"===t.type||"bin"===t.type||"rel"===t.type||"inner"===t.type||"open"===t.type||"close"===t.type||"punct"===t.type};t.a={contains:s,deflt:l,escape:r,hyphenate:c,indexOf:a,setTextContent:h,clearNode:i,getBaseElem:m,isCharacterBox:g}},function(e,t,n){"use strict";var r=n(7),i=n.n(r),o=(n(14),n(27),function e(t,n){i()(this,e);var r="KaTeX parse error: "+t,o=void 0,a=n&&n.loc;if(a&&a.start<=a.end){var s=a.lexer.input;o=a.start;var l=a.end;o===s.length?r+=" at end of input: ":r+=" at position "+(o+1)+": ";var u=s.slice(o,l).replace(/[^]/g,"$&\u0332"),c=void 0;c=o>15?"\u2026"+s.slice(o-15,o):s.slice(0,o);var d=void 0;d=l+15<s.length?s.slice(l,l+15)+"\u2026":s.slice(l),r+=c+u+d}var f=new Error(r);return f.name="ParseError",f.__proto__=e.prototype,f.position=o,f});o.prototype.__proto__=Error.prototype,t.a=o},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";var r=n(7),i=n.n(r),o=n(10),a=n.n(o),s=function(){function e(t,n,r){i()(this,e),this.id=t,this.size=n,this.cramped=r}return a()(e,[{key:"sup",value:function(){return l[u[this.id]]}},{key:"sub",value:function(){return l[c[this.id]]}},{key:"fracNum",value:function(){return l[d[this.id]]}},{key:"fracDen",value:function(){return l[f[this.id]]}},{key:"cramp",value:function(){return l[h[this.id]]}},{key:"text",value:function(){return l[p[this.id]]}},{key:"isTight",value:function(){return this.size>=2}}]),e}(),l=[new s(0,0,!1),new s(1,0,!0),new s(2,1,!1),new s(3,1,!0),new s(4,2,!1),new s(5,2,!0),new s(6,3,!1),new s(7,3,!0)],u=[4,5,4,5,6,7,6,7],c=[5,5,5,5,7,7,7,7],d=[2,3,4,5,6,7,6,7],f=[3,3,5,5,7,7,7,7],h=[1,1,3,3,5,5,7,7],p=[0,1,2,3,2,3,2,3];t.a={DISPLAY:l[0],TEXT:l[2],SCRIPT:l[4],SCRIPTSCRIPT:l[6]}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(73),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){var r=n(52)("wks"),i=n(32),o=n(16).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r=n(18),i=n.n(r),o=n(105),a=n.n(o),s=n(7),l=n.n(s),u=n(10),c=n.n(u),d=n(42),f=n(5),h=n(111),p=function(e){e=e.slice();for(var t=e.length-1;t>=0;t--)e[t]||e.splice(t,1);return e.join(" ")},m=function(){function e(t,n,r,i){if(l()(this,e),this.classes=t||[],this.children=n||[],this.height=0,this.depth=0,this.maxFontSize=0,this.style=a()({},i),this.attributes={},r){r.style.isTight()&&this.classes.push("mtight");var o=r.getColor();o&&(this.style.color=o)}}return c()(e,[{key:"setAttribute",value:function(e,t){this.attributes[e]=t}},{key:"tryCombine",value:function(e){return!1}},{key:"toNode",value:function(){var e=document.createElement("span");e.className=p(this.classes);for(var t in this.style)Object.prototype.hasOwnProperty.call(this.style,t)&&(e.style[t]=this.style[t]);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}},{key:"toMarkup",value:function(){var e="<span";this.classes.length&&(e+=' class="',e+=f.a.escape(p(this.classes)),e+='"');var t="";for(var n in this.style)this.style.hasOwnProperty(n)&&(t+=f.a.hyphenate(n)+":"+this.style[n]+";");t&&(e+=' style="'+f.a.escape(t)+'"');for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="',e+=f.a.escape(this.attributes[r]),e+='"');e+=">";for(var i=0;i<this.children.length;i++)e+=this.children[i].toMarkup();return e+="</span>"}}]),e}(),g=function(){function e(t,n,r,i){l()(this,e),this.href=t,this.classes=n,this.children=r,this.height=0,this.depth=0,this.maxFontSize=0,this.style={},this.attributes={},i.style.isTight()&&this.classes.push("mtight");var o=i.getColor();o&&(this.style.color=o)}return c()(e,[{key:"setAttribute",value:function(e,t){this.attributes[e]=t}},{key:"tryCombine",value:function(e){return!1}},{key:"toNode",value:function(){var e=document.createElement("a");e.setAttribute("href",this.href),this.classes.length&&(e.className=p(this.classes));for(var t in this.style)Object.prototype.hasOwnProperty.call(this.style,t)&&(e.style[t]=this.style[t]);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}},{key:"toMarkup",value:function(){var e="<a";e+='href="'+(e+=f.a.escape(this.href))+'"',this.classes.length&&(e+=' class="'+f.a.escape(p(this.classes))+'"');var t="";for(var n in this.style)this.style.hasOwnProperty(n)&&(t+=f.a.hyphenate(n)+":"+this.style[n]+";");t&&(e+=' style="'+f.a.escape(t)+'"');for(var r in this.attributes)"href"!==r&&Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="'+f.a.escape(this.attributes[r])+'"');e+=">";var o=!0,a=!1,s=void 0;try{for(var l,u=i()(this.children);!(o=(l=u.next()).done);o=!0){e+=l.value.toMarkup()}}catch(e){a=!0,s=e}finally{try{!o&&u.return&&u.return()}finally{if(a)throw s}}return e+="</a>"}}]),e}(),v=function(){function e(t){l()(this,e),this.children=t||[],this.height=0,this.depth=0,this.maxFontSize=0}return c()(e,[{key:"toNode",value:function(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}},{key:"toMarkup",value:function(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}}]),e}(),y={"\xee":"\u0131\u0302","\xef":"\u0131\u0308","\xed":"\u0131\u0301","\xec":"\u0131\u0300"},b=function(){function e(t,n,r,i,o,s,u,c){l()(this,e),this.value=t,this.height=n||0,this.depth=r||0,this.italic=i||0,this.skew=o||0,this.width=s||0,this.classes=u||[],this.style=a()({},c),this.maxFontSize=0;var f=Object(d.a)(this.value.charCodeAt(0));f&&this.classes.push(f+"_fallback"),/[\xee\xef\xed\xec]/.test(this.value)&&(this.value=y[this.value])}return c()(e,[{key:"tryCombine",value:function(t){if(!t||!(t instanceof e)||this.italic>0||p(this.classes)!==p(t.classes)||this.skew!==t.skew||this.maxFontSize!==t.maxFontSize)return!1;for(var n in this.style)if(this.style.hasOwnProperty(n)&&this.style[n]!==t.style[n])return!1;for(var r in t.style)if(t.style.hasOwnProperty(r)&&this.style[r]!==t.style[r])return!1;return this.value+=t.value,this.height=Math.max(this.height,t.height),this.depth=Math.max(this.depth,t.depth),this.italic=t.italic,!0}},{key:"toNode",value:function(){var e=document.createTextNode(this.value),t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=this.italic+"em"),this.classes.length>0&&(t=t||document.createElement("span"),t.className=p(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e}},{key:"toMarkup",value:function(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=f.a.escape(p(this.classes)),t+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=f.a.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+f.a.escape(n)+'"');var i=f.a.escape(this.value);return e?(t+=">",t+=i,t+="</span>"):i}}]),e}(),w=function(){function e(t,n){l()(this,e),this.children=t||[],this.attributes=n||{},this.height=0,this.depth=0,this.maxFontSize=0}return c()(e,[{key:"toNode",value:function(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}},{key:"toMarkup",value:function(){var e="<svg";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</svg>"}}]),e}(),E=function(){function e(t,n){l()(this,e),this.pathName=t,this.alternate=n}return c()(e,[{key:"toNode",value:function(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",h.a.path[this.pathName]),e}},{key:"toMarkup",value:function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+h.a.path[this.pathName]+"'/>"}}]),e}(),T=function(){function e(t){l()(this,e),this.attributes=t||{}}return c()(e,[{key:"toNode",value:function(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}},{key:"toMarkup",value:function(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");return e+="/>"}}]),e}();t.a={span:m,anchor:g,documentFragment:v,symbolNode:b,svgNode:w,pathNode:E,lineNode:T}},function(e,t,n){"use strict";var r=n(57),i=n.n(r),o=n(12),a=n(0),s=n(1),l=n(5),u={widehat:"^",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23b5",overbrace:"\u23de",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21d2",xRightarrow:"\u21d2",overleftharpoon:"\u21bc",xleftharpoonup:"\u21bc",overrightharpoon:"\u21c0",xrightharpoonup:"\u21c0",xLeftarrow:"\u21d0",xLeftrightarrow:"\u21d4",xhookleftarrow:"\u21a9",xhookrightarrow:"\u21aa",xmapsto:"\u21a6",xrightharpoondown:"\u21c1",xleftharpoondown:"\u21bd",xrightleftharpoons:"\u21cc",xleftrightharpoons:"\u21cb",xtwoheadleftarrow:"\u219e",xtwoheadrightarrow:"\u21a0",xlongequal:"=",xtofrom:"\u21c4",xrightleftarrows:"\u21c4",xrightequilibrium:"\u21cc",xleftequilibrium:"\u21cb"},c=function(e){var t=new s.a.MathNode("mo",[new s.a.TextNode(u[e.substr(1)])]);return t.setAttribute("stretchy","true"),t},d={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,667],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},f=function(e){return"ordgroup"===e.type?e.value.length:1},h=function(e,t){var n=function(){var n=4e5,r=e.value.label.substr(1);if(l.a.contains(["widehat","widetilde","utilde"],r)){var s=f(e.value.base),u=void 0,c=void 0,h=void 0;if(s>5)u="widehat"===r?420:312,n="widehat"===r?2364:2340,h="widehat"===r?.42:.34,c=("widehat"===r?"widehat":"tilde")+"4";else{var p=[1,1,2,2,3,3][s];"widehat"===r?(n=[0,1062,2364,2364,2364][p],u=[0,239,300,360,420][p],h=[0,.24,.3,.3,.36,.42][p],c="widehat"+p):(n=[0,600,1033,2339,2340][p],u=[0,260,286,306,312][p],h=[0,.26,.286,.3,.306,.34][p],c="tilde"+p)}var m=new o.a.pathNode(c),g=new o.a.svgNode([m],{width:"100%",height:h+"em",viewBox:"0 0 "+n+" "+u,preserveAspectRatio:"none"});return{span:a.a.makeSpan([],[g],t),minWidth:0,height:h}}var v=[],y=i()(d[r],4),b=y[0],w=y[1],E=y[2],T=y[3],_=E/1e3,k=b.length,x=void 0,S=void 0;if(1===k)x=["hide-tail"],S=[T];else if(2===k)x=["halfarrow-left","halfarrow-right"],S=["xMinYMin","xMaxYMin"];else{if(3!==k)throw new Error("Correct katexImagesData or update code here to support\n "+k+" children.");x=["brace-left","brace-center","brace-right"],S=["xMinYMin","xMidYMin","xMaxYMin"]}for(var C=0;C<k;C++){var O=new o.a.pathNode(b[C]),A=new o.a.svgNode([O],{width:"400em",height:_+"em",viewBox:"0 0 "+n+" "+E,preserveAspectRatio:S[C]+" slice"}),P=a.a.makeSpan([x[C]],[A],t);if(1===k)return{span:P,minWidth:w,height:_};P.style.height=_+"em",v.push(P)}return{span:a.a.makeSpan(["stretchy"],v,t),minWidth:w,height:_}}(),r=n.span,s=n.minWidth,u=n.height;return r.height=u,r.style.height=u+"em",s>0&&(r.style.minWidth=s+"em"),r},p=function(e,t,n,r){var i=void 0,s=e.height+e.depth+2*n;if(/fbox|color/.test(t)){if(i=a.a.makeSpan(["stretchy",t],[],r),"fbox"===t){var l=r.color&&r.getColor();l&&(i.style.borderColor=l)}}else{var u=[];/^[bx]cancel$/.test(t)&&u.push(new o.a.lineNode({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&u.push(new o.a.lineNode({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new o.a.svgNode(u,{width:"100%",height:s+"em"});i=a.a.makeSpan([],[c],r)}return i.height=s,i.style.height=s+"em",i},m=function(e,t,n){var r=void 0,i=void 0,s="stretchy";return"vertical-separator"===e?(r=new o.a.pathNode("vertSeparator"),i=new o.a.svgNode([r],{width:"0.25em",height:"400em",viewBox:"0 0 250 400000",preserveAspectRatio:"xMinYMin slice"}),s="vertical-separator"):(r=new o.a.pathNode("stdHorizRule"),i=new o.a.svgNode([r],{width:"400em",height:5*t+"em",viewBox:"0 0 400000 200",preserveAspectRatio:"xMinYMin slice"})),a.a.makeSpan([s],[i],n)};t.a={encloseSpan:p,mathMLnode:c,ruleSpan:m,svgSpan:h}},function(e,t,n){"use strict";var r=n(7),i=n.n(r),o=n(31),a=function e(t,n,r,a,s){i()(this,e),this.type=t,this.value=n,this.mode=r,this.loc=o.a.range(a,s)};t.a=a},function(e,t,n){var r=n(22),i=n(70),o=n(71),a=Object.defineProperty;t.f=n(23)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports={}},function(e,t,n){e.exports={default:n(103),__esModule:!0}},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return s});var r=n(6),i=(n(43),{pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375}),o={ex:!0,em:!0,mu:!0},a=function(e){return"string"!==typeof e&&(e=e.unit),e in i||e in o||"ex"===e},s=function(e,t){var n=void 0;if(e.unit in i)n=i[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{var o=void 0;if(o=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=o.fontMetrics().xHeight;else{if("em"!==e.unit)throw new r.a("Invalid unit: '"+e.unit+"'");n=o.fontMetrics().quad}o!==t&&(n*=o.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)}},function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(20);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(16),i=n(8),o=n(47),a=n(26),s=function(e,t,n){var l,u,c,d=e&s.F,f=e&s.G,h=e&s.S,p=e&s.P,m=e&s.B,g=e&s.W,v=f?i:i[t]||(i[t]={}),y=v.prototype,b=f?r:h?r[t]:(r[t]||{}).prototype;f&&(n=t);for(l in n)(u=!d&&b&&void 0!==b[l])&&l in v||(c=u?b[l]:n[l],v[l]=f&&"function"!=typeof b[l]?n[l]:m&&u?o(c,r):g&&b[l]==c?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(c):p&&"function"==typeof c?o(Function.call,c):c,p&&((v.virtual||(v.virtual={}))[l]=c,e&s.R&&y&&!y[l]&&a(y,l,c)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,n){var r=n(15),i=n(33);e.exports=n(23)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(7),i=n.n(r),o=n(10),a=n.n(o),s=n(31),l=function(){function e(t,n){i()(this,e),this.text=t,this.loc=n}return a()(e,[{key:"range",value:function(t,n){return new e(n,s.a.range(this,t))}}]),e}()},function(e,t,n){"use strict";function r(e,t,n,r,o,a){i[e][o]={font:t,group:n,replace:r},a&&r&&(i[e][r]=i[e][o])}var i={math:{},text:{}};t.a=i;var o="math",a="text",s="main",l="ams",u="accent",c="bin",d="close",f="mathord",h="op",p="open",m="rel",g="spacing",v="textord";r(o,s,m,"\u2261","\\equiv",!0),r(o,s,m,"\u227a","\\prec",!0),r(o,s,m,"\u227b","\\succ",!0),r(o,s,m,"\u223c","\\sim",!0),r(o,s,m,"\u22a5","\\perp"),r(o,s,m,"\u2aaf","\\preceq",!0),r(o,s,m,"\u2ab0","\\succeq",!0),r(o,s,m,"\u2243","\\simeq",!0),r(o,s,m,"\u2223","\\mid",!0),r(o,s,m,"\u226a","\\ll"),r(o,s,m,"\u226b","\\gg",!0),r(o,s,m,"\u224d","\\asymp",!0),r(o,s,m,"\u2225","\\parallel"),r(o,s,m,"\u22c8","\\bowtie",!0),r(o,s,m,"\u2323","\\smile",!0),r(o,s,m,"\u2291","\\sqsubseteq",!0),r(o,s,m,"\u2292","\\sqsupseteq",!0),r(o,s,m,"\u2250","\\doteq",!0),r(o,s,m,"\u2322","\\frown",!0),r(o,s,m,"\u220b","\\ni",!0),r(o,s,m,"\u221d","\\propto",!0),r(o,s,m,"\u22a2","\\vdash",!0),r(o,s,m,"\u22a3","\\dashv",!0),r(o,s,m,"\u220b","\\owns"),r(o,s,"punct",".","\\ldotp"),r(o,s,"punct","\u22c5","\\cdotp"),r(o,s,v,"#","\\#"),r(a,s,v,"#","\\#"),r(o,s,v,"&","\\&"),r(a,s,v,"&","\\&"),r(o,s,v,"\u2135","\\aleph",!0),r(o,s,v,"\u2200","\\forall",!0),r(o,s,v,"\u210f","\\hbar"),r(o,s,v,"\u2203","\\exists",!0),r(o,s,v,"\u2207","\\nabla",!0),r(o,s,v,"\u266d","\\flat",!0),r(o,s,v,"\u2113","\\ell",!0),r(o,s,v,"\u266e","\\natural",!0),r(o,s,v,"\u2663","\\clubsuit",!0),r(o,s,v,"\u2118","\\wp",!0),r(o,s,v,"\u266f","\\sharp",!0),r(o,s,v,"\u2662","\\diamondsuit",!0),r(o,s,v,"\u211c","\\Re",!0),r(o,s,v,"\u2661","\\heartsuit",!0),r(o,s,v,"\u2111","\\Im",!0),r(o,s,v,"\u2660","\\spadesuit",!0),r(a,s,v,"\xa7","\\S",!0),r(a,s,v,"\xb6","\\P",!0),r(o,s,v,"\u2020","\\dag"),r(a,s,v,"\u2020","\\dag"),r(a,s,v,"\u2020","\\textdagger"),r(o,s,v,"\u2021","\\ddag"),r(a,s,v,"\u2021","\\ddag"),r(a,s,v,"\u2020","\\textdaggerdbl"),r(o,s,d,"\u23b1","\\rmoustache"),r(o,s,p,"\u23b0","\\lmoustache"),r(o,s,d,"\u27ef","\\rgroup"),r(o,s,p,"\u27ee","\\lgroup"),r(o,s,c,"\u2213","\\mp",!0),r(o,s,c,"\u2296","\\ominus",!0),r(o,s,c,"\u228e","\\uplus",!0),r(o,s,c,"\u2293","\\sqcap",!0),r(o,s,c,"\u2217","\\ast"),r(o,s,c,"\u2294","\\sqcup",!0),r(o,s,c,"\u25ef","\\bigcirc"),r(o,s,c,"\u2219","\\bullet"),r(o,s,c,"\u2021","\\ddagger"),r(o,s,c,"\u2240","\\wr",!0),r(o,s,c,"\u2a3f","\\amalg"),r(o,s,c,"&","\\And"),r(o,s,m,"\u27f5","\\longleftarrow",!0),r(o,s,m,"\u21d0","\\Leftarrow",!0),r(o,s,m,"\u27f8","\\Longleftarrow",!0),r(o,s,m,"\u27f6","\\longrightarrow",!0),r(o,s,m,"\u21d2","\\Rightarrow",!0),r(o,s,m,"\u27f9","\\Longrightarrow",!0),r(o,s,m,"\u2194","\\leftrightarrow",!0),r(o,s,m,"\u27f7","\\longleftrightarrow",!0),r(o,s,m,"\u21d4","\\Leftrightarrow",!0),r(o,s,m,"\u27fa","\\Longleftrightarrow",!0),r(o,s,m,"\u21a6","\\mapsto",!0),r(o,s,m,"\u27fc","\\longmapsto",!0),r(o,s,m,"\u2197","\\nearrow",!0),r(o,s,m,"\u21a9","\\hookleftarrow",!0),r(o,s,m,"\u21aa","\\hookrightarrow",!0),r(o,s,m,"\u2198","\\searrow",!0),r(o,s,m,"\u21bc","\\leftharpoonup",!0),r(o,s,m,"\u21c0","\\rightharpoonup",!0),r(o,s,m,"\u2199","\\swarrow",!0),r(o,s,m,"\u21bd","\\leftharpoondown",!0),r(o,s,m,"\u21c1","\\rightharpoondown",!0),r(o,s,m,"\u2196","\\nwarrow",!0),r(o,s,m,"\u21cc","\\rightleftharpoons",!0),r(o,l,m,"\u226e","\\nless",!0),r(o,l,m,"\ue010","\\nleqslant"),r(o,l,m,"\ue011","\\nleqq"),r(o,l,m,"\u2a87","\\lneq",!0),r(o,l,m,"\u2268","\\lneqq",!0),r(o,l,m,"\ue00c","\\lvertneqq"),r(o,l,m,"\u22e6","\\lnsim",!0),r(o,l,m,"\u2a89","\\lnapprox",!0),r(o,l,m,"\u2280","\\nprec",!0),r(o,l,m,"\u22e0","\\npreceq",!0),r(o,l,m,"\u22e8","\\precnsim",!0),r(o,l,m,"\u2ab9","\\precnapprox",!0),r(o,l,m,"\u2241","\\nsim",!0),r(o,l,m,"\ue006","\\nshortmid"),r(o,l,m,"\u2224","\\nmid",!0),r(o,l,m,"\u22ac","\\nvdash",!0),r(o,l,m,"\u22ad","\\nvDash",!0),r(o,l,m,"\u22ea","\\ntriangleleft"),r(o,l,m,"\u22ec","\\ntrianglelefteq",!0),r(o,l,m,"\u228a","\\subsetneq",!0),r(o,l,m,"\ue01a","\\varsubsetneq"),r(o,l,m,"\u2acb","\\subsetneqq",!0),r(o,l,m,"\ue017","\\varsubsetneqq"),r(o,l,m,"\u226f","\\ngtr",!0),r(o,l,m,"\ue00f","\\ngeqslant"),r(o,l,m,"\ue00e","\\ngeqq"),r(o,l,m,"\u2a88","\\gneq",!0),r(o,l,m,"\u2269","\\gneqq",!0),r(o,l,m,"\ue00d","\\gvertneqq"),r(o,l,m,"\u22e7","\\gnsim",!0),r(o,l,m,"\u2a8a","\\gnapprox",!0),r(o,l,m,"\u2281","\\nsucc",!0),r(o,l,m,"\u22e1","\\nsucceq",!0),r(o,l,m,"\u22e9","\\succnsim",!0),r(o,l,m,"\u2aba","\\succnapprox",!0),r(o,l,m,"\u2246","\\ncong",!0),r(o,l,m,"\ue007","\\nshortparallel"),r(o,l,m,"\u2226","\\nparallel",!0),r(o,l,m,"\u22af","\\nVDash",!0),r(o,l,m,"\u22eb","\\ntriangleright"),r(o,l,m,"\u22ed","\\ntrianglerighteq",!0),r(o,l,m,"\ue018","\\nsupseteqq"),r(o,l,m,"\u228b","\\supsetneq",!0),r(o,l,m,"\ue01b","\\varsupsetneq"),r(o,l,m,"\u2acc","\\supsetneqq",!0),r(o,l,m,"\ue019","\\varsupsetneqq"),r(o,l,m,"\u22ae","\\nVdash",!0),r(o,l,m,"\u2ab5","\\precneqq",!0),r(o,l,m,"\u2ab6","\\succneqq",!0),r(o,l,m,"\ue016","\\nsubseteqq"),r(o,l,c,"\u22b4","\\unlhd"),r(o,l,c,"\u22b5","\\unrhd"),r(o,l,m,"\u219a","\\nleftarrow",!0),r(o,l,m,"\u219b","\\nrightarrow",!0),r(o,l,m,"\u21cd","\\nLeftarrow",!0),r(o,l,m,"\u21cf","\\nRightarrow",!0),r(o,l,m,"\u21ae","\\nleftrightarrow",!0),r(o,l,m,"\u21ce","\\nLeftrightarrow",!0),r(o,l,m,"\u25b3","\\vartriangle"),r(o,l,v,"\u210f","\\hslash"),r(o,l,v,"\u25bd","\\triangledown"),r(o,l,v,"\u25ca","\\lozenge"),r(o,l,v,"\u24c8","\\circledS"),r(o,l,v,"\xae","\\circledR"),r(a,l,v,"\xae","\\circledR"),r(o,l,v,"\u2221","\\measuredangle",!0),r(o,l,v,"\u2204","\\nexists"),r(o,l,v,"\u2127","\\mho"),r(o,l,v,"\u2132","\\Finv",!0),r(o,l,v,"\u2141","\\Game",!0),r(o,l,v,"k","\\Bbbk"),r(o,l,v,"\u2035","\\backprime"),r(o,l,v,"\u25b2","\\blacktriangle"),r(o,l,v,"\u25bc","\\blacktriangledown"),r(o,l,v,"\u25a0","\\blacksquare"),r(o,l,v,"\u29eb","\\blacklozenge"),r(o,l,v,"\u2605","\\bigstar"),r(o,l,v,"\u2222","\\sphericalangle",!0),r(o,l,v,"\u2201","\\complement",!0),r(o,l,v,"\xf0","\\eth",!0),r(o,l,v,"\u2571","\\diagup"),r(o,l,v,"\u2572","\\diagdown"),r(o,l,v,"\u25a1","\\square"),r(o,l,v,"\u25a1","\\Box"),r(o,l,v,"\u25ca","\\Diamond"),r(o,l,v,"\xa5","\\yen",!0),r(o,l,v,"\u2713","\\checkmark",!0),r(a,l,v,"\u2713","\\checkmark"),r(o,l,v,"\u2136","\\beth",!0),r(o,l,v,"\u2138","\\daleth",!0),r(o,l,v,"\u2137","\\gimel",!0),r(o,l,v,"\u03dd","\\digamma"),r(o,l,v,"\u03f0","\\varkappa"),r(o,l,p,"\u250c","\\ulcorner"),r(o,l,d,"\u2510","\\urcorner"),r(o,l,p,"\u2514","\\llcorner"),r(o,l,d,"\u2518","\\lrcorner"),r(o,l,m,"\u2266","\\leqq",!0),r(o,l,m,"\u2a7d","\\leqslant"),r(o,l,m,"\u2a95","\\eqslantless",!0),r(o,l,m,"\u2272","\\lesssim"),r(o,l,m,"\u2a85","\\lessapprox"),r(o,l,m,"\u224a","\\approxeq",!0),r(o,l,c,"\u22d6","\\lessdot"),r(o,l,m,"\u22d8","\\lll"),r(o,l,m,"\u2276","\\lessgtr"),r(o,l,m,"\u22da","\\lesseqgtr");r(o,l,m,"\u2a8b","\\lesseqqgtr"),r(o,l,m,"\u2251","\\doteqdot"),r(o,l,m,"\u2253","\\risingdotseq",!0),r(o,l,m,"\u2252","\\fallingdotseq",!0),r(o,l,m,"\u223d","\\backsim",!0),r(o,l,m,"\u22cd","\\backsimeq",!0),r(o,l,m,"\u2ac5","\\subseteqq",!0),r(o,l,m,"\u22d0","\\Subset",!0),r(o,l,m,"\u228f","\\sqsubset",!0),r(o,l,m,"\u227c","\\preccurlyeq",!0),r(o,l,m,"\u22de","\\curlyeqprec",!0),r(o,l,m,"\u227e","\\precsim",!0),r(o,l,m,"\u2ab7","\\precapprox",!0),r(o,l,m,"\u22b2","\\vartriangleleft"),r(o,l,m,"\u22b4","\\trianglelefteq"),r(o,l,m,"\u22a8","\\vDash"),r(o,l,m,"\u22aa","\\Vvdash",!0),r(o,l,m,"\u2323","\\smallsmile"),r(o,l,m,"\u2322","\\smallfrown"),r(o,l,m,"\u224f","\\bumpeq",!0),r(o,l,m,"\u224e","\\Bumpeq",!0),r(o,l,m,"\u2267","\\geqq",!0),r(o,l,m,"\u2a7e","\\geqslant",!0),r(o,l,m,"\u2a96","\\eqslantgtr",!0),r(o,l,m,"\u2273","\\gtrsim",!0),r(o,l,m,"\u2a86","\\gtrapprox",!0),r(o,l,c,"\u22d7","\\gtrdot"),r(o,l,m,"\u22d9","\\ggg",!0),r(o,l,m,"\u2277","\\gtrless",!0),r(o,l,m,"\u22db","\\gtreqless",!0),r(o,l,m,"\u2a8c","\\gtreqqless",!0),r(o,l,m,"\u2256","\\eqcirc",!0),r(o,l,m,"\u2257","\\circeq",!0),r(o,l,m,"\u225c","\\triangleq",!0),r(o,l,m,"\u223c","\\thicksim"),r(o,l,m,"\u2248","\\thickapprox"),r(o,l,m,"\u2ac6","\\supseteqq",!0),r(o,l,m,"\u22d1","\\Supset",!0),r(o,l,m,"\u2290","\\sqsupset",!0),r(o,l,m,"\u227d","\\succcurlyeq",!0),r(o,l,m,"\u22df","\\curlyeqsucc",!0),r(o,l,m,"\u227f","\\succsim",!0),r(o,l,m,"\u2ab8","\\succapprox",!0),r(o,l,m,"\u22b3","\\vartriangleright"),r(o,l,m,"\u22b5","\\trianglerighteq"),r(o,l,m,"\u22a9","\\Vdash",!0),r(o,l,m,"\u2223","\\shortmid"),r(o,l,m,"\u2225","\\shortparallel"),r(o,l,m,"\u226c","\\between",!0),r(o,l,m,"\u22d4","\\pitchfork",!0),r(o,l,m,"\u221d","\\varpropto"),r(o,l,m,"\u25c0","\\blacktriangleleft"),r(o,l,m,"\u2234","\\therefore",!0),r(o,l,m,"\u220d","\\backepsilon"),r(o,l,m,"\u25b6","\\blacktriangleright"),r(o,l,m,"\u2235","\\because",!0),r(o,l,m,"\u22d8","\\llless"),r(o,l,m,"\u22d9","\\gggtr"),r(o,l,c,"\u22b2","\\lhd"),r(o,l,c,"\u22b3","\\rhd"),r(o,l,m,"\u2242","\\eqsim",!0),r(o,s,m,"\u22c8","\\Join"),r(o,l,m,"\u2251","\\Doteq",!0),r(o,l,c,"\u2214","\\dotplus",!0),r(o,l,c,"\u2216","\\smallsetminus"),r(o,l,c,"\u22d2","\\Cap",!0),r(o,l,c,"\u22d3","\\Cup",!0),r(o,l,c,"\u2a5e","\\doublebarwedge",!0),r(o,l,c,"\u229f","\\boxminus",!0),r(o,l,c,"\u229e","\\boxplus",!0),r(o,l,c,"\u22c7","\\divideontimes",!0),r(o,l,c,"\u22c9","\\ltimes",!0),r(o,l,c,"\u22ca","\\rtimes",!0),r(o,l,c,"\u22cb","\\leftthreetimes",!0),r(o,l,c,"\u22cc","\\rightthreetimes",!0),r(o,l,c,"\u22cf","\\curlywedge",!0),r(o,l,c,"\u22ce","\\curlyvee",!0),r(o,l,c,"\u229d","\\circleddash",!0),r(o,l,c,"\u229b","\\circledast",!0),r(o,l,c,"\u22c5","\\centerdot"),r(o,l,c,"\u22ba","\\intercal",!0),r(o,l,c,"\u22d2","\\doublecap"),r(o,l,c,"\u22d3","\\doublecup"),r(o,l,c,"\u22a0","\\boxtimes",!0),r(o,l,m,"\u21e2","\\dashrightarrow",!0),r(o,l,m,"\u21e0","\\dashleftarrow",!0),r(o,l,m,"\u21c7","\\leftleftarrows",!0),r(o,l,m,"\u21c6","\\leftrightarrows",!0),r(o,l,m,"\u21da","\\Lleftarrow",!0),r(o,l,m,"\u219e","\\twoheadleftarrow",!0),r(o,l,m,"\u21a2","\\leftarrowtail",!0),r(o,l,m,"\u21ab","\\looparrowleft",!0),r(o,l,m,"\u21cb","\\leftrightharpoons",!0),r(o,l,m,"\u21b6","\\curvearrowleft",!0),r(o,l,m,"\u21ba","\\circlearrowleft",!0),r(o,l,m,"\u21b0","\\Lsh",!0),r(o,l,m,"\u21c8","\\upuparrows",!0),r(o,l,m,"\u21bf","\\upharpoonleft",!0),r(o,l,m,"\u21c3","\\downharpoonleft",!0),r(o,l,m,"\u22b8","\\multimap",!0),r(o,l,m,"\u21ad","\\leftrightsquigarrow",!0),r(o,l,m,"\u21c9","\\rightrightarrows",!0),r(o,l,m,"\u21c4","\\rightleftarrows",!0),r(o,l,m,"\u21a0","\\twoheadrightarrow",!0),r(o,l,m,"\u21a3","\\rightarrowtail",!0),r(o,l,m,"\u21ac","\\looparrowright",!0),r(o,l,m,"\u21b7","\\curvearrowright",!0),r(o,l,m,"\u21bb","\\circlearrowright",!0),r(o,l,m,"\u21b1","\\Rsh",!0),r(o,l,m,"\u21ca","\\downdownarrows",!0),r(o,l,m,"\u21be","\\upharpoonright",!0),r(o,l,m,"\u21c2","\\downharpoonright",!0),r(o,l,m,"\u21dd","\\rightsquigarrow",!0),r(o,l,m,"\u21dd","\\leadsto"),r(o,l,m,"\u21db","\\Rrightarrow",!0),r(o,l,m,"\u21be","\\restriction"),r(o,s,v,"\u2018","`"),r(o,s,v,"$","\\$"),r(a,s,v,"$","\\$"),r(a,s,v,"$","\\textdollar"),r(o,s,v,"%","\\%"),r(a,s,v,"%","\\%"),r(o,s,v,"_","\\_"),r(a,s,v,"_","\\_"),r(a,s,v,"_","\\textunderscore"),r(o,s,v,"\u2220","\\angle",!0),r(o,s,v,"\u221e","\\infty",!0),r(o,s,v,"\u2032","\\prime"),r(o,s,v,"\u25b3","\\triangle"),r(o,s,v,"\u0393","\\Gamma",!0),r(o,s,v,"\u0394","\\Delta",!0),r(o,s,v,"\u0398","\\Theta",!0),r(o,s,v,"\u039b","\\Lambda",!0),r(o,s,v,"\u039e","\\Xi",!0),r(o,s,v,"\u03a0","\\Pi",!0),r(o,s,v,"\u03a3","\\Sigma",!0),r(o,s,v,"\u03a5","\\Upsilon",!0),r(o,s,v,"\u03a6","\\Phi",!0),r(o,s,v,"\u03a8","\\Psi",!0),r(o,s,v,"\u03a9","\\Omega",!0),r(o,s,v,"\xac","\\neg"),r(o,s,v,"\xac","\\lnot"),r(o,s,v,"\u22a4","\\top"),r(o,s,v,"\u22a5","\\bot"),r(o,s,v,"\u2205","\\emptyset"),r(o,l,v,"\u2205","\\varnothing"),r(o,s,f,"\u03b1","\\alpha",!0),r(o,s,f,"\u03b2","\\beta",!0),r(o,s,f,"\u03b3","\\gamma",!0),r(o,s,f,"\u03b4","\\delta",!0),r(o,s,f,"\u03f5","\\epsilon",!0),r(o,s,f,"\u03b6","\\zeta",!0),r(o,s,f,"\u03b7","\\eta",!0),r(o,s,f,"\u03b8","\\theta",!0),r(o,s,f,"\u03b9","\\iota",!0),r(o,s,f,"\u03ba","\\kappa",!0),r(o,s,f,"\u03bb","\\lambda",!0),r(o,s,f,"\u03bc","\\mu",!0),r(o,s,f,"\u03bd","\\nu",!0),r(o,s,f,"\u03be","\\xi",!0),r(o,s,f,"\u03bf","\\omicron",!0),r(o,s,f,"\u03c0","\\pi",!0),r(o,s,f,"\u03c1","\\rho",!0),r(o,s,f,"\u03c3","\\sigma",!0),r(o,s,f,"\u03c4","\\tau",!0),r(o,s,f,"\u03c5","\\upsilon",!0),r(o,s,f,"\u03d5","\\phi",!0),r(o,s,f,"\u03c7","\\chi",!0),r(o,s,f,"\u03c8","\\psi",!0),r(o,s,f,"\u03c9","\\omega",!0),r(o,s,f,"\u03b5","\\varepsilon",!0),r(o,s,f,"\u03d1","\\vartheta",!0),r(o,s,f,"\u03d6","\\varpi",!0),r(o,s,f,"\u03f1","\\varrho",!0),r(o,s,f,"\u03c2","\\varsigma",!0),r(o,s,f,"\u03c6","\\varphi",!0),r(o,s,c,"\u2217","*"),r(o,s,c,"+","+"),r(o,s,c,"\u2212","-"),r(o,s,c,"\u22c5","\\cdot",!0),r(o,s,c,"\u2218","\\circ"),r(o,s,c,"\xf7","\\div",!0),r(o,s,c,"\xb1","\\pm",!0),r(o,s,c,"\xd7","\\times",!0),r(o,s,c,"\u2229","\\cap",!0),r(o,s,c,"\u222a","\\cup",!0),r(o,s,c,"\u2216","\\setminus"),r(o,s,c,"\u2227","\\land"),r(o,s,c,"\u2228","\\lor"),r(o,s,c,"\u2227","\\wedge",!0),r(o,s,c,"\u2228","\\vee",!0),r(o,s,v,"\u221a","\\surd"),r(o,s,p,"(","("),r(o,s,p,"[","["),r(o,s,p,"\u27e8","\\langle",!0),r(o,s,p,"\u2223","\\lvert"),r(o,s,p,"\u2225","\\lVert"),r(o,s,d,")",")"),r(o,s,d,"]","]"),r(o,s,d,"?","?");r(o,s,d,"!","!"),r(o,s,d,"\u27e9","\\rangle",!0),r(o,s,d,"\u2223","\\rvert"),r(o,s,d,"\u2225","\\rVert"),r(o,s,m,"=","="),r(o,s,m,"<","<"),r(o,s,m,">",">"),r(o,s,m,":",":"),r(o,s,m,"\u2248","\\approx",!0),r(o,s,m,"\u2245","\\cong",!0),r(o,s,m,"\u2265","\\ge"),r(o,s,m,"\u2265","\\geq",!0),r(o,s,m,"\u2190","\\gets"),r(o,s,m,">","\\gt"),r(o,s,m,"\u2208","\\in",!0),r(o,s,m,"\u2209","\\notin",!0),r(o,s,m,"\u0338","\\not"),r(o,s,m,"\u2282","\\subset",!0),r(o,s,m,"\u2283","\\supset",!0),r(o,s,m,"\u2286","\\subseteq",!0),r(o,s,m,"\u2287","\\supseteq",!0),r(o,l,m,"\u2288","\\nsubseteq",!0),r(o,l,m,"\u2289","\\nsupseteq",!0),r(o,s,m,"\u22a8","\\models"),r(o,s,m,"\u2190","\\leftarrow",!0),r(o,s,m,"\u2264","\\le"),r(o,s,m,"\u2264","\\leq",!0),r(o,s,m,"<","\\lt"),r(o,s,m,"\u2260","\\ne",!0),r(o,s,m,"\u2260","\\neq"),r(o,s,m,"\u2192","\\rightarrow",!0),r(o,s,m,"\u2192","\\to"),r(o,l,m,"\u2271","\\ngeq",!0),r(o,l,m,"\u2270","\\nleq",!0),r(o,s,g,null,"\\!"),r(o,s,g,"\xa0","\\ "),r(o,s,g,"\xa0","~"),r(o,s,g,null,"\\,"),r(o,s,g,null,"\\:"),r(o,s,g,null,"\\;"),r(o,s,g,null,"\\enspace"),r(o,s,g,null,"\\qquad"),r(o,s,g,null,"\\quad"),r(o,s,g,"\xa0","\\space"),r(o,s,g,"\xa0","\\nobreakspace"),r(a,s,g,null,"\\!"),r(a,s,g,"\xa0","\\ "),r(a,s,g,"\xa0","~"),r(a,s,g,null,"\\,"),r(a,s,g,null,"\\:"),r(a,s,g,null,"\\;"),r(a,s,g,null,"\\enspace"),r(a,s,g,null,"\\qquad"),r(a,s,g,null,"\\quad"),r(a,s,g,"\xa0","\\space"),r(a,s,g,"\xa0","\\nobreakspace"),r(o,s,"punct",",",","),r(o,s,"punct",";",";"),r(o,s,"punct",":","\\colon"),r(o,l,c,"\u22bc","\\barwedge",!0),r(o,l,c,"\u22bb","\\veebar",!0),r(o,s,c,"\u2299","\\odot",!0),r(o,s,c,"\u2295","\\oplus",!0),r(o,s,c,"\u2297","\\otimes",!0),r(o,s,v,"\u2202","\\partial",!0),r(o,s,c,"\u2298","\\oslash",!0),r(o,l,c,"\u229a","\\circledcirc",!0),r(o,l,c,"\u22a1","\\boxdot",!0),r(o,s,c,"\u25b3","\\bigtriangleup"),r(o,s,c,"\u25bd","\\bigtriangledown"),r(o,s,c,"\u2020","\\dagger"),r(o,s,c,"\u22c4","\\diamond"),r(o,s,c,"\u22c6","\\star"),r(o,s,c,"\u25c3","\\triangleleft"),r(o,s,c,"\u25b9","\\triangleright"),r(o,s,p,"{","\\{"),r(a,s,v,"{","\\{"),r(a,s,v,"{","\\textbraceleft"),r(o,s,d,"}","\\}"),r(a,s,v,"}","\\}"),r(a,s,v,"}","\\textbraceright"),r(o,s,p,"{","\\lbrace"),r(o,s,d,"}","\\rbrace"),r(o,s,p,"[","\\lbrack"),r(o,s,d,"]","\\rbrack"),r(a,s,v,"<","\\textless"),r(a,s,v,">","\\textgreater"),r(o,s,p,"\u230a","\\lfloor"),r(o,s,d,"\u230b","\\rfloor"),r(o,s,p,"\u2308","\\lceil"),r(o,s,d,"\u2309","\\rceil"),r(o,s,v,"\\","\\backslash"),r(o,s,v,"\u2223","|"),r(o,s,v,"\u2223","\\vert"),r(a,s,v,"|","\\textbar"),r(o,s,v,"\u2225","\\|"),r(o,s,v,"\u2225","\\Vert"),r(a,s,v,"\u2225","\\textbardbl"),r(o,s,m,"\u2191","\\uparrow",!0),r(o,s,m,"\u21d1","\\Uparrow",!0),r(o,s,m,"\u2193","\\downarrow",!0),r(o,s,m,"\u21d3","\\Downarrow",!0),r(o,s,m,"\u2195","\\updownarrow",!0),r(o,s,m,"\u21d5","\\Updownarrow",!0),r(o,s,h,"\u2210","\\coprod"),r(o,s,h,"\u22c1","\\bigvee"),r(o,s,h,"\u22c0","\\bigwedge"),r(o,s,h,"\u2a04","\\biguplus"),r(o,s,h,"\u22c2","\\bigcap"),r(o,s,h,"\u22c3","\\bigcup"),r(o,s,h,"\u222b","\\int"),r(o,s,h,"\u222b","\\intop"),r(o,s,h,"\u222c","\\iint"),r(o,s,h,"\u222d","\\iiint"),r(o,s,h,"\u220f","\\prod"),r(o,s,h,"\u2211","\\sum"),r(o,s,h,"\u2a02","\\bigotimes"),r(o,s,h,"\u2a01","\\bigoplus"),r(o,s,h,"\u2a00","\\bigodot"),r(o,s,h,"\u222e","\\oint"),r(o,s,h,"\u2a06","\\bigsqcup"),r(o,s,h,"\u222b","\\smallint"),r(a,s,"inner","\u2026","\\textellipsis"),r(o,s,"inner","\u2026","\\mathellipsis"),r(a,s,"inner","\u2026","\\ldots",!0),r(o,s,"inner","\u2026","\\ldots",!0),r(o,s,"inner","\u22ef","\\@cdots",!0),r(o,s,"inner","\u22f1","\\ddots",!0),r(o,s,v,"\u22ee","\\vdots",!0),r(o,s,u,"\u02ca","\\acute"),r(o,s,u,"\u02cb","\\grave"),r(o,s,u,"\xa8","\\ddot"),r(o,s,u,"~","\\tilde"),r(o,s,u,"\u02c9","\\bar"),r(o,s,u,"\u02d8","\\breve"),r(o,s,u,"\u02c7","\\check"),r(o,s,u,"^","\\hat"),r(o,s,u,"\u20d7","\\vec"),r(o,s,u,"\u02d9","\\dot"),r(o,s,u,"\u02da","\\mathring"),r(o,s,f,"\u0131","\\imath",!0),r(o,s,f,"\u0237","\\jmath",!0),r(a,s,v,"\u0131","\\i",!0),r(a,s,v,"\u0237","\\j",!0),r(a,s,v,"\xdf","\\ss",!0),r(a,s,v,"\xe6","\\ae",!0),r(a,s,v,"\xe6","\\ae",!0),r(a,s,v,"\u0153","\\oe",!0),r(a,s,v,"\xf8","\\o",!0),r(a,s,v,"\xc6","\\AE",!0),r(a,s,v,"\u0152","\\OE",!0),r(a,s,v,"\xd8","\\O",!0),r(a,s,u,"\u02ca","\\'"),r(a,s,u,"\u02cb","\\`"),r(a,s,u,"\u02c6","\\^"),r(a,s,u,"\u02dc","\\~"),r(a,s,u,"\u02c9","\\="),r(a,s,u,"\u02d8","\\u"),r(a,s,u,"\u02d9","\\."),r(a,s,u,"\u02da","\\r"),r(a,s,u,"\u02c7","\\v"),r(a,s,u,"\xa8",'\\"'),r(a,s,u,"\u02dd","\\H"),r(a,s,v,"\u2013","--"),r(a,s,v,"\u2013","\\textendash"),r(a,s,v,"\u2014","---"),r(a,s,v,"\u2014","\\textemdash"),r(a,s,v,"\u2018","`"),r(a,s,v,"\u2018","\\textquoteleft"),r(a,s,v,"\u2019","'"),r(a,s,v,"\u2019","\\textquoteright"),r(a,s,v,"\u201c","``"),r(a,s,v,"\u201c","\\textquotedblleft"),r(a,s,v,"\u201d",""),r(a,s,v,"\u201d","\\textquotedblright"),r(o,s,v,"\xb0","\\degree"),r(a,s,v,"\xb0","\\degree"),r(o,s,f,"\xa3","\\pounds"),r(o,s,f,"\xa3","\\mathsterling",!0),r(a,s,f,"\xa3","\\pounds"),r(a,s,f,"\xa3","\\textsterling",!0),r(o,l,v,"\u2720","\\maltese"),r(a,l,v,"\u2720","\\maltese"),r(a,s,g,"\xa0","\\ "),r(a,s,g,"\xa0"," "),r(a,s,g,"\xa0","~");for(var y='0123456789/@."',b=0;b<y.length;b++){var w=y.charAt(b);r(o,s,v,w,w)}for(var E='0123456789!@*()-=+[]<>|";:?/.,',T=0;T<E.length;T++){var _=E.charAt(T);r(a,s,v,_,_)}for(var k="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",x=0;x<k.length;x++){var S=k.charAt(x);r(o,s,f,S,S),r(a,s,v,S,S)}for(var C="\xc7\xd0\xde\xe7\xfe",O=0;O<C.length;O++){var A=C.charAt(O);r(o,s,f,A,A),r(a,s,v,A,A)}r(a,s,v,"\xf0","\xf0"),r(a,s,v,"\u2013","\u2013"),r(a,s,v,"\u2014","\u2014"),r(a,s,v,"\u2018","\u2018"),r(a,s,v,"\u2019","\u2019"),r(a,s,v,"\u201c","\u201c"),r(a,s,v,"\u201d","\u201d")},function(e,t,n){var r=n(38);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(42),i=n(59),o={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2]},a={"\xc5":"A","\xc7":"C","\xd0":"D","\xde":"o","\xe5":"a","\xe7":"c","\xf0":"d","\xfe":"o","\u0410":"A","\u0411":"B","\u0412":"B","\u0413":"F","\u0414":"A","\u0415":"E","\u0416":"K","\u0417":"3","\u0418":"N","\u0419":"N","\u041a":"K","\u041b":"N","\u041c":"M","\u041d":"H","\u041e":"O","\u041f":"N","\u0420":"P","\u0421":"C","\u0422":"T","\u0423":"y","\u0424":"O","\u0425":"X","\u0426":"U","\u0427":"h","\u0428":"W","\u0429":"W","\u042a":"B","\u042b":"X","\u042c":"B","\u042d":"3","\u042e":"X","\u042f":"R","\u0430":"a","\u0431":"b","\u0432":"a","\u0433":"r","\u0434":"y","\u0435":"e","\u0436":"m","\u0437":"e","\u0438":"n","\u0439":"n","\u043a":"n","\u043b":"n","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"n","\u0440":"p","\u0441":"c","\u0442":"o","\u0443":"y","\u0444":"b","\u0445":"x","\u0446":"n","\u0447":"n","\u0448":"w","\u0449":"w","\u044a":"a","\u044b":"m","\u044c":"a","\u044d":"e","\u044e":"m","\u044f":"r"},s=function(e,t,n){if(!i.a[t])throw new Error("Font metrics not found for font: "+t+".");var o=e.charCodeAt(0);e[0]in a&&(o=a[e[0]].charCodeAt(0));var s=i.a[t][o];if(s||"text"!==n||Object(r.b)(o)&&(s=i.a[t][77]),s)return{depth:s[0],height:s[1],italic:s[2],skew:s[3],width:s[4]}},l={},u=function(e){var t=void 0;if(t=e>=5?0:e>=3?1:2,!l[t]){var n=l[t]={cssEmPerMu:o.quad[t]/18};for(var r in o)o.hasOwnProperty(r)&&(n[r]=o[r][t])}return l[t]};t.a={getFontMetrics:u,getCharacterMetrics:s}},function(e,t,n){"use strict";var r=n(66),i=n.n(r),o=n(7),a=n.n(o),s=n(10),l=n.n(s),u=function(){function e(t,n,r){a()(this,e),this.lexer=t,this.start=n,this.end=r,i()(this)}return l()(e,null,[{key:"range",value:function(t,n){return n?t&&t.loc&&n.loc&&t.loc.lexer===n.loc.lexer?new e(t.loc.lexer,t.loc.start,n.loc.end):null:t&&t.loc}}]),e}();t.a=u},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var r=n(7),i=n.n(r),o=n(5),a=function e(t){i()(this,e),t=t||{},this.displayMode=o.a.deflt(t.displayMode,!1),this.throwOnError=o.a.deflt(t.throwOnError,!0),this.errorColor=o.a.deflt(t.errorColor,"#cc0000"),this.macros=t.macros||{},this.colorIsTextColor=o.a.deflt(t.colorIsTextColor,!1),this.maxSize=Math.max(0,o.a.deflt(t.maxSize,1/0))};t.a=a},function(e,t,n){"use strict";t.__esModule=!0;var r=n(79),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},function(e,t,n){"use strict";var r=n(81)(!0);n(48)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(87),i=n(53);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(49),i=n(38);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(52)("keys"),i=n(32);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){"use strict";function r(e){var t=!0,n=!1,r=void 0;try{for(var i,o=l()(u);!(t=(i=o.next()).done);t=!0){var a=i.value,s=!0,c=!1,d=void 0;try{for(var f,h=l()(a.blocks);!(s=(f=h.next()).done);s=!0){var p=f.value;if(e>=p[0]&&e<=p[1])return a.name}}catch(e){c=!0,d=e}finally{try{!s&&h.return&&h.return()}finally{if(c)throw d}}}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}return null}function i(e){for(var t=0;t<c.length;t+=2)if(e>=c[t]&&e<=c[t+1])return!0;return!1}t.a=r,t.b=i;var o=n(35),a=n.n(o),s=n(18),l=n.n(s),u=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:1024,1279},{name:"brahmic",blocks:2304,4255},{name:"georgian",blocks:4256,4351},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:44032,55215}],c=[];u.forEach(function(e){return e.blocks.forEach(function(e){return c.push.apply(c,a()(e))})})},function(e,t,n){"use strict";var r=n(7),i=n.n(r),o=n(10),a=n.n(o),s=n(30),l=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],u=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],c=function(e,t){return t.size<2?e:l[e-1][t.size-1]},d=function(){function e(t){i()(this,e),this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.fontFamily=t.fontFamily,this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=u[this.size-1],this.maxSize=t.maxSize,this._fontMetrics=void 0}return a()(e,[{key:"extend",value:function(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new e(n)}},{key:"havingStyle",value:function(e){return this.style===e?this:this.extend({style:e,size:c(this.textSize,e)})}},{key:"havingCrampedStyle",value:function(){return this.havingStyle(this.style.cramp())}},{key:"havingSize",value:function(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:u[e-1]})}},{key:"havingBaseStyle",value:function(t){t=t||this.style.text();var n=c(e.BASESIZE,t);return this.size===n&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}},{key:"withColor",value:function(e){return this.extend({color:e})}},{key:"withPhantom",value:function(){return this.extend({phantom:!0})}},{key:"withFontFamily",value:function(e){return this.extend({fontFamily:e||this.fontFamily})}},{key:"withFontWeight",value:function(e){return this.extend({fontWeight:e})}},{key:"withFontShape",value:function(e){return this.extend({fontShape:e})}},{key:"sizingClasses",value:function(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}},{key:"baseSizingClasses",value:function(){return this.size!==e.BASESIZE?["sizing","reset-size"+this.size,"size"+e.BASESIZE]:[]}},{key:"fontMetrics",value:function(){return this._fontMetrics||(this._fontMetrics=s.a.getFontMetrics(this.size)),this._fontMetrics}},{key:"getColor",value:function(){return this.phantom?"transparent":null!=this.color&&e.colorMap.hasOwnProperty(this.color)?e.colorMap[this.color]:this.color}}]),e}();d.BASESIZE=6,d.colorMap={"katex-blue":"#6495ed","katex-orange":"#ffa500","katex-pink":"#ff00af","katex-red":"#df0030","katex-green":"#28ae7b","katex-gray":"gray","katex-purple":"#9d38bd","katex-blueA":"#ccfaff","katex-blueB":"#80f6ff","katex-blueC":"#63d9ea","katex-blueD":"#11accd","katex-blueE":"#0c7f99","katex-tealA":"#94fff5","katex-tealB":"#26edd5","katex-tealC":"#01d1c1","katex-tealD":"#01a995","katex-tealE":"#208170","katex-greenA":"#b6ffb0","katex-greenB":"#8af281","katex-greenC":"#74cf70","katex-greenD":"#1fab54","katex-greenE":"#0d923f","katex-goldA":"#ffd0a9","katex-goldB":"#ffbb71","katex-goldC":"#ff9c39","katex-goldD":"#e07d10","katex-goldE":"#a75a05","katex-redA":"#fca9a9","katex-redB":"#ff8482","katex-redC":"#f9685d","katex-redD":"#e84d39","katex-redE":"#bc2612","katex-maroonA":"#ffbde0","katex-maroonB":"#ff92c6","katex-maroonC":"#ed5fa6","katex-maroonD":"#ca337c","katex-maroonE":"#9e034e","katex-purpleA":"#ddd7ff","katex-purpleB":"#c6b9fc","katex-purpleC":"#aa87ff","katex-purpleD":"#7854ab","katex-purpleE":"#543b78","katex-mintA":"#f5f9e8","katex-mintB":"#edf2df","katex-mintC":"#e0e5cc","katex-grayA":"#f6f7f7","katex-grayB":"#f0f1f2","katex-grayC":"#e3e5e6","katex-grayD":"#d6d8da","katex-grayE":"#babec2","katex-grayF":"#888d93","katex-grayG":"#626569","katex-grayH":"#3b3e40","katex-grayI":"#21242c","katex-kaBlue":"#314453","katex-kaGreen":"#71B307"},t.a=d},function(e,t,n){"use strict";var r=n(6),i=n(9),o=n(12),a=n(0),s=n(30),l=n(28),u=n(5),c=function(e,t,n){return l.a.math[e]&&l.a.math[e].replace?s.a.getCharacterMetrics(l.a.math[e].replace,t,n):s.a.getCharacterMetrics(e,t,n)},d=function(e,t,n,r){var i=n.havingBaseStyle(t),o=a.a.makeSpan((r||[]).concat(i.sizingClasses(n)),[e],n);return o.delimSizeMultiplier=i.sizeMultiplier/n.sizeMultiplier,o.height*=o.delimSizeMultiplier,o.depth*=o.delimSizeMultiplier,o.maxFontSize=i.sizeMultiplier,o},f=function(e,t,n){var r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=i+"em",e.height-=i,e.depth+=i},h=function(e,t,n,r,i,o){var s=a.a.makeSymbol(e,"Main-Regular",i,r),l=d(s,t,r,o);return n&&f(l,r,t),l},p=function(e,t,n,r){return a.a.makeSymbol(e,"Size"+t+"-Regular",n,r)},m=function(e,t,n,r,o,s){var l=p(e,t,o,r),u=d(a.a.makeSpan(["delimsizing","size"+t],[l],r),i.a.TEXT,r,s);return n&&f(u,r,i.a.TEXT),u},g=function(e,t,n){var r=void 0;return"Size1-Regular"===t?r="delim-size1":"Size4-Regular"===t&&(r="delim-size4"),{type:"elem",elem:a.a.makeSpan(["delimsizinginner",r],[a.a.makeSpan([],[a.a.makeSymbol(e,t,n)])])}},v=function(e,t,n,r,o,s){var l=void 0,u=void 0,f=void 0,h=void 0;l=f=h=e,u=null;var p="Size1-Regular";"\\uparrow"===e?f=h="\u23d0":"\\Uparrow"===e?f=h="\u2016":"\\downarrow"===e?l=f="\u23d0":"\\Downarrow"===e?l=f="\u2016":"\\updownarrow"===e?(l="\\uparrow",f="\u23d0",h="\\downarrow"):"\\Updownarrow"===e?(l="\\Uparrow",f="\u2016",h="\\Downarrow"):"["===e||"\\lbrack"===e?(l="\u23a1",f="\u23a2",h="\u23a3",p="Size4-Regular"):"]"===e||"\\rbrack"===e?(l="\u23a4",f="\u23a5",h="\u23a6",p="Size4-Regular"):"\\lfloor"===e?(f=l="\u23a2",h="\u23a3",p="Size4-Regular"):"\\lceil"===e?(l="\u23a1",f=h="\u23a2",p="Size4-Regular"):"\\rfloor"===e?(f=l="\u23a5",h="\u23a6",p="Size4-Regular"):"\\rceil"===e?(l="\u23a4",f=h="\u23a5",p="Size4-Regular"):"("===e?(l="\u239b",f="\u239c",h="\u239d",p="Size4-Regular"):")"===e?(l="\u239e",f="\u239f",h="\u23a0",p="Size4-Regular"):"\\{"===e||"\\lbrace"===e?(l="\u23a7",u="\u23a8",h="\u23a9",f="\u23aa",p="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(l="\u23ab",u="\u23ac",h="\u23ad",f="\u23aa",p="Size4-Regular"):"\\lgroup"===e?(l="\u23a7",h="\u23a9",f="\u23aa",p="Size4-Regular"):"\\rgroup"===e?(l="\u23ab",h="\u23ad",f="\u23aa",p="Size4-Regular"):"\\lmoustache"===e?(l="\u23a7",h="\u23ad",f="\u23aa",p="Size4-Regular"):"\\rmoustache"===e&&(l="\u23ab",h="\u23a9",f="\u23aa",p="Size4-Regular");var m=c(l,p,o),v=m.height+m.depth,y=c(f,p,o),b=y.height+y.depth,w=c(h,p,o),E=w.height+w.depth,T=0,_=1;if(null!==u){var k=c(u,p,o);T=k.height+k.depth,_=2}var x=v+E+T,S=Math.ceil((t-x)/(_*b)),C=x+S*_*b,O=r.fontMetrics().axisHeight;n&&(O*=r.sizeMultiplier);var A=C/2-O,P=[];if(P.push(g(h,p,o)),null===u)for(var I=0;I<S;I++)P.push(g(f,p,o));else{for(var R=0;R<S;R++)P.push(g(f,p,o));P.push(g(u,p,o));for(var N=0;N<S;N++)P.push(g(f,p,o))}P.push(g(l,p,o));var M=r.havingBaseStyle(i.a.TEXT),D=a.a.makeVList({positionType:"bottom",positionData:A,children:P},M);return d(a.a.makeSpan(["delimsizing","mult"],[D],M),i.a.TEXT,r,s)},y=function(e,t,n,r){var i=void 0;if("sqrtTall"===e){i="M702 80H400000v40H742v"+(n-54-80)+"l-4 4-4 4c-.667.7\n-2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1h-12l-28-84c-16.667-52-96.667\n-294.333-240-727l-212 -643 -85 170c-4-3.333-8.333-7.667-13 -13l-13-13l77-155\n 77-156c66 199.333 139 419.667 219 661 l218 661zM702 80H400000v40H742z"}var s=new o.a.pathNode(e,i),l=new o.a.svgNode([s],{width:"400em",height:t+"em",viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return a.a.makeSpan(["hide-tail"],[l],r)},b=function(e,t){var n=A("\\surd",e,C,t),r=void 0,i=t.sizeMultiplier,o=0,a=0,s=0;if("small"===n.type){s=1080;i=t.havingBaseStyle(n.style).sizeMultiplier/t.sizeMultiplier,o=1.08*i,a=1*i,r=y("sqrtMain",o,s,t),r.style.minWidth="0.853em",r.advanceWidth=.833*i}else"large"===n.type?(s=1080*_[n.size],a=_[n.size]/i,o=(_[n.size]+.08)/i,r=y("sqrtSize"+n.size,o,s,t),r.style.minWidth="1.02em",r.advanceWidth=1/i):(o=e/i+.08,a=e/i,s=Math.floor(1e3*e)+80,r=y("sqrtTall",o,s,t),r.style.minWidth="0.742em",r.advanceWidth=1.056/i);return r.height=a,r.style.height=o+"em",{span:r,ruleWidth:t.fontMetrics().sqrtRuleThickness*i}},w=["(",")","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd"],E=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache"],T=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],_=[0,1.2,1.8,2.4,3],k=function(e,t,n,i,o){if("<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),u.a.contains(w,e)||u.a.contains(T,e))return m(e,t,!1,n,i,o);if(u.a.contains(E,e))return v(e,_[t],!1,n,i,o);throw new r.a("Illegal delimiter: '"+e+"'")},x=[{type:"small",style:i.a.SCRIPTSCRIPT},{type:"small",style:i.a.SCRIPT},{type:"small",style:i.a.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],S=[{type:"small",style:i.a.SCRIPTSCRIPT},{type:"small",style:i.a.SCRIPT},{type:"small",style:i.a.TEXT},{type:"stack"}],C=[{type:"small",style:i.a.SCRIPTSCRIPT},{type:"small",style:i.a.SCRIPT},{type:"small",style:i.a.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],O=function(e){return"small"===e.type?"Main-Regular":"large"===e.type?"Size"+e.size+"-Regular":"stack"===e.type?"Size4-Regular":void 0},A=function(e,t,n,r){for(var i=Math.min(2,3-r.style.size),o=i;o<n.length&&"stack"!==n[o].type;o++){var a=c(e,O(n[o]),"math"),s=a.height+a.depth;if("small"===n[o].type){s*=r.havingBaseStyle(n[o].style).sizeMultiplier}if(s>t)return n[o]}return n[n.length-1]},P=function(e,t,n,r,i,o){"<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle");var a=void 0;a=u.a.contains(T,e)?x:u.a.contains(w,e)?C:S;var s=A(e,t,a,r);return"small"===s.type?h(e,s.style,n,r,i,o):"large"===s.type?m(e,s.size,n,r,i,o):v(e,t,n,r,i,o)},I=function(e,t,n,r,i,o){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,s=5/r.fontMetrics().ptPerEm,l=Math.max(t-a,n+a),u=Math.max(l/500*901,2*l-s);return P(e,u,!0,r,i,o)};t.a={sqrtImage:b,sizedDelim:k,customSizedDelim:P,leftRightDelim:I}},function(e,t,n){var r=n(20),i=n(16).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(25),i=n(8),o=n(24);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(e,t,n){var r=n(72);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";var r=n(82),i=n(25),o=n(83),a=n(26),s=n(21),l=n(17),u=n(84),c=n(54),d=n(91),f=n(11)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,m,g,v,y){u(n,t,m);var b,w,E,T=function(e){if(!h&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",k="values"==g,x=!1,S=e.prototype,C=S[f]||S["@@iterator"]||g&&S[g],O=C||T(g),A=g?k?T("entries"):O:void 0,P="Array"==t?S.entries||C:C;if(P&&(E=d(P.call(new e)))!==Object.prototype&&(c(E,_,!0),r||s(E,f)||a(E,f,p)),k&&C&&"values"!==C.name&&(x=!0,O=function(){return C.call(this)}),r&&!y||!h&&!x&&S[f]||a(S,f,O),l[t]=O,l[_]=p,g)if(b={values:k?O:T("values"),keys:v?O:T("keys"),entries:A},y)for(w in b)w in S||o(S,w,b[w]);else i(i.P+i.F*(h||x),t,b);return b}},function(e,t,n){var r=n(50);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(37),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(16),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(15).f,i=n(21),o=n(11)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(56),i=n(11)("iterator"),o=n(17);e.exports=n(8).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(50),i=n(11)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(97),o=r(i),a=n(18),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,l=(0,s.default)(e);!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,o.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){n(99);for(var r=n(16),i=n(26),o=n(17),a=n(11)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],l=0;l<5;l++){var u=s[l],c=r[u],d=c&&c.prototype;d&&!d[a]&&i(d,a,u),o[u]=o.Array}},function(e,t,n){"use strict";t.a={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1187],8674:[-.064,.437,0,0,1167],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],824:[.19444,.69444,0,0,0],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,0],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,0],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],824:[.19444,.69444,0,0,0],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1015],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,889],8617:[.011,.511,0,0,1015],8618:[.011,.511,0,0,1015],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,889],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,667],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,666],8800:[.215,.716,0,0,666],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,692],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,847],8942:[.03,.9,0,0,121],8943:[-.19,.31,0,0,1015],8945:[-.1,.82,0,0,1015],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,301],9137:[.244,.744,0,0,301],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,184],10223:[.244,.744,0,0,184],10229:[.011,.511,0,0,1470],10230:[.011,.511,0,0,1469],10231:[.011,.511,0,0,1748],10232:[.024,.525,0,0,1497],10233:[.024,.525,0,0,1526],10234:[.024,.525,0,0,1746],10236:[.011,.511,0,0,1498],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778]},"Math-BoldItalic":{47:[.19444,.69444,0,0,0],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{47:[.19444,.69444,0,0,0],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],176:[0,.69444,0,0,.66667],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],733:[0,.69444,0,0,.5],771:[0,.67659,0,0,.5],776:[0,.67937,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],176:[0,.61111,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}}},function(e,t,n){"use strict";function r(e,t,n){for(var r=l.a(e,t,!1),o=t.sizeMultiplier/n.sizeMultiplier,a=0;a<r.length;a++){var u=s.a.indexOf(r[a].classes,"sizing");u<0?Array.prototype.push.apply(r[a].classes,t.sizingClasses(n)):r[a].classes[u+1]==="reset-size"+t.size&&(r[a].classes[u+1]="reset-size"+n.size),r[a].height*=o,r[a].depth*=o}return i.a.makeFragment(r)}t.a=r;var i=n(0),o=n(3),a=n(1),s=n(5),l=n(4),u=n(2),c=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Object(o.b)({type:"sizing",names:c,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser;i.consumeSpaces();var o=i.parseExpression(!1,n);return{type:"sizing",size:s.a.indexOf(c,r)+1,value:o}},htmlBuilder:function(e,t){var n=t.havingSize(e.value.size);return r(e.value.value,n,t)},mathmlBuilder:function(e,t){var n=t.havingSize(e.value.size),r=u.a(e.value.value,n),i=new a.a.MathNode("mstyle",r);return i.setAttribute("mathsize",n.sizeMultiplier+"em"),i}})},function(e,t,n){"use strict";function r(e){for(var t=e.type,n=e.names,r=e.props,s=e.handler,l=e.htmlBuilder,u=e.mathmlBuilder,c={numArgs:r.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:s},d=0;d<n.length;++d)a[n[d]]=c;l&&(i.d[t]=l),u&&(o.d[t]=u)}n.d(t,"a",function(){return a}),t.b=r;var i=n(4),o=n(2),a=(n(43),n(14),{})},function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return p});var r=n(7),i=n.n(r),o=n(10),a=n.n(o),s=n(145),l=n.n(s),u=n(6),c=n(31),d=n(27),f=new RegExp("[\u0300-\u036f]+$"),h=new RegExp("([ \r\n\t]+)|(%[^\n]*[\n]|[!-\\[\\]-\u2027\u202a-\ud7ff\uf900-\uffff][\u0300-\u036f]*|[\ud800-\udbff][\udc00-\udfff][\u0300-\u036f]*|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\[a-zA-Z@]+|\\\\[^\ud800-\udfff])"),p=new RegExp("^\\\\[a-zA-Z@]+"),m=new RegExp("^%[^\n]*[\n]"),g=function(){function e(t){i()(this,e),this.input=t,this.pos=0}return a()(e,[{key:"lex",value:function(){var e=this.input,t=this.pos;if(t===e.length)return new d.a("EOF",new c.a(this,t,t));var n=l()(h,e,t);if(null===n)throw new u.a("Unexpected character: '"+e[t]+"'",new d.a(e[t],new c.a(this,t,t+1)));var r=n[2]||" ",i=this.pos;this.pos+=n[0].length;var o=this.pos;return m.test(r)?this.lex():new d.a(r,new c.a(this,i,o))}}]),e}();t.c=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64),i=(n.n(r),n(65));t.default=i.a},function(e,t){},function(e,t,n){"use strict";var r=n(6),i=n(34),o=n(76),a=n(113),s=n(5),l=function(e,t,n){s.a.clearNode(t);var r=d(e,n).toNode();t.appendChild(r)};"undefined"!==typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!==typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),l=function(){throw new r.a("KaTeX doesn't work in quirks mode.")});var u=function(e,t){return d(e,t).toMarkup()},c=function(e,t){var n=new i.a(t);return Object(a.a)(e,n)},d=function(e,t){var n=new i.a(t),r=Object(a.a)(e,n);return Object(o.b)(r,e,n)},f=function(e,t){var n=new i.a(t),r=Object(a.a)(e,n);return Object(o.a)(r,e,n)};t.a={render:l,renderToString:u,ParseError:r.a,__parse:c,__renderToDomTree:d,__renderToHTMLTree:f}},function(e,t,n){e.exports={default:n(67),__esModule:!0}},function(e,t,n){n(68),e.exports=n(8).Object.freeze},function(e,t,n){var r=n(20),i=n(69).onFreeze;n(46)("freeze",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(32)("meta"),i=n(20),o=n(21),a=n(15).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(24)(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},f=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},h=function(e){return u&&p.NEED&&l(e)&&!o(e,r)&&c(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:f,onFreeze:h}},function(e,t,n){e.exports=!n(23)&&!n(24)(function(){return 7!=Object.defineProperty(n(45)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(20);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){e.exports={default:n(74),__esModule:!0}},function(e,t,n){n(75);var r=n(8).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(25);r(r.S+r.F*!n(23),"Object",{defineProperty:n(15).f})},function(e,t,n){"use strict";n.d(t,"b",function(){return u}),n.d(t,"a",function(){return c});var r=n(4),i=n(2),o=n(0),a=n(43),s=(n(34),n(9)),l=function(e){return new a.a({style:e.displayMode?s.a.DISPLAY:s.a.TEXT,maxSize:e.maxSize})},u=function(e,t,n){var a=l(n),s=Object(i.c)(e,t,a),u=Object(r.c)(e,a),c=o.a.makeSpan(["katex"],[s,u]);return n.displayMode?o.a.makeSpan(["katex-display"],[c]):c},c=function(e,t,n){var i=l(n),a=Object(r.c)(e,i),s=o.a.makeSpan(["katex"],[a]);return n.displayMode?o.a.makeSpan(["katex-display"],[s]):s}},function(e,t,n){e.exports={default:n(78),__esModule:!0}},function(e,t,n){var r=n(8),i=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return i.stringify.apply(i,arguments)}},function(e,t,n){e.exports={default:n(80),__esModule:!0}},function(e,t,n){n(36),n(92),e.exports=n(8).Array.from},function(e,t,n){var r=n(37),i=n(38);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},function(e,t){e.exports=!0},function(e,t,n){e.exports=n(26)},function(e,t,n){"use strict";var r=n(85),i=n(33),o=n(54),a={};n(26)(a,n(11)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(22),i=n(86),o=n(53),a=n(41)("IE_PROTO"),s=function(){},l=function(){var e,t=n(45)("iframe"),r=o.length;for(t.style.display="none",n(90).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(15),i=n(22),o=n(39);e.exports=n(23)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(21),i=n(40),o=n(88)(!1),a=n(41)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},function(e,t,n){var r=n(40),i=n(51),o=n(89);e.exports=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(37),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){e.exports=n(16).document&&document.documentElement},function(e,t,n){var r=n(21),i=n(29),o=n(41)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";var r=n(47),i=n(25),o=n(29),a=n(93),s=n(94),l=n(51),u=n(95),c=n(55);i(i.S+i.F*!n(96)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,d,f=o(e),h="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,v=0,y=c(f);if(g&&(m=r(m,p>2?arguments[2]:void 0,2)),void 0==y||h==Array&&s(y))for(t=l(f.length),n=new h(t);t>v;v++)u(n,v,g?m(f[v],v):f[v]);else for(d=y.call(f),n=new h;!(i=d.next()).done;v++)u(n,v,g?a(d,m,[i.value,v],!0):i.value);return n.length=v,n}})},function(e,t,n){var r=n(22);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(17),i=n(11)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(15),i=n(33);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(11)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},function(e,t,n){e.exports={default:n(98),__esModule:!0}},function(e,t,n){n(58),n(36),e.exports=n(102)},function(e,t,n){"use strict";var r=n(100),i=n(101),o=n(17),a=n(40);e.exports=n(48)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(56),i=n(11)("iterator"),o=n(17);e.exports=n(8).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||o.hasOwnProperty(r(t))}},function(e,t,n){n(58),n(36),e.exports=n(104)},function(e,t,n){var r=n(22),i=n(55);e.exports=n(8).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){e.exports={default:n(106),__esModule:!0}},function(e,t,n){n(107),e.exports=n(8).Object.assign},function(e,t,n){var r=n(25);r(r.S+r.F,"Object",{assign:n(108)})},function(e,t,n){"use strict";var r=n(39),i=n(109),o=n(110),a=n(29),s=n(49),l=Object.assign;e.exports=!l||n(24)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=a(e),l=arguments.length,u=1,c=i.f,d=o.f;l>u;)for(var f,h=s(arguments[u++]),p=c?r(h).concat(c(h)):r(h),m=p.length,g=0;m>g;)d.call(h,f=p[g++])&&(n[f]=h[f]);return n}:l},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r={stdHorizRule:"M0 80H400000 v40H0z M0 80H400000 v40H0z",vertSeparator:"M100 0h50V400000h-50zM100 0h50V400000h-50z",sqrtMain:"M95,702c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,\n-10,-9.5,-14c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54c44.2,-33.3,65.8,\n-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10s173,378,173,378c0.7,0,\n35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429c69,-144,104.5,-217.7,106.5,\n-221c5.3,-9.3,12,-14,20,-14H400000v40H845.2724s-225.272,467,-225.272,467\ns-235,486,-235,486c-2.7,4.7,-9,7,-19,7c-6,0,-10,-1,-12,-3s-194,-422,-194,-422\ns-65,47,-65,47z M834 80H400000v40H845z",sqrtSize1:"M263,681c0.7,0,18,39.7,52,119c34,79.3,68.167,\n158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120c340,-704.7,510.7,-1060.3,512,-1067\nc4.7,-7.3,11,-11,19,-11H40000v40H1012.3s-271.3,567,-271.3,567c-38.7,80.7,-84,\n175,-136,283c-52,108,-89.167,185.3,-111.5,232c-22.3,46.7,-33.8,70.3,-34.5,71\nc-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1s-109,-253,-109,-253c-72.7,-168,-109.3,\n-252,-110,-252c-10.7,8,-22,16.7,-34,26c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26\ns76,-59,76,-59s76,-60,76,-60z M1001 80H40000v40H1012z",sqrtSize2:"M1001,80H400000v40H1013.1s-83.4,268,-264.1,840c-180.7,\n572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,\n-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744c-10,12,-21,25,-33,39s-32,39,-32,39\nc-6,-5.3,-15,-14,-27,-26s25,-30,25,-30c26.7,-32.7,52,-63,76,-91s52,-60,52,-60\ns208,722,208,722c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,\n-658.5c53.7,-170.3,84.5,-266.8,92.5,-289.5c4,-6.7,10,-10,18,-10z\nM1001 80H400000v40H1013z",sqrtSize3:"M424,2478c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,\n-342,-109.8,-513.3,-110.5,-514c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,\n25c-5.7,9.3,-9.8,16,-12.5,20s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,\n-13s76,-122,76,-122s77,-121,77,-121s209,968,209,968c0,-2,84.7,-361.7,254,-1079\nc169.3,-717.3,254.7,-1077.7,256,-1081c4,-6.7,10,-10,18,-10H400000v40H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M1001 80H400000v40H1014z",sqrtSize4:"M473,2793c339.3,-1799.3,509.3,-2700,510,-2702\nc3.3,-7.3,9.3,-11,18,-11H400000v40H1017.7s-90.5,478,-276.2,1466c-185.7,988,\n-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,\n-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200c0,-1.3,-5.3,8.7,-16,30c-10.7,\n21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26s76,-153,76,-153s77,-151,\n77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,606z\nM1001 80H400000v40H1017z",doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",baraboveleftarrow:"M1 500c30.67-18 59-41.833 85-71.5s45-61.17 57-94.5h23\nc15.33 0 23 .33 23 1 0 .67-5.33 12.67-16 36-16.67 34.67-39 67.33-67 98l-10 11\nh39904v40H96l9 10c27.33 30.67 50.67 65 70 103l14 33c0 .67-7.67 1-23 1h-22\nC116.67 596.33 69 540.67 1 500z M96 480 H400000 v40 H96z\nM1 147 H399905 v40 H1z M0 147 H399905 v40 H0z",rightarrowabovebar:"M400000 167c-70.67 42-118 97.67-142 167h-23c-15.33 0\n-23-.33-23-1 0-1.33 5.33-13.67 16-37 18-35.33 41.33-69 70-101l7-8h-39905\nv-40h39905c-389 0 0 0 0 0l-7-8c-28.67-32-52-65.67-70-101-10.67-23.33-16-35.67\n-16-37 0-.67 7.67-1 23-1h23c11.33 33.33 30 64.833 56 94.5s54.67 53.83 86 72.5z\nM0 147 H399905 v40 H0z M96 480 H400000 v40 H0z M96 480 H400000 v40 H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};t.a={path:r}},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s});var r={number:3,unit:"mu"},i={number:4,unit:"mu"},o={number:5,unit:"mu"},a={mord:{mop:r,mbin:i,mrel:o,minner:r},mop:{mord:r,mop:r,mrel:o,minner:r},mbin:{mord:i,mop:i,mopen:i,minner:i},mrel:{mord:o,mop:o,mopen:o,minner:o},mopen:{},mclose:{mop:r,mbin:i,mrel:o,minner:r},mpunct:{mord:r,mop:r,mrel:o,mopen:r,mclose:r,mpunct:r,minner:r},minner:{mord:r,mop:r,mbin:i,mrel:o,mopen:r,mpunct:r,minner:r}},s={mord:{mop:r},mop:{mord:r,mop:r},mbin:{},mrel:{},mopen:{},mclose:{mop:r},mpunct:{},minner:{mop:r}}},function(e,t,n){"use strict";var r=n(114),i=function(e,t){if(!("string"===typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");return new r.a(e,t).parse()};t.a=i},function(e,t,n){"use strict";function r(e,t){return{type:"arg",result:e,token:t}}function i(e){return{type:"fn",result:e.text,token:e}}function o(e){return{type:"$",result:"$",token:e}}function a(e){if("$"===e.type)throw new E.a("Unexpected $",e.token);return e}var s=n(7),l=n.n(s),u=n(10),c=n.n(u),d=n(115),f=n(142),h=n(144),p=n(28),m=n(19),g=n(42),v=n(148),y=n.n(v),b=n(149),w=n(14),E=n(6),T=n(62),_=(n(34),n(27),function(){function e(t,n){l()(this,e),this.mode="math",this.gullet=new h.a(t,n.macros,this.mode),n.colorIsTextColor&&(this.gullet.macros["\\color"]="\\textcolor"),this.settings=n,this.leftrightDepth=0}return c()(e,[{key:"expect",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.nextToken.text!==e)throw new E.a("Expected '"+e+"', got '"+this.nextToken.text+"'",this.nextToken);t&&this.consume()}},{key:"consume",value:function(){this.nextToken=this.gullet.expandNextToken()}},{key:"switchMode",value:function(e){this.mode=e,this.gullet.switchMode(e)}},{key:"parse",value:function(){return this.consume(),this.parseInput()}},{key:"parseInput",value:function(){var e=this.parseExpression(!1);return this.expect("EOF",!1),e}},{key:"parseExpression",value:function(t,n){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var i=this.nextToken;if(-1!==e.endOfExpression.indexOf(i.text))break;if(n&&i.text===n)break;if(t&&d.a[i.text]&&d.a[i.text].infix)break;var o=this.parseAtom(n);if(!o){if(!this.settings.throwOnError&&"\\"===i.text[0]){var a=this.handleUnsupportedCmd();r.push(a);continue}break}r.push(o)}return this.handleInfixNodes(r)}},{key:"handleInfixNodes",value:function(e){for(var t=-1,n=void 0,r=0;r<e.length;r++){var i=e[r];if("infix"===i.type){if(-1!==t)throw new E.a("only one infix operator per group",i.value.token);t=r,n=i.value.replaceWith}}if(-1!==t&&n){var o=void 0,a=void 0,s=e.slice(0,t),l=e.slice(t+1);o=1===s.length&&"ordgroup"===s[0].type?s[0]:new w.a("ordgroup",s,this.mode),a=1===l.length&&"ordgroup"===l[0].type?l[0]:new w.a("ordgroup",l,this.mode);var u=this.callFunction(n,[o,a],[]);return[new w.a(u.type,u,this.mode)]}return e}},{key:"handleSupSubscript",value:function(t){var n=this.nextToken,r=n.text;this.consume(),this.consumeSpaces();var i=this.parseGroup();if(!i){if(this.settings.throwOnError||"\\"!==this.nextToken.text[0])throw new E.a("Expected group after '"+r+"'",n);return this.handleUnsupportedCmd()}var o=a(i);if("fn"===o.type){if(d.a[o.result].greediness>e.SUPSUB_GREEDINESS)return this.parseGivenFunction(i);throw new E.a("Got function '"+o.result+"' with no arguments as "+t,n)}return o.result}},{key:"handleUnsupportedCmd",value:function(){for(var e=this.nextToken.text,t=[],n=0;n<e.length;n++)t.push(new w.a("textord",e[n],"text"));var r=new w.a("text",{body:t,type:"text"},this.mode),i=new w.a("color",{color:this.settings.errorColor,value:[r],type:"color"},this.mode);return this.consume(),i}},{key:"parseAtom",value:function(e){var t=this.parseImplicitGroup(e);if("text"===this.mode)return t;for(var n=void 0,r=void 0;;){this.consumeSpaces();var i=this.nextToken;if("\\limits"===i.text||"\\nolimits"===i.text){if(!t||"op"!==t.type)throw new E.a("Limit controls must follow a math operator",i);var o="\\limits"===i.text;t.value.limits=o,t.value.alwaysHandleSupSub=!0,this.consume()}else if("^"===i.text){if(n)throw new E.a("Double superscript",i);n=this.handleSupSubscript("superscript")}else if("_"===i.text){if(r)throw new E.a("Double subscript",i);r=this.handleSupSubscript("subscript")}else{if("'"!==i.text)break;if(n)throw new E.a("Double superscript",i);var a=new w.a("textord","\\prime",this.mode),s=[a];for(this.consume();"'"===this.nextToken.text;)s.push(a),this.consume();"^"===this.nextToken.text&&s.push(this.handleSupSubscript("superscript")),n=new w.a("ordgroup",s,this.mode)}}return n||r?new w.a("supsub",{base:t,sup:n,sub:r},this.mode):t}},{key:"parseImplicitGroup",value:function(e){var t=this.parseSymbol();if(null==t)return this.parseFunction();if("arg"===t.type)return this.parseGivenFunction(t);var n=t.result;if("$"===n){if("math"===this.mode)throw new E.a("$ within math mode");var r=this.mode;this.switchMode("math"),this.consume();var i=this.parseExpression(!1,"$");return this.expect("$",!1),this.switchMode(r),this.consume(),new w.a("styling",{style:"text",value:i},"math")}if("\\begin"===n){var o=this.parseGivenFunction(t),a=o.value.name;if(!f.a.hasOwnProperty(a))throw new E.a("No such environment: "+a,o.value.nameGroup);var s=f.a[a],l=this.parseArguments("\\begin{"+a+"}",s),u=l.args,c=l.optArgs,d={mode:this.mode,envName:a,parser:this},h=s.handler(d,u,c);this.expect("\\end",!1);var p=this.nextToken,m=this.parseFunction();if(!m)throw new E.a("failed to parse function after \\end");if(m.value.name!==a)throw new E.a("Mismatch: \\begin{"+a+"} matched by \\end{"+m.value.name+"}",p);return h}return this.parseGivenFunction(t,e)}},{key:"parseFunction",value:function(){var e=this.parseGroup();return e?this.parseGivenFunction(e):null}},{key:"parseGivenFunction",value:function(e,t){if(e=a(e),"fn"===e.type){var n=e.result,r=d.a[n];if("text"===this.mode&&!r.allowedInText)throw new E.a("Can't use function '"+n+"' in text mode",e.token);if("math"===this.mode&&!1===r.allowedInMath)throw new E.a("Can't use function '"+n+"' in math mode",e.token);var i=this.parseArguments(n,r),o=i.args,s=i.optArgs,l=e.token,u=this.callFunction(n,o,s,l,t);return new w.a(u.type,u,this.mode)}return e.result}},{key:"callFunction",value:function(e,t,n,r,i){var o={funcName:e,parser:this,token:r,breakOnTokenText:i},a=d.a[e];if(a&&a.handler)return a.handler(o,t,n);throw new E.a("No function handler for "+e)}},{key:"parseArguments",value:function(e,t){var n=t.numArgs+t.numOptionalArgs;if(0===n)return{args:[],optArgs:[]};for(var i=t.greediness,o=[],s=[],l=0;l<n;l++){var u=t.argTypes&&t.argTypes[l],c=l<t.numOptionalArgs;l>0&&!c&&this.consumeSpaces(),0!==l||c||"math"!==this.mode||this.consumeSpaces();var f=this.nextToken,h=u?this.parseGroupOfType(u,c):this.parseGroup(c);if(!h){if(c){s.push(null);continue}if(this.settings.throwOnError||"\\"!==this.nextToken.text[0])throw new E.a("Expected group after '"+e+"'",f);h=r(this.handleUnsupportedCmd(),f)}var p=void 0;if(h=a(h),"fn"===h.type){if(!(d.a[h.result].greediness>i))throw new E.a("Got function '"+h.result+"' as argument to '"+e+"'",f);p=this.parseGivenFunction(h)}else p=h.result;(c?s:o).push(p)}return{args:o,optArgs:s}}},{key:"parseGroupOfType",value:function(e,t){return"original"===e&&(e=this.mode),"color"===e?this.parseColorGroup(t):"size"===e?this.parseSizeGroup(t):"url"===e?this.parseUrlGroup(t):this.parseGroup(t,e)}},{key:"consumeSpaces",value:function(){for(;" "===this.nextToken.text;)this.consume()}},{key:"parseStringGroup",value:function(e,t){if(t&&"["!==this.nextToken.text)return null;var n=this.mode;this.mode="text",this.expect(t?"[":"{");for(var r="",i=this.nextToken,o=i;this.nextToken.text!==(t?"]":"}");){if("EOF"===this.nextToken.text)throw new E.a("Unexpected end of input in "+e,i.range(this.nextToken,r));o=this.nextToken,r+=o.text,this.consume()}return this.mode=n,this.expect(t?"]":"}"),i.range(o,r)}},{key:"parseStringGroupWithBalancedBraces",value:function(e,t){if(t&&"["!==this.nextToken.text)return null;var n=this.mode;this.mode="text",this.expect(t?"[":"{");for(var r="",i=0,o=this.nextToken,a=o;i>0||this.nextToken.text!==(t?"]":"}");){if("EOF"===this.nextToken.text)throw new E.a("Unexpected end of input in "+e,o.range(this.nextToken,r));if(a=this.nextToken,r+=a.text,"{"===a.text)i+=1;else if("}"===a.text){if(i<=0)throw new E.a("Unbalanced brace of input in "+e,o.range(this.nextToken,r));i-=1}this.consume()}return this.mode=n,this.expect(t?"]":"}"),o.range(a,r)}},{key:"parseRegexGroup",value:function(e,t){var n=this.mode;this.mode="text";for(var r=this.nextToken,i=r,o="";"EOF"!==this.nextToken.text&&e.test(o+this.nextToken.text);)i=this.nextToken,o+=i.text,this.consume();if(""===o)throw new E.a("Invalid "+t+": '"+r.text+"'",r);return this.mode=n,r.range(i,o)}},{key:"parseColorGroup",value:function(e){var t=this.parseStringGroup("color",e);if(!t)return null;var n=/^(#[a-f0-9]{3}|#[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new E.a("Invalid color: '"+t.text+"'",t);return r(new w.a("color",n[0],this.mode),t)}},{key:"parseUrlGroup",value:function(e){var t=this.parseStringGroupWithBalancedBraces("url",e);if(!t)return null;var n=t.text,i=n.replace(/\\([#$%&~_^{}])/g,"$1");return r(new w.a("url",i,this.mode),t)}},{key:"parseSizeGroup",value:function(e){var t=void 0;if(!(t=e||"{"===this.nextToken.text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!n)throw new E.a("Invalid size: '"+t.text+"'",t);var i={number:+(n[1]+n[2]),unit:n[3]};if(!Object(m.b)(i))throw new E.a("Invalid unit: '"+i.unit+"'",t);return r(new w.a("size",i,this.mode),t)}},{key:"parseGroup",value:function(e,t){var n=this.mode,i=this.nextToken;if(this.nextToken.text===(e?"[":"{")){t&&this.switchMode(t),this.consume();var o=this.parseExpression(!1,e?"]":"}"),a=this.nextToken;return t&&this.switchMode(n),this.expect(e?"]":"}"),"text"===t&&this.formLigatures(o),r(new w.a("ordgroup",o,this.mode,i,a),i.range(a,i.text))}t&&this.switchMode(t);var s=e?null:this.parseSymbol();return t&&this.switchMode(n),s}},{key:"formLigatures",value:function(e){for(var t=e.length-1,n=0;n<t;++n){var r=e[n],i=r.value;"-"===i&&"-"===e[n+1].value&&(n+1<t&&"-"===e[n+2].value?(e.splice(n,3,new w.a("textord","---","text",r,e[n+2])),t-=2):(e.splice(n,2,new w.a("textord","--","text",r,e[n+1])),t-=1)),"'"!==i&&"`"!==i||e[n+1].value!==i||(e.splice(n,2,new w.a("textord",i+i,"text",r,e[n+1])),t-=1)}}},{key:"parseSymbol",value:function(){var e=this.nextToken,t=e.text;if(d.a[t])return this.consume(),i(e);if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var n=t.slice(5),a="*"===n.charAt(0);if(a&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new E.a("\\verb assertion failed --\n please report what input caused this bug");return n=n.slice(1,-1),r(new w.a("verb",{body:n,star:a},"text"),e)}if("$"===t)return o(e);b.a.hasOwnProperty(t[0])&&!p.a[this.mode][t[0]]&&(t=b.a[t[0]]+t.substr(1));var s=T.a.exec(t);s&&(t=t.substring(0,s.index),"i"===t?t="\u0131":"j"===t&&(t="\u0237"));var l=null;if(p.a[this.mode][t])l=new w.a(p.a[this.mode][t].group,t,this.mode,e);else{if("text"!==this.mode||!Object(g.b)(t.charCodeAt(0)))return null;l=new w.a("textord",t,this.mode,e)}if(this.consume(),s)for(var u=0;u<s[0].length;u++){var c=s[0][u];if(!y.a[c])throw new E.a("Unknown accent ' "+c+"'",e);var f=y.a[c][this.mode];if(!f)throw new E.a("Accent "+c+" unsupported in "+this.mode+" mode",e);l=new w.a("accent",{type:"accent",label:f,isStretchy:!1,isShifty:!0,base:l},this.mode,e)}return r(l,e)}}]),e}());_.endOfExpression=["}","\\end","\\right","&","\\\\","\\cr"],_.SUPSUB_GREEDINESS=1,t.a=_},function(e,t,n){"use strict";var r=n(6),i=n(14),o=n(3),a=(n(116),n(117),n(118),n(119),n(120),n(121),n(122),n(123),n(124),n(125),n(126),n(127),n(128),n(129),n(130),n(131),n(60),n(132),n(133),n(137),n(138),n(139),n(140),n(141),o.a);t.a=a;var s=function(e,t,n){Object(o.b)({names:e,props:t,handler:n})};s(["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],{numArgs:1},function(e,t){var n=t[0];return{type:"mclass",mclass:"m"+e.funcName.substr(5),value:Object(o.c)(n)}}),s(["\\stackrel"],{numArgs:2},function(e,t){var n=t[0],r=t[1],a=new i.a("op",{type:"op",limits:!0,alwaysHandleSupSub:!0,symbol:!1,value:Object(o.c)(r)},r.mode);return{type:"mclass",mclass:"mrel",value:[new i.a("supsub",{base:a,sup:n,sub:null},n.mode)]}});var l={"\u222b":"\\int","\u222c":"\\iint","\u222d":"\\iiint","\u222e":"\\oint"};s(["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],{numArgs:0},function(e){return{type:"op",limits:!1,symbol:!1,body:e.funcName}}),s(["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],{numArgs:0},function(e){return{type:"op",limits:!0,symbol:!1,body:e.funcName}}),s(["\\int","\\iint","\\iiint","\\oint","\u222b","\u222c","\u222d","\u222e"],{numArgs:0},function(e){var t=e.funcName;return 1===t.length&&(t=l[t]),{type:"op",limits:!1,symbol:!0,body:t}}),s(["\\overbrace","\\underbrace"],{numArgs:1},function(e,t){var n=t[0];return{type:"horizBrace",label:e.funcName,isOver:/^\\over/.test(e.funcName),base:n}}),s(["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],{numArgs:1,numOptionalArgs:1},function(e,t,n){var r=n[0],i=t[0];return{type:"xArrow",label:e.funcName,body:i,below:r}}),s(["\\over","\\choose","\\atop"],{numArgs:0,infix:!0},function(e){var t=void 0;switch(e.funcName){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",replaceWith:t,token:e.token}}),s(["\\\\","\\cr"],{numArgs:0,numOptionalArgs:1,argTypes:["size"]},function(e,t,n){return{type:"cr",size:n[0]}}),s(["\\begin","\\end"],{numArgs:1,argTypes:["text"]},function(e,t){var n=t[0];if("ordgroup"!==n.type)throw new r.a("Invalid environment name",n);for(var i="",o=0;o<n.value.length;++o)i+=n.value[o].value;return{type:"environment",name:i,nameGroup:n}}),s(["\\raisebox"],{numArgs:2,argTypes:["size","text"],allowedInText:!0},function(e,t){var n=t[0],r=t[1];return{type:"raisebox",dy:n,body:r,value:Object(o.c)(r)}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(12),a=n(1),s=n(44),l=n(9),u=n(4),c=n(2);Object(r.b)({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,n){var r=n[0];return{type:"sqrt",body:t[0],index:r}},htmlBuilder:function(e,t){var n=u.b(e.value.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n instanceof o.a.documentFragment&&(n=i.a.makeSpan([],[n],t));var r=t.fontMetrics(),a=r.defaultRuleThickness,c=a;t.style.id<l.a.TEXT.id&&(c=t.fontMetrics().xHeight);var d=a+c/4,f=(n.height+n.depth+d+a)*t.sizeMultiplier,h=s.a.sqrtImage(f,t),p=h.span,m=h.ruleWidth,g=p.height-m;g>n.height+n.depth+d&&(d=(d+g-n.height-n.depth)/2);var v=p.height-n.height-d-m;n.style.paddingLeft=p.advanceWidth+"em";var y=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+v)},{type:"elem",elem:p},{type:"kern",size:m}]},t);if(e.value.index){var b=t.havingStyle(l.a.SCRIPTSCRIPT),w=u.b(e.value.index,b,t),E=.6*(y.height-y.depth),T=i.a.makeVList({positionType:"shift",positionData:-E,children:[{type:"elem",elem:w}]},t),_=i.a.makeSpan(["root"],[T]);return i.a.makeSpan(["mord","sqrt"],[_,y],t)}return i.a.makeSpan(["mord","sqrt"],[y],t)},mathmlBuilder:function(e,t){return e.value.index?new a.a.MathNode("mroot",[c.b(e.value.body,t),c.b(e.value.index,t)]):new a.a.MathNode("msqrt",[c.b(e.value.body,t)])}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(6),s=n(4),l=n(2),u=function(e,t){var n=s.a(e.value.value,t.withColor(e.value.color),!1);return new i.a.makeFragment(n)},c=function(e,t){var n=l.a(e.value.value,t),r=new o.a.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.value.color),r};Object(r.b)({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(e,t){var n=t[0],i=t[1];return{type:"color",color:n.value,value:Object(r.c)(i)}},htmlBuilder:u,mathmlBuilder:c}),Object(r.b)({type:"color",names:["\\blue","\\orange","\\pink","\\red","\\green","\\gray","\\purple","\\blueA","\\blueB","\\blueC","\\blueD","\\blueE","\\tealA","\\tealB","\\tealC","\\tealD","\\tealE","\\greenA","\\greenB","\\greenC","\\greenD","\\greenE","\\goldA","\\goldB","\\goldC","\\goldD","\\goldE","\\redA","\\redB","\\redC","\\redD","\\redE","\\maroonA","\\maroonB","\\maroonC","\\maroonD","\\maroonE","\\purpleA","\\purpleB","\\purpleC","\\purpleD","\\purpleE","\\mintA","\\mintB","\\mintC","\\grayA","\\grayB","\\grayC","\\grayD","\\grayE","\\grayF","\\grayG","\\grayH","\\grayI","\\kaBlue","\\kaGreen"],props:{numArgs:1,allowedInText:!0,greediness:3},handler:function(e,t){var n=t[0];return{type:"color",color:"katex-"+e.funcName.slice(1),value:Object(r.c)(n)}},htmlBuilder:u,mathmlBuilder:c}),Object(r.b)({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(e,t){var n=e.parser,r=e.breakOnTokenText,i=t[0];if(!i)throw new a.a("\\color not followed by color");var o=n.parseExpression(!0,r);return{type:"color",color:i.value,value:o}},htmlBuilder:u,mathmlBuilder:c})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2),l={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},u={"\\textbf":"textbf"},c={"\\textit":"textit"};Object(r.b)({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textit"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(e,t){var n=t[0];return{type:"text",body:Object(r.c)(n),font:e.funcName}},htmlBuilder:function(e,t){var n=e.value.font,r=void 0;r=l[n]?t.withFontFamily(l[n]):u[n]?t.withFontWeight(u[n]):t.withFontShape(c[n]);var o=a.a(e.value.body,r,!0);return i.a.tryCombineChars(o),i.a.makeSpan(["mord","text"],o,r)},mathmlBuilder:function(e,t){for(var n=e.value.body,r=[],i=null,a=0;a<n.length;a++){var l=s.b(n[a],t);"mtext"===l.type&&null!=i?Array.prototype.push.apply(i.children,l.children):(r.push(l),"mtext"===l.type&&(i=l))}return 1===r.length?r[0]:new o.a.MathNode("mrow",r)}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(5),s=n(13),l=n(4),u=n(2),c=function(e,t){var n=l.b(e.value.body,t),r=e.value.label.substr(1),o=t.sizeMultiplier,u=void 0,c=0,d=/color/.test(r);if("sout"===r)u=i.a.makeSpan(["stretchy","sout"]),u.height=t.fontMetrics().defaultRuleThickness/o,c=-.5*t.fontMetrics().xHeight;else{n.classes.push(/cancel/.test(r)?"cancel-pad":"boxpad");var f=0;f=/box/.test(r)?"colorbox"===r?.3:.34:a.a.isCharacterBox(e.value.body)?.2:0,u=s.a.encloseSpan(n,r,f,t),c=n.depth+f,d&&(u.style.backgroundColor=e.value.backgroundColor.value,"fcolorbox"===r&&(u.style.borderColor=e.value.borderColor.value))}var h=void 0;return h=d?i.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:c},{type:"elem",elem:n,shift:0}]},t):i.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:u,shift:c,wrapperClasses:/cancel/.test(r)?["svg-align"]:[]}]},t),/cancel/.test(r)?i.a.makeSpan(["mord","cancel-lap"],[h],t):i.a.makeSpan(["mord"],[h],t)},d=function(e,t){var n=new o.a.MathNode("menclose",[u.b(e.value.body,t)]);switch(e.value.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\colorbox":n.setAttribute("mathbackground",e.value.backgroundColor.value);break;case"\\fcolorbox":n.setAttribute("mathbackground",e.value.backgroundColor.value),n.setAttribute("notation","box");break;default:n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return n};Object(r.b)({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(e,t,n){var r=t[0],i=t[1];return{type:"enclose",label:e.funcName,backgroundColor:r,body:i}},htmlBuilder:c,mathmlBuilder:d}),Object(r.b)({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(e,t,n){var r=t[0],i=t[1],o=t[2];return{type:"enclose",label:e.funcName,backgroundColor:i,borderColor:r,body:o}},htmlBuilder:c,mathmlBuilder:d}),Object(r.b)({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\fbox"],props:{numArgs:1},handler:function(e,t,n){var r=t[0];return{type:"enclose",label:e.funcName,body:r}},htmlBuilder:c,mathmlBuilder:d})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(e,t){return{type:"overline",body:t[0]}},htmlBuilder:function(e,t){var n=a.b(e.value.body,t.havingCrampedStyle()),r=i.a.makeLineSpan("overline-line",t),o=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:r.height},{type:"elem",elem:r}]},t);return i.a.makeSpan(["mord","overline"],[o],t)},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mo",[new o.a.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new o.a.MathNode("mover",[s.b(e.value.body,t),n]);return r.setAttribute("accent","true"),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){return{type:"underline",body:t[0]}},htmlBuilder:function(e,t){var n=a.b(e.value.body,t),r=i.a.makeLineSpan("underline-line",t),o=i.a.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r},{type:"kern",size:5*r.height},{type:"elem",elem:n}]},t);return i.a.makeSpan(["mord","underline"],[o],t)},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mo",[new o.a.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new o.a.MathNode("munder",[s.b(e.value.body,t),n]);return r.setAttribute("accentunder","true"),r}})},function(e,t,n){"use strict";var r=n(0),i=n(3),o=n(1),a=n(19);Object(i.b)({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(e,t,n){var r=n[0],i=t[0],o=t[1];return{type:"rule",shift:r&&r.value,width:i.value,height:o.value}},htmlBuilder:function(e,t){var n=r.a.makeSpan(["mord","rule"],[],t),i=0;e.value.shift&&(i=Object(a.a)(e.value.shift,t));var o=Object(a.a)(e.value.width,t),s=Object(a.a)(e.value.height,t);return n.style.borderRightWidth=o+"em",n.style.borderTopWidth=s+"em",n.style.bottom=i+"em",n.width=o,n.height=s+i,n.depth=-i,n.maxFontSize=1.125*s*t.sizeMultiplier,n},mathmlBuilder:function(e,t){return new o.a.MathNode("mrow")}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(19),s=n(6);Object(r.b)({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t){var n="m"===e.funcName[1],r="mu"===t[0].value.unit;if(n){if(r||"undefined"!==typeof console&&console.warn("In LaTeX, "+e.funcName+" supports only mu units, not "+t[0].value.unit+" units"),"math"!==e.parser.mode)throw new s.a("Can't use function '"+e.funcName+"' in text mode")}else r&&"undefined"!==typeof console&&console.warn("In LaTeX, "+e.funcName+" does not support mu units");return{type:"kern",dimension:t[0].value}},htmlBuilder:function(e,t){return i.a.makeGlue(e.value.dimension,t)},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mspace"),r=Object(a.a)(e.value.dimension,t);return n.setAttribute("width",r+"em"),n}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"phantom",names:["\\phantom"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"phantom",value:Object(r.c)(n)}},htmlBuilder:function(e,t){var n=a.a(e.value.value,t.withPhantom(),!1);return new i.a.makeFragment(n)},mathmlBuilder:function(e,t){var n=s.a(e.value.value,t);return new o.a.MathNode("mphantom",n)}}),Object(r.b)({type:"hphantom",names:["\\hphantom"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"hphantom",value:Object(r.c)(n),body:n}},htmlBuilder:function(e,t){var n=i.a.makeSpan([],[a.b(e.value.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(e,t){var n=s.a(e.value.value,t),r=new o.a.MathNode("mphantom",n);return r.setAttribute("height","0px"),r}}),Object(r.b)({type:"vphantom",names:["\\vphantom"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"vphantom",value:Object(r.c)(n),body:n}},htmlBuilder:function(e,t){var n=i.a.makeSpan(["inner"],[a.b(e.value.body,t.withPhantom())]),r=i.a.makeSpan(["fix"],[]);return i.a.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:function(e,t){var n=s.a(e.value.value,t),r=new o.a.MathNode("mphantom",n);return r.setAttribute("width","0px"),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(9),s=n(4),l=n(2),u=function(e,t){var n=[];if("bmod"===e.value.modType?t.style.isTight()?n.push(i.a.makeSpan(["mspace","thickspace"],[],t)):n.push(i.a.makeSpan(["mspace","muspace"],[],t)):t.style.size===a.a.DISPLAY.size?n.push(i.a.makeSpan(["mspace","quad"],[],t)):"mod"===e.value.modType?n.push(i.a.makeSpan(["mspace","twelvemuspace"],[],t)):n.push(i.a.makeSpan(["mspace","eightmuspace"],[],t)),"pod"!==e.value.modType&&"pmod"!==e.value.modType||n.push(i.a.mathsym("(",e.mode)),"pod"!==e.value.modType){var r=[i.a.mathsym("m",e.mode),i.a.mathsym("o",e.mode),i.a.mathsym("d",e.mode)];"bmod"===e.value.modType?(n.push(i.a.makeSpan(["mbin"],r,t)),t.style.isTight()?n.push(i.a.makeSpan(["mspace","thickspace"],[],t)):n.push(i.a.makeSpan(["mspace","muspace"],[],t))):(Array.prototype.push.apply(n,r),n.push(i.a.makeSpan(["mspace","sixmuspace"],[],t)))}return e.value.value&&Array.prototype.push.apply(n,s.a(e.value.value,t,!1)),"pod"!==e.value.modType&&"pmod"!==e.value.modType||n.push(i.a.mathsym(")",e.mode)),i.a.makeFragment(n)},c=function(e,t){var n=[];if("pod"!==e.value.modType&&"pmod"!==e.value.modType||n.push(new o.a.MathNode("mo",[l.e("(",e.mode)])),"pod"!==e.value.modType&&n.push(new o.a.MathNode("mo",[l.e("mod",e.mode)])),e.value.value){var r=new o.a.MathNode("mspace");r.setAttribute("width","0.333333em"),n.push(r),n=n.concat(l.a(e.value.value,t))}return"pod"!==e.value.modType&&"pmod"!==e.value.modType||n.push(new o.a.MathNode("mo",[l.e(")",e.mode)])),new o.a.MathNode("mo",n)};Object(r.b)({type:"mod",names:["\\bmod"],props:{numArgs:0},handler:function(e,t){return{type:"mod",modType:"bmod",value:null}},htmlBuilder:u,mathmlBuilder:c}),Object(r.b)({type:"mod",names:["\\pod","\\pmod","\\mod"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"mod",modType:e.funcName.substr(1),value:Object(r.c)(n)}},htmlBuilder:u,mathmlBuilder:c})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(12),a=n(1),s=n(5),l=n(9),u=n(4),c=n(2),d=function(e,t){var n=void 0,r=void 0,a=!1;"supsub"===e.type&&(n=e.value.sup,r=e.value.sub,e=e.value.base,a=!0);var c=t.style,d=["\\smallint"],f=!1;c.size===l.a.DISPLAY.size&&e.value.symbol&&!s.a.contains(d,e.value.body)&&(f=!0);var h=void 0;if(e.value.symbol){var p=f?"Size2-Regular":"Size1-Regular";h=i.a.makeSymbol(e.value.body,p,"math",t,["mop","op-symbol",f?"large-op":"small-op"])}else if(e.value.value){var m=u.a(e.value.value,t,!0);1===m.length&&m[0]instanceof o.a.symbolNode?(h=m[0],h.classes[0]="mop"):h=i.a.makeSpan(["mop"],m,t)}else{for(var g=[],v=1;v<e.value.body.length;v++)g.push(i.a.mathsym(e.value.body[v],e.mode));h=i.a.makeSpan(["mop"],g,t)}var y=0,b=0;if(h instanceof o.a.symbolNode&&(y=(h.height-h.depth)/2-t.fontMetrics().axisHeight,b=h.italic),a){h=i.a.makeSpan([],[h]);var w=void 0,E=void 0;if(n){var T=u.b(n,t.havingStyle(c.sup()),t);E={elem:T,kern:Math.max(t.fontMetrics().bigOpSpacing1,t.fontMetrics().bigOpSpacing3-T.depth)}}if(r){var _=u.b(r,t.havingStyle(c.sub()),t);w={elem:_,kern:Math.max(t.fontMetrics().bigOpSpacing2,t.fontMetrics().bigOpSpacing4-_.height)}}var k=void 0;if(E&&w){var x=t.fontMetrics().bigOpSpacing5+w.elem.height+w.elem.depth+w.kern+h.depth+y;k=i.a.makeVList({positionType:"bottom",positionData:x,children:[{type:"kern",size:t.fontMetrics().bigOpSpacing5},{type:"elem",elem:w.elem,marginLeft:-b+"em"},{type:"kern",size:w.kern},{type:"elem",elem:h},{type:"kern",size:E.kern},{type:"elem",elem:E.elem,marginLeft:b+"em"},{type:"kern",size:t.fontMetrics().bigOpSpacing5}]},t)}else if(w){var S=h.height-y;k=i.a.makeVList({positionType:"top",positionData:S,children:[{type:"kern",size:t.fontMetrics().bigOpSpacing5},{type:"elem",elem:w.elem,marginLeft:-b+"em"},{type:"kern",size:w.kern},{type:"elem",elem:h}]},t)}else{if(!E)return h;var C=h.depth+y;k=i.a.makeVList({positionType:"bottom",positionData:C,children:[{type:"elem",elem:h},{type:"kern",size:E.kern},{type:"elem",elem:E.elem,marginLeft:b+"em"},{type:"kern",size:t.fontMetrics().bigOpSpacing5}]},t)}return i.a.makeSpan(["mop","op-limits"],[k],t)}return y&&(h.style.position="relative",h.style.top=y+"em"),h},f=function(e,t){var n=void 0;if(e.value.symbol)n=new a.a.MathNode("mo",[c.e(e.value.body,e.mode)]);else{if(!e.value.value){n=new a.a.MathNode("mi",[new a.a.TextNode(e.value.body.slice(1))]);var r=new a.a.MathNode("mo",[c.e("\u2061","text")]);return new o.a.documentFragment([n,r])}n=new a.a.MathNode("mo",c.a(e.value.value,t))}return n},h={"\u220f":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22c0":"\\bigwedge","\u22c1":"\\bigvee","\u22c2":"\\bigcap","\u22c3":"\\bigcap","\u2a00":"\\bigodot","\u2a01":"\\bigoplus","\u2a02":"\\bigotimes","\u2a04":"\\biguplus","\u2a06":"\\bigsqcup"};Object(r.b)({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220f","\u2210","\u2211","\u22c0","\u22c1","\u22c2","\u22c3","\u2a00","\u2a01","\u2a02","\u2a04","\u2a06"],props:{numArgs:0},handler:function(e,t){var n=e.funcName;return 1===n.length&&(n=h[n]),{type:"op",limits:!0,symbol:!0,body:n}},htmlBuilder:d,mathmlBuilder:f}),Object(r.b)({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"op",limits:!1,symbol:!1,value:Object(r.c)(n)}},htmlBuilder:d,mathmlBuilder:f})},function(e,t,n){"use strict";var r=n(18),i=n.n(r),o=n(3),a=n(0),s=n(1),l=n(12),u=n(4),c=n(2);Object(o.b)({type:"operatorname",names:["\\operatorname"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"operatorname",value:Object(o.c)(n)}},htmlBuilder:function(e,t){var n=[];if(e.value.value.length>0){var r="",o="",s=!0,c=!1,d=void 0;try{for(var f,h=i()(e.value.value);!(s=(f=h.next()).done);s=!0){var p=f.value;-1!=="*-/:".indexOf(p.value)&&(p.type="textord")}}catch(e){c=!0,d=e}finally{try{!s&&h.return&&h.return()}finally{if(c)throw d}}var m=u.a(e.value.value,t.withFontFamily("mathrm"),!0),g=!0,v=!1,y=void 0;try{for(var b,w=i()(m);!(g=(b=w.next()).done);g=!0){var E=b.value;E instanceof l.a.symbolNode?(r=E.value,r=r.replace(/\u2212/,"-"),r=r.replace(/\u2217/,"*"),o=/[\u0391-\u03D7]/.test(r)?"math":"text",n.push(a.a.mathsym(r,o))):n.push(E)}}catch(e){v=!0,y=e}finally{try{!g&&w.return&&w.return()}finally{if(v)throw y}}}return a.a.makeSpan(["mop"],n,t)},mathmlBuilder:function(e,t){var n=[];if(e.value.value.length>0){var r=c.a(e.value.value,t.withFontFamily("mathrm")),i=r.map(function(e){return e.toText()}).join("");i=i.replace(/\u2212/g,"-"),i=i.replace(/\u2217/g,"*"),n=[new s.a.TextNode(i)]}var o=new s.a.MathNode("mi",n);o.setAttribute("mathvariant","normal");var a=new s.a.MathNode("mo",[c.e("\u2061","text")]);return new l.a.documentFragment([o,a])}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(44),a=n(1),s=n(9),l=n(4),u=n(2);Object(r.b)({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac"],props:{numArgs:2,greediness:2},handler:function(e,t){var n=t[0],r=t[1],i=void 0,o=null,a=null,s="auto";switch(e.funcName){case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,o="(",a=")";break;default:throw new Error("Unrecognized genfrac command")}switch(e.funcName){case"\\dfrac":case"\\dbinom":s="display";break;case"\\tfrac":case"\\tbinom":s="text"}return{type:"genfrac",numer:n,denom:r,hasBarLine:i,leftDelim:o,rightDelim:a,size:s}},htmlBuilder:function(e,t){var n=t.style;"display"===e.value.size?n=s.a.DISPLAY:"text"===e.value.size&&(n=s.a.TEXT);var r=n.fracNum(),a=n.fracDen(),u=void 0;u=t.havingStyle(r);var c=l.b(e.value.numer,u,t);u=t.havingStyle(a);var d=l.b(e.value.denom,u,t),f=void 0,h=void 0,p=void 0;e.value.hasBarLine?(f=i.a.makeLineSpan("frac-line",t),h=f.height,p=f.height):(f=null,h=0,p=t.fontMetrics().defaultRuleThickness);var m=void 0,g=void 0,v=void 0;n.size===s.a.DISPLAY.size?(m=t.fontMetrics().num1,g=h>0?3*p:7*p,v=t.fontMetrics().denom1):(h>0?(m=t.fontMetrics().num2,g=p):(m=t.fontMetrics().num3,g=3*p),v=t.fontMetrics().denom2);var y=void 0;if(f){var b=t.fontMetrics().axisHeight;m-c.depth-(b+.5*h)<g&&(m+=g-(m-c.depth-(b+.5*h))),b-.5*h-(d.height-v)<g&&(v+=g-(b-.5*h-(d.height-v)));var w=-(b-.5*h);y=i.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:d,shift:v},{type:"elem",elem:f,shift:w+2*h},{type:"elem",elem:c,shift:-m}]},t)}else{var E=m-c.depth-(d.height-v);E<g&&(m+=.5*(g-E),v+=.5*(g-E)),y=i.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:d,shift:v},{type:"elem",elem:c,shift:-m}]},t)}u=t.havingStyle(n),y.height*=u.sizeMultiplier/t.sizeMultiplier,y.depth*=u.sizeMultiplier/t.sizeMultiplier;var T=void 0;T=n.size===s.a.DISPLAY.size?t.fontMetrics().delim1:t.fontMetrics().delim2;var _=void 0,k=void 0;return _=null==e.value.leftDelim?l.e(t,["mopen"]):o.a.customSizedDelim(e.value.leftDelim,T,!0,t.havingStyle(n),e.mode,["mopen"]),k=null==e.value.rightDelim?l.e(t,["mclose"]):o.a.customSizedDelim(e.value.rightDelim,T,!0,t.havingStyle(n),e.mode,["mclose"]),i.a.makeSpan(["mord"].concat(u.sizingClasses(t)),[_,i.a.makeSpan(["mfrac"],[y]),k],t)},mathmlBuilder:function(e,t){var n=new a.a.MathNode("mfrac",[u.b(e.value.numer,t),u.b(e.value.denom,t)]);if(e.value.hasBarLine||n.setAttribute("linethickness","0px"),null!=e.value.leftDelim||null!=e.value.rightDelim){var r=[];if(null!=e.value.leftDelim){var i=new a.a.MathNode("mo",[new a.a.TextNode(e.value.leftDelim)]);i.setAttribute("fence","true"),r.push(i)}if(r.push(n),null!=e.value.rightDelim){var o=new a.a.MathNode("mo",[new a.a.TextNode(e.value.rightDelim)]);o.setAttribute("fence","true"),r.push(o)}return new a.a.MathNode("mrow",r)}return n}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=t[0];return{type:"lap",alignment:e.funcName.slice(5),body:n}},htmlBuilder:function(e,t){var n=void 0;"clap"===e.value.alignment?(n=i.a.makeSpan([],[a.b(e.value.body,t)]),n=i.a.makeSpan(["inner"],[n],t)):n=i.a.makeSpan(["inner"],[a.b(e.value.body,t)]);var r=i.a.makeSpan(["fix"],[]);return i.a.makeSpan(["mord",e.value.alignment],[n,r],t)},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mpadded",[s.b(e.value.body,t)]);if("rlap"!==e.value.alignment){var r="llap"===e.value.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,n){var r=!1,i=!1,o=n[0];if(o)for(var a="",s=0;s<o.value.length;++s)if("t"===(a=o.value[s].value))r=!0;else{if("b"!==a){r=!1,i=!1;break}i=!0}else r=!0,i=!0;return{type:"smash",body:t[0],smashHeight:r,smashDepth:i}},htmlBuilder:function(e,t){var n=i.a.makeSpan(["mord"],[a.b(e.value.body,t)]);if(!e.value.smashHeight&&!e.value.smashDepth)return n;if(e.value.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(e.value.smashDepth&&(n.depth=0,n.children))for(var o=0;o<n.children.length;o++)n.children[o].depth=0;return i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mpadded",[s.b(e.value.body,t)]);return e.value.smashHeight&&n.setAttribute("height","0px"),e.value.smashDepth&&n.setAttribute("depth","0px"),n}})},function(e,t,n){"use strict";function r(e,t){if(u.a.contains(h,e.value))return e;throw new l.a("Invalid delimiter: '"+e.value+"' after '"+t.funcName+"'",e)}var i=n(0),o=n(3),a=n(44),s=n(1),l=n(6),u=n(5),c=n(4),d=n(2),f={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},h=["(",")","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","<",">","\\langle","\u27e8","\\rangle","\u27e9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];Object(o.b)({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(e,t){var n=r(t[0],e);return{type:"delimsizing",size:f[e.funcName].size,mclass:f[e.funcName].mclass,value:n.value}},htmlBuilder:function(e,t){var n=e.value.value;return"."===n?i.a.makeSpan([e.value.mclass]):a.a.sizedDelim(n,e.value.size,t,e.mode,[e.value.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.value.value&&t.push(d.e(e.value.value,e.mode));var n=new s.a.MathNode("mo",t);return"mopen"===e.value.mclass||"mclose"===e.value.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n}}),Object(o.b)({type:"leftright",names:["\\left","\\right"],props:{numArgs:1},handler:function(e,t){var n=r(t[0],e);if("\\left"===e.funcName){var i=e.parser;++i.leftrightDepth;var o=i.parseExpression(!1);--i.leftrightDepth,i.expect("\\right",!1);var a=i.parseFunction();if(!a)throw new l.a("failed to parse function after \\right");return{type:"leftright",body:o,left:n.value,right:a.value.value}}return{type:"leftright",value:n.value}},htmlBuilder:function(e,t){for(var n=c.a(e.value.body,t,!0,[null,"mclose"]),r=0,o=0,s=!1,l=0;l<n.length;l++)n[l].isMiddle?s=!0:(r=Math.max(n[l].height,r),o=Math.max(n[l].depth,o));r*=t.sizeMultiplier,o*=t.sizeMultiplier;var u=void 0;if(u="."===e.value.left?c.e(t,["mopen"]):a.a.leftRightDelim(e.value.left,r,o,t,e.mode,["mopen"]),n.unshift(u),s)for(var d=1;d<n.length;d++){var f=n[d];f.isMiddle&&(n[d]=a.a.leftRightDelim(f.isMiddle.value,r,o,f.isMiddle.options,e.mode,[]))}var h=void 0;return h="."===e.value.right?c.e(t,["mclose"]):a.a.leftRightDelim(e.value.right,r,o,t,e.mode,["mclose"]),n.push(h),i.a.makeSpan(["minner"],n,t)},mathmlBuilder:function(e,t){var n=d.a(e.value.body,t);if("."!==e.value.left){var r=new s.a.MathNode("mo",[d.e(e.value.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if("."!==e.value.right){var i=new s.a.MathNode("mo",[d.e(e.value.right,e.mode)]);i.setAttribute("fence","true"),n.push(i)}return new s.a.MathNode("mrow",n)}}),Object(o.b)({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(e,t){var n=r(t[0],e);if(!e.parser.leftrightDepth)throw new l.a("\\middle without preceding \\left",n);return{type:"middle",value:n.value}},htmlBuilder:function(e,t){var n=void 0;return"."===e.value.value?n=c.e(t,[]):(n=a.a.sizedDelim(e.value.value,1,t,e.mode,[]),n.isMiddle={value:e.value.value,options:t}),n},mathmlBuilder:function(e,t){var n=new s.a.MathNode("mo",[d.e(e.value.middle,e.mode)]);return n.setAttribute("fence","true"),n}})},function(e,t,n){"use strict";var r=n(3),i=n(1),o=n(9),a=n(60),s=n(2),l={display:o.a.DISPLAY,text:o.a.TEXT,script:o.a.SCRIPT,scriptscript:o.a.SCRIPTSCRIPT};Object(r.b)({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser;i.consumeSpaces();var o=i.parseExpression(!0,n);return{type:"styling",style:r.slice(1,r.length-5),value:o}},htmlBuilder:function(e,t){var n=l[e.value.style],r=t.havingStyle(n);return Object(a.a)(e.value.value,r,t)},mathmlBuilder:function(e,t){var n={display:o.a.DISPLAY,text:o.a.TEXT,script:o.a.SCRIPT,scriptscript:o.a.SCRIPTSCRIPT},r=n[e.value.style],a=t.havingStyle(r),l=s.a(e.value.value,a),u=new i.a.MathNode("mstyle",l),c={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},d=c[e.value.style];return u.setAttribute("scriptlevel",d[0]),u.setAttribute("displaystyle",d[1]),u}})},function(e,t,n){"use strict";var r=n(134),i=n.n(r),o=n(3),a=n(14),s=n(4),l=n(2),u=function(e,t){var n=e.value.font;return s.b(e.value.body,t.withFontFamily(n))},c=function(e,t){var n=e.value.font;return l.b(e.value.body,t.withFontFamily(n))},d={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Object(o.b)({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\boldsymbol","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak","\\bm"],props:{numArgs:1,greediness:2},handler:function(e,t){var n=t[0],r=e.funcName;return r in d&&(r=d[r]),{type:"font",font:r.slice(1),body:n}},htmlBuilder:u,mathmlBuilder:c});var f={"\\rm":"mathrm","\\sf":"mathsf","\\tt":"mathtt","\\bf":"mathbf","\\it":"mathit"};Object(o.b)({type:"font",names:i()(f),props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=e.breakOnTokenText;n.consumeSpaces();var o=n.parseExpression(!0,i);return{type:"font",font:f[r],body:new a.a("ordgroup",o,n.mode)}},htmlBuilder:u,mathmlBuilder:c})},function(e,t,n){e.exports={default:n(135),__esModule:!0}},function(e,t,n){n(136),e.exports=n(8).Object.keys},function(e,t,n){var r=n(29),i=n(39);n(46)("keys",function(){return function(e){return i(r(e))}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(5),s=n(13),l=n(4),u=n(2),c=function(e,t){var n=e.value.base,r=void 0;if("supsub"===e.type){var o=e;e=o.value.base,n=e.value.base,o.value.base=n,r=l.b(o,t)}var u=l.b(n,t.havingCrampedStyle()),c=e.value.isShifty&&a.a.isCharacterBox(n),d=0;if(c){var f=a.a.getBaseElem(n);d=l.b(f,t.havingCrampedStyle()).skew}var h=Math.min(u.height,t.fontMetrics().xHeight),p=void 0;if(e.value.isStretchy)p=s.a.svgSpan(e,t),p=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"elem",elem:p,wrapperClasses:["svg-align"],wrapperStyle:d>0?{width:"calc(100% - "+2*d+"em)",marginLeft:2*d+"em"}:void 0}]},t);else{var m=void 0,g=void 0;"\\vec"===e.value.label?(m=i.a.staticSvg("vec",t),g=i.a.svgData.vec[1]):(m=i.a.makeSymbol(e.value.label,"Main-Regular",e.mode,t),m.italic=0,g=m.width),p=i.a.makeSpan(["accent-body"],[m]);var v=-g/2;v+=d,p.style.left=v+"em",p=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:-h},{type:"elem",elem:p}]},t)}var y=i.a.makeSpan(["mord","accent"],[p],t);return r?(r.children[0]=y,r.height=Math.max(y.height,r.height),r.classes[0]="mord",r):y},d=function(e,t){var n=void 0;n=e.value.isStretchy?s.a.mathMLnode(e.value.label):new o.a.MathNode("mo",[u.e(e.value.label,e.mode)]);var r=new o.a.MathNode("mover",[u.b(e.value.base,t),n]);return r.setAttribute("accent","true"),r},f=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(e){return"\\"+e}).join("|"));Object(r.b)({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(e,t){var n=t[0],r=!f.test(e.funcName),i=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName;return{type:"accent",label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:c,mathmlBuilder:d}),Object(r.b)({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=t[0];return{type:"accent",label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:c,mathmlBuilder:d})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(13),s=n(4),l=n(2);Object(r.b)({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"accentUnder",label:e.funcName,base:n}},htmlBuilder:function(e,t){var n=s.b(e.value.base,t),r=a.a.svgSpan(e,t),o="\\utilde"===e.value.label?.12:0,l=i.a.makeVList({positionType:"bottom",positionData:r.height+o,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:n}]},t);return i.a.makeSpan(["mord","accentunder"],[l],t)},mathmlBuilder:function(e,t){var n=a.a.mathMLnode(e.value.label),r=new o.a.MathNode("munder",[l.b(e.value.body,t),n]);return r.setAttribute("accentunder","true"),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(6);Object(r.b)({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,n){throw new a.a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var n=i.a.makeVerb(e,t),r=[],o=t.havingStyle(t.style.text()),a=0;a<n.length;a++)if("\xa0"===n[a]){var s=i.a.makeSpan(["mord","rule"],[],o);s.style.marginLeft="0.525em",r.push(s)}else r.push(i.a.makeSymbol(n[a],"Typewriter-Regular",e.mode,o,["mathtt"]));return i.a.tryCombineChars(r),i.a.makeSpan(["mord","text"].concat(o.sizingClasses(t)),r,o)},mathmlBuilder:function(e,t){var n=new o.a.TextNode(i.a.makeVerb(e,t)),r=new o.a.MathNode("mtext",[n]);return r.setAttribute("mathvariant",i.a.fontMap.mathtt.variant),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(4),s=n(2);Object(r.b)({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"]},handler:function(e,t){var n=t[1];return{type:"href",href:t[0].value,body:Object(r.c)(n)}},htmlBuilder:function(e,t){var n=a.a(e.value.body,t,!1),r=e.value.href;return new i.a.makeAnchor(r,[],n,t)},mathmlBuilder:function(e,t){var n=s.a(e.value.body,t),r=new o.a.MathNode("mrow",n);return r.setAttribute("href",e.value.href),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),o=n(1),a=n(9),s=n(4),l=n(2),u=function(e,t){var n=t.style;return n.size===a.a.DISPLAY.size?e.value.display:n.size===a.a.TEXT.size?e.value.text:n.size===a.a.SCRIPT.size?e.value.script:n.size===a.a.SCRIPTSCRIPT.size?e.value.scriptscript:e.value.text};Object(r.b)({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(e,t){return{type:"mathchoice",display:Object(r.c)(t[0]),text:Object(r.c)(t[1]),script:Object(r.c)(t[2]),scriptscript:Object(r.c)(t[3])}},htmlBuilder:function(e,t){var n=u(e,t),r=s.a(n,t,!1);return new i.a.makeFragment(r)},mathmlBuilder:function(e,t){var n=u(e,t),r=l.a(n,t,!1);return new o.a.MathNode("mrow",r)}})},function(e,t,n){"use strict";var r=n(61),i=(n(143),r.a);t.a=i},function(e,t,n){"use strict";function r(e,t,n){for(var r=[],i=[r],o=[];;){var a=e.parseExpression(!1,void 0);a=new u.a("ordgroup",a,e.mode),n&&(a=new u.a("styling",{style:n,value:[a]},e.mode)),r.push(a);var s=e.nextToken.text;if("&"===s)e.consume();else{if("\\end"===s){var c=i[i.length-1];i.length>1&&1===c.length&&0===c[0].value.value[0].value.length&&i.pop();break}if("\\\\"!==s&&"\\cr"!==s)throw new l.a("Expected & or \\\\ or \\end",e.nextToken);var d=e.parseFunction();if(!d)throw new l.a("Failed to parse function after "+s);o.push(d.value.size),r=[],i.push(r)}}return t.body=i,t.rowGaps=o,new u.a(t.type,t,e.mode)}function i(e){return"d"===e.substr(0,1)?"display":"text"}var o=n(0),a=n(61),s=n(1),l=n(6),u=n(14),c=n(19),d=n(5),f=n(13),h=n(4),p=n(2),m=function(e,t){var n=void 0,r=void 0,i=e.value.body.length,a=0,s=new Array(i),u=1/t.fontMetrics().ptPerEm,p=5*u,m=12*u,g=3*u,v=d.a.deflt(e.value.arraystretch,1),y=v*m,b=.7*y,w=.3*y,E=0;for(n=0;n<e.value.body.length;++n){var T=e.value.body[n],_=b,k=w;a<T.length&&(a=T.length);var x=new Array(T.length);for(r=0;r<T.length;++r){var S=h.b(T[r],t);k<S.depth&&(k=S.depth),_<S.height&&(_=S.height),x[r]=S}var C=0;e.value.rowGaps[n]&&(C=Object(c.a)(e.value.rowGaps[n].value,t))>0&&(C+=w,k<C&&(k=C),C=0),e.value.addJot&&(k+=g),x.height=_,x.depth=k,E+=_,x.pos=E,E+=k+C,s[n]=x}var O=E/2+t.fontMetrics().axisHeight,A=e.value.cols||[],P=[],I=void 0,R=void 0;for(r=0,R=0;r<a||R<A.length;++r,++R){for(var N=A[R]||{},M=!0;"separator"===N.type;){if(M||(I=o.a.makeSpan(["arraycolsep"],[]),I.style.width=t.fontMetrics().doubleRuleSep+"em",P.push(I)),"|"!==N.separator)throw new l.a("Invalid separator type: "+N.separator);var D=f.a.ruleSpan("vertical-separator",.05,t);D.style.height=E+"em",D.style.verticalAlign=-(E-O)+"em",P.push(D),R++,N=A[R]||{},M=!1}if(!(r>=a)){var L=void 0;(r>0||e.value.hskipBeforeAndAfter)&&0!==(L=d.a.deflt(N.pregap,p))&&(I=o.a.makeSpan(["arraycolsep"],[]),I.style.width=L+"em",P.push(I));var j=[];for(n=0;n<i;++n){var W=s[n],B=W[r];if(B){var F=W.pos-O;B.depth=W.depth,B.height=W.height,j.push({type:"elem",elem:B,shift:F})}}j=o.a.makeVList({positionType:"individualShift",children:j},t),j=o.a.makeSpan(["col-align-"+(N.align||"c")],[j]),P.push(j),(r<a-1||e.value.hskipBeforeAndAfter)&&0!==(L=d.a.deflt(N.postgap,p))&&(I=o.a.makeSpan(["arraycolsep"],[]),I.style.width=L+"em",P.push(I))}}return s=o.a.makeSpan(["mtable"],P),o.a.makeSpan(["mord"],[s],t)},g=function(e,t){return new s.a.MathNode("mtable",e.value.body.map(function(e){return new s.a.MathNode("mtr",e.map(function(e){return new s.a.MathNode("mtd",[p.b(e,t)])}))}))},v=function(e,t){var n={type:"array",cols:[],addJot:!0};n=r(e.parser,n,"display");var i=void 0,o=0,a=new u.a("ordgroup",[],e.mode);if(t[0]&&t[0].value){for(var s="",c=0;c<t[0].value.length;c++)s+=t[0].value[c].value;i=Number(s),o=2*i}var d=!o;n.value.body.forEach(function(e){for(var t=1;t<e.length;t+=2){e[t].value.value[0].value.unshift(a)}if(d)o<e.length&&(o=e.length);else{var n=e.length/2;if(i<n)throw new l.a("Too many math in a row: expected "+i+", but got "+n,e)}});for(var f=0;f<o;++f){var h="r",p=0;f%2===1?h="l":f>0&&d&&(p=1),n.value.cols[f]={type:"align",align:h,pregap:p,postgap:0}}return n};Object(a.b)({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var n=t[0];n=n.value.map?n.value:[n];var o=n.map(function(e){var t=e.value;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};throw new l.a("Unknown column alignment: "+e.value,e)}),a={type:"array",cols:o,hskipBeforeAndAfter:!0};return a=r(e.parser,a,i(e.envName))},htmlBuilder:m,mathmlBuilder:g}),Object(a.b)({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName],n={type:"array",hskipBeforeAndAfter:!1};return n=r(e.parser,n,i(e.envName)),t&&(n=new u.a("leftright",{body:[n],left:t[0],right:t[1]},e.mode)),n},htmlBuilder:m,mathmlBuilder:g}),Object(a.b)({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(e){var t={type:"array",arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]};return t=r(e.parser,t,i(e.envName)),t=new u.a("leftright",{body:[t],left:"\\{",right:"."},e.mode)},htmlBuilder:m,mathmlBuilder:g}),Object(a.b)({type:"array",names:["aligned"],props:{numArgs:0},handler:v,htmlBuilder:m,mathmlBuilder:g}),Object(a.b)({type:"array",names:["gathered"],props:{numArgs:0},handler:function(e){var t={type:"array",cols:[{type:"align",align:"c"}],addJot:!0};return t=r(e.parser,t,"display")},htmlBuilder:m,mathmlBuilder:g}),Object(a.b)({type:"array",names:["alignedat"],props:{numArgs:1},handler:v,htmlBuilder:m,mathmlBuilder:g})},function(e,t,n){"use strict";var r=n(35),i=n.n(r),o=n(7),a=n.n(o),s=n(10),l=n.n(s),u=n(62),c=n(27),d=n(146),f=n(6),h=n(147),p=n.n(h),m=function(){function e(t,n,r){a()(this,e),this.lexer=new u.c(t),this.macros=p()({},d.a,n),this.mode=r,this.stack=[]}return l()(e,[{key:"switchMode",value:function(e){this.mode=e}},{key:"future",value:function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}},{key:"popToken",value:function(){return this.future(),this.stack.pop()}},{key:"pushToken",value:function(e){this.stack.push(e)}},{key:"pushTokens",value:function(e){var t;(t=this.stack).push.apply(t,i()(e))}},{key:"consumeSpaces",value:function(){for(;;){if(" "!==this.future().text)break;this.stack.pop()}}},{key:"consumeArgs",value:function(e){for(var t=[],n=0;n<e;++n){this.consumeSpaces();var r=this.popToken();if("{"===r.text){for(var i=[],o=1;0!==o;){var a=this.popToken();if(i.push(a),"{"===a.text)++o;else if("}"===a.text)--o;else if("EOF"===a.text)throw new f.a("End of input in macro argument",r)}i.pop(),i.reverse(),t[n]=i}else{if("EOF"===r.text)throw new f.a("End of input expecting macro argument");t[n]=[r]}}return t}},{key:"expandOnce",value:function(){var e=this.popToken(),t=e.text;if("\\"===t.charAt(0)&&u.b.test(t)&&this.consumeSpaces(),!this.macros.hasOwnProperty(t))return this.pushToken(e),e;var n=this._getExpansion(t),r=n.tokens,o=n.numArgs,a=r;if(o){var s=this.consumeArgs(o);a=a.slice();for(var l=a.length-1;l>=0;--l){var c=a[l];if("#"===c.text){if(0===l)throw new f.a("Incomplete placeholder at end of macro body",c);if(c=a[--l],"#"===c.text)a.splice(l+1,1);else{if(!/^[1-9]$/.test(c.text))throw new f.a("Not a valid argument number",c);var d;(d=a).splice.apply(d,[l,2].concat(i()(s[+c.text-1])))}}}}return this.pushTokens(a),a}},{key:"expandAfterFuture",value:function(){return this.expandOnce(),this.future()}},{key:"expandNextToken",value:function(){for(;;){var e=this.expandOnce();if(e instanceof c.a){if("\\relax"!==e.text)return this.stack.pop();this.stack.pop()}}throw new Error}},{key:"_getExpansion",value:function(e){var t=this.macros[e],n="function"===typeof t?t(this):t;if("string"===typeof n){var r=0;if(-1!==n.indexOf("#"))for(var i=n.replace(/##/g,"");-1!==i.indexOf("#"+(r+1));)++r;for(var o=new u.c(n),a=[],s=o.lex();"EOF"!==s.text;)a.push(s),s=o.lex();a.reverse();var l={tokens:a,numArgs:r};return"function"!==typeof t&&(this.macros[e]=l),l}return n}}]),e}();t.a=m},function(e,t){function n(e){if(!e.__matchAtRelocatable){var t=e.source+"|()",n="g"+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"");e.__matchAtRelocatable=new RegExp(t,n)}return e.__matchAtRelocatable}function r(e,t,r){if(e.global||e.sticky)throw new Error("matchAt(...): Only non-global regexes are supported");var i=n(e);i.lastIndex=r;var o=i.exec(t);return null==o[o.length-1]?(o.length=o.length-1,o):null}e.exports=r},function(e,t,n){"use strict";function r(e,t){s[e]=t}var i=n(59),o=n(28),a=n(5),s=(n(27),{});t.a=s,r("\\@firstoftwo",function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),r("\\@secondoftwo",function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),r("\\@ifnextchar",function(e){var t=e.consumeArgs(3),n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),r("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),r("\\TextOrMath",function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}),r("\\bgroup","{"),r("\\egroup","}"),r("\\begingroup","{"),r("\\endgroup","}"),r("\\lq","`"),r("\\rq","'"),r("\\lbrack","["),r("\\rbrack","]"),r("\\aa","\\r a"),r("\\AA","\\r A"),r("\u2102","\\mathbb{C}"),r("\u210d","\\mathbb{H}"),r("\u2115","\\mathbb{N}"),r("\u2119","\\mathbb{P}"),r("\u211a","\\mathbb{Q}"),r("\u211d","\\mathbb{R}"),r("\u2124","\\mathbb{Z}"),r("\xb7","\\cdotp"),r("\\llap","\\mathllap{\\textrm{#1}}"),r("\\rlap","\\mathrlap{\\textrm{#1}}"),r("\\clap","\\mathclap{\\textrm{#1}}"),r("\\varGamma","\\mathit{\\Gamma}"),r("\\varDelta","\\mathit{\\Delta}"),r("\\varTheta","\\mathit{\\Theta}"),r("\\varLambda","\\mathit{\\Lambda}"),r("\\varXi","\\mathit{\\Xi}"),r("\\varPi","\\mathit{\\Pi}"),r("\\varSigma","\\mathit{\\Sigma}"),r("\\varUpsilon","\\mathit{\\Upsilon}"),r("\\varPhi","\\mathit{\\Phi}"),r("\\varPsi","\\mathit{\\Psi}"),r("\\varOmega","\\mathit{\\Omega}"),r("\\overset","\\mathop{#2}\\limits^{#1}"),r("\\underset","\\mathop{#2}\\limits_{#1}"),r("\\boxed","\\fbox{\\displaystyle{#1}}"),r("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),r("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),r("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var l={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\implies":"\\dotsb","\\impliedby":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\iff":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\bmod":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};r("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in l?t=l[n]:"\\not"===n.substr(0,4)?t="\\dotsb":n in o.a.math&&a.a.contains(["bin","rel"],o.a.math[n].group)&&(t="\\dotsb"),t});var u={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};r("\\dotso",function(e){return e.future().text in u?"\\ldots\\,":"\\ldots"}),r("\\dotsc",function(e){var t=e.future().text;return t in u&&","!==t?"\\ldots\\,":"\\ldots"}),r("\\cdots",function(e){return e.future().text in u?"\\@cdots\\,":"\\@cdots"}),r("\\dotsb","\\cdots"),r("\\dotsm","\\cdots"),r("\\dotsi","\\!\\cdots"),r("\\dotsx","\\ldots\\,"),r("\\DOTSI","\\relax"),r("\\DOTSB","\\relax"),r("\\DOTSX","\\relax"),r("\\thinspace","\\,"),r("\\medspace","\\:"),r("\\thickspace","\\;"),r("\\TeX","\\textrm{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}");var c=i.a["Main-Regular"]["T".charCodeAt(0)][1]-.7*i.a["Main-Regular"]["A".charCodeAt(0)][1]+"em";r("\\LaTeX","\\textrm{L\\kern-.36em\\raisebox{"+c+"}{\\scriptsize A}\\kern-.15em\\TeX}"),r("\\KaTeX","\\textrm{K\\kern-.17em\\raisebox{"+c+"}{\\scriptsize A}\\kern-.15em\\TeX}"),r("\\hspace","\\@ifstar\\kern\\kern"),r("\\ordinarycolon",":"),r("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),r("\\dblcolon","\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon"),r("\\coloneqq","\\vcentcolon\\mathrel{\\mkern-1.2mu}="),r("\\Coloneqq","\\dblcolon\\mathrel{\\mkern-1.2mu}="),r("\\coloneq","\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}"),r("\\Coloneq","\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}"),r("\\eqqcolon","=\\mathrel{\\mkern-1.2mu}\\vcentcolon"),r("\\Eqqcolon","=\\mathrel{\\mkern-1.2mu}\\dblcolon"),r("\\eqcolon","\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon"),r("\\Eqcolon","\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon"),r("\\colonapprox","\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx"),r("\\Colonapprox","\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx"),r("\\colonsim","\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim"),r("\\Colonsim","\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim"),r("\u2254","\\coloneqq"),r("\u2255","\\eqqcolon"),r("\u2a74","\\Coloneqq"),r("\\ratio","\\vcentcolon"),r("\\coloncolon","\\dblcolon"),r("\\colonequals","\\coloneqq"),r("\\coloncolonequals","\\Coloneqq"),r("\\equalscolon","\\eqqcolon"),r("\\equalscoloncolon","\\Eqqcolon"),r("\\colonminus","\\coloneq"),r("\\coloncolonminus","\\Coloneq"),r("\\minuscolon","\\eqcolon"),r("\\minuscoloncolon","\\Eqcolon"),r("\\coloncolonapprox","\\Colonapprox"),r("\\coloncolonsim","\\Colonsim"),r("\\simcolon","\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon"),r("\\simcoloncolon","\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon"),r("\\approxcolon","\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon"),r("\\approxcoloncolon","\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon"),r("\\notni","\\not\\ni"),r("\\limsup","\\DOTSB\\mathop{\\operatorname{lim\\,sup}}\\limits"),r("\\liminf","\\DOTSB\\mathop{\\operatorname{lim\\,inf}}\\limits")},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=r(e),u=1;u<arguments.length;u++){n=Object(arguments[u]);for(var c in n)o.call(n,c)&&(l[c]=n[c]);if(i){s=i(n);for(var d=0;d<s.length;d++)a.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t){e.exports={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030c":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030a":{text:"\\r",math:"\\mathring"},"\u030b":{text:"\\H"}}},function(e,t,n){"use strict";t.a={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308","\u01df":"a\u0308\u0304","\xe3":"a\u0303","\u0101":"a\u0304","\u0103":"a\u0306","\u1eaf":"a\u0306\u0301","\u1eb1":"a\u0306\u0300","\u1eb5":"a\u0306\u0303","\u01ce":"a\u030c","\xe2":"a\u0302","\u1ea5":"a\u0302\u0301","\u1ea7":"a\u0302\u0300","\u1eab":"a\u0302\u0303","\u0227":"a\u0307","\u01e1":"a\u0307\u0304","\xe5":"a\u030a","\u01fb":"a\u030a\u0301","\u1e03":"b\u0307","\u0107":"c\u0301","\u010d":"c\u030c","\u0109":"c\u0302","\u010b":"c\u0307","\u010f":"d\u030c","\u1e0b":"d\u0307","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308","\u1ebd":"e\u0303","\u0113":"e\u0304","\u1e17":"e\u0304\u0301","\u1e15":"e\u0304\u0300","\u0115":"e\u0306","\u011b":"e\u030c","\xea":"e\u0302","\u1ebf":"e\u0302\u0301","\u1ec1":"e\u0302\u0300","\u1ec5":"e\u0302\u0303","\u0117":"e\u0307","\u1e1f":"f\u0307","\u01f5":"g\u0301","\u1e21":"g\u0304","\u011f":"g\u0306","\u01e7":"g\u030c","\u011d":"g\u0302","\u0121":"g\u0307","\u1e27":"h\u0308","\u021f":"h\u030c","\u0125":"h\u0302","\u1e23":"h\u0307","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308","\u1e2f":"i\u0308\u0301","\u0129":"i\u0303","\u012b":"i\u0304","\u012d":"i\u0306","\u01d0":"i\u030c","\xee":"i\u0302","\u01f0":"j\u030c","\u0135":"j\u0302","\u1e31":"k\u0301","\u01e9":"k\u030c","\u013a":"l\u0301","\u013e":"l\u030c","\u1e3f":"m\u0301","\u1e41":"m\u0307","\u0144":"n\u0301","\u01f9":"n\u0300","\xf1":"n\u0303","\u0148":"n\u030c","\u1e45":"n\u0307","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308","\u022b":"o\u0308\u0304","\xf5":"o\u0303","\u1e4d":"o\u0303\u0301","\u1e4f":"o\u0303\u0308","\u022d":"o\u0303\u0304","\u014d":"o\u0304","\u1e53":"o\u0304\u0301","\u1e51":"o\u0304\u0300","\u014f":"o\u0306","\u01d2":"o\u030c","\xf4":"o\u0302","\u1ed1":"o\u0302\u0301","\u1ed3":"o\u0302\u0300","\u1ed7":"o\u0302\u0303","\u022f":"o\u0307","\u0231":"o\u0307\u0304","\u0151":"o\u030b","\u1e55":"p\u0301","\u1e57":"p\u0307","\u0155":"r\u0301","\u0159":"r\u030c","\u1e59":"r\u0307","\u015b":"s\u0301","\u1e65":"s\u0301\u0307","\u0161":"s\u030c","\u1e67":"s\u030c\u0307","\u015d":"s\u0302","\u1e61":"s\u0307","\u1e97":"t\u0308","\u0165":"t\u030c","\u1e6b":"t\u0307","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308","\u01d8":"u\u0308\u0301","\u01dc":"u\u0308\u0300","\u01d6":"u\u0308\u0304","\u01da":"u\u0308\u030c","\u0169":"u\u0303","\u1e79":"u\u0303\u0301","\u016b":"u\u0304","\u1e7b":"u\u0304\u0308","\u016d":"u\u0306","\u01d4":"u\u030c","\xfb":"u\u0302","\u016f":"u\u030a","\u0171":"u\u030b","\u1e7d":"v\u0303","\u1e83":"w\u0301","\u1e81":"w\u0300","\u1e85":"w\u0308","\u0175":"w\u0302","\u1e87":"w\u0307","\u1e98":"w\u030a","\u1e8d":"x\u0308","\u1e8b":"x\u0307","\xfd":"y\u0301","\u1ef3":"y\u0300","\xff":"y\u0308","\u1ef9":"y\u0303","\u0233":"y\u0304","\u0177":"y\u0302","\u1e8f":"y\u0307","\u1e99":"y\u030a","\u017a":"z\u0301","\u017e":"z\u030c","\u1e91":"z\u0302","\u017c":"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308","\u01de":"A\u0308\u0304","\xc3":"A\u0303","\u0100":"A\u0304","\u0102":"A\u0306","\u1eae":"A\u0306\u0301","\u1eb0":"A\u0306\u0300","\u1eb4":"A\u0306\u0303","\u01cd":"A\u030c","\xc2":"A\u0302","\u1ea4":"A\u0302\u0301","\u1ea6":"A\u0302\u0300","\u1eaa":"A\u0302\u0303","\u0226":"A\u0307","\u01e0":"A\u0307\u0304","\xc5":"A\u030a","\u01fa":"A\u030a\u0301","\u1e02":"B\u0307","\u0106":"C\u0301","\u010c":"C\u030c","\u0108":"C\u0302","\u010a":"C\u0307","\u010e":"D\u030c","\u1e0a":"D\u0307","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308","\u1ebc":"E\u0303","\u0112":"E\u0304","\u1e16":"E\u0304\u0301","\u1e14":"E\u0304\u0300","\u0114":"E\u0306","\u011a":"E\u030c","\xca":"E\u0302","\u1ebe":"E\u0302\u0301","\u1ec0":"E\u0302\u0300","\u1ec4":"E\u0302\u0303","\u0116":"E\u0307","\u1e1e":"F\u0307","\u01f4":"G\u0301","\u1e20":"G\u0304","\u011e":"G\u0306","\u01e6":"G\u030c","\u011c":"G\u0302","\u0120":"G\u0307","\u1e26":"H\u0308","\u021e":"H\u030c","\u0124":"H\u0302","\u1e22":"H\u0307","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308","\u1e2e":"I\u0308\u0301","\u0128":"I\u0303","\u012a":"I\u0304","\u012c":"I\u0306","\u01cf":"I\u030c","\xce":"I\u0302","\u0130":"I\u0307","\u0134":"J\u0302","\u1e30":"K\u0301","\u01e8":"K\u030c","\u0139":"L\u0301","\u013d":"L\u030c","\u1e3e":"M\u0301","\u1e40":"M\u0307","\u0143":"N\u0301","\u01f8":"N\u0300","\xd1":"N\u0303","\u0147":"N\u030c","\u1e44":"N\u0307","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308","\u022a":"O\u0308\u0304","\xd5":"O\u0303","\u1e4c":"O\u0303\u0301","\u1e4e":"O\u0303\u0308","\u022c":"O\u0303\u0304","\u014c":"O\u0304","\u1e52":"O\u0304\u0301","\u1e50":"O\u0304\u0300","\u014e":"O\u0306","\u01d1":"O\u030c","\xd4":"O\u0302","\u1ed0":"O\u0302\u0301","\u1ed2":"O\u0302\u0300","\u1ed6":"O\u0302\u0303","\u022e":"O\u0307","\u0230":"O\u0307\u0304","\u0150":"O\u030b","\u1e54":"P\u0301","\u1e56":"P\u0307","\u0154":"R\u0301","\u0158":"R\u030c","\u1e58":"R\u0307","\u015a":"S\u0301","\u1e64":"S\u0301\u0307","\u0160":"S\u030c","\u1e66":"S\u030c\u0307","\u015c":"S\u0302","\u1e60":"S\u0307","\u0164":"T\u030c","\u1e6a":"T\u0307","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308","\u01d7":"U\u0308\u0301","\u01db":"U\u0308\u0300","\u01d5":"U\u0308\u0304","\u01d9":"U\u0308\u030c","\u0168":"U\u0303","\u1e78":"U\u0303\u0301","\u016a":"U\u0304","\u1e7a":"U\u0304\u0308","\u016c":"U\u0306","\u01d3":"U\u030c","\xdb":"U\u0302","\u016e":"U\u030a","\u0170":"U\u030b","\u1e7c":"V\u0303","\u1e82":"W\u0301","\u1e80":"W\u0300","\u1e84":"W\u0308","\u0174":"W\u0302","\u1e86":"W\u0307","\u1e8c":"X\u0308","\u1e8a":"X\u0307","\xdd":"Y\u0301","\u1ef2":"Y\u0300","\u0178":"Y\u0308","\u1ef8":"Y\u0303","\u0232":"Y\u0304","\u0176":"Y\u0302","\u1e8e":"Y\u0307","\u0179":"Z\u0301","\u017d":"Z\u030c","\u1e90":"Z\u0302","\u017b":"Z\u0307","\u03ac":"\u03b1\u0301","\u1f70":"\u03b1\u0300","\u1fb1":"\u03b1\u0304","\u1fb0":"\u03b1\u0306","\u03ad":"\u03b5\u0301","\u1f72":"\u03b5\u0300","\u03ae":"\u03b7\u0301","\u1f74":"\u03b7\u0300","\u03af":"\u03b9\u0301","\u1f76":"\u03b9\u0300","\u03ca":"\u03b9\u0308","\u0390":"\u03b9\u0308\u0301","\u1fd2":"\u03b9\u0308\u0300","\u1fd1":"\u03b9\u0304","\u1fd0":"\u03b9\u0306","\u03cc":"\u03bf\u0301","\u1f78":"\u03bf\u0300","\u03cd":"\u03c5\u0301","\u1f7a":"\u03c5\u0300","\u03cb":"\u03c5\u0308","\u03b0":"\u03c5\u0308\u0301","\u1fe2":"\u03c5\u0308\u0300","\u1fe1":"\u03c5\u0304","\u1fe0":"\u03c5\u0306","\u03ce":"\u03c9\u0301","\u1f7c":"\u03c9\u0300","\u038e":"\u03a5\u0301","\u1fea":"\u03a5\u0300","\u03ab":"\u03a5\u0308","\u1fe9":"\u03a5\u0304","\u1fe8":"\u03a5\u0306","\u038f":"\u03a9\u0301","\u1ffa":"\u03a9\u0300"}}]).default})},function(e,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 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 o(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)}n.d(t,"a",function(){return v});var a=n(1),s=n.n(a),l=n(222),u=n.n(l),c=n(54),d=n.n(c),f=n(615),h=(n.n(f),n(40)),p=n.n(h),m=n(32),g=(n.n(m),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}());Object(l.configureAnchors)({offset:-18,scrollDuration:1e3});var v=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.updateDim=function(){window.innerWidth<=n.minWidth&&!n.state.minimized?n.setState({minimized:!0}):window.innerWidth>n.minWidth&&n.state.minimized&&n.setState({minimized:!1,drawerOpen:!1}),n.setState({innerHeight:window.innerHeight})},n.imageLoaded=function(){n.setState({imageLoaded:!0})},n.componentWillMount=function(){window.innerWidth<=n.minWidth&&n.setState({minimized:!0})},n.moveBackground=function(){if(window.pageYOffset<n.state.innerHeight&&!n.state.minimized){n.x+=(n.lFollowX-n.x)*n.friction,n.y+=(n.lFollowY-n.y)*n.friction,n.tX+=(n.lFollowX-n.x)*n.friction*2,n.tY+=(n.lFollowY-n.y)*n.friction*2;var e="translate("+n.x+"px, "+n.y+"px) scale(1.1)",t="translate("+n.tX+"px, "+n.tY+"px) scale(1.0)";n.setState({translate:e,translateText:t})}},n.moveBackgroundEvent=function(e){},n.state={imageLoaded:!1,translate:"scale(1.1)",translateText:"scale(1.0)",minimized:!1,innerHeight:window.innerHeight},n.defaultImage="T--Washington--MB.jpg";var o=new Image;return o.src=n.props.params.BACKGROUND?n.props.params.BACKGROUND:n.defaultImage,o.onload=n.imageLoaded,n.x=0,n.y=0,n.tX=0,n.tY=0,n.lFollowX=0,n.lFollowY=0,n.friction=1/30,n.minWidth=1054,window.addEventListener("resize",n.updateDim),n}return o(t,e),g(t,[{key:"render",value:function(){var e=this.props.params,t=e.BACKGROUNDLIGHTNESS?e.BACKGROUNDLIGHTNESS:0,n=e.BACKGROUND?e.BACKGROUND:this.defaultImage,r=e.BACKGROUNDOPACITY?e.BACKGROUNDOPACITY:.6,i=e.TITLEHEIGHT?e.TITLEHEIGHT:12,o=e.SUBTITLEHEIGHT?e.SUBTITLEHEIGHT:7,a=e.TITLE?e.TITLE:"Stronger Together",l=e.SUBTITLE?e.SUBTITLE:"",c=e.BUTTONTEXT?e.BUTTONTEXT:"Overview",f=(e.CONTENTTITLE&&e.CONTENTTITLE,e.CONTENTSUBTITLE&&e.CONTENTSUBTITLE,e.CONTENT&&e.CONTENT.split(";"),e.BLUR?e.BLUR:5);return s.a.createElement("div",null,s.a.createElement(p.a,{when:this.state.imageLoaded},s.a.createElement("div",{style:{width:"100%",height:window.innerHeight+18,textAlign:"center",margin:"auto",overflow:"hidden",position:"relative"}},s.a.createElement("div",{style:{width:"100%",height:"100%",backgroundAttachment:"fixed",background:"url("+n+") no-repeat center center",backgroundColor:"hsla(0,0%,"+t+"%,"+r+")",backgroundBlendMode:"overlay",backgroundSize:"cover",position:"absolute",filter:"blur("+f+"px)",top:0,left:0,WebkitTransform:this.state.translate,transform:this.state.translate,msTransform:this.state.translate,OTransform:this.state.translate,MozTransform:this.state.translate}}),s.a.createElement("div",{style:{paddingTop:this.state.minimized?"20vh":"30vh",WebkitTransform:this.state.translateText,transform:this.state.translateText,msTransform:this.state.translateText,OTransform:this.state.translateText,MozTransform:this.state.translateText}},s.a.createElement("div",{style:{color:"white",fontSize:i+"vh",fontFamily:"Leixo"}},s.a.createElement(m.Grid,{fluid:!0,style:{padding:0,margin:0}},s.a.createElement(m.Row,null,s.a.createElement(m.Col,{md:this.state.minimized?12:6,style:{width:this.state.minimized?"100%":"50%",textAlign:this.state.minimized?"center":"right",paddingRight:this.state.minimized?0:10}},s.a.createElement(p.a,{left:!0,duration:700,when:this.state.imageLoaded,style:{display:"inline"}},a.split(" ")[0])),s.a.createElement(m.Col,{md:this.state.minimized?12:6,style:{width:this.state.minimized?"100%":"50%",textAlign:this.state.minimized?"center":"left",paddingLeft:this.state.minimized?0:10}},s.a.createElement(p.a,{right:!0,duration:2e3,when:this.state.imageLoaded,style:{display:"inline"}},a.split(" ")[1]))))),s.a.createElement(p.a,{clear:!0,duration:1500,when:this.state.imageLoaded},s.a.createElement("div",{style:{color:"white",fontSize:o+"vh"}},l)),s.a.createElement(p.a,{clear:!0,duration:2e3,when:this.state.imageLoaded},s.a.createElement(d.a,{variant:"contained",color:"primary",href:"#overview",style:{textDecoration:"none",color:"white",marginTop:20}},c)))),s.a.createElement(u.a,{id:"overview"},s.a.createElement("div",{id:"overview-spy"}))))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),u=r(l),c=n(15),d=r(c),f=n(2),h=r(f),p=n(224),m=r(p),g=function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.id=e.id||e.children.ref,n}return a(t,e),s(t,[{key:"componentDidMount",value:function(){var e=d.default.findDOMNode(this.refs[Object.keys(this.refs)[0]]);m.default.addAnchor(this.id,e)}},{key:"componentWillUnmount",value:function(){m.default.removeAnchor(this.id)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.id;return u.default.cloneElement(t,{ref:t.ref||n})}}]),t}(l.Component);g.propTypes={children:h.default.node,id:h.default.string},t.default=g},function(e,t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";var e=function(e,t,n,r){return e/=r/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)},t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};return function(){function n(){return window.scrollY||window.pageYOffset}function r(e){return e.getBoundingClientRect().top+l}function i(e){m||(m=e),g=e-m,v=d(g,l,h,p),window.scrollTo(0,v),g<p?requestAnimationFrame(i):o()}function o(){window.scrollTo(0,l+h),s&&f&&(s.setAttribute("tabindex","-1"),s.focus()),"function"==typeof y&&y(),m=!1}function a(o){var a=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];switch(p=a.duration||1e3,c=a.offset||0,y=a.callback,d=a.easing||e,f=a.a11y||!1,l=n(),"undefined"==typeof o?"undefined":t(o)){case"number":s=void 0,f=!1,u=l+o;break;case"object":s=o,u=r(s);break;case"string":s=document.querySelector(o),u=r(s)}switch(h=u-l+c,t(a.duration)){case"number":p=a.duration;break;case"function":p=a.duration(h)}requestAnimationFrame(i)}var s=void 0,l=void 0,u=void 0,c=void 0,d=void 0,f=void 0,h=void 0,p=void 0,m=void 0,g=void 0,v=void 0,y=void 0;return a}()})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=arguments;t.debounce=function(e,t,n){var i=void 0;return function(){var o=r,a=function(){i=null,n||e.apply(void 0,o)},s=n&&!i;clearTimeout(i),i=setTimeout(a,t),s&&e.apply(void 0,o)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.getScrollTop=function(){return document.body.scrollTop||document.documentElement.scrollTop},i=t.getElementOffset=function(e){var t=r(),n=e.getBoundingClientRect(),i=n.top,o=n.bottom;return{top:Math.floor(i+t),bottom:Math.floor(o+t)}},o=t.doesElementContainScrollTop=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=r(),o=i(e).top+t;return n>=o&&n<o+e.offsetHeight},a=t.checkLocationRelevance=function(e,t){var n=i(e),r=n.top,o=n.bottom,a=i(t),s=a.top,l=a.bottom;return r===s?o===l?e<t:l<o:s>r},s=t.checkElementRelevance=function(e,t){return!!e.contains(t)||!(t.contains(e)||!a(e,t))};t.getBestAnchorGivenScrollLocation=function(e,t){var n=void 0,r=void 0;return Object.keys(e).forEach(function(i){var a=e[i];o(a,t)&&(r&&!s(r,a)||(r=a,n=i))}),n}},function(e,t){},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,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 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="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},l=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}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")}}(),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=n(1),f=function(e){return e&&e.__esModule?e:{default:e}}(d),h=n(2),p=n(135),m=(0,h.shape)({make:h.func,duration:h.number.isRequired,delay:h.number.isRequired,forever:h.bool,count:h.number.isRequired,style:h.object.isRequired,reverse:h.bool}),g={collapse:h.bool,collapseEl:h.element,cascade:h.bool,wait:h.number,force:h.bool,disabled:h.bool,appear:h.bool,enter:h.bool,exit:h.bool,fraction:h.number,refProp:h.string,innerRef:h.func,onReveal:h.func,unmountOnExit:h.bool,mountOnEnter:h.bool,inEffect:m.isRequired,outEffect:(0,h.oneOfType)([m,(0,h.oneOf)([!1])]).isRequired,ssrReveal:h.bool,collapseOnly:h.bool,ssrFadeout:h.bool},v={fraction:.2,refProp:"ref"},y={transitionGroup:h.object},b=function(e){function t(e,n){i(this,t);var r=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.isOn=void 0===e.when||!!e.when,r.state={collapse:e.collapse?t.getInitialCollapseStyle(e):void 0,style:{opacity:r.isOn&&!e.ssrReveal||!e.outEffect?void 0:0}},r.savedChild=!1,r.isShown=!1,p.observerMode?r.handleObserve=r.handleObserve.bind(r):(r.revealHandler=r.makeHandler(r.reveal),r.resizeHandler=r.makeHandler(r.resize)),r.saveRef=r.saveRef.bind(r),r}return a(t,e),c(t,[{key:"saveRef",value:function(e){this.childRef&&this.childRef(e),this.props.innerRef&&this.props.innerRef(e),this.el!==e&&(this.el=e&&"offsetHeight"in e?e:void 0,this.observe(this.props,!0))}},{key:"invisible",value:function(){this&&this.el&&(this.savedChild=!1,this.isShown||(this.setState({hasExited:!0,collapse:this.props.collapse?u({},this.state.collapse,{visibility:"hidden"}):null,style:{opacity:0}}),!p.observerMode&&this.props.collapse&&window.document.dispatchEvent(p.collapseend)))}},{key:"animationEnd",value:function(e,t,n){var r=this,i=n.forever,o=n.count,a=n.delay,s=n.duration;if(!i){var l=function(){r&&r.el&&(r.animationEndTimeout=void 0,e.call(r))};this.animationEndTimeout=window.setTimeout(l,a+(s+(t?s:0)*o))}}},{key:"getDimensionValue",value:function(){return this.el.offsetHeight+parseInt(window.getComputedStyle(this.el,null).getPropertyValue("margin-top"),10)+parseInt(window.getComputedStyle(this.el,null).getPropertyValue("margin-bottom"),10)}},{key:"collapse",value:function(e,t,n){var r=n.duration+(t.cascade?n.duration:0),i=this.isOn?this.getDimensionValue():0,o=void 0,a=void 0;if(t.collapseOnly)o=n.duration/3,a=n.delay;else{var s=r>>2,l=s>>1;o=s,a=n.delay+(this.isOn?0:r-s-l),e.style.animationDuration=r-s+(this.isOn?l:-l)+"ms",e.style.animationDelay=n.delay+(this.isOn?s-l:0)+"ms"}return e.collapse={height:i,transition:"height "+o+"ms ease "+a+"ms",overflow:t.collapseOnly?"hidden":void 0},e}},{key:"animate",value:function(e){if(this&&this.el&&(this.unlisten(),this.isShown!==this.isOn)){this.isShown=this.isOn;var t=!this.isOn&&e.outEffect,n=e[t?"outEffect":"inEffect"],r="style"in n&&n.style.animationName||void 0,i=void 0;e.collapseOnly?i={hasAppeared:!0,hasExited:!1,style:{opacity:1}}:((e.outEffect||this.isOn)&&n.make&&(r=n.make),i={hasAppeared:!0,hasExited:!1,collapse:void 0,style:u({},n.style,{animationDuration:n.duration+"ms",animationDelay:n.delay+"ms",animationIterationCount:n.forever?"infinite":n.count,opacity:1,animationName:r}),className:n.className}),this.setState(e.collapse?this.collapse(i,e,n):i),t?(this.savedChild=f.default.cloneElement(this.getChild()),this.animationEnd(this.invisible,e.cascade,n)):this.savedChild=!1,this.onReveal(e)}}},{key:"onReveal",value:function(e){e.onReveal&&this.isOn&&(this.onRevealTimeout&&(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)),e.wait?this.onRevealTimeout=window.setTimeout(e.onReveal,e.wait):e.onReveal())}},{key:"componentWillUnmount",value:function(){this.unlisten(),p.ssr&&(0,p.disableSsr)()}},{key:"handleObserve",value:function(e,t){l(e,1)[0].intersectionRatio>0&&(t.disconnect(),this.observer=null,this.reveal(this.props,!0))}},{key:"observe",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.el&&p.observerMode){if(this.observer){if(!t)return;this.observer.disconnect()}else if(t)return;this.observer=new IntersectionObserver(this.handleObserve,{threshold:e.fraction}),this.observer.observe(this.el)}}},{key:"reveal",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];p.globalHide||(0,p.hideAll)(),this&&this.el&&(e||(e=this.props),p.ssr&&(0,p.disableSsr)(),this.isOn&&this.isShown&&void 0!==e.spy?(this.isShown=!1,this.setState({style:{}}),window.setTimeout(function(){return t.reveal(e)},200)):n||this.inViewport(e)||e.force?this.animate(e):p.observerMode?this.observe(e):this.listen())}},{key:"componentDidMount",value:function(){var e=this;if(this.el&&!this.props.disabled){this.props.collapseOnly||("make"in this.props.inEffect&&this.props.inEffect.make(!1,this.props),void 0!==this.props.when&&this.props.outEffect&&"make"in this.props.outEffect&&this.props.outEffect.make(!0,this.props));var n=this.context.transitionGroup,r=n&&!n.isMounting?!("enter"in this.props&&!1===this.props.enter):this.props.appear;return this.isOn&&((void 0!==this.props.when||void 0!==this.props.spy)&&!r||p.ssr&&!p.fadeOutEnabled&&!this.props.ssrFadeout&&this.props.outEffect&&!this.props.ssrReveal&&t.getTop(this.el)<window.pageYOffset+window.innerHeight)?(this.isShown=!0,this.setState({hasAppeared:!0,collapse:this.props.collapse?{height:this.getDimensionValue()}:this.state.collapse,style:{opacity:1}}),void this.onReveal(this.props)):p.ssr&&(p.fadeOutEnabled||this.props.ssrFadeout)&&this.props.outEffect&&t.getTop(this.el)<window.pageYOffset+window.innerHeight?(this.setState({style:{opacity:0,transition:"opacity 1000ms 1000ms"}}),void window.setTimeout(function(){return e.reveal(e.props,!0)},2e3)):void(this.isOn&&(this.props.force?this.animate(this.props):this.reveal(this.props)))}}},{key:"cascade",value:function(e){var t=this,n=void 0;n="string"==typeof e?e.split("").map(function(e,t){return f.default.createElement("span",{key:t,style:{display:"inline-block",whiteSpace:"pre"}},e)}):f.default.Children.toArray(e);var r=this.props[this.isOn||!this.props.outEffect?"inEffect":"outEffect"],i=r.duration,o=r.reverse,a=n.length,l=2*i;this.props.collapse&&(l=parseInt(this.state.style.animationDuration,10),i=l/2);var c=o?a:0;return n=n.map(function(e){return"object"===(void 0===e?"undefined":s(e))&&e?f.default.cloneElement(e,{style:u({},e.props.style,t.state.style,{animationDuration:Math.round((0,p.cascade)(o?c--:c++,0,a,i,l))+"ms"})}):e})}},{key:"componentWillReceiveProps",value:function(e){if(void 0!==e.when&&(this.isOn=!!e.when),e.fraction!==this.props.fraction&&this.observe(e,!0),!this.isOn&&e.onExited&&"exit"in e&&!1===e.exit)return void e.onExited();e.disabled||(e.collapse&&!this.props.collapse&&(this.setState({style:{},collapse:t.getInitialCollapseStyle(e)}),this.isShown=!1),e.when===this.props.when&&e.spy===this.props.spy||this.reveal(e),this.onRevealTimeout&&!this.isOn&&(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)))}},{key:"getChild",value:function(){if(this.savedChild&&!this.props.disabled)return this.savedChild;if("object"===s(this.props.children)){var e=f.default.Children.only(this.props.children);return"type"in e&&"string"==typeof e.type||"ref"!==this.props.refProp?e:f.default.createElement("div",null,e)}return f.default.createElement("div",null,this.props.children)}},{key:"render",value:function(){var e=void 0;e=this.state.hasAppeared?!this.props.unmountOnExit||!this.state.hasExited||this.isOn:!this.props.mountOnEnter||this.isOn;var t=this.getChild();"function"==typeof t.ref&&(this.childRef=t.ref);var n=!1,i=t.props,o=i.style,a=i.className,s=i.children,l=this.props.disabled?a:(this.props.outEffect?p.namespace:"")+(this.state.className?" "+this.state.className:"")+(a?" "+a:"")||void 0,c=void 0;"function"==typeof this.state.style.animationName&&(this.state.style.animationName=this.state.style.animationName(!this.isOn,this.props)),this.props.cascade&&!this.props.disabled&&s&&this.state.style.animationName?(n=this.cascade(s),c=u({},o,{opacity:1})):c=this.props.disabled?o:u({},o,this.state.style);var d=u({},this.props.props,r({className:l,style:c},this.props.refProp,this.saveRef)),h=f.default.cloneElement(t,d,e?n||s:void 0);return void 0!==this.props.collapse?this.props.collapseEl?f.default.cloneElement(this.props.collapseEl,{style:u({},this.props.collapseEl.style,this.props.disabled?void 0:this.state.collapse),children:h}):f.default.createElement("div",{style:this.props.disabled?void 0:this.state.collapse,children:h}):h}},{key:"makeHandler",value:function(e){var t=this,n=function(){e.call(t,t.props),t.ticking=!1};return function(){t.ticking||((0,p.raf)(n),t.ticking=!0)}}},{key:"inViewport",value:function(e){if(!this.el||window.document.hidden)return!1;var n=this.el.offsetHeight,r=window.pageYOffset-t.getTop(this.el),i=Math.min(n,window.innerHeight)*(p.globalHide?e.fraction:0);return r>i-window.innerHeight&&r<n-i}},{key:"resize",value:function(e){this&&this.el&&this.isOn&&this.inViewport(e)&&(this.unlisten(),this.isShown=this.isOn,this.setState({hasExited:!this.isOn,hasAppeared:!0,collapse:void 0,style:{opacity:this.isOn||!e.outEffect?1:0}}),this.onReveal(e))}},{key:"listen",value:function(){p.observerMode||this.isListener||(this.isListener=!0,window.addEventListener("scroll",this.revealHandler,{passive:!0}),window.addEventListener("orientationchange",this.revealHandler,{passive:!0}),window.document.addEventListener("visibilitychange",this.revealHandler,{passive:!0}),window.document.addEventListener("collapseend",this.revealHandler,{passive:!0}),window.addEventListener("resize",this.resizeHandler,{passive:!0}))}},{key:"unlisten",value:function(){!p.observerMode&&this.isListener&&(window.removeEventListener("scroll",this.revealHandler,{passive:!0}),window.removeEventListener("orientationchange",this.revealHandler,{passive:!0}),window.document.removeEventListener("visibilitychange",this.revealHandler,{passive:!0}),window.document.removeEventListener("collapseend",this.revealHandler,{passive:!0}),window.removeEventListener("resize",this.resizeHandler,{passive:!0}),this.isListener=!1),this.onRevealTimeout&&(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)),this.animationEndTimeout&&(this.animationEndTimeout=window.clearTimeout(this.animationEndTimeout))}}],[{key:"getInitialCollapseStyle",value:function(e){return{height:0,visibility:e.when?void 0:"hidden"}}},{key:"getTop",value:function(e){for(;void 0===e.offsetTop;)e=e.parentNode;for(var t=e.offsetTop;e.offsetParent;t+=e.offsetTop)e=e.offsetParent;return t}}]),t}(f.default.Component);b.propTypes=g,b.defaultProps=v,b.contextTypes=y,b.displayName="RevealBase",t.default=b,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){for(var t=[e.className,(0,l.default)("row")],n=0;n<g.length;++n){var r=g[n],i=e[r];i&&t.push((0,l.default)(r+"-"+i))}return e.reverse&&t.push((0,l.default)("reverse")),t}function o(e){return(0,p.default)(v,e,i(e))}function a(e){return c.default.createElement(e.tagName||"div",o(e))}Object.defineProperty(t,"__esModule",{value:!0}),t.getRowProps=o,t.default=a;var s=n(136),l=r(s),u=n(1),c=r(u),d=n(2),f=r(d),h=n(137),p=r(h),m=n(226),g=["start","center","end","top","middle","bottom","around","between"],v={reverse:f.default.bool,start:m.ViewportSizeType,center:m.ViewportSizeType,end:m.ViewportSizeType,top:m.ViewportSizeType,middle:m.ViewportSizeType,bottom:m.ViewportSizeType,around:m.ViewportSizeType,between:m.ViewportSizeType,className:f.default.string,tagName:f.default.string,children:f.default.node};a.propTypes=v},function(e,t){},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e}function a(e){var t=[];return e.className&&t.push(e.className),e.first&&t.push((0,g.default)("first-"+e.first)),e.last&&t.push((0,g.default)("last-"+e.last)),Object.keys(e).filter(function(e){return b[e]}).map(function(t){return(0,g.default)(o(e[t])?b[t]+"-"+e[t]:b[t])}).concat(t)}function s(e){return(0,p.default)(y,e,a(e))}function l(e){var t=e.tagName,n=i(e,["tagName"]);return c.default.createElement(t||"div",s(n))}Object.defineProperty(t,"__esModule",{value:!0}),t.getColumnProps=s,t.default=l;var u=n(1),c=r(u),d=n(2),f=r(d),h=n(137),p=r(h),m=n(136),g=r(m),v=n(226),y={xs:v.ColumnSizeType,sm:v.ColumnSizeType,md:v.ColumnSizeType,lg:v.ColumnSizeType,xl:v.ColumnSizeType,xsOffset:f.default.number,smOffset:f.default.number,mdOffset:f.default.number,lgOffset:f.default.number,xlOffset:f.default.number,first:v.ViewportSizeType,last:v.ViewportSizeType,className:f.default.string,tagName:f.default.string,children:f.default.node},b={xs:"col-xs",sm:"col-sm",md:"col-md",lg:"col-lg",xl:"col-xl",xsOffset:"col-xs-offset",smOffset:"col-sm-offset",mdOffset:"col-md-offset",lgOffset:"col-lg-offset",xlOffset:"col-xl-offset"};l.propTypes=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=(0,f.default)(e.fluid?"container-fluid":"container"),n=[e.className,t];return a.default.createElement(e.tagName||"div",(0,c.default)(h,e,n))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(1),a=r(o),s=n(2),l=r(s),u=n(137),c=r(u),d=n(136),f=r(d),h={fluid:l.default.bool,className:l.default.string,tagName:l.default.string,children:l.default.node};i.propTypes=h},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return u});var a=n(1),s=n.n(a),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.parseStyles=function(t){var n={};t.params.forEach(function(e){var t={},r=e.V;isNaN(Number(e.V))||(r=Number(e.V)),t[e.K]=r,n=Object.assign({},n,t)}),e.setState({styles:n})},e.state={styles:{}},e}return o(t,e),l(t,[{key:"componentWillMount",value:function(){this.parseStyles(this.props)}},{key:"componentWillReceiveProps",value:function(e){this.parseStyles(e)}},{key:"render",value:function(){return s.a.createElement("div",{style:{marginTop:20,marginBottom:20,width:"100%",textAlign:"center"}},s.a.createElement("a",{href:this.props.imageUrl,target:"_blank"},s.a.createElement("img",{src:this.props.imageUrl,alt:this.props.alt,style:this.state.styles})))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return c});var a=n(1),s=n.n(a),l=n(623),u=(n.n(l),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),c=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),u(t,[{key:"render",value:function(){return s.a.createElement("div",{className:"crafty"},this.props.text)}}]),t}(a.Component)},function(e,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 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 o(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)}n.d(t,"a",function(){return g});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(40)),c=n.n(u),d=n(67),f=n(227),h=n(626),p=(n.n(h),n(642)),m=(n.n(p),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),g=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.updateDim=function(){(window.innerWidth<n.minminThres||window.innerWidth<=n.maxThres&&window.innerWidth>n.minThres)&&!n.state.smallerCardBody?n.setState({smallerCardBody:!0,cardBody:n.minBody}):window.innerWidth>=n.minminThres&&(window.innerWidth>n.maxThres||window.innerWidth<=n.minThres)&&n.state.smallerCardBody&&n.setState({smallerCardBody:!1,cardBody:n.maxBody})},n.toggleExpand=function(e){var t=n.state.expanded;t[e]=!t[e],n.setState({expanded:t})},n.hover=function(e){var t=n.state.hover;t[e]=!0,n.setState({hover:t})},n.removeHover=function(e){var t=n.state.hover;t[e]=!1,n.setState({hover:t})},n.setLoaded=function(e){if(!n.state.loaded[e]){var t=n.state.loaded;t[e]=!0,n.setState({loaded:t})}},n.state={expanded:[],hover:[],data:[],loaded:[],filterTo:"All",cardBody:80},n.filteredCategories=["All","Drylab","Wetlab","Outreach","Business","Design","Adviser","Leadership","Collaborations","Presenters","PIs"],window.addEventListener("resize",n.updateDim),n.maxThres=1400,n.minThres=768,n.minminThres=380,n.mainColor="#420dab",n.sections=["Leadership","Members","Advisers","PIs"],n.minBody=70,n.maxBody=75,n}return o(t,e),m(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;this.setState({data:e.data}),e.data.forEach(function(e,n){var r=new Image;r.src=e.PICTURE,r.onload=function(){return t.setLoaded(n)}})}},{key:"componentWillMount",value:function(){var e=this;this.setState({data:this.props.data}),this.props.data.forEach(function(t,n){var r=new Image;r.src=t.PICTURE,r.onload=function(){return e.setLoaded(n)}}),window.innerWidth<this.minminThres||window.innerWidth<=this.maxThres&&window.innerWidth>this.minThres?this.setState({smallerCardBody:!0,cardBody:this.minBody}):window.innerWidth>=this.minminThres&&(window.innerWidth>this.maxThres||window.innerWidth<=this.minThres)&&this.setState({smallerCardBody:!1,cardBody:this.maxBody})}},{key:"render",value:function(){var e=this,t=this.state.data.sort(function(e,t){return e.NAME<t.NAME?-1:t.NAME<e.NAME?1:0});return s.a.createElement("div",null,s.a.createElement(l.Grid,{fluid:!0,style:{padding:0,margin:20,marginTop:30,marginBottom:20}},s.a.createElement(c.a,{clear:!0,cascade:!0},s.a.createElement(l.Row,{style:{padding:0,margin:"auto",textAlign:"center"}},this.filteredCategories.sort().map(function(t,n){return s.a.createElement(l.Col,{xs:!0,key:"selector"+n},s.a.createElement("div",{onClick:function(){e.setState({filterTo:t})},style:{cursor:"pointer",fontStyle:"italic",borderBottom:e.state.filterTo===t?"3px solid black":"",transition:"border 0.2s"},className:"filterButton"},t))})))),this.sections.map(function(n,r){return s.a.createElement("div",{key:"sect"+r,style:{marginBottom:20}},s.a.createElement("div",{style:{margin:"auto",width:"100%",textAlign:"center",fontSize:50}},n),s.a.createElement(l.Grid,{fluid:!0,style:{padding:0,margin:0}},s.a.createElement(l.Row,{style:{padding:0,margin:0},center:"xs"},t&&t.map(function(t,r){var i=void 0;switch(n){case"Leadership":i=t.FILTER&&-1===t.FILTER.indexOf(n);break;case"Members":i=t.FILTER&&(-1!==t.FILTER.indexOf("Adviser")||-1!==t.FILTER.indexOf("Leadership")||-1!==t.FILTER.indexOf("PIs"));break;case"Advisers":i=t.FILTER&&-1===t.FILTER.indexOf("Adviser");break;case"PIs":i=t.FILTER&&-1===t.FILTER.indexOf("PIs");break;default:i=t.FILTER&&(-1!==t.FILTER.indexOf("Adviser")||-1!==t.FILTER.indexOf("Leadership"))}if(i)return null;var o=t.XPOS?t.XPOS:50,a=t.YPOS?t.YPOS:20,u=t.CUSTSIZE?t.CUSTSIZE:100;return s.a.createElement(l.Col,{md:3,key:"subimg"+r,style:{textAlign:"center",margin:10,transition:"height 0.5s",maxWidth:380,minWidth:280}},s.a.createElement("div",{style:{width:"100%",maxWidth:380,minWidth:280,height:"auto",minHeight:380,backgroundColor:"T--Washington--HLogo1.png"===t.PICTURE&&e.state.loaded[r]?"lightgray":"white",margin:"auto",borderRadius:20,overflow:"hidden",cursor:""===t.BIO?"normal":"pointer",position:"relative",filter:t.FILTER&&-1!==t.FILTER.indexOf(e.state.filterTo)||"All"===e.state.filterTo?"":"blur(5px)",boxShadow:"5px 5px 5px #999999",transition:"filter 0.2s, background-color: 0.2s"},onClick:function(){""!==t.BIO&&e.toggleExpand(r)},onMouseEnter:function(){return e.hover(r)},onMouseLeave:function(){return e.removeHover(r)}},s.a.createElement(c.a,{when:!0===e.state.loaded[r]},s.a.createElement("div",{style:{position:"absolute",width:"100%",top:0,left:0,height:e.state.cardBody+"%",backgroundColor:"white",background:"url("+t.PICTURE+") "+o+"% "+a+"% no-repeat",backgroundSize:(u||100)+"%"}})),s.a.createElement("div",{style:{position:"absolute",width:"100%",bottom:0,left:0,height:e.state.expanded[r]?"100%":100-e.state.cardBody+"%",backgroundColor:e.state.hover[r]||e.state.expanded[r]?e.mainColor:"white",transition:"height 0.5s, background-color 0.5s, color 0.5s",color:e.state.hover[r]||e.state.expanded[r]?"white":"black"},className:"scrollBox"},s.a.createElement(h.Scrollbars,{style:{position:"absolute",margin:"auto",left:0,right:0,textAlign:"center",height:"100%",opacity:e.state.expanded[r]?1:0}},s.a.createElement(c.a,{duration:500,clear:!0,when:!0===e.state.expanded[r]},s.a.createElement("div",{style:{padding:20,fontSize:16}},t.BIO.split("\\n").map(function(e,n){return s.a.createElement("p",{key:t.NAME+"spl"+n,style:{marginTop:10}},e.trim())}),s.a.createElement("div",{style:{color:"white",padding:0,marginTop:10}},t.GITHUB&&s.a.createElement("a",{href:t.GITHUB,target:"_blank",className:"icon"},s.a.createElement(d.a,{icon:f.b,size:"2x"})),t.LINKEDIN&&s.a.createElement("a",{href:t.LINKEDIN,target:"_blank",className:"icon"},s.a.createElement(d.a,{icon:f.d,size:"2x"})))))),s.a.createElement(c.a,{duration:500,clear:!0,when:!0!==e.state.expanded[r]},s.a.createElement("div",{style:{position:"absolute",textAlign:"center",margin:"auto",left:0,right:0}},s.a.createElement("div",{style:{textTransform:"uppercase",marginTop:10,fontWeight:"bold",fontSize:20,letterSpacing:3,textOverflow:"ellipsis",overflow:"hidden"}},t.NAME),s.a.createElement("div",{style:{marginTop:10}},t.ROLE))))))}))))}))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e){var t=A.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function i(e){return""===e||"false"!==e&&("true"===e||e)}function o(e){if(e&&I){var t=A.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=A.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i];["STYLE","LINK"].indexOf((o.tagName||"").toUpperCase())>-1&&(r=o)}return A.head.insertBefore(t,r),e}}function a(){return++Z}function s(e){return(""+e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function l(e){return Object.keys(e||{}).reduce(function(t,n){return t+(n+'="')+s(e[n])+'" '},"").trim()}function u(e){return Object.keys(e||{}).reduce(function(t,n){return t+(n+": ")+e[n]+";"},"")}function c(e){return e.size!==Y.size||e.x!==Y.x||e.y!==Y.y||e.rotate!==Y.rotate||e.flipX||e.flipY}function d(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth;return{outer:{transform:"translate("+n/2+" 256)"},inner:{transform:"translate("+32*t.x+", "+32*t.y+") scale("+t.size/16*(t.flipX?-1:1)+", "+t.size/16*(t.flipY?-1:1)+") rotate("+t.rotate+" 0 0)"},path:{transform:"translate("+r/2*-1+" -256)"}}}function f(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,s=e.transform,l=e.symbol,u=e.title,c=e.extra,d=e.watchable,f=void 0!==d&&d,h=r.found?r:n,p=h.width,m=h.height,g="fa-w-"+Math.ceil(p/m*16),v=[U.replacementClass,o?U.familyPrefix+"-"+o:"",g].filter(function(e){return-1===c.classes.indexOf(e)}).concat(c.classes).join(" "),y={children:[],attributes:W({},c.attributes,{"data-prefix":i,"data-icon":o,class:v,role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 "+p+" "+m})};f&&(y.attributes[N]=""),u&&y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-"+a()},children:[u]});var b=W({},y,{prefix:i,iconName:o,main:n,mask:r,transform:s,symbol:l,styles:c.styles}),w=r.found&&n.found?Q(b):$(b),E=w.children,T=w.attributes;return b.children=E,b.attributes=T,l?ee(b):J(b)}function h(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function p(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"===typeof e?s(e):"<"+t+" "+l(r)+">"+o.map(p).join("")+"</"+t+">"}function m(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}function g(e,t){var n=Object.keys(t).reduce(function(e,n){var r=t[n];return!r.icon?e[n]=r:e[r.iconName]=r.icon,e},{});"function"===typeof G.hooks.addPack?G.hooks.addPack(e,n):G.styles[e]=W({},G.styles[e]||{},n),"fas"===e&&g("fa",t)}function v(e){return{found:!0,width:e[0],height:e[1],icon:{tag:"path",attributes:{fill:"currentColor",d:e.slice(4)[0]}}}}function y(){U.autoAddCss&&!ve&&(o(pe()),ve=!0)}function b(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return p(e)})}}),Object.defineProperty(e,"node",{get:function(){if(I){var t=A.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function w(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return h(ge.definitions,n,r)||h(G.styles,n,r)}n.d(t,"a",function(){return be}),n.d(t,"b",function(){return ye});var E=function(){},T={},_={},k={mark:E,measure:E};try{"undefined"!==typeof window&&(T=window),"undefined"!==typeof document&&(_=document),"undefined"!==typeof MutationObserver&&MutationObserver,"undefined"!==typeof performance&&(k=performance)}catch(e){}var x=T.navigator||{},S=x.userAgent,C=void 0===S?"":S,O=T,A=_,P=k,I=!!A.documentElement&&!!A.head&&"function"===typeof A.addEventListener&&"function"===typeof A.createElement,R=(~C.indexOf("MSIE")||C.indexOf("Trident/"),16),N="data-fa-i2svg",M=(function(){try{}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),D=M.concat([11,12,13,14,15,16,17,18,19,20]),L=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter"].concat(M.map(function(e){return e+"x"})).concat(D.map(function(e){return"w-"+e})),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),j=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}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")}}(),F=O.FontAwesomeConfig||{};if(A&&"function"===typeof A.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(e){var t=B(e,2),n=t[0],o=t[1],a=i(r(n));void 0!==a&&null!==a&&(F[o]=a)})}var z=W({familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},F);z.autoReplaceSvg||(z.observeMutations=!1);var U=W({},z);O.FontAwesomeConfig=U;var H=O||{};H.___FONT_AWESOME___||(H.___FONT_AWESOME___={}),H.___FONT_AWESOME___.styles||(H.___FONT_AWESOME___.styles={}),H.___FONT_AWESOME___.hooks||(H.___FONT_AWESOME___.hooks={}),H.___FONT_AWESOME___.shims||(H.___FONT_AWESOME___.shims=[]);var G=H.___FONT_AWESOME___,q=[],V=function e(){A.removeEventListener("DOMContentLoaded",e),K=1,q.map(function(e){return e()})},K=!1;I&&((K=(A.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(A.readyState))||A.addEventListener("DOMContentLoaded",V));var Y={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Z=0,X={x:0,y:0,width:"100%",height:"100%"},Q=function(e){var t=e.children,n=e.attributes,r=e.main,i=e.mask,o=e.transform,s=r.width,l=r.icon,u=i.width,c=i.icon,f=d({transform:o,containerWidth:u,iconWidth:s}),h={tag:"rect",attributes:W({},X,{fill:"white"})},p={tag:"g",attributes:W({},f.inner),children:[{tag:"path",attributes:W({},l.attributes,f.path,{fill:"black"})}]},m={tag:"g",attributes:W({},f.outer),children:[p]},g="mask-"+a(),v="clip-"+a(),y={tag:"mask",attributes:W({},X,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,m]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:[c]},y]};return t.push(b,{tag:"rect",attributes:W({fill:"currentColor","clip-path":"url(#"+v+")",mask:"url(#"+g+")"},X)}),{children:t,attributes:n}},$=function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,o=e.styles,a=u(o);if(a.length>0&&(n.style=a),c(i)){var s=d({transform:i,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:W({},s.outer),children:[{tag:"g",attributes:W({},s.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:W({},r.icon.attributes,s.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}},J=function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(c(a)&&n.found&&!r.found){var s=n.width,l=n.height,d={x:s/l/2,y:.5};i.style=u(W({},o,{"transform-origin":d.x+a.x/16+"em "+(d.y+a.y/16)+"em"}))}return[{tag:"svg",attributes:i,children:t}]},ee=function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol,a=!0===o?t+"-"+U.familyPrefix+"-"+n:o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:W({},i,{id:a}),children:r}]}]},te=function(){},ne=(U.measurePerformance&&P&&P.mark&&P.measure,function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}),re=function(e,t,n,r){var i,o,a,s=Object.keys(e),l=s.length,u=void 0!==r?ne(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<l;i++)o=s[i],a=u(a,e[o],o,e);return a},ie=G.styles,oe=G.shims,ae={},se={},le={},ue=function(){var e=function(e){return re(ie,function(t,n,r){return t[r]=re(n,e,{}),t},{})};ae=e(function(e,t,n){return e[t[3]]=n,e}),se=e(function(e,t,n){var r=t[2];return e[n]=n,r.forEach(function(t){e[t]=n}),e});var t="far"in ie;le=re(oe,function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),e[r]={prefix:i,iconName:o},e},{})};ue();var ce=(G.styles,function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce(function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e},t):t});m.prototype=Object.create(Error.prototype),m.prototype.constructor=m;var de={fill:"currentColor"},fe={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},he=(W({},de,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),W({},fe,{attributeName:"opacity"})),pe=(W({},de,{cx:"256",cy:"364",r:"28"}),W({},fe,{attributeName:"r",values:"28;14;28;28;14;28;"}),W({},he,{values:"1;0;1;1;0;1;"}),W({},de,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),W({},he,{values:"1;0;0;0;0;1;"}),W({},de,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),W({},he,{values:"0;0;1;1;0;0;"}),G.styles,function(){var e="svg-inline--fa",t=U.familyPrefix,n=U.replacementClass,r='svg:not(:root).svg-inline--fa {\n overflow: visible; }\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -.125em; }\n .svg-inline--fa.fa-lg {\n vertical-align: -.225em; }\n .svg-inline--fa.fa-w-1 {\n width: 0.0625em; }\n .svg-inline--fa.fa-w-2 {\n width: 0.125em; }\n .svg-inline--fa.fa-w-3 {\n width: 0.1875em; }\n .svg-inline--fa.fa-w-4 {\n width: 0.25em; }\n .svg-inline--fa.fa-w-5 {\n width: 0.3125em; }\n .svg-inline--fa.fa-w-6 {\n width: 0.375em; }\n .svg-inline--fa.fa-w-7 {\n width: 0.4375em; }\n .svg-inline--fa.fa-w-8 {\n width: 0.5em; }\n .svg-inline--fa.fa-w-9 {\n width: 0.5625em; }\n .svg-inline--fa.fa-w-10 {\n width: 0.625em; }\n .svg-inline--fa.fa-w-11 {\n width: 0.6875em; }\n .svg-inline--fa.fa-w-12 {\n width: 0.75em; }\n .svg-inline--fa.fa-w-13 {\n width: 0.8125em; }\n .svg-inline--fa.fa-w-14 {\n width: 0.875em; }\n .svg-inline--fa.fa-w-15 {\n width: 0.9375em; }\n .svg-inline--fa.fa-w-16 {\n width: 1em; }\n .svg-inline--fa.fa-w-17 {\n width: 1.0625em; }\n .svg-inline--fa.fa-w-18 {\n width: 1.125em; }\n .svg-inline--fa.fa-w-19 {\n width: 1.1875em; }\n .svg-inline--fa.fa-w-20 {\n width: 1.25em; }\n .svg-inline--fa.fa-pull-left {\n margin-right: .3em;\n width: auto; }\n .svg-inline--fa.fa-pull-right {\n margin-left: .3em;\n width: auto; }\n .svg-inline--fa.fa-border {\n height: 1.5em; }\n .svg-inline--fa.fa-li {\n width: 2em; }\n .svg-inline--fa.fa-fw {\n width: 1.25em; }\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0; }\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -.125em;\n width: 1em; }\n .fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center; }\n\n.fa-layers-text, .fa-layers-counter {\n display: inline-block;\n position: absolute;\n text-align: center; }\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center; }\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: .25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right; }\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right; }\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left; }\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right; }\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left; }\n\n.fa-lg {\n font-size: 1.33333em;\n line-height: 0.75em;\n vertical-align: -.0667em; }\n\n.fa-xs {\n font-size: .75em; }\n\n.fa-sm {\n font-size: .875em; }\n\n.fa-1x {\n font-size: 1em; }\n\n.fa-2x {\n font-size: 2em; }\n\n.fa-3x {\n font-size: 3em; }\n\n.fa-4x {\n font-size: 4em; }\n\n.fa-5x {\n font-size: 5em; }\n\n.fa-6x {\n font-size: 6em; }\n\n.fa-7x {\n font-size: 7em; }\n\n.fa-8x {\n font-size: 8em; }\n\n.fa-9x {\n font-size: 9em; }\n\n.fa-10x {\n font-size: 10em; }\n\n.fa-fw {\n text-align: center;\n width: 1.25em; }\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0; }\n .fa-ul > li {\n position: relative; }\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit; }\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: .1em;\n padding: .2em .25em .15em; }\n\n.fa-pull-left {\n float: left; }\n\n.fa-pull-right {\n float: right; }\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: .3em; }\n\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: .3em; }\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear; }\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8); }\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg); }\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg); }\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg); }\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1); }\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1); }\n\n.fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1); }\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical {\n -webkit-filter: none;\n filter: none; }\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2em; }\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0; }\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1em; }\n\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2em; }\n\n.fa-inverse {\n color: #fff; }\n\n.sr-only {\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\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto; }\n';if("fa"!==t||n!==e){var i=new RegExp("\\.fa\\-","g"),o=new RegExp("\\."+e,"g");r=r.replace(i,"."+t+"-").replace(o,"."+n)}return r}),me=function(){function e(){L(this,e),this.definitions={}}return j(e,[{key:"add",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach(function(t){e.definitions[t]=W({},e.definitions[t]||{},i[t]),g(t,i[t]),ue()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map(function(t){var r=n[t],i=r.prefix,o=r.iconName,a=r.icon;e[i]||(e[i]={}),e[i][o]=a}),e}}]),e}(),ge=new me,ve=!1,ye={transform:function(e){return ce(e)}},be=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:w(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:w(i||{})),e(r,W({},n,{mask:i}))}}(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Y:n,i=t.symbol,o=void 0!==i&&i,s=t.mask,l=void 0===s?null:s,u=t.title,c=void 0===u?null:u,d=t.classes,h=void 0===d?[]:d,p=t.attributes,m=void 0===p?{}:p,g=t.styles,w=void 0===g?{}:g;if(e){var E=e.prefix,T=e.iconName,_=e.icon;return b(W({type:"icon"},e),function(){return y(),U.autoA11y&&(c?m["aria-labelledby"]=U.replacementClass+"-title-"+a():m["aria-hidden"]="true"),f({icons:{main:v(_),mask:l?v(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:T,transform:W({},Y,r),symbol:o,title:c,extra:{attributes:m,styles:w,classes:h}})})}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scrollbars=void 0;var r=n(627),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=i.default,t.Scrollbars=i.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(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});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(628),d=r(c),f=n(228),h=r(f),p=n(1),m=n(2),g=r(m),v=n(635),y=r(v),b=n(636),w=r(b),E=n(637),T=r(E),_=n(638),k=r(_),x=n(639),S=r(x),C=n(640),O=n(641),A=function(e){function t(e){var n;o(this,t);for(var r=arguments.length,i=Array(r>1?r-1:0),s=1;s<r;s++)i[s-1]=arguments[s];var l=a(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this,e].concat(i)));return l.getScrollLeft=l.getScrollLeft.bind(l),l.getScrollTop=l.getScrollTop.bind(l),l.getScrollWidth=l.getScrollWidth.bind(l),l.getScrollHeight=l.getScrollHeight.bind(l),l.getClientWidth=l.getClientWidth.bind(l),l.getClientHeight=l.getClientHeight.bind(l),l.getValues=l.getValues.bind(l),l.getThumbHorizontalWidth=l.getThumbHorizontalWidth.bind(l),l.getThumbVerticalHeight=l.getThumbVerticalHeight.bind(l),l.getScrollLeftForOffset=l.getScrollLeftForOffset.bind(l),l.getScrollTopForOffset=l.getScrollTopForOffset.bind(l),l.scrollLeft=l.scrollLeft.bind(l),l.scrollTop=l.scrollTop.bind(l),l.scrollToLeft=l.scrollToLeft.bind(l),l.scrollToTop=l.scrollToTop.bind(l),l.scrollToRight=l.scrollToRight.bind(l),l.scrollToBottom=l.scrollToBottom.bind(l),l.handleTrackMouseEnter=l.handleTrackMouseEnter.bind(l),l.handleTrackMouseLeave=l.handleTrackMouseLeave.bind(l),l.handleHorizontalTrackMouseDown=l.handleHorizontalTrackMouseDown.bind(l),l.handleVerticalTrackMouseDown=l.handleVerticalTrackMouseDown.bind(l),l.handleHorizontalThumbMouseDown=l.handleHorizontalThumbMouseDown.bind(l),l.handleVerticalThumbMouseDown=l.handleVerticalThumbMouseDown.bind(l),l.handleWindowResize=l.handleWindowResize.bind(l),l.handleScroll=l.handleScroll.bind(l),l.handleDrag=l.handleDrag.bind(l),l.handleDragEnd=l.handleDragEnd.bind(l),l.state={didMountUniversal:!1},l}return s(t,e),u(t,[{key:"componentDidMount",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){this.props.universal&&this.setState({didMountUniversal:!0})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"componentWillUnmount",value:function(){this.removeListeners(),(0,c.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:"getScrollLeft",value:function(){return this.view?this.view.scrollLeft:0}},{key:"getScrollTop",value:function(){return this.view?this.view.scrollTop:0}},{key:"getScrollWidth",value:function(){return this.view?this.view.scrollWidth:0}},{key:"getScrollHeight",value:function(){return this.view?this.view.scrollHeight:0}},{key:"getClientWidth",value:function(){return this.view?this.view.clientWidth:0}},{key:"getClientHeight",value:function(){return this.view?this.view.clientHeight:0}},{key:"getValues",value:function(){var e=this.view||{},t=e.scrollLeft,n=void 0===t?0:t,r=e.scrollTop,i=void 0===r?0:r,o=e.scrollWidth,a=void 0===o?0:o,s=e.scrollHeight,l=void 0===s?0:s,u=e.clientWidth,c=void 0===u?0:u,d=e.clientHeight,f=void 0===d?0:d;return{left:n/(a-c)||0,top:i/(l-f)||0,scrollLeft:n,scrollTop:i,scrollWidth:a,scrollHeight:l,clientWidth:c,clientHeight:f}}},{key:"getThumbHorizontalWidth",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,r=this.view,i=r.scrollWidth,o=r.clientWidth,a=(0,k.default)(this.trackHorizontal),s=Math.ceil(o/i*a);return a===s?0:t||Math.max(s,n)}},{key:"getThumbVerticalHeight",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,r=this.view,i=r.scrollHeight,o=r.clientHeight,a=(0,S.default)(this.trackVertical),s=Math.ceil(o/i*a);return a===s?0:t||Math.max(s,n)}},{key:"getScrollLeftForOffset",value:function(e){var t=this.view,n=t.scrollWidth,r=t.clientWidth;return e/((0,k.default)(this.trackHorizontal)-this.getThumbHorizontalWidth())*(n-r)}},{key:"getScrollTopForOffset",value:function(e){var t=this.view,n=t.scrollHeight,r=t.clientHeight;return e/((0,S.default)(this.trackVertical)-this.getThumbVerticalHeight())*(n-r)}},{key:"scrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollLeft=e)}},{key:"scrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollTop=e)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if("undefined"!==typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,i=this.thumbVertical;e.addEventListener("scroll",this.handleScroll),(0,w.default)()&&(t.addEventListener("mouseenter",this.handleTrackMouseEnter),t.addEventListener("mouseleave",this.handleTrackMouseLeave),t.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.addEventListener("mouseenter",this.handleTrackMouseEnter),n.addEventListener("mouseleave",this.handleTrackMouseLeave),n.addEventListener("mousedown",this.handleVerticalTrackMouseDown),r.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),i.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if("undefined"!==typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,i=this.thumbVertical;e.removeEventListener("scroll",this.handleScroll),(0,w.default)()&&(t.removeEventListener("mouseenter",this.handleTrackMouseEnter),t.removeEventListener("mouseleave",this.handleTrackMouseLeave),t.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.removeEventListener("mouseenter",this.handleTrackMouseEnter),n.removeEventListener("mouseleave",this.handleTrackMouseLeave),n.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),r.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),i.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(e){var t=this,n=this.props,r=n.onScroll,i=n.onScrollFrame;r&&r(e),this.update(function(e){var n=e.scrollLeft,r=e.scrollTop;t.viewScrollLeft=n,t.viewScrollTop=r,i&&i(e)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var e=this.props.onScrollStart;e&&e(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleScrollStop",value:function(){var e=this.props.onScrollStop;e&&e(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientX,r=t.getBoundingClientRect(),i=r.left,o=this.getThumbHorizontalWidth(),a=Math.abs(i-n)-o/2;this.view.scrollLeft=this.getScrollLeftForOffset(a)}},{key:"handleVerticalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientY,r=t.getBoundingClientRect(),i=r.top,o=this.getThumbVerticalHeight(),a=Math.abs(i-n)-o/2;this.view.scrollTop=this.getScrollTopForOffset(a)}},{key:"handleHorizontalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientX,r=t.offsetWidth,i=t.getBoundingClientRect(),o=i.left;this.prevPageX=r-(n-o)}},{key:"handleVerticalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientY,r=t.offsetHeight,i=t.getBoundingClientRect(),o=i.top;this.prevPageY=r-(n-o)}},{key:"setupDragging",value:function(){(0,h.default)(document.body,C.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=T.default}},{key:"teardownDragging",value:function(){(0,h.default)(document.body,C.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(e){this.dragging=!0,e.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(e){if(this.prevPageX){var t=e.clientX,n=this.trackHorizontal.getBoundingClientRect(),r=n.left,i=this.getThumbHorizontalWidth(),o=i-this.prevPageX,a=-r+t-o;this.view.scrollLeft=this.getScrollLeftForOffset(a)}if(this.prevPageY){var s=e.clientY,l=this.trackVertical.getBoundingClientRect(),u=l.top,c=this.getThumbVerticalHeight(),d=c-this.prevPageY,f=-u+s-d;this.view.scrollTop=this.getScrollTopForOffset(f)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,h.default)(this.trackHorizontal,{opacity:1}),(0,h.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var e=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var t=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,h.default)(e.trackHorizontal,{opacity:0}),(0,h.default)(e.trackVertical,{opacity:0})},t)}}},{key:"detectScrolling",value:function(){var e=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){e.lastViewScrollLeft===e.viewScrollLeft&&e.lastViewScrollTop===e.viewScrollTop&&(clearInterval(e.detectScrollingInterval),e.scrolling=!1,e.handleScrollStop()),e.lastViewScrollLeft=e.viewScrollLeft,e.lastViewScrollTop=e.viewScrollTop},100))}},{key:"raf",value:function(e){var t=this;this.requestFrame&&d.default.cancel(this.requestFrame),this.requestFrame=(0,d.default)(function(){t.requestFrame=void 0,e()})}},{key:"update",value:function(e){var t=this;this.raf(function(){return t._update(e)})}},{key:"_update",value:function(e){var t=this.props,n=t.onUpdate,r=t.hideTracksWhenNotNeeded,i=this.getValues();if((0,w.default)()){var o=i.scrollLeft,a=i.clientWidth,s=i.scrollWidth,l=(0,k.default)(this.trackHorizontal),u=this.getThumbHorizontalWidth(),c=o/(s-a)*(l-u),d={width:u,transform:"translateX("+c+"px)"},f=i.scrollTop,p=i.clientHeight,m=i.scrollHeight,g=(0,S.default)(this.trackVertical),v=this.getThumbVerticalHeight(),y=f/(m-p)*(g-v),b={height:v,transform:"translateY("+y+"px)"};if(r){var E={visibility:s>a?"visible":"hidden"},T={visibility:m>p?"visible":"hidden"};(0,h.default)(this.trackHorizontal,E),(0,h.default)(this.trackVertical,T)}(0,h.default)(this.thumbHorizontal,d),(0,h.default)(this.thumbVertical,b)}n&&n(i),"function"===typeof e&&e(i)}},{key:"render",value:function(){var e=this,t=(0,w.default)(),n=this.props,r=(n.onScroll,n.onScrollFrame,n.onScrollStart,n.onScrollStop,n.onUpdate,n.renderView),o=n.renderTrackHorizontal,a=n.renderTrackVertical,s=n.renderThumbHorizontal,u=n.renderThumbVertical,c=n.tagName,d=(n.hideTracksWhenNotNeeded,n.autoHide),f=(n.autoHideTimeout,n.autoHideDuration),h=(n.thumbSize,n.thumbMinSize,n.universal),m=n.autoHeight,g=n.autoHeightMin,v=n.autoHeightMax,b=n.style,E=n.children,T=i(n,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),_=this.state.didMountUniversal,k=l({},C.containerStyleDefault,m&&l({},C.containerStyleAutoHeight,{minHeight:g,maxHeight:v}),b),x=l({},C.viewStyleDefault,{marginRight:t?-t:0,marginBottom:t?-t:0},m&&l({},C.viewStyleAutoHeight,{minHeight:(0,y.default)(g)?"calc("+g+" + "+t+"px)":g+t,maxHeight:(0,y.default)(v)?"calc("+v+" + "+t+"px)":v+t}),m&&h&&!_&&{minHeight:g,maxHeight:v},h&&!_&&C.viewStyleUniversalInitial),S={transition:"opacity "+f+"ms",opacity:0},O=l({},C.trackHorizontalStyleDefault,d&&S,(!t||h&&!_)&&{display:"none"}),A=l({},C.trackVerticalStyleDefault,d&&S,(!t||h&&!_)&&{display:"none"});return(0,p.createElement)(c,l({},T,{style:k,ref:function(t){e.container=t}}),[(0,p.cloneElement)(r({style:x}),{key:"view",ref:function(t){e.view=t}},E),(0,p.cloneElement)(o({style:O}),{key:"trackHorizontal",ref:function(t){e.trackHorizontal=t}},(0,p.cloneElement)(s({style:C.thumbHorizontalStyleDefault}),{ref:function(t){e.thumbHorizontal=t}})),(0,p.cloneElement)(a({style:A}),{key:"trackVertical",ref:function(t){e.trackVertical=t}},(0,p.cloneElement)(u({style:C.thumbVerticalStyleDefault}),{ref:function(t){e.thumbVertical=t}}))])}}]),t}(p.Component);t.default=A,A.propTypes={onScroll:g.default.func,onScrollFrame:g.default.func,onScrollStart:g.default.func,onScrollStop:g.default.func,onUpdate:g.default.func,renderView:g.default.func,renderTrackHorizontal:g.default.func,renderTrackVertical:g.default.func,renderThumbHorizontal:g.default.func,renderThumbVertical:g.default.func,tagName:g.default.string,thumbSize:g.default.number,thumbMinSize:g.default.number,hideTracksWhenNotNeeded:g.default.bool,autoHide:g.default.bool,autoHideTimeout:g.default.number,autoHideDuration:g.default.number,autoHeight:g.default.bool,autoHeightMin:g.default.oneOfType([g.default.number,g.default.string]),autoHeightMax:g.default.oneOfType([g.default.number,g.default.string]),universal:g.default.bool,style:g.default.object,children:g.default.node},A.defaultProps={renderView:O.renderViewDefault,renderTrackHorizontal:O.renderTrackHorizontalDefault,renderTrackVertical:O.renderTrackVerticalDefault,renderThumbHorizontal:O.renderThumbHorizontalDefault,renderThumbVertical:O.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},function(e,t,n){(function(t){for(var r=n(629),i="undefined"===typeof window?t:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],l=i["cancel"+a]||i["cancelRequest"+a],u=0;!s&&u<o.length;u++)s=i[o[u]+"Request"+a],l=i[o[u]+"Cancel"+a]||i[o[u]+"CancelRequest"+a];if(!s||!l){var c=0,d=0,f=[];s=function(e){if(0===f.length){var t=r(),n=Math.max(0,1e3/60-(t-c));c=n+t,setTimeout(function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout(function(){throw e},0)}},Math.round(n))}return f.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return s.call(i,e)},e.exports.cancel=function(){l.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=s,e.cancelAnimationFrame=l}}).call(t,n(18))},function(e,t,n){(function(t){(function(){var n,r,i,o,a,s;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,n=function(){var e;return e=r(),1e9*e[0]+e[1]},o=n(),s=1e9*t.uptime(),a=o-s):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(t,n(43))},function(e,t){var n=null,r=["Webkit","Moz","O","ms"];e.exports=function(e){n||(n=document.createElement("div"));var t=n.style;if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),o=r.length;o>=0;o--){var a=r[o]+i;if(a in t)return a}return!1}},function(e,t,n){function r(e){return i(e).replace(/\s(\w)/g,function(e,t){return t.toUpperCase()})}var i=n(632);e.exports=r},function(e,t,n){function r(e){return i(e).replace(/[\W_]+(.|$)/g,function(e,t){return t?" "+t:""}).trim()}var i=n(633);e.exports=r},function(e,t){function n(e){return o.test(e)?e.toLowerCase():a.test(e)?(r(e)||e).toLowerCase():s.test(e)?i(e).toLowerCase():e.toLowerCase()}function r(e){return e.replace(l,function(e,t){return t?" "+t:""})}function i(e){return e.replace(u,function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")})}e.exports=n;var o=/\s/,a=/(_|-|\.|:)/,s=/([a-z][A-Z]|[A-Z][a-z])/,l=/[\W_]+(.|$)/g,u=/(.)([A-Z]+)/g},function(e,t){var n={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};e.exports=function(e,t){return"number"!==typeof t||n[e]?t:t+"px"}},function(e,t,n){"use strict";function r(e){return"string"===typeof e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(){if(!1!==a)return a;if("undefined"!==typeof document){var e=document.createElement("div");(0,o.default)(e,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(e),a=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}else a=0;return a||0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(228),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=!1},function(e,t,n){"use strict";function r(){return!1}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){var t=e.clientWidth,n=getComputedStyle(e),r=n.paddingLeft,i=n.paddingRight;return t-parseFloat(r)-parseFloat(i)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){var t=e.clientHeight,n=getComputedStyle(e),r=n.paddingTop,i=n.paddingBottom;return t-parseFloat(r)-parseFloat(i)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},t.containerStyleAutoHeight={height:"auto"},t.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},t.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},t.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},t.trackHorizontalStyleDefault={position:"absolute",height:6},t.trackVerticalStyleDefault={position:"absolute",width:6},t.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},t.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},t.disableSelectStyle={userSelect:"none"},t.disableSelectStyleReset={userSelect:""}},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return d.default.createElement("div",e)}function o(e){var t=e.style,n=r(e,["style"]),i=u({},t,{right:2,bottom:2,left:2,borderRadius:3});return d.default.createElement("div",u({style:i},n))}function a(e){var t=e.style,n=r(e,["style"]),i=u({},t,{right:2,bottom:2,top:2,borderRadius:3});return d.default.createElement("div",u({style:i},n))}function s(e){var t=e.style,n=r(e,["style"]),i=u({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return d.default.createElement("div",u({style:i},n))}function l(e){var t=e.style,n=r(e,["style"]),i=u({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return d.default.createElement("div",u({style:i},n))}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.renderViewDefault=i,t.renderTrackHorizontalDefault=o,t.renderTrackVerticalDefault=a,t.renderThumbHorizontalDefault=s,t.renderThumbVerticalDefault=l;var c=n(1),d=function(e){return e&&e.__esModule?e:{default:e}}(c)},function(e,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 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 o(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)}n.d(t,"a",function(){return d});var a=n(1),s=n.n(a),l=n(40),u=n.n(l),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.updateDim=function(){n.mounted&&(window.innerWidth<=n.minWidth&&!n.state.minimized?n.setState({minimized:!0}):window.innerWidth>n.minWidth&&n.state.minimized&&n.setState({minimized:!1,drawerOpen:!1}),n.setState({innerHeight:window.innerHeight}))},n.imageLoaded=function(){n.setState({imageLoaded:!0})},n.componentWillMount=function(){window.innerWidth<=n.minWidth&&n.setState({minimized:!0}),n.mounted=!0},n.moveBackground=function(){},n.moveBackgroundEvent=function(e){},n.state={imageLoaded:!1,translate:"scale(1.1)",translateText:"scale(1.0)",minimized:!1,innerHeight:window.innerHeight},n.defaultImage="T--Washington--MB.jpg";var o=new Image;return o.src=n.props.params.BACKGROUND?n.props.params.BACKGROUND:n.defaultImage,o.onload=n.imageLoaded,n.x=0,n.y=0,n.tX=0,n.tY=0,n.lFollowX=0,n.lFollowY=0,n.friction=1/30,n.minWidth=850,n.headerBarPercentage=.3,window.addEventListener("resize",n.updateDim),n}return o(t,e),c(t,[{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"render",value:function(){var e=this.props.params,t=e.BACKGROUNDLIGHTNESS?e.BACKGROUNDLIGHTNESS:0,n=e.BACKGROUND?e.BACKGROUND:this.defaultImage,r=e.BACKGROUNDOPACITY?e.BACKGROUNDOPACITY:.6,i=e.TEXTHEIGHT?e.TEXTHEIGHT:12,o=e.TEXT?e.TEXT:"",a=e.BLUR?e.BLUR:5,l=e.MINTITLEHEIGHT?e.MINTITLEHEIGHT:8,c=e.MINPADDINGTOP?e.MINPADDINGTOP:80,d=e.PADDINGTOP?e.PADDINGTOP:120,f=e.XPOS?e.XPOS:50,h=e.YPOS?e.YPOS:50;return s.a.createElement("div",null,s.a.createElement(u.a,{when:this.state.imageLoaded},s.a.createElement("div",{style:{width:"100%",height:this.headerBarPercentage*window.innerHeight+18,textAlign:"center",margin:"auto",overflow:"hidden",position:"relative"}},s.a.createElement("div",{style:{width:"100%",height:"100%",backgroundAttachment:"fixed",background:"url("+n+") "+f+"% "+h+"%",backgroundColor:"hsla(0,0%,"+t+"%,"+r+")",backgroundBlendMode:"overlay",backgroundSize:"cover",position:"absolute",filter:"blur("+a+"px)",top:18,left:0,WebkitTransform:this.state.translate,transform:this.state.translate,msTransform:this.state.translate,OTransform:this.state.translate,MozTransform:this.state.translate}}),s.a.createElement("div",{style:{paddingTop:this.state.minimized?c+"px":d+"px",WebkitTransform:this.state.translateText,transform:this.state.translateText,msTransform:this.state.translateText,OTransform:this.state.translateText,MozTransform:this.state.translateText}},s.a.createElement("div",{style:{color:"white",fontSize:(this.state.minimized?l:i)+"vh",textAlign:"center",fontFamily:"Leixo"}},s.a.createElement(u.a,{clear:!0,duration:500,when:this.state.imageLoaded},o))))))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return m});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(40)),c=n.n(u),d=n(645),f=(n.n(d),n(67)),h=n(86),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setLoaded=function(e){if(!n.state.loaded[e]){var t=n.state.loaded;t[e]=!0,n.setState({loaded:t})}},n.state={loaded:[],data:[],hover:[]},n.cardBody=71,n}return o(t,e),p(t,[{key:"componentWillMount",value:function(){var e=this;this.setState({data:this.props.data,maxImagesPerRow:this.props.maxImagesPerRow}),this.props.data.forEach(function(t,n){var r=new Image;r.src=t.PICTURE,r.onload=function(){return e.setLoaded(n)}})}},{key:"componentWillReceiveProps",value:function(e){var t=e.data,n=e.maxImagesPerRow;this.setState({data:t,maxImagesPerRow:n})}},{key:"render",value:function(){var e=this,t=this.state.data;return s.a.createElement("div",{style:{margin:30,textAlign:"center"}},s.a.createElement(l.Grid,{fluid:!0,style:{padding:0,margin:0}},s.a.createElement(c.a,{clear:!0,cascade:!0},s.a.createElement(l.Row,{style:{padding:0,margin:0},center:"xs"},t&&t.map(function(t,n){var r=t.XPOS?t.XPOS:50,i=t.YPOS?t.YPOS:50;return s.a.createElement(l.Col,{md:Math.round(12/e.state.maxImagesPerRow),key:"img"+n,style:{marginTop:10}},s.a.createElement(c.a,{when:e.state.loaded[n]},s.a.createElement("div",null,t.LINK&&s.a.createElement("a",{href:t.LINK,target:"_blank",style:{textDecoration:"none"},className:"linkSubImageTotal"},s.a.createElement("div",{style:{width:"100%",maxWidth:402,minWidth:180,height:"auto",minHeight:280,margin:"auto",backgroundColor:"white",background:"url("+t.PICTURE+") no-repeat "+r+"% "+i+"%",backgroundSize:"cover",cursor:"pointer",boxShadow:"5px 5px 10px gray",marginBottom:10},className:"linkSubImage"}),t.TITLE&&s.a.createElement("div",{style:{padding:5,fontSize:"16pt"}},t.TITLE," ",s.a.createElement(f.a,{icon:h.a})),s.a.createElement("div",{style:{padding:5,fontSize:"11pt"}},t.DESCRIPTION)),!t.LINK&&s.a.createElement("div",null,s.a.createElement("div",{style:{width:"100%",maxWidth:402,minWidth:180,height:"auto",minHeight:280,margin:"auto",backgroundColor:"white",background:"url("+t.PICTURE+") no-repeat "+r+"% "+i+"%",backgroundSize:"cover",boxShadow:"5px 5px 10px gray",marginBottom:10}}),t.TITLE&&s.a.createElement("div",{style:{padding:5,fontSize:"16pt"}},t.TITLE),s.a.createElement("div",{style:{padding:5,fontSize:"11pt"}},t.DESCRIPTION)))))})))))}}]),t}(a.Component)},function(e,t){},function(e,t,n){"use strict";function r(e,t){t.tree=e.parse(t.file)}function i(e,t,n){function r(e,r,i){e?n(e):(t.tree=r,t.file=i,n())}e.run(t.tree,t.file,r)}function o(e,t){t.file.contents=e.stringify(t.tree,t.file)}function a(){function e(){for(var e=a(),t=C.length,n=-1;++n<t;)e.use.apply(null,C[n]);return e.data(p(!0,{},A)),e}function t(){var t,n,r,i;if(P)return e;for(;++I<C.length;)t=C[I],n=t[0],r=t[1],i=null,!1!==r&&(!0===r&&(t[1]=void 0),"function"===typeof(i=n.apply(e,t.slice(1)))&&O.use(i));return P=!0,I=1/0,e}function n(t,n){return y(t)?2===arguments.length?(d("data",P),A[t]=n,e):E.call(A,t)&&A[t]||null:t?(d("data",P),A=t,e):A}function r(t){function n(e){o(e.plugins),e.settings&&(s=p(s||{},e.settings))}function r(e){if("function"===typeof e)a(e);else{if("object"!==typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?a.apply(null,e):n(e)}}function o(e){var t,n;if(null===e||void 0===e);else{if(!("object"===typeof e&&"length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(t=e.length,n=-1;++n<t;)r(e[n])}}function a(e,t){var n=i(e);n?(b(n[1])&&b(t)&&(t=p(n[1],t)),n[1]=t):C.push(w.call(arguments))}var s;if(d("use",P),null===t||void 0===t);else if("function"===typeof t)a.apply(null,arguments);else{if("object"!==typeof t)throw new Error("Expected usable value, not `"+t+"`");"length"in t?o(t):n(t)}return s&&(A.settings=p(A.settings||{},s)),e}function i(e){for(var t,n=C.length,r=-1;++r<n;)if(t=C[r],t[0]===e)return t}function o(n){var r,i=g(n);return t(),r=e.Parser,u("parse",r),s(r)?new r(String(i),i).parse():r(String(i),i)}function l(e,n,r){function i(t,i){function o(n,o,a){o=o||e,n?i(n):t?t(o):r(null,o,a)}O.run(e,g(n),o)}if(f(e),t(),r||"function"!==typeof n||(r=n,n=null),!r)return new Promise(i);i(null,r)}function _(e,t){function n(e,t){i=!0,m(e),r=t}var r,i=!1;return l(e,t,n),h("runSync","run",i),r}function k(n,r){var i,o=g(r);return t(),i=e.Compiler,c("stringify",i),f(n),s(i)?new i(n,o).compile():i(n,o)}function x(n,r){function i(t,i){function o(e){e?i(e):t?t(a):r(null,a)}var a=g(n);T.run(e,{file:a},o)}if(t(),u("process",e.Parser),c("process",e.Compiler),!r)return new Promise(i);i(null,r)}function S(n){function r(e){o=!0,m(e)}var i,o=!1;return t(),u("processSync",e.Parser),c("processSync",e.Compiler),i=g(n),x(i,r),h("processSync","process",o),i}var C=[],O=v(),A={},P=!1,I=-1;return e.data=n,e.freeze=t,e.attachers=C,e.use=r,e.parse=o,e.stringify=k,e.run=l,e.runSync=_,e.process=x,e.processSync=S,e}function s(e){return"function"===typeof e&&l(e.prototype)}function l(e){var t;for(t in e)return!0;return!1}function u(e,t){if("function"!==typeof t)throw new Error("Cannot `"+e+"` without `Parser`")}function c(e,t){if("function"!==typeof t)throw new Error("Cannot `"+e+"` without `Compiler`")}function d(e,t){if(t)throw new Error(["Cannot invoke `"+e+"` on a frozen processor.\nCreate a new ","processor first, by invoking it: use `processor()` instead of ","`processor`."].join(""))}function f(e){if(!e||!y(e.type))throw new Error("Expected node, got `"+e+"`")}function h(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}var p=n(647),m=n(648),g=n(649),v=n(655),y=n(656),b=n(657);e.exports=a().freeze();var w=[].slice,E={}.hasOwnProperty,T=v().use(r).use(i).use(o)},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},a=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t=r.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!t&&!n)return!1;var o;for(o in e);return"undefined"===typeof o||r.call(e,o)};e.exports=function e(){var t,n,r,i,s,l,u=arguments[0],c=1,d=arguments.length,f=!1;for("boolean"===typeof u&&(f=u,u=arguments[1]||{},c=2),(null==u||"object"!==typeof u&&"function"!==typeof u)&&(u={});c<d;++c)if(null!=(t=arguments[c]))for(n in t)r=u[n],i=t[n],u!==i&&(f&&i&&(a(i)||(s=o(i)))?(s?(s=!1,l=r&&o(r)?r:[]):l=r&&a(r)?r:{},u[n]=e(f,l,i)):"undefined"!==typeof i&&(u[n]=i));return u}},function(e,t,n){"use strict";function r(e){if(e)throw e}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=this.path,i=new a(e,t,n);return r&&(i.name=r+":"+i.name,i.file=r),i.fatal=!1,this.messages.push(i),i}function i(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}function o(){var e=this.message.apply(this,arguments);return e.fatal=null,e}var a=n(650),s=n(652);e.exports=s;var l=s.prototype;l.message=r,l.info=o,l.fail=i,l.warn=r},function(e,t,n){"use strict";function r(){}function i(e,t,n){var r,i,s;"string"===typeof t&&(n=t,t=null),r=o(n),i=a(t)||"1:1",s={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(s=t,t=t.start):s.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=i,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=s,this.source=r[0],this.ruleId=r[1]}function o(e){var t,n=[null,null];return"string"===typeof e&&(t=e.indexOf(":"),-1===t?n[1]=e:(n[0]=e.slice(0,t),n[1]=e.slice(t+1))),n}var a=n(651);e.exports=i,r.prototype=Error.prototype,i.prototype=new r;var s=i.prototype;s.file="",s.name="",s.reason="",s.message="",s.stack="",s.fatal=null,s.column=null,s.line=null},function(e,t,n){"use strict";function r(e){return e&&"object"===typeof e?s.call(e,"position")||s.call(e,"type")?o(e.position):s.call(e,"start")||s.call(e,"end")?o(e):s.call(e,"line")||s.call(e,"column")?i(e):null:null}function i(e){return e&&"object"===typeof e||(e={}),a(e.line)+":"+a(e.column)}function o(e){return e&&"object"===typeof e||(e={}),i(e.start)+"-"+i(e.end)}function a(e){return e&&"number"===typeof e?e:1}var s={}.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";(function(t){function r(e){var n,i,o;if(e){if("string"===typeof e||c(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof r))return new r(e);for(this.data={},this.messages=[],this.history=[],this.cwd=t.cwd(),i=-1,o=h.length;++i<o;)n=h[i],d.call(e,n)&&(this[n]=e[n]);for(n in e)-1===h.indexOf(n)&&(this[n]=e[n])}function i(e){var t=this.contents||"";return c(t)?t.toString(e):String(t)}function o(e,t){if(-1!==e.indexOf(l.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+l.sep+"`")}function a(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function s(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}var l=n(229),u=n(653),c=n(654);e.exports=r;var d={}.hasOwnProperty,f=r.prototype;f.toString=i;var h=["history","path","basename","stem","extname","dirname"];Object.defineProperty(f,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){a(e,"path"),e!==this.path&&this.history.push(e)}}),Object.defineProperty(f,"dirname",{get:function(){return"string"===typeof this.path?l.dirname(this.path):void 0},set:function(e){s(this.path,"dirname"),this.path=l.join(e||"",this.basename)}}),Object.defineProperty(f,"basename",{get:function(){return"string"===typeof this.path?l.basename(this.path):void 0},set:function(e){a(e,"basename"),o(e,"basename"),this.path=l.join(this.dirname||"",e)}}),Object.defineProperty(f,"extname",{get:function(){return"string"===typeof this.path?l.extname(this.path):void 0},set:function(e){var t=e||"";if(o(t,"extname"),s(this.path,"extname"),t){if("."!==t.charAt(0))throw new Error("`extname` must start with `.`");if(-1!==t.indexOf(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=u(this.path,t)}}),Object.defineProperty(f,"stem",{get:function(){return"string"===typeof this.path?l.basename(this.path,this.extname):void 0},set:function(e){a(e,"stem"),o(e,"stem"),this.path=l.join(this.dirname||"",e+(this.extname||""))}})}).call(t,n(43))},function(e,t,n){"use strict";function r(e,t){if("string"!==typeof e)return e;if(0===e.length)return e;var n=i.basename(e,i.extname(e))+t;return i.join(i.dirname(e),n)}var i=n(229);e.exports=r},function(e,t){function n(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&n(e.slice(0,0))}e.exports=function(e){return null!=e&&(n(e)||r(e)||!!e._isBuffer)}},function(e,t,n){"use strict";function r(){function e(){function e(s){var l=n[++t],u=o.call(arguments,0),c=u.slice(1),d=r.length,f=-1;if(s)return void a(s);for(;++f<d;)null!==c[f]&&void 0!==c[f]||(c[f]=r[f]);r=c,l?i(l,e).apply(null,r):a.apply(null,[null].concat(r))}var t=-1,r=o.call(arguments,0,-1),a=arguments[arguments.length-1];if("function"!==typeof a)throw new Error("Expected function as last argument, not "+a);e.apply(null,[null].concat(r))}function t(e){if("function"!==typeof e)throw new Error("Expected `fn` to be a function, not "+e);return n.push(e),r}var n=[],r={};return r.run=e,r.use=t,r}function i(e,t){function n(){var t,n=o.call(arguments,0),s=e.length>n.length;s&&n.push(r);try{t=e.apply(null,n)}catch(e){if(s&&a)throw e;return r(e)}s||(t&&"function"===typeof t.then?t.then(i,r):t instanceof Error?r(t):i(t))}function r(){a||(a=!0,t.apply(null,arguments))}function i(e){r(null,e)}var a;return n}e.exports=r;var o=[].slice},function(e,t){function n(e){return"[object String]"===r.call(e)}var r=Object.prototype.toString;e.exports=n},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t;return"[object Object]"===r.call(e)&&(null===(t=Object.getPrototypeOf(e))||t===Object.getPrototypeOf({}))}},function(e,t,n){"use strict";function r(e){var t=i(a);t.prototype.options=o(t.prototype.options,this.data("settings"),e),this.Parser=t}var i=n(230),o=n(24),a=n(660);e.exports=r,r.Parser=a},function(e,t){"function"===typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){"use strict";function r(e,t){this.file=t,this.offset={},this.options=o(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=s(t).toOffset,this.unescape=l(this,"escape"),this.decode=u(this)}function i(e){var t,n=[];for(t in e)n.push(t);return n}var o=n(24),a=n(231),s=n(661),l=n(662),u=n(663),c=n(666);e.exports=r;var d=r.prototype;d.setOptions=n(667),d.parse=n(669),d.options=n(237),d.exitStart=a("atStart",!0),d.enterList=a("inList",!1),d.enterLink=a("inLink",!1),d.enterBlock=a("inBlock",!1),d.interruptParagraph=[["thematicBreak"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],d.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],d.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],d.blockTokenizers={newline:n(671),indentedCode:n(672),fencedCode:n(673),blockquote:n(674),atxHeading:n(675),thematicBreak:n(676),list:n(677),setextHeading:n(679),html:n(680),footnote:n(681),definition:n(682),table:n(683),paragraph:n(684)},d.inlineTokenizers={escape:n(685),autoLink:n(687),url:n(688),html:n(690),link:n(691),reference:n(692),strong:n(693),emphasis:n(695),deletion:n(698),code:n(700),break:n(702),text:n(704)},d.blockMethods=i(d.blockTokenizers),d.inlineMethods=i(d.inlineTokenizers),d.tokenizeBlock=c("block"),d.tokenizeInline=c("inline"),d.tokenizeFactory=c},function(e,t,n){"use strict";function r(e){var t=a(String(e));return{toPosition:i(t),toOffset:o(t)}}function i(e){function t(t){var n=-1,r=e.length;if(t<0)return{};for(;++n<r;)if(e[n]>t)return{line:n+1,column:t-(e[n-1]||0)+1,offset:t};return{}}return t}function o(e){function t(t){var n=t&&t.line,r=t&&t.column;return!isNaN(n)&&!isNaN(r)&&n-1 in e?(e[n-2]||0)+r-1||0:-1}return t}function a(e){for(var t=[],n=e.indexOf("\n");-1!==n;)t.push(n+1),n=e.indexOf("\n",n+1);return t.push(e.length+1),t}e.exports=r},function(e,t,n){"use strict";function r(e,t){function n(n){for(var r,i=0,o=n.indexOf("\\"),a=e[t],s=[];-1!==o;)s.push(n.slice(i,o)),i=o+1,r=n.charAt(i),r&&-1!==a.indexOf(r)||s.push("\\"),o=n.indexOf("\\",i);return s.push(n.slice(i)),s.join("")}return n}e.exports=r},function(e,t,n){"use strict";function r(e){function t(t){for(var n=e.offset,r=t.line,i=[];++r&&r in n;)i.push((n[r]||0)+1);return{start:t,indent:i}}function n(t,n,r){3!==r&&e.file.message(t,n)}function r(r,i,a){o(r,{position:t(i),warning:n,text:a,reference:a,textContext:e,referenceContext:e})}function a(e,r,a){return o(e,i(a,{position:t(r),warning:n}))}return r.raw=a,r}var i=n(24),o=n(88);e.exports=r},function(e,t){e.exports={AEli:"\xc6",AElig:"\xc6",AM:"&",AMP:"&",Aacut:"\xc1",Aacute:"\xc1",Abreve:"\u0102",Acir:"\xc2",Acirc:"\xc2",Acy:"\u0410",Afr:"\ud835\udd04",Agrav:"\xc0",Agrave:"\xc0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2a53",Aogon:"\u0104",Aopf:"\ud835\udd38",ApplyFunction:"\u2061",Arin:"\xc5",Aring:"\xc5",Ascr:"\ud835\udc9c",Assign:"\u2254",Atild:"\xc3",Atilde:"\xc3",Aum:"\xc4",Auml:"\xc4",Backslash:"\u2216",Barv:"\u2ae7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212c",Beta:"\u0392",Bfr:"\ud835\udd05",Bopf:"\ud835\udd39",Breve:"\u02d8",Bscr:"\u212c",Bumpeq:"\u224e",CHcy:"\u0427",COP:"\xa9",COPY:"\xa9",Cacute:"\u0106",Cap:"\u22d2",CapitalDifferentialD:"\u2145",Cayleys:"\u212d",Ccaron:"\u010c",Ccedi:"\xc7",Ccedil:"\xc7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010a",Cedilla:"\xb8",CenterDot:"\xb7",Cfr:"\u212d",Chi:"\u03a7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2a74",Congruent:"\u2261",Conint:"\u222f",ContourIntegral:"\u222e",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2a2f",Cscr:"\ud835\udc9e",Cup:"\u22d3",CupCap:"\u224d",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040f",Dagger:"\u2021",Darr:"\u21a1",Dashv:"\u2ae4",Dcaron:"\u010e",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\ud835\udd07",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",Diamond:"\u22c4",DifferentialD:"\u2146",Dopf:"\ud835\udd3b",Dot:"\xa8",DotDot:"\u20dc",DotEqual:"\u2250",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",Downarrow:"\u21d3",Dscr:"\ud835\udc9f",Dstrok:"\u0110",ENG:"\u014a",ET:"\xd0",ETH:"\xd0",Eacut:"\xc9",Eacute:"\xc9",Ecaron:"\u011a",Ecir:"\xca",Ecirc:"\xca",Ecy:"\u042d",Edot:"\u0116",Efr:"\ud835\udd08",Egrav:"\xc8",Egrave:"\xc8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25fb",EmptyVerySmallSquare:"\u25ab",Eogon:"\u0118",Eopf:"\ud835\udd3c",Epsilon:"\u0395",Equal:"\u2a75",EqualTilde:"\u2242",Equilibrium:"\u21cc",Escr:"\u2130",Esim:"\u2a73",Eta:"\u0397",Eum:"\xcb",Euml:"\xcb",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\ud835\udd09",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",Fopf:"\ud835\udd3d",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",G:">",GT:">",Gamma:"\u0393",Gammad:"\u03dc",Gbreve:"\u011e",Gcedil:"\u0122",Gcirc:"\u011c",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\ud835\udd0a",Gg:"\u22d9",Gopf:"\ud835\udd3e",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",Gt:"\u226b",HARDcy:"\u042a",Hacek:"\u02c7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210c",HilbertSpace:"\u210b",Hopf:"\u210d",HorizontalLine:"\u2500",Hscr:"\u210b",Hstrok:"\u0126",HumpDownHump:"\u224e",HumpEqual:"\u224f",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacut:"\xcd",Iacute:"\xcd",Icir:"\xce",Icirc:"\xce",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrav:"\xcc",Igrave:"\xcc",Im:"\u2111",Imacr:"\u012a",ImaginaryI:"\u2148",Implies:"\u21d2",Int:"\u222c",Integral:"\u222b",Intersection:"\u22c2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012e",Iopf:"\ud835\udd40",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Ium:"\xcf",Iuml:"\xcf",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\ud835\udd0d",Jopf:"\ud835\udd41",Jscr:"\ud835\udca5",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040c",Kappa:"\u039a",Kcedil:"\u0136",Kcy:"\u041a",Kfr:"\ud835\udd0e",Kopf:"\ud835\udd42",Kscr:"\ud835\udca6",LJcy:"\u0409",L:"<",LT:"<",Lacute:"\u0139",Lambda:"\u039b",Lang:"\u27ea",Laplacetrf:"\u2112",Larr:"\u219e",Lcaron:"\u013d",Lcedil:"\u013b",Lcy:"\u041b",LeftAngleBracket:"\u27e8",LeftArrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",LeftRightArrow:"\u2194",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",Leftarrow:"\u21d0",Leftrightarrow:"\u21d4",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2aa1",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",Lfr:"\ud835\udd0f",Ll:"\u22d8",Lleftarrow:"\u21da",Lmidot:"\u013f",LongLeftArrow:"\u27f5",LongLeftRightArrow:"\u27f7",LongRightArrow:"\u27f6",Longleftarrow:"\u27f8",Longleftrightarrow:"\u27fa",Longrightarrow:"\u27f9",Lopf:"\ud835\udd43",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21b0",Lstrok:"\u0141",Lt:"\u226a",Map:"\u2905",Mcy:"\u041c",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",MinusPlus:"\u2213",Mopf:"\ud835\udd44",Mscr:"\u2133",Mu:"\u039c",NJcy:"\u040a",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041d",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",Nfr:"\ud835\udd11",NoBreak:"\u2060",NonBreakingSpace:"\xa0",Nopf:"\u2115",Not:"\u2aec",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\ud835\udca9",Ntild:"\xd1",Ntilde:"\xd1",Nu:"\u039d",OElig:"\u0152",Oacut:"\xd3",Oacute:"\xd3",Ocir:"\xd4",Ocirc:"\xd4",Ocy:"\u041e",Odblac:"\u0150",Ofr:"\ud835\udd12",Ograv:"\xd2",Ograve:"\xd2",Omacr:"\u014c",Omega:"\u03a9",Omicron:"\u039f",Oopf:"\ud835\udd46",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",Or:"\u2a54",Oscr:"\ud835\udcaa",Oslas:"\xd8",Oslash:"\xd8",Otild:"\xd5",Otilde:"\xd5",Otimes:"\u2a37",Oum:"\xd6",Ouml:"\xd6",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",PartialD:"\u2202",Pcy:"\u041f",Pfr:"\ud835\udd13",Phi:"\u03a6",Pi:"\u03a0",PlusMinus:"\xb1",Poincareplane:"\u210c",Popf:"\u2119",Pr:"\u2abb",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",Prime:"\u2033",Product:"\u220f",Proportion:"\u2237",Proportional:"\u221d",Pscr:"\ud835\udcab",Psi:"\u03a8",QUO:'"',QUOT:'"',Qfr:"\ud835\udd14",Qopf:"\u211a",Qscr:"\ud835\udcac",RBarr:"\u2910",RE:"\xae",REG:"\xae",Racute:"\u0154",Rang:"\u27eb",Rarr:"\u21a0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211c",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",Rfr:"\u211c",Rho:"\u03a1",RightAngleBracket:"\u27e9",RightArrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",Rightarrow:"\u21d2",Ropf:"\u211d",RoundImplies:"\u2970",Rrightarrow:"\u21db",Rscr:"\u211b",Rsh:"\u21b1",RuleDelayed:"\u29f4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042c",Sacute:"\u015a",Sc:"\u2abc",Scaron:"\u0160",Scedil:"\u015e",Scirc:"\u015c",Scy:"\u0421",Sfr:"\ud835\udd16",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03a3",SmallCircle:"\u2218",Sopf:"\ud835\udd4a",Sqrt:"\u221a",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\ud835\udcae",Star:"\u22c6",Sub:"\u22d0",Subset:"\u22d0",SubsetEqual:"\u2286",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",SuchThat:"\u220b",Sum:"\u2211",Sup:"\u22d1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22d1",THOR:"\xde",THORN:"\xde",TRADE:"\u2122",TSHcy:"\u040b",TScy:"\u0426",Tab:"\t",Tau:"\u03a4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\ud835\udd17",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\ud835\udd4b",TripleDot:"\u20db",Tscr:"\ud835\udcaf",Tstrok:"\u0166",Uacut:"\xda",Uacute:"\xda",Uarr:"\u219f",Uarrocir:"\u2949",Ubrcy:"\u040e",Ubreve:"\u016c",Ucir:"\xdb",Ucirc:"\xdb",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\ud835\udd18",Ugrav:"\xd9",Ugrave:"\xd9",Umacr:"\u016a",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",Uopf:"\ud835\udd4c",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",UpDownArrow:"\u2195",UpEquilibrium:"\u296e",UpTee:"\u22a5",UpTeeArrow:"\u21a5",Uparrow:"\u21d1",Updownarrow:"\u21d5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03d2",Upsilon:"\u03a5",Uring:"\u016e",Uscr:"\ud835\udcb0",Utilde:"\u0168",Uum:"\xdc",Uuml:"\xdc",VDash:"\u22ab",Vbar:"\u2aeb",Vcy:"\u0412",Vdash:"\u22a9",Vdashl:"\u2ae6",Vee:"\u22c1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",Vopf:"\ud835\udd4d",Vscr:"\ud835\udcb1",Vvdash:"\u22aa",Wcirc:"\u0174",Wedge:"\u22c0",Wfr:"\ud835\udd1a",Wopf:"\ud835\udd4e",Wscr:"\ud835\udcb2",Xfr:"\ud835\udd1b",Xi:"\u039e",Xopf:"\ud835\udd4f",Xscr:"\ud835\udcb3",YAcy:"\u042f",YIcy:"\u0407",YUcy:"\u042e",Yacut:"\xdd",Yacute:"\xdd",Ycirc:"\u0176",Ycy:"\u042b",Yfr:"\ud835\udd1c",Yopf:"\ud835\udd50",Yscr:"\ud835\udcb4",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017d",Zcy:"\u0417",Zdot:"\u017b",ZeroWidthSpace:"\u200b",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\ud835\udcb5",aacut:"\xe1",aacute:"\xe1",abreve:"\u0103",ac:"\u223e",acE:"\u223e\u0333",acd:"\u223f",acir:"\xe2",acirc:"\xe2",acut:"\xb4",acute:"\xb4",acy:"\u0430",aeli:"\xe6",aelig:"\xe6",af:"\u2061",afr:"\ud835\udd1e",agrav:"\xe0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",amacr:"\u0101",amalg:"\u2a3f",am:"&",amp:"&",and:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",aopf:"\ud835\udd52",ap:"\u2248",apE:"\u2a70",apacir:"\u2a6f",ape:"\u224a",apid:"\u224b",apos:"'",approx:"\u2248",approxeq:"\u224a",arin:"\xe5",aring:"\xe5",ascr:"\ud835\udcb6",ast:"*",asymp:"\u2248",asympeq:"\u224d",atild:"\xe3",atilde:"\xe3",aum:"\xe4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",bNot:"\u2aed",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",barvee:"\u22bd",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",beta:"\u03b2",beth:"\u2136",between:"\u226c",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255d",boxUR:"\u255a",boxUl:"\u255c",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256c",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256b",boxVl:"\u2562",boxVr:"\u255f",boxbox:"\u29c9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250c",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252c",boxhu:"\u2534",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxuL:"\u255b",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256a",boxvL:"\u2561",boxvR:"\u255e",boxvh:"\u253c",boxvl:"\u2524",boxvr:"\u251c",bprime:"\u2035",breve:"\u02d8",brvba:"\xa6",brvbar:"\xa6",bscr:"\ud835\udcb7",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",bumpeq:"\u224f",cacute:"\u0107",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",ccaps:"\u2a4d",ccaron:"\u010d",ccedi:"\xe7",ccedil:"\xe7",ccirc:"\u0109",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",cedi:"\xb8",cedil:"\xb8",cemptyv:"\u29b2",cen:"\xa2",cent:"\xa2",centerdot:"\xb7",cfr:"\ud835\udd20",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",cir:"\u25cb",cirE:"\u29c3",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledR:"\xae",circledS:"\u24c8",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",conint:"\u222e",copf:"\ud835\udd54",coprod:"\u2210",cop:"\xa9",copy:"\xa9",copysr:"\u2117",crarr:"\u21b5",cross:"\u2717",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cup:"\u222a",cupbrcap:"\u2a48",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curre:"\xa4",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dArr:"\u21d3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21ca",ddotseq:"\u2a77",de:"\xb0",deg:"\xb0",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\ud835\udd21",dharl:"\u21c3",dharr:"\u21c2",diam:"\u22c4",diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divid:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\ud835\udd55",dot:"\u02d9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscr:"\ud835\udcb9",dscy:"\u0455",dsol:"\u29f6",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",dzigrarr:"\u27ff",eDDot:"\u2a77",eDot:"\u2251",eacut:"\xe9",eacute:"\xe9",easter:"\u2a6e",ecaron:"\u011b",ecir:"\xea",ecirc:"\xea",ecolon:"\u2255",ecy:"\u044d",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\ud835\udd22",eg:"\u2a9a",egrav:"\xe8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014b",ensp:"\u2002",eogon:"\u0119",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",equals:"=",equest:"\u225f",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erDot:"\u2253",erarr:"\u2971",escr:"\u212f",esdot:"\u2250",esim:"\u2242",eta:"\u03b7",et:"\xf0",eth:"\xf0",eum:"\xeb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\ud835\udd23",filig:"\ufb01",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\ud835\udd57",forall:"\u2200",fork:"\u22d4",forkv:"\u2ad9",fpartint:"\u2a0d",frac1:"\xbc",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac3:"\xbe",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",gE:"\u2267",gEl:"\u2a8c",gacute:"\u01f5",gamma:"\u03b3",gammad:"\u03dd",gap:"\u2a86",gbreve:"\u011f",gcirc:"\u011d",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\ud835\udd24",gg:"\u226b",ggg:"\u22d9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2a92",gla:"\u2aa5",glj:"\u2aa4",gnE:"\u2269",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",gopf:"\ud835\udd58",grave:"`",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",g:">",gt:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",hArr:"\u21d4",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",hardcy:"\u044a",harr:"\u2194",harrcir:"\u2948",harrw:"\u21ad",hbar:"\u210f",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",horbar:"\u2015",hscr:"\ud835\udcbd",hslash:"\u210f",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacut:"\xed",iacute:"\xed",ic:"\u2063",icir:"\xee",icirc:"\xee",icy:"\u0438",iecy:"\u0435",iexc:"\xa1",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",igrav:"\xec",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012b",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",intcal:"\u22ba",integers:"\u2124",intercal:"\u22ba",intlarhk:"\u2a17",intprod:"\u2a3c",iocy:"\u0451",iogon:"\u012f",iopf:"\ud835\udd5a",iota:"\u03b9",iprod:"\u2a3c",iques:"\xbf",iquest:"\xbf",iscr:"\ud835\udcbe",isin:"\u2208",isinE:"\u22f9",isindot:"\u22f5",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",ium:"\xef",iuml:"\xef",jcirc:"\u0135",jcy:"\u0439",jfr:"\ud835\udd27",jmath:"\u0237",jopf:"\ud835\udd5b",jscr:"\ud835\udcbf",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03ba",kappav:"\u03f0",kcedil:"\u0137",kcy:"\u043a",kfr:"\ud835\udd28",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045c",kopf:"\ud835\udd5c",kscr:"\ud835\udcc0",lAarr:"\u21da",lArr:"\u21d0",lAtail:"\u291b",lBarr:"\u290e",lE:"\u2266",lEg:"\u2a8b",lHar:"\u2962",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",lambda:"\u03bb",lang:"\u27e8",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",laqu:"\xab",laquo:"\xab",larr:"\u2190",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",lcedil:"\u013c",lceil:"\u2308",lcub:"{",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21a2",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",leftthreetimes:"\u22cb",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297c",lfloor:"\u230a",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226a",llarr:"\u21c7",llcorner:"\u231e",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnE:"\u2268",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",longleftrightarrow:"\u27f7",longmapsto:"\u27fc",longrightarrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",lstrok:"\u0142",l:"<",lt:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltrPar:"\u2996",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",mDDot:"\u223a",mac:"\xaf",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",mdash:"\u2014",measuredangle:"\u2221",mfr:"\ud835\udd2a",mho:"\u2127",micr:"\xb5",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middo:"\xb7",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",mstpos:"\u223e",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nGg:"\u22d9\u0338",nGt:"\u226b\u20d2",nGtv:"\u226b\u0338",nLeftarrow:"\u21cd",nLeftrightarrow:"\u21ce",nLl:"\u22d8\u0338",nLt:"\u226a\u20d2",nLtv:"\u226a\u0338",nRightarrow:"\u21cf",nVDash:"\u22af",nVdash:"\u22ae",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbs:"\xa0",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",ndash:"\u2013",ne:"\u2260",neArr:"\u21d7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",ngsim:"\u2275",ngt:"\u226f",ngtr:"\u226f",nhArr:"\u21ce",nharr:"\u21ae",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",nlArr:"\u21cd",nlE:"\u2266\u0338",nlarr:"\u219a",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219a",nleftrightarrow:"\u21ae",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nlsim:"\u2274",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nmid:"\u2224",nopf:"\ud835\udd5f",no:"\xac",not:"\xac",notin:"\u2209",notinE:"\u22f9\u0338",notindot:"\u22f5\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrArr:"\u21cf",nrarr:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntild:"\xf1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22ad",nvHarr:"\u2904",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwArr:"\u21d6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24c8",oacut:"\xf3",oacute:"\xf3",oast:"\u229b",ocir:"\xf4",ocirc:"\xf4",ocy:"\u043e",odash:"\u229d",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",ofcir:"\u29bf",ofr:"\ud835\udd2c",ogon:"\u02db",ograv:"\xf2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",omega:"\u03c9",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",oopf:"\ud835\udd60",opar:"\u29b7",operp:"\u29b9",oplus:"\u2295",or:"\u2228",orarr:"\u21bb",ord:"\xba",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oscr:"\u2134",oslas:"\xf8",oslash:"\xf8",osol:"\u2298",otild:"\xf5",otilde:"\xf5",otimes:"\u2297",otimesas:"\u2a36",oum:"\xf6",ouml:"\xf6",ovbar:"\u233d",par:"\xb6",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",pfr:"\ud835\udd2d",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",plusm:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",pointint:"\u2a15",popf:"\ud835\udd61",poun:"\xa3",pound:"\xa3",pr:"\u227a",prE:"\u2ab3",prap:"\u2ab7",prcue:"\u227c",pre:"\u2aaf",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",prime:"\u2032",primes:"\u2119",prnE:"\u2ab5",prnap:"\u2ab9",prnsim:"\u22e8",prod:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",pscr:"\ud835\udcc5",psi:"\u03c8",puncsp:"\u2008",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",qprime:"\u2057",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quo:'"',quot:'"',rAarr:"\u21db",rArr:"\u21d2",rAtail:"\u291c",rBarr:"\u290f",rHar:"\u2964",race:"\u223d\u0331",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raqu:"\xbb",raquo:"\xbb",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",re:"\xae",reg:"\xae",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",rho:"\u03c1",rhov:"\u03f1",rightarrow:"\u2192",rightarrowtail:"\u21a3",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",rightthreetimes:"\u22cc",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",roplus:"\u2a2e",rotimes:"\u2a35",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",rsaquo:"\u203a",rscr:"\ud835\udcc7",rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",sbquo:"\u201a",sc:"\u227b",scE:"\u2ab4",scap:"\u2ab8",scaron:"\u0161",sccue:"\u227d",sce:"\u2ab0",scedil:"\u015f",scirc:"\u015d",scnE:"\u2ab6",scnap:"\u2aba",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",seArr:"\u21d8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sec:"\xa7",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",sh:"\xad",shy:"\xad",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",square:"\u25a1",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",subE:"\u2ac5",subdot:"\u2abd",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2ac5",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",sum:"\u2211",sung:"\u266a",sup:"\u2283",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supE:"\u2ac6",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supedot:"\u2ac4",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swArr:"\u21d9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292a",szli:"\xdf",szlig:"\xdf",target:"\u2316",tau:"\u03c4",tbrk:"\u23b4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",thor:"\xfe",thorn:"\xfe",tilde:"\u02dc",time:"\xd7",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\ud835\udcc9",tscy:"\u0446",tshcy:"\u045b",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",uArr:"\u21d1",uHar:"\u2963",uacut:"\xfa",uacute:"\xfa",uarr:"\u2191",ubrcy:"\u045e",ubreve:"\u016d",ucir:"\xfb",ucirc:"\xfb",ucy:"\u0443",udarr:"\u21c5",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",ufr:"\ud835\udd32",ugrav:"\xf9",ugrave:"\xf9",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",um:"\xa8",uml:"\xa8",uogon:"\u0173",uopf:"\ud835\udd66",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",upsi:"\u03c5",upsih:"\u03d2",upsilon:"\u03c5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",urtri:"\u25f9",uscr:"\ud835\udcca",utdot:"\u22f0",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uum:"\xfc",uuml:"\xfc",uwangle:"\u29a7",vArr:"\u21d5",vBar:"\u2ae8",vBarv:"\u2ae9",vDash:"\u22a8",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vcy:"\u0432",vdash:"\u22a2",vee:"\u2228",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",vert:"|",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",vzigzag:"\u299a",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\ud835\udd34",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xfr:"\ud835\udd35",xhArr:"\u27fa",xharr:"\u27f7",xi:"\u03be",xlArr:"\u27f8",xlarr:"\u27f5",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrArr:"\u27f9",xrarr:"\u27f6",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",yacut:"\xfd",yacute:"\xfd",yacy:"\u044f",ycirc:"\u0177",ycy:"\u044b",ye:"\xa5",yen:"\xa5",yfr:"\ud835\udd36",yicy:"\u0457",yopf:"\ud835\udd6a",yscr:"\ud835\udcce",yucy:"\u044e",yum:"\xff",yuml:"\xff",zacute:"\u017a",zcaron:"\u017e",zcy:"\u0437",zdot:"\u017c",zeetrf:"\u2128",zeta:"\u03b6",zfr:"\ud835\udd37",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"}},function(e,t){e.exports={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"}},function(e,t,n){"use strict";function r(e){var t,n;return"text"!==e.type||!e.position||(t=e.position.start,n=e.position.end,t.line!==n.line||n.column-t.column===e.value.length)}function i(e,t){return e.value+=t.value,e}function o(e,t){return this.options.commonmark?t:(e.children=e.children.concat(t.children),e)}function a(e){function t(t,n){function i(e){for(var t=-1,n=e.indexOf("\n");-1!==n;)k++,t=n,n=e.indexOf("\n",n+1);-1===t?x+=e.length:x=e.length-t,k in w&&(-1!==t?x+=w[k]:x<=w[k]&&(x=w[k]+1))}function o(){var e=[],t=k+1;return function(){for(var n=k+1;t<n;)e.push((w[t]||0)+1),t++;return e}}function a(){var e={line:k,column:x};return e.offset=b.toOffset(e),e}function l(e){this.start=e,this.end=a()}function u(e){t.substring(0,e.length)!==e&&b.file.fail(new Error("Incorrectly eaten value: please report this warning on http://git.io/vg5Ft"),a())}function c(){function e(e,n){var r=e.position,i=r?r.start:t,o=[],a=r&&r.end.line,s=t.line;if(e.position=new l(i),r&&n&&r.indent){if(o=r.indent,a<s){for(;++a<s;)o.push((w[a]||0)+1);o.push(t.column)}n=o.concat(n)}return e.position.indent=n||[],e}var t=a();return e}function d(e,t){var n=t?t.children:E,i=n[n.length-1];return i&&e.type===i.type&&e.type in s&&r(i)&&r(e)&&(e=s[e.type].call(b,i,e)),e!==i&&n.push(e),b.atStart&&0!==E.length&&b.exitStart(),e}function f(e){function n(e,t){return f(d(f(e),t),l)}function r(){var r=n.apply(null,arguments);return k=h.line,x=h.column,t=e+t,r}function s(){var n=f({});return k=h.line,x=h.column,t=e+t,n.position}var l=o(),f=c(),h=a();return u(e),n.reset=r,r.test=s,n.test=s,t=t.substring(e.length),i(e),l=l(),n}var h,p,m,g,v,y,b=this,w=b.offset,E=[],T=b[e+"Methods"],_=b[e+"Tokenizers"],k=n.line,x=n.column;if(!t)return E;for(f.now=a,f.file=b.file,i("");t;){for(h=-1,p=T.length,v=!1;++h<p&&(g=T[h],!(m=_[g])||m.onlyAtStart&&!b.atStart||m.notInList&&b.inList||m.notInBlock&&b.inBlock||m.notInLink&&b.inLink||(y=t.length,m.apply(b,[f,t]),!(v=y!==t.length))););v||b.file.fail(new Error("Infinite loop"),f.now())}return b.eof=a(),E}return t}e.exports=a;var s={text:i,blockquote:o}},function(e,t,n){"use strict";function r(e){var t,n,r=this,s=r.options;if(null==e)e={};else{if("object"!==typeof e)throw new Error("Invalid value `"+e+"` for setting `options`");e=i(e)}for(t in a){if(n=e[t],null==n&&(n=s[t]),"blocks"!==t&&"boolean"!==typeof n||"blocks"===t&&"object"!==typeof n)throw new Error("Invalid value `"+n+"` for setting `options."+t+"`");e[t]=n}return r.options=e,r.escape=o(e),r}var i=n(24),o=n(236),a=n(237);e.exports=r},function(e,t){e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,n){"use strict";function r(){var e,t=this,n=String(t.file),r={line:1,column:1,offset:0},l=i(r);return n=n.replace(s,a),65279===n.charCodeAt(0)&&(n=n.slice(1),l.column++,l.offset++),e={type:"root",children:t.tokenizeBlock(n,l),position:{start:r,end:t.eof||i(r)}},t.options.position||o(e,!0),e}var i=n(24),o=n(670);e.exports=r;var a="\n",s=/\r\n|\r/g},function(e,t,n){"use strict";function r(e,t){return a(e,t?i:o),e}function i(e){delete e.position}function o(e){e.position=void 0}var a=n(69);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,o,a,s,l=t.charAt(0);if("\n"===l){if(n)return!0;for(s=1,r=t.length,o=l,a="";s<r&&(l=t.charAt(s),i(l));)a+=l,"\n"===l&&(o+=a,a=""),s++;e(o)}}var i=n(20);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){for(var r,i,c,d=-1,f=t.length,h="",p="",m="",g="";++d<f;)if(r=t.charAt(d),c)if(c=!1,h+=m,p+=g,m="",g="",r===a)m=r,g=r;else for(h+=r,p+=r;++d<f;){if(!(r=t.charAt(d))||r===a){g=r,m=r;break}h+=r,p+=r}else if(r===l&&t.charAt(d+1)===r&&t.charAt(d+2)===r&&t.charAt(d+3)===r)m+=u,d+=3,c=!0;else if(r===s)m+=r,c=!0;else{for(i="";r===s||r===l;)i+=r,r=t.charAt(++d);if(r!==a)break;m+=i+r,g+=r}if(p)return!!n||e(h)({type:"code",lang:null,value:o(p)})}var i=n(22),o=n(138);e.exports=r;var a="\n",s="\t",l=" ",u=i(l,4)},function(e,t,n){"use strict";function r(e,t,n){var r,f,h,p,m,g,v,y,b,w,E,T=this,_=T.options,k=t.length+1,x=0,S="";if(_.gfm){for(;x<k&&((h=t.charAt(x))===s||h===a);)S+=h,x++;if(w=x,(h=t.charAt(x))===l||h===u){for(x++,f=h,r=1,S+=h;x<k&&(h=t.charAt(x))===f;)S+=h,r++,x++;if(!(r<c)){for(;x<k&&((h=t.charAt(x))===s||h===a);)S+=h,x++;for(p="",m="";x<k&&(h=t.charAt(x))!==o&&h!==l&&h!==u;)h===s||h===a?m+=h:(p+=m+h,m=""),x++;if(!(h=t.charAt(x))||h===o){if(n)return!0;for(E=e.now(),E.column+=S.length,E.offset+=S.length,S+=p,p=T.decode.raw(T.unescape(p),E),m&&(S+=m),m="",y="",b="",g="",v="";x<k;)if(h=t.charAt(x),g+=y,v+=b,y="",b="",h===o){for(g?(y+=h,b+=h):S+=h,m="",x++;x<k&&(h=t.charAt(x))===s;)m+=h,x++;if(y+=m,b+=m.slice(w),!(m.length>=d)){for(m="";x<k&&(h=t.charAt(x))===f;)m+=h,x++;if(y+=m,b+=m,!(m.length<r)){for(m="";x<k&&((h=t.charAt(x))===s||h===a);)y+=h,b+=h,x++;if(!h||h===o)break}}}else g+=h,b+=h,x++;return S+=g+y,e(S)({type:"code",lang:p||null,value:i(v)})}}}}}var i=n(138);e.exports=r;var o="\n",a="\t",s=" ",l="~",u="`",c=3,d=4},function(e,t,n){"use strict";function r(e,t,n){for(var r,c,d,f,h,p,m,g,v,y=this,b=y.offset,w=y.blockTokenizers,E=y.interruptBlockquote,T=e.now(),_=T.line,k=t.length,x=[],S=[],C=[],O=0;O<k&&((c=t.charAt(O))===l||c===s);)O++;if(t.charAt(O)===u){if(n)return!0;for(O=0;O<k;){for(f=t.indexOf(a,O),m=O,g=!1,-1===f&&(f=k);O<k&&((c=t.charAt(O))===l||c===s);)O++;if(t.charAt(O)===u?(O++,g=!0,t.charAt(O)===l&&O++):O=m,h=t.slice(O,f),!g&&!i(h)){O=m;break}if(!g&&(d=t.slice(O),o(E,w,y,[e,d,!0])))break;p=m===O?h:t.slice(m,f),C.push(O-m),x.push(p),S.push(h),O=f+1}for(O=-1,k=C.length,r=e(x.join(a));++O<k;)b[_]=(b[_]||0)+C[O],_++;return v=y.enterBlock(),S=y.tokenizeBlock(S.join(a),T),v(),r({type:"blockquote",children:S})}}var i=n(27),o=n(139);e.exports=r;var a="\n",s="\t",l=" ",u=">"},function(e,t,n){"use strict";function r(e,t,n){for(var r,u,c,d=this,f=d.options,h=t.length+1,p=-1,m=e.now(),g="",v="";++p<h;){if((r=t.charAt(p))!==a&&r!==o){p--;break}g+=r}for(c=0;++p<=h;){if((r=t.charAt(p))!==s){p--;break}g+=r,c++}if(!(c>l)&&c&&(f.pedantic||t.charAt(p+1)!==s)){for(h=t.length+1,u="";++p<h;){if((r=t.charAt(p))!==a&&r!==o){p--;break}u+=r}if(f.pedantic||0!==u.length||!r||r===i){if(n)return!0;for(g+=u,u="",v="";++p<h&&(r=t.charAt(p))&&r!==i;)if(r===a||r===o||r===s){for(;r===a||r===o;)u+=r,r=t.charAt(++p);for(;r===s;)u+=r,r=t.charAt(++p);for(;r===a||r===o;)u+=r,r=t.charAt(++p);p--}else v+=u+r,u="";return m.column+=g.length,m.offset+=g.length,g+=v+u,e(g)({type:"heading",depth:c,children:d.tokenizeInline(v,m)})}}}e.exports=r;var i="\n",o="\t",a=" ",s="#",l=6},function(e,t,n){"use strict";function r(e,t,n){for(var r,d,f,h,p=-1,m=t.length+1,g="";++p<m&&((r=t.charAt(p))===o||r===a);)g+=r;if(r===s||r===u||r===l)for(d=r,g+=r,f=1,h="";++p<m;)if((r=t.charAt(p))===d)f++,g+=h+d,h="";else{if(r!==a)return f>=c&&(!r||r===i)?(g+=h,!!n||e(g)({type:"thematicBreak"})):void 0;h+=r}}e.exports=r;var i="\n",o="\t",a=" ",s="*",l="_",u="-",c=3},function(e,t,n){"use strict";function r(e,t,n){for(var r,o,a,l,c,d,b,E,T,_,k,x,A,P,I,R,N,M,D,L,j,W,B,F,z=this,U=z.options.commonmark,H=z.options.pedantic,G=z.blockTokenizers,q=z.interruptList,V=0,K=t.length,Y=null,Z=0;V<K;){if((l=t.charAt(V))===y)Z+=w-Z%w;else{if(l!==g)break;Z++}V++}if(!(Z>=w)){if(l=t.charAt(V),r=U?O:C,!0===S[l])c=l,a=!1;else{for(a=!0,o="";V<K&&(l=t.charAt(V),u(l));)o+=l,V++;if(l=t.charAt(V),!o||!0!==r[l])return;Y=parseInt(o,10),c=l}if((l=t.charAt(++V))===g||l===y){if(n)return!0;for(V=0,P=[],I=[],R=[];V<K;){for(d=t.indexOf(v,V),b=V,E=!1,F=!1,-1===d&&(d=K),B=V+w,Z=0;V<K;){if((l=t.charAt(V))===y)Z+=w-Z%w;else{if(l!==g)break;Z++}V++}if(Z>=w&&(F=!0),N&&Z>=N.indent&&(F=!0),l=t.charAt(V),T=null,!F){if(!0===S[l])T=l,V++,Z++;else{for(o="";V<K&&(l=t.charAt(V),u(l));)o+=l,V++;l=t.charAt(V),V++,o&&!0===r[l]&&(T=l,Z+=o.length+1)}if(T)if((l=t.charAt(V))===y)Z+=w-Z%w,V++;else if(l===g){for(B=V+w;V<B&&t.charAt(V)===g;)V++,Z++;V===B&&t.charAt(V)===g&&(V-=w-1,Z-=w-1)}else l!==v&&""!==l&&(T=null)}if(T){if(!H&&c!==T)break;E=!0}else U||F||t.charAt(b)!==g?U&&N&&(F=Z>=N.indent||Z>w):F=!0,E=!1,V=b;if(k=t.slice(b,d),_=b===V?k:t.slice(V,d),(T===h||T===p||T===m)&&G.thematicBreak.call(z,e,k,!0))break;if(x=A,A=!s(_).length,F&&N)N.value=N.value.concat(R,k),I=I.concat(R,k),R=[];else if(E)0!==R.length&&(N.value.push(""),N.trail=R.concat()),N={value:[k],indent:Z,trail:[]},P.push(N),I=I.concat(R,k),R=[];else if(A){if(x)break;R.push(k)}else{if(x)break;if(f(q,G,z,[e,k,!0]))break;N.value=N.value.concat(R,k),I=I.concat(R,k),R=[]}V=d+1}for(j=e(I.join(v)).reset({type:"list",ordered:a,start:Y,loose:null,children:[]}),M=z.enterList(),D=z.enterBlock(),L=!1,V=-1,K=P.length;++V<K;)N=P[V].value.join(v),W=e.now(),N=e(N)(i(z,N,W),j),N.loose&&(L=!0),N=P[V].trail.join(v),V!==K-1&&(N+=v),e(N);return M(),D(),j.loose=L,j}}}function i(e,t,n){var r,i,s=e.offset,l=e.options.pedantic?o:a,u=null;return t=l.apply(null,arguments),e.options.gfm&&(r=t.match(T))&&(i=r[0].length,u=r[1].toLowerCase()===b,s[n.line]+=i,t=t.slice(i)),{type:"listItem",loose:E.test(t)||t.charAt(t.length-1)===v,checked:u,children:e.tokenizeBlock(t,n)}}function o(e,t,n){function r(e){return i[o]=(i[o]||0)+e.length,o++,""}var i=e.offset,o=n.line;return t=t.replace(k,r),o=n.line,t.replace(x,r)}function a(e,t,n){function r(e,t,n,r,s){return o=t+n+r,a=s,Number(n)<10&&o.length%2===1&&(n=g+n),(i=t+l(g,n.length)+r)+a}var i,o,a,s,u,f,h,p=e.offset,m=n.line;for(t=t.replace(_,r),s=t.split(v),u=d(t,c(i).indent).split(v),u[0]=a,p[m]=(p[m]||0)+o.length,m++,f=0,h=s.length;++f<h;)p[m]=(p[m]||0)+s[f].length-u[f].length,m++;return u.join(v)}var s=n(27),l=n(22),u=n(68),c=n(239),d=n(678),f=n(139);e.exports=r;var h="*",p="_",m="-",g=" ",v="\n",y="\t",b="x",w=4,E=/\n\n(?!\s*$)/,T=/^\[([ \t]|x|X)][ \t]/,_=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,k=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,x=/^( {1,4}|\t)?/gm,S={};S[h]=!0,S["+"]=!0,S[m]=!0;var C={};C["."]=!0;var O={};O["."]=!0,O[")"]=!0},function(e,t,n){"use strict";function r(e,t){var n,r,c,d,f=e.split(l),h=f.length+1,p=1/0,m=[];for(f.unshift(o(s,t)+"!");h--;)if(r=a(f[h]),m[h]=r.stops,0!==i(f[h]).length){if(!r.indent){p=1/0;break}r.indent>0&&r.indent<p&&(p=r.indent)}if(p!==1/0)for(h=f.length;h--;){for(c=m[h],n=p;n&&!(n in c);)n--;d=0!==i(f[h]).length&&p&&n!==p?u:"",f[h]=d+f[h].slice(n in c?c[n]+1:0)}return f.shift(),f.join(l)}var i=n(27),o=n(22),a=n(239);e.exports=r;var s=" ",l="\n",u="\t"},function(e,t,n){"use strict";function r(e,t,n){for(var r,u,c,d,f,h=this,p=e.now(),m=t.length,g=-1,v="";++g<m;){if((c=t.charAt(g))!==a||g>=s){g--;break}v+=c}for(r="",u="";++g<m;){if((c=t.charAt(g))===i){g--;break}c===a||c===o?u+=c:(r+=u+c,u="")}if(p.column+=v.length,p.offset+=v.length,v+=r+u,c=t.charAt(++g),d=t.charAt(++g),c===i&&l[d]){for(v+=c,u=d,f=l[d];++g<m;){if((c=t.charAt(g))!==d){if(c!==i)return;g--;break}u+=c}return!!n||e(v+u)({type:"heading",depth:f,children:h.tokenizeInline(r,p)})}}e.exports=r;var i="\n",o="\t",a=" ",s=3,l={};l["="]=1,l["-"]=2},function(e,t,n){"use strict";function r(e,t,n){for(var r,u,c,d,f,h,p,m=this,g=m.options.blocks,v=t.length,y=0,b=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+g.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];y<v&&((d=t.charAt(y))===o||d===a);)y++;if(t.charAt(y)===l){for(r=t.indexOf(s,y+1),r=-1===r?v:r,u=t.slice(y,r),c=-1,f=b.length;++c<f;)if(b[c][0].test(u)){h=b[c];break}if(h){if(n)return h[2];if(y=r,!h[1].test(u))for(;y<v;){if(r=t.indexOf(s,y+1),r=-1===r?v:r,u=t.slice(y+1,r),h[1].test(u)){u&&(y=r);break}y=r}return p=t.slice(0,y),e(p)({type:"html",value:p})}}}var i=n(240).openCloseTag;e.exports=r;var o="\t",a=" ",s="\n",l="<"},function(e,t,n){"use strict";function r(e,t,n){var r,m,g,v,y,b,w,E,T,_,k,x,S=this,C=S.offset;if(S.options.footnotes){for(r=0,m=t.length,g="",v=e.now(),y=v.line;r<m&&(T=t.charAt(r),i(T));)g+=T,r++;if(t.charAt(r)===c&&t.charAt(r+1)===f){for(g+=c+f,r=g.length,w="";r<m&&(T=t.charAt(r))!==d;)T===a&&(w+=T,r++,T=t.charAt(r)),w+=T,r++;if(w&&t.charAt(r)===d&&t.charAt(r+1)===h){if(n)return!0;for(_=o(w),g+=w+d+h,r=g.length;r<m&&((T=t.charAt(r))===l||T===u);)g+=T,r++;for(v.column+=g.length,v.offset+=g.length,w="",b="",E="";r<m;){if((T=t.charAt(r))===s){for(E=T,r++;r<m&&(T=t.charAt(r))===s;)E+=T,r++;for(w+=E,E="";r<m&&(T=t.charAt(r))===u;)E+=T,r++;if(0===E.length)break;w+=E}w&&(b+=w,w=""),b+=T,r++}return g+=b,b=b.replace(p,function(e){return C[y]=(C[y]||0)+e.length,y++,""}),k=e(g),x=S.enterBlock(),b=S.tokenizeBlock(b,v),x(),k({type:"footnoteDefinition",identifier:_,children:b})}}}}var i=n(20),o=n(140);e.exports=r,r.notInList=!0,r.notInBlock=!0;var a="\\",s="\n",l="\t",u=" ",c="[",d="]",f="^",h=":",p=/^( {4}|\t)?/gm},function(e,t,n){"use strict";function r(e,t,n){for(var r,a,w,E,T,_,k,x,S=this,C=S.options.commonmark,O=0,A=t.length,P="";O<A&&((E=t.charAt(O))===h||E===f);)P+=E,O++;if((E=t.charAt(O))===p){for(O++,P+=E,w="";O<A&&(E=t.charAt(O))!==m;)E===c&&(w+=E,O++,E=t.charAt(O)),w+=E,O++;if(w&&t.charAt(O)===m&&t.charAt(O+1)===y){for(_=w,P+=w+m+y,O=P.length,w="";O<A&&((E=t.charAt(O))===f||E===h||E===d);)P+=E,O++;if(E=t.charAt(O),w="",r=P,E===b){for(O++;O<A&&(E=t.charAt(O),i(E));)w+=E,O++;if((E=t.charAt(O))===i.delimiter)P+=b+w+E,O++;else{if(C)return;O-=w.length+1,w=""}}if(!w){for(;O<A&&(E=t.charAt(O),o(E));)w+=E,O++;P+=w}if(w){for(k=w,w="";O<A&&((E=t.charAt(O))===f||E===h||E===d);)w+=E,O++;if(E=t.charAt(O),T=null,E===l?T=l:E===u?T=u:E===g&&(T=v),T){if(!w)return;for(P+=w+E,O=P.length,w="";O<A&&(E=t.charAt(O))!==T;){if(E===d){if(O++,(E=t.charAt(O))===d||E===T)return;w+=d}w+=E,O++}if((E=t.charAt(O))!==T)return;a=P,P+=w+E,O++,x=w,w=""}else w="",O=P.length;for(;O<A&&((E=t.charAt(O))===f||E===h);)P+=E,O++;return E=t.charAt(O),E&&E!==d?void 0:!!n||(r=e(r).test().end,k=S.decode.raw(S.unescape(k),r,{nonTerminated:!1}),x&&(a=e(a).test().end,x=S.decode.raw(S.unescape(x),a)),e(P)({type:"definition",identifier:s(_),title:x||null,url:k}))}}}}function i(e){return e!==w&&e!==p&&e!==m}function o(e){return e!==p&&e!==m&&!a(e)}var a=n(20),s=n(140);e.exports=r,r.notInList=!0,r.notInBlock=!0;var l='"',u="'",c="\\",d="\n",f="\t",h=" ",p="[",m="]",g="(",v=")",y=":",b="<",w=">";i.delimiter=w},function(e,t,n){"use strict";function r(e,t,n){var r,b,w,E,T,_,k,x,S,C,O,A,P,I,R,N,M,D,L,j,W,B,F,z,U=this;if(U.options.gfm){for(r=0,D=0,_=t.length+1,k=[];r<_;){if(B=t.indexOf(d,r),F=t.indexOf(l,r+1),-1===B&&(B=t.length),-1===F||F>B){if(D<p)return;break}k.push(t.slice(r,B)),D++,r=B+1}for(E=k.join(d),b=k.splice(1,1)[0]||[],r=0,_=b.length,D--,w=!1,O=[];r<_;){if((S=b.charAt(r))===l){if(C=null,!1===w){if(!1===z)return}else O.push(w),w=!1;z=!1}else if(S===s)C=!0,w=w||y;else if(S===u)w=w===m?g:C&&w===y?v:m;else if(!i(S))return;r++}if(!1!==w&&O.push(w),!(O.length<h)){if(n)return!0;for(M=-1,j=[],W=e(E).reset({type:"table",align:O,children:j});++M<D;){for(L=k[M],T={type:"tableRow",children:[]},M&&e(d),e(L).reset(T,W),_=L.length+1,r=0,x="",A="",P=!0,I=null,R=null;r<_;)if((S=L.charAt(r))!==f&&S!==c){if(""===S||S===l)if(P)e(S);else{if(S&&R){x+=S,r++;continue}!A&&!S||P||(E=A,x.length>1&&(S?(E+=x.slice(0,x.length-1),x=x.charAt(x.length-1)):(E+=x,x="")),N=e.now(),e(E)({type:"tableCell",children:U.tokenizeInline(A,N)},T)),e(x+S),x="",A=""}else if(x&&(A+=x,x=""),A+=S,S===o&&r!==_-2&&(A+=L.charAt(r+1),r++),S===a){for(I=1;L.charAt(r+1)===S;)A+=S,r++,I++;R?I>=R&&(R=0):R=I}P=!1,r++}else A?x+=S:e(S),r++;M||e(d+b)}return W}}}var i=n(20);e.exports=r;var o="\\",a="`",s="-",l="|",u=":",c=" ",d="\n",f="\t",h=1,p=2,m="left",g="center",v="right",y=null},function(e,t,n){"use strict";function r(e,t,n){for(var r,f,h,p,m,g=this,v=g.options,y=v.commonmark,b=v.gfm,w=g.blockTokenizers,E=g.interruptParagraph,T=t.indexOf(l),_=t.length;T<_;){if(-1===T){T=_;break}if(t.charAt(T+1)===l)break;if(y){for(p=0,r=T+1;r<_;){if((h=t.charAt(r))===u){p=d;break}if(h!==c)break;p++,r++}if(p>=d){T=t.indexOf(l,T+1);continue}}if(f=t.slice(T+1),s(E,w,g,[e,f,!0]))break;if(w.list.call(g,e,f,!0)&&(g.inList||y||b&&!o(i.left(f).charAt(0))))break;if(r=T,-1!==(T=t.indexOf(l,T+1))&&""===i(t.slice(r,T))){T=r;break}}return f=t.slice(0,T),""===i(f)?(e(f),null):!!n||(m=e.now(),f=a(f),e(f)({type:"paragraph",children:g.tokenizeInline(f,m)}))}var i=n(27),o=n(68),a=n(138),s=n(139);e.exports=r;var l="\n",u="\t",c=" ",d=4},function(e,t,n){"use strict";function r(e,t,n){var r,i,o=this;if("\\"===t.charAt(0)&&(r=t.charAt(1),-1!==o.escape.indexOf(r)))return!!n||(i="\n"===r?{type:"break"}:{type:"text",value:r},e("\\"+r)(i))}var i=n(686);e.exports=r,r.locator=i},function(e,t,n){"use strict";function r(e,t){return e.indexOf("\\",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,a,h,p,m,g,v,y,b,w,E,T;if(t.charAt(0)===s){for(r=this,a="",h=t.length,p=0,m="",v=!1,y="",p++,a=s;p<h&&(g=t.charAt(p),!(i(g)||g===l||g===u||":"===g&&t.charAt(p+1)===c));)m+=g,p++;if(m){if(y+=m,m="",g=t.charAt(p),y+=g,p++,g===u)v=!0;else{if(":"!==g||t.charAt(p+1)!==c)return;y+=c,p++}for(;p<h&&(g=t.charAt(p),!i(g)&&g!==l);)m+=g,p++;if(g=t.charAt(p),m&&g===l)return!!n||(y+=m,w=y,a+=y+g,b=e.now(),b.column++,b.offset++,v&&(y.slice(0,f).toLowerCase()===d?(w=w.substr(f),b.column+=f,b.offset+=f):y=d+y),E=r.inlineTokenizers,r.inlineTokenizers={text:E.text},T=r.enterLink(),w=r.tokenizeInline(w,b),r.inlineTokenizers=E,T(),e(a)({type:"link",title:null,url:o(y,{nonTerminated:!1}),children:w}))}}}var i=n(20),o=n(88),a=n(242);e.exports=r,r.locator=a,r.notInLink=!0;var s="<",l=">",u="@",c="/",d="mailto:",f=d.length},function(e,t,n){"use strict";function r(e,t,n){var r,a,g,v,y,b,w,E,T,_,k,x,S=this;if(S.options.gfm){for(r="",v=-1,E=m;++v<E;)if(b=p[v],w=t.slice(0,b.length),w.toLowerCase()===b){r=w;break}if(r){for(v=r.length,E=t.length,T="",_=0;v<E&&(g=t.charAt(v),!o(g)&&g!==d)&&("."!==g&&","!==g&&":"!==g&&";"!==g&&'"'!==g&&"'"!==g&&")"!==g&&"]"!==g||(k=t.charAt(v+1))&&!o(k))&&(g!==u&&g!==s||_++,g!==c&&g!==l||!(--_<0));)T+=g,v++;if(T){if(r+=T,a=r,b===h){if(-1===(y=T.indexOf(f))||y===E-1)return;a=a.substr(h.length)}return!!n||(x=S.enterLink(),a=S.tokenizeInline(a,e.now()),x(),e(r)({type:"link",title:null,url:i(r,{nonTerminated:!1}),children:a}))}}}}var i=n(88),o=n(20),a=n(689);e.exports=r,r.locator=a,r.notInLink=!0;var s="[",l="]",u="(",c=")",d="<",f="@",h="mailto:",p=["http://","https://",h],m=p.length},function(e,t,n){"use strict";function r(e,t){var n,r=i.length,o=-1,a=-1;if(!this.options.gfm)return-1;for(;++o<r;)-1!==(n=e.indexOf(i[o],t))&&(n<a||-1===a)&&(a=n);return a}e.exports=r;var i=["https://","http://","mailto:"]},function(e,t,n){"use strict";function r(e,t,n){var r,o,u=this,c=t.length;if(!("<"!==t.charAt(0)||c<3)&&(r=t.charAt(1),(i(r)||"?"===r||"!"===r||"/"===r)&&(o=t.match(a))))return!!n||(o=o[0],!u.inLink&&s.test(o)?u.inLink=!0:u.inLink&&l.test(o)&&(u.inLink=!1),e(o)({type:"html",value:o}))}var i=n(235),o=n(242),a=n(240).tag;e.exports=r,r.locator=o;var s=/^<a /i,l=/^<\/a>/i},function(e,t,n){"use strict";function r(e,t,n){var r,o,v,y,b,w,E,T,_,k,x,S,C,O,A,P,I,R,N,M=this,D="",L=0,j=t.charAt(0),W=M.options.pedantic,B=M.options.commonmark,F=M.options.gfm;if("!"===j&&(_=!0,D=j,j=t.charAt(++L)),j===l&&(_||!M.inLink)){for(D+=j,A="",L++,S=t.length,I=e.now(),O=0,I.column+=L,I.offset+=L;L<S;){if(j=t.charAt(L),w=j,j===p){for(o=1;t.charAt(L+1)===p;)w+=j,L++,o++;v?o>=v&&(v=0):v=o}else if(j===s)L++,w+=t.charAt(L);else if(v&&!F||j!==l){if((!v||F)&&j===u){if(!O){if(!W)for(;L<S&&(j=t.charAt(L+1),i(j));)w+=j,L++;if(t.charAt(L+1)!==c)return;w+=c,r=!0,L++;break}O--}}else O++;A+=w,w="",L++}if(r){for(k=A,D+=A+w,L++;L<S&&(j=t.charAt(L),i(j));)D+=j,L++;if(j=t.charAt(L),T=B?g:m,A="",y=D,j===f){for(L++,y+=f;L<S&&(j=t.charAt(L))!==h;){if(B&&"\n"===j)return;A+=j,L++}if(t.charAt(L)!==h)return;D+=f+A+h,P=A,L++}else{for(j=null,w="";L<S&&(j=t.charAt(L),!w||!a.call(T,j));){if(i(j)){if(!W)break;w+=j}else{if(j===c)O++;else if(j===d){if(0===O)break;O--}A+=w,w="",j===s&&(A+=s,j=t.charAt(++L)),A+=j}L++}D+=A,P=A,L=D.length}for(A="";L<S&&(j=t.charAt(L),i(j));)A+=j,L++;if(j=t.charAt(L),D+=A,A&&a.call(T,j))if(L++,D+=j,A="",x=T[j],b=D,B){for(;L<S&&(j=t.charAt(L))!==x;)j===s&&(A+=s,j=t.charAt(++L)),L++,A+=j;if((j=t.charAt(L))!==x)return;for(C=A,D+=A+j,L++;L<S&&(j=t.charAt(L),i(j));)D+=j,L++}else for(w="";L<S;){if((j=t.charAt(L))===x)E&&(A+=x+w,w=""),E=!0;else if(E){if(j===d){D+=A+x+w,C=A;break}i(j)?w+=j:(A+=x+w+j,w="",E=!1)}else A+=j;L++}if(t.charAt(L)===d)return!!n||(D+=d,P=M.decode.raw(M.unescape(P),e(y).test().end,{nonTerminated:!1}),C&&(b=e(b).test().end,C=M.decode.raw(M.unescape(C),b)),N={type:_?"image":"link",title:C||null,url:P},_?N.alt=M.decode.raw(M.unescape(k),I)||null:(R=M.enterLink(),N.children=M.tokenizeInline(k,I),R()),e(D)(N))}}}var i=n(20),o=n(243);e.exports=r,r.locator=o;var a={}.hasOwnProperty,s="\\",l="[",u="]",c="(",d=")",f="<",h=">",p="`",m={};m['"']='"',m["'"]="'";var g={};g['"']='"',g["'"]="'",g[c]=d},function(e,t,n){"use strict";function r(e,t,n){var r,o,v,y,b,w,E,T,_=this,k=t.charAt(0),x=0,S=t.length,C="",O="",A=s,P=c;if("!"===k&&(A=l,O=k,k=t.charAt(++x)),k===m){if(x++,O+=k,w="",_.options.footnotes&&t.charAt(x)===h){if(A===l)return;O+=h,x++,A=u}for(T=0;x<S;){if((k=t.charAt(x))===m)E=!0,T++;else if(k===g){if(!T)break;T--}k===p&&(w+=p,k=t.charAt(++x)),w+=k,x++}if(C=w,r=w,(k=t.charAt(x))===g){for(x++,C+=k,w="";x<S&&(k=t.charAt(x),i(k));)w+=k,x++;if(k=t.charAt(x),A!==u&&k===m){for(o="",w+=k,x++;x<S&&(k=t.charAt(x))!==m&&k!==g;)k===p&&(o+=p,k=t.charAt(++x)),o+=k,x++;k=t.charAt(x),k===g?(P=o?f:d,w+=o+k,x++):o="",C+=w,w=""}else{if(!r)return;o=r}if(P===f||!E)return C=O+C,A===s&&_.inLink?null:!!n||(A===u&&-1!==r.indexOf(" ")?e(C)({type:"footnote",children:this.tokenizeInline(r,e.now())}):(v=e.now(),v.column+=O.length,v.offset+=O.length,o=P===f?o:r,y={type:A+"Reference",identifier:a(o)},A!==s&&A!==l||(y.referenceType=P),A===s?(b=_.enterLink(),y.children=_.tokenizeInline(r,v),b()):A===l&&(y.alt=_.decode.raw(_.unescape(r),v)||null),e(C)(y)))}}}var i=n(20),o=n(243),a=n(140);e.exports=r,r.locator=o;var s="link",l="image",u="footnote",c="shortcut",d="collapsed",f="full",h="^",p="\\",m="[",g="]"},function(e,t,n){"use strict";function r(e,t,n){var r,a,u,c,d,f,h,p=this,m=0,g=t.charAt(m);if((g===s||g===l)&&t.charAt(++m)===g&&(a=p.options.pedantic,u=g,d=u+u,f=t.length,m++,c="",g="",!a||!o(t.charAt(m))))for(;m<f;){if(h=g,(g=t.charAt(m))===u&&t.charAt(m+1)===u&&(!a||!o(h))&&(g=t.charAt(m+2))!==u){if(!i(c))return;return!!n||(r=e.now(),r.column+=2,r.offset+=2,e(d+c+d)({type:"strong",children:p.tokenizeInline(c,r)}))}a||"\\"!==g||(c+=g,g=t.charAt(++m)),c+=g,m++}}var i=n(27),o=n(20),a=n(694);e.exports=r,r.locator=a;var s="*",l="_"},function(e,t,n){"use strict";function r(e,t){var n=e.indexOf("**",t),r=e.indexOf("__",t);return-1===r?n:-1===n?r:r<n?r:n}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,s,c,d,f,h,p,m=this,g=0,v=t.charAt(g);if((v===l||v===u)&&(s=m.options.pedantic,f=v,c=v,h=t.length,g++,d="",v="",!s||!a(t.charAt(g))))for(;g<h;){if(p=v,(v=t.charAt(g))===c&&(!s||!a(p))){if((v=t.charAt(++g))!==c){if(!i(d)||p===c)return;if(!s&&c===u&&o(v)){d+=c;continue}return!!n||(r=e.now(),r.column++,r.offset++,e(f+d+c)({type:"emphasis",children:m.tokenizeInline(d,r)}))}d+=c}s||"\\"!==v||(d+=v,v=t.charAt(++g)),d+=v,g++}}var i=n(27),o=n(696),a=n(20),s=n(697);e.exports=r,r.locator=s;var l="*",u="_"},function(e,t,n){"use strict";function r(e){return o.test("number"===typeof e?i(e):e.charAt(0))}e.exports=r;var i=String.fromCharCode,o=/\w/},function(e,t,n){"use strict";function r(e,t){var n=e.indexOf("*",t),r=e.indexOf("_",t);return-1===r?n:-1===n?r:r<n?r:n}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,o,l,u=this,c="",d="",f="",h="";if(u.options.gfm&&t.charAt(0)===a&&t.charAt(1)===a&&!i(t.charAt(2)))for(r=1,o=t.length,l=e.now(),l.column+=2,l.offset+=2;++r<o;){if((c=t.charAt(r))===a&&d===a&&(!f||!i(f)))return!!n||e(s+h+s)({type:"delete",children:u.tokenizeInline(h,l)});h+=d,f=d,d=c}}var i=n(20),o=n(699);e.exports=r,r.locator=o;var a="~",s="~~"},function(e,t,n){"use strict";function r(e,t){return e.indexOf("~~",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){for(var r,o,s,l,u,c,d,f,h=t.length,p=0,m="",g="";p<h&&t.charAt(p)===a;)m+=a,p++;if(m){for(u=m,l=p,m="",f=t.charAt(p),s=0;p<h;){if(c=f,f=t.charAt(p+1),c===a?(s++,g+=c):(s=0,m+=c),s&&f!==a){if(s===l){u+=m+g,d=!0;break}m+=g,g=""}p++}if(!d){if(l%2!==0)return;m=""}if(n)return!0;for(r="",o="",h=m.length,p=-1;++p<h;)c=m.charAt(p),i(c)?o+=c:(o&&(r&&(r+=o),o=""),r+=c);return e(u)({type:"inlineCode",value:r})}}var i=n(20),o=n(701);e.exports=r,r.locator=o;var a="`"},function(e,t,n){"use strict";function r(e,t){return e.indexOf("`",t)}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){for(var r,i=t.length,a=-1,s="";++a<i;){if("\n"===(r=t.charAt(a))){if(a<o)return;return!!n||(s+=r,e(s)({type:"break"}))}if(" "!==r)return;s+=r}}var i=n(703);e.exports=r,r.locator=i;var o=2},function(e,t,n){"use strict";function r(e,t){for(var n=e.indexOf("\n",t);n>t&&" "===e.charAt(n-1);)n--;return n}e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,i,o,a,s,l,u,c,d,f,h=this;if(n)return!0;for(r=h.inlineMethods,a=r.length,i=h.inlineTokenizers,o=-1,d=t.length;++o<a;)"text"!==(c=r[o])&&i[c]&&(u=i[c].locator,u||e.file.fail("Missing locator: `"+c+"`"),-1!==(l=u.call(h,t,1))&&l<d&&(d=l));s=t.slice(0,d),f=e.now(),h.decode(s,f,function(t,n,r){e(r||t)({type:"text",value:t})})}e.exports=r},function(e,t,n){"use strict";function r(e){var t=i(a);t.prototype.options=o(t.prototype.options,this.data("settings"),e),this.Compiler=t}var i=n(230),o=n(24),a=n(706);e.exports=r,r.Compiler=a},function(e,t,n){"use strict";function r(e,t){this.inLink=!1,this.inTable=!1,this.tree=e,this.file=t,this.options=i(this.options),this.setOptions({})}var i=n(24),o=n(231);e.exports=r;var a=r.prototype;a.enterLink=o("inLink",!1),a.enterTable=o("inTable",!1),a.enterLinkReference=n(707),a.options=n(245),a.setOptions=n(708),a.compile=n(714),a.visit=n(718),a.all=n(719),a.block=n(720),a.visitOrderedItems=n(721),a.visitUnorderedItems=n(722),a.visitors={root:n(723),text:n(724),heading:n(725),paragraph:n(726),blockquote:n(727),list:n(728),listItem:n(729),inlineCode:n(730),code:n(731),html:n(732),thematicBreak:n(733),strong:n(734),emphasis:n(735),break:n(736),delete:n(737),link:n(738),linkReference:n(740),imageReference:n(742),definition:n(743),image:n(744),footnote:n(745),footnoteReference:n(746),footnoteDefinition:n(747),table:n(748),tableCell:n(750)}},function(e,t,n){"use strict";function r(e,t){var n=e.encode,r=e.escape,o=e.enterLink();return"shortcut"!==t.referenceType&&"collapsed"!==t.referenceType?o:(e.escape=i,e.encode=i,function(){e.encode=n,e.escape=r,o()})}var i=n(244);e.exports=r},function(e,t,n){"use strict";function r(e){var t,n,r=this,o=r.options;if(null==e)e={};else{if("object"!==typeof e)throw new Error("Invalid value `"+e+"` for setting `options`");e=c(e)}for(n in f)g[typeof f[n]](e,n,o[n],m[n]);return t=e.ruleRepetition,t&&t<3&&i(t,"options.ruleRepetition"),r.encode=u(String(e.entities)),r.escape=h(e),r.options=e,r}function i(e,t){throw new Error("Invalid value `"+e+"` for setting `"+t+"`")}function o(e,t,n){var r=e[t];null==r&&(r=n),"boolean"!==typeof r&&i(r,"options."+t),e[t]=r}function a(e,t,n){var r=e[t];null==r&&(r=n),isNaN(r)&&i(r,"options."+t),e[t]=r}function s(e,t,n,r){var o=e[t];null==o&&(o=n),o=String(o),o in r||i(o,"options."+t),e[t]=o}function l(e,t,n){var r=e[t];null==r&&(r=n),"function"!==typeof r&&i(r,"options."+t),e[t]=r}function u(e){function t(e){return d(e,n)}var n={};return"false"===e?p:("true"===e&&(n.useNamedReferences=!0),"escape"===e&&(n.escapeOnly=!0,n.useNamedReferences=!0),t)}var c=n(24),d=n(709),f=n(245),h=n(712),p=n(244);e.exports=r;var m={entities:{true:!0,false:!0,numbers:!0,escape:!0},bullet:{"*":!0,"-":!0,"+":!0},rule:{"-":!0,_:!0,"*":!0},listItemIndent:{tab:!0,mixed:!0,1:!0},emphasis:{_:!0,"*":!0},strong:{_:!0,"*":!0},fence:{"`":!0,"~":!0}},g={boolean:o,string:s,number:a,function:l}},function(e,t,n){"use strict";function r(e,t){function n(e,t,n){return s(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charAt(t+2),d)}function r(e,t,n){return o(e,n.charAt(t+1),i)}var i=t||{},a=i.subset,u=a?l(a):v,c=i.escapeOnly,d=i.omitOptionalSemicolons;return e=e.replace(u,function(e,t,n){return o(e,n.charAt(t+1),i)}),a||c?e:e.replace(y,n).replace(b,r)}function i(e){return r(e,{escapeOnly:!0,useNamedReferences:!0})}function o(e,t,n){var r,i,o=n.useShortestReferences,l=n.omitOptionalSemicolons;return(o||n.useNamedReferences)&&p.call(g,e)&&(r=a(g[e],t,l,n.attribute)),!o&&r||(i=s(e.charCodeAt(0),t,l)),r&&(!o||r.length<i.length)?r:i}function a(e,t,n,r){var i="&"+e;return n&&p.call(c,e)&&-1===h.indexOf(e)&&(!r||t&&"="!==t&&!f(t))?i:i+";"}function s(e,t,n){var r="&#x"+e.toString(16).toUpperCase();return n&&t&&!d(t)?r:r+";"}function l(e){return new RegExp("["+e.join("")+"]","g")}var u=n(710),c=n(232),d=n(233),f=n(234),h=n(711);e.exports=r,r.escape=i;var p={}.hasOwnProperty,m=['"',"'","<",">","&","`"],g=function(){var e,t={};for(e in u)t[u[e]]=e;return t}(),v=l(m),y=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g},function(e,t){e.exports={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203e",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02c6",tilde:"\u02dc",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203a",euro:"\u20ac"}},function(e,t){e.exports=["cent","copy","divide","gt","lt","not","para","times"]},function(e,t,n){"use strict";function r(e){function t(t,n,r){function p(e){return-1===R.indexOf(e)?m[e]:f+e}var g,v,y,b,w,E,T=this,_=e.gfm,k=e.commonmark,x=e.pedantic,S=k?[".",")"]:["."],C=r&&r.children,O=C&&C.indexOf(n),A=C&&C[O-1],P=C&&C[O+1],I=t.length,R=c(e),N=-1,M=[],D=M;for(g=A?o(A)&&/\n\s*$/.test(A.value):!r||"root"===r.type||"paragraph"===r.type;++N<I;){if(v=t.charAt(N),E=!1,"\n"===v)g=!0;else if(v===f||"`"===v||"*"===v||"["===v||"<"===v||"&"===v&&d(t.slice(N))>0||"]"===v&&T.inLink||_&&"~"===v&&"~"===t.charAt(N+1)||_&&"|"===v&&(T.inTable||i(t,N))||"_"===v&&N>0&&N<I-1&&(x||!l(t.charAt(N-1))||!l(t.charAt(N+1)))||_&&!T.inLink&&":"===v&&a(M.join("")))E=!0;else if(g)if(">"===v||"#"===v||-1!==h.indexOf(v))E=!0;else if(s(v)){for(w=N+1;w<I&&s(t.charAt(w));)w++;-1!==S.indexOf(t.charAt(w))&&((P=t.charAt(w+1))&&" "!==P&&"\t"!==P&&"\n"!==P||(M.push(t.slice(N,w)),N=w,v=t.charAt(N),E=!0))}g&&!u(v)&&(g=!1),M.push(E?p(v):v)}if(C&&o(n)){if(A&&"shortcut"===A.referenceType){for(N=-1,I=D.length;++N<I;)if(" "!==(v=D[N])&&"\t"!==v){"("!==v&&":"!==v||(D[N]=p(v));break}o(P)&&N===I&&"("===P.value.charAt(0)&&D.push(f)}_&&!T.inLink&&o(A)&&":"===t.charAt(0)&&a(A.value.slice(-6))&&(D[0]=p(":")),o(P)&&"&"===t.charAt(I-1)&&0!==d("&"+P.value)&&(D[D.length-1]=p("&")),_&&o(P)&&"~"===t.charAt(I-1)&&"~"===P.value.charAt(0)&&D.splice(D.length-1,0,f),y=o(A)&&l(A.value.slice(-1)),b=o(P)&&l(P.value.charAt(0)),1===I?"_"!==t||!x&&y&&b||D.unshift(f):("_"!==t.charAt(0)||!x&&y&&l(t.charAt(1))||D.unshift(f),"_"!==t.charAt(I-1)||!x&&b&&l(t.charAt(I-2))||D.splice(D.length-1,0,f))}return D.join("")}return t}function i(e,t){var n=e.lastIndexOf("\n",t),r=e.indexOf("\n",t);for(n=-1===n?-1:n,r=-1===r?e.length:r;++n<r;)if(-1===p.indexOf(e.charAt(n)))return!1;return!0}function o(e){return e&&"text"===e.type}function a(e){var t=e.slice(-6).toLowerCase();return"mailto"===t||"https"===t.slice(-5)||"http"===t.slice(-4)}var s=n(68),l=n(713),u=n(20),c=n(236),d=n(246);e.exports=r;var f="\\",h=["*","-","+"],p=[":","-"," ","|"],m={"<":"<",":":":","&":"&","|":"|","~":"~"}},function(e,t,n){"use strict";e.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected a string");return!/[^0-9a-z\xDF-\xFF]/.test(e.toLowerCase())}},function(e,t,n){"use strict";function r(){return this.visit(i(this.tree,this.options.commonmark))}var i=n(715);e.exports=r},function(e,t,n){"use strict";function r(e,t){function n(e){e.children&&s(e)}function r(e,n,r){var o=r.children,a=n&&o[n-1];if(a&&e.type===a.type&&i(a,t)&&i(e,t))return e.value&&(a.value+=e.value),e.children&&(a.children=a.children.concat(e.children)),o.splice(n,1),a.position&&e.position&&(a.position.end=e.position.end),n}var s=a(r);return o(e,n),e}function i(e,t){var n,r;return"text"===e.type?!e.position||(n=e.position.start,r=e.position.end,n.line!==r.line||r.column-n.column===e.value.length):t&&"blockquote"===e.type}var o=n(69),a=n(716);e.exports=r},function(e,t,n){"use strict";function r(e){return i(o(e))}function i(e){function t(t){var n=t&&t.children;if(!n)throw new Error("Missing children in `parent` for `modifier`");return a(n,e,t)}return t}function o(e){function t(t,n){return e(t,n,this)}return t}var a=n(717);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,o=-1;if(!e)throw new Error("Iterate requires that |this| not be "+e);if(!i.call(e,"length"))throw new Error("Iterate requires that |this| has a `length`");if("function"!==typeof t)throw new Error("`callback` must be a function");for(;++o<e.length;)o in e&&"number"===typeof(r=t.call(n,e[o],o,e))&&(r<0&&(o=0),o=r-1)}e.exports=r;var i={}.hasOwnProperty},function(e,t,n){"use strict";function r(e,t){var n=this,r=n.visitors;return"function"!==typeof r[e.type]&&n.file.fail(new Error("Missing compiler for node of type `"+e.type+"`: `"+e+"`"),e),r[e.type].call(n,e,t)}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t=this,n=e.children,r=n.length,i=[],o=-1;++o<r;)i[o]=t.visit(n[o],e);return i}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n,r=this,i=[],o=e.children,a=o.length,s=-1;++s<a;)t=o[s],n&&(t.type===n.type&&"list"===n.type?i.push(n.ordered===t.ordered?"\n\n\n":"\n\n"):"list"!==n.type||"code"!==t.type||t.lang?i.push("\n\n"):i.push("\n\n\n")),i.push(r.visit(t,e)),n=t;return i.join("")}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n=this,r=n.visitors.listItem,i=n.options.incrementListMarker,o=[],a=e.start,s=e.children,l=s.length,u=-1;++u<l;)t=(i?a+u:a)+".",o[u]=r.call(n,s[u],e,u,t);return o.join("\n")}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t=this,n=t.options.bullet,r=t.visitors.listItem,i=e.children,o=i.length,a=-1,s=[];++a<o;)s[a]=r.call(t,i[a],e,a,n);return s.join("\n")}e.exports=r},function(e,t,n){"use strict";function r(e){return this.block(e)+"\n"}e.exports=r},function(e,t,n){"use strict";function r(e,t){return this.encode(this.escape(e.value,e,t),e)}e.exports=r},function(e,t,n){"use strict";function r(e){var t,n=this,r=e.depth,o=n.options.setext,a=n.options.closeAtx,s=n.all(e).join("");return o&&r<3?s+"\n"+i(1===r?"=":"-",s.length):(t=i("#",e.depth))+" "+s+(a?" "+t:"")}var i=n(22);e.exports=r},function(e,t,n){"use strict";function r(e){return this.all(e).join("")}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n=this.block(e).split("\n"),r=[],i=n.length,o=-1;++o<i;)t=n[o],r[o]=(t?" ":"")+t;return">"+r.join("\n>")}e.exports=r},function(e,t,n){"use strict";function r(e){return this[i[e.ordered]](e)}e.exports=r;var i={true:"visitOrderedItems",false:"visitUnorderedItems"}},function(e,t,n){"use strict";function r(e,t,n,r){for(var s,l,u,c=this,d=c.options.listItemIndent,f=e.loose,h=e.children,p=h.length,m=[],g=-1;++g<p;)m[g]=c.visit(h[g],e);return s=a[e.checked]+m.join(f?"\n\n":"\n"),"1"===d||"mixed"===d&&-1===s.indexOf("\n")?(l=r.length+1,u=" "):(l=4*Math.ceil((r.length+1)/4),u=i(" ",l-r.length)),s=r+u+o(s,l/4).slice(l),f&&t.children.length-1!==n&&(s+="\n"),s}var i=n(22),o=n(247);e.exports=r;var a={undefined:"",null:"",true:"[x] ",false:"[ ] "}},function(e,t,n){"use strict";function r(e){var t=e.value,n=o("`",i(t,"`")+1),r=n,a=n;return"`"===t.charAt(0)&&(r+=" "),"`"===t.charAt(t.length-1)&&(a=" "+a),r+t+a}var i=n(248),o=n(22);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n,r=this,s=e.value,l=r.options,u=l.fence,c=r.encode(e.lang||"",e);return c||l.fences||!s?(n=o(u,Math.max(i(s,u)+1,3)))+c+"\n"+s+"\n"+n:(t&&"listItem"===t.type&&"tab"!==l.listItemIndent&&l.pedantic&&r.file.fail("Cannot indent code properly. See http://git.io/vgFvT",e.position),a(s,1))}var i=n(248),o=n(22),a=n(247);e.exports=r},function(e,t,n){"use strict";function r(e){return e.value}e.exports=r},function(e,t,n){"use strict";function r(){var e=this.options,t=i(e.rule,e.ruleRepetition);return e.ruleSpaces?t.split("").join(" "):t}var i=n(22);e.exports=r},function(e,t,n){"use strict";function r(e){var t=i(this.options.strong,2);return t+this.all(e).join("")+t}var i=n(22);e.exports=r},function(e,t,n){"use strict";function r(e){var t=this.options.emphasis;return t+this.all(e).join("")+t}e.exports=r},function(e,t,n){"use strict";function r(){return i[this.options.commonmark]}e.exports=r;var i={true:"\\\n",false:" \n"}},function(e,t,n){"use strict";function r(e){return"~~"+this.all(e).join("")+"~~"}e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=t.encode(e.url||"",e),r=t.enterLink(),s=t.encode(t.escape(e.url||"",e)),l=t.all(e).join("");return r(),null!=e.title||!a.test(n)||s!==l&&s!=="mailto:"+l?(n=i(n),e.title&&(n+=" "+o(t.encode(t.escape(e.title,e),e))),"["+l+"]("+n+")"):i(t.encode(e.url),!0)}var i=n(141),o=n(142);e.exports=r;var a=/^[a-z][a-z+.-]+:\/?/i},function(e,t,n){"use strict";function r(e,t){var n,r=0;if(e=String(e),"string"!==typeof t||1!==t.length)throw new Error("Expected character");for(n=e.indexOf(t);-1!==n;)r++,n=e.indexOf(t,n+1);return r}e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=e.referenceType,r=t.enterLinkReference(t,e),a=t.all(e).join("");return r(),"shortcut"!==n&&"collapsed"!==n||(a=i(a,e.identifier)),"["+a+"]"+o(e)}var i=n(741),o=n(249);e.exports=r},function(e,t,n){"use strict";function r(e,t){for(var n,r=e.length,a=t.length,s=[],l=0,u=0;u<r;){for(n=u;u<r&&!o.test(e.charAt(u));)u+=1;for(s.push(e.slice(n,u));l<a&&!o.test(t.charAt(l));)l+=1;for(n=l;l<a&&o.test(t.charAt(l));)"&"===t.charAt(l)&&(l+=i(t.slice(l))),l+=1;for(s.push(t.slice(n,l));u<r&&o.test(e.charAt(u));)u+=1}return s.join("")}var i=n(246);e.exports=r;var o=/[-!"#$%&'()*+,.\/:;<=>?@[\\\]^`{|}~_]/},function(e,t,n){"use strict";function r(e){return"!["+(this.encode(e.alt,e)||"")+"]"+i(e)}var i=n(249);e.exports=r},function(e,t,n){"use strict";function r(e){var t=i(e.url);return e.title&&(t+=" "+o(e.title)),"["+e.identifier+"]: "+t}var i=n(141),o=n(142);e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=i(t.encode(e.url||"",e)),r=t.enterLink(),a=t.encode(t.escape(e.alt||"",e));return r(),e.title&&(n+=" "+o(t.encode(e.title,e))),"!["+a+"]("+n+")"}var i=n(141),o=n(142);e.exports=r},function(e,t,n){"use strict";function r(e){return"[^"+this.all(e).join("")+"]"}e.exports=r},function(e,t,n){"use strict";function r(e){return"[^"+e.identifier+"]"}e.exports=r},function(e,t,n){"use strict";function r(e){return"[^"+e.identifier.toLowerCase()+"]: "+this.all(e).join("\n\n"+i(" ",4))}var i=n(22);e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n,r=this,o=r.options,a=o.looseTable,s=o.spacedTable,l=o.paddedTable,u=o.stringLength,c=e.children,d=c.length,f=r.enterTable(),h=[];d--;)h[d]=r.all(c[d]);return f(),a?(t="",n=""):s?(t="| ",n=" |"):(t="|",n="|"),i(h,{align:e.align,pad:l,start:t,end:n,stringLength:u,delimiter:s?" | ":"|"})}var i=n(749);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n,r,u,T,_,k,x,S,C,O,A,P,I=t||{},R=I.delimiter,N=I.start,M=I.end,D=I.align,L=I.stringLength||o,j=0,W=-1,B=e.length,F=[];for(D=D?D.concat():[],null!==R&&void 0!==R||(R=w+b+w),null!==N&&void 0!==N||(N=b+w),null!==M&&void 0!==M||(M=w+b);++W<B;)for(T=e[W],k=-1,T.length>j&&(j=T.length);++k<j;)x=T[k]?s(T[k]):null,F[k]||(F[k]=g),x>F[k]&&(F[k]=x);for("string"===typeof D&&(D=a(j,D).split("")),k=-1;++k<j;)n=D[k],"string"===typeof n&&(n=n.charAt(0).toLowerCase()),-1===m.indexOf(n)&&(n=p),D[k]=n;for(W=-1,u=[];++W<B;){for(T=e[W],k=-1,_=[];++k<j;)C=T[k],C=i(C),D[k]===h?(x=s(C),S=F[k]+(l.test(C)?0:1)-(L(C)-x),_[k]=C+a(S-1)):_[k]=C;u[W]=_}for(F=[],W=-1;++W<B;)for(_=u[W],k=-1;++k<j;)C=_[k],F[k]||(F[k]=g),(S=L(C))>F[k]&&(F[k]=S);for(W=-1;++W<B;){if(_=u[W],k=-1,!1!==I.pad)for(;++k<j;)C=_[k],x=F[k]-(L(C)||0),O=a(x),D[k]===d||D[k]===h?C=O+C:D[k]===f?(x/=2,x%1===0?(A=x,P=x):(A=x+.5,P=x-.5),C=a(A)+C+a(P)):C+=O,_[k]=C;u[W]=_.join(R)}if(!1!==I.rule){for(k=-1,r=[];++k<j;)!1===I.pad?(C=e[0][k],O=L(i(C)),O=O>g?O:g):O=F[k],n=D[k],C=n===d||n===p?y:v,C+=a(O-2,y),C+=n!==c&&n!==p?v:y,r[k]=C;u.splice(1,0,r.join(R))}return N+u.join(M+E+N)+M}function i(e){return null===e||void 0===e?"":String(e)}function o(e){return String(e).length}function a(e,t){return new Array(e+1).join(t||w)}function s(e){var t=u.exec(e);return t?t.index+1:e.length}e.exports=r;var l=/\./,u=/\.[^.]*$/,c="l",d="r",f="c",h=".",p="",m=[c,d,f,h,p],g=3,v=":",y="-",b="|",w=" ",E="\n"},function(e,t,n){"use strict";function r(e){return this.all(e).join("")}e.exports=r},function(e,t,n){"use strict";e.exports=n(752)},function(e,t,n){"use strict";function r(e,t){function n(e,t){var n,r;return e&&"data"in e&&(n=e.data,"element"===t.type&&n.hName&&(t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties=o(t.properties,n.hProperties)),t.children&&n.hChildren&&(t.children=n.hChildren)),r=e&&e.position?e:{position:e},u(r)||(t.position={start:l.start(r),end:l.end(r)}),t}function r(e,t,r,i){return(void 0===i||null===i)&&"object"===typeof r&&"length"in r&&(i=r,r={}),n(e,{type:"element",tagName:t,properties:r||{},children:i||[]})}function i(e){r.footnotes.push(e)}var a=t||{},d=a.allowDangerousHTML;return r.dangerous=d,r.definition=c(e,a),r.footnotes=[],r.augment=n,r.handlers=o(h,a.handlers||{}),s(e,"footnoteDefinition",i),r}function i(e,t){var n=r(e,t),i=d(n,e),o=f(n);return i&&i.children&&o&&(i.children=i.children.concat(a("text","\n"),o)),i}e.exports=i;var o=n(24),a=n(23),s=n(69),l=n(250),u=n(753),c=n(754),d=n(251),f=n(755),h=n(756)},function(e,t,n){"use strict";function r(e){var t=i(i(e).position),n=i(t.start),r=i(t.end);return!n.line||!n.column||!r.line||!r.column}function i(e){return e&&"object"===typeof e?e:{}}e.exports=r},function(e,t,n){"use strict";function r(e,t){return o(i(e,t))}function i(e,t){function n(e){var t=a(e.identifier);l.call(i,t)||(i[t]=e)}function r(e){i[a(e.identifier)]=e}var i={};if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return s(e,"definition",t&&t.commonmark?n:r),i}function o(e){function t(t){var n=t&&a(t);return n&&l.call(e,n)?e[n]:null}return t}function a(e){return e.toUpperCase()}var s=n(69);e.exports=r;var l={}.hasOwnProperty},function(e,t,n){"use strict";function r(e){var t,n=e.footnotes,r=n.length,s=-1,l=[];if(!r)return null;for(;++s<r;)t=n[s],l[s]={type:"listItem",data:{hProperties:{id:"fn-"+t.identifier}},children:t.children.concat({type:"link",url:"#fnref-"+t.identifier,data:{hProperties:{className:["footnote-backref"]}},children:[{type:"text",value:"\u21a9"}]}),position:t.position};return e(null,"div",{className:["footnotes"]},a([i(e),o(e,{type:"list",ordered:!0,children:l})],!0))}e.exports=r;var i=n(252),o=n(253),a=n(57)},function(e,t,n){"use strict";function r(){return null}e.exports={blockquote:n(757),break:n(758),code:n(759),delete:n(761),emphasis:n(762),footnoteReference:n(254),footnote:n(763),heading:n(764),html:n(765),imageReference:n(766),image:n(767),inlineCode:n(768),linkReference:n(769),link:n(770),listItem:n(771),list:n(253),paragraph:n(772),root:n(773),strong:n(774),table:n(775),text:n(776),thematicBreak:n(252),toml:r,yaml:r,definition:r,footnoteDefinition:r}},function(e,t,n){"use strict";function r(e,t){return e(t,"blockquote",i(o(e,t),!0))}e.exports=r;var i=n(57),o=n(17)},function(e,t,n){"use strict";function r(e,t){return[e(t,"br"),i("text","\n")]}e.exports=r;var i=n(23)},function(e,t,n){"use strict";function r(e,t){var n=t.value?i(t.value+"\n"):"",r=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),a={};return r&&(a.className=["language-"+r]),e(t.position,"pre",[e(t,"code",a,[o("text",n)])])}e.exports=r;var i=n(760),o=n(23)},function(e,t,n){"use strict";function r(e,t){var n,r,l="string"===typeof e,u=l&&e.length,c=0,d=-1,f=-1,h=t||4,p=[];if(!l)throw new Error("detab expected string");for(;++d<u;)n=e.charCodeAt(d),n===o?(r=h-(f+1)%h,f+=r,p.push(e.slice(c,d)+i(" ",r)),c=d+1):n===a||n===s?f=-1:f++;return p.push(e.slice(c)),p.join("")}e.exports=r;var i=n(22),o=9,a=10,s=13},function(e,t,n){"use strict";function r(e,t){return e(t,"del",i(e,t))}e.exports=r;var i=n(17)},function(e,t,n){"use strict";function r(e,t){return e(t,"em",i(e,t))}e.exports=r;var i=n(17)},function(e,t,n){"use strict";function r(e,t){for(var n=[],r=1,o=e.footnotes,a=o.length,s=-1;++s<a;)n[s]=o[s].identifier;for(;-1!==n.indexOf(String(r));)r++;return r=String(r),o.push({type:"footnoteDefinition",identifier:r,children:[{type:"paragraph",children:t.children}],position:t.position}),i(e,{type:"footnoteReference",identifier:r,position:t.position})}e.exports=r;var i=n(254)},function(e,t,n){"use strict";function r(e,t){return e(t,"h"+t.depth,i(e,t))}e.exports=r;var i=n(17)},function(e,t,n){"use strict";function r(e,t){return e.dangerous?e.augment(t,i("raw",t.value)):null}e.exports=r;var i=n(23)},function(e,t,n){"use strict";function r(e,t){var n=e.definition(t.identifier),r={src:i(n&&n.url||""),alt:t.alt};return n&&null!==n.title&&void 0!==n.title&&(r.title=n.title),o(e,t,n)||e(t,"img",r)}e.exports=r;var i=n(90),o=n(255)},function(e,t,n){"use strict";function r(e,t){var n={src:i(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"img",n)}var i=n(90);e.exports=r},function(e,t,n){"use strict";function r(e,t){return e(t,"code",[o("text",i(t.value))])}e.exports=r;var i=n(241),o=n(23)},function(e,t,n){"use strict";function r(e,t){var n=e.definition(t.identifier),r={href:i(n&&n.url||"")};return n&&null!==n.title&&void 0!==n.title&&(r.title=n.title),o(e,t,n)||e(t,"a",r,a(e,t))}e.exports=r;var i=n(90),o=n(255),a=n(17)},function(e,t,n){"use strict";function r(e,t){var n={href:i(t.url)};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"a",n,o(e,t))}var i=n(90),o=n(17);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,s,l=t.children,u=l[0],c={},d=!1;return n&&n.loose||1!==l.length||"paragraph"!==u.type||(d=!0),r=a(e,d?u:t),"boolean"===typeof t.checked&&(d||u&&"paragraph"===u.type||r.unshift(e(null,"p",[])),s=d?r:r[0].children,0!==s.length&&s.unshift(i("text"," ")),s.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),c.className=["task-list-item"]),d||0===r.length||(r=o(r,!0)),e(t,"li",c,r)}e.exports=r;var i=n(23),o=n(57),a=n(17)},function(e,t,n){"use strict";function r(e,t){return e(t,"p",i(e,t))}e.exports=r;var i=n(17)},function(e,t,n){"use strict";function r(e,t){return e.augment(t,i("root",o(a(e,t))))}e.exports=r;var i=n(23),o=n(57),a=n(17)},function(e,t,n){"use strict";function r(e,t){return e(t,"strong",i(e,t))}e.exports=r;var i=n(17)},function(e,t,n){"use strict";function r(e,t){for(var n,r,s,l,u,c=t.children,d=c.length,f=t.align,h=f.length,p=[];d--;){for(r=c[d].children,l=0===d?"th":"td",n=h,s=[];n--;)u=r[n],s[n]=e(u,l,{align:f[n]},u?a(e,u):[]);p[d]=e(c[d],"tr",o(s,!0))}return e(t,"table",o([e(p[0].position,"thead",o([p[0]],!0)),e({start:i.start(p[1]),end:i.end(p[p.length-1])},"tbody",o(p.slice(1),!0))],!0))}e.exports=r;var i=n(250),o=n(57),a=n(17)},function(e,t,n){"use strict";function r(e,t){return e.augment(t,i("text",o(t.value)))}e.exports=r;var i=n(23),o=n(777)},function(e,t,n){"use strict";function r(e){return String(e).replace(i,o)}e.exports=r;var i=/[ \t]*\n+[ \t]*/g,o="\n"},function(e,t,n){"use strict";e.exports=n(779)},function(e,t,n){"use strict";function r(e,t){var n,r={type:"root",children:[]};return e&&"object"===typeof e&&e.type?(n=i(v(y,t||{}),e,[]),n?"length"in n?1===n.length?n[0]:(r.children=n,r):n:r):r}function i(e,t,n){var r,i,o,a,s=t&&t.type,l={type:t.type},u=!0;if(b.call(w,s))if(r=w[s],"function"===typeof r&&(r=r(e,t)),r){i=v(r,w["*"]);for(a in i)o=i[a](e,t[a],t,n),!1===o?(u=!1,l[a]=t[a]):null!==o&&void 0!==o&&(l[a]=o)}else u=!1;else u=!1;return u?l:l.children&&0!==l.children.length&&-1===e.strip.indexOf(l.tagName)?l.children:null}function o(e,t,n,r){var o,a=t||[],s=a.length||0,l=[],u=-1;for(r=r.concat(n.tagName);++u<s;)(o=i(e,a[u],r))&&("length"in o?l=l.concat(o):l.push(o));return l}function a(e,t,n,r){var i,o,a,u=d(e,n.tagName,n,r),c=e.attributes,f=t||{},h={};i=b.call(c,u)?c[u]:[],i=[].concat(i,c["*"]);for(o in f)a=f[o],(-1!==i.indexOf(o)||g(o)&&-1!==i.indexOf("data*"))&&null!==(a=a&&"object"===typeof a&&"length"in a?s(e,a,o):l(e,a,o))&&void 0!==a&&(h[o]=a);return h}function s(e,t,n){for(var r,i=t.length,o=[],a=-1;++a<i;)null!==(r=l(e,t[a],n))&&void 0!==r&&o.push(r);return o}function l(e,t,n){return"boolean"!==typeof t&&"number"!==typeof t&&"string"!==typeof t?null:u(e,t,n)?(-1!==e.clobber.indexOf(n)&&(t=e.clobberPrefix+t),t):null}function u(e,t,n){var r,i,o,a,s,l=e.protocols;if(l=b.call(l,n)?l[n].concat():[],0===l.length)return!0;if(t=String(t),"#"===(i=t.charAt(0))||"/"===i)return!0;if(-1===(o=t.indexOf(":")))return!0;for(a=l.length,s=-1;++s<a;)if(r=l[s],o===r.length&&t.slice(0,r.length)===r)return!0;return-1!==(s=t.indexOf("?"))&&o>s||-1!==(s=t.indexOf("#"))&&o>s}function c(){return"html"}function d(e,t,n,r){var i,o,a="string"===typeof t?t:null,s=e.ancestors;if(!a||"*"===a||-1===e.tagNames.indexOf(a))return!1;if(s=b.call(s,a)?s[a]:[],0!==s.length)for(i=s.length+1,o=-1;++o<i;){if(!s[o])return!1;if(-1!==r.indexOf(s[o]))break}return a}function f(e){return e.allowDoctypes?{name:c}:null}function h(e){return e.allowComments?{value:p}:null}function p(e,t){return"string"===typeof t?t:""}function m(e,t){return t}function g(e){return e.length>4&&"data"===e.slice(0,4).toLowerCase()}var v=n(24),y=n(780);e.exports=r;var b={}.hasOwnProperty,w={root:{children:o},doctype:f,comment:h,element:{tagName:d,properties:a,children:o},text:{value:p},"*":{data:m,position:m}}},function(e,t){e.exports={strip:["script"],clobberPrefix:"user-content-",clobber:["name","id"],ancestors:{li:["ol","ul"],tbody:["table"],tfoot:["table"],thead:["table"],td:["table"],th:["table"],tr:["table"]},protocols:{href:["http","https","mailto"],cite:["http","https"],src:["http","https"],longDesc:["http","https"]},tagNames:["h1","h2","h3","h4","h5","h6","h7","h8","br","b","i","strong","em","a","pre","code","img","tt","div","ins","del","sup","sub","p","ol","ul","table","thead","tbody","tfoot","blockquote","dl","dt","dd","kbd","q","samp","var","hr","ruby","rt","rp","li","tr","td","th","s","strike","summary","details"],attributes:{a:["href"],img:["src","longDesc"],div:["itemScope","itemType"],blockquote:["cite"],del:["cite"],ins:["cite"],q:["cite"],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charoff","charSet","checked","clear","cols","colSpan","color","compact","coords","dateTime","dir","disabled","encType","htmlFor","frame","headers","height","hrefLang","hspace","isMap","id","label","lang","maxLength","media","method","multiple","name","nohref","noshade","nowrap","open","prompt","readOnly","rel","rev","rows","rowSpan","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","type","useMap","valign","value","vspace","width","itemProp"]}}},function(e,t,n){"use strict";function r(e,t,n){var r,o;if("function"!==typeof e)throw new Error("h is not a function");if(r=a(e),o=l(e),null!==n&&void 0!==n||(n=(!0===r||!0===o)&&"h-"),b("root",t))t=1===t.children.length&&b("element",t.children[0])?t.children[0]:{type:"element",tagName:"div",properties:{},children:t.children};else if(!b("element",t))throw new Error("Expected root or element, not `"+(t&&t.type||t)+"`");return i(e,t,{prefix:n,key:0,react:r,vdom:o,hyperscript:s(e)})}function i(e,t,n){var r,a,s,l,c,d,f,h,p=t.tagName;r=t.properties,a={};for(l in r)o(a,l,r[l],n);for(!0===n.vdom&&(p=p.toUpperCase()),!0===n.hyperscript&&a.id&&(p+="#"+a.id,delete a.id),!0!==n.hyperscript&&!0!==n.vdom||!a.className||(p+="."+g.parse(a.className).join("."),delete a.className),"string"===typeof a.style&&(!0===n.vdom?(a.attributes||(a.attributes={}),a.attributes.style=a.style,delete a.style):!0===n.react&&(a.style=u(a.style))),n.prefix&&(n.key++,a.key=n.prefix+n.key),c=[],s=t.children||[],d=s.length,f=-1;++f<d;)h=s[f],b("element",h)?c.push(i(e,h,n)):b("text",h)&&c.push(h.value);return 0===c.length?e(p,a):e(p,a,c)}function o(e,t,n,r){var i,o=m(t)||{};if(!(null===n||void 0===n||!1===n||y(n)||o.boolean&&!n)){if(t=o.name?o.name:r.react&&!c(t)?d(t):p(t),null!==n&&"object"===typeof n&&"length"in n&&(n=(o.commaSeparated?v:g).stringify(n)),o.boolean&&!0===r.hyperscript&&(n=""),"class"!==o.name&&(o.mustUseAttribute||!o.name)&&(!0===r.vdom?i="attributes":!0===r.hyperscript&&(i="attrs"),i))return void 0===e[i]&&(e[i]={}),void(e[i][t]=n);e[o.propertyName||t]=n}}function a(e){var t=e&&e("div");return Boolean(t&&("_owner"in t||"_store"in t)&&null===t.key)}function s(e){return Boolean(e&&e.context&&e.cleanup)}function l(e){try{return"VirtualNode"===e("div").type}catch(e){}return!1}function u(e){for(var t,n,r,i={},o=e.split(";"),a=o.length,s=-1;++s<a;)t=o[s],-1!==(r=t.indexOf(":"))&&(n=d(h(t.slice(0,r))),i[n]=h(t.slice(r+1)));return i}function c(e){var t=e.slice(0,4);return("data"===t||"aria"===t)&&e.length>4}function d(e){return"-ms-"===e.slice(0,4)&&(e="ms-"+e.slice(4)),e.replace(/-([a-z])/g,f)}function f(e,t){return t.toUpperCase()}var h=n(27),p=n(782),m=n(783),g=n(784),v=n(785),y=n(786),b=n(238);e.exports=r},function(e,t,n){"use strict";var r=/[A-Z\u00C0-\u00D6\u00D8-\u00DE]/g,i=/-[a-z\u00E0-\u00F6\u00F8-\u00FE]/g;e.exports=t=function(e){return e.replace(r,function(e){return"-"+e.toLowerCase()})},t.reverse=function(e){return e.replace(i,function(e){return e.slice(1).toUpperCase()})}},function(e,t,n){"use strict";function r(e){var t=o(e);return d[c[t]||t]}function i(e,t){return(e&t)===t}function o(e){return e.toLowerCase()}e.exports=r;var a,s,l,u={abbr:null,accept:256,acceptCharset:128,accessKey:128,action:null,allowFullScreen:9,allowTransparency:1,alt:null,as:null,async:8,autoComplete:128,autoFocus:8,autoPlay:8,capture:9,cellPadding:null,cellSpacing:null,challenge:1,charSet:1,checked:10,cite:null,className:129,cols:49,colSpan:null,command:null,content:null,contentEditable:null,contextMenu:1,controls:10,controlsList:128,coords:272,crossOrigin:null,data:null,dateTime:1,default:8,defer:8,dir:null,dirName:null,disabled:9,download:64,draggable:null,dropzone:128,encType:null,form:1,formAction:1,formEncType:1,formMethod:1,formNoValidate:8,formTarget:1,frameBorder:1,headers:128,height:49,hidden:9,high:16,href:null,hrefLang:null,htmlFor:128,httpEquiv:128,id:2,inputMode:1,is:1,isMap:8,keyParams:1,keyType:1,kind:null,label:null,lang:null,list:1,loop:10,low:16,manifest:1,marginHeight:16,marginWidth:16,max:null,maxLength:49,media:1,mediaGroup:null,menu:null,method:null,min:null,minLength:49,multiple:10,muted:10,name:null,nonce:null,noValidate:8,open:8,optimum:16,pattern:null,ping:128,placeholder:null,playsInline:8,poster:null,preload:null,profile:null,radioGroup:null,readOnly:10,referrerPolicy:null,rel:129,required:8,reversed:8,role:1,rows:49,rowSpan:48,sandbox:128,scope:null,scoped:8,scrolling:null,seamless:9,selected:10,shape:null,size:49,sizes:129,slot:null,sortable:8,sorted:128,span:48,spellCheck:null,src:null,srcDoc:2,srcLang:null,srcSet:257,start:16,step:null,style:null,summary:null,tabIndex:16,target:null,title:null,translate:null,type:null,typeMustMatch:8,useMap:null,value:2,volume:48,width:17,wmode:1,wrap:null,autoCapitalize:null,autoCorrect:null,autoSave:null,itemProp:129,itemScope:9,itemType:129,itemID:1,itemRef:129,property:null,results:null,security:1,unselectable:1,xmlLang:1,xmlBase:1},c={xmlbase:"xml:base",xmllang:"xml:lang",classname:"class",htmlfor:"for",httpequiv:"http-equiv",acceptcharset:"accept-charset"},d={};r.all=d;for(a in u)s=o(a),s=c[s]||s,l=u[a],d[s]={name:s,propertyName:a,mustUseAttribute:i(l,1),mustUseProperty:i(l,2),boolean:i(l,8),overloadedBoolean:i(l,64),numeric:i(l,16),positiveNumeric:i(l,48),commaSeparated:i(l,256),spaceSeparated:i(l,128)}},function(e,t,n){"use strict";function r(e){var t=o(String(e||a));return t===a?[]:t.split(l)}function i(e){return o(e.join(s))}var o=n(27);t.parse=r,t.stringify=i;var a="",s=" ",l=/[ \t\n\r\f]+/g},function(e,t,n){"use strict";function r(e){for(var t,n=[],r=String(e||l),i=r.indexOf(a),s=0,u=!1;!u;)-1===i&&(i=r.length,u=!0),t=o(r.slice(s,i)),!t&&u||n.push(t),s=i+1,i=r.indexOf(a,s);return n}function i(e,t){var n=t||{},r=!1===n.padLeft?l:s,i=n.padRight?s:l;return e[e.length-1]===l&&(e=e.concat(l)),o(e.join(i+a+r))}t.parse=r,t.stringify=i;var o=n(27),a=",",s=" ",l=""},function(e,t,n){"use strict";var r=n(256),i=n(257);r(i,{getPolyfill:n(258),implementation:i,shim:n(790)}),e.exports=i},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=Array.prototype.slice,a=n(788),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),u=s.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},f={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"===typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&r.call(window,e)&&null!==window[e]&&"object"===typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),p=function(e){if("undefined"===typeof window||!h)return d(e);try{return d(e)}catch(e){return!1}},m=function(e){var t=null!==e&&"object"===typeof e,n="[object Function]"===i.call(e),o=a(e),s=t&&"[object String]"===i.call(e),d=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var f=u&&n;if(s&&e.length>0&&!r.call(e,0))for(var h=0;h<e.length;++h)d.push(String(h));if(o&&e.length>0)for(var m=0;m<e.length;++m)d.push(String(m));else for(var g in e)f&&"prototype"===g||!r.call(e,g)||d.push(String(g));if(l)for(var v=p(e),y=0;y<c.length;++y)v&&"constructor"===c[y]||!r.call(e,c[y])||d.push(c[y]);return d};m.shim=function(){if(Object.keys){if(!function(){return 2===(Object.keys(arguments)||"").length}(1,2)){var e=Object.keys;Object.keys=function(t){return e(a(t)?o.call(t):t)}}}else Object.keys=m;return Object.keys||m},e.exports=m},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t){var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,t,i){if("[object Function]"!==r.call(t))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var a=0;a<o;a++)t.call(i,e[a],a,e);else for(var s in e)n.call(e,s)&&t.call(i,e[s],s,e)}},function(e,t,n){"use strict";var r=n(256),i=n(258);e.exports=function(){var e=i();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},function(e,t,n){"use strict";function r(e){if("tr"===e.tagName||"td"===e.tagName||"th"===e.tagName){var t,n;for(t in s)a.call(s,t)&&void 0!==e.properties[t]&&(n=s[t],i(e,n,e.properties[t]),delete e.properties[t])}}function i(e,t,n){var r=(e.properties.style||"").trim();r&&!/;\s*/.test(r)&&(r+=";"),r&&(r+=" ");var i=r+t+": "+n+";";e.properties.style=i}var o=n(69),a=Object.prototype.hasOwnProperty,s={align:"text-align",valign:"vertical-align",height:"height",width:"width"};e.exports=function(e){return o(e,"element",r),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 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 o(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)}n.d(t,"a",function(){return h});var a=n(1),s=n.n(a),l=n(86),u=n(67),c=n(32),d=(n.n(c),n(793)),f=(n.n(d),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),h=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={spyArr:[],positions:{},x:window.innerWidth/3},window.addEventListener("resize",function(){n.mounted&&n.setState({x:window.innerWidth/3})}),n.unselectedColor="#9c81d0",n.selectedColor="#420dab",n}return o(t,e),f(t,[{key:"componentWillMount",value:function(){this.setState({spyArr:this.props.spyArr,positions:this.props.positions}),this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"componentWillReceiveProps",value:function(e){var t=e.spyArr,n=e.positions;this.setState({spyArr:t,positions:n})}},{key:"render",value:function(){var e=this,t=this.state.spyArr.map(function(t){var n=t.data.split("\n"),r=n[1];return{sectionTitle:n[2],sectionY:e.state.positions["spy-"+r],href:"#"+r}});t=t.reduce(function(e,t,n){var r=!1;return 0===n?r=!0:t.sectionY<66&&(e[n-1].active=!1,r=!0),e.push(Object.assign({},t,{active:r})),e},[]);var n=void 0,r=this.state.x;return n=r<350?16:r<400?18:r<500?22:r<525?27:r<550?29:r<600?32:35,s.a.createElement("div",{style:{paddingTop:15,position:"sticky",top:60}},s.a.createElement("div",{style:{position:"absolute",width:7,height:40*(t.length-1),marginTop:10,bottom:10,left:24.5,zIndex:-1,backgroundColor:this.unselectedColor}}),t.map(function(t,r){return s.a.createElement("div",{key:"spybar-"+r,style:{marginTop:10,height:30,width:"auto"}},s.a.createElement(c.Grid,{fluid:!0},s.a.createElement("a",{style:{textDecoration:"none",color:"black"},href:t.href,onClick:e.props.updateDim},s.a.createElement(c.Row,{middle:"xs"},s.a.createElement("span",{style:{color:t.active?e.selectedColor:e.unselectedColor,width:40,height:40,textAlign:"center",fontSize:t.active?20:15,transition:"font-size 0.5s, opacity 0.5s",lineHeight:"40px"}},s.a.createElement(u.a,{icon:l.d,style:{margin:"auto"}})),s.a.createElement("span",{style:{fontSize:t.active?20:15,opacity:t.active?1:.5,fontFamily:"RalewayBold",transition:"font-size 0.5s, opacity 0.5s",lineHeight:"40px",textOverflow:"ellipsis"}},t.sectionTitle.length>n?t.sectionTitle.substring(0,n-3)+"...":t.sectionTitle)))))}))}}]),t}(a.Component)},function(e,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 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 o(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)}n.d(t,"a",function(){return k});var a=n(1),s=n.n(a),l=n(104),u=n.n(l),c=n(219),d=n.n(c),f=n(220),h=n.n(f),p=n(19),m=n.n(p),g=n(87),v=n.n(g),y=n(89),b=n.n(y),w=n(40),E=n.n(w),T=n(795),_=(n.n(T),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),k=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=function(e,t){n.props.updateDim(),n.setState({value:t})},n.state={value:0,tabObjs:[]},n}return o(t,e),_(t,[{key:"componentWillMount",value:function(){this.setState({tabObjs:this.props.tabObjs})}},{key:"componentWillReceiveProps",value:function(e){var t=e.tabObjs;this.setState({tabObjs:t})}},{key:"render",value:function(){var e=this,t=this.state.tabObjs;return s.a.createElement("div",{style:{margin:"auto",marginTop:20,marginBottom:20,width:"95%"}},s.a.createElement(u.a,{position:"static"},s.a.createElement(d.a,{value:this.state.value,onChange:this.handleChange,style:{width:"100%"},scrollable:!0,scrollButtons:"auto"},t.map(function(e,t){return s.a.createElement(h.a,{key:"tab"+t,value:t,label:e.title})}))),t.map(function(t,n){return s.a.createElement(m.a,{component:"div",style:{backgroundColor:"white",border:"1px solid gray",borderBottomLeftRadius:5,borderBottomRightRadius:5,padding:24,display:e.state.value===n?"":"none",transition:"display 0.5s",lineHeight:"normal",width:"100%"},key:"tabC"+n},s.a.createElement(E.a,{clear:!0,when:e.state.value===n,duration:500,cascade:!0},s.a.createElement("div",{style:{fontSize:"16px"},className:"tabsContent"},v()().use(b.a).processSync(t.data).contents)))}))}}]),t}(a.Component)},function(e,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 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 o(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)}n.d(t,"a",function(){return u});var a=n(1),s=n.n(a),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),l(t,[{key:"render",value:function(){return s.a.createElement("div",{style:{margin:"auto",textAlign:"center"}},s.a.createElement("embed",{src:this.props.pdfLink,style:{width:"90%",height:1e3}}))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return f});var a=n(1),s=n.n(a),l=n(798),u=n(800),c=n.n(u),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.openLightbox=function(e,t){n.setState({currentImage:t.index,lightboxIsOpen:!0})},n.closeLightbox=function(){n.setState({currentImage:0,lightboxIsOpen:!1})},n.gotoPrevious=function(){n.setState({currentImage:n.state.currentImage-1})},n.gotoNext=function(){n.setState({currentImage:n.state.currentImage+1})},n.state={currentImage:0,photos:e.photos},n}return o(t,e),d(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.photos;this.setState({photos:t})}},{key:"render",value:function(){var e=this.state,t=e.photos,n=e.currentImage;return s.a.createElement("div",null,s.a.createElement(l.a,{photos:t,onClick:this.openLightbox}),s.a.createElement(c.a,{images:t,onClose:this.closeLightbox,onClickPrev:this.gotoPrevious,onClickNext:this.gotoNext,currentImage:n,isOpen:this.state.lightboxIsOpen}))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e,t){return t||(t=0),Number(Math.round(e+"e"+t)+"e-"+t)}function i(e){return r(e.width/e.height,2)}function o(e){var t=e.photos,n=e.columns,o=e.width,a=e.margin;if(!o)return[];var s=t.reduce(function(e,t,r){var i=Math.floor(r/n);return e[i]=e[i]?[].concat(y(e[i]),[t]):[t],e},[]),l=[];return s.map(function(e,u){var c=e.reduce(function(e,t){return e+i(t)},0),d=o-e.length*(2*a);u!==s.length-1&&l.push(c);var f=e.length===n?d/c:t.length<n?d/c*(e.length/n):d/(l.reduce(function(e,t){return e+t},0)/(s.length-1));return e.map(function(e){return p({},e,{height:r(f,1),width:r(f*i(e),1)})})}).reduce(function(e,t){return[].concat(y(e),y(t))},[])}function a(e){for(var t=e.photos,n=e.columns,i=e.width,o=e.margin,a=(i-2*o*n)/n,s=t.map(function(e){var t=e.height/e.width*a;return p({},e,{width:r(a,1),height:r(t,1)})}),l=[],u=[],c=0;c<n;c++)l[c]=r(c*(a+2*o),1),u[c]=0;return s.map(function(e){var t=u.reduce(function(e,t,n){return e=t<u[e]?n:e},0);e.top=u[t],e.left=l[t],u[t]=u[t]+e.height+2*o;var n=u.reduce(function(e,t,n){return e=t>u[e]?n:e},0);return e.containerHeight=u[n],e})}var s=n(1),l=n.n(s),u=n(2),c=n.n(u),d=n(799),f=(function(){function e(e){this.value=e}function t(t){function n(e,t){return new Promise(function(n,i){var s={key:e,arg:t,resolve:n,reject:i,next:null};a?a=a.next=s:(o=a=s,r(e,t))})}function r(n,o){try{var a=t[n](o),s=a.value;s instanceof e?Promise.resolve(s.value).then(function(e){r("next",e)},function(e){r("throw",e)}):i(a.done?"return":"normal",a.value)}catch(e){i("throw",e)}}function i(e,t){switch(e){case"return":o.resolve({value:t,done:!0});break;case"throw":o.reject(t);break;default:o.resolve({value:t,done:!1})}o=o.next,o?r(o.key,o.arg):a=null}var o,a;this._invoke=n,"function"!==typeof t.return&&(this.return=void 0)}"function"===typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},g=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},v=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},y=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},b={cursor:"pointer"},w=function(e){var t=e.index,n=e.onClick,r=e.photo,i=e.margin,o=e.direction,a=e.top,s=e.left,u={margin:i};"column"===o&&(u.position="absolute",u.left=s,u.top=a);var c=function(e){n(e,{photo:r,index:t})};return l.a.createElement("img",p({style:n?p({},u,b):u},r,{onClick:n?c:null}))},E=c.a.shape({src:c.a.string.isRequired,width:c.a.number.isRequired,height:c.a.number.isRequired,alt:c.a.string,title:c.a.string,srcSet:c.a.oneOfType([c.a.string,c.a.array]),sizes:c.a.oneOfType([c.a.string,c.a.array])});w.propTypes={index:c.a.number.isRequired,onClick:c.a.func,photo:E.isRequired,margin:c.a.number,top:function(e){if("column"===e.direction&&"number"!==typeof e.top)return new Error("top is a required number when direction is set to `column`")},left:function(e){if("column"===e.direction&&"number"!==typeof e.left)return new Error("left is a required number when direction is set to `column`")},direction:c.a.string};var T=function(e){function t(){var e,n,r,i;f(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=r=v(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={containerWidth:0},r.handleClick=function(e,t){var n=t.index,i=r.props,o=i.photos;(0,i.onClick)(e,{index:n,photo:o[n],previous:o[n-1]||null,next:o[n+1]||null})},i=n,v(r,i)}return m(t,e),h(t,[{key:"componentDidMount",value:function(){var e=this;this.observer=new d.a(function(t){var n=t[0].contentRect.width;e.state.containerWidth!==n&&e.setState({containerWidth:Math.floor(n)})}),this.observer.observe(this._gallery)}},{key:"componentWillUnmount",value:function(){this.observer.disconnect()}},{key:"render",value:function(){var e=this,t=this.state.containerWidth;if(!t)return l.a.createElement("div",{ref:function(t){return e._gallery=t}});var n=this.props.ImageComponent,r=void 0===n?w:n,i=this.props,s=i.margin,u=i.onClick,c=i.direction,d=this.props.columns;void 0===d&&(d=1,t>=500&&(d=2),t>=900&&(d=3),t>=1500&&(d=4));var f=this.props.photos,h=t-1,p=void 0,m=void 0;return"row"===c&&(p={display:"flex",flexWrap:"wrap",flexDirection:"row"},m=o({width:h,columns:d,margin:s,photos:f})),"column"===c&&(p={position:"relative"},m=a({width:h,columns:d,margin:s,photos:f}),p.height=m[m.length-1].containerHeight),l.a.createElement("div",{className:"react-photo-gallery--gallery"},l.a.createElement("div",{ref:function(t){return e._gallery=t},style:p},m.map(function(t,n){var i=t.left,o=t.top,a=(t.containerHeight,g(t,["left","top","containerHeight"]));return l.a.createElement(r,{key:t.key||t.src,margin:s,index:n,photo:a,direction:c,left:i,top:o,onClick:u?e.handleClick:null})})))}}]),t}(l.a.Component);T.propTypes={photos:c.a.arrayOf(E).isRequired,direction:c.a.string,onClick:c.a.func,columns:c.a.number,margin:c.a.number,ImageComponent:c.a.func},T.defaultProps={margin:2,direction:"row"},t.a=T},function(e,t,n){"use strict";(function(e){function n(e){return parseFloat(e)||0}function r(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return t.reduce(function(t,r){return t+n(e["border-"+r+"-width"])},0)}function i(e){for(var t=["top","right","bottom","left"],r={},i=0,o=t;i<o.length;i+=1){var a=o[i],s=e["padding-"+a];r[a]=n(s)}return r}function o(e){var t=e.getBBox();return c(0,0,t.width,t.height)}function a(e){var t=e.clientWidth,o=e.clientHeight;if(!t&&!o)return T;var a=E(e).getComputedStyle(e),l=i(a),u=l.left+l.right,d=l.top+l.bottom,f=n(a.width),h=n(a.height);if("border-box"===a.boxSizing&&(Math.round(f+u)!==t&&(f-=r(a,"left","right")+u),Math.round(h+d)!==o&&(h-=r(a,"top","bottom")+d)),!s(e)){var p=Math.round(f+u)-t,m=Math.round(h+d)-o;1!==Math.abs(p)&&(f-=p),1!==Math.abs(m)&&(h-=m)}return c(l.left,l.top,f,h)}function s(e){return e===E(e).document.documentElement}function l(e){return f?_(e)?o(e):a(e):T}function u(e){var t=e.x,n=e.y,r=e.width,i=e.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return w(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}function c(e,t,n,r){return{x:e,y:t,width:n,height:r}}var d=function(){function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return"undefined"!==typeof Map?Map:function(){function t(){this.__entries__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){var n=this;void 0===t&&(t=null);for(var r=0,i=n.__entries__;r<i.length;r+=1){var o=i[r];e.call(t,o[1],o[0])}},Object.defineProperties(t.prototype,n),t}()}(),f="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,h=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),p=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(h):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),m=2,g=function(e,t){function n(){o&&(o=!1,e()),a&&i()}function r(){p(n)}function i(){var e=Date.now();if(o){if(e-s<m)return;a=!0}else o=!0,a=!1,setTimeout(r,t);s=e}var o=!1,a=!1,s=0;return i},v=["top","right","bottom","left","width","height","size","weight"],y="undefined"!==typeof MutationObserver,b=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=g(this.refresh.bind(this),20)};b.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},b.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},b.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},b.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},b.prototype.connect_=function(){f&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),y?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},b.prototype.disconnect_=function(){f&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},b.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),v.some(function(e){return!!~t.indexOf(e)})&&this.refresh()},b.getInstance=function(){return this.instance_||(this.instance_=new b),this.instance_},b.instance_=null;var w=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n+=1){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},E=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||h},T=c(0,0,0,0),_=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof E(e).SVGGraphicsElement}:function(e){return e instanceof E(e).SVGElement&&"function"===typeof e.getBBox}}(),k=function(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=c(0,0,0,0),this.target=e};k.prototype.isActive=function(){var e=l(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},k.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var x=function(e,t){var n=u(t);w(this,{target:e,contentRect:n})},S=function(e,t,n){if(this.activeObservations_=[],this.observations_=new d,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n};S.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof E(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new k(e)),this.controller_.addObserver(this),this.controller_.refresh())}},S.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof E(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},S.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},S.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},S.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new x(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},S.prototype.clearActive=function(){this.activeObservations_.splice(0)},S.prototype.hasActive=function(){return this.activeObservations_.length>0};var C="undefined"!==typeof WeakMap?new WeakMap:new d,O=function(e){if(!(this instanceof O))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=b.getInstance(),n=new S(e,t,this);C.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){O.prototype[e]=function(){return(t=C.get(this))[e].apply(t,arguments);var t}});var A=function(){return"undefined"!==typeof h.ResizeObserver?h.ResizeObserver:O}();t.a=A}).call(t,n(18))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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)}function s(e){var t=e.srcSet||e.srcset;return Array.isArray(t)?t.join():t}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(2),c=r(u),d=n(1),f=r(d),h=n(259),p=n(816),m=r(p),g=n(41),v=r(g),y=n(266),b=r(y),w=n(825),E=r(w),T=n(826),_=r(T),k=n(827),x=r(k),S=n(828),C=r(S),O=n(830),A=r(O),P=n(838),I=r(P),R=n(839),N=r(R),M=n(840),D=r(M),L=n(58),j=r(L),W=function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.theme=(0,j.default)(v.default,e.theme),n.classes=h.StyleSheet.create((0,j.default)(B,n.theme)),n.state={imageLoaded:!1},N.default.call(n,["gotoNext","gotoPrev","closeBackdrop","handleKeyboardInput","handleImageLoaded"]),n}return a(t,e),l(t,[{key:"getChildContext",value:function(){return{theme:this.theme}}},{key:"componentDidMount",value:function(){this.props.isOpen&&(this.props.enableKeyboardInput&&window.addEventListener("keydown",this.handleKeyboardInput),"number"===typeof this.props.currentImage&&this.preloadImage(this.props.currentImage,this.handleImageLoaded))}},{key:"componentWillReceiveProps",value:function(e){if(D.default){if(e.preloadNextImage){var t=this.props.currentImage,n=e.currentImage+1,r=e.currentImage-1,i=void 0;t&&e.currentImage>t?i=n:t&&e.currentImage<t&&(i=r),i?this.preloadImage(i):(this.preloadImage(r),this.preloadImage(n))}if(this.props.currentImage!==e.currentImage||!this.props.isOpen&&e.isOpen){var o=this.preloadImageData(e.images[e.currentImage],this.handleImageLoaded);o&&this.setState({imageLoaded:o.complete})}!this.props.isOpen&&e.isOpen&&e.enableKeyboardInput&&window.addEventListener("keydown",this.handleKeyboardInput),!e.isOpen&&e.enableKeyboardInput&&window.removeEventListener("keydown",this.handleKeyboardInput)}}},{key:"componentWillUnmount",value:function(){this.props.enableKeyboardInput&&window.removeEventListener("keydown",this.handleKeyboardInput)}},{key:"preloadImage",value:function(e,t){return this.preloadImageData(this.props.images[e],t)}},{key:"preloadImageData",value:function(e,t){if(e){var n=new Image,r=s(e);return n.onerror=t,n.onload=t,n.src=e.src,r&&(n.srcset=r),n}}},{key:"gotoNext",value:function(e){var t=this.props,n=t.currentImage,r=t.images;this.state.imageLoaded&&n!==r.length-1&&(e&&(e.preventDefault(),e.stopPropagation()),this.props.onClickNext())}},{key:"gotoPrev",value:function(e){var t=this.props.currentImage;this.state.imageLoaded&&0!==t&&(e&&(e.preventDefault(),e.stopPropagation()),this.props.onClickPrev())}},{key:"closeBackdrop",value:function(e){"lightboxBackdrop"!==e.target.id&&"FIGURE"!==e.target.tagName||this.props.onClose()}},{key:"handleKeyboardInput",value:function(e){return 37===e.keyCode?(this.gotoPrev(e),!0):39===e.keyCode?(this.gotoNext(e),!0):27===e.keyCode&&(this.props.onClose(),!0)}},{key:"handleImageLoaded",value:function(){this.setState({imageLoaded:!0})}},{key:"renderArrowPrev",value:function(){return 0===this.props.currentImage?null:f.default.createElement(b.default,{direction:"left",icon:"arrowLeft",onClick:this.gotoPrev,title:this.props.leftArrowTitle,type:"button"})}},{key:"renderArrowNext",value:function(){return this.props.currentImage===this.props.images.length-1?null:f.default.createElement(b.default,{direction:"right",icon:"arrowRight",onClick:this.gotoNext,title:this.props.rightArrowTitle,type:"button"})}},{key:"renderDialog",value:function(){var e=this.props,t=e.backdropClosesModal,n=e.isOpen,r=e.showThumbnails,i=e.width,o=this.state.imageLoaded;if(!n)return f.default.createElement("span",{key:"closed"});var a=0;return r&&(a=this.theme.thumbnail.size+this.theme.container.gutter.vertical),f.default.createElement(E.default,{key:"open",onClick:t&&this.closeBackdrop,onTouchEnd:t&&this.closeBackdrop},f.default.createElement("div",null,f.default.createElement("div",{className:(0,h.css)(this.classes.content),style:{marginBottom:a,maxWidth:i}},o&&this.renderHeader(),this.renderImages(),this.renderSpinner(),o&&this.renderFooter()),o&&this.renderThumbnails(),o&&this.renderArrowPrev(),o&&this.renderArrowNext(),this.props.preventScroll&&f.default.createElement(m.default,null)))}},{key:"renderImages",value:function(){var e=this.props,t=e.currentImage,n=e.images,r=e.onClickImage,i=e.showThumbnails,o=this.state.imageLoaded;if(!n||!n.length)return null;var a=n[t],l=s(a),u=l?"100vw":null,c=i?this.theme.thumbnail.size:0,d=this.theme.header.height+this.theme.footer.height+c+this.theme.container.gutter.vertical+"px";return f.default.createElement("figure",{className:(0,h.css)(this.classes.figure)},f.default.createElement("img",{className:(0,h.css)(this.classes.image,o&&this.classes.imageLoaded),onClick:r,sizes:u,alt:a.alt,src:a.src,srcSet:l,style:{cursor:r?"pointer":"auto",maxHeight:"calc(100vh - "+d+")"}}))}},{key:"renderThumbnails",value:function(){var e=this.props,t=e.images,n=e.currentImage,r=e.onClickThumbnail,i=e.showThumbnails,o=e.thumbnailOffset;if(i)return f.default.createElement(C.default,{currentImage:n,images:t,offset:o,onClickThumbnail:r})}},{key:"renderHeader",value:function(){var e=this.props,t=e.closeButtonTitle,n=e.customControls,r=e.onClose,i=e.showCloseButton;return f.default.createElement(x.default,{customControls:n,onClose:r,showCloseButton:i,closeButtonTitle:t})}},{key:"renderFooter",value:function(){var e=this.props,t=e.currentImage,n=e.images,r=e.imageCountSeparator,i=e.showImageCount;return n&&n.length?f.default.createElement(_.default,{caption:n[t].caption,countCurrent:t+1,countSeparator:r,countTotal:n.length,showCount:i}):null}},{key:"renderSpinner",value:function(){var e=this.props,t=e.spinner,n=e.spinnerColor,r=e.spinnerSize,i=this.state.imageLoaded,o=t;return f.default.createElement("div",{className:(0,h.css)(this.classes.spinner,!i&&this.classes.spinnerActive)},f.default.createElement(o,{color:n,size:r}))}},{key:"render",value:function(){return f.default.createElement(A.default,null,this.renderDialog())}}]),t}(d.Component);W.propTypes={backdropClosesModal:c.default.bool,closeButtonTitle:c.default.string,currentImage:c.default.number,customControls:c.default.arrayOf(c.default.node),enableKeyboardInput:c.default.bool,imageCountSeparator:c.default.string,images:c.default.arrayOf(c.default.shape({src:c.default.string.isRequired,srcSet:c.default.oneOfType([c.default.string,c.default.arrayOf(c.default.string)]),caption:c.default.oneOfType([c.default.string,c.default.element]),thumbnail:c.default.string})).isRequired,isOpen:c.default.bool,leftArrowTitle:c.default.string,onClickImage:c.default.func,onClickNext:c.default.func,onClickPrev:c.default.func,onClose:c.default.func.isRequired,preloadNextImage:c.default.bool,preventScroll:c.default.bool,rightArrowTitle:c.default.string,showCloseButton:c.default.bool,showImageCount:c.default.bool,showThumbnails:c.default.bool,spinner:c.default.func,spinnerColor:c.default.string,spinnerSize:c.default.number,theme:c.default.object,thumbnailOffset:c.default.number,width:c.default.number},W.defaultProps={closeButtonTitle:"Close (Esc)",currentImage:0,enableKeyboardInput:!0,imageCountSeparator:" of ",leftArrowTitle:"Previous (Left arrow key)",onClickShowNextImage:!0,preloadNextImage:!0,preventScroll:!0,rightArrowTitle:"Next (Right arrow key)",showCloseButton:!0,showImageCount:!0,spinner:I.default,spinnerColor:"white",spinnerSize:100,theme:{},thumbnailOffset:2,width:1024},W.childContextTypes={theme:c.default.object.isRequired};var B={content:{position:"relative"},figure:{margin:0},image:{display:"block",height:"auto",margin:"0 auto",maxWidth:"100%",WebkitTouchCallout:"none",userSelect:"none",opacity:0,transition:"opacity 0.3s"},imageLoaded:{opacity:1},spinner:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",opacity:0,transition:"opacity 0.3s",pointerEvents:"none"},spinnerActive:{opacity:1}};t.default=W},function(e,t,n){"use strict";function r(){if(l.length)throw l.shift()}function i(e){var t;t=s.length?s.pop():new o,t.task=e,a(t)}function o(){this.task=null}var a=n(146),s=[],l=[],u=a.makeRequestCallFromTimer(r);e.exports=i,o.prototype.call=function(){try{this.task.call()}catch(e){i.onerror?i.onerror(e):(l.push(e),u())}finally{this.task=null,s[s.length]=this}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}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")}}(),i=n(803),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a=n(143),s=function e(t,n,r,i){var o=n.reduce(a.recursiveMerge),s={},l={},c={};return Object.keys(o).forEach(function(e){":"===e[0]?c[e]=o[e]:"@"===e[0]?l[e]=o[e]:s[e]=o[e]}),u(t,s,r,i)+Object.keys(c).map(function(e){return u(t+e,c[e],r,i)}).join("")+Object.keys(l).map(function(n){return n+"{"+e(t,[l[n]],r,i)+"}"}).join("")};t.generateCSS=s;var l=function(e,t){var n={};return Object.keys(e).forEach(function(r){t&&t.hasOwnProperty(r)?n[r]=t[r](e[r]):n[r]=e[r]}),n},u=function(e,t,n,i){var s=l(t,n),u=(0,o.default)(s),c=(0,a.flatten)((0,a.objectToPairs)(u).map(function(e){var t=r(e,2),n=t[0],i=t[1];if(Array.isArray(i)){var o=function(){var e=[],t=[];return i.forEach(function(n){0===n.indexOf("-")?e.push(n):t.push(n)}),e.sort(),t.sort(),{v:e.concat(t).map(function(e){return[n,e]})}}();if("object"===typeof o)return o.v}returnn,i})),d=c.map(function(e){var t=r(e,2),n=t[0],o=t[1],s=(0,a.stringifyValue)(n,o),l=(0,a.kebabifyStyleName)(n)+":"+s+";";return!1===i?l:(0,a.importantify)(l)}).join("");return d?e+"{"+d+"}":""};t.generateCSSRuleset=u},function(e,t,n){e.exports=n(804)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return Object.keys(e).forEach(function(t){var n=e[t];n instanceof Object&&!Array.isArray(n)?e[t]=i(n):Object.keys(s.default).forEach(function(r){s.default[r][t]&&(e[r+(0,u.default)(t)]=n)})}),Object.keys(e).forEach(function(t){[].concat(e[t]).forEach(function(n,r){P.forEach(function(r){return o(e,r(t,n))})})}),(0,d.default)(e)}function o(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];Object.keys(t).forEach(function(n){var r=e[n];Array.isArray(r)?[].concat(t[n]).forEach(function(t){var i=r.indexOf(t);i>-1&&e[n].splice(i,1),e[n].push(t)}):e[n]=t[n]})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n(261),s=r(a),l=n(262),u=r(l),c=n(805),d=r(c),f=n(807),h=r(f),p=n(808),m=r(p),g=n(809),v=r(g),y=n(810),b=r(y),w=n(811),E=r(w),T=n(812),_=r(T),k=n(813),x=r(k),S=n(814),C=r(S),O=n(815),A=r(O),P=[h.default,m.default,v.default,E.default,_.default,x.default,C.default,A.default,b.default];e.exports=t.default},function(e,t,n){"use strict";function r(e){return Object.keys(e).sort(function(e,t){return(0,o.default)(e)&&!(0,o.default)(t)?-1:!(0,o.default)(e)&&(0,o.default)(t)?1:0}).reduce(function(t,n){return t[n]=e[n],t},{})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(806),o=function(e){return e&&e.__esModule?e:{default:e}}(i);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!==e.match(/^(Webkit|Moz|O|ms)/)},e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("position"===e&&"sticky"===t)return{position:["-webkit-sticky","sticky"]}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if("string"===typeof t&&!(0,l.default)(t)&&t.indexOf("calc(")>-1)return(0,a.default)(e,t,function(e,t){return t.replace(/calc\(/g,e+"calc(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(91),a=r(o),s=n(144),l=r(s);e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("cursor"===e&&a[t])return(0,o.default)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(91),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0};e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("display"===e&&i[t])return{display:["-webkit-box","-moz-box","-ms-"+t+"box","-webkit-"+t,t]}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i={flex:!0,"inline-flex":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(a[e]&&s[t])return(0,o.default)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(91),o=function(e){return e&&e.__esModule?e:{default:e}}(i),a={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},s={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if("string"===typeof t&&!(0,l.default)(t)&&null!==t.match(u))return(0,a.default)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=n(91),a=r(o),s=n(144),l=r(s),u=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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("string"===typeof t&&m[e]){var n,r=a(t),o=r.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return null===e.match(/-moz-|-ms-/)}).join(",");return e.indexOf("Webkit")>-1?i({},e,o):(n={},i(n,"Webkit"+(0,c.default)(e),o),i(n,e,r),n)}}function a(e){if((0,f.default)(e))return e;var t=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g);return t.forEach(function(e,n){t[n]=Object.keys(p.default).reduce(function(t,n){var r="-"+n.toLowerCase()+"-";return Object.keys(p.default[n]).forEach(function(n){var i=(0,l.default)(n);e.indexOf(i)>-1&&"order"!==i&&(t=e.replace(i,r+i)+","+t)}),t},e)}),t.join(",")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var s=n(164),l=r(s),u=n(262),c=r(u),d=n(144),f=r(d),h=n(261),p=r(h),m={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0};e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(a[e])return r({},a[e],o[t]||t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end"},a={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msPreferredSize"};e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return"flexDirection"===e&&"string"===typeof t?{WebkitBoxOrient:t.indexOf("column")>-1?"vertical":"horizontal",WebkitBoxDirection:t.indexOf("reverse")>-1?"reverse":"normal"}:a[e]?r({},a[e],o[t]||t):void 0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},a={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(817);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(i).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),c=r(u),d=n(263),f=n(818),h=n(265),p=n(820),m=r(p),g=0,v=function(e){function t(){return i(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),l(t,[{key:"componentDidMount",value:function(){g++,d.canUseDOM&&(this.initialHeight=window.innerHeight)}},{key:"componentWillUnmount",value:function(){if(g=Math.max(g-1,0),d.canUseDOM){var e=window.innerHeight-this.initialHeight;e&&window.scrollTo(0,window.pageYOffset+e)}this.initialHeight=window.innerHeight}},{key:"render",value:function(){var e=this.props.accountForScrollbars,t=e&&g<1?{"padding-right":(0,h.getPadding)()+"px"}:{},n=(0,h.getDocumentHeight)()+"px";return c.default.createElement(f.SimpleToggle,{styles:s({"box-sizing":"border-box",overflow:"hidden",position:"relative",height:n},t)})}}]),t}(u.PureComponent);v.defaultProps={accountForScrollbars:!0},t.default=(0,m.default)(v)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(819);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(i).default}});var o=n(264);Object.defineProperty(t,"SimpleToggle",{enumerable:!0,get:function(){return r(o).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=r(o),s=n(264),l=r(s),u=function(e){var t=e.isActive,n=i(e,["isActive"]);return t?a.default.createElement(l.default,n):null};u.defaultProps=s.defaultProps,t.default=u},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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 function(t){function n(){var e,t,o,a;r(this,n);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return t=o=i(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(l))),o.listenerOptions={capture:!1,passive:!1},a=t,i(o,a)}return o(n,t),s(n,[{key:"componentDidMount",value:function(){if(c.canUseDOM){var e=this.props.touchScrollTarget,t=document.body;t&&(0,d.isTouchDevice)()&&(t.addEventListener("touchmove",d.preventTouchMove,this.listenerOptions),e&&(e.addEventListener("touchstart",d.preventInertiaScroll,this.listenerOptions),e.addEventListener("touchmove",d.allowTouchMove,this.listenerOptions)))}}},{key:"componentWillUnmount",value:function(){if(c.canUseDOM){var e=this.props.touchScrollTarget,t=document.body;t&&(0,d.isTouchDevice)()&&(t.removeEventListener("touchmove",d.preventTouchMove,this.listenerOptions),e&&(e.removeEventListener("touchstart",d.preventInertiaScroll,this.listenerOptions),e.removeEventListener("touchmove",d.allowTouchMove,this.listenerOptions)))}}},{key:"render",value:function(){return u.default.createElement(e,this.props)}}]),n}(l.PureComponent)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=a;var l=n(1),u=function(e){return e&&e.__esModule?e:{default:e}}(l),c=n(263),d=n(265)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(260),i=n(259),o=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.injectAndGetClassName)(!1,t)};t.StyleSheet=i.StyleSheet,t.StyleSheetServer=i.StyleSheetServer,t.StyleSheetTestUtils=i.StyleSheetTestUtils,t.css=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return'<svg fill="'+e+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 512 512" xml:space="preserve">\n\t\t<path d="M213.7,256L213.7,256L213.7,256L380.9,81.9c4.2-4.3,4.1-11.4-0.2-15.8l-29.9-30.6c-4.3-4.4-11.3-4.5-15.5-0.2L131.1,247.9 c-2.2,2.2-3.2,5.2-3,8.1c-0.1,3,0.9,5.9,3,8.1l204.2,212.7c4.2,4.3,11.2,4.2,15.5-0.2l29.9-30.6c4.3-4.4,4.4-11.5,0.2-15.8 L213.7,256z"/>\n\t</svg>'}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return'<svg fill="'+e+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 512 512" xml:space="preserve">\n\t\t<path d="M298.3,256L298.3,256L298.3,256L131.1,81.9c-4.2-4.3-4.1-11.4,0.2-15.8l29.9-30.6c4.3-4.4,11.3-4.5,15.5-0.2l204.2,212.7 c2.2,2.2,3.2,5.2,3,8.1c0.1,3-0.9,5.9-3,8.1L176.7,476.8c-4.2,4.3-11.2,4.2-15.5-0.2L131.3,446c-4.3-4.4-4.4-11.5-0.2-15.8 L298.3,256z"/>\n\t</svg>'}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return'<svg fill="'+e+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">\n\t\t<path d="M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4 L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1 c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1 c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z"/>\n\t</svg>'}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=t.theme,r=i(e,[]),o=d.StyleSheet.create((0,m.default)(g,n));return c.default.createElement("div",a({id:"lightboxBackdrop",className:(0,d.css)(o.container)},r))}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(2),l=r(s),u=n(1),c=r(u),d=n(42),f=n(41),h=r(f),p=n(58),m=r(p);o.contextTypes={theme:l.default.object.isRequired};var g={container:{alignItems:"center",backgroundColor:h.default.container.background,boxSizing:"border-box",display:"flex",height:"100%",justifyContent:"center",left:0,paddingBottom:h.default.container.gutter.vertical,paddingLeft:h.default.container.gutter.horizontal,paddingRight:h.default.container.gutter.horizontal,paddingTop:h.default.container.gutter.vertical,position:"fixed",top:0,width:"100%",zIndex:h.default.container.zIndex}};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=t.theme,r=e.caption,o=e.countCurrent,s=e.countSeparator,l=e.countTotal,u=e.showCount,f=i(e,["caption","countCurrent","countSeparator","countTotal","showCount"]);if(!r&&!u)return null;var h=d.StyleSheet.create((0,m.default)(g,n)),p=u?c.default.createElement("div",{className:(0,d.css)(h.footerCount)},o,s,l):c.default.createElement("span",null);return c.default.createElement("div",a({className:(0,d.css)(h.footer)},f),r?c.default.createElement("figcaption",{className:(0,d.css)(h.footerCaption)},r):c.default.createElement("span",null),p)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(2),l=r(s),u=n(1),c=r(u),d=n(42),f=n(41),h=r(f),p=n(58),m=r(p);o.propTypes={caption:l.default.oneOfType([l.default.string,l.default.element]),countCurrent:l.default.number,countSeparator:l.default.string,countTotal:l.default.number,showCount:l.default.bool},o.contextTypes={theme:l.default.object.isRequired};var g={footer:{boxSizing:"border-box",color:h.default.footer.color,cursor:"auto",display:"flex",justifyContent:"space-between",left:0,lineHeight:1.3,paddingBottom:h.default.footer.gutter.vertical,paddingLeft:h.default.footer.gutter.horizontal,paddingRight:h.default.footer.gutter.horizontal,paddingTop:h.default.footer.gutter.vertical},footerCount:{color:h.default.footer.count.color,fontSize:h.default.footer.count.fontSize,paddingLeft:"1em"},footerCaption:{flex:"1 1 0"}};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=t.theme,r=e.customControls,o=e.onClose,s=e.showCloseButton,l=e.closeButtonTitle,u=i(e,["customControls","onClose","showCloseButton","closeButtonTitle"]),f=d.StyleSheet.create((0,m.default)(y,n));return c.default.createElement("div",a({className:(0,d.css)(f.header)},u),r||c.default.createElement("span",null),!!s&&c.default.createElement("button",{title:l,className:(0,d.css)(f.close),onClick:o},c.default.createElement(v.default,{fill:!!n.close&&n.close.fill||h.default.close.fill,type:"close"})))}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(2),l=r(s),u=n(1),c=r(u),d=n(42),f=n(41),h=r(f),p=n(58),m=r(p),g=n(267),v=r(g);o.propTypes={customControls:l.default.array,onClose:l.default.func.isRequired,showCloseButton:l.default.bool},o.contextTypes={theme:l.default.object.isRequired};var y={header:{display:"flex",justifyContent:"space-between",height:h.default.header.height},close:{background:"none",border:"none",cursor:"pointer",outline:"none",position:"relative",top:0,verticalAlign:"bottom",zIndex:1,height:40,marginRight:-10,padding:10,width:40}};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(2),c=r(u),d=n(1),f=r(d),h=n(42),p=n(829),m=r(p),g=n(266),v=r(g),y=n(41),b=r(y),w=h.StyleSheet.create({paginatedThumbnails:{bottom:b.default.container.gutter.vertical,height:b.default.thumbnail.size,padding:"0 50px",position:"absolute",textAlign:"center",whiteSpace:"nowrap",left:"50%",transform:"translateX(-50%)"}}),E={height:b.default.thumbnail.size+2*b.default.thumbnail.gutter,width:40},T=function(e){function t(e){i(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={hasCustomPage:!1},n.gotoPrev=n.gotoPrev.bind(n),n.gotoNext=n.gotoNext.bind(n),n}return a(t,e),l(t,[{key:"componentWillReceiveProps",value:function(e){e.currentImage!==this.props.currentImage&&this.setState({hasCustomPage:!1})}},{key:"getFirst",value:function(){var e=this.props,t=e.currentImage,n=e.offset;return this.state.hasCustomPage?this.clampFirst(this.state.first):this.clampFirst(t-n)}},{key:"setFirst",value:function(e,t){var n=this.state.first;e&&(e.preventDefault(),e.stopPropagation()),n!==t&&this.setState({hasCustomPage:!0,first:t})}},{key:"gotoPrev",value:function(e){this.setFirst(e,this.getFirst()-this.props.offset)}},{key:"gotoNext",value:function(e){this.setFirst(e,this.getFirst()+this.props.offset)}},{key:"clampFirst",value:function(e){var t=this.props,n=t.images,r=t.offset,i=2*r+1;return e<0?0:e+i>n.length?n.length-i:e}},{key:"renderArrowPrev",value:function(){return this.getFirst()<=0?null:f.default.createElement(v.default,{direction:"left",size:"small",icon:"arrowLeft",onClick:this.gotoPrev,style:E,title:"Previous (Left arrow key)",type:"button"})}},{key:"renderArrowNext",value:function(){var e=this.props,t=e.offset,n=e.images,r=2*t+1;return this.getFirst()+r>=n.length?null:f.default.createElement(v.default,{direction:"right",size:"small",icon:"arrowRight",onClick:this.gotoNext,style:E,title:"Next (Right arrow key)",type:"button"})}},{key:"render",value:function(){var e=this.props,t=e.images,n=e.currentImage,r=e.onClickThumbnail,i=e.offset,o=2*i+1,a=[],l=0;return t.length<=o?a=t:(l=this.getFirst(),a=t.slice(l,l+o)),f.default.createElement("div",{className:(0,h.css)(w.paginatedThumbnails)},this.renderArrowPrev(),a.map(function(e,t){return f.default.createElement(m.default,s({key:l+t},e,{index:l+t,onClick:r,active:l+t===n}))}),this.renderArrowNext())}}]),t}(d.Component);t.default=T,T.propTypes={currentImage:c.default.number,images:c.default.array,offset:c.default.number,onClickThumbnail:c.default.func.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=e.index,r=e.src,i=e.thumbnail,o=e.active,a=e.onClick,s=t.theme,c=i||r,d=u.StyleSheet.create((0,h.default)(p,s));return l.default.createElement("div",{className:(0,u.css)(d.thumbnail,o&&d.thumbnail__active),onClick:function(e){e.preventDefault(),e.stopPropagation(),a(n)},style:{backgroundImage:'url("'+c+'")'}})}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),a=r(o),s=n(1),l=r(s),u=n(42),c=n(41),d=r(c),f=n(58),h=r(f);i.propTypes={active:a.default.bool,index:a.default.number,onClick:a.default.func.isRequired,src:a.default.string,thumbnail:a.default.string},i.contextTypes={theme:a.default.object.isRequired};var p={thumbnail:{backgroundPosition:"center",backgroundSize:"cover",borderRadius:2,boxShadow:"inset 0 0 0 1px hsla(0,0%,100%,.2)",cursor:"pointer",display:"inline-block",height:d.default.thumbnail.size,margin:d.default.thumbnail.gutter,overflow:"hidden",width:d.default.thumbnail.size},thumbnail__active:{boxShadow:"inset 0 0 0 2px "+d.default.thumbnail.activeBorderColor}};t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(2),u=r(l),c=n(1),d=r(c),f=n(831),h=n(15),p=n(837),m=r(p),g=function(e){function t(){i(this,t);var e=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.portalElement=null,e}return a(t,e),s(t,[{key:"componentDidMount",value:function(){var e=document.createElement("div");document.body.appendChild(e),this.portalElement=e,this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){(0,h.render)(d.default.createElement(m.default,{context:this.context},d.default.createElement("div",null,d.default.createElement("style",null,"\n\t\t\t\t.fade-enter { opacity: 0.01; }\n\t\t\t\t.fade-enter.fade-enter-active { opacity: 1; transition: opacity 200ms; }\n\t\t\t\t.fade-leave { opacity: 1; }\n\t\t\t\t.fade-leave.fade-leave-active { opacity: 0.01; transition: opacity 200ms; }\n\t\t"),d.default.createElement(f.TransitionGroup,this.props,d.default.createElement(f.CSSTransition,{timeout:{enter:200,exit:200},classNames:"fade"},this.props.children)))),this.portalElement)}},{key:"componentWillUnmount",value:function(){(0,h.unmountComponentAtNode)(this.portalElement),document.body.removeChild(this.portalElement)}},{key:"render",value:function(){return null}}]),t}(c.Component);t.default=g,g.contextTypes={theme:u.default.object.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(832),o=r(i),a=n(836),s=r(a),l=n(121),u=r(l),c=n(35),d=r(c);e.exports={Transition:d.default,TransitionGroup:u.default,ReplaceTransition:s.default,CSSTransition:o.default}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(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 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)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(65),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(l),c=n(833),d=r(c),f=n(835),h=r(f),p=n(1),m=r(p),g=n(35),v=r(g),y=n(182),b=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,d.default)(e,t)})},w=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,h.default)(e,t)})},E=(s({},v.default.propTypes,{classNames:y.classNamesShape,onEnter:u.func,onEntering:u.func,onEntered:u.func,onExit:u.func,onExiting:u.func,onExited:u.func}),function(e){function t(){var n,r,a;i(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=o(this,e.call.apply(e,[this].concat(l))),r.onEnter=function(e,t){var n=r.getClassNames(t?"appear":"enter"),i=n.className;r.removeClasses(e,"exit"),b(e,i),r.props.onEnter&&r.props.onEnter(e)},r.onEntering=function(e,t){var n=r.getClassNames(t?"appear":"enter"),i=n.activeClassName;r.reflowAndAddClass(e,i),r.props.onEntering&&r.props.onEntering(e)},r.onEntered=function(e,t){var n=r.getClassNames("enter"),i=n.doneClassName;r.removeClasses(e,t?"appear":"enter"),b(e,i),r.props.onEntered&&r.props.onEntered(e)},r.onExit=function(e){var t=r.getClassNames("exit"),n=t.className;r.removeClasses(e,"appear"),r.removeClasses(e,"enter"),b(e,n),r.props.onExit&&r.props.onExit(e)},r.onExiting=function(e){var t=r.getClassNames("exit"),n=t.activeClassName;r.reflowAndAddClass(e,n),r.props.onExiting&&r.props.onExiting(e)},r.onExited=function(e){var t=r.getClassNames("exit"),n=t.doneClassName;r.removeClasses(e,"exit"),b(e,n),r.props.onExited&&r.props.onExited(e)},r.getClassNames=function(e){var t=r.props.classNames,n="string"!==typeof t?t[e]:t+"-"+e;return{className:n,activeClassName:"string"!==typeof t?t[e+"Active"]:n+"-active",doneClassName:"string"!==typeof t?t[e+"Done"]:n+"-done"}},a=n,o(r,a)}return a(t,e),t.prototype.removeClasses=function(e,t){var n=this.getClassNames(t),r=n.className,i=n.activeClassName,o=n.doneClassName;r&&w(e,r),i&&w(e,i),o&&w(e,o)},t.prototype.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,b(e,t))},t.prototype.render=function(){var e=s({},this.props);return delete e.classNames,m.default.createElement(v.default,s({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(m.default.Component));E.propTypes={},t.default=E,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){e.classList?e.classList.add(t):(0,o.default)(e,t)||("string"===typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(834),o=function(e){return e&&e.__esModule?e:{default:e}}(i);e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"===typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(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)}t.__esModule=!0;var l=n(65),u=r(l),c=n(1),d=r(c),f=n(15),h=n(121),p=r(h),m=(u.default.bool.isRequired,function(e){function t(){var n,r,i;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=a(this,e.call.apply(e,[this].concat(l))),g.call(r),i=n,a(r,i)}return s(t,e),t.prototype.handleLifecycle=function(e,t,n){var r,i=this.props.children,o=d.default.Children.toArray(i)[t];o.props[e]&&(r=o.props)[e].apply(r,n),this.props[e]&&this.props[e]((0,f.findDOMNode)(this))},t.prototype.render=function(){var e=this.props,t=e.children,n=e.in,r=i(e,["children","in"]),o=d.default.Children.toArray(t),a=o[0],s=o[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,d.default.createElement(p.default,r,n?d.default.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):d.default.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(d.default.Component)),g=function(){var e=this;this.handleEnter=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEnter",0,n)},this.handleEntering=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEntering",0,n)},this.handleEntered=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEntered",0,n)},this.handleExit=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExit",1,n)},this.handleExiting=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExiting",1,n)},this.handleExited=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExited",1,n)}};m.propTypes={},t.default=m,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(2),l=function(e){return e&&e.__esModule?e:{default:e}}(s),u=n(1),c=function(e){function t(){return r(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),a(t,[{key:"getChildContext",value:function(){return this.props.context}},{key:"render",value:function(){return u.Children.only(this.props.children)}}]),t}(u.Component);c.propTypes={context:l.default.object.isRequired},c.childContextTypes={theme:l.default.object},t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=r(i),a=n(1),s=r(a),l=n(42),u=function(e){var t=l.StyleSheet.create(d(e));return s.default.createElement("div",{className:(0,l.css)(t.spinner)},s.default.createElement("div",{className:(0,l.css)(t.ripple)}))};u.propTypes={color:o.default.string,size:o.default.number};var c={"0%":{top:"50%",left:"50%",width:0,height:0,opacity:1},"100%":{top:0,left:0,width:"100%",height:"100%",opacity:0}},d=function(e){var t=e.color,n=e.size;return{spinner:{display:"inline-block",position:"relative",width:n,height:n},ripple:{position:"absolute",border:"4px solid "+t,opacity:1,borderRadius:"50%",animationName:c,animationDuration:"1s",animationTimingFunction:"cubic-bezier(0, 0.2, 0.8, 1)",animationIterationCount:"infinite"}}};t.default=u},function(e,t,n){"use strict";function r(e){var t=this;e.forEach(function(e){return t[e]=t[e].bind(t)})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=!("undefined"===typeof window||!window.document||!window.document.createElement)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){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 o(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)}n.d(t,"a",function(){return f});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(40)),c=n.n(u),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.updateDim=function(){(window.innerWidth<n.minminThres||window.innerWidth<=n.maxThres&&window.innerWidth>n.minThres)&&!n.state.smallerCardBody?n.setState({smallerCardBody:!0,cardBody:n.minBody}):window.innerWidth>=n.minminThres&&(window.innerWidth>n.maxThres||window.innerWidth<=n.minThres)&&n.state.smallerCardBody&&n.setState({smallerCardBody:!1,cardBody:n.maxBody})},n.hover=function(e){var t=n.state.hover;t[e]=!0,n.setState({hover:t})},n.removeHover=function(e){var t=n.state.hover;t[e]=!1,n.setState({hover:t})},n.setLoaded=function(e){if(!n.state.loaded[e]){var t=n.state.loaded;t[e]=!0,n.setState({loaded:t})}},n.state={hover:[],data:[],loaded:[],filterTo:"All",cardBody:80},window.addEventListener("resize",n.updateDim),n.maxThres=1400,n.minThres=768,n.minminThres=380,n.mainColor="#420dab",n.sections=["Diamond","Gold","Silver","Bronze"],n.minBody=70,n.maxBody=75,n}return o(t,e),d(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;this.setState({data:e.data}),e.data.forEach(function(e,n){var r=new Image;r.src=e.PICTURE,r.onload=function(){return t.setLoaded(n)}})}},{key:"componentWillMount",value:function(){var e=this;this.setState({data:this.props.data}),this.props.data.forEach(function(t,n){var r=new Image;r.src=t.PICTURE,r.onload=function(){return e.setLoaded(n)}}),window.innerWidth<this.minminThres||window.innerWidth<=this.maxThres&&window.innerWidth>this.minThres?this.setState({smallerCardBody:!0,cardBody:this.minBody}):window.innerWidth>=this.minminThres&&(window.innerWidth>this.maxThres||window.innerWidth<=this.minThres)&&this.setState({smallerCardBody:!1,cardBody:this.maxBody})}},{key:"render",value:function(){var e=this,t=this.state.data.sort(function(e,t){return e.NAME<t.NAME?-1:t.NAME<e.NAME?1:0});return s.a.createElement("div",null,s.a.createElement("div",{style:{margin:"auto",width:"90%",marginTop:20,textAlign:"center",fontSize:"24px"}},"We want to thank all of our sponsors for their support. Our project would not have been possible without them!"),this.sections.map(function(n,r){return s.a.createElement("div",{key:"sect"+r,style:{marginBottom:20,marginTop:20}},s.a.createElement("div",{style:{margin:"auto",width:"100%",textAlign:"center",fontSize:50}},n),s.a.createElement(l.Grid,{fluid:!0,style:{padding:0,margin:0}},s.a.createElement(l.Row,{style:{padding:0,margin:0},center:"xs"},t&&t.map(function(t,r){var i=void 0;switch(n){case"Diamond":i=t.FILTER&&-1===t.FILTER.indexOf("Diamond");break;case"Gold":i=t.FILTER&&-1===t.FILTER.indexOf("Gold");break;case"Silver":i=t.FILTER&&-1===t.FILTER.indexOf("Silver");break;case"Bronze":i=t.FILTER&&-1===t.FILTER.indexOf("Bronze");break;default:i=t.FILTER}if(i)return null;var o=t.XPOS?t.XPOS:50,a=t.YPOS?t.YPOS:20,u=t.CUSTSIZE?t.CUSTSIZE:100;return s.a.createElement(l.Col,{md:3,key:"subimg"+r,style:{textAlign:"center",margin:10,transition:"height 0.5s",maxWidth:380,minWidth:280}},s.a.createElement("a",{href:t.LINK?t.LINK:"#",target:"_blank"},s.a.createElement("div",{style:{width:"100%",maxWidth:380,minWidth:280,height:"auto",minHeight:380,backgroundColor:e.state.loaded[r]?"#f1f1f1":"white",margin:"auto",borderRadius:20,overflow:"hidden",cursor:""===t.BIO?"normal":"pointer",position:"relative",filter:t.FILTER&&-1!==t.FILTER.indexOf(e.state.filterTo)||"All"===e.state.filterTo?"":"blur(5px)",boxShadow:"5px 5px 5px #999999",transition:"filter 0.2s, background-color: 0.2s"},onMouseEnter:function(){return e.hover(r)},onMouseLeave:function(){return e.removeHover(r)}},s.a.createElement(c.a,{when:!0===e.state.loaded[r]},s.a.createElement("div",{style:{position:"absolute",width:"100%",top:0,left:0,height:e.state.cardBody+"%",backgroundColor:"white",background:"url("+t.PICTURE+") no-repeat "+o+"% "+a+"%",backgroundPositionY:"50%",backgroundSize:u+"%"}})),s.a.createElement("div",{style:{position:"absolute",width:"100%",bottom:0,left:0,height:100-e.state.cardBody+"%",backgroundColor:e.state.hover[r]?e.mainColor:"white",transition:"height 0.5s, background-color 0.5s, color 0.5s",color:e.state.hover[r]?"white":"black"}},s.a.createElement(c.a,{duration:500,clear:!0},s.a.createElement("div",{style:{position:"absolute",textAlign:"center",margin:"auto",left:0,right:0}},s.a.createElement("div",{style:{textTransform:"uppercase",marginTop:10,fontWeight:"bold",fontSize:20,letterSpacing:3,textOverflow:"ellipsis",overflow:"hidden"}},t.NAME),s.a.createElement("div",{style:{marginTop:10}},t.SUBTEXT)))))))}))))}))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return k});var a=n(1),s=n.n(a),l=n(197),u=n.n(l),c=n(199),d=n.n(c),f=n(198),h=n.n(f),p=n(19),m=n.n(p),g=n(221),v=n.n(g),y=n(87),b=n.n(y),w=n(89),E=n.n(w),T=n(843),_=(n.n(T),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),k=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=function(e,t){n.setState({value:t})},n.state={value:0,accObjs:[]},n}return o(t,e),_(t,[{key:"componentWillMount",value:function(){this.setState({accObjs:this.props.accObjs})}},{key:"componentWillReceiveProps",value:function(e){var t=e.accObjs;this.setState({accObjs:t})}},{key:"render",value:function(){var e=this.state.accObjs;return s.a.createElement("div",{style:{marginTop:20,marginBottom:20,marginLeft:"5%",marginRight:"5%"}},e.map(function(e,t){return s.a.createElement(u.a,{key:"acc-"+t},s.a.createElement(d.a,{expandIcon:s.a.createElement(v.a,null)},s.a.createElement(m.a,null,e.title)),s.a.createElement(h.a,{className:"accordionContent"},b()().use(E.a).processSync(e.data).contents))}))}}]),t}(a.Component)},function(e,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 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 o(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)}n.d(t,"a",function(){return p});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(87)),c=n.n(u),d=n(89),f=n.n(d),h=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={spObjs:[]},n}return o(t,e),h(t,[{key:"componentWillMount",value:function(){this.setState({spObjs:this.props.spObjs})}},{key:"componentWillReceiveProps",value:function(e){var t=e.spObjs;this.setState({spObjs:t})}},{key:"render",value:function(){var e=this.state.spObjs;return s.a.createElement("div",{style:{marginTop:20,marginBottom:20,marginLeft:"5%",marginRight:"5%"}},s.a.createElement(l.Grid,{fluid:!0},s.a.createElement(l.Row,null,e.map(function(e,t){var n=e.title.split(";"),r=n[0],i=n[1]?n[1]:50,o=n[2]?n[2]:50;return"IMAGE"===r?s.a.createElement(l.Col,{md:6,style:{textAlign:"center"},key:"split"+t},s.a.createElement("div",{style:{backgroundColor:"white",background:"url("+e.data.trim()+") "+i+"% "+o+"% no-repeat",backgroundSize:"cover",height:"100%",width:"80%",margin:"auto",boxShadow:"5px 5px 10px gray"}})):s.a.createElement(l.Col,{md:6,key:"split"+t},s.a.createElement("div",null,c()().use(f.a).processSync(e.data).contents))}))))}}]),t}(a.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 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 o(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)}n.d(t,"a",function(){return h});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(67)),c=n(86),d=n(846),f=(n.n(d),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),h=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={navParams:n.props.navParams},n.iconLeft=c.b,n.iconRight=c.c,n}return o(t,e),f(t,[{key:"componentWillMount",value:function(){this.setState({navParams:this.props.navParams})}},{key:"componentWillReceiveProps",value:function(e){var t=e.navParams;this.setState({navParams:t})}},{key:"render",value:function(){var e=this.state.navParams;return s.a.createElement("div",{style:{marginTop:30,marginBottom:30}},s.a.createElement(l.Grid,{fluid:!0},s.a.createElement(l.Row,{style:{width:"100%",fontSize:"24px"}},s.a.createElement(l.Col,{style:{width:"50%",textAlign:"left"}},e.LEFT&&e.LEFTNAME&&s.a.createElement("div",null,s.a.createElement("a",{href:e.LEFT,className:"navLinkA"},s.a.createElement(u.a,{icon:this.iconLeft,style:{marginRight:10}})," ",e.LEFTNAME))),s.a.createElement(l.Col,{style:{width:"50%",textAlign:"right"}},e.RIGHT&&e.RIGHTNAME&&s.a.createElement("div",null,s.a.createElement("a",{href:e.RIGHT,className:"navLinkA"},e.RIGHTNAME," ",s.a.createElement(u.a,{icon:this.iconRight,style:{marginLeft:10}})," "))))))}}]),t}(a.Component)},function(e,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 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 o(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)}n.d(t,"a",function(){return g});var a=n(1),s=n.n(a),l=n(32),u=(n.n(l),n(67)),c=n(227),d=n(86),f=n(848),h=n.n(f),p=n(849),m=(n.n(p),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),g=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.addHover=function(t){var n=e.state.hover;n[t]=!0,e.setState({hover:n})},e.removeHover=function(t){var n=e.state.hover;n[t]=!1,e.setState({hover:n})},e.updateDim=function(){window.innerWidth<=e.minWidth&&!e.state.minimized?e.setState({minimized:!0}):window.innerWidth>e.minWidth&&e.state.minimized&&e.setState({minimized:!1})},e.state={hover:[],minimized:window.innerWidth<=e.minWidth},e.minWidth=420,e.items=[{icon:c.a,link:"https://www.facebook.com/WashingtoniGEM/",alt:"Washington iGEM Facebook"},{icon:c.c,link:"https://www.instagram.com/washington_igem/",alt:"Washington iGEM Instagram"},{logo:{purple:"T--Washington--HLogo1.png"},link:"https://2018.igem.org/Team:Washington",alt:"Team Washington"},{icon:c.b,link:"https://github.com/uwigem",alt:"Washington iGEM Github"},{icon:d.e,link:"mailto:uwigem@uw.edu",alt:"Washington iGEM Email"}],e}return o(t,e),m(t,[{key:"componentWillMount",value:function(){window.addEventListener("resize",this.updateDim)}},{key:"render",value:function(){var e=this;return s.a.createElement("div",{style:{width:"100%",height:"30vh",backgroundColor:"black",textAlign:"center",fontSize:"default"}},s.a.createElement(l.Grid,{fluid:!0},s.a.createElement(l.Row,{center:"xs",middle:"xs",style:{height:"30vh"}},s.a.createElement(h.a,{clear:!0,cascade:!0,duration:1e3},this.items.map(function(t,n){return s.a.createElement(l.Col,{key:"footbar"+n},!t.logo&&s.a.createElement("a",{href:t.link,alt:t.alt},s.a.createElement(u.a,{icon:t.icon,size:e.state.minimized?"1x":"2x",className:"icon",style:{color:e.state.hover[n]?"#420dab":"white",margin:10},onMouseEnter:function(){e.addHover(n)},onMouseLeave:function(){e.removeHover(n)}})),t.logo&&s.a.createElement("a",{href:t.link,alt:t.alt},s.a.createElement("div",{style:{margin:10,position:"relative",width:e.state.minimized?40:80,zIndex:2},onMouseEnter:function(){e.addHover(n)},onMouseLeave:function(){e.removeHover(n)}},s.a.createElement("svg",{style:{position:"absolute",width:e.state.minimized?40:80,top:e.state.minimized?-25:-42,left:e.state.minimized?0:7,zIndex:2,fill:"#ffffff",stroke:"#ffffff"},id:"white",xmlns:"http://www.w3.org/2000/svg",viewBox:"-205 297 200 200"},s.a.createElement("polygon",{className:"white-1",points:"-127.9,356.01 -120.88,354.88 -153.03,330.65 -144.88,367.78"}),s.a.createElement("polygon",{className:"white-1",points:"-49.41,362.59 -115,303.92 -115.44,358.5 -126,360.61 -154.5,379.51 -166.44,407.03 -187.93,421.25 -195.11,427.34 -198.52,439 -189.37,445.82 -184.71,451.02 -175.2,456.76 -177,451.56 -170.37,450.3 -156.2,449.05 -149.56,444.05 -135.2,450.1 -141.84,470.55 -149,472.37 -144.15,478.28 -145.58,484.74 -130.16,485.1 -88.37,451.56 -78.86,454.97 -59.86,459.97 -43.54,479.16 -36.41,421.22 -33.55,393.86 -33.44,383.86"})),s.a.createElement("svg",{style:{position:"absolute",width:e.state.minimized?40:80,top:e.state.minimized?-25:-42,left:e.state.minimized?0:7,opacity:e.state.hover[n]?1:0,transition:"opacity 0.2s",zIndex:3},id:"purple",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},s.a.createElement("polygon",{className:"cls-1",points:"51.97 33.65 60.12 70.78 66.91 50.4 51.97 33.65"}),s.a.createElement("polygon",{className:"cls-2",points:"84.12 57.88 51.97 33.65 66.91 50.4 77.1 59.01 84.12 57.88"}),s.a.createElement("polygon",{className:"cls-3",points:"60.12 70.78 77.1 59.01 66.91 50.4 60.12 70.78"}),s.a.createElement("polygon",{className:"cls-4",points:"90.01 6.92 89.56 61.5 97.03 47.91 90.01 6.92"}),s.a.createElement("polygon",{className:"cls-5",points:"100.31 22.4 95.97 41.49 90.01 6.92 100.31 22.4"}),s.a.createElement("polygon",{className:"cls-2",points:"155.62 65.59 133.03 45.87 133.03 60.8 155.62 65.59"}),s.a.createElement("polygon",{className:"cls-2",points:"116.76 57.55 133.03 60.8 133.03 45.87 116.76 57.55"}),s.a.createElement("polygon",{className:"cls-3",points:"155.62 65.59 129.01 78.22 106.23 71.52 129.97 60.23 155.62 65.59"}),s.a.createElement("polygon",{className:"cls-2",points:"171.51 86.84 155.62 65.59 132.91 76.37 171.51 86.84"}),s.a.createElement("polygon",{className:"cls-2",points:"129.01 78.22 152.78 94.98 171.4 96.84 171.51 86.84 132.91 76.37 129.01 78.22"}),s.a.createElement("polygon",{className:"cls-6",points:"89.56 61.5 105.41 53.8 116.76 57.55 89.56 61.5"}),s.a.createElement("polygon",{className:"cls-3",points:"106.23 71.52 62.85 87.16 78.98 63.61 89.56 61.5 116.76 57.55 129.97 60.23 106.23 71.52"}),s.a.createElement("polygon",{className:"cls-3",points:"152.78 94.98 132.84 92.95 124.13 79.55 129.01 78.22 152.78 94.98"}),s.a.createElement("polygon",{className:"cls-2",points:"87.92 93.48 100.28 103.75 129.71 103.92 108.11 85.47 87.92 93.48"}),s.a.createElement("polygon",{className:"cls-2",points:"139.63 104.97 132.84 92.95 124.13 79.55 108.11 85.47 129.71 103.92 139.63 104.97"}),s.a.createElement("polygon",{className:"cls-1",points:"62.85 87.16 87.92 93.48 108.11 85.47 124.13 79.55 129.01 78.22 106.23 71.52 62.85 87.16"}),s.a.createElement("polygon",{className:"cls-1",points:"44.56 95.74 50.48 82.51 78.98 63.61 62.85 87.16 44.56 95.74"}),s.a.createElement("polygon",{className:"cls-7",points:"48.39 106.54 62.85 87.16 44.56 95.74 48.39 106.54"}),s.a.createElement("polygon",{className:"cls-3",points:"91.57 108.45 100.28 103.75 87.92 93.48 79.91 99.75 91.57 108.45"}),s.a.createElement("polygon",{className:"cls-3",points:"62.85 87.16 79.91 99.75 87.92 93.48 62.85 87.16"}),s.a.createElement("polygon",{className:"cls-2",points:"56.23 102.53 59.88 112.28 71.38 106.01 56.23 102.53"}),s.a.createElement("polygon",{className:"cls-8",points:"55.93 96.49 60.75 103.4 56.23 102.53 57.81 106.7 49.96 104.45 55.93 96.49"}),s.a.createElement("polygon",{className:"cls-4",points:"62.85 87.16 55.93 96.49 60.75 103.4 71.38 106.01 79.91 99.75 62.85 87.16"}),s.a.createElement("polygon",{className:"cls-9",points:"132.84 92.95 171.4 96.84 168.58 124.25 139.63 104.97 132.84 92.95"}),s.a.createElement("polygon",{className:"cls-2",points:"38.54 110.03 44.56 95.74 48.39 106.54 50.1 112.87 38.54 110.03"}),s.a.createElement("polygon",{className:"cls-10",points:"55.6 115.33 59.88 112.28 57.81 106.7 49.96 104.45 48.39 106.54 50.1 112.87 55.6 115.33"}),s.a.createElement("polygon",{className:"cls-11",points:"91.57 108.45 71.38 106.01 79.91 99.75 91.57 108.45"}),s.a.createElement("polygon",{className:"cls-11",points:"55.6 115.33 59.88 112.28 71.38 106.01 91.57 108.45 55.6 115.33"}),s.a.createElement("polygon",{className:"cls-10",points:"73.8 125.95 91.57 108.45 55.6 115.33 73.8 125.95"}),s.a.createElement("polygon",{className:"cls-11",points:"100.28 103.75 123.28 119.88 142.8 107.37 139.63 104.97 129.71 103.92 100.28 103.75"}),s.a.createElement("polygon",{className:"cls-10",points:"140.06 139.41 140.06 118.43 135.8 111.9 123.28 119.88 140.06 139.41"}),s.a.createElement("polygon",{className:"cls-12",points:"168.58 124.25 140.06 118.43 135.8 111.9 142.8 107.37 168.58 124.25"}),s.a.createElement("polygon",{className:"cls-13",points:"140.06 139.41 164.5 151.51 140.06 118.43 140.06 139.41"}),s.a.createElement("polygon",{className:"cls-9",points:"168.58 124.25 164.5 151.51 140.06 118.43 168.58 124.25"}),s.a.createElement("polygon",{className:"cls-13",points:"140.06 139.41 145.13 162.99 161.45 182.18 164.5 151.51 140.06 139.41"}),s.a.createElement("polygon",{className:"cls-12",points:"91.86 133.57 123.28 119.88 131.86 129.81 104.42 142.9 91.86 133.57"}),s.a.createElement("polygon",{className:"cls-11",points:"116.61 154.56 140.06 139.41 131.86 129.81 104.42 142.9 116.61 154.56"}),s.a.createElement("polygon",{className:"cls-14",points:"145.13 162.99 126.12 157.97 140.06 139.41 145.13 162.99"}),s.a.createElement("polygon",{className:"cls-14",points:"116.61 154.56 126.12 157.97 140.06 139.41 116.61 154.56"}),s.a.createElement("polygon",{className:"cls-3",points:"17.07 124.25 38.54 110.03 50.1 112.87 17.07 124.25"}),s.a.createElement("polygon",{className:"cls-10",points:"35.18 128.55 50.1 112.87 17.07 124.25 23.88 128.37 35.18 128.55"}),s.a.createElement("polygon",{className:"cls-15",points:"73.8 125.95 55.6 115.33 50.1 112.87 38.59 124.96 73.8 125.95"}),s.a.createElement("polygon",{className:"cls-9",points:"23.88 128.37 22.27 136.62 36.98 141.64 73.8 125.95 38.59 124.96 35.18 128.55 23.88 128.37"}),s.a.createElement("polygon",{className:"cls-7",points:"17.07 124.25 9.89 130.34 22.27 136.62 23.88 128.37 17.07 124.25"}),s.a.createElement("polygon",{className:"cls-3",points:"6.48 142 22.27 136.62 9.89 130.34 6.48 142"}),s.a.createElement("polygon",{className:"cls-2",points:"15.63 148.82 22.27 136.62 6.48 142 15.63 148.82"}),s.a.createElement("polygon",{className:"cls-11",points:"36.98 141.64 34.64 153.3 28.01 154.56 29.8 159.76 20.3 154.02 15.63 148.82 22.27 136.62 36.98 141.64"}),s.a.createElement("polygon",{className:"cls-9",points:"100.28 103.75 91.57 108.45 83.25 116.53 99.75 122.27 123.28 119.88 100.28 103.75"}),s.a.createElement("polygon",{className:"cls-9",points:"73.8 125.95 91.86 133.57 123.28 119.88 99.75 122.27 83.25 116.53 73.8 125.95"}),s.a.createElement("polygon",{className:"cls-16",points:"82.53 155.46 104.42 142.9 116.61 154.56 82.53 155.46"}),s.a.createElement("polygon",{className:"cls-11",points:"92.94 173.21 116.61 154.56 82.53 155.46 74.28 169.8 92.94 173.21"}),s.a.createElement("polygon",{className:"cls-17",points:"74.82 188.1 92.94 173.21 74.28 169.8 69.98 178.41 74.82 188.1"}),s.a.createElement("polygon",{className:"cls-9",points:"59.4 187.74 69.98 178.41 74.82 188.1 59.4 187.74"}),s.a.createElement("polygon",{className:"cls-3",points:"82.53 155.46 69.8 153.12 63.16 173.57 60.83 181.28 59.4 187.74 69.98 178.41 74.28 169.8 82.53 155.46"}),s.a.createElement("polygon",{className:"cls-14",points:"55.45 147.03 69.8 153.12 82.53 155.46 81.08 145.18 55.45 147.03"}),s.a.createElement("polygon",{className:"cls-18",points:"36.98 141.64 51.32 135.37 68.85 146.06 55.45 147.03 48.81 152.05 34.64 153.3 36.98 141.64"}),s.a.createElement("polygon",{className:"cls-2",points:"56.23 102.53 59.88 112.28 71.38 106.01 56.23 102.53"}),s.a.createElement("polygon",{className:"cls-2",points:"116.05 30.25 90.01 6.92 100.31 22.4 116.05 30.25"}),s.a.createElement("polygon",{className:"cls-1",points:"100.31 22.4 110.79 34.64 116.05 30.25 100.31 22.4"}),s.a.createElement("polygon",{className:"cls-11",points:"89.56 61.5 105.41 53.8 97.03 47.91 89.56 61.5"}),s.a.createElement("polygon",{className:"cls-19",points:"110.79 34.64 97.03 47.91 105.41 53.8 116.76 57.55 110.79 34.64"}),s.a.createElement("polygon",{className:"cls-20",points:"100.31 22.4 95.97 41.49 97.03 47.91 110.79 34.64 100.31 22.4"}),s.a.createElement("polygon",{className:"cls-2",points:"133.03 45.87 116.05 30.25 110.79 34.64 116.76 57.55 133.03 45.87"}),s.a.createElement("polygon",{className:"cls-14",points:"104.42 142.9 81.08 145.18 82.53 155.46 104.42 142.9"}),s.a.createElement("polygon",{className:"cls-10",points:"73.8 125.95 51.32 135.37 68.85 146.06 81.08 145.18 104.42 142.9 91.86 133.57 73.8 125.95"}),s.a.createElement("polygon",{className:"cls-10",points:"55.98 175.37 63.16 173.57 60.83 181.28 55.98 175.37"}),s.a.createElement("polygon",{className:"cls-1",points:"87.92 93.48 108.11 85.47 129.71 103.92 100.28 103.75 87.92 93.48"})))))})))))}}]),t}(a.Component)},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){var n=t.left,r=t.right,i=t.up,o=t.down,a=t.top,s=t.bottom,l=t.mirror,c=t.opposite,f=(n?1:0)|(r?2:0)|(a||o?4:0)|(s||i?8:0)|(l?16:0)|(c?32:0)|(e?64:0);if(d.hasOwnProperty(f))return d[f];if(!l!=!(e&&c)){var h=[r,n,s,a,o,i];n=h[0],r=h[1],a=h[2],s=h[3],i=h[4],o=h[5]}var p=n||r,m=a||s||i||o,g=p||m,v=void 0,y=void 0,b=void 0,w=void 0,E=void 0;return g?e?(y=p?(n?"":"-")+"42px":"0",b=m?(o||a?"-":"")+"60px":"0",w=p?(r?"":"-")+"2000px":"0",E=m?(i||s?"":"-")+"2000px":"0",v="40% {\n opacity: 1;\n transform: scale3d(.475, .475, .475) translate3d("+y+", "+b+", 0);\n }\n to {\n opacity: 0;\n transform: scale(.1) translate3d("+w+", "+E+", 0);\n transform-origin: "+(m?"center bottom":(n?"left":"right")+" center")+";\n }"):(y=p?(n?"-":"")+"1000px":"0",b=m?(o||a?"-":"")+"1000px":"0",w=p?(r?"-":"")+"10px":"0",E=m?(i||s?"-":"")+"60px":"0",v="from {\n opacity: 0;\n transform: scale3d(.1, .1, .1) translate3d("+y+", "+b+", 0);\n animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);\n }\n 60% {\n opacity: 1;\n transform: scale3d(.475, .475, .475) translate3d("+w+", "+E+", 0);\n animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);\n }"):v=(e?"to":"from")+" {opacity: 0; transform: scale3d(.1, .1, .1);} "+(e?"from":"to")+" { opacity: 1; transform: none;}",d[f]=(0,u.animation)(v),d[f]}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.defaults,t=e.children,n=(e.out,e.forever),o=e.timeout,a=e.duration,s=void 0===a?u.defaults.duration:a,c=e.delay,d=void 0===c?u.defaults.delay:c,f=e.count,h=void 0===f?u.defaults.count:f,p=r(e,["children","out","forever","timeout","duration","delay","count"]),m={make:i,duration:void 0===o?s:o,delay:d,forever:n,count:h,style:{animationFillMode:"both"},reverse:p.left};return(0,l.default)(p,m,m,t)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),s=n(225),l=function(e){return e&&e.__esModule?e:{default:e}}(s),u=n(135),c={out:a.bool,left:a.bool,right:a.bool,top:a.bool,bottom:a.bool,mirror:a.bool,opposite:a.bool,duration:a.number,timeout:a.number,delay:a.number,count:a.number,forever:a.bool},d={};o.propTypes=c,t.default=o,e.exports=t.default},function(e,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")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){r(this,e)}return i(e,[{key:"getNavbarData",value:function(){return l}},{key:"getDisplayConstants",value:function(e){if(a.globalColor)return a;var t=this.getNavbarDataTitleFromLink(e);if(""===t)return a;var n=a.pageSpecificColors[t];return n||a}},{key:"getNavbarDataTitleFromLink",value:function(e){var t="";return l.forEach(function(n){(n.links.indexOf(e)>-1||n.names.indexOf(e.split("/")[1])>-1)&&(t=n.title)}),t}},{key:"getLogo",value:function(){return a.logo}},{key:"getButtonHeight",value:function(){return a.buttonHeight}},{key:"getContentData",value:function(){return u}},{key:"getImgsToPrefetch",value:function(){return s}}]),e}();t.a=o;var a={primaryColor:"#420DAB",secondaryColor:"#6308b2",globalColor:!1,pageSpecificColors:{Home:{primaryColor:"#FFFFFF",secondaryColor:"#FFFF00"},Project:{primaryColor:"#FF0000",secondaryColor:"#00FF00"}},logo:"T--Washington--WLogo.png",buttonHeight:"16px"},s=["T--Washington--HLogo1.png","T--Washington--AerilynnTeam.jpg","T--Washington--AlanPic.jpg","T--Washington--AnastasiaTeam.jpg","T--Washington--AndrewTeam.jpg","T--Washington--AngelTeam.jpg","T--Washington--CharlieTeam.jpg","T--Washington--ChemayTeam.jpg","T--Washington--DallasTeam.jpg","T--Washington--SauroTeam.jpg","T--Washington--GuTeam.jpg","T--Washington--TPhotoDreycey.jpg","T--Washington--GraceTeam.jpg","T--Washington--HannahTeam.jpg","T--Washington--IshiraTeam.jpg","T--Washington--JayTeam.jpg","T--Washington--JoshuaTeam.jpg","T--Washington--KarlTeam.jpg","T--Washington--KrithiTeam.jpg","T--Washington--RenaldoTeam.jpg","T--Washington--SairandriTeam.jpg","T--Washington--SeaEunTeam.jpg","T--Washington--VeraTeam.jpg","T--Washington--WilliamTeam.jpg","T--Washington--YoshiTeam.jpg","T--Washington--RehaanTeam.jpg","T--Washington--AimeeTeam.jpg","T--Washington--EdTeam.jpg","T--Washington--JoanneTeam.jpg","T--Washington--KatekaTeam.jpg","T--Washington--ShubTeam.jpg","T--Washington--biochemlogo.png","T--Washington--Genscriptlogo.png","T--Washington--IDTlogo.png","T--Washington--CSElogo.png","T--Washington--Zuliplogo.png","T--Washington--bioinfologo.png","T--Washington--BioElogo.png","T--Washington--IPDlogo.png","T--Washington--PvPlogo.png","T--Washington--biologo.png","T--Washington--appliedmathlogo.png","T--Washington--chemlogo.png","T--Washington--NEBlogo.png","T--Washington--microbiologo.png","T--Washington--msebiologo.png"],l=[{title:"Home",names:["Home","UW 2017","UW 2016","UW 2015","UW 2014","UW 2013","UW 2012","UW 2011","UW 2010","UW 2009","UW 2008"],links:["https://2018.igem.org/Team:Washington","https://2017.igem.org/Team:Washington","https://2016.igem.org/Team:Washington","https://2015.igem.org/Team:Washington","https://2014.igem.org/Team:Washington","https://2013.igem.org/Team:Washington","https://2012.igem.org/Team:Washington","https://2011.igem.org/Team:Washington","https://2010.igem.org/Team:Washington","https://2009.igem.org/Team:Washington","https://2008.igem.org/Team:Washington"]},{title:"Project",names:["Project Description","Design","Experiments","Notebook","InterLab","Model","Results","Parts","Hardware"],links:["/Description","/Design","/Experiments","/Notebook","/InterLab","/Model","/Results","/Parts","/Hardware"]},{title:"Human Practices",names:["Human Practices","Integrated HP","Collaborations","Education & Engagement","Entrepreneurship","HP Design","Team Development"],links:["/Human_Practices","/Integrated_Human_Practices","/Collaborations","/Public_Engagement","/Entrepreneurship","/HP_Design","/Team_Development"]},{title:"Safety",names:["Safety"],links:["/Safety"]},{title:"People",names:["Team","Attributions","Sponsors","Gallery"],links:["/Team","/Attributions","/Sponsors","/Gallery"]},{title:"Judging",names:["Medal Requirements"],links:["/Medal_Requirements"]}],u=[{content:[{data:"HEADER\nTEXT=LOREM IPSUM\nSUBTITLE=lorem ipsum my duders\nBACKGROUND=https://static.igem.org/mediawiki/2018/1/1f/T--Washington--LabBG.jpg\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\noverview\nOverviewA",type:"SPECIAL"},{data:"ACCORDION\n===\nTITLE OF ACCORDION 1\n![image alt text goes here](https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg)\n\n\ndescription lorem ipsum blah blah\n===\nTITLE OF ACCORDION 2\n![image alt text goes here](https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg)\n\n\ndescription lorem ipsum blah blah",type:"SPECIAL"},{data:"VIDEO\ntest",type:"SPECIAL"},{data:"SPLITVIEW\n===\nIMAGE;25;50\nhttps://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg\n===\nCONTENT;TEST=123123;TEST2=ABCB\nrest of content goes here\n\na\n\na\n\na\n\na\n\na\n\na\na\n\na\na\n\na\n\na\n\na\n\na\na\n\na\na\n\na\n\na\n\na\n\na\na\n\na\na\n\na\n\na\n\na\n\na\na\n\na",type:"SPECIAL"},{data:"```javascript\nfunction() {\n test.test;\n}\n```",type:"MARKDOWN"},{data:".footnote[.red.bold[*] Important footnote]",type:"MARKDOWN"},{data:"dc",type:"MARKDOWN"},{data:"Insert text",type:"MARKDOWN"},{data:"# Overview\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam consectetur fermentum tortor vitae cursus. Ut convallis ultricies quam, non viverra orci auctor non. In auctor gravida interdum. Pellentesque nec ligula vehicula, porttitor tellus eu, iaculis dolor. Morbi eget faucibus sapien. Donec pretium pellentesque tempus. Aliquam ut ipsum feugiat, dapibus nibh ac, mattis est. Suspendisse a convallis ipsum. Vestibulum erat sem, aliquam mattis lorem id, ornare euismod magna.\n\nDuis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus. Etiam eget tellus dictum enim ultrices gravida eget in ex. Etiam viverra nulla vel varius malesuada. Mauris iaculis lobortis diam, sed eleifend orci vulputate aliquet. Aliquam scelerisque tempus nisl. Integer pharetra, nisl quis feugiat scelerisque, ex justo pretium purus, rhoncus aliquet diam sem eu ligula. Aenean eu turpis vitae neque molestie ornare ac in sem. Nam vitae malesuada velit. Quisque eget bibendum mi. Fusce vitae aliquam eros. Curabitur sodales nibh vitae euismod scelerisque.\n\nAenean at urna vel justo eleifend tempor. Suspendisse rutrum ut odio a condimentum. Nullam vel ex tempus, efficitur justo malesuada, maximus nisl. Donec tincidunt eros et auctor rhoncus. Aliquam erat volutpat. Maecenas eget tempor dolor. Fusce varius quam id nisl scelerisque, eget lobortis enim ornare. Vestibulum ex nisi, convallis et augue sed, dictum ultricies magna. Aliquam erat volutpat. Proin tincidunt tortor sit amet bibendum tincidunt. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Aliquam faucibus lectus vitae augue volutpat, vel lacinia nisi aliquet.\n\nVestibulum quis purus vulputate, imperdiet mauris in, congue mi. Sed varius sapien quis rhoncus ultrices. Donec nec molestie libero. Praesent fringilla sagittis arcu, non hendrerit sem iaculis et. Ut hendrerit accumsan ex, ac euismod enim maximus vitae. Vivamus vel dui arcu. Maecenas id felis eget enim tincidunt scelerisque. Nam non pulvinar nisl. Morbi urna libero, elementum eu aliquet non, pellentesque semper nunc. Vestibulum eros nunc, dapibus vel mi eget, scelerisque vehicula augue. Cras at nisi at elit gravida malesuada. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.\n\nVivamus facilisis justo nisl, eget commodo neque aliquam eu. Morbi ut tempus metus. In sodales commodo tortor, eu finibus odio hendrerit vel. Phasellus aliquet auctor sodales. Etiam vitae justo blandit, pulvinar massa id, vulputate nulla. Donec gravida aliquam purus, ac dapibus leo mollis ut. Pellentesque tempus, augue a efficitur vehicula, libero augue vehicula nibh, vitae posuere magna mi at nunc. Donec varius augue vitae tortor ultricies, nec pellentesque odio condimentum. Cras scelerisque viverra tempus. Donec in arcu a urna eleifend eleifend vitae ac arcu. Proin sed pretium magna.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nsection-1\nVery long section title. Lorem ipsum dolor sit amet, consectetur",type:"SPECIAL"},{data:"# sect 1\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam consectetur fermentum tortor vitae cursus. Ut convallis ultricies quam, non viverra orci auctor non. In auctor gravida interdum. Pellentesque nec ligula vehicula, porttitor tellus eu, iaculis dolor. Morbi eget faucibus sapien. Donec pretium pellentesque tempus. Aliquam ut ipsum feugiat, dapibus nibh ac, mattis est. Suspendisse a convallis ipsum. Vestibulum erat sem, aliquam mattis lorem id, ornare euismod magna.\n\nDuis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus. Etiam eget tellus dictum enim ultrices gravida eget in ex. Etiam viverra nulla vel varius malesuada. Mauris iaculis lobortis diam, sed eleifend orci vulputate aliquet. Aliquam scelerisque tempus nisl. Integer pharetra, nisl quis feugiat scelerisque, ex justo pretium purus, rhoncus aliquet diam sem eu ligula. Aenean eu turpis vitae neque molestie ornare ac in sem. Nam vitae malesuada velit. Quisque eget bibendum mi. Fusce vitae aliquam eros. Curabitur sodales nibh vitae euismod scelerisque.\n\nAenean at urna vel justo eleifend tempor. Suspendisse rutrum ut odio a condimentum. Nullam vel ex tempus, efficitur justo malesuada, maximus nisl. Donec tincidunt eros et auctor rhoncus. Aliquam erat volutpat. Maecenas eget tempor dolor. Fusce varius quam id nisl scelerisque, eget lobortis enim ornare. Vestibulum ex nisi, convallis et augue sed, dictum ultricies magna. Aliquam erat volutpat. Proin tincidunt tortor sit amet bibendum tincidunt. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Aliquam faucibus lectus vitae augue volutpat, vel lacinia nisi aliquet.\n\nVestibulum quis purus vulputate, imperdiet mauris in, congue mi. Sed varius sapien quis rhoncus ultrices. Donec nec molestie libero. Praesent fringilla sagittis arcu, non hendrerit sem iaculis et. Ut hendrerit accumsan ex, ac euismod enim maximus vitae. Vivamus vel dui arcu. Maecenas id felis eget enim tincidunt scelerisque. Nam non pulvinar nisl. Morbi urna libero, elementum eu aliquet non, pellentesque semper nunc. Vestibulum eros nunc, dapibus vel mi eget, scelerisque vehicula augue. Cras at nisi at elit gravida malesuada. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.\n\nVivamus facilisis justo nisl, eget commodo neque aliquam eu. Morbi ut tempus metus. In sodales commodo tortor, eu finibus odio hendrerit vel. Phasellus aliquet auctor sodales. Etiam vitae justo blandit, pulvinar massa id, vulputate nulla. Donec gravida aliquam purus, ac dapibus leo mollis ut. Pellentesque tempus, augue a efficitur vehicula, libero augue vehicula nibh, vitae posuere magna mi at nunc. Donec varius augue vitae tortor ultricies, nec pellentesque odio condimentum. Cras scelerisque viverra tempus. Donec in arcu a urna eleifend eleifend vitae ac arcu. Proin sed pretium magna.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nDESCRIPTION=Lorem ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg;XPOS=25;YPOS=25;LINK=http://google.com\nDESCRIPTION=Lorem2 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg\nDESCRIPTION=Lorem3 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=placeholder-image-300x225.jpg",type:"SPECIAL"},{data:"SUBIMAGES\nMAXIMAGESPERROW=6\nDESCRIPTION=Lorem ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg;XPOS=25;YPOS=25;LINK=http://google.com\nDESCRIPTION=Lorem2 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg\nDESCRIPTION=Lorem3 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=http://www.independentmediators.co.uk/wp-content/uploads/2016/02/placeholder-image-300x225.jpg\nDESCRIPTION=Lorem2 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg\nDESCRIPTION=Lorem2 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=https://static.igem.org/mediawiki/2017/f/f6/T--Washington--DesignEnclosure.jpg\nDESCRIPTION=Lorem2 ipsum duis laoreet magna at vehicula luctus. Quisque congue purus maximus eros egestas posuere. In eu felis sed sem aliquam dignissim sed vitae risus.;PICTURE=T--Washington--DesignEnclosure.jpg",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/4/4d/T--Washington--TestImage.png,testimage,margin:auto,width:100%",type:"IMAGE"},{data:"TAB\n===\nTITLE OF TAB 1\n# markdown content begins here\n\nasdf\n\nasdf\n\nasdf\n===\nTITLE OF TAB 2\n# markdown content begins here 2\n\nasdf\nasdf\nasdf\nasdf\nasd\nf",type:"SPECIAL"},{data:"This is a test list\n\n* a 123 lorem ipsum\n* b 123 lorem ipsum\n* c 123 lorem ipsum",type:"MARKDOWN"},{data:"SECTION\nsection-2\n2 title!",type:"SPECIAL"},{data:"# sect 2\n\nThis is a ttest testtest test setset est se tse tes tes tset se tse t\n\n1. abc\n2. 123\n3. res",type:"MARKDOWN"},{data:'\n| **Data Type** | **Example** | **Description** |\n|------------------|------------------------------------|--------------------------------------------------------|\n| integer (number) | ```test\\n test test ``` | Number that does not have a decimal point |\n| float (number) | `1.0, 3.1415` | Number with a decimal point |\n| string | `"Hello", \'hello\', "123", "%+1+2"` | Characters surrounded by quotes (\'single\' or "double") |\n| boolean | `True, False` | Truth values (can only be True or False) |',type:"MARKDOWN"},{data:"```javascript\nfunction a(a,b) {\n console.log(a+b);\n}\n```",type:"MARKDOWN"},{data:"https://images.pexels.com/photos/104827/cat-pet-animal-domestic-104827.jpeg,test,width:100px,margin:auto,border:2px solid red,borderRadius:20,margin:auto,marginTop: 20",type:"IMAGE"},{data:"\n\n\nasdfasdfa\nasdf\nasdf\nasdf\nsadf\nsaf\ndsaf\na\nasdfasdfa\nasdf\nasdf\nasdf\nsadf\nsaf\ndsaf\na\n\nasdfasdfa\nasdf\nasdf\nasdf\nsadf\nsaf\ndsaf\na\n\n\nasdfasdfa\nasdf\nasdf\nasdf\nsadf\nsaf\ndsaf\na\n\n\nasdfasdfa\nasdf\nasdf\nasdf\nsadf\nsaf\ndsaf\na\n",type:"MARKDOWN"},{data:"SECTION\nsection-4\ntest2",type:"SPECIAL"},{data:"a\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\na\n \na\n\na\n\n",type:"MARKDOWN"},{data:"NAVIGATION\nLEFT=aaa;LEFTNAME=Entrepreneurship;RIGHT=ccc;RIGHTNAME=Team Development",type:"SPECIAL"}],isContent:!0,pageTitle:"/ContentTest"},{content:[{data:"HOMEPAGE\nBACKGROUND=https://static.igem.org/mediawiki/2018/5/58/T--Washington--MB.jpg\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=70\nTITLEHEIGHT=12\nSUBTITLEHEIGHT=7\nTITLE=Stronger Together\nSUBTITLE=An efficient, generalizable approach to design biosensors for small molecules\nBUTTONTEXT=Overview\nCONTENTTITLE=Washington iGEM 2018 Project Abstract\nCONTENTSUBTITLE=Chemically Induced Dimerization of Nanobodies for the Development of Versatile Biosensors\nCONTENT=One of the pressing challenges of modern science is the detection of small molecule targets. This has applications in a variety of fields, such as point-of-care diagnostics and metabolic engineering. Although most small molecules can be detected through Enzyme-Linked Immunosorbent Assay (ELISA), accessibility is limited by the time-consuming nature of the procedure. We hope to use a chemically induced dimerization system of nanobodies to detect small molecule targets and apply this system to the development of simple diagnostic assays, such as lateral flow assays or fluorescent microarrays, and innovations in metabolic engineering.;Nanobodies are antibody fragments from single domain antibodies found in camelids and sharks. They are the variable regions of antibodies that are responsible for specific binding to target molecules. Researchers in the Institute for Protein Design (IPD) at the University of Washington have created extensive libraries of phages displaying nanobodies for high throughput screening of binding targets, making them a versatile tool for molecule detection. We have partnered with Dr. Liangcai Gu from the IPD to investigate novel applications of a high-throughput nanobody library numbering ten billion unique types. In our project, we will identify specific nanobodies that bind to desired target molecules of high importance and demonstrate the application of nanobody technology to the development of a biosensor.;Traditionally, monoclonal antibodies have been used to detect specific molecules and used in products such as ELISA kits. However, one significant barrier to developing new monoclonal antibodies is that they require introduction of an antigen to an animal before large scale production can begin. We are bypassing this expensive and time-consuming step and the associated ethical concerns by screening through a pre-existing library of nanobodies to rapidly identify those that can bind desired target molecules with high specificity.;Our team will be screening our nanobody library against two chosen molecules to find binding nanobodies. Then, we will screen the library for secondary nanobodies that bind to the primary nanobody-antigen complex, thus forming a dimer. After identifying these nanobodies, these nanobodies can be fused to other proteins to form biosensors. Specifically, we intend to repurpose activating and DNA binding domain proteins used in yeast 2-hybrid systems to create a transcriptional biosensor.",type:"SPECIAL"}],pageTitle:"/TempMain"},{content:[{data:"HOMEPAGE\nBACKGROUND=https://static.igem.org/mediawiki/2018/f/f8/T--Washington--PhotoCollage.jpg\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=30\nTITLEHEIGHT=9\nSUBTITLEHEIGHT=5\nTITLE=STRONGER TOGETHER\nSUBTITLE=An efficient, generalizable approach to design biosensors for small molecules\nBUTTONTEXT=Overview\nCONTENTTITLE=Washington iGEM 2018 Project Abstract\nCONTENTSUBTITLE=Chemically Induced Dimerization of Nanobodies for the Development of Versatile Biosensors\nCONTENT=Chemically induced dimerization (CID), in which two proteins dimerize only in the presence of a small molecule, has been widely used to control cell signaling, regulatory, and metabolic pathways, and used as logic gates for biological computation in living mammalian cells. However, few naturally occuring CID systems and their derivatives are currently available. Creating a CID system with desired affinity and specificity for any given small molecule remains an unsolved problem for computational design and other protein engineering approaches. To address this challenge, we have used a novel strategy to select CID binders from a vastly diverse combinatorial nanobody library. We have created new CID systems that can sense cholecalciferol and artemisinin. We are validating CID biosensors by a yeast three-hybrid system and built structural models to understand the small molecule-induced dimerization. Our work is a proof-of-concept that can be generalized to create CID systems for many applications.",type:"SPECIAL"}],pageTitle:""},{content:[{data:"HEADER\nTEXT=INTERLAB\nBACKGROUND=https://static.igem.org/mediawiki/2018/1/1f/T--Washington--LabBG.jpg\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"# Overview\n\nSince 2014, the iGEM Measuring Committee has been dedicated to developing a robust and repeatable measurement procedure for Green Fluorescent Protein (GFP). To do so, iGEM has held the Interlab Study for several years, utilizing the international reach of the competition to test their procedures and collect data. We are proud to have participated in this study so that this ongoing effort can come closer to developing a universal way to measure GFP regardless of machinery and resources.\n\nThe main protocol for the 2018 Interlab Study was provided by iGEM headquarters and can be found [here](https://2018.igem.org/Measurement/InterLab/Plate_Reader).\n\nWe followed the Plate Reader and CFU protocol with the tools provided by iGEM.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nexperience\nExperience",type:"SPECIAL"},{data:"# Experience\nThe protocol was simple to follow. We made a few adjustments to the protocol due to limitations on supplies:\n\n1. Use of clear plates instead of black bottom plates\n1. Use of 15 mL conical tubes covered in foil instead of 50 mL conical tubes\n\nWe also ran into some issues with growing up the cultures as our incubator/shaker could only hold the conical tubes upright instead of slanted, which may have affected how well they were able to grow. Overall, the protocols were not too challenging, and it gave us an opportunity to work heavily with plate readers and learn how to set up the readings in various ways.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncalibration1\nCalibration 1",type:"SPECIAL"},{data:"# Calibration 1: OD\u2086\u2080\u2080 Reference Point using LUDOX\n\nLUDOX Reference Point\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/b/bd/T--Washington--1aa.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"LUDOX CL-X was used as a point reference to turn ABS\u2086\u2080\u2080 measurements into OD\u2086\u2080\u2080 measurements. LUDOX solution was used due to its low absorbance value. This calibration was necessary because plate reader measurements of absorbance are volume dependent as the depth of the fluid in the well changes path length of light passing through the sample. \n\nOur results over four replicates were extremely close which showed consistency in pipetting and machine reading. Calibration 1 was repeated three times in order to check for consistency.\nOur OD\u2086\u2080\u2080/Abs\u2086\u2080\u2080 correction factor turned out to 3.247. For all cell density readings using this instrument with the same settings and volume, we converted to OD\u2086\u2080\u2080 by multiplying by 3.247.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncalibration2\nCalibration 2",type:"SPECIAL"},{data:"# Calibration 2: Microspheres\n\nThe point of using monodisperse silica microspheres was that their size and optical characteristics are similar to cells and we know the exact number of spheres we have. This allows us to use a standard curve of particle concentration, which we can use to convert to ABS\u2086\u2080\u2080 measurements for the estimated number of cells.\n\nSpecs used:\n* 530 nm emission\n* 485 nm excitation\n\nMicrosphere Absorbance in Serial Dilutions Raw Data",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/2e/T--Washington--2aa.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Particle Standard Curve",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/0/0f/T--Washington--3aa.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Particle Standard Curve on a Log Scale",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/7/72/T--Washington--4aa.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Particles / OD",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/d/d8/T--Washington--5aa.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"The data was consistent over four replicates, suggesting that the readings were done quickly enough before the microspheres settled to the bottom of the well, as they will settle after a short period of time. We thought an automix feature on the machine would help mix the beads better, but the results turned out to be worse and had clumps of beads at the bottom. To counter this problem, we pipetted up and down four times in a circle around the well, ending with the more concentrated wells. After checking that there was no bead pellet, we received the expected results. We know that this is expected because each well\u2019s total number of particles should have been half of the previous well\u2019s value, as the concentration was cut in half for each well. The particle standard curve on the log scale, although supposed to be 1:1, turned out to be an exponential curve. We suspect that this may be due to a machine error. Throughout six trials, with the technique of pipetting up and down three times, the log curve was still a straight line.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncalibration3\nCalibration 3",type:"SPECIAL"},{data:"# Calibration 3: Fluorescein standard curve\n\nThe data was consistent over four replicates, showing that there was no error in pipetting or diluting. A fluorescein experiment was used as the third calibration to create a standard curve - this was done so that any difference in how plate readers reported fluorescence could be compared between different teams\u2019 data, regardless of the brand of the plate reader used. This will be used to convert the cell-based readings to an equivalent concentration\n\n* 530 nm emission\n* 485 nm excitation\n\nFluorescein Raw Data",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/f0/T--Washington--6.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/a/ac/T--Washington--7.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/7/79/T--Washington--8.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Fluorescein / a.u.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/e/ef/T--Washington--9.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Colony Raw Plate Readings",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/d/dc/T--Washington--10.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/6/66/T--Washington--11.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Fluorescence per OD Experimental Values\n\nThe Unit Scaling Factors determined by the calibration is\n\nOD\u2086\u2080\u2080/Abs\u2086\u2080\u2080 = 3.25\n\n\u03bcM Fluorescein/a.u. = 4.49E-4\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/8/8e/T--Washington--12.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/9/9e/T--Washington--13.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/a/aa/T--Washington--14.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Fluorescence per Particle Experimental Values\n\nUnit Scaling Factors determined by the calibration is:\n\nParticles/Abs\u2086\u2080\u2080 = 2.52E8\n\nMEFL/a.u = 2.71E9\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/9/91/T--Washington--15.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/2/22/T--Washington--16.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/f/f1/T--Washington--17.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Plate Culture Count and CFU Values",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/f7/T--Washington--18.png,,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"}],isContent:!0,pageTitle:"/InterLab"},{content:[{data:"HEADER\nTEXT=CraftY GirlZ\nBACKGROUND=https://static.igem.org/mediawiki/2018/1/1f/T--Washington--LabBG.jpg\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"CRAFTY\nCRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ CRAFTY GIRLZ ",type:"SPECIAL"}],pageTitle:"/CraftyGirlz"},{content:[{data:"HEADER\nTEXT=Team\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nBLUR=3\nMINPADDINGTOP=120",type:"SPECIAL"},{data:"TEAM\nNAME=Anastasia Nicolov; ROLE=Adviser; PICTURE=T--Washington--AnastasiaTeam.jpg; LINKEDIN=https://www.linkedin.com/in/anastasianicolov/; FILTER=Adviser; BIO=A Seattle native, Anastasia graduated from UW in 2017 with a B.S. in Bioengineering and currently works at Just Biotherapeutics as a bioreactor scientist. As a 5-year iGEM veteran, she acts as adviser to both the Washington and iTesla-SoundBio teams, and was a main organizer of the first-ever Pacific Northwest iGEM Meetup this year.\nNAME=William Kwok; ROLE=Drylab Lead Engineer, Wiki Developer; PICTURE=https://static.igem.org/mediawiki/2018/0/0c/T--Washington--WilliamTeam.jpg;GITHUB=https://github.com/kwokwilliam; LINKEDIN=https://linkedin.com/in/william-w-kwok/; PERSONAL=https://williamk.info; FILTER=Drylab,Leadership; BIO=Coming from tropical Hawaii, William is a current junior obtaining a BS in Informatics. His focus on the team was to organize the hardware and software teams and programming the Wiki. He currently is a teaching assistant for Client Side Development and works under Dr. Andy Ko in the Code and Cognition Lab. In his spare time, he enjoys playing video games with his friends and programming side projects.\nNAME=Kara de Leon; ROLE=Wetlab, Outreach; PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75; LINKEDIN=https://www.linkedin.com/in/karadeleon; FILTER=Wetlab, Outreach; BIO= Kara a third-year undergraduate bioengineering student. Driven by care and curiosity, she is passionate in her pursuit of gaining experience in different areas of Bioengineering and promoting diversity and STEM education. She is thrilled that iGEM allows her to do both alongside her hilarious and intelligent teammates in Wetlab and Outreach!\nNAME=Krithi Basu;ROLE=Director of Internal Affairs, Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/b/b2/T--Washington--KrithiTeam.jpg;LINKEDIN=https://www.linkedin.com/in/krithi-basu/;FILTER=Wetlab, Leadership;BIO=Krithi is currently a junior majoring in Bioengineering and minoring in Law, Societies and Justice. This year, her main role as Director of Internal Affairs was to be the communication hub and interface between team members and leadership. She enjoys researching viral immunology, listening to music, talking about social issues, and watching horror movies.\nNAME=Andrew Hu; ROLE=Operational Administrative Lead; PICTURE=T--Washington--AndrewTeam.jpg; GITHUB=https://github.com/andrewhu-uw; LINKEDIN=https://www.linkedin.com/in/andrew-hu/; FILTER=Drylab, Leadership; BIO=Andrew is a third-year Computer Science & Education double major. He led the curriculum team in creating a seminar to help team members prepare for the summer, and serves as an admin lead with Angel Wong.\nNAME=Angie Dang; ROLE=Wetlab, Design; PICTURE=T--Washington--AngiePhoto.jpg; FILTER=Design, Wetlab; BIO=Born and raised in Washington, Angie is finishing her fourth year at UW - aiming for a B.A. in Biochemistry. Her role in iGEM was primarily working in lab and illustrating for design projects, such as the Synthetic Biology Activity Booklet. When she's off the clock, Angie is usually catching up on sleep.\nNAME=Joanne Wong; ROLE=Wetlab, Outreach; PICTURE=T--Washington--JoanneTeam.jpg; LINKEDIN=https://www.linkedin.com/in/joanneytwong/; FILTER=Wetlab, Outreach; BIO=All the way from Hong Kong, Joanne is currently a junior pursuing Chemical Engineering. Hoping to go into the field of research, she joined iGEM to get a taste of that! Other than that, she loves thinking about food during every waking moment.\nNAME=Chemay Shola;ROLE=Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/5/5d/T--Washington--ChemayTeam.jpg;LINKEDIN=https://www.linkedin.com/in/chemayshola/;FILTER=Wetlab;BIO=Born and raised in southern Washington, Chemay is a current sophomore in the Department of Bioengineering. His focus on the team was to conduct wetlab experiments. In his spare time, he enjoys running, reading, and meditating.\nNAME=Charlie Fisher; ROLE=Wetlab, Design, Presenter; PICTURE=T--Washington--CharlieTeam.jpg; LINKEDIN=https://www.linkedin.com/in/charlie-fisher-028689167/; FILTER=Wetlab, Design, Presenters; BIO=Charlie is a third-year undergraduate student, majoring in electrical engineering. Her passion for physiology drew her to iGEM but the complexity of organisms made her stay. She loves the uncertainty of wetlab experiments and the creative possibilities in design. Catch her on hikes, at coffee shops, or in Boston as one of Washington iGEM\u2019s presenters!\nNAME=Sea-Eun Lee; ROLE=Drylab; PICTURE=T--Washington--SeaEunTeam.jpg; GITHUB=https://github.com/uwigem/Chromastat18/tree/seaeun/src/chromastat18; LINKEDIN= https://www.linkedin.com/in/seaeunlee/; FILTER=Drylab; BIO=Sea-Eun is a current sophomore, pursuing a BS in Computer Science. Her focus was improving the functionality and efficiency of the Chromastat with a small group of individuals. In her spare time, she likes to spend time with her family and friends and work out.\nNAME=Aimee Ellis;ROLE=Wetlab, Outreach, Collaborations;PICTURE=https://static.igem.org/mediawiki/2018/1/1a/T--Washington--AimeeTeam.jpg;FILTER=Wetlab, Outreach, Collaborations;BIO=Born in Minnesota and mostly raised in Washington, Aimee is currently a sophomore at the University of Washington intending to major in Biochemistry and Molecular Biology. Her role in iGEM is primarily working in lab and designing lessons for the Synthetic Biology Activity Booklet. In her free time, Aimee enjoys working out, teaching people how to swim, and singing along to current hits on the radio.\nNAME=Sairandri Sathyanarayanan; ROLE=Business, Outreach; PICTURE=T--Washington--SairandriTeam.jpg; FILTER=Business, Outreach; BIO=Sairandri Sathyanarayanan is a sophomore majoring in Molecular, Cellular and Developmental Biology. She is primarily involved with the business and outreach teams in iGEM. When she isn't working, she enjoys advocating for mental health, singing and reading.\nNAME=Dallas Warren;ROLE=Simulations, Outreach;PICTURE=https://static.igem.org/mediawiki/2018/5/50/T--Washington--DallasTeam.jpg;LINKEDIN=https://linkedin.com/in/dallaswarren/;FILTER=Drylab, Outreach; BIO=Dallas is a Washington local and rising senior majoring in Electrical Engineering. As a member of the team he helped develop outreach curriculum and created mathematical models using Tellurium. In his free time he enjoys listening to music.\nNAME=Aerilynn Nguyen; ROLE=Wetlab, Outreach; PICTURE=T--Washington--AerilynnTeam.jpg; FILTER=Wetlab, Outreach; BIO=Aerilynn is a senior studying molecular biology. When she isn't in lab, she's helping to organize and volunteer at outreach events with the hopes of making others just as excited about synthetic biology as she is. Aerilynn draws a lot of her inspiration and passion for synthetic biology from the fictional universe of Star Trek. When she's not watching Star Trek, she's working out, playing video games, or hanging out with her dogs.\nNAME=Karl Anderson; ROLE=Project Lead; PICTURE=https://static.igem.org/mediawiki/2018/e/e7/T--Washington--KarlTeam.jpg;LINKEDIN=https://www.linkedin.com/in/karlbanderson/; FILTER=Wetlab, Leadership; BIO=Karl is a junior studying Biochemistry and Molecular Biology. He has been responsible for overseeing the design and execution of this year\u2019s project as well as managing the wetlab team. He spends a lot of time working in lab, but he also finds days to hike and sail in the Pacific Northwest.\nNAME=Yoshi Goto; ROLE=Adviser, Fundraising Manager; PICTURE=T--Washington--YoshiTeam.jpg; GITHUB=https://github.com/Yoshi8765; LINKEDIN=https://www.linkedin.com/in/yoshigoto/; FILTER=Adviser, Drylab; BIO=Yoshi has been involved in iGEM since his sophomore year at the University of Washington. Now three years later, he's still involved in iGEM.\\n Yoshi graduated from the University of Washington with a B.S. in Bioengineering and a minor in Applied Mathematics, specializing in Synthetic and Systems Biology. He now works at SoundBio Lab, Seattle's DIY Biohackerspace. He credits iGEM with that academic and career decision. He also worked at the Sauro lab at UW in the Center for Reproducible Biological Models. He started the simulations team in Team Washington. After being the Admin lead last year, he has now handed off the baton to others and is focusing on Funding for the team. He can't believe how far the team has gotten. He also is an adviser for the iTESLA-SoundBio team, also based in Seattle.\nNAME=Grace Soah-Yeon Kim;ROLE=Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/1/1d/T--Washington--GraceTeam.jpg;LINKEDIN=https://linkedin.com/in/grace-s-kim/;FILTER=Wetlab;BIO=Born and raised in the Greater Seattle Area, Grace is currently a sophomore majoring in Bioengineering. She joined iGEM to explore synthetic biology, learn wetlab techniques, and meet new people. Outside of iGEM, she enjoys researching about immunotherapy and food science, volunteering, hanging out with friends, having movie nights, and trying new food.\nNAME=Joshua Ip; ROLE=Simulations, Presenter; PICTURE=T--Washington--JoshuaTeam.jpg; GITHUB=https://github.com/joshuaipwork/; LINKEDIN=https://www.linkedin.com/in/joshua-i-877706128/; FILTER=Drylab, Presenters; BIO= Hailing from Pflugerville, Texas, Joshua is a Bioengineering sophomore intending to join a Bioengineering startup when he graduates. When not studying in the library, he can be found in the Comotion Makerspace working with the 3d printers, laser cutters, and CNC milling machines.\nNAME=Renaldo Sutanto;ROLE=Treasurer, Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/c/ca/T--Washington--RenaldoTeam.jpg;FILTER=Leadership, Wetlab;BIO=Renaldo is a senior studying Molecular, Cellular, and Developmental Biology and Biochemistry, and minoring in Chemistry and Quantitative Science. His role in iGEM was primarily organizing all the budget that iGEM received from various departments and companies. Outside of iGEM, he either does his own research about parasite, Giardia lamblia, or hanging out with friends.\nNAME=AJ Kruse; ROLE=Business, Fundraising, Adviser; PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75; GITHUB=https://github.com/aj1118; LINKEDIN=https://www.linkedin.com/in/ajkruse/; FILTER=Business, Fundraising, Adviser; BIO=Studying Bioengineering and Neurobiology, AJ is a junior passionate about harnessing synthetic biology to improve medicine. She also loves entrepreneurship and networking, and can make a mean sales pitch--skills she applied to her work with the business and fundraising teams.\nNAME=Leo Yeh; ROLE=Business; PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75; LINKEDIN=https://www.linkedin.com/in/feng-yu-y-27142a155/; FILTER=Business; BIO=Leo is a third year undergraduate student majoring in Molecular, Cellular and Developmental Biology. He is primarily involved in the business team in iGEM. He enjoys playing baseball and is a huge New York Yankees fan.\nNAME=Jay Yung;ROLE=Collaborations Lead, Wetlab, Design;PICTURE=https://static.igem.org/mediawiki/2018/e/e6/T--Washington--JayTeam.jpg;LINKEDIN=https://www.linkedin.com/in/jay-yung-b56101170/;FILTER=Wetlab, Collaborations, Leadership, Design;BIO=Originally from California, Jay is currently a sophomore at the UW planning to major in Plant Biology. His focuses on the team are wetlab, graphic design, and coordinating collaboration efforts between our team and others. Aside from research, he enjoys looking at plants, dancing, playing music, and sleeping more than he should.\nNAME=Janae Chan;ROLE=Drylab;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;LINKEDIN=https://www.linkedin.com/in/janaechan;FILTER=Drylab;BIO=Janae is a fourth year bioengineering and computer science student. She is passionate about advancing medicine through technology, and works on designing point-of-care diagnostic systems. On the rare occasion she is not in lab or studying, she enjoys hiking and going on food excursions.\nNAME=Dreycey Albin;ROLE=Drylab Adviser;PICTURE=https://static.igem.org/mediawiki/2018/d/de/T--Washington--TPhotoDreycey.jpg;GITHUB=https://github.com/Dreycey;LINKEDIN=https://www.linkedin.com/in/dreycey/;FILTER=Drylab, Advisers;BIO=Dreycey Albin is a current first year PhD student studying synthetic biology at Rice University. During his time advising for the Washington iGEM team, he was an NIH-funded post-baccalaureate working on using computational and experimental methods for the elucidation of RNA structures in the lab of Dr. Gabriele Varani. Dreycey helped co-teach a UW-affiliated iGEM course focused on simulations in biology, ODEs for modeling biology, while also helping with basic advising. As for his PhD, he is interested in combining hardware (including basic robotics, microcomputers, and microfluidics) with research in synthetic biology. \nNAME=Ed van Bruggen; ROLE=Simulations, Collaborations, Outreach; PICTURE=T--Washington--EdTeam.jpg; GITHUB=https://github.com/edvb; FILTER=Drylab, Outreach, Collaborations; BIO=Originally from the bay area, Ed is now a sophomore at UW pursuing a major in physics. He was a lead for the Drylab's Simulations team, in which he created computer models of protein folding using Rosetta. When he's not up all night programming you can find him playing music, cooking, or reading.\nNAME=Ishira Parikh; ROLE=Outreach Lead, Wetlab, Design;PICTURE=T--Washington--IshiraTeam.jpg; FILTER=Outreach, Wetlab, Leadership, Design; BIO= A Washington native, Ishira is a second year undergraduate student hoping to major in neurobiology. This year, Ishira led the outreach team by organizing outreach events and headed the development of the Synthetic Biology Activity Booklet. She was also the main organizer of Washington iGEM\u2019s first-ever synthetic biology panel event and a member of wetlab. Outside of iGEM, Ishira can be found making art, researching the neural mechanisms of breathing, or catching up on sleep.\nNAME=Frances Ingram-Bate; ROLE=Simulations; PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75; LINKEDIN= https://www.linkedin.com/in/frances-ibe/; FILTER=Drylab; BIO=A Washington native, Frances is a current junior pursuing a B.S. in Bioengineering. As a member of the simulations team, she contributed to mathematical modeling of chemical reaction networks using Tellurium. Outside of iGEM, Frances enjoys working as a math tutor, being involved with undergraduate research, listening to music, and going to improv shows.\nNAME=Angel Wong;ROLE=Project Administrative Lead;LINKEDIN=https://www.linkedin.com/in/angeltanwong/;PICTURE=https://static.igem.org/mediawiki/2018/a/ac/T--Washington--AngelTeam.jpg;FILTER=Wetlab, Leadership;BIO=Born and raised in sunny Southern California, Angel is currently a junior at UW earning a double degree in Bioengineering and Biochemistry with a minor in Dance. She has been involved in iGEM since her freshman year and served as a presenter for Team Washington at the 2017 Giant Jamboree. This year, Angel helped teach the course to prepare members for summer work and serves as an administrative lead along with Andrew Hu.\\nWhen she is not studying, sleeping, or surfing the iGEM website for the seventh time in the same day to make sure she hasn't missed a deadline, Angel enjoys ballet dancing, stargazing, doing jigsaw puzzles, and chasing pigeons.\nNAME=Hannah Redden; ROLE=Design Lead, Simulations; PICTURE=T--Washington--HannahTeam.jpg; LINKEDIN=https://www.linkedin.com/in/hannah-redden-262b8a127/; FILTER=Design, Leadership, Drylab; BIO=Hannah is a junior double-majoring in Biochemistry and Bioengineering with a minor in Classical Studies. This year, Hannah developed a design team to explore interactions with art and science and to see how to improve scientific communication using visual methods. She enjoys traveling, reading, swimming, and trying out random craft projects as hobbies.\nNAME=Rehaan Bhimani;ROLE=Business Team Lead, Drylab;PICTURE=https://static.igem.org/mediawiki/2018/b/b1/T--Washington--RehaanTeam.jpg;GITHUB=https://github.com/bhimar;LINKEDIN=https://www.linkedin.com/in/rehaanbhimani;FILTER=Drylab, Leadership, Business;BIO=Rehaan is a sophomore hoping to double major in Computer Science and Applied Math. He leads Washington iGEM's business team and is also an engineer on the software team. When he isn't in class or writing code for his research, he loves to read, play guitar, and get those Fortnite victory royales.\nNAME=Richmon Lin;ROLE=Drylab;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;GITHUB=https://github.com/RichmonLin;LINKEDIN=https://www.linkedin.com/in/RichmonLin/;FILTER=Drylab;BIO=Richmon is a current sophomore in the Bioengineering department. He works on the hardware subteam and is interested in designing biomedical diagnostic tools. Outside of class he loves to snowboard and play video games.\nNAME=Nicholas Righi;ROLE=Drylab;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Drylab;BIO=Nicholas is a Bioengineering sophomore who focused on creating an open source test tube rotator for the Wetlab team. In his free time Nicholas enjoys weightlifting, spending time with friends, and playing Magic the Gathering.\nNAME=Alan Cabrera;ROLE=Wetlab Adviser;PICTURE=https://static.igem.org/mediawiki/2018/2/2f/T--Washington--AlanPic.jpg;LINKEDIN=https://www.linkedin.com/in/alan-cabrera-241532113;FILTER=Wetlab, Advisers;YPOS=0;BIO=Alan Cabrera was an adviser for the team. He helped during the project planning phase. Using his experimental experience, he stressed the importance of planning, research, and identifying support in project development. Alan is a synthetic biologist with training in the Seelig lab at UW. His hobbies include, competing in collegiate bike racing and roasting coffee. Alan graduated with his Bachelor's in Bioengineering this year, and has started the PhD program in the Bioengineering department at Rice University. He plans to get involved with iGEM at Rice next year. \nNAME=Dr. Herbert Sauro;ROLE=University of Washington Department of Bioengineering;PICTURE=https://static.igem.org/mediawiki/2018/9/99/T--Washington--SauroTeam.jpg;CUSTSIZE=100;YPOS=0;XPOS=50;FILTER=PIs;BIO=Dr. Sauro\u2019s lab has been involved in a number of areas in systems as well as synthetic biology. He imitated the development of SBOL, the synthetic biology open language which is becoming the de facto language for describing synthetic designs. In systems biology he has developed a number of software tools, and standards most recently a Python based kit called Tellurium. He was cofounder of the SBML development teach. His modeling research involves developing new robust methods to develop more reliable predictive models that can simulate diseases such as cancer. Recently, he was appointed to lead a large Center for Reproducible Biomedical Modeling which was also recently awarded by the NIH.\nNAME=Dr. Liangcai Gu;ROLE=University of Washington Department of Biochemistry;PICTURE=https://static.igem.org/mediawiki/2018/2/20/T--Washington--GuTeam.jpg;CUSTSIZE=100;YPOS=25;XPOS=50;FILTER=PIs;BIO=Dr. Gu's lab use quantitative protein interaction profiling to understand molecular recognition and guide computational protein design. They develop protein interaction sequencing technologies by coupling \u2018protein barcoding\u2019 techniques\u2014e.g., molecular attachment of proteins to barcoding DNAs, display of proteins on phage or cell surfaces, and indirect barcoding of unlabeled proteins by using DNA barcoded affinity reagents such as antibodies\u2014to massively parallel 'in situ DNA sequencing' to quantitate protein interactions at a single-molecule or single-cell level. One example of protein interaction sequencing is a single-molecular-interaction sequencing (SMI-seq) technology (Gu, et al., Nature, 2014) for large-scale molecular counting of proteins and complexes. Our current research interests include (1) engineering of ligand-responsive protein assemblies, (2) human protein interactome profiling and drug screening, and (3) functional profiling of B-cell and T-cell receptors.\nNAME=Andrew Asakawa;ROLE=Lab Manager;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Wetlab, Leadership;BIO=Andrew is a junior majoring in Bioengineering. This year he was responsible for training new members at the beginning of the season, helping to manage the lab space and safety, and creating biobricks. Outside of iGEM he spends his time making and drinking coffee, cooking, and exploring the Seattle.\nNAME=Monica Mursch;ROLE=Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Wetlab;BIO=\nNAME=Kateka Seth; ROLE=Simulations; PICTURE=https://static.igem.org/mediawiki/2018/a/ac/T--Washington--KatekaTeam.jpg;FILTER=Drylab;BIO=Kateka is a current junior double majoring in Biochemistry and Informatics. In the Simulations team, she worked to generate protein models using Rosetta. In her spare time she enjoys playing the guitar and hiking around Washington.\nNAME=Vera Okolo;ROLE=Drylab;PICTURE=https://static.igem.org/mediawiki/2018/7/7d/T--Washington--VeraTeam.jpg;FILTER=Drylab;BIO=Vera is a fourth year at the University of Washington double majoring in Molecular, Cellular, & Developmental Biology and Medical Anthropolgy & Global Health. Her role in iGEM was the contributing to the research for the beginnings of an educational game for elementary students as well as interviewing members of the public for their opinions on the growing field of synthetic biology. In spare moments of time, she reads any and all genres of books, bakes macarons, and practices singing and playing the piano.\nNAME=Shubhankar Seth;ROLE=Drylab;PICTURE=https://static.igem.org/mediawiki/2018/d/da/T--Washington--ShubTeam.jpg;FILTER=Drylab;BIO=\nNAME=Victor Lee;ROLE=Wetlab;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Wetlab;BIO=\nNAME=Kristine Leano;ROLE=Wetlab, Collaborations;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Wetlab, Collaborations;BIO=Kristine is a senior studying for a BS in Biochemistry. She performs lab tasks with the Wetlab team and led international collaborations with teams in Europe. In her spare time, she likes to learn languages, dance hip hop, and meet new people.\nNAME=Zachary McNulty;ROLE=Simulations;GITHUB=https://github.com/zackmcnulty/;LINKEDIN=https://www.linkedin.com/in/zacharymcnulty/;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Drylab;BIO=Zachary McNulty is a Junior majoring in Applied Computational Mathematical Sciences. He worked on modeling the chemical networks relevant to the team's project in Tellurium. His interests lie in computational biology with a focus on its applications in synthetic biology and neuroscience.\nNAME=Debbie Chen;ROLE=Outreach;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;CUSTSIZE=75;FILTER=Wetlab;BIO=",type:"SPECIAL"}],pageTitle:"/Team"},{content:[{data:"HEADER\nTEXT=PROJECT DESCRIPTION\nBACKGROUND=https://static.igem.org/mediawiki/2018/1/1a/T--Washington--CIDdiagram.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=7\nSUBTITLEHEIGHT=7\nBLUR=3\nMINTITLEHEIGHT=5\nMINPADDINGTOP=120\nPADDINGTOP=120",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"# Overview",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/1/1a/T--Washington--CIDdiagram.png,CID Diagram,margin:auto,width:80%",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncholecalciferol\nCholecalciferol",type:"SPECIAL"},{data:"# Cholecalciferol",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nartemisinin\nArtemisinin",type:"SPECIAL"},{data:"# Artemisinin",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncannabidiol\nCannabidiol",type:"SPECIAL"},{data:"# Cannabidiol",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"NAVIGATION\nRIGHT=https://2018.igem.org/Team:Washington/Design;RIGHTNAME=Design",type:"SPECIAL"}],isContent:!0,pageTitle:"/Description"},{content:[{data:"HEADER\nTEXT=DESIGN\nBACKGROUND=https://static.igem.org/mediawiki/2018/f/fb/T--Washington--elisa.png\nYPOS=50\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nMINPADDINGTOP=120\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nnanobodies\nNanobodies",type:"SPECIAL"},{data:"# Nanobodies\n\nFor our binders, we chose to use nanobodies, which are fragments from antibodies found in camelids and sharks (1). They have small binding pockets compared to traditional antibodies, making them well suited for binding to small molecules. We used a highly diverse combinatorial library given to us by Dr. Gu from The Institute of Protein Design, who synthesized it using trinucleotide mutagenesis (TRIM) to alter the binding region of the nanobody (2). The diversity of this library is estimated to be greater than 10^9 variants.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nbiopanningp1\nBiopanning Phase 1",type:"SPECIAL"},{data:"# Biopanning Phase 1\n\nBiopanning served as a selection method for the nanobodies that we hoped to identify and utilize as a part of a chemically induced dimer. The selection is possible because of streptavidin coated magnetic beads, which are used with a strong magnetic bar and various biotinylated components. A sample of our biotinylated molecules (Artemisinin and Vitamin D3), binds to the coated magnetic beads. We then utilized a \u201cphage library,\u201d which consists of an array of bacteriophages that are bound to a nanobody, which in turns bind to the target molecule. We incubated the phage library with the molecule-bead complex to allow for optimal binding and then subjected the beads to various washing stages, so that only the phages that bind to our small molecule would still be bound. After washing, the phage-molecule complex is eluted from the magnetic bead by suspending the complex in triethylamine. We then infected E. coli cultures with the phages in order to create a stock of the output. We used a serial selection process in which the phage outputs of the prior stage are used in the next round of selection. Each subsequent iteration of the method utilizes more stringent washing. At the end, the process should have isolated the nanobodies that have the highest binding affinity to our small molecule, which we tested through ELISA and Octet procedures.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/f2/T--Washington--wetlabbiopanningprojectdesign.png,Biopanning Project Design,margin:auto,width:80%",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nelisa\nELISA",type:"SPECIAL"},{data:"# ELISA\n\nAfter narrowing down the possible selection of nanobodies through biopanning, we performed indirect ELISA to quantify binding affinities of nanobodies to to the target molecule. From the biopanning phase, we picked out individual colonies of phage-infected TG1 E. Coli and expressed the phages using a helper phage. For a control, we also tested phage binding affinity to streptavidin and biotin. The conjugation of streptavidin and biotin is used to anchor the small molecule in the experimental plate, so this is a necessary control to assess whether phages bind to the molecule or the linker.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/fb/T--Washington--elisa.png,ELISA,width:95%,margin:auto",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncloning\nCloning",type:"SPECIAL"},{data:"# Cloning\n\nAfter picking out suitable nanobody candidates from the biopanning affinity selection technique and verifying them with ELISA, our next step was to clone and express those nanobodies in higher quantities to purify them in the future. Our vector of choice was pADL-23c-Avi (3), a phagemid vector designed for display of peptides, antibodies, or proteins with an additional Avi tag. The Avitag (4) is an amino acid sequence that signals for a specific enzyme biotin ligase (BirA) to biotinylate the nanobody, which would be necessary for future steps. Our general cloning procedure entailed that we digest our vector and inserts and then ligate them. We then transformed the assembled plasmids into WK6 competent cells.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/d/d2/T--Washington--plamid.png,pADL-23c-Avi,width:80%,margin:auto",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nproteinpurification\nProtein Purification",type:"SPECIAL"},{data:"# Protein Purification\n\nWith our nanobodies in new vectors, we expressed the phages using Isopropyl \u03b2-D-1-thiogalactopyranoside, or IPTG. This compound mimics allolactose which prompts lac operon transcription. Since our phagemid was designed to have protein expression under the control of the lac operon, the addition of IPTG to a growing culture allowed nanobodies to be produced in high quantities for later purification. We used a nickel-resin based purification protocol with our his-tagged nanobodies. After isolating our nanobody, we performed a desalting procedure to replace the imidazole buffer from purification. We then biotinylated the nanobodies using BirA, which was possible because our nanobodies have an Avi-Tag. The result was our biotinylated protein that could be used for additional characterization experiments and for biopanning to identify dimer binders.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\noctetkinetics\nOctet Kinetics",type:"SPECIAL"},{data:"# Octet Kinetics\n\nIn order to quantify the binding affinity of our nanobodies to artemisinin and cholecalciferol, we used biolayer interferometry. With this optical technology, the amount of these small molecules bound to nanobodies can be quantified in real time with biosensors from Pall ForteBio by measuring the change in the interference pattern of white light reflected off of a layer of nanobodies bound to the sensor. \n\nThese biosensors have a thin layer at the tip of the sensor that is coated in streptavidin, which allows us to anchor our nanobodies conjugated with biotin. When small molecules are bound by the anchored nanobodies, the optical layer thickens. This causes a wavelength shift which provides a measurement for the amount of nanobodies bound to small molecules. By measuring the rate at which the nanobodies bind at varying concentrations of the small molecule, we can obtain dissociation constants. \n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nfuturesteps\nFuture Steps",type:"SPECIAL"},{data:"# Future Steps\n\n## Dimer Binder Identification\n\nNow that we have identified and characterized suitable anchor binders from the original library after completing all the procedures up to this point, the next step is to repeat the process to identify a dimer binder than binds to the small molecule-anchor binder complex. The protocols are nearly identical, except during biopanning and characterization the anchor binder is linked to magnetic beads via streptavidin-biotin conjugation rather than the small molecule. The procedure is also done with the anchor binder bound to the small molecule so that we only select for nanobodies that specifically bind to that complex. \n\n## Biosensor\n\nWith the nanobody pairs identified, we will apply them into a yeast three-hybrid system to generate an output for the concentration of the target molecule. Figure 2 shows how the dimerization system is adapted for creating a biosensor in which the transcription of a reporter is enhanced as the DNA binding domain and activating domains of the Gal4 promoter join together. We will be using yeast strains PJ69-4A , -4\u0251 and PJ69 and vectors p0BD2 and pOAD (James and Halladay 1996). The vectors contain Gal4 activating and DNA binding domains upstream of a multiple cloning site where we can insert our nanobody binders. Upon transforming these recombinant vectors into the two strains, we can perform lacZ colorimetric assays (1) . A higher concentration of the target molecule will lead to an increased signal. Parameters retrieved from in vivo and in silico experiments and analysis can be incorporated into biological kinetic simulations to predict the dynamic output range of our two-hybrid biosensor. This can be done with Systems biology software such as Tellurium and COPASI. ",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/c/c9/T--Washington--biosensor.png,Biosensor,width:100%,margin:auto",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations\n\n1. Muyldermans, S. Nanobodies: Natural Single-Domain Antibodies. _Annu. Rev. Biochem._ **82**, 775\u2013797 (2013).\n1. Yan, J., Li, G., Hu, Y., Ou, W. & Wan, Y. Construction of a synthetic phage-displayed Nanobody library with CDR3 regions randomized by trinucleotide cassettes for diagnostic applications. _Journal of Translational Medicine_ **12**, 343 (2014).\n1. Fairhead M, Howarth M. Site-specific biotinylation of purified proteins using BirA. *Methods in molecular biology (Clifton, NJ)*. 2015;1266:171-184.\n1. James, P. & Halladay, J. Genomic Libraries and a Host Strain Designed for Highly Efficient Two-Hybrid Selection in Yeast. _Genetics_ **144**, 1425\u20131436 (1996).\n1. M\xf6ckli, N. & Auerbach, D. Quantitative \u03b2-galactosidase assay suitable for high-throughput applications in the yeast two-hybrid system. _BioTechniques_ **36**, 872\u2013876 (2004)",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"NAVIGATION\nLEFT=https://2018.igem.org/Team:Washington/Description;LEFTNAME=Project Description;RIGHT=https://2018.igem.org/Team:Washington/Experiments;RIGHTNAME=Experiments",type:"SPECIAL"}],isContent:!0,pageTitle:"/Design"},{content:[{data:"HEADER\nTEXT=EXPERIMENTS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINTITLEHEIGHT=6\nSUBTITLEHEIGHT=7\nMINPADDINGTOP=120\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nbiopanning\nBiopanning",type:"SPECIAL"},{data:"# Biopanning\n\nBiopanning served as a selection method for the nanobodies that we hoped to identify and utilize as a part of a chemically induced dimer. The selection is possible because of streptavidin coated magnetic beads, which are used with a strong magnetic bar and various biotinylated components. A sample of our biotinylated molecules (Artemisinin and Vitamin D3), binds to the coated magnetic beads. We then utilized a \u201cphage library,\u201d which consists of an array of bacteriophages that are bound to a nanobody, which in turns bind to the target molecule. We incubated the phage library with the molecule-bead complex to allow for optimal binding and then subjected the beads to various washing stages, so that only the phages that bind to our small molecule would still be bound. After washing, the phage-molecule complex is eluted from the magnetic bead by suspending the complex in triethylamine. We then infected E. coli cultures with the phages in order to create a stock of the output. We used a serial selection process in which the phage outputs of the prior stage are used in the next round of selection. Each subsequent iteration of the method utilizes more stringent washing. At the end, the process should have isolated the nanobodies that have the highest binding affinity to our small molecule, which we tested through ELISA and Octet procedures.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nelisa\nELISA",type:"SPECIAL"},{data:"# ELISA\n\n## Day 1: Phage inoculation\n\n### Plate 1: Helper Phage Plate\n1. Select 48 colonies from each of the 2 titered outputs. There are 2 outputs from the competitive elution and regular elution during round 5.\n\n Plate Layout:\n",type:"MARKDOWN"},{data:"image of chart",type:"MARKDOWN"},{data:"Insert text",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\noctet\nOctet",type:"SPECIAL"},{data:"# Octet\n\n1. Fill wells A1 and B1 of a 96-well plate with the appropriate buffer.\n1. Take the buffer-only well plate and place it into an empty sensor tray. Place two super streptavidin (SSA) biosensors into the A1 and B1 wells - only one biosensor should occupy each well - and let sit for 10 minutes.\n1. Dilute the nanobody to 200uM and fill the 96-well plate with 200uL of the dilution according to the following layout.\n * Nb refers to \u201cnanobody,\u201d B refers to \u201cbuffer.\u201d\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/4/40/T--Washington--Octet1.png,Octet 1,margin:auto,width:95%,boxShadow:5px 5px 10px gray",type:"IMAGE"},{data:"4. Make six serial dilutions of the protein, and fill 96-well plate with 200uL of each dilution according to the following layout.\n * This should be in increasing concentration, so 1D refers to the least concentrated dilution and 6D is the most concentrated.\n * Remaining wells should be filled with the appropriate buffer. \n * If running an octet assay on more than one protein, the samples should be separated by a row of buffer.\n * Our concentration ranges have been from 10mM to 32nM for our experiments.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/4/4b/T--Washington--Octet2.png,Octet 2,margin:auto,width:95%,boxShadow:5px 5px 10px gray",type:"IMAGE"},{data:"5. Program how the assay will run on the computer, making sure to define the correct plate layout, biosensors, and steps.\n * You will need to run two assays - one for the nanobody and one for the protein; you should either set up both assays on the computer beforehand or set up the next one as the first one is running.\n1. Place the sensor tray and nanobody plate into the Octet machine, making sure that well A1 is oriented to the top right corner. Close the lid and let sit for 10 minutes.\n * Wait for 10 minutes to allow the biosensors and assay plate to equilibrate to a stable temperature.\n1. Run the nanobody loading assay\n * The first assay will be used to load the biotinylated nanobody to the sensor. This uses the first plate with the nanobody. A control sensor is used that is not immersed in the nanobody. Estimated time is 37 minutes.\n1. When the first assay is finished, replace the nanobody plate with the small molecule plate. Run the small molecule binding assay.\n * The second assay immersed the sensor-bound nanobody into increasing concentrations of small molecule. For each concentration, there is an association, disassociation, and baseline step. This second assay typically takes 2 hours.\n1. When the assay completes, remove both the sensor tray and assay plate from the Octet. Dispose of the used biosensors in the waste drawer.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nproteinpurification\nProtein Purification",type:"SPECIAL"},{data:"# Protein Expression, Purification, and Biotinylation:\n\n## Expression and Lysis\n\nWe adapted a protocol from _ Pardon et al. 2014 _ . \n1. Inoculate wk6 starter culture in LB supplemented with 1mM Mgl2 and 0.5% glucose. Incubate overnight at 37\xb0C 170 rpm. \n1. Inoculate 1-2L culture with ~400uL of the starter culture. The media was TB supplemented with 1mM MgCl2 and 0.1% glucose. Grow until OD 0.7 and induce with 1mM IPTG. Grow overnight at 28\xb0C at 170 rpm\n * The low percentage of glucose is important in order for the lac operon to work.\n1. Pellet the cells via centrifugation at 9000g for 15 minutes. \n1. Resuspend in 15mL TES buffer per liter of culture. Incubate on ice in orbital shaker for 1 hour. Then incubate in 30mL TES/4 for 45 minutes.\n1. Centrifuge at 10,000g for 30 minutes at 4\xb0C. Collect supernatant, which is the clarified lysate. \n\n## Notes:\n\nTES Buffer: \n* 1L solution pH 8\n* 22.4g Tris\n* 0.19g EDTA\n* 171.15g sucrose\n* 1L ddH20\n\nTES/4: \n* Dilute TES buffer 4 fold\n\n## Overview of Protein Purification and Biotinylating Procedures:\n\nWe used a nickel-resin based purification protocol with our his-tagged nanobodies. Specifically, used FPLC to wash and elute our nanobody once it is loaded into a Ni-resin column. After isolating our nanobody, we performed a desalting procedure to replace the imidazole buffer from purification. By running it through a desalting column, we can isolate our protein in PBS 5% glycerol buffer without imidazole. Then, we biotinylated the nanobodies using BirA, which is possible because our nanobodies have an Avi-Tag. Finally, we desalted our nanobodies again to isolate them from the substrates in the biotination reaction. In the end, we isolated our nanobodies in 1X PBS with 5% glycerol so they can be used for subsequent assays and procedures. \n\n## Specific Protocol Directions:\n\n### Purification\n\nWe will performed nickel-resin based purification protocol with our his-tagged nanobodies. Specifically, we used FPLC to wash and elute our protein from a lysate loaded into a ni-resin column. \n\n1. Running Lysate into column:\n * Automated pump to load onto column in 556 far right corner. Pump lysate through into column, will take about 45mins. Once finished can remove column and bring to FPLC machine\n1. FPLC Elution:\n * Wash the pumps for a few minutes to replace buffer in wiring, then add nickel column.\n * First wash with wash buffer (sans imidazole) for about 8 minutes. This contains low imidazole concentration, 20mM. Flow rate can be 1mL/min. UV spectra over time will first have a spike, then should be constant.\n * Add gradient to go to 100% buffer B over 8 minutes. The UV will increase at a constant rate due to imidazole. The imidazole concentration in the elution buffer is 250mM. \n * Once the slope increases, this indicates the protein is being eluted. This will probably occur somewhere between 30-70% elution buffer, it has varied between experiments.\n * Collect by executing \u201cFraction900\u201d 5mL\n * To stop collection early, change flow rate to 0mL\n * Make sure the falcon tube is oriented correctly to collect the elution.\n * Cleaning column:\n * Let flow at 100% imidazole for a few minutes, then decrease to 0% imidazole. Let wash for 5-10 minutes to remove all imidazole. \n\n### Desalting:\n\nDesalting was performed using an FPLC machine to quickly replace the elution buffer with 1X PBS and 5% glycerol.\n\n1. Preparation:\n * Rinse off desalting injection column with milliQ water\n * Adjust capacity to volume of elution of protein (ex: 5mL) and pour in. \n * Screw in cap securely\n * Add milliQ water to other side and screw in caps\n1. Secure injection column and desalting column with correct wiring orientation.\n1. Initiation\n * Change flow-pump to \u201con\u201d\n * Adjust flow-pump to 2 mL/min, pressure should be no more than ~0.5 mAU\n * This pumps water above the injection column and pushes the sample out.\n1. Once the sample is completely dispensed, change flow-pump back to \u201cload\u201d\n * Important to do! Otherwise pressure in injection tube might break apparatus\n1. Watch UV for spike. First spike will be the protein, so collect that.\n * Same collection method: \u201cFrac900\u201d execution, approximately same volume as elution volume\n1. Clean up:\n * Let buffer continue washing to let imidazole flow out column. You can stop or do next protein once UV peak shows imidazole went through. \n1. Closing program:\n * Flow-rate to 0mL\n * Hit \u201cEnd\u201d\n * Can turn off machine\n\n## Biotinylation:\n\nWe used BirA enzyme to biotinylate our nanobodies which contain an Avi-tag. This is essential future experiments using these proteins because it allows us to bind them to streptavidin-coated sensors for kinetic testing, and agarose beads for when we biopan for our second nanobody dimer binder.\n\nThis is similar to a DNA restriction digest because an enzyme catalyzes the reaction. You mix the following in some manner:\n\n1. Desalted nanobody\n1. BirA MixA, and BirA MixB - the reaction buffers that also contain biotin\n1. BirA - The enzyme\n\nHere is a typical reaction recipe:\n\n1. 4mL of desalted nanobody \n1. 0.5 mL of BirA mixA\n1. 0.5 mL of BirA mixB\n1. 3uL BirA enzyme\n\nIncubation: Let incubate for one hour away from light at room temperature.\n\n### Desalting: \nPerform desalting of biotinylated protein identical to the previous method. The purpose of this is to isolate the protein in a buffer without the reagents from the biotinylation reaction (ATP, biotin, and other buffer components). \n\n## Citations\n\nPardon, E. et al. A general protocol for the generation of Nanobodies for structural biology. _Nature Protocols_ **9**, 674 (2014).\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ngeneral\nGeneral Protocols",type:"SPECIAL"},{data:'# General Protocols\n\n## YPD Media Recipe\n\nReagents needed for 1 L YPD Media:\n* 20 g Bacto peptone\n* 10 g Yeast extract\n* 50 mL sterile 40% glucose\n* 24 g Bacto agar (for agar plates only)\n\nProcedure (Liquid Media):\n\n1. Combine 20 g Bacto peptone and 10 g yeast extract in an autoclavable flask.\n1. Add 950 mL deionized H2O.\n1. Autoclave the mixture.\n1. Add 50 mL sterile 40% glucose and mix.\n1. Let cool before use.\n\nProcedure (Agar Plates):\n\n1. Combine 20 g Bacto peptone, 10 g yeast extract, and 24 g Bacto agar in an autoclavable flask.\n1. Add 950 mL deionized H2O.\n1. Autoclave the mixture.\n1. While stirring the autoclaved mixture on a magnetic stir plate, add 50 mL sterile 40% glucose.\n1. Pour media into plates while still warm.\n1. Allow mixture to cool and solidify.\n\nFrom: [1](http://cshprotocols.cshlp.org/content/2010/9/pdb.rec12315.full)\n\n## Epoch Miniprerp\n\nThis protocol should take around 45-75 minutes.\n\n1. From 2-6mL cultures grown 12-22 hrs in LB\n1. Pellet the cells by centrifuging for 1-2 min at 3500 rpm and decant off supernatant. Repeat this step twice.\n1. Remove the rest of the supernatant by pipet.\n1. Resuspend the pellet in 200uL of MX1 buffer by gently pipetting up and down or vortexing.\n1. Add 250 uL MX2 buffer and gently mix by inverting 4-5 times. Incubate for 5 minutes 00:05:00 . \n * This step lyses the cells, thus it is important to not vortex as this could cause genomic DNA to contaminate the sample. \n1. _If the culture was centrifuged in falcon tubes transfer to a 1.5 mL eppendorf tube at this point._ \n1. Add 350 uL MX3 buffer to neutralize the lysate and gently mix the solution immediately.\n * You should see a white precipitate form.\n1. Centrifuge for 5-10 (7.5*) minutes at 13000 rpm. Meanwhile set up and label GenCatch columns into collection tubes.\n1. Carefully transfer the supernatant to the column.\n1. Centrifuge 30-60 seconds at 5000 rpm. Discard flow-through.\n1. Wash the column once with 500 uL of WN buffer and centrifuge for 60 seconds at 9000 rpm. Discard flow-through.\n1. Wash the column once with 700 uL of WS buffer and centrifuge for 30 seconds at 9000 rpm. Discard flow-through.\n1. Centrifuge for 2 additional minutes at 13000 rpm. Discard flow-through.\n * This removes additional ethanol\n1. Centrifuge for 1 additional minute at 13000 rpm for better results.\n1. Place the column in a new 1.5 mL eppendorf tube. Add 40 uL of Elution buffer (EB) directly onto the center of the membrane.\n * The amount of EB used should vary based on your expected yield; higher yields use more EB to have more solution at a high concentration, lower yields use less EB to have a higher concentration at a lower volume.\n * The EB should be directly placed on the membrane of the column (filter) in order to get good yields.\n1. Stand the column for 5 minutes at room temperature 00:05:00 .\n1. Centrifuge for 30 seconds at 13000 rpm to elute DNA.\n1. Measure the concentration using a NanoDrop ND-1000 to ascertain the DNA concentration of the sample at absorbance 260nm.\n1. Label the tube with the concentration and plasmid name (e.g. PSB1C3-mRFP), your initials, date, and concentration. For same day or short term store in the 4\xb0C fridge, long term store in the -20\xb0C fridge and log the location in the lab notebook.\n\n## TSS Buffer Recipe\n\nReagents needed for 50 mL of TSS Buffer:\n* 5 g PEG 8000\n* 1.5 mL 1M MgCl2 (or 0.30g MgCl2\u29816H2O)\n* 2.5 mL DMSO\n* LB media\n\nProcedure:\n\n1. Combine 5 g PEG 8000, 1.5 mL 1M MgCl2 (or 0.30g MgCl2\u29816H2O), and 2.5 mL DMSO.\n1. Add LB media to 50 mL.\n1. Filter sterilize (0.22 \u03bcm filter).\n\nNotes:\n* PEG 3350 can be used instead of PEG 8000. According to the original CT Chung paper, PEG 3350 produces better efficiency, and other sized PEGs can be used as well albeit with a slight loss in efficiency.\n* pH from original Chung CT paper calls for pH to be acidic (pH=6.5)..., be sure to pH solution before sterilization.\n* If using non-chemically resistant filters (e.g., cellulose nitrate), add DMSO after sterilization. DMSO should be sterile in and of itself, so it may be prudent to add it afterwards if you are unsure about the compatibility of your filters.\n\nStorage:\n* Store at 4\xb0C or -20\xb0C\n\nFrom: [2](https://openwetware.org/wiki/TSS)\n\n## TB Media Recipe\n\nReagents needed for 1 L of TB Media:\n* 24 g Yeast Extract\n* 20 g Tryptone\n* 4 mL Glycerol\n* 100 mL Phosphate buffer (0.17 MKH2PO4, 0.72 M K2HPO4)\n\nProcedure:\n\n1. Add 900 mL of deionized water to 24 g of yeast extract, 20 g of tryptone, and 4 mL of glycerol.\n1. Stir or shake until solutes have dissolved.\n1. Autoclave for at least 20 minutes.\n1. Let cool until you can hold the container (around 60\u2103).\n1. Add 100 mL of sterile phosphate buffer.\n1. Store at RT.\n\nFrom: [3](http://cshprotocols.cshlp.org/content/2015/9/pdb.rec085894.full?rss=1)\n\n## PCR Q5\n\nWe recommend assembling all reaction components on ice and quickly transferring the reactions to a thermocycler preheated to the denaturation temperature (98\xb0C). All components should be mixed prior to use. Q5 High-Fidelity DNA Polymerase may be diluted in 1X Q5 Reaction Buffer just prior to use in order to reduce pipetting errors.\n\n| Component | 25 ul Reaction | 50 ul Reaction | Final Concentration |\n|-|-|-|-|\n| Water (Milli-Q) | to 25 uL | to 50 uL | | \n| Template DNA | variable | variable | <1,000 ng (<1 ng if plasmid/viral) |\n| Fwd Primer | 1.25 uL | 2.5 uL | 500 nM |\n| Rev Primer | 1.25 uL | 2.5 uL | 500 nM |\n| Q5 HF 2X Mastermix | 12.5 uL | 25 uL | 1X |\n\nGently mix the reaction. Collect all liquid to the bottom of the tube by a quick spin if necessary. Overlay the sample with mineral oil if using a PCR machine without a heated lid. \n\nTransfer PCR tubes to a PCR machine and begin thermocycling. \n\nThermocycling Conditions for a Routine PCR:\n\n| Step | Temp | Time | \n|-|-|-|\n| Initial Denaturation | 98C | 30 sec |\n| 25-35 Cycles | 98C | 5-10 sec |\n| | 50-72C** | 10-30 sec |\n| | 72C | 20-30 sec/kb** |\n| Final Extensio | 72C | 2 minutes |\n| Hold | 4C | Infinitely |\n\nOnce protocol set up, hit "run", and "block" rather than sample. \n\n## LB Media Recipe\n\nReagents needed for 1 L LB Media:\n* 10 g Bacto-tryptone\n* 5 g Yeast extract\n* 10 g NaCl\n* 15 g agar (for LB agar plates)\n\nProcedure for LB Broth:\n\n1. Combine 10 g Bacto-tryptone, 5 g yeast extract, and 10 g NaCl in an autoclavable flask.\n1. Add 800 mL deionized water.\n1. Adjust pH to 7.5 with NaOH.\n1. Add deionized water to 1 L.\n1. Autoclave to sterilize.\n\nProcedure for LB Agar Plates:\n\n1. Combine 10 g Bacto-tryptone, 5 g yeast extract, and 10 g NaCl in an autoclavable flask.\n1. Add 800 mL deionized water.\n1. Adjust pH to 7.5 with NaOH.\n1. Add 15 g agar.\n1. Add deionized water to 1 L.\n1. Sterilize by autoclaving.\n\n[Liquid Media Recipe](http://www.thelabrat.com/protocols/11.shtml)\n[Agar Plates Recipe](http://www.thelabrat.com/protocols/LBAgar.shtml)\n\n## Gel Extraction\n\n1. Cut out the DNA fragment of interest with a razor blade from the gel. Minimize the amount of excess gel in the gel slice.\n1. Measure weight of gel slice. (100-350 mg)\n1. Add 3 Volumes GEX Buffer to 1 Volume gel. (Assume 100mg gel = 100 ul)\n1. Incubate at 55C for 5 to 10 minutes until the gel is completely dissolved. \n * Invert cube every 1-2 minutes during incubation.\n1. Place Gel Extraction Column onto a collection tube. \n1. Load no more than 0.7mL dissolved gel mixture onto the column.\n1. Centrifuge for 30 seconds at 5000 rpm. Discard flow through.\n1. Repeat step 5-7 for the rest of the mixture if the total volume of the dissolved gel slice is > 0.7 mL.\n1. Wash Column once with 0.5 mL WN Buffer by centrifuging for 30 seconds at 5000 rpm. Discard flow through.\n1. Centrifuge column at 12000 rpm for another 3 minutes to remove residual ethanol. Discard flow through.\n1. Repeat 10 but at 1 minute instead of 3. \n1. Place column onto a new 1.5 mL centrifuge tube.\n1. Add 20 uL of Elution Buffer (EB) onto the center of the membrane.\n1. Stand Column for 2 minutes.\n1. Centrifuge for 60 seconds at 12000 rpm to elute DNA.\n1. Measure the concentration using the nanodrop.\n1. Record the concentration and store at -20C.\n\n## Gel Electrophoresis\n\nTo prepare a 50 mL 1% (by weight) agarose gel:\n\n1. Measure 50 mL TAE buffer = 50 g. \n1. Add 0.5 g agarose (specifically labelled for gel extraction) \n1. Microwave the solution in a 250 mL Erlenmeyer flask covered with a cap for ~45 seconds or until boiling. Watch carefully.\n1. Remove the flask from the microwave using heat-protective mittens. \n1. Swirl and continue briefly microwaving until all the agarose is dissolved.\n1. Let the solution cool until it is safe to handle.\n1. Add 10,000X SYBR in fume hood and swirl the solution. \n * For 50 mL (= 50,000 uL) add 5 uL.\n1. Pour into a gel box. \n * Set up so liquid sets into gel (90\xb0 off orientation when running).\n * Place well template ("comb") into the gel. Alter the type of comb (varies by number of lanes or thickness of wells) as necessary.\n1. Once solidified, take out the comb and orient with wells next to black (-) electrode.\n1. Pour TAE buffer to the fill line.\n\nTo prepare the samples:\n\n1. Dilute samples with 6X purple loading dye.\n * For example, for a 25 uL of sample, add 5 uL of loading dye.\n * May need to add dye into ladder as well.\n\nTo load samples onto the gel:\n\n1. Add ladder in leftmost lane. \n1. If it doesn\'t contain loading dye, add desired quantity.\n1. Mix the sample with the pipette a few times. \n1. Dispense slowly into the desired well. \n1. Record the contents of each lane.\n1. Repeat 3-5 for the desired number of samples.\n1. If empty lanes remain, fill them with loading dye and water in the same total volume as the other samples.\n1. Run the Gel. Check for bubbles when the gel is running.\n\n## 2X YT Media Recipe\n\nReagents needed for 1 Liter of 2X YT media:\n* 16 g Tryptone \n* 10 g Yeast Extract\n* 5 g NaCL\n\nNOTE: Make sure to use a bottle double the volume as the liquid being autoclaved, otherwise it will boil over!\n\nFor \xbd Liter Agar Plates with Carbenicillin:\n\n1. Weigh and add directly to a 1 L container:\n * 8 g Tryptone\n * 5 g Yeast extract\n * 2.5 g Nacl\n * 7.5 g Agar\n1. Fill to 450 mL with milliQ H2O\n1. Autoclave for at least 20 minutes \n1. Let cool until you can hold the container (around 60\u2103)\n1. Add 50 mL 20% Glucose and appropriate antibiotic:\n * Carbenicillin: 100 ug/mL. For 500mL we will need 500 mL * 100 ug/mL=50000 ug, or 50 mg.\n\nGeneral Recipe for Plates:\n* Fill to 900 mL with ddH2O and adjust to pH 7 using 5M NaOH\n* Add 15 g/L Agar (assume 1 L total)\n* Autoclave to sterilize \n* After cooling to about 50\xb0C add 100 mL 20% glucose and antibiotics to working concentration\n* Pour plates according to plate-making procedure\n\nPlate-Making Procedure:\n* Mix 16 g Tryptone, 10 g Yeast Extract, 5 g NaCl into at least a 1000 mL beaker\n * Don\u2019t use granulated tryptone\n* Fill to 900 mL with ddH2O, adjust to pH 7 using 5M NaOH\n* Add 3.75 g of Agar to 500 mL bottles (4 bottles with 3.75 g each)\n* Add Tryptone/yeast extract/NaCl/H2O mixture into bottles evenly (225 mL per bottle)\n * Use grad. cylinder\n* Mix bottles\n* Autoclave\n* Add 25 mL of 20% glucose to each bottle\n* Add appropriate amount of working concentration of antibiotics to each bottle\n* Pour plates\n \nFor media:\n* Fill to 1L with ddH2O and adjust pH to 7 using 5N NaOH\n* Autoclave to sterilize\n',type:"MARKDOWN"},{data:"NAVIGATION\nLEFT=https://2018.igem.org/Team:Washington/Design;LEFTNAME=Design;RIGHT=https://2018.igem.org/Team:Washington/Notebook;RIGHTNAME=Notebook",type:"SPECIAL"}],isContent:!0,pageTitle:"/Experiments"},{content:[{data:"HEADER\nTEXT=NOTEBOOK\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nMINPADDINGTOP=120\nBLUR=3",type:"SPECIAL"},{data:"# Notebooks\n\n* [Biobricking](https://static.igem.org/mediawiki/2018/0/0e/T--Washington--BBnew.pdf)\n* [Biopanning Cholecalciferol](https://static.igem.org/mediawiki/2018/3/34/T--Washington--Biopanningd3.pdf)\n* [Biopanning Artemisinin](https://static.igem.org/mediawiki/2018/3/36/T--Washington--biopanningart.pdf)\n* [Cloning](https://static.igem.org/mediawiki/2018/2/25/T--Washington--c01new.pdf)\n* [Control ELISA](https://static.igem.org/mediawiki/2018/2/28/T--Washington--chr.pdf)\n* [Interlab](https://static.igem.org/mediawiki/2018/6/6a/T--Washington--interlab.pdf)\n* [Protein Purification](https://static.igem.org/mediawiki/2018/b/b2/T--Washington--pnew.pdf)",type:"MARKDOWN"}],pageTitle:"/Notebook"},{content:[{data:"HEADER\nTEXT=MODEL\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/73/T--Washington--LigDockAnim.gif\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nrosetta\nRosetta",type:"SPECIAL"},{data:"# Rosetta\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/a/af/T--Washington--RosettaLogo.png,Rosetta Logo,margin:auto,width:60%,maxWidth:300px",type:"IMAGE"},{data:"## Introduction\n\n[Rosetta](https://www.rosettacommons.org/software) is a powerful command-line program suite for computational macromolecular modeling developed by Dr. David Baker\u2019s lab at the University of Washington.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/f0/T--Washington--ProtModel.png,Prot Model,margin:auto,width:50%,maxWidth:500px,boxShadow:5px 5px 10px gray",type:"IMAGE"},{data:"Proteins naturally fold into the lowest energy conformation, and this folded structure gives proteins their function. However, modeling this process on an atom-by-atom basis is NP-hard, meaning that it cannot be easily done without a supercomputer. [1]\n\nRosetta reduces the computational complexity of this problem by dividing the sequence into fragments and substituting fragments of common folding motifs into the protein. It simulates random conformations in space and performs a Monte Carlo algorithm to find the lowest energy conformation. Essentially, random conformations are simulated to reduced the free energy in an iterative process until optimal conformations are obtained. If the change reduced the free energy, Rosetta continues from the new conformation. If the change increased the free energy, the simulation reverts to the old conformation.\n\nFor our project, we are interested in modeling the nanobodies identified by wetlab\u2019s biopanning process in order to better understand their molecular dynamics and increase their\nselectivity. From this exploration we hope to be able to offer possible optimization of their sequences to produce even stronger binding nanobodies, as well as create detailed images and animations showcasing our project\u2019s complex biochemistry. We used anchor and dimer nanobodies designed by Dr Gu\u2019s lab to bind to CBD to showcase how our methods can be used to model many other nanobodies found using our wetlab\u2019s biopanning process.\n\n## Homology Modeling\n\nHomology modeling can be used to quickly and accurately predict the structure of a protein solely from its amino acid sequence. Homology modeling uses sequence information from other similar protein structures to see how differences between such known structures and a new protein of interest can aid in creating a novel mapping of this structurally unknown protein. The quality and accuracy of the models produced will depend on how similar the template structures are to the protein of interest. Proteins with high homology, especially those with less gaps in the protein sequence, lead to faster and more accurate results. Rosetta has built in homology modeling support through RosettaCM which we used to model our nanobodies.\n\nRosettaCM is an alternative to a different Rosetta protocol for de novo protein folding. Instead of starting from a few base structures to build from, such as in homology simulations, de novo protein folding starts from scratch each time and uses a Monte Carlo simulation to predict the structure of your protein\u2019s sequence. Because it has to start from nothing for each stochastic simulation, each model is not as accurate as homology models and thus requires many more models before a clear convergence can be seen. 50,000-100,000 is the recommended amount of predicted structures for the de novo protocol, while homology modeling only needs around 50-200. \n\nWhile de novo works for modeling novel proteins where there might not be many similar structures readily available, in our case many other homologous nanobodies have been studied. Therefore, we chose to use homology modeling as the more precise and faster alternative.\n\n### Methodology\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/6/62/T--Washington--CIDMod.png,PyMOL visualization of our CID complex in ribbon view,boxShadow: 5px 5px 10px gray,margin:auto,width:70%",type:"IMAGE"},{data:"PyMOL visualization of our CID complex in ribbon view",type:"MARKDOWN"},{data:"The first step in homology modeling is to make a FASTA file for the target protein sequence. This is simple and can be done manually. An example is shown below. Change `protein_name` to the name of the target protein. This should match the name of the file (eg `5vnv.fasta`). \n\n```\n>protein_name\nEVQLQASGGGFVQPGGSLRLSCAASGSTSRQYDMGWFRQAPGKEREFVSAISSNQDQPPY\nADSVKGRFTISRDNSKNTVYLQMNSLRAEDTATYYCAFKQHHANGAYWGQGTQVTVSS\n```\n",type:"MARKDOWN"},{data:"The next step is to get 2-5 PDBs of similar proteins that will act as the template. This can be achieved using a NCBI website called [BLAST](https://blast.ncbi.nlm.nih.gov/Blast.cgi). Under protein BLAST, enter the target protein\u2019s sequence, select to only show proteins from the Protein Data Bank, and press BLAST. This will query their database of known protein structures and find the ones with high homology. Select proteins which have the highest match and the fewest gaps in their sequence comparison. Rosetta is less able to add in new amino acids compared to deleting or swapping them out, so it is often best to select sequences which have a lower similarity score but fewer gaps. Depending on the protein you are trying to simulate there might be many eligible structures to choose from but less than 5 templates is ideal for Rosetta.\n\nOnce the template proteins have been selected, their PDBs can be downloaded from the [Protein Data Bank](http://www.rcsb.org) website. However, this downloaded PDB will most likely contain more chains than the ones that were pinged by BLAST. Rosetta comes with a Python script called `clean_pdb.py` to get rid of any unwanted chains. This program will also produce a FASTA file for the template proteins which is needed in the next step.\n\nAnother website, [Clustal Omega](https://www.ebi.ac.uk/Tools/msa/clustalo/), is then used to combine and align all the template and target protein sequence FASTA files so they can be easily compared by Rosetta. Since the file output of Clustal Omega is not a reconized file type in Rosetta, we wrote a python script to convert this clustal file into a Grishin alignment file which Rosetta understands:",type:"MARKDOWN"},{data:"ACCORDION\n===\nCode\n```\n#!/usr/bin/env python\n\"\"\"\nConvert clustal alignment files to grishin for use in rosetta\nAuthor: Ed van Bruggen <edvb@uw.edu>\n\"\"\"\n\nimport sys\nimport argparse\nfrom argparse import RawTextHelpFormatter\n\nparser = argparse.ArgumentParser(description=__doc__, formatter_class=RawTextHelpFormatter)\nparser.add_argument('--file', type=str, required=True,\n help='input clustal alignment file')\nparser.add_argument('--target', metavar='POS', type=int, default=1,\n help='position of target protein (default: 1)')\nargs = parser.parse_args()\n\naln = open(args.file)\nproteins = []\n\nfor i, line in enumerate(aln):\n if i == 0 or line == '\\n' or line[0] == ' ':\n continue\n words = line.split()\n skip = 0\n for protein in proteins:\n if protein[0] == words[0]:\n protein[1] += words[1]\n skip = 1\n continue\n if not skip:\n proteins.append([words[0], words[1]])\n\ntarget = proteins[args.target - 1]\n\nfor protein in proteins:\n if protein == target:\n continue\n grishin = open(target[0] + \"_\" + protein[0] + \".grishin\", \"w\")\n grishin.write(\"## %s %s_thread\\n#\\nscores from program: 0\\n0 %s\\n0 %s\\n\" %\n (target[0], protein[0], target[1], protein[1]))\n```",type:"SPECIAL"},{data:"To simplify the work Rosetta has to do for large proteins, fragment files can be utilized. Fragment files contain various motifs of protein folding for many amino acid sections in the given sequence. This allows Rosetta to test out sections of amino acids instead of examining one residue at a time. Fragment files can be generated by the [Robetta](http://www.robetta.org/) server. \n\nThe Grishin alignment files and the template PDBs are used as input to Rosetta\u2019s `partial_thread` executable to generate threaded PDBs which contain a mix of a single template and the target nanobody. An example command is shown below. Each template PDB should have its own threaded PDB.\n\n```\nrosetta/main/source/bin/partial_thread.default.linuxgccrelease \n-in:file:fasta molxa3.fasta -in:file:alignment molxa3_6dbeA.grishin \n-in:file:template_pdb 6dbeA.pdb\n```\n\nThe threaded PDBs, target sequence FASTA file, target protein fragment files, and a RosettaCM XML file are then all given to the `rosetta_scripts` executable to generate the homology models of the target nanobody. The XML file is a script which informs Rosetta on the specifics of how to run the desired protocol. An example for RosettaCM is displayed below.\n\n```\nrosetta/main/source/bin/rosetta_scripts.default.linuxgccrelease \n-in:file:fasta molxa3.fasta -parser:protocol hybridize.xml \n-default_max_cycles 200 -dualspace\n```\n",type:"MARKDOWN"},{data:'ACCORDION\n===\nRosettascript\n```\n<ROSETTASCRIPTS>\n\t<TASKOPERATIONS>\n\t</TASKOPERATIONS>\n\t<SCOREFXNS>\n \t<ScoreFunction name="stage1" weights="score3" symmetric="0">\n \t<Reweight scoretype="atom_pair_constraint" weight="1"/>\n \t</ScoreFunction>\n \t<ScoreFunction name="stage2" weights="score4_smooth_cart" symmetric="0">\n \t<Reweight scoretype="atom_pair_constraint" weight="0.5"/>\n \t</ScoreFunction>\n \t<ScoreFunction name="fullatom" weights="ref2015_cart" symmetric="0">\n \t<Reweight scoretype="atom_pair_constraint" weight="0.5"/>\n \t</ScoreFunction>\n\t</SCOREFXNS>\n\t<FILTERS>\n\t</FILTERS>\n\t<MOVERS>\n \t<Hybridize name="hybridize" stage1_scorefxn="stage1" stage2_scorefxn="stage2" fa_scorefxn="fullatom" batch="1" stage1_increase_cycles="1.0" stage2_increase_cycles="1.0" linmin_only="1">\n \t<Fragments three_mers="a2_3.frags" nine_mers="a2_9.frags"/>\n \t<Template pdb="1vhpA_thread.pdb" cst_file="AUTO" weight="1.000" />\n \t<Template pdb="5vnvA_thread.pdb" cst_file="AUTO" weight="1.000" />\n \t</Hybridize>\n\t</MOVERS>\n\t<APPLY_TO_POSE>\n\t</APPLY_TO_POSE>\n\t<PROTOCOLS>\n \t<Add mover="hybridize"/>\n\t</PROTOCOLS>\n</ROSETTASCRIPTS>\n```\n',type:"SPECIAL"},{data:"It is recommended that 50-200 PDBs are generated, depending on how quickly the resulting models seem to converge. For our nanobodies, we generated around 150-200 PDB for each nanobody sequence. The top 10 lowest energy PDBs had a noticeable convergence in their structure and were therefore used in our further simulations. See the [results](https://2018.igem.org/Team:Washington/Results) section for details.",type:"MARKDOWN"},{data:"ACCORDION\n===\nThe Homology Modeling Workflow\n![The Homology Modeling Workflow](T--Washington--HMWorkflow.png)",type:"SPECIAL"},{data:"## Genetic Algorithm Ligand Docking\n\nRosetta has a protocol called ligand docking to determine how a ligand will interact with a given protein structure. We used this protocol with the structures of our nanobodies found through homology modeling to see how our nanobodies interact with the respective molecules they are supposed to be binding to. We are able to predict and test where the binding pocket of the nanobody would be through this protocol. For our simulations, we tested the binding of a nanobody that bound to a molecule of CBD.\n\nWe originally ran a standard version of the ligand docking protocol that was in the stable release of Rosetta, but the resulting PDB models were not converging to a likely conformation and there was no obvious chemical interactions between the residues of the anchor nanobody to the ligand. The ligand was sitting too high in the binding pocket of the nanobodies and there was little convergence in the ligand position as in Figure 1 and 2.\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=2\nDESCRIPTION=Figure 1: Side angle of non convergence with traditional ligand docking in ribbon view;PICTURE=https://static.igem.org/mediawiki/2018/5/5e/T--Washington--LigDock1.png\nDESCRIPTION=Figure 2: Surface view of Figure 1;PICTURE=T--Washington--LigDock2.png",type:"SPECIAL"},{data:"We re-ran the ligand docking simulation through a newly developed Rosetta protocol found in their recent weekly development release which utilizes a new novel algorithm. This gave us vastly improved results. The new Genetic Algorithm (GA) ligand docking protocol uses genetic evolution to create a pool of models, select the best one, mutate it, and from that mutated model create another pool of models. This continues for a number of iterations. The mutating process allows for diversity in the pool of models to be maintained, improving the protocols ability find low energy structures. Several of these stochastic pools are generated and only the best from each are compared since there is no convergence in a single diverse set. The old ligand docking uses a Monte Carlo algorithm to move and rotate different conformations of the ligand to find a possible lowest energy position. This new method dynamically changes both the ligand and the backbone structure throughout the simulation instead of relying on a given confirmation file generated externally.\n\n### Methodology\nThe first step in ligand docking is to get a PDB for the ligand, in our case we used CBD. Next, the ligand PDB should be combined with each of the target PDBs that you want to dock. We used the top 10 best models from our homology modeling to run through ligand docking. The Unix command `cat anchor.pdb ligand.pdb > anchor-ligand.pdb` can be used to concatenate the two PDB files together. This concatenated PDB is then opened in a molecular visualization tool such as PyMOL or Chimera. \n\nThe ligand needs to be manually positioned through this visualization software to the rough area predicted to be the binding pocket. Placing the ligand close to the location of the suspected binding pocket helps Rosetta narrow its search region and quickly produce more accurate results. For our nanobodies, we predicted that the CBD molecule will bind within the 3 varied loop regions. We manually placed our CBD molecule roughly in this area (Figure 3). This new file with the nanobody and ligand can then be run through GA ligand docking.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/4/4d/T--Washington--LigDock3.png,Ligand docking,boxShadow: 5px 5px 10px gray,margin:auto,width:70%",type:"IMAGE"},{data:"Figure 3: Example of rough manual ligand placement in homology models to be inputted into Rosetta GA ligand docking",type:"MARKDOWN"},{data:"**Conformer file**\n\nThe `anchor-ligand.pdb` only contains one conformation of the ligand, therefore, in order to get a more accurate simulation, a conformer file might be necessary to provide Rosetta with various possible positions that the ligand can take. Having various conformations simulates a flexible binding pocket and leads to more accurate models. This step is only needed for the old ligand docking protocol as GA ligand docking will automatically sample various conformations internally and dynamically.\nThe conformer file can be generated with a program called [OpenBabel](http://openbabel.org/wiki/Main_Page). Use the command below to generate a conformer file for a ligand named `ligand_confs.pdb`.:\n\n```\nobabel ligand.pdb -O ligand_confs.pdb --confab --conf 1000 \u2014writeconformer\n```\n\n**Params File**\n\nThe params file contains various information about the molecules chemical and geometric information that will be used to determine its amino acids\u2019 connectivity to other amino acid residues. Rosetta needs a param file of the ligand in order to run its ligand docking protocol. The params file can be generated from a MOL2 file format of the ligand. A PDB file (a more common format) can be converted into a MOL2 format. However, PDB files are usually missing information about the hydrogens of a molecule since in many use cases they are not necessary. In order to convert PDB to MOL2, first use [phenix.reduce](https://www.phenix-online.org/documentation/reference/hydrogens.html) to add hydrogens to the PDB file. Then, use OpenBabal to convert the PDB to MOL2 file type. Finally, Rosetta provides a script to convert the MOL2 file into the params file. An example is shown below:\n\n```\npython rosetta/main/source/scripts/python/apps/public/molfile_to_params.py --keep-names\nligand.mol2 -p ligand -n ligand --conformers-in-one-file ligand_confs.pdb\n```\n\n**Dock XML**\n\nThe `dock.xml` file tells Rosetta Script what precise movers it needs to use. We used the following script to run GA ligand docking:\n\n",type:"MARKDOWN"},{data:'ACCORDION\n===\nRosettascript\n```\n<ROSETTASCRIPTS>\n <SCOREFXNS>\n <ScoreFunction name="genpot_soft" weights="beta">\n <Reweight scoretype="fa_rep" weight="0.2"/>\n </ScoreFunction>\n <ScoreFunction name="genpot" weights="beta_cart">\n <Reweight scoretype="coordinate_constraint" weight="0.1"/> \n </ScoreFunction>\n </SCOREFXNS>\n\n <TASKOPERATIONS>\n </TASKOPERATIONS>\n\n <FILTERS>\n </FILTERS>\n\n <MOVERS>\n <GALigandDock name="dock" scorefxn="genpot_soft" \n scorefxn_relax="genpot" grid_step="0.25" hashsize="8.0" \n subhash="3" final_exact_minimize="bbsc1"\t\t \n init_oversample="10" rotprob="0.9" rotEcut="100"\n padding="4.0" sidechains="aniso" sc_edge_buffer="0" \n favor_native="2" fastrelax_script="relax.script"> \n <Stage repeats="10" npool="100" pmut="0.2" smoothing="0.375" rmsdthreshold="2" maxiter="50" pack_cycles="100" ramp_schedule="0.1,1.0"/> \n </GALigandDock>\n </MOVERS>\n\n <PROTOCOLS>\n <Add mover="dock"/>\n </PROTOCOLS>\n <OUTPUT scorefxn_relax="genpot"/>\n</ROSETTASCRIPTS>\n```\n',type:"SPECIAL"},{data:"**Running the script**\n\nRosetta scripts should then be run with the following options in order to generate GA ligand docking models: \n\n```\nrosetta/main/source/bin/rosetta_scripts.default.linuxgccrelease\n\t-s input.pdb \n\t-parser:protocol dock.xml\n\t-beta_cart\n\t-extra_res_fa ligand.params \n\t-in::file::load_PDB_components false \n\t-nstruct 1\n```\n\n## Protein to Protein Docking\n\nThe last step of our simulation was to simulate the dimerization of the dimer nanobody to the anchor nanobody and ligand complex. This can be achieved through use of Rosetta\u2019s protein to protein docking protocol. Docking two proteins together is a much harder process than docking a small molecule to a single nanobody due to the larger surface area causing exponentially more interactions between amino acid residues. We expected that the variable loop region of the dimerization nanobody would dock onto the ligand binding pocket of the anchor nanobody as shown in Figure 4.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/0/01/T--Washington--ConformModel.png,CID of dimer nanobody with ligand and anchor nanobody complex,boxShadow: 5px 5px 10px gray,margin:auto,width:70%",type:"IMAGE"},{data:"Caption Figure 4: CID of dimer nanobody (blue) with the ligand (red) and anchor nanobody (green) complex. This is a conformation close to what we expected, but there was not adequate convergence to this conformation.\n\n### Methodology\n\nTo dock our dimerization nanobody to the ligand-anchor nanobody complex, we used the [RosettaDock](https://www.rosettacommons.org/manuals/archive/rosetta3.4_user_guide/d0/de4/docking_protocol.html) protocol. This protocol uses a similar Monte Carlo algorithm for sampling that the RosettaCM protocol used for homology modeling. This protocol requires a PDB that contains both the dimer nanobody and the ligand-anchor complex. This can be accomplished through concatenating the contents of the complex PDB file found through GA ligand docking, into the dimer nanobody PDB from homology modeling. This concatenation has to be done for the cross product of all the complex PDBs with all the dimerized PDBs since each possible combination of the best models has to be accounted for in our simulations. \n\nThis combined PDB first needs to be pre-packed using the [Docking Prepack](https://www.rosettacommons.org/manuals/archive/rosetta3.4_user_guide/de/d69/docking_prepack_protocol.html) protocol. In order for this protocol to work, the chain IDs of the CBD ligand and the anchor nanobody must be the same while chain ID of the dimerization nanobody should be different. This is because Rosetta will only dock proteins with different chain IDs. We created a script that renames the chain IDs and runs both protocols. Note that file names listed are general and must be renamed to work correctly. The `CBD.params` file generated in ligand docking will also be used here.",type:"MARKDOWN"},{data:'ACCORDION\n===\nScript\n```\n#!/bin/bash\n\n# Rename chains of the ligand and anchor nanobodies to match\nawk \'{if ($1=="ATOM"||$1=="HETATM") print substr($0,0,21)"A"substr($0,23); else print $0}\' complex.pdb > complex-relabeled.pdb\n\n# Rename chain of dimerization nanobody to be different. Rosetta docks different chain IDs.\nawk \'{if ($1=="ATOM"||$1=="HETATM") print substr($0,0,21)"B"substr($0,23); else print $0}\' dimer.pdb > dimer-relabeled.pdb\n\n# Concatenate both chains into one file\ncat complex-relabeled.pdb dimer-relabeled.pdb > combined.pdb\n\n# run pre-packing protocol\nrosetta/main/source/bin/docking_prepack_protocol.default.linuxgccrelease -s combined.pdb -in:file:extra_res_fa CBD.params\n\nrosetta/main/source/bin/docking_protocol.default.linuxgccrelease\n\t-nstruct 1\n\t-ex1\n\t-ex2aro\n```',type:"SPECIAL"},{data:"## Results\n\nThrough Rosetta\u2019s homology modeling protocol we were successfully able to create accurate structures for several of our CBD anchor and dimer nanobodies without the expensive and time consuming process of crystallography. With these predicted models we were then able to perform ligand docking with the anchor nanobodies to see how a CBD molecule will dock and bind to our nanobody. After failing to find adequate convergence through the traditional docking protocol, we decided to use the newly developed GA ligand docking Rosetta protocol. Because this protocol uses a genetic algorithm as well as examining the different possible ligand conformations inside Rosetta, we were able to find a strong convergence of the ligand within a pocket of the anchor nanobodies.\n\nOur homology modeling showcased 3 variable loop regions in our anchor and dimerization nanobodies. A composite image of the top 10 best structures from our simulations of an anchor nanobody illustrates the relatively unchanging body of the protein along side the 3 variable loop regions. This is shown below in figure 5.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/f/f4/T--Washington--AnchorBody.gif,PyMOL animation,boxShadow: 5px 5px 10px gray,margin:auto,width:50%",type:"IMAGE"},{data:"Figure 5: PyMOL animation of the top homology models for a single anchor nanobody of CBD",type:"MARKDOWN"},{data:"The sequence in these loop regions are the most varied part between our nanobodies and the proteins found through BLAST since they govern what our proteins bind to. Our model reflects this in the relatively unconverged right and left loops. When there is no ligand present in the nanobodies their variable loops have nothing to bind to and so do not have as rigid of a structure, which is why we do not see as much convergence in two of the varied regions (the left and right loops) compared to the rest of the protein. The third varied loop sees very good convergence compared to the other two regions since it is still rigid like the rest of the protein without the presence of a ligand.\n\nThe results from the old ligand docking protocol clearly showed the non-convergence between the best (lowest energy) models generated. However, through GA ligand docking we were able to find a very tight convergence of the ligand into a single pocket as shown in Figure 6 depicting our top 5 models of CBD docking onto an anchor nanobody. This further confirms wetlab\u2019s results of the anchor nanobody binding strongly to the CBD molecule. \n\nAs a control we also preformed homology modeling on a nanobody found through biopanning which did not show as high of a binding affinity to CBD compared to others. We hope to be able to simulate ligand docking with this nanobody and find little convergence of CBD, confirming wetlab\u2019s hypothesis that this different protein does not tightly bind to our ligand.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/7/73/T--Washington--LigDockAnim.gif,Ligand Docking Animation,boxShadow: 5px 5px 10px gray,margin:auto,width:50%",type:"IMAGE"},{data:"Figure 6: A surface view of the CDB ligand docking into the anchor nanobody with excellent convergence between the different models.\n\nOur last step of simulating the dimerization of the dimer nanobody to the ligand-anchor complex did not yield sensible results. There was also a lack of convergence between the different models generated from RosettaDock. A common problem was the ligand interfacing with the side of the dimer nanobody instead of the variable loops region as shown in Figure 7. Many low energy models also had the dimer nanobody connecting with a random side of the anchor nanobody, not anywhere near the ligand. We are continuing to refine our process and parameters for RosettaDock including tightening constraints of where the dimer nanobody can bind to the complex. Having more constraints will give Rosetta a smaller sample space, discouraging it from exploring wild non convergent structures.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/d/dd/T--Washington--liganchor.png,Dimer protein to ligand-anchor complex,boxShadow: 5px 5px 10px gray,margin:auto,width:70%",type:"IMAGE"},{data:"Figure 7: A model of the dimer protein to the ligand-anchor complex showing an unrealistic conformation, but one that was prevalent in our results.\n\n### Future Work\n\nWe hope to introduce more variables into our simulations in the future. Specifically, we want to simulate nanobodies with a mutation in the variable loop regions to see how it may affect ligand docking and the dimerization of the second nanobody. Being able to produce a relatively accurate depiction of binding affinity would help wetlab eliminate nanobodies that are unlikely to be good candidates to bind to a particular molecule. Mutations in the amino acid sequence can also be introduced and simulated in order to see which amino acids are affecting the binding strength the most. \n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ntellurium\nTellurium",type:"SPECIAL"},{data:"# Tellurium",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/2d/T--Washington--TelluriumLogo.png,Tellurium logo,margin:auto,width:70%,maxWidth:300px",type:"IMAGE"},{data:'## Introduction\n\n[Tellurium](https://tellurium.readthedocs.io/en/latest/index.html) is an open-source Python environment developed for kinetic mathematical modeling of biological networks, developed by the Sauro lab at the University of Washington. The backend of Tellurium is coded in C++, allowing it to be fast enough to be used for highly complex systems. It can model ODEs, PDEs, and stochastic differential equations. In many ways, Tellurium is our open-source, robust substitute for an expensive multi-paradigm numerical computing system such as MATLAB.\n\nTellurium is most useful for understanding the kinetics of a system, and our team used it to model the chemical networks relevant to our project. These kinetics give us insight into how fast a reaction proceeds and how certain parameters of the model affect the outcome. When applied to a gene network, we gain insight into rate-limiting steps, whether or not a system comes to a steady state, and how the system acts if it is perturbed. This information gives the Wetlab team some insights in the future about what they ought to expect from their experiments, and helped us determine likely sources of error. Furthermore, we would be able to directly compare different Wetlab procedures and assess them on desirable characteristics such as time to completion and resource-use efficiency.\n\nThe classic understanding of the kinetics of a system is that the rate-limiting step controls the rate at which the overall reaction proceeds. If you increase the rate of the rate-limiting step, then you increase the rate of the overall reaction. The rate limiting step has complete "control" over the overall reaction rate. However, real systems are rarely this simple, especially when a biological network has feedback loops. Control is typically shared unequally between multiple steps, and it is rarely easy to identify which steps have greater control than others. [2] Tellurium gives us an option for computing which can give us insights for how to efficiently manufacture a molecule of interest or how we can modify the gene network to make a cell produce more or less of a compound.\n',type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/8/8d/T--Washington--GenNetwork.png,Flow graph of chemical reaction network,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:800px",type:"IMAGE"},{data:"Figure 8: An example flow graph for easy visualization of a chemical reaction network.\n\nWe began with a basic model for nanobody dimerization. This model uses antibody kinetic data from [Bionumbers](http://bionumbers.hms.harvard.edu/) and assumes a pre-existing nanobody concentration.\n\n## Kinetic Modeling",type:"MARKDOWN"},{data:"ACCORDION\n===\nModel code\n```\nmodel feedback()\n // Reactions:\n J0: Nan1 + Mol -> Nan1Mol; (K1*Nan1*Mol);\n J1: Nan1Mol -> Nan1 + Mol; (K_1*Nan1Mol); \n J2: Nan1Mol + Nan2 -> Nan1MolNan2; (K2*Nan1Mol*Nan2)\n J3: Nan1MolNan2 -> Nan1Mol + Nan2; (K_2*Nan1MolNan2)\n J4: Nan1MolNan2 + GeneOff -> GeneOn; (K3*Nan1MolNan2*GeneOff);\n J5: GeneOn -> Nan1MolNan2 + GeneOff; (K_3*GeneOn);\n \n // Species initializations:\n Nan1 = 0.0001692; Mol = 0.0001692/2; Nan2 = 0.0001692; Nan1Mol = 0;\n Nan1MolNan2 = 0; GeneOff = 5*10^-5; GeneOn = 0;\n \n // Variable initialization:\n K1 = 6.1*10^5; K_1 = 8*10^-5; K2 = 3.3*10^5; K_2 = 5.7*10^-8; K3 = 1*10^5; K_3 = 0;\n```",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/1/15/T--Washington--RegNetwork.png,Simulation of first constructed model for the CID nanobody system,boxShadow: 5px 5px 10px gray,margin:auto,width:70%;maxWidth:600px",type:"IMAGE"},{data:"Figure 9: The simulation of our first constructed model for the CID nanobody system showing concentration of the various molecules involved over time.\n\nThe benefit of this simple model was that it allowed us to look more closely at the individual interactions and their response to perturbations. Using parameter sweeping, we could step over a range of values for each parameter and inspect how that given change altered the overall output: the amount of our target gene activated. We see that K3, the parameter associated to the binding of the transcription factor (the nanobody dimer) to our gene, and K2, the parameter associated to dimerization, are the most sensitive to alterations, while K1, the parameter associated to the first/anchor nanobody binding to the target molecule, and the associated reverse reactions (K_1, K_2, and K_3) are less so. This told us that these two steps were the ones most prone to create experimental error in Wetlab, and that a strong dimerization is more important than a strong connection between the anchor and target molecule. As such, when panning for possible nanobodies and running our Rosetta docking simulations, we prioritized a strong dimerization over a strong anchor-binding.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/2b/T--Washington--ParamSweep.png,Parameter sweep,boxShadow: 5px 5px 10px gray,margin:auto,width:90%,maxWidth:1200px",type:"IMAGE"},{data:"Figure 10: The parameter sweep, where each subplot contains numerous simulations varying the parameter of interest. Wider distributions show that some parameters are more susceptible to uncertainty than others.\n\nWe expanded upon this basic model by introducing steps for the transcription and translation of the nanobodies, as was the case in our Wetlab experiments. Additionally, we added in the separate compartments involved in the process. This added in another constraint to the system by forcing the model to account for diffusion rates. \nFor this project, we used this model to help approximate the timespan over which our reactions occur, but in the future, we would like to use this model to perform more in-depth analysis of our system.\n",type:"MARKDOWN"},{data:'ACCORDION\n===\nAdvanced Model\n```\nantimonyString = (""" \n J0: $AncDNA -> AncRNANuc ; a_rna * AncDNA\n J1: $DimDNA -> DimRNANuc ; a_rna * DimDNA\n # transcription\n # units of (mRNA copies)/(sec)\n J3: AncRNANuc -> AncRNACyt ; diffusion_rna * AncRNANuc - diffusion_rna * AncRNACyt \n J2: DimRNANuc -> DimRNACyt ; diffusion_rna * DimRNANuc - diffusion_rna * DimRNACyt\n # mRNA transport out of the nucleus into the cytoplasm\n # units of (mRNA copies)/(sec)\n \n J4: AncRNACyt -> ; d_rna * AncRNACyt\n J5: DimRNACyt -> ; d_rna * DimRNACyt\n J6: AncRNANuc -> ; d_rna * AncRNANuc\n J7: DimRNANuc -> ; d_rna * DimRNANuc\n # mRNA decay\n # units of 1/(sec) * (mRNA copies) = (mRNA copies)/(sec)\n J8: -> AncBinder ; a_nb * AncRNACyt\n J9: -> DimBinder ; a_nb * DimRNACyt\n # translation\n # units of (protein copies)/(sec * mRNA copies) * (mRNA copies) = (protein copies / sec)\n \n J10: AncBinder -> ; d_nb * AncBinder\n J11: DimBinder -> ; d_nb * DimBinder\n J12: DimerCyt -> ; d_nb * DimerCyt\n J13: DimerNuc -> ; d_nb * DimerNuc\n # protein decay\n # units of (1 / sec) * (protein copies) = (protein copies / sec)\n \n J14: MoleculeMedium -> MoleculeCyt ; (MoleculeMedium - MoleculeCyt) * diffusion_mol\n \n J29: MoleculeCyt + AncBinder -> Complex ; k_on_anchor_binder * MoleculeCyt * AncBinder - k_off_anchor_binder * Complex\n # the anchor binder binds to molecule of interest to form a complex.\n # nanobody complexes may dissociate over time\n # units for forward reaction: (1 / (mols / liter) * sec) / (copies / mol) / liters * copies * copies = copies / sec\n # units for backwards reaction: (1 / sec) * copies = copies / sec\n J15: Complex + DimBinder -> DimerCyt ; k_on_dimerization_binder * DimBinder * Complex - k_off_dimerization_binder * DimerCyt\n # dimerization binder binds to complex to form dimers \n # dimers may dissociate, but much less often than complexes\n # units for forward reaction: (1 / (mols / liter) * sec) / (copies / mol) / liters * copies * copies = copies / sec\n # units for backwards reaction: (1 / sec) * copies = copies / sec\n \n J16: DimerCyt -> DimerNuc; diffusion_nb * DimerCyt \n J17: DimerNuc -> DimerCyt; diffusion_nb * DimerNuc\n # dimer must be transported into the cell to act as a transcription factor\n \n J18: DimerNuc + GeneOff -> GeneOn; k_on_transcription_factor * DimerNuc * GeneOff - k_off_transcription_factor * GeneOn\n # dimer acts as transcription factor for a gene\n # units: (copies) / (copies)\n \n J19: -> RepRNANuc ; a_rna * GeneOn\n J20: RepRNANuc -> RepRNACyt ; diffusion_rna * RepRNANuc - diffusion_rna * RepRNACyt\n J22: RepRNANuc -> ; d_rna * RepRNANuc\n J23: RepRNACyt -> ; d_rna * RepRNACyt\n J24: -> Rep ; a_nb * RepRNACyt\n J25: Rep -> ; d_nb * Rep\n # the activated gene transcribes a reporter\n \n J26: GeneOn -> GeneOff ; d_nb * GeneOn\n # The dimer can decay even while on the gene itself\n \n # *****************************************************************************************************************************\n # Parameters\n \n AvoNum = 6.02 * 10^23;\n \n TotalCellVol = 30.3 * 10^(-6);\n NucleusVol = 4.3 * 10^(-6);\n CytoplasmVol = TotalCellVol - NucleusVol;\n # all volumes given in units of L, \n # volumes from http://bionumbers.hms.harvard.edu/bionumber.aspx?id=106557&ver=1&trm=yeast%20cytoplasm%20volume&org=\n \n scalingFactor = 1;\n # since all our rates/rate constants are in seconds, we can scale time by multiplying each time-dependent parameter by a scaling factor\n # this particular value scales the parameters for time units of hours\n \n a_rna = (0.002) * scalingFactor;\n # median transcription rate = 0.12 mRNA molecules/min = 0.002 mRNA molecules/sec\n # median transcription rate from http://bionumbers.hms.harvard.edu/bionumber.aspx?id=106766&ver=3&trm=transcription%20rate%20yeast&org=\n # KEY ASSUMPTION: the rate of transcription of our nanobody gene is constant. \n # in reality, it may not be safe to assume that our molecule is transcribed by the median transcription rate\n \n d_rna = 5.6 * 10^(-4) * scalingFactor; \n # 5.6 * 10 ^ -4 = mRNA decay rate constant in units of sec^-1\n # mRNA decay constant found from http://bionumbers.hms.harvard.edu/bionumber.aspx?id=105510&ver=5&trm=mrna%20s.%20cerevisiae&org=\n \n a_nb = (0.0185) * scalingFactor;\n # yeast has no rough ER, so translation occurs in the cytoplasm\n # median time for translation initiation = 4.0 * 10^2 s * mRNA / protein\n # median elongation rate = 9.5 aa/s\n # nanobody average amino acids = 130 aa\n # time for elongation = (130 aa / protein)/(9.5 aa/s) = 14 sec / protein\n # total time for 1 mRNA transcript = 14 sec / protein + 40 sec = 54 sec\n # rate at which mRNA is transcribed = 1 protein/(54 sec * 1 mRNA) / ~ 0.0185 protein/(sec mRNA)\n # it is notable that translation initiation rate can vary between mRNA by orders of magnitude\n # all data from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3694300/\n d_nb = 2.6 * 10^(-4) * scalingFactor;\n # which shows that the median half-life of a protein in a budding yeast cell is 43 minutes\n # median rate constant of degradation of proteins in a yeast cell = 2.6e-4 1/sec\n # data from http://www.pnas.org/content/103/35/13004 (doi: https://doi.org/10.1073/pnas.0605420103) https://www.nature.com/articles/nature10098,\n \n K_d_anchor_binder = 20 * 10^-6 * scalingFactor;\n k_on_anchor_binder = 4.0 * 10^5 * scalingFactor;\n k_off_anchor_binder = K_d_anchor_binder * k_on_anchor_binder * scalingFactor;\n # k_on of antibody-binding to cytochrome C = (4.0 +- 0.3) * 10^5 1/(M * sec)\n # From gu\'s data, K_d of anchor binder binding = 20 * 10^-6, units of M\n # K_d = k_off / k_on, therefore k_off = K_d * k_on\n # 4.0 * 10^5 1/(M * sec) * (20 * 10^-6 M) = 80 * 10^-1 (sec^-1)\n # this is one of the binding affinities that we will do a parameter sweep to learn more about\n \n K_d_dimerization_binder = 1 * 10^-7 * scalingFactor;\n k_on_dimerization_binder = 4.0 * 10^5 * scalingFactor;\n k_off_dimerization_binder = K_d_dimerization_binder * k_on_dimerization_binder * scalingFactor;\n # k_on of antibody-binding to cytochrome C = (4.0 +- 0.3) * 10^5, units of 1/(M * sec)\n # from Gu\'s data, K_d of dimerization binder binding = 100 * 10^-9, units of M\n # K_d = k_off / k_on, therefore k_off = K_d * k_on\n # 4.0 * 10^5 1/(M * sec) * (100 * 10^-6 M) = 400 * 10^-1 (sec^-1)\n # this is one of the binding affinities that we will do a parameter sweep to learn more about\n \n k_on_transcription_factor = 1.0 * 10^4 * scalingFactor;\n k_off_transcription_factor = 1.11 * 10^-3 * scalingFactor;\n # k_on of Egr1 DNA binding domain = 1.0 * 10^9, units of 1/(sec * M)\n # k_off of EGr1 DNA binding domain = 1.11 * 10^-3, units of 1/sec\n # data from http://bionumbers.hms.harvard.edu/bionumber.aspx?s=n&v=5&id=104597\n \n diffusion_rna = 1.0 * 10^-1; \n diffusion_nb = 0.3; \n diffusion_mol = 1.8 * 10^-2\n \n # *****************************************************************************************************************************************\n # Initial values\n # These are all in copies\n AncDNA = 1; \n DimDNA = 1;\n Mol = 0;\n GeneOff = 1;\n MoleculeAdded = 0;\n \n # We don\'t strictly need to initialize all these additional variables, but doing so supresses errors when using gillespie for stochastic simulations\n AncRNANuc = 0;\n AncRNACyt = 0;\n DimRNANuc = 0;\n DimRNACyt = 0;\n AncBinder = 0;\n DimBinder = 0;\n Complex = 0;\n DimerCyt = 0;\n DimerNuc = 0;\n GeneOn = 0;\n RepRNANuc = 0;\n RepRNACyt = 0;\n Rep = 0; \n MoleculeCyt = 0;\n MoleculeMedium = 0;\n \n # this makes it so that the molecule is added at the appropriate time \n at time >= 5 * 60 * 60: MoleculeMedium = MoleculeAdded;\n \n \n""");\n```',type:"SPECIAL"},{data:"## Logic Gates\n\nThrough simulations, we explored some examples of how a CID nanobody system can be used to construct digital logic gates. We came up with one design for each basic gate (NOT, AND/NAND, OR/NOR). The basis of the CID nanobody gates is a biosensor where for each binding pair one nanobody is attached to a DNA binding domain, and the other nanobody is attached to a promoter. This anchoring of the promoter causes the upstream gene to be transcribed much more often. Transcription rarely happens when the promoter is not anchored.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/a/a2/T--Washington--LogicGateNOT.jpg,inverter,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:600px",type:"IMAGE"},{data:"In this example the CID complex promotes the transcription of a repressor to make an inverter.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/a/aa/T--Washington--LogicGateAND.jpg,Logic gate and,boxShadow: 5px 5px 10px gray,margin:auto,width:80%,maxWidth:600px",type:"IMAGE"},{data:"For the AND/NAND gate, the first CID complex promotes transcription of the first nanobody for a second CID complex. This second CID complex then promotes transcription of a reporter or repressor.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/c/c5/T--Washington--LogicGateOR.jpg,OR/NOR gate,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:600px",type:"IMAGE"},{data:"For the OR/NOR gate, both CID complexes promote transcription of the same reporter or the same repressor.\n\nWe also did some basic modelling on the AND and OR gates to get an idea of their behaviour. These were simple extensions of our basic model.\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/9/94/T--Washington--ANDGateSimulation.jpg,And gates simulation,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:600px",type:"IMAGE"},{data:"AND gate simulation. This shows the desired behaviour, but the timescale needs to be reconsidered in the future.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/2b/T--Washington--ORGateSimulation.jpg,or gate simulation,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:600px",type:"IMAGE"},{data:"OR gate simulation. This also shows the desired behaviour and has the same timescale issue.\n\nFuture steps to take would be to use experimental kinetic data to create a more accurate model, and to compare that to similar models for existing implementations of digital logic gates. This would help us understand the viability of implementing logic functions using a CID nanobody system, and give us insight on what needs to be improved to make it comparably or more efficient.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nevents\nEvents",type:"SPECIAL"},{data:"# Events\n\nWe participated in a weekly student run class before the iGEM season began to learn about mathematical biology. In this class we became familiar with Tellurium and Rosetta, which would serve as the centerpieces of our modelling work done during the summer. At the end of the quarter we made presentations about our preliminary findings.\n\nWe hosted two hackathon events to promote unity, share knowledge, and build teamwork for our modeling team. The first one was titled SSH, or \u201cSimulations Saturday Hangout.\u201d At this twelve-hour event we taught each other about various programming languages\u2014including C++, Python, and LaTeX\u2014did team building exercises, and had an ice-cream social. The second event \u201cSimulations Saturday Hangout On A Tuesday,\u201d or SSHOAT, had a similar itinerary\u2014this time seven hours in length and including presentations on advanced Python programming and Vim editing.\n\nWe also taught about computational biology and the tools we used over the summer (Tellurium & Rosetta) during a modelling workshop at the Pacific Northwest iGEM meetup. In this workshop we introduced members from other iGEM teams to the basics of mathematical modeling, including basic overviews of ODEs and Monte Carlo simulations. We then showed them how to create kinetic models of simple chemical reactions in Tellurium. Our hope was to inspire them to use the power of modeling in their future projects.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/6/61/T--Washington--MeetupSimWorkshop.jpg,PNW Meetup Simulations Workshop,boxShadow: 5px 5px 10px gray,margin:auto,width:70%,maxWidth:800px",type:"IMAGE"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations\n\n1. Pierce, N. a & Winfree, E. Protein design is NP-hard. Protein Eng. 15, 779\u2013782 (2002).\n2. Pages 142\u2013144 in Sauro, H. M. Systems Biology: An Introduction to Metabolic Control Analysis. (Ambrosius Publishing, 2018).\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"NAVIGATION\nLEFT=https://2018.igem.org/Team:Washington/InterLab;LEFTNAME=InterLab;RIGHT=https://2018.igem.org/Team:Washington/Results;RIGHTNAME=Results",type:"SPECIAL"}],isContent:!0,pageTitle:"/Model"},{content:[{data:"HEADER\nTEXT=RESULTS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nlorem\nloremip",type:"SPECIAL"},{data:"# Lorem\n\nLorem ipsum",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Results"},{content:[{data:"HEADER\nTEXT=PARTS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nBLUR=3\nMINPADDINGTOP=120",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"# Overview\n\nThis year, we created a number of biobrick parts that have stemmed from our work with nanobody CID systems and biopanning. The parts that we have created are codon optimized and ready to be cloned into expression vectors, allowing for seamless integration of our foundational CID system into any other project.\n\nThe nanobodies submitted consist of dimerization binding pairs for Cannabidiol (CBD) that were selected by the Gu Lab at the University of Washington, including an anchor nanobody that binds to CBD and dimerization binders that bind to the CBD anchor binder complex. Together, these parts create the scaffold for future CID systems, such as a biosensor or a transcriptional switch. \n\nAdditionally, we submitted the anchor-binding nanobody for Artemisinin, identified by our lab after extensive biopanning through a synthetic library. This Biobrick was characterized through ELISA, which demonstrated its high binding specificity for the small molecule Artemisinin.\n\n| Part Name | Registry Number | Link to part |\n|-|-|-|\n| CBD Nanobody Anchor Binder | BBa_K2682000 | [Link](http://parts.igem.org/Part:BBa_K2682000)\n%7C CBD Nanobody Dimer Binder 1 | BBa_K2682001 | [Link](http://parts.igem.org/Part:BBa_K2682001)\n%7C CBD Nanobody Dimer Binder 3 | BBa_K2682002 | [Link](http://parts.igem.org/Part:BBa_K2682002)\n%7C Artemisinin Anchor Binder | BBa_K2682003 | [Link](http://parts.igem.org/Part:BBa_K2682003)\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations\n\nYan, J., Li, G., Hu, Y., Ou, W. & Wan, Y. Construction of a synthetic phage-displayed Nanobody library with CDR3 regions randomized by trinucleotide cassettes for diagnostic applications. Journal of Translational Medicine 12, 343 (2014).",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Parts"},{content:[{data:"HEADER\nTEXT=HUMAN PRACTICES\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=9\nMINTITLEHEIGHT=6\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"# Human Practices - Introduction\n\nWith our theme of \u201cStronger Together\u201d in mind, our team sought to integrate human practices into nearly every part of our project. This was made possible by an extremely interdisciplinary team, with interests in not only science, but also business, design, communication, education, and public engagement. In addition to thinking carefully and creatively about the impact of our project on our world, we actively engaged with stakeholders and the public about our project, and the dialogues we had informed and shaped the direction of our work. Furthermore, as a team, we firmly believe in giving back to our community and that having a positive presence in our neighborhoods is essential to fostering a climate open to science and innovation. Thus, our work outside of the lab, including our education projects, events for the public, and collaborations with other teams, was extremely important to us.",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/5/5e/T--Washington--ihpbanner.png;DESCRIPTION=This year, we aimed to engage stakeholders, examine our project\u2019s economic and societal implications, and communicate our work effectively and transparently. Our lab work was largely shaped by our conversations with stakeholders and the public. We spoke with doctors about how vitamin D deficiency affects our local community and reached out to Amyris and other companies for ideas on valuable molecular targets that need detection. By taking a holistic approach to our research, we can make positive differences in multiple areas in our communities.;LINK=https://2018.igem.org/Team:Washington/Integrated_Human_Practices;TITLE=Integrated Human Practices;XPOS=100\nPICTURE=https://static.igem.org/mediawiki/2018/2/2d/T--Washington--Panel.png;DESCRIPTION=We believe that collaboration between teams is one of the most productive and fun aspects of iGEM because it allows us to hear about ideas and experiences from other teams as well as share our ideas with other excited scientists. This year, we collaborated with iTesla-SoundBio, our local high-school team, on training and InterLab, and hosted the first-ever Pacific Northwest iGEM Meetup for teams in our region. We also worked with teams abroad to translate our outreach booklet and implement our activities in their communities.;LINK=https://2018.igem.org/Team:Washington/Collaborations;XPOS=60;TITLE=Collaborations\nPICTURE=https://static.igem.org/mediawiki/2018/e/e0/T--Washington--Sadhana1.jpg;DESCRIPTION=Our outreach team\u2019s goal was to increase science literacy, particularly relating to synthetic biology, among younger students and the general public. Our outreach efforts especially targeted underserved communities. We created a 100+ page synthetic biology activity booklet that was translated into multiple languages by other teams to aid in teaching synthetic biology to students around the world. Additionally, we organized many events, including visiting classrooms, teaching kids with autism, tabling at community events, and instructing students in Ahmedabad, India. We also created a dialogue with the general public through \u201cman-on-the-street\u201d-style interviews and a synthetic biology panel event.;LINK=https://2018.igem.org/Team:Washington/Public_Engagement;XPOS=25;TITLE=Education & Engagement\nPICTURE=https://static.igem.org/mediawiki/2018/thumb/7/73/T--Washington--LumenVisit.jpg/800px-T--Washington--LumenVisit.jpg;DESCRIPTION=Our business team was developed to engage with potential stakeholders, customers, and industry advisors about the feasibility of bringing our new technology to market. We consulted scientists from several well-known institutions to improve our understanding of issues they face and gauge the commercial value of our products. We assessed the needs of these potential customers by identifying small molecules that they have trouble detecting. Our team assimilated information that we gained from interviews and market research into a detailed business plan outlining our strategy for introducing our products to market.;LINK=https://2018.igem.org/Team:Washington/Entrepreneurship;XPOS=60;TITLE=Entrepreneurship\nPICTURE=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png;DESCRIPTION=The Design team\u2019s goal was to help communicate our project more effectively to the outside world and spread the knowledge of synthetic biology and its potential impact. The art and design work we did allowed us to be more conscientious of our message and how to best portray that information for the intended audience. We worked on art for posters and flyers, designed logos for our project and events hosted by our team, and helped design competition deliverables including the figures, poster, presentation, and wiki. We also worked in partnership with the Outreach team to illustrate their synthetic biology activity booklet.;LINK=https://2018.igem.org/Team:Washington/HP_Design;XPOS=25;TITLE=Human Practices Design\nPICTURE=https://static.igem.org/mediawiki/2018/2/28/T--Washington--Zulipusage.jpg;DESCRIPTION=Because our team has grown so much in the last year and developed so many subteams, the complexity of our organization became too difficult to manage without making significant changes to our leadership structure and team communications. This year, we revamped administrative positions to better manage communication between leadership members and general team members, formalized channels for feedback on team management, and adopted a new communication platform to increase efficiency. Additionally, we formalized wetlab and drylab training programs by developing curriculum and teaching classes that students could receive credit for through our university.;LINK=https://2018.igem.org/Team:Washington/Team_Development;TITLE=Team Development;XPOS=80;YPOS=10",type:"SPECIAL"}],pageTitle:"/Human_Practices"},{content:[{data:"HEADER\nTEXT=COLLABORATIONS\nBACKGROUND=https://static.igem.org/mediawiki/2018/3/34/T--Washington--CollabHeader.jpg\nYPOS=50\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nMINPADDINGTOP=120\nTEXTHEIGHT=9\nMINTITLEHEIGHT=5\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\npnwmeetup\nPacific Northwest iGEM Meetup",type:"SPECIAL"},{data:"# Pacific Northwest iGEM Meetup",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/3/3d/T--Washington--PNWMeetup.png,Pacific Northwest iGEM Meetup,boxShadow:5px 5px 10px gray, margin:auto, width:60%",type:"IMAGE"},{data:"For the first time ever, the Washington iGEM hosted an iGEM meetup for Pacific Northwest teams on August 18-19. The Tacoma RAINMakers and the iTESLA-SoundBio teams participated in the event and made new connections with their fellow iGEM members. The event included a keynote speaker, a biotechnology industry panel, TEDx style guest talks, a talk given by the North American iGEM ambassadors, workshops, and an outreach event. Teams were also given an opportunity to practice their presentation for Jamboree during a practice presentation session. In addition, teams were able to practice their poster presenting skills during an open poster presentation.\n\nOur meetup booklet can be viewed [here](https://static.igem.org/mediawiki/2018/3/30/T--Washington--PNWMeetupBooklet.pdf).\n\n## Meet the teams:\n\n* [Tacoma RAINmakers](https://2018.igem.org/Team:Tacoma_RAINmakers)\n\n* [iTESLA-SoundBio](https://2018.igem.org/Team:iTesla-SoundBio)",type:"MARKDOWN"},{data:"## Keynote Speech",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/7/78/T--Washington--CollabKeynoteSpeech.png,Cindy Wu's keynote speech,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Keynote speeches can be viewed here:\n* [Keynote Part 1](https://drive.google.com/file/d/1O9DbK61Z3rGgBpRYyx1d52_5A8HAYaZZ/view)\n* [Keynote Part 2](https://drive.google.com/file/d/1RZyrFLx0LTwmERsED7L1gHyNJmD3anb7/view)\n\nWe were honored to have Cindy Wu, a Washington iGEM alum and co-founder of [Experiment](https://experiment.com/), a crowdfunding platform for scientific research, as our keynote speaker. Cindy Wu\u2019s keynote focused on the idea of \u201cdemocratizing science\u201d by opening up avenues of funding through crowdfunding via her startup.",type:"MARKDOWN"},{data:"## Biotechnology Panel",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/2d/T--Washington--Panel.png,Biotechnology panel,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Panel discussions can be viewed here:\n* [Part 1](https://drive.google.com/file/d/11cNp2ppGQHBbszrrUH_Bc5ODRaYJ61-_/view)\n* [Part 2](https://drive.google.com/file/d/1fG6MGbuwsMBo_FLpovj-iYECUfDNNJvX/view)\n* [Part 3](https://drive.google.com/file/d/1Dixfy6AgmLmfuS1RpGuQioFlLC20R7UP/view)\n* [Part 4](https://drive.google.com/file/d/1Yyq3REcPcMm5dcXTE6kzb2mLI9y93swI/view)\n\n## Description\n\nThe biotech panel included four leaders in the local startup and DIY Bio community, including three Washington iGEM alumni. They spoke about their experiences in academia, industry, non-profits, and what it was like to start their own endeavors. Some of the questions included:\n* What\u2019s your educational background? Tell us a little bit about who you are, where you came from, how you got the idea to start your own organization or company.\n* What does your company do; what are the main goals?\n* We heard from Cindy about why she decided to start Experiment, but for the others, what motivated you in the beginning?\n* Where do you see your company/organization in 5 years?\n* What inspired you to do what you do? What excites you most about your field of work? \n* For each of you, what are the biggest challenges you\u2019ve faced? Was there ever a time you wanted to give up?\n* What worries do you have about the future of your field?\n* What fascinates or concerns you most about citizen science?\n\n## Speakers",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=4\nDESCRIPTION=Dr. Ingrid Pultz, Washington iGEM alum, PVP Biologics;PICTURE=https://static.igem.org/mediawiki/2018/c/c0/T--Washington--Ingrid.png;XPOS=50;YPOS=50\nDESCRIPTION=Dr. David Younger, Washington iGEM alum, A-Alpha Bio;PICTURE=https://static.igem.org/mediawiki/2018/5/5e/T--Washington--David.png\nDESCRIPTION=Cindy Wu, Washington iGEM alum, Experiment.com;PICTURE=https://static.igem.org/mediawiki/2018/5/5b/T--Washington--CindyWu.png\nDESCRIPTION=Regina Wu, SoundBio Lab;PICTURE=T--Washington--Regina.png",type:"SPECIAL"},{data:"## Guest Talks",type:"MARKDOWN"},{data:"### Roya Amini-Naieni\n\nWashington iGEM alum, Harvey Mudd College class of 2021",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/e/ec/T--Washington--RoyaTalk.png,Roya's talk on her experiences in iGEM,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Roya Amini-Naieni's talk can be viewed here:\n\n[Roya's Talk](https://drive.google.com/file/d/135U7rY3eUX_yqgXVuXwANzbyXJvUIOsG/view)\n\nRoya talked about her experiences in iGEM as a high schooler and her journey to establishing a \u201cbiohackerspace\u201d at Harvey Mudd. Her talk focused on the tenacity that one must have to be involved with science, and the fact that it is never too early to start developing an interest in the scientific world.",type:"MARKDOWN"},{data:"### Dr. David Hirschberg\n\nUniversity of Washington - Tacoma",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/b/b1/T--Washington--Hirschberg.jpg,David Hirschberg's talk,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Dr. Hirschberg went back to the fundamentals of science and thinking about \u201cnothing.\u201d His talk focused on the impact that science has on the general population, and how we as students and future scientists could shape the future of the scientific world by being more accessible to those without formal training.",type:"MARKDOWN"},{data:"### Dr. Liangcai Gu\n\nUniversity of Washington - Seattle",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/b/b7/T--Washington--GuTalk.jpg,Dr. Gu's talk,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Dr. Gu's talk can be viewed here:\n\n[Dr. Gu's talk](https://drive.google.com/file/d/1R3yqb0pEsGa-U8Xkcx_dJKBVMJ2p21sC/view)\n\nDr. Gu talked about his research, specifically on the _in-situ_ DNA Sequencing that his lab has developed and utilizes to increase the efficiency of protein design as part of the Institute of Protein Design at the UW. His work is inspiring, and he showed students the innovation that can be achieved through science and inventive thinking.",type:"MARKDOWN"},{data:"## After iGEM Ambassadors",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/28/T--Washington--AmbassadorTalk.jpg,After iGEM Ambassadors talk,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"The iGEM Ambassadors\u2019 talk can be viewed here:\n\n[iGEM Ambassador Talk Part 1](https://drive.google.com/file/d/1qlQG5R66gXekedrID0aqjjBhyNnq2hDm/view)\n\n[iGEM Ambassador Talk Part 2](https://drive.google.com/file/d/1GvdWr7EknKcSIUcOzJ2EIKTbAJcZmJeq/view)\n\nThe iGEM ambassadors talked about the jamboree and the After iGEM program. They also gave valuable feedback on poster presentations and the practice presentations. Their experiences with iGEM guided attendees in figuring out the ins and outs of Jamboree, and helped the teams prepare more thoroughly for the big competition.\n\n## Workshops\n\n### Simulations",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/5/5f/T--Washington--SimulationsWorkshop.jpg,Simulations workshop,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"A member of our Drylab Simulations team presenting on creating simulations through mathematical modeling. This workshop focused on an aspect of iGEM that many teams we\u2019ve worked with struggle with: understanding the methods behind mathematical modeling and how to go about creating simulations.\n\n### Artistic Design",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/2/28/T--Washington--DesignWorkshop.jpg,Design Workshop,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"The artistic design workshop brainstorms ideas on how to creatively present ideas and concepts. The workshop was focused on making the design process approachable and clear while still emphasizing how different creative minds can collaborate to create something amazing.\n\n### Fundraising",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/4/48/T--Washington--FundraisingWorkshop.jpg,Fundraising Workshop,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Our fundraising lead/team advisor presenting on fundraising and how to effectively fundraise. The workshop was especially helpful as all the teams at the meetup rely on fundraising as a means to fund their lab work and their involvement in iGEM.",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=2\nPICTURE=https://static.igem.org/mediawiki/2018/3/3b/T--Washington--Outreach1.jpg;XPOS=50;YPOS=50\nPICTURE=https://static.igem.org/mediawiki/2018/6/61/T--Washington--Outreach2.jpg;XPOS=50;YPOS=50",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/4/4b/T--Washington--Outreach3.jpg,Outreach 3,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"As a joint outreach event all three teams traveled to Gasworks Park, a public park near the University of Washington, and set up activities for the general public to participate in. We also sent our members around the park to talk with the general public and ask questions about their knowledge of synthetic biology. A more detailed description can be read on the [outreach page](https://2018.igem.org/Team:Washington/Public_Engagement).\n\n## Practice Presentations",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=2\nPICTURE=https://static.igem.org/mediawiki/2018/5/53/T--Washington--TacomaPresentation.jpg;XPOS=50;YPOS=50\nPICTURE=https://static.igem.org/mediawiki/2018/2/25/T--Washington--iTeslaPresentation.jpg;XPOS=50;YPOS=50",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/5/55/T--Washington--WashingtonPresentation.jpg,Washington Presentation,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Each team gave a presentation on their project to the rest of the attendees, including the After iGEM Ambassadors. The presentations were both inspiring and insightful, and each team deeply valued the feedback they received through this session. For our team, it was our presenters\u2019 first time speaking about our project to a large audience and it gave them an opportunity to think quick on their feet as they were asked questions in real time. Overall, this was one of the most helpful parts of the meetup as it allowed students who have never been to the Jamboree to experience a presentation setting.\n\n## Poster Session",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=2\nPICTURE=https://static.igem.org/mediawiki/2018/7/70/T--Washington--Poster2.jpg;XPOS=50;YPOS=50\nPICTURE=https://static.igem.org/mediawiki/2018/a/ac/T--Washington--Poster3.jpg;XPOS=50;YPOS=50",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/1/1c/T--Washington--Poster1.jpg,Poster presentation,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Teams were able to practice their poster presenting skills by presenting to other teams and the After iGEM Ambassadors. They made handmade posters during the meetup and presented the next day. This allowed every member besides the presenters to practice talking about their projects and answering questions in real time. It was especially helpful to experience the poster sessions in a low-stress environment to help newcomers get comfortable with the process.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\noutreachbooklet\nOutreach Booklet",type:"SPECIAL"},{data:"# Outreach Booklet\n\nThis year, our outreach team created an extensive booklet with activities that can be done with school children to teach them about synthetic biology. As part of our effort to reach multiple communities, we sought collaborations with teams around the world to translate our booklet into different languages so that our booklet could have a global impact. The teams that helped us in the endeavor are: [NUS Singapore-Science](https://2018.igem.org/Team:NUS_Singapore-Sci), [Sorbonne U Paris](https://2018.igem.org/Team:Sorbonne_U_Paris), [Evry Paris-Saclay](https://2018.igem.org/Team:Evry_Paris-Saclay), [Tec CEM](https://2018.igem.org/Team:TecCEM), and [ICT-Mumbai](https://2018.igem.org/Team:ICT-Mumbai). \n\nTheir translations of the booklet are included here:\n* [French (Evry Paris-Saclay)](https://2018.igem.org/File:T--Evry_Paris-Saclay--CollabDocBookletFrench.pdf)\n* [French (Sorbonne U Paris)](https://static.igem.org/mediawiki/2018/b/bb/T--Washington--Synbio_Activity_Booklet_Part2_French.pdf)\n* [Vietnamese (NUS Singapore-Science)](https://static.igem.org/mediawiki/2018/b/ba/T--Washington--Synbio_Activity_Booklet_Viet.pdf)\n* [Hindi (ICT-Mumbai)](https://static.igem.org/mediawiki/2018/d/d2/T--ICT-Mumbai--Washington-translation.pdf)\n* [Spanish (Tec CEM)](https://static.igem.org/mediawiki/2018/c/ca/T--Washington--Synbio_Activity_Booklet_Spanish.pdf)",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\niteslamentorship\niTESLA Mentorship",type:"SPECIAL"},{data:"# iTESLA Mentorship",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=2\nPICTURE=https://static.igem.org/mediawiki/2018/1/10/T--Washington--AngeliTesla.jpg;XPOS=50;YPOS=50\nPICTURE=https://static.igem.org/mediawiki/2018/1/16/T--Washington--KaraliTesla.jpg;XPOS=50;YPOS=50",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/e/e8/T--Washington--iTesla.jpg,iTesla Mentorship,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"Like last year, we worked with the iTESLA-SoundBio team as a mentor team to help them with their trainings and their project. In the beginning of the summer, members of our wetlab team went to their lab to help train them in basic synthetic biology techniques. These techniques included cloning, PCR, and transformations. Our admin leads, Angel and Andrew, helped them select their presenters by reviewing their applications and critiquing their audition presentations.\n\nWe also helped them with human practices and future project development. As shown above, the first ever Pacific Northwest Meetup allowed for a chance to host a science outreach session for the iTESLA team and gave them a chance to talk to Holly Bowman, an iGEM Ambassador. Holly had worked on a very similar project in her iGEM team, and through our PNW Meetup, the iTESLA team was able to gain important insights into their project. Like Holly, many of our own members gave advice and opinions about iTESLA\u2019s project this year.\n\nAdditionally, we were extensively involved in helping iTESLA complete interlab as well as their follow-up data as they did not have access to their own plate reader. They prepared plates for their calibrations which we then performed readings on, and they provided us with cultures to plate and read. We sent the raw data to their team, and let them know about any issues that we had.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nwikiprogrammingtips\nWiki Programming Tips",type:"SPECIAL"},{data:"# Wiki Programming Tips\n\nThis year, our wiki developer created a guide with wiki programming tips for iGEM teams new to the wiki-making process. We made this tool available to any team that contacted us for it, and in return, we asked that they give us feedback and critiques on the tutorial so that we can improve it for future use. Our goal with the wiki tips was to make the iGEM competition more accessible to new teams as the wiki is a daunting task for even well-established teams. A link can be found [here](http://students.washington.edu/wkwok16/wiki-tutorial/) for teams that want to use this tutorial in the future. It will be updated as we get more feedback, so don\u2019t hesitate to contact us with your critiques!",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ngeneralcollab\nGeneral Collaborations",type:"SPECIAL"},{data:"# General Collaborations\n\n## Stanford\n\nWe worked with Stanford by sending one of our drylab members, Ed van Bruggen, down to Stanford University to talk to their team at the Stanford Poster Fair. They talked about each others\u2019 projects and thought of new ideas and ways to expand upon both their and our existing project. One of these ways was by trying to simulate their system using our modeling method, but it unfortunately failed due to the size of the antibody in their system. The failure showed us the constraints of our current model, and is a limitation that we may try to improve upon in the coming years. In addition to this, Stanford was one of the only teams to give us feedback on our wiki tutorial, which was extremely helpful in making it more accessible and approachable to other teams. We hope to continue collaborating with Stanford iGEM in the future.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\notherteamscollaborations\nOther Team's Collaborations",type:"SPECIAL"},{data:"# Other Team's Collaborations\n\n## TecCEM \u201cLabs Like You\u201d\n\nWe participated in Tec CEM\u2019s \u201cLabs Like You\u201d music video alongside the Tacoma RAINMakers and iTESLA Soundbio during our Pacific Northwest Meetup. The link to the video is [here](https://www.youtube.com/watch?v=R7vdiGLLJZA)\n\nThese are the teams that also collaborated in this worldwide project:\n\n1. iGEM IISER Bhopal (igemiiserb@gmail.com) \n2. IGEM AFCM ( igem.afcm@gmail.com) \n3. IGEM UNESP BRAZIL (igem.unesp.aqa@gmail.com) \n4. IGEM WASHINGTON (uwigem@uw.edu) \n5. IGEM Tust China (tustigem2018@163.com) \n6. iGEM team Bielefeld-CeBiTec (matthias.otto@uni-bielefeld.de) \n7. IISc-Bangalore iGEM Team (iisc.igem2018@gmail.com) \n8. IGEM BRAZIL USP (henriquedambrosioretti@gmail.com) \n9. IGEM DUSSELDORF (igem@hhu.de) \n10. IGEM GRONINGEN (igem2018rug@gmail.com) \n11. IGEM DALHOUSIE (igemdalhousie@gmail.com) \n12. IGEM LEIDEN (igem@science.leidenuniv.nl) \n13. Team UFLORIDA (igem@ufapsa.org) \n14. Tarta TUIT_IGEM (nargiz.k@yahoo.com) \n15. Toulouse INSA UPS (igem.toulouse@gmail.com ) \n16. IGEM MICHIGAN STATE (Michiganstateigem@gmail.com) \n17. Team UCHILE_Biotec (sebastian.farias@ug.uchile.cl) \n18. ECUADOR (bfmosquera1@espe.edu.ec) \n19. IGEM BRAZIL USP EEL (cbsin.eel@gmail.com) \n20. Tec-Guadalajara (team.tec.gdl@gmail.com) \n21. Tec-Chihuahua (igemtecchihuahua@gmail.com \n22. UCSC IGEM (ucsc.igem.18@gmail.com ) \n23. TecCEM (igem.tec.cem@gmail.com) \n24. iTESLA-SoundBio Team \n25. Tacoma RainMakers Team\n\n## Surveys\n\nIn addition to all of our other collaborations, members of our team also assisted other teams in their filling out the following surveys about various topics relevant to their research or iGEM as a whole.\n\n* [iGEM Bielefeld-CeBiTec\u2019s survey on Dual Use and Dual Use Research of Concern](https://t.co/9sTFnuQW7a)\n* [UNL iGEM\u2019s survey on invasive species](https://www.surveymonkey.com/r/TRJKVD8)\n* [Uppsala iGEM\u2019s survey on mental health and burnout in iGEM](https://docs.google.com/forms/d/e/1FAIpQLSeWUVgq_Dm1nZTH6d8_JYZohyt8Gwf_sMTF1MaoWJLEjndQXg/formResponse)\n* [Imperial iGEM\u2019s survey on team leadership, structure, and communication](https://docs.google.com/forms/d/e/1FAIpQLScj_2MJxT28Ta5bpP6KbsO-9dsiG4U4nq9GBq3tIVWi9tWbLw/viewform)\n\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Collaborations"},{content:[{data:"HEADER\nTEXT=PUBLIC ENGAGEMENT\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=8\nMINTITLEHEIGHT=6\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\noverallfocus\nOverall Focus",type:"SPECIAL"},{data:"# Overall Focus\n\nOur educational outreach efforts were focused on making scientific learning more accessible by targeting underserved groups, including lower income schools and children with disabilities. Seattle, Washington has one of the largest equity gaps in the United States with white students being almost ten times more likely than black students to attend a school with reading test scores in the city\u2019s top 20th percentile. In general, lower income students are about four times as likely to attend low-performing schools [1]. In fact, over 6,000 students in Seattle alone were given low-income housing by the school district, and over 35,000 students were counted as homeless in Washington State [2]. Additionally, as the Special Olympics USA was held at the University of Washington over the summer, we had a greater awareness about the educational opportunities that children with intellectual disabilities often lack.\n\nAfter learning about these inequities, we wrote and illustrated a 100+ page multilingual synthetic biology booklet that is full of illustrations, especially designed for English Language Learners at lower income schools and for children with disabilities. We implemented the lessons from our booklet at school visits, both locally and internationally, specifically targeting lower income schools, which were determined by the percentage of students that are federally eligible for free or reduced lunch. Additionally, we taught a lesson about the central dogma of molecular biology to a summer camp for kids with autism.\n\nFurthermore, we created a dialogue with the general public by interviewing people about their opinions regarding synthetic biology at Gas Works Park, a famous park in Seattle. We also planned a synthetic biology panel event called \u201cSit Down with Synbio\u201d that initiated a conversation between the general public and synthetic biology experts with approximately 100 people in attendance. The goal of this event was to raise awareness about synthetic biology and its value to the general public by giving people a chance to ask questions.\n\n1. https://www.seattletimes.com/seattle-news/education/pilot-project-to-help-seattle-schools-homeless-families-find-housing/\n",type:"MARKDOWN"},{data:"SECTION\nevents\nEvents",type:"SPECIAL"},{data:"SEP",type:"SPECIAL"},{data:"# Events\n\n## Community Events\n\n### Shoreline STEM Fest\n\nHeld at Shoreline Community College, this festival combines a traditional science fair servicing hundreds of K-12 students in the Shoreline School District with hands-on exhibits and demonstrations presented by university groups, research institutes, and industry professionals. At this fair, we conducted our Lego DNA/Jellybean Peptide Activity to teach kids about the central dogma of molecular biology.\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=T--Washington--Shoreline2.jpg",type:"SPECIAL"},{data:"### Ben Franklin Elementary Math Fest\n\nThis event, presented by Prime Factor Math Circle School, engaged students aged 5-12 in hands-on activities, problem solving, and games about math, computer science, and other STEM disciplines. At this event, we used our Lego DNA/Jellybean Peptide Activity.",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/4/49/T--Washington--MathFestival3.jpg;XPOS=75;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/5/59/T--Washington--MathFestival2.jpg;XPOS=75;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/3/33/T--Washington--MathFestival1.jpg;YPOS=25",type:"SPECIAL"},{data:"### Introduce a Girl to BioE\n\nDue to the huge gender gap in engineering, this event aimed to introduce girls ages K-12 to the ever-expanding field of bioengineering. At this event, we introduced about 150 girls to the building blocks of life with our Lego DNA/Jellybean Peptide Activity.\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/6/6a/T--Washington--IntroduceAGirlToBIOE1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/a/a1/T--Washington--IntroduceAGirlToBIOE2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/3/3e/T--Washington--IntroduceAGirlToBIOE3.jpg;YPOS=25",type:"SPECIAL"},{data:"### Gasworks\n\nDuring the Pacific Northwest iGEM Meetup, we conducted an outreach event at Gas Works Park, which is a famous park that was originally the site of a coal gasification plant and features a breathtaking view of the Seattle skyline. As families often spend their evening in the park, we engaged kids with synthetic biology using our Lego DNA/Jellybean Peptide Activity.\n",type:"MARKDOWN"},{data:"## School Visits\n\n### Elementary\n\nNorthgate Elementary is an underserved school near the University of Washington, where 86% of students receive free or reduced lunch and many students are from minority groups, including 43% Hispanic students and 24% black students. We introduced 4th and 5th grade students to synthetic biology with our Fruit DNA Extraction Activity and Gel Electrophoresis Bunny Activity. The students were excited that they got to do both a hands-on activity and an activity with real-life applications by solving a crime scene!\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/a/a2/T--Washington--Northgate1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/3/30/T--Washington--Northgate2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/2/2e/T--Washington--Northgate3.jpg;YPOS=25",type:"SPECIAL"},{data:"### Middle\n\n**International School**\n\nDuring our visit to the International School in Bellevue, Washington, we introduced the students to the building blocks of molecular biology. The students learned about the central dogma of molecular biology through the Lego DNA/Jellybean Peptide Activity and conducted a Fruit DNA Extraction, where they learned about experimental design.\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/7/72/T--Washington--InternationalSchool1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/c/c3/T--Washington--InternationalSchool2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/d/d7/T--Washington--InternationalSchool3.jpg;YPOS=25",type:"SPECIAL"},{data:"**Sadhana School in Ahmedabad, India**\n\nTo expand our outreach focus internationally, our Outreach Lead, Ishira, introduced students to synthetic biology at Sadhana School in Ahmedabad, India, which has some underserved students. Ishira taught students in grades 6-8 with the Lego DNA/Jellybean Peptide Activity. This event was interesting, because the students had a hard time understanding Ishira\u2019s American accent. As a result, she taught most of the lesson in the local language, Gujarati, but received amusing questions from students such as what the phrase \u201ckick butt\u201d means in relation to a protein that is essential for fighting pathogens when one is sick. Additionally, instead of using puffed marshmallows as a \u201cglue\u201d to connect the jellybean \u201camino acids,\u201d Ishira had to make icing, because the puffed marshmallows contain eggs, and Sadhana School is a vegetarian school. Overall, the students had a great time learning about international research and understood the basics of the central dogma of molecular biology!\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/e/e0/T--Washington--Sadhana1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/a/ab/T--Washington--Sadhana2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/3/39/T--Washington--Sadhana3.jpg;YPOS=25",type:"SPECIAL"},{data:"### High\n\n**Kent Meridian High School**\n\nKent Meridian High School is an underserved high school, where 60% of students receive free or reduced lunch. During our visit, we introduced students that are in grades 9-12 to synthetic biology with our Solving Global Problems Activity and CRISPR Ethics Activity.",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/c/c4/T--Washington--KentMeridian1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/b/b3/T--Washington--KentMeridian2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/4/4e/T--Washington--KentMeridian3.jpg;YPOS=25",type:"SPECIAL"},{data:"**Rainier Beach High School**\n\nAccording to a Seattle Times article,[1] Rainier Beach High School was once considered the worst high school in Seattle and had a reputation for gangs and lackluster academics. While the graduation rates have improved, almost 70% of students at Rainier Beach High School receive free or reduced lunch and the school has a significant minority enrollment with 58% of students identifying as black. During our visit, we introduced 11th and 12th grade students to synthetic biology through our Solving Global Problems Activity and discussed possible college majors and career options.",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/8/87/T--Washington--Rainier1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/b/bc/T--Washington--Rainier2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/1/1b/T--Washington--Rainier3.jpg;YPOS=25",type:"SPECIAL"},{data:"### Citations\n\n1. https://www.seattletimes.com/education-lab/stunning-surge-in-graduation-rate-as-rainier-beach-gamble-pays-off",type:"MARKDOWN"},{data:"## Disability Events\n\n### Adventure Camp for Children with Autism\n\nWe introduced kids in grades 5-8 with autism to synthetic biology. We had many members volunteer at this event to give the students individualized attention and move at a slower pace. Additionally, our Lego DNA/Jellybean Peptide Activity has many images to aid learning. Overall, the students enjoyed learning about synthetic biology and enjoyed being engaged in a hands-on activity!",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/a/a2/T--Washington--AutismCamp1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/e/ea/T--Washington--AutismCamp2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/3/39/T--Washington--AutismCamp3.jpg;YPOS=25",type:"SPECIAL"},{data:"## UW Events\n\n### Engineering Discovery Days\nAt Engineering Discovery Days, students and faculty from all UW engineering departments share their work with students, teachers, families, and the community. This 2-day annual event is free, open to everyone, and is largely geared towards elementary school groups. Our team hosted an exhibit demonstrating a fruit DNA extraction. Over the course of the two-day event, we estimate that 400 students visited our booth.\n\n### Engineering Welcome\nAt UW\u2019s Engineering Welcome, we engaged incoming freshman interested in engineering with discussions about synthetic biology, iGEM, and the potential impact that synthetic biology has. This event was many students\u2019 introduction to synthetic biology, so we encouraged them to attend our synthetic biology panel event, Sit Down with Synbio.\n\n### Dawg Daze Event with DAWGMA\nWe partnered with DAWGMA, another synthetic biology club at UW, to give a talk about synthetic biology to incoming freshman interested in the field. We introduced the basic ideas of synthetic biology, our project, and advertised our synthetic biology panel event, Sit Down with Synbio.\n\n### Red Square Tabling\nDuring UW\u2019s annual club fair, we tabled at Red Square at UW. During this time, we introduced UW students to synthetic biology to recruit for the next iGEM season and promote our synthetic biology panel event, Sit Down with Synbio.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nbooklet\nSynthetic Biology Activity Booklet",type:"SPECIAL"},{data:'# Synthetic Biology Activity Booklet\n\nWashington iGEM\u2019s Synthetic Biology Activity Booklet aims to embrace the spirit of iGEM by making scientific learning more accessible internationally. We spent more than 100 hours writing and graphically illustrating our 100+ page activity booklet. Although none of the members who wrote and illustrated this booklet are studying graphic design, we taught ourselves Adobe Illustrator to create informative and eye-catching visuals to make learning easier, especially for English Language Learners and children with disabilities. We also included instruction sheets for other iGEM teams/teachers to explain how each activity works.\n\nAfter writing our activity booklet, we collaborated with other iGEM teams to translate our booklet into languages such as Spanish, Vietnamese, French, and Hindi. Through the translations, we hope to provide copies of our activities to students in their native language, both in the Seattle area (for English Language Learners) and internationally.\n\nAdditionally, our curriculum has already been distributed to several schools in the Seattle area as well as a school in India. We are also meeting a UW professor in November to review our curriculum and ensure that it is ideal for effectively teaching synthetic biology to students from diverse backgrounds. Furthemore, we have coordinated a meeting to work with Washington State Senator Bob Hasegawa in the hope of administering our curriculum to a wider range of schools and the general public.\n\n## Quotes from Some Writers of the Booklet:\n* "I don\u2019t know about you guys, but I couldn\u2019t read up to the fourth grade because I\u2019m dyslexic. I would have loved having visual activities when I was younger. This is why I am so proud of our lessons for younger kids like the Lego DNA/Jellybean Peptide Activity and the Gel Electrophoresis Bunny Activity. These activities do an amazing job illustrating the concepts, allowing people who have a hard time reading have a better understanding of what is going on since they have visual diagrams and clues to follow along with while doing the activity." ~ Aimee Ellis\n\n* "As awesome as synthetic biology is, or more broadly speaking - biology, it might not be for everyone. If you want to engage an audience you have to make them actively involved and not just lecture at them - this is especially true for younger groups. There are lots of textbooks out there that can teach people about biology, but not a lot of them are meant for the purpose of active learning. Our activity booklet is meant to get students actively involved and excited about biology no matter what kind of background they come from. Biology can be and IS for everyone." ~ Aerilynn Nguyen\n\n* "Having grown up in a suburban \u201cbubble\u201d in the Seattle metropolitan area, I was shocked to learn about the inequities in the education system so close to my home. As I was looking at the statistics for students that received free and reduced lunch at potential schools that we were going to visit, the website would often compare the high percentage at those schools with the low percentage of students that needed free or reduced lunch at schools in the school district that I attended. This astonishing revelation was at the core of my desire to make scientific learning more equally accessible with the formation of this booklet." ~ Ishira Parikh\n\n## External links to the booklet\n* [English](https://static.igem.org/mediawiki/2018/4/45/T--Washington--Synbio_Activity_Booklet.pdf)\n* [Spanish](https://static.igem.org/mediawiki/2018/c/ca/T--Washington--Synbio_Activity_Booklet_Spanish.pdf) translated by [iGEM TecCEM](https://2018.igem.org/Team:TecCEM)\n* [CRISPR Sections in Vietnamese](https://static.igem.org/mediawiki/2018/b/ba/T--Washington--Synbio_Activity_Booklet_Viet.pdf) translated by [NUS Singapore-Sci](https://2018.igem.org/Team:NUS_Singapore-Sci)\n* [Engineer an Organism Activity in Hindi](https://static.igem.org/mediawiki/2018/d/d2/T--ICT-Mumbai--Washington-translation.pdf) translated by [ICT Mumbai](https://2018.igem.org/Team:ICT-Mumbai)\n* High School Level activities in French, [Part 1](https://2018.igem.org/File:T--Evry_Paris-Saclay--CollabDocBookletFrench.pdf) translated by [Evry Paris-Saclay](https://2018.igem.org/Team:Evry_Paris-Saclay) and [Part 2](https://static.igem.org/mediawiki/2018/b/bb/T--Washington--Synbio_Activity_Booklet_Part2_French.pdf) translated by [Sorbonne U Paris](https://2018.igem.org/Team:Sorbonne_U_Paris)\n',type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=4\nPICTURE=T--Washington--4a.png",type:"SPECIAL"},{data:"SECTION\nsitdownwithsynbio\nSit Down with Synbio",type:"SPECIAL"},{data:"SEP",type:"SPECIAL"},{data:"# Sit Down with Synbio\n\nTo initiate a dialogue between synthetic biology experts and the general public, Washington iGEM planned, organized, and hosted a synthetic biology panel event called \u201cSit Down with Synbio.\u201d The two-hour event consisted of a keynote speech by Dr. Scott McIsaac, a Principal Investigator at the anti-aging Bay Area startup Calico Life Sciences, which is funded by Google. During the remainder of the event, the panelists answering pre-submitted questions and questions asked by the audience during the event. This event was extensively advertised to the community by putting up posters, posting on Facebook groups, and being featured on websites like [Geekwire](https://www.geekwire.com/calendar-event/sit-down-with-synbio/).\n\nSome of the topics discussed included GMOs, Artificial Intelligence in synthetic biology, ethics, and the diversity of skillsets needed in synthetic biology, much like on our own iGEM team!\n\nThis event required months of planning including reserving an auditorium and equipment, creating a website, making advertising material and a pamphlet. Ultimately, we estimate that about 100 people attended the event, and we were also featured on UW\u2019s newspaper, The Daily!\n",type:"MARKDOWN"},{data:"SUBIMAGES\nMAXIMAGESPERROW=3\nPICTURE=https://static.igem.org/mediawiki/2018/9/99/T--Washington--SitDownSynbio1.jpg;XPOS=75;YPOS=12\nPICTURE=https://static.igem.org/mediawiki/2018/8/83/T--Washington--SitDownSynbio2.jpg;XPOS=15;YPOS=25\nPICTURE=https://static.igem.org/mediawiki/2018/d/db/T--Washington--SitDownSynbio3.jpg;YPOS=25",type:"SPECIAL"},{data:"## Footage (Hosted on YouTube)\n\n* [Introduction](https://youtu.be/pArxzti-jl8)\n* [Answers to pre-submitted questions](https://youtu.be/SQfStiwVwY8)\n* [Questions Asked During the Event Part 1](https://youtu.be/VbI1gmY4NPs)\n* [Questions Asked During the Event Part 2](https://youtu.be/CVZFyDgtodQ)\n\n## Other links\n* [Poster](https://drive.google.com/open?id=17zBOHIEeRFbAqHnhXN7oSOqEQMA27apt)\n* [Pamphlet](https://drive.google.com/open?id=1lGZfhi91hit2fZ-DQw5LRAi_pf1OkxPA)\n* [Website](http://students.washington.edu/uwigem/sitdownsynbio/)\n* [Daily Article](http://www.dailyuw.com/science/article_906900ea-caa7-11e8-966d-ebed7823f5d2.html)\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncommunityinterviews\nCommunity Interviews",type:"SPECIAL"},{data:"# Community Interviews\n\nDuring the Pacific Northwest iGEM Meetup, we created a dialogue with the public at Gas Works Park. Gas Works Park is a famous park that was originally the site of a goal gasification plant and features a breathtaking view of the Seattle skyline.\nWe asked people enjoying the sunny day at the park about their knowledge of synthetic biology, the biotech industry, and their opinions on Vitamin D and its detection to assess potential applications and consider the ethical and societal implications of our project.\n\n## What comes to mind when you think of synthetic biology?\n\n* \u201cI think of farming and stem cells, stem cells research--things like that. I guess I think about things that are man made, not just things that naturally exist in the world..things that have been altered.\u201d\n* \u201cSomething manmade, manmade stuff, not organic. Lab.\u201d\n* \u201cI think about biology--animals, plants. And it\u2019s synthetic, so going along with genetic engineering that\u2019s going on right now and expansion through technology.\u201d\n* \u201cRobot plants\u201d\n\n## What do you know about Vitamin D? Do you think you get sufficient Vitamin D?\n* \u201c[Vitamin D intake] is lacking in Seattle. I felt it this winter. You leave work and the sun\u2019s down..Everytime I go in to the doctor about a general health issue, the doctor tells me that you might want to take vitamin D supplements. Everytime I think of a vitamin D deficiency, I think of seasonal depression, I think of it affecting your mental health more than anything else.\u201d\n* \u201cI work 8 to 5, so I don\u2019t think I get enough. Isn\u2019t Vitamin D deficiency linked to depression and anxiety? I have anxiety issues, so sometimes I think about whether or not I get vitamin D. It\u2019s hard to pinpoint where the deficiency is.\u201d\n* \u201cI take vitamin D all the time when I get sick. I use my liquid drops when I get sick.\u201d\n\n## Do you feel like you can easily predict when you have enough vitamin D?\n* \u201cIt pretty much just depends on how much I\u2019ve literally been in the sun. I don\u2019t think about anything else. I only started thinking about it when I moved it to Seattle, and I remember being like I should start taking supplements, because I\u2019m not seeing sunlight.\u201d\n\n## What if there was a device or some way for you to easily tell how much vitamin D you have in your body; do you think that would actually help?\n* \u201cYeah I would love that but then I would be curious to see how that would then actually link up with my mental health.As someone who struggles from depression and anxiety off and on, I would be really curious to see if it gets worse with vitamin D levels...I would be interested if it actually had an impact on me.\u201d\n* \u201cEveryone thinks of seasonal depression but nobody thinks about how to measure it.\u201d\n\n## They asked us a question:\n* \u201cDo you believe that in academia that corporations should stay out of the picture because you are solving problems in the name of science first and foremost, not solving something for the bottom line of the corporation inside of an academic realm?\u201d\n\nFrom these interviews, we came away with a few key insights about how synthetic biology is perceived by the public and concerns that members of the public have about ethics in scientific research. Additionally, we heard significant concerns about vitamin D deficiency and its effects on mental and physical health due to the lack of sunlight in our region.\n\nOne common misconception about synthetic biology is that it mainly deals with GMO agriculture. We explained that the field of synthetic biology is much broader than that, encompassing solutions to problems in areas as diverse as medicine, sustainable energy, and environmental cleanup. Our team does not currently focus on plant synthetic biology; we are using harmless bacteria to develop a detection system.\n\nAnother area of concern for people was regarding funding for academic research and potential conflicts of interest. One person we interviewed asked us: \n\n\u201cDo you believe that in academia that corporations should stay out of the picture because you are solving problems in the name of science first and foremost, not solving something for the bottom line of the corporation inside of an academic realm?\u201d\n\nWe think issues of bias and conflict of interest are important for all iGEM teams, and indeed all researchers, to consider, since funding sources often have disparate interests from researchers, especially those working on fundamental science advancements (not applied science). A similar issue was discussed at our Sit Down with SynBio panel event, when funding from government agencies, such as the Department of Defense, was discussed in regard to duel use of fundamental technology. It is essential that scientists weigh the implications of their research being used in ways that they may not approve of.\n\nFinally, as it relates to our project, we found that vitamin D insufficiency is a serious concern for Seattleites, especially in the winter and for those who work indoor jobs. Many suspect that their experiences with fatigue, anxiety, and depression may be exacerbated by vitamin D deficiency, and are urged by their doctors to take supplements, but they currently do not possess the methods to determine for themselves whether they are receiving enough. Furthermore, we realized that those we interviewed mainly think about getting vitamin D from sunlight, but did not mention a healthy diet can provide vitamin D as well. We think that educating people more about the importance of eating vitamin D-rich foods is an area for improvement in our region.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nclass\nClass",type:"SPECIAL"},{data:"# Class\n\n## Purpose\n\nAt the end of last season, Washington iGEM was left with very few training resources to teach the next season\u2019s new members. As for what was there, our returning members were frustrated with the old training process. The result was a conviction to overhaul the training process for wetlab and drylab going into the next season.\n\n## Classes\n\nWe needed to train members differently based on which team they would be joining, so we created four different classes for our subteams. Each of these classes were run by returning members who had expertise in that area.\n\nWetlab - Angel Wong & Karl Anderson\n\nSoftware - Andrew Hu\n\nHardware - William Kwok\n\nSimulations - Yoshi Goto\n\n## Curriculum\n\nSyllabi:\n\n[Wetlab class](https://docs.google.com/document/d/1ECTl_-AO9TruBBa3VTglOg6EfFbIAS5S5LSUVEm5-fs/edit?usp=sharing)\n\n[Drylab classes](https://docs.google.com/document/d/1qhnRhazDiDUfX2lLycewbArTvVEK0hvELHkfC5zJbjA/edit?usp=sharing)\n\nYou can see the course website for all of the drylab courses [here](http://students.washington.edu/uwigem/18sp/)\n\n## Background\n\nCreating a new class is difficult, as it involves synthesizing learning objectives, curriculum activities, and assessments. If any one of these is not given appropriate consideration, it can create a very unsatisfying learning experience for students. We started to develop the structure by splitting up the classes, creating syllabi, and planning out content one quarter before the classes would start.\n\nThe biggest problem during curriculum development was the fact that we were still figuring out what our project this year would be at that time, meaning that we could not be sure of the best content to teach, especially in the drylab classes. Last year, we recruited many drylab members to work on our hardware/software project: the Chromastat. However, this year, we were unsure if we would use that same project, and if not, we did not know what we would be doing. We guessed early that we would be doing something with microfluidics, in coordination with an early idea for a wetlab project involving aptamers, but this idea was ultimately rejected. As a result, we went into teaching the class with a very general curriculum planned out. Software taught a general software engineering course, Simulations gave an introduction to various techniques and tools in modeling, and Hardware used the Chromastat as an example of biotech hardware and continued to work on it.\n\nWe continually asked for anonymous feedback from students but received relatively little. The suggestions we did receive mostly related to the problems already discussed.\n\nSince students received a grade for the courses, we had to create a rubric to assess their performance over the quarter. It was difficult to validate these scores in an objective way because our curriculum was not structured around exams or homework. Our grades mostly consisted of participation both in class and on the project. We ended up giving full credit to those who always showed up in class and put in the required amount of hours. The more difficult issue to address was determining the grades to give to those who did not meet these standards. We graded attendance and out of class participation linearly based on how much work they did, and then used the University of Washington\u2019s recommended percentage score to GPA conversion table shown below\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/9/99/T--Washington--ClassGradingScale.png,Class grading scale,boxShadow: 5px 5px 10px gray,margin:auto,width:80%",type:"IMAGE"},{data:"## Results\n\nWe were able to get through almost all of the originally planned content across all four of the classes, and we found that some of our pedagogical methods were more effective than others. In particular, students generally responded poorly to lecture-style classes. Additionally, the fact that our generalized curriculum did not directly reference our project for this year caused some members to be confused as to how the content we were teaching them was relevant to our project.\n\nBy contrast, when we gave them self-guided projects, they were forced to become more engaged in the course work to finish the project. However, students were resistant to this more free-form style of learning, meaning that it took more preparation and effort on the teachers\u2019 end.\n\n## Analysis\n\nIn the end, the iGEM class was able to fulfill our original goal of training our new members in a more rigorous and formal setting, but we learned through the process of running the class that iGEM does not necessarily need something as straightforward as a class. \n\nThe classroom is the most structured environment where learning can occur, but humans learn every day, by observing their environment and the people in it. Learning happens long after we leave school, especially in the workplace, whether through official training or self-managed trial and error.\n\nHowever, iGEM as an activity is unstructured by nature: students must organize themselves into a team, find experts to work with, create or adapt a synthetic biology project, learn how to do all of the necessary procedures, do literature review, and execute the project all by themselves, while balancing classes and summer commitments! The ideal iGEM training must match how iGEM itself operates, in an environment driven by the passion and curiosity of the students involved.\n\nNext year, we seek to create a more student-driven training, involving project-based learning. Additionally, any classroom-based instruction should use active learning to engage students to drive the experience. Our teachers will facilitate students experimenting with working on their own, given a framework for a project. Through trial and error they will gain the hands-on experience required to effectively run an iGEM project. This will also address the issue of members being confused as to how the course content would fit into the project. \n\n## Establishment as a Vertically Integrated Project (VIP)\n\nWe originally believed that we would just teach the class ourselves by reserving classroom space as a club, but we found out about a relatively recent project at the UW called Vertically Integrated Projects (VIP), which gives support to hands-on projects for undergraduates. By becoming a VIP, we were able to not only reserve class space, but also give our members graded credits for working in iGEM.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncrowdfunding\nCrowdfunding Campaign",type:"SPECIAL"},{data:"# Crowdfunding Campaign",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/b/bc/T--Washington--Givebutterlogo.jpg,Givebutter Logo adapted from givebutter.com,boxShadow: 5px 5px 10px gray,margin:auto,width:60%",type:"IMAGE"},{data:"In order to raise additional funds for our research and conference expenses, we worked with [Givebutter](https://givebutter.com/WashingtoniGEM2018), an innovative crowdfunding platform that is geared specifically towards student teams. This platform is unusual in that it allows people to make non-profit donations, donors have the option to cover platform fees, and all money raised goes towards the project, regardless of whether the campaign reaches its monetary goal. \n\nThrough this campaign, we were not only able to ensure that our students could move forward with their project, but we were also able to connect our friends and family to our work and show that our technology could help solve real-world problems they may face in their communities.\n\n[Link to the crowdfunding video](https://www.youtube.com/watch?v=WMXOW5X1cLM)",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Public_Engagement"},{content:[{data:"HEADER\nTEXT=ENTREPRENEURSHIP\nBACKGROUND=https://static.igem.org/mediawiki/2018/8/80/T--Washington--Banner.png\nXPOS=50\nYPOS=25\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nMINPADDINGTOP=120\nTEXTHEIGHT=9\nMINTITLEHEIGHT=5\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"https://static.igem.org/mediawiki/2018/f/fb/T--Washington--BusinessTeamLogo.png,SynSensora Logo,margin:auto,width:50%",type:"IMAGE"},{data:"# Overview\n\nWashington iGEM\u2019s business team is comprised not of business people or venture capitalists, but rather scientists and engineers passionate about bridging the gap between industry and the lab, thus enabling us to bring a unique perspective to our business endeavors. We feel that while research is a positive avenue for new discoveries, additional entrepreneurship that brings our team\u2019s product to the market will drastically increase the impact of our project. As our novel nanobody detection systems could catalyze powerful improvements in healthcare and research practices, Washington iGEM has created a business plan for a potential company called SynSensora. We envision SynSensora to be a startup company that provides small molecule detection systems to institutions and biotech companies for use in metabolic engineering, point of care diagnostics, and cell therapies.\n\n\nOur business team is collaborating with the Institute for Protein Design and a business mentor from the Buerk Center for Entrepreneurship at the University of Washington to develop not only biotechnology that will be valuable in market, but also a detailed business model detailing our plan to bring our venture to fruition. Our team has met with several potential customers, including Lumen Bioscience and the Institute for Systems Biology, and has received sponsorships from GenScript, PVP Biologics, and the Institute for Protein Design. We have learned much about business models and intellectual property protection, and our team is working with the Institute for Protein Design to establish a provisional patent for our SynSensora\u2019s research and development protocol.\n\nSynSensora\u2019s products are based on biological detection systems that take advantage of chemically induced dimerization, a process in which two proteins bind together in the presence of a specific molecule. SynSensora detection systems would be used for small molecules, which are historically much more difficult to detect than proteins. These detection systems range from point of care diagnostics to transcriptional biosensors for metabolic pathway optimization. As our team is currently investigating nanobody-based detection systems targeting Vitamin D3 and Artemisinin while also developing a biosensor for CBD, these proof of concept studies will lay the foundation for SynSensora\u2019s product line. The positive feedback we received from potential customers lends confidence to the efficacy of our technology and encourages the expansion of our library of molecules for which we would develop sensors. Ultimately, SynSensora would provide efficient and affordable small molecule detection systems for its customers as well as custom system development. Using an incredibly diverse nanobody library containing around 10^9 variant binders from our partner, the Institute for Protein Design, we could theoretically create detection systems for any small molecule. Thus, as customers request specialized detection systems for various small molecules, our product line would grow. Our established products would be sold a la carte, and our custom development service would range in price depending on the product constraints and development cost.\n\nOur business team has synthesized research from potential customer interviews, database resources, and meetings about intellectual property to develop a plan to make SynSensora a reality. SynSensora has the potential to set a new standard for healthcare and research with affordable and effective small molecule biological detection systems.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nbusinessplan\nBusiness Plan",type:"SPECIAL"},{data:"# Business Plan",type:"MARKDOWN"},{data:"TAB\n===\nSummary\n# Summary\n\nThe business plan below is a thorough explanation of SynSensora that includes SynSensora\u2019s purpose and motivation, strengths and weaknesses, operations, products, and our proposal on how to bring those products to market. It includes in depth analyses of several markets that SynSensora products will join and the opportunities and barriers to entry for each market. It also includes an industry analysis of SynSensora\u2019s main competitors with comparisons of the strengths and weaknesses of each company. We have used this research to develop strategies for expanding SynSensora and generating revenue and profit. For ease of access, this page also includes key highlights of the business plan including a concise overview of our market and industry research findings as well as the current status and intended future development of SynSensora.\n\nOur business team used database resources from the University of Washington Buerk Center for Entrepreneurship to conduct in depth market and industry research. We also obtained guidance from the Gu lab at the Institute for Protein Design to ensure that our products and proposed manufacturing techniques were scientifically accurate. Additionally, we received feedback on initial drafts of our business plan from Dirk Smith, a biotech entrepreneur and previous scientific director at Amgen, whom we connected with via the MentorConnect program through the Buerk Center for Entrepreneurship.\n\n===\nIndustry Analysis\n# Industry Analysis\n\nOur company\u2019s nanobody CID technology will translate into innovative tools for point of care (POC) diagnostics, metabolic engineering and pathway optimization, and the programming of therapeutic cells--all of which are lucrative, rapidly expanding sectors in industry. While the diverse applications of our product increase our number of competitors, they also enhance the company\u2019s stability and flexibility by enabling us to utilize gains from less competitive markets to support efforts in more aggressive ones. Thus, concerning existing barriers to entry, due to the presence of both older companies with established substitutes and fresh start-ups with new technologies, our business will have to invest considerable time and effort into convincing customers to choose our more effective methods and products instead of other well-known approaches. Additionally, before we establish a strong market foothold with solid buyer trust, it will be crucial to set competitive pricing to attract buyers away from existing alternatives. Product prices should be flexible depending on the context of each deal and the amount of leverage we have compared to the buyer, with knowledgeable customers in larger markets possessing the most leverage and less savvy consumers in smaller markets having the least. \n\n| Strengths | Weaknesses |\n|-|-|\n| Diverse skill set | New market: must establish brand |\n| Product and market expertise | Steep learning curve for entering competitive target markets |\n| Product development: guidance from expert in field | Technology still new and undergoing R&D |\n| IP Patent-protected new technology: foundation for strong, unique pipeline structure/diverse array of services | Novel production methods will require considerable effort to perfect and scale up |\n\n| Opportunities | Threats |\n|-|-|\n| Novel technology can set new expectations, serve unique niche needs | Government regulations |\n| Rapidly expanding markets: biosensors, point of care diagnostics and cell therapy | High initial investment for equipment, materials, etc. |\n| Potential for expansion of product line - custom antibody service | Existing biotech companies with alternative methods |\n| Increased sensitivity and selectivity for detection of small analytes compared to current methods | Customer reluctance to try unknown products when older proven tech exists |\n===\nMarket Analysis\n# Market Analysis\nOur technology serves four rapidly expanding markets: biosensors, point of care diagnostics, cell therapies, and custom antibody services.\n\n## Biosensors\nInnovation in biosensors is an ongoing process that has application in new markets such as security, military biodefense, and automotive and aerospace industries. The main contributor to this market is research and development and the need to develop new platforms for accurate, highly sensitive and pain-free diagnostic biosensors. The market for biosensors is categorized as a growth market, with the amount of potential applications increasing as more novel biosensor technologies emerge. According to BCC Research, the global market for biosensors, valued at nearly $5.7 billion in 2017, is expected to increase to more than $6.3 billion in 2018 and to more than $12.1 billion in 2023, for a compound annual growth rate (CAGR) of 14.0% over the five-year period from 2018 through 2023.\n\n## Point of Care Diagnostics\nThe market for point of care diagnostics is quickly growing due to increasing investment in research and development, advancement of diagnostic laboratories, and adoption of automated lab systems. According to Market Research Future, there is a healthy growth rate at a CAGR of 9.5% during a forecast period till 2023. The market is segmented by types of products and by end users. Some of the types of products include glucose testing, cardiac makers, HbA1c testing and coagulation. Examples of end users include clinics, hospitals and home care.\n\n## Cell Therapy\nAnother market that we cater to is cell therapy. Using the tools of synthetic biology, we now have the technology to engineer our own body\u2019s cells to respond to diseases that could impede our immune system. However, excessive immune activity and poor control over engineered T cells can cause severe toxicities. Our technology has the potential to address these problems and transform the cell therapy market. \n \n## Custom Nanobody Products\nBecause of the novelty of our nanobody products, our company is expanding our product line by manufacturing custom assays based on requests for specific target molecules. According to reports from BCC research, the global market for custom antibody service was estimated at $252 million in 2016 and is expected to grow to $424 million in 2022, with a 9.0% five year CAGR. This growth is mainly due to the lack of specific antibodies that are needed in large quantity, as the demands are usually higher in industrial settings. This lack of large supply benefits the custom antibody service companies that can provide a stable and reliable source of antibodies.\n\n===\nCurrent Status and Future Development\n# Current Status and Future Development\n\nSo far, our team has successfully identified nanobody binders for artemisinin and cholecalciferol from a large combinatorial library of nanobodies. The gene constructs of these nanobodies would be Synsensora\u2019s minimal viable product for our target molecules. Additionally, we have characterized nanobodies for a biosensor for cannabidiol (CBD) using computer simulations, thus demonstrating SynSensora\u2019s ability to optimize products. These studies are a proof of concept for our research and development strategy.\n\nFor the future, we would plan to expand our product base by commercializing the service of customizing nanobody binders. This can be done by communicating with interested companies to not only select target molecules for product development, but also to spread SynSensora\u2019s influence to more customers. We are continuing our research and development for full products for artemisinin, cholecalciferol, and CBD before expanding Synsensora\u2019s product base to other target molecules.",type:"SPECIAL"},{data:"PDF\nhttps://static.igem.org/mediawiki/2018/5/5e/T--Washington--BusinessPlan.pdf",type:"SPECIAL"},{data:"PDF not loading? Download it [here](https://static.igem.org/mediawiki/2018/5/5e/T--Washington--BusinessPlan.pdf).",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\npcinterviews\nPotential Customer Interviews",type:"SPECIAL"},{data:"# Potential Customer Interviews\n\nIn order to understand the market for SynSensora\u2019s products and the needs of our potential consumers, our team met with several companies and institutions to discuss nanobody detection systems and their potential applications in the research of each organization as well as to learn about the science and manufacturing processes that could aid in SynSensora\u2019s development. The organizations that we communicated with are Lumen Bioscience, the Institute for Systems Biology, Just Biotherapeutics, and Amyris. The first three organizations are located in the Seattle area, and the last organization is in California, where one of our team members has personal connections. We learned a great deal about how nanobody and CID-based detection systems can aid our potential customers in metabolic engineering and point of care diagnostics along with manufacturing and development techniques that could help expand SynSensora. To read what we learned from each individual organization, please click on the tabs below.",type:"MARKDOWN"},{data:"TAB\n===\nLumen BioScience\n# Lumen BioScience\n\n![Lumen BioScience Logo](https://static.igem.org/mediawiki/2018/9/96/T--Washington--LumenLogo.jpg)\n\nTo evaluate the marketability of SynSensora\u2019s nanobody products, we discussed nanobody detection systems with scientists from a Seattle biotech startup company: Lumen Bioscience. Lumen Bioscience is a company that uses spirulina, a cyanobacterium, to produce biologics such as dyes and oral vaccines for fish.\n\nWe met with Dr. Jim Roberts, the Chief Scientific Officer, as well as other scientists from Lumen Bioscience. The researchers were already familiar with nanobodies but had never considered their use in metabolic engineering or point of care diagnostics. After our wetlab leads explained the science and applications of chemically induced dimerization (CID) of nanobodies, they were excited about the great potential of such a versatile technology. However, the researchers did express concern that the CID system would not work with Vitamin D3, one of our target molecules, because of its nonrigid structure.\n\nWhen asking the researchers at Lumen Bioscience how they would use a CID detection system, they proposed utilizing a nanobody CID system as a biosensor for microcystin, a class of toxins that all cyanobacteria products must be tested for because it is harmful to humans. They expressed their frustration with the microcystin testing process because although their products never have any trace of the toxin due to the manufacturing process, they must have a third party test their products to comply with legal regulations. Having an accurate biosensor would allow them to test their own products at a lower cost. This microcystin biosensor could also be used to measure water cleanliness, as cyanobacteria presence is used as a unit of water cleanliness (the more cyanobacteria, the less clean the water). They also were confident that nanobody CID systems could be applied in metabolic pathway optimization.\n\nThe scientists at Lumen Bioscience was very impressed by our project and were interested in keeping in touch. They sent us papers about small molecule biosensor construction and transcriptional biosensors used for metabolic engineering. Our visit to Lumen Bioscience helped us identify possible applications and limitations of SynSensora\u2019s products and gave us a new, professional perspective on nanobody CID detection systems.\n\n![Lumen BioScience Visit](https://static.igem.org/mediawiki/2018/thumb/7/73/T--Washington--LumenVisit.jpg/800px-T--Washington--LumenVisit.jpg)\n===\nInstitute of Systems Biology\n# Institute of Systems Biology\n\n![ISB Logo](https://static.igem.org/mediawiki/2018/a/a3/T--Washington--ISBLogo.png)\n\nThe Washington iGEM Business Team had the opportunity to meet with Dr. Nitin Baliga, the Senior Vice President, Director and Professor at the Institute for Systems Biology (ISB) in June 2018. Dr. Baliga\u2019s lab builds predictive models of complex biological phenomena that can be used to guide cells to perform a variety of functions such as fighting off infectious disease, generating clean energy, and remediating the environment. Through this opportunity, we were able to gain insight about the potential applications of SynSensora\u2019s technology and better understand the types of molecules in his field that could use stronger methods for detection. \n\nAccording to Dr. Baliga, a possible application of our technology is the detection of lipoarabinomannan (LAM), a protein produced by Mycobacterium tubercolosis. This protein is one of the most promising candidate antigens whose detection would aid in the diagnosis of tuberculosis. He was intrigued by the possibility of creating a point-of-care diagnostic device that could detect LAM for a cheaper and quicker tuberculosis diagnosis. He also expressed enthusiasm for applications of our technology in metabolic engineering. For instance, pogostone is a precursor to many different molecules, such as patchouli oil, that have a strong insecticidal effect. He proposed that we could use our technology to improve pogostone production, thereby helping repel insects from agricultural products. He also suggested that we look into surface plasmon resonance, which is the principle behind many in vitro biosensors currently in use. .\n\nAt the end of the meeting, Dr. Baliga was interested in helping us with our project, both with its execution and with answering any additional questions we had. His postdoctoral student Vivek, whom Dr. Baliga describes as a \u201cwalking encyclopedia that can clone anything\u201d, was also eager to help. The information that we learned from the meeting excited our team as professional researchers saw promise and potential impact in our project and in SynSensora.\n\n![ISB Visit](https://static.igem.org/mediawiki/2018/c/c7/T--Washington--ISBVisit.jpg)\n===\nAmyris\n# Amyris\n\n![Amyris Logo](https://static.igem.org/mediawiki/2018/6/6d/T--Washington--AmyrisLogo.png)\n\nAJ Kruse, a Washington iGEM team member, had personal connections to Dr. Victor Holmes, a senior staff scientist at Amyris, and reached out to him on behalf of the team for information about challenges they face and advice on potential molecular targets for our CID systems. Amyris is a successful metabolic engineering company based in Berkeley, CA that manufactures small molecules via synthetic yeast systems. One of their early products included artemisinin, a target molecule for our CID nanobody metabolite sensor, so the bulk of our email correspondence with Dr. Holmes involved asking him about Amyris\u2019s artemisinin production and how our nanobodies could best improve it.\n\nDr. Holmes provided valuable details on what challenges companies like Amyris face when dealing with certain metabolites, enabling us to modify our nanobody sensors for improved efficacy in those applications. For instance, many of Amyris\u2019s molecules of interest, like artemisinin, tend to have extremely high intracellular concentrations, so an effective sensor in this circumstance would only form a dimer in high concentrations of the desired substrate as opposed to a sensitive detection-related assay. He also explained the reasoning behind manufacturing artemisinin chemically instead of biologically: reactions involving oxygen have historically been very low yield in synthetic biology, since they require P450 enzymes which are membrane-bound and kinetically slow. Unfortunately, attempts to increase reaction speed tend to make them less specific. Furthermore, the final conversion steps of artemisinin production do not involve any stereochemistry, so the benefits of drawing upon biology to deal with tricky chirality would not apply here. Our correspondence with Amyris has been useful not only in guiding the technical aspects of our artemisinin CID detection system, but also in exposing our team to possible advantages and limitations of the CID system for use in metabolic engineering.\n===\nJust Biotherapeutics\n# Just Biotherapeutics\n\n![Just Biotherapeutics Logo](https://static.igem.org/mediawiki/2018/a/ae/T--Washington--JustLogo.jpg)\n\nTo learn more about manufacturing and how to scale up SynSensora, we visited a Seattle based biotech startup called Just Biotherapeutics. Just Biotherapeutics designs biologic products with the aim of reducing manufacturing cost, with their core strengths being molecular design, process and product design, and manufacturing plant design. We met with Anastasia Nicolov, one of our advisors who works at Just Biotherapeutics and received a tour of the facilities and an explanation of the uses of different labs and machines utilized in the company\u2019s research.\n\nWe met with Just Biotherapeutics because they mainly develop antibody products and improve techniques for antibody production. We were introduced to small bioreactors used for testing and large bioreactors used for scaling up to production size. Anastasia was very knowledgeable about the difficulties with scaling up. The environment in a small-scale culture tube or small bioreactor is not proportionally scaled to a larger bioreactor, and the processes for controlling the environment may be different: for example, different scales use different control mechanisms for aeration, pH control, temperature control, and other variables. Though Anastasia clarified that she was not an expert on amplifying plasmids in cell culture, she gave us great insight into current methods for production of antibodies.\n\nOur visit to Just Biotherapeutics helped us understand that scaling up products is a difficult task. To optimize the design of a manufacturing plant, there must be many studies done to understand how the chamber environments of smaller bioreactors scale to larger bioreactors. Because large-scale manufacturing will be important for SynSensora, learning about the scale-up process from an innovator in reducing manufacturing costs was valuable to our team and will aid in our studies going forward and the growth of SynSensora.\n\n![Just Biotherapeutics Visit](800px-T--Washington--JustVisit.jpg)",type:"SPECIAL"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nipmeeting\nIntellectual Property",type:"SPECIAL"},{data:"# Intellectual Property\n\nThe Washington iGEM business team met with Dr. Gu, who developed a novel protocol to perform massively high-throughput molecular detection using nanobodies at the Institute for Protein Design. We had multiple meetings with Dr. Gu for scientific guidance and to better understand how intellectual property (IP) protection works, since we are partnering with Dr. Gu to commercialize SynSensora\u2019s products. Through our meetings, we had the opportunity to learn and provide insight on the process of writing a patent as Dr. Gu invited the Washington iGEM team to collaborate with him and his lab in the process of developing protection for his IP.\n\nDuring one of our meetings on July 17th, 2018, we began our first discussion on Dr. Gu\u2019s IP protection. Dr. Gu first began our discussion by providing us with three potential applications for his novel method, which include point of care diagnostics, metabolic biosensors, and cell therapy. The actual proposed patent would be for the protocol for creating the chemically induced dimerization (CID). In our meeting, we also discussed the products that our business, SynSensora, would manufacture and sell, which includes the construct of the genes to produce the binding proteins as well as physical proteins for use in point of care diagnostics. \n\nThroughout the process of our research and development, we were in constant contact with Dr. Gu, so we could be sure to be on the same page regarding his protocol and SynSensora\u2019s products. Meeting with Dr. Gu helped us identify the possibilities of what this novel technology can do and gave us a whole new perspective on the application of this technology. We have been invited to join the discussion about protecting Dr. Gu\u2019s protocol with his lab and CoMotion, UW\u2019s center for innovation and intellectual property protection, in late October. This experience has allowed us to learn about the importance of intellectual property protection, the barriers to gaining protection, and resources to aid in getting protection.\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Entrepreneurship"},{content:[{data:"HEADER\nTEXT=SAFETY\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nlabsafety\nLab Safety",type:"SPECIAL"},{data:"# Lab Safety\n\nWe worked on a foundational project this season that primarily involved work with _E. coli_ (DH5-alpha and BL21 Cell Lines). These cell lines constitute BSL1 hazard level, and as a result, we took precautions in lab under this rating. This included always wearing gloves, sterilizing surfaces with ethanol, bleaching and autoclaving and collecting waste as needed, and enforcing the lab as a food and drink-free space. We received training at the beginning of the year through the Biochemistry Department at the University of Washington, which consisted of several online safety trainings. We also refreshed our safety periodically throughout the summer with all members in the lab. ",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\neanderisk\nEthical and Environmental Risk",type:"SPECIAL"},{data:"# Ethical and Environmental Risk\n\nThere are a number of applications for CID systems, including biosensors and genetic switches. There is a risk that this technology applied to a sensor could produce false positives due to inefficiencies in the system. Depending on how this information is used, this risk raises a number of ethical concerns for the technology, and requires that any end-user applications be rigorously tested. As is, the CID system demonstrated in our project is foundational and thus has little to no ethical bearing on the general public. Furthermore, we do not intend to work with animals or release this system into the environment.\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Safety"},{content:[{data:"HEADER\nTEXT=ATTRIBUTIONS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3\nMINTITLEHEIGHT=6",type:"SPECIAL"},{data:"SECTION\nprojectdevelopment\nProject Development",type:"SPECIAL"},{data:"# Project Development:\n\n## Gu Lab\n\n* Prof. Liangcai Gu, Assistant Professor, Department of Biochemistry, Institute of Protein Design\n* Dr. Shoukai Kang, Post-doctoral Fellow, Department of Biochemistry\n* Dr. Zhimin Huang, Post-doctoral Fellow, Department of Biochemistry\n* Li Sun, Research Engineer, Department of Biochemistry\n* Luis Castillo, Undergraduate Research Assistant, Department of Biochemistry\n* Jack Jiang, Undergraduate Research Assistant, Department of Biochemistry\n* \n## Baker Lab\n\n* Prof. David Baker, Professor, Department of Biochemistry; Director, Institute of Protein Design; HHMI Investigator\n* Dr. Chunfu Xu, Senior Fellow, Institute of Protein Design\n* Dr. Matthew Bick, Senior Fellow, Institute of Protein Design\n* Jason Klima, Graduate Research Assistant, Institute of Protein Design\n* Dr. Lance Stewart, Sr. Director of Strategy, Institute of Protein Design\n\n* Prof. Herbert Sauro, Associate Professor, Department of Bioengineering\n* Dr. Karen Thickman, Lecturer, Department of Microbiology, School of Medicine\n* Prof. James Carothers, Assistant Professor, Department of Chemical Engineering; Affiliated Investigator, NSF Synthetic Biology Engineering Research Center\n* Prof. Tomikazu Sasaki, Professor, Department of Chemistry\n* Brooke Angell, Lab Manager, Fields Lab, Department of Genome Sciences\n* Lucia Shumaker, Former Research Scientist/Engineer, Fields Lab, Department of Genome Sciences",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nwetlab\nWetlab",type:"SPECIAL"},{data:"# Wetlab:\n\n* Terra Vleeshouwer-Neumann, Research Scientist, Chen Lab, Department of Pathology\n* Texia Loh, Undergraduate Research Assistant, Chen Lab, Department of Pathology\n* Nick Terzopoulos, Assistant Research Scientist, Kaeberlein Lab, Department of Pathology\n* Brandy Tang, Research Associate, Human Photonics Lab, Department of Mechanical Engineering.\n* Andrew Francis, PhD Candidate, Fu lab, Department of Chemistry ",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nsimulations\nSimulations",type:"SPECIAL"},{data:"# Simulations:\n\n* Prof. Frank Dimaio, Assistant Professor, Department of Biochemistry, Institute of Protein Design\n* Prof. Herbert Sauro",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nbusiness\nBusiness",type:"SPECIAL"},{data:"# Business:\n\n* Dr. William Canestaro, Managing Director, Washington Research Foundation\n* Lumen Bioscience, Inc.\n* Institute of Systems Biology\n* Prof. Liangcai Gu\n* Dirk Smith, Founding Partner, Cascadia Drug Development Group\n* Just Biotherapeutics, Inc,\n* Amyris, Inc.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nfundraising\nFundraising",type:"SPECIAL"},{data:"# Fundraising:\n\n* Damien Chapman, Director for Corporate and Foundation Relations, UW Medicin",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\noutreach\nOutreach",type:"SPECIAL"},{data:"# Outreach:\n\n## Schools\n\n* International School, Bellevue, WA\n* Janet Roberts \n* Teacher: Cheryl McClure\n* Adventure Science Camp, Seattle, WA\n* Teachers: Sylwia Mazur Johnson & Zoe Leverso\n* Kent Meridian High School, Kent, WA\n* Jodie Spitze\n* Teacher: Brian Gabert\n* Rainier Beach High School, Seattle, WA\n* Kelly Rol\xf3n\n* Teacher: Karla Nyquist\n* Northgate Elementary School, Seattle, WA\n* Principal: Dedy Fauntleroy\n* Kea Ireland, Northgate Elementary Secretary\n* Guillermo Carvajal\n* Teacher: Jenny Tang\n* Sadhana School, Ahmedabad, India\n* Principal & Trustee: Pranav Mistry\n\n## \u201cSit Down with SynBio\u201d Event\n\n* Dr. Scott McIsaac (keynote speaker and panelist), Principal Investigator, Calico Life Sciences\n* Dr. Jim Roberts (panelist), Chief Scientific Officer, Lumen Biosciences, Inc.\n* Prof. Jennifer Nemhauser (panelist), Professor, Department of Biology\n* Prof. Herbert Sauro (panelist)",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nadministration\nAdministration",type:"SPECIAL"},{data:"# Administration:\n\n* Kevin Lybarger, PhD Candidate, Department of Electrical Engineering\n* Prof. Brian Fabien, Associate Dean, Academic Affairs, College of Engineering; Professor, Department of Mechanical Engineering\n* Zulfiya Lafi, Administrator, Department of Biochemistry\n* Tonya Alan Hirtzel, Assistant to the Chair, Department of Biochemistry\n* Cynthia Acuario, Program Operations Analyst, Department of Biochemistry\n* John Doan, Budget/Fiscal Analyst, Department of Biochemistry\n* Tana Knight, Budget/Fiscal Analyst, Department of Biochemistry\n* Prof. Trisha Davis, Professor and Chair, Department of Biochemistry",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nmeetupvandv\nMeetup VIPs and Volunteers",type:"SPECIAL"},{data:"# Meetup VIPs and Volunteers\n\n## VIPs\n\n* Dr. Ingrid Swanson Pultz, Chief Scientific Officer, PvP Biologics\n* Regina Wu, Co-Founder, SoundBio Lab\n* Cindy Wu, Co-Founder, Experiment\n* Dr. David Younger, Founder & CEO, A-Alpha Bio, Inc.\n* Dr. David Hirschberg, Founder & CEO, RAIN Incubator; Affiliate Associate Professor, University of * Washington Tacoma\n* Dr. Liangcai Gu\n* Roya Amini-Naieni, Founder & Director, PolymerSpace; Undergraduate Student, Harvey Mudd College\n## iGEM Ambassadors\n* Holly Bowman, Ambassador for North America\n* Amy Chen, Ambassador for North America\n## Volunteers\n* Sophie Liu, High School Student, Newport High School\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Attributions"},{content:[{data:"HEADER\nTEXT=SPONSORS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nMINPADDINGTOP=120\nBLUR=3",type:"SPECIAL"},{data:"SPONSORS\nNAME=UW Biochemistry Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/e/e8/T--Washington--biochemlogo.png;LINK=https://depts.washington.edu/biowww/;FILTER=Diamond;CUSTSIZE=75\nNAME=Genscript; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/e/e7/T--Washington--Genscriptlogo.png;LINK=https://www.genscript.com/;FILTER=Diamond;CUSTSIZE=75\nNAME=IDT; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/9/9e/T--Washington--IDTlogo.png;LINK=https://www.idtdna.com;FILTER=Diamond;CUSTSIZE=75\nNAME=UW Paul G. Allen School of Computer Science & Engineering; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/0/01/T--Washington--CSElogo.png;LINK=https://www.cs.washington.edu/;FILTER=Diamond;CUSTSIZE=75\nNAME=UW Department of Biomedical Informatics and Medical Education; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/d/d5/T--Washington--bioinfologo.png;LINK=http://bime.uw.edu/;FILTER=Gold;CUSTSIZE=75\nNAME=UW Bioengineering Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/8/8f/T--Washington--BioElogo.png;LINK=https://bioe.uw.edu/;FILTER=Gold;CUSTSIZE=75\nNAME=Institute of Protein Design; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/a/a6/T--Washington--IPDlogo.png;LINK=http://www.ipd.uw.edu/;FILTER=Gold;CUSTSIZE=75\nNAME=PvP Biologics; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/d/d3/T--Washington--PvPlogo.png;LINK=https://www.pvpbio.com/;FILTER=Gold;CUSTSIZE=75\nNAME=Crowdfunding: Friends of Washington iGEM; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/d/d9/T--Washington--HLogo1.png;FILTER=Gold;CUSTSIZE=75\nNAME=UW Biology Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/8/89/T--Washington--biologo.png;LINK=https://www.biology.washington.edu/;FILTER=Silver;CUSTSIZE=75\nNAME=UW Applied Math Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/5/54/T--Washington--appliedmathlogo.png;LINK=https://amath.washington.edu/;FILTER=Silver;CUSTSIZE=75\nNAME=UW Chemistry Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/b/b5/T--Washington--chemlogo.png;LINK=http://depts.washington.edu/chem/;FILTER=Silver;CUSTSIZE=75\nNAME=NEB; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/4/49/T--Washington--NEBlogo.png;LINK=https://www.neb.com/;FILTER=Silver;CUSTSIZE=75\nNAME=UW Microbiology Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/5/5e/T--Washington--microbiologo.png;LINK=https://microbiology.washington.edu/;FILTER=Bronze;CUSTSIZE=75\nNAME=UW Material Science and Engineering Department; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/0/0d/T--Washington--msebiologo.png;LINK=https://mse.washington.edu/;FILTER=Bronze;CUSTSIZE=75\nNAME=Zulip; SUBTEXT=;PICTURE=https://static.igem.org/mediawiki/2018/0/00/T--Washington--Zuliplogo.png;LINK=https://zulipchat.com/;FILTER=Diamond;CUSTSIZE=50",type:"SPECIAL"}],pageTitle:"/Sponsors"},{content:[{data:"HEADER\nTEXT=GALLERY\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=12\nSUBTITLEHEIGHT=7\nMINPADDINGTOP=120\nBLUR=3",type:"SPECIAL"},{data:"GALLERY\nsrc=https://via.placeholder.com/300/09f/fff.png;width=300;height=300\nsrc=https://www.blackfootfamilydentistry.com/wp-content/uploads/2016/10/orionthemes-placeholder-image.png;width=1920;height=1080\nsrc=https://via.placeholder.com/300/09f/fff.png;width=300;height=300\nsrc=https://www.blackfootfamilydentistry.com/wp-content/uploads/2016/10/orionthemes-placeholder-image.png;width=1920;height=1080\nsrc=https://via.placeholder.com/300/09f/fff.png;width=300;height=300\nsrc=https://www.blackfootfamilydentistry.com/wp-content/uploads/2016/10/orionthemes-placeholder-image.png;width=1920;height=1080\nsrc=https://via.placeholder.com/300/09f/fff.png;width=300;height=300",type:"SPECIAL"}],pageTitle:"/Gallery"},{content:[{data:"HEADER\nTEXT=MEDAL REQUIREMENTS\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=8\nSUBTITLEHEIGHT=7\nBLUR=3\nMINPADDINGTOP=120\nMINTITLEHEIGHT=5",type:"SPECIAL"},{data:"This year, we have completed the requirements to receive a gold medal, and are eligible for a number of special awards.",type:"MARKDOWN"},{data:"SECTION\ngold\nGold",type:"SPECIAL"},{data:"# Gold\n\n\u2714 Integrated Human Practices - We engaged with stakeholders and the public and used what we learned to inform our project\u2019s direction. Read more on our [Human Practices](https://2018.igem.org/Team:Washington/Human_Practices) page.\n\n\u2714 Model Your Project - Our project included a significant protein modeling component which tied in closely with our wetlab work. Learn more on our [Model](https://2018.igem.org/Team:Washington/Model) page.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nsilver\nSilver",type:"SPECIAL"},{data:"# Silver\n\n\u2714 Validated Part / Validated Contribution - We made four biobricks, some of which have characterization data. Visit our [Parts](https://2018.igem.org/Team:Washington/Parts) page to learn more.\n\n\u2714 Collaboration - We collaborated with multiple teams on InterLab, human practices, surveys, and through hosting the first-ever PNW iGEM Meetup. Read more on our [Collaborations](https://2018.igem.org/Team:Washington/Collaborations) page.\n\n\u2714 Human Practices Silver - We thought creatively and carefully about how our project could affect our world. Read more on our [Human Practices](https://2018.igem.org/Team:Washington/Human_Practices) page.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nbronze\nBronze",type:"SPECIAL"},{data:"# Bronze\n\n\u2714 Registration and Giant Jamboree Attendance - We registered and are attending the Jamboree!\n\n\u2714 Competition Deliverables - We filled out our judging form and completed our wiki, poster, and presentation by the competition deadlines.\n\n\u2714 [Attributions](https://2018.igem.org/Team:Washington/Attributions) - Thank you again to everyone who helped us with our project!\n\n\u2714 Characterization / Contribution - We successfully completed the InterLab study, and our results are posted on our [InterLab page](https://2018.igem.org/Team:Washington/InterLab).",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nel_sp_awards\nEligible Special Awards",type:"SPECIAL"},{data:"# Eligible Special Awards \n\n* Best Supporting Entrepreneurship Award\n* Best Model Award\n* Best Education & Public Engagement Award\n* Best Integrated Human Practices\n* Best Wiki\n* Best Poster\n* Best Presentation\n\n\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Medal_Requirements"},{content:[{data:"HEADER\nTEXT=HUMAN PRACTICES DESIGN\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=8\nSUBTITLEHEIGHT=7\nBLUR=3\nMINPADDINGTOP=70\nMINTITLEHEIGHT=6",type:"SPECIAL"},{data:"SECTION\nintro\nIntro",type:"SPECIAL"},{data:"# Intro\n\nIf a picture paints a thousand words, the motivation behind the design team was to paint our project as clearly as possible. Our aim was to create a team that would help bridge our team to the outside world \u2013 to both other scientists and non-scientific members of the community alike \u2013 to spread the knowledge of synthetic biology as well as our year-long research. This opportunity allowed us to be more conscientious of what we want our message to be and how to best portray that information for the intended audience.\n\nWe worked to illustrate materials for many events and projects throughout the year, from designing recruitment posters to creating the team logo, illustrating a logo and materials for the PNW Meetup, and illustrating the pages of the Outreach Booklet. We also made our project more presentable for the competition by designing and composing figures for the wiki and putting together the presentation poster. Ultimately, we formed a small team of scientists who were willing to teach themselves design skills using programs on Adobe such as Photoshop, Illustrator, and After Effects to undertake projects deemed valuable for sharing the story of CID dimerization and synthetic biology overall.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\noutreachbooklet\nOutreach Booklet",type:"SPECIAL"},{data:"# Outreach Booklet\n\nThis year, Washington iGEM wrote and compiled a series of synthetic biology-related activities that were translated into several languages and utilized globally. The Outreach and Design teams collaborated on this project to create the most legible and engaging activity booklet possible.\n\nThe members of the Design team aimed to produce artistic works that were both aesthetically pleasing and extremely easy to read. To accomplish this, we chose sans-serif fonts, which are more legible at smaller sizes. Additionally, because much of the activity booklet is intended for younger demographics, such as elementary students, a sans-serif font would aid in reading text more smoothly as a consequence of its simple font anatomy.\n\nThere was no particular color scheme for this booklet, as the intent of the design was simply to catch the eye of the reader. We aimed to introduce variety into each activity by altering the color of the header title and supplementing the pages with various artworks. More importantly, we wanted to portray synbio topics in a manner that was not intimidating or complicated. The booklet was created with the intent of introducing synthetic biology to a wide audience, including students with intellectual disabilities and English Language Learners. We wanted the readers to be able to take the topics out of a classroom context and relate it to their own lives. Our primary goal was to separate \u201csynthetic biology\u201d from a \u201ctextbook definition.\u201d\n\nWhile we are immensely proud of the final product, the Design team understands that further improvements in the booklet could be made in the future to ensure higher quality work. Specifically, in the translations by other teams, some of the fonts and formatting were changed due to the constraints of online PDF editors. Thus, the Design team at Washington iGEM aims to work more diligently to create more enticing and cohesive professional works. With the academic year just starting, Washington iGEM hopes to incorporate more unique and effective lessons for young, aspiring scientists to learn about synthetic biology!\n",type:"MARKDOWN"}],isContent:!0,pageTitle:"/HP_Design"},{content:[{data:"HEADER\nTEXT=TEAM DEVELOPMENT\nBACKGROUND=https://static.igem.org/mediawiki/2018/7/7b/T--Washington--TEAMBanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=8\nMINTITLEHEIGHT=6\nMINPADDINGTOP=120\nSUBTITLEHEIGHT=7\nBLUR=3",type:"SPECIAL"},{data:"SECTION\nteamcommunications\nTeam Communications",type:"SPECIAL"},{data:"# Team Communications: A crucial aspect of an iGEM team\n\nAs of 2017, the University of Washington has over 45,000 enrolled students, of which about 40% are commuters, with a campus size of over 2.56km\xb2. On a campus like this, sometimes meeting together is close to impossible. Throughout the years of operating an iGEM team at the University of Washington, one of the biggest issues with team cohesion, morale, and success has been **communication**. Our advisers especially noted that this was true among the 3+ years they have been involved, and it remains a problem regardless of team size. With our unusually large team this year, it is an _especially_ large problem. Our team has experimented with various communication platforms that can fit with the fluidity and multi-faced nature of an iGEM team.\n\n## Trying different platforms\n\nOur team has tried many different methods of communication but most platforms fell short because they did not meet our criteria for our ideal communication platform. In the past, we have used Google Hangouts Chat, Facebook Messenger, and Slack Free edition. Based on this experience, we have identified shortcomings of these platforms. At the start of the season, the leadership team that continued from the 2017 team discussed what we wanted in a communication platform:\n\nBased on our past experience, our ideal platform would:\n\n* Be **portable and accessible**: The program should work on multiple operating systems (Windows, MacOS, Linux) and also be available on mobile apps (Android, iOS). \n* Be **stable**: The programs should be able to reliably send and receive messages and files, in any form, and not fail to send messages we type.\n* Be **affordable**: We do not have a budget that we can allocate to our communication platform, so we were ideally looking for an open-source free solution. Slack is expensive at $7/user/month. \n* Be **organized**: The platform should have a good way to organize many topics and discussion at the same time. One problem with Facebook Messenger and Google Hangouts was the lack of threading or separation by topics.\n* Be **searchable**: We send many messages every day. We need a way to search all messages in case we need to get back to it.\n* Have a layer of **privacy**: We have a complicated team structure. We need private and public channels, as well as the ability to privately message other users.\n* Have **long-term storage**: One issue with Slack is that our team easily reached our maximum message number limit, and halfway through the season, we started to lose crucial messages.\n\nWe have tried multiple messaging platforms listed below:\n\n| Platform | Comments |\n|-|-|\n| Rocket.chat | $10/month for the whole server, but limited threading capabilities. |\n| Ryver | Free, but the layout is confusing. It seems to be trying to be Slack and Trello in one. |\n| Trello | Great layout for task management, but it\u2019s not intuitive for quick communication. |\n| Chanty | Too early in its development and lacks a lot of features that other programs have. |\n| HipChat | Too expensive! |\n| Bitrix24 | Too expensive! |\n| MatterMost | The platform is very good and intuitive, but is $150/month for 50 users. We could not find a server to host an instance. |\n| Slack | Slack was what we used last season, but the biggest complaints were that discussions couldn\u2019t be sustained, and there was a maximum message retention limit. |\n| Google Hangouts | Very ubiquitous, but does not support threading or easy messaging of users. |\n| Facebook | Everyone uses Facebook, but often for personal, \u201cnon-work\u201d uses, and many team members said they wanted to keep iGEM \u201cbusiness\u201d separate from their personal social media. Messenger has the same problem as Google Hangouts. |\n| IRC | IRC is too niche and too minimalist. The messages that people send will also not be visible if they are offline. |\n| SnapChat | Too casual and won\u2019t be conducive to working. |\n| Zoom | Works great as a video messaging system, but it\u2019s too simple and doesn\u2019t have features necessary for the team. |\n| GroupMe, WeChat, LINE, Kakotalk, Whatsapp | Instant messaging platforms like these are too casual and has the same problem as Google Hangouts. |",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/7/7f/T--Washington--SlackUsage.jpg,Slack usage,boxShadow: 5px 5px 10px gray,margin:auto,width:90%",type:"IMAGE"},{data:"Figure 1. Our analytics of Slack usage last year. We went well over 10 times the amount of free messages we had.\n\nAfter lots of experimentation, we found a relatively new platform called Zulip.",type:"MARKDOWN"},{data:"## Zulip\n\nZulip is a very different communication platform developed at MIT (just like iGEM!) in 2012 as a startup. In 2014, it was acquired by Dropbox while in private beta, where it met favorable opinions from beta users. In late 2015, it was released as open source software. The Zulip project is now one of the world\u2019s largest active open source projects. There is now a company dedicated to developing Zulip, as well as a hosted server service funded by the National Science Foundation. [1] The core team developing Zulip includes former and current Dropbox employees, MIT and Stanford graduates, and core Python contributors. [2]\n\nZulip has an innovative approach to chat styling: They combine Slack\u2019s immediacy and portability with an email threading model. This allows teams to immediately address completely different discussions, while keeping organization and neatness. Zulip wonderfully hits almost all of our criteria. [3]\n",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/a/ab/T--Washington--ZulipScreenshot.jpg,Zulip desktop,boxShadow: 5px 5px 10px gray,margin:auto,width:90%",type:"IMAGE"},{data:"Figure 2. A screenshot of Zulip, desktop program version, Windows, dark mode. Note its email-threading method of showing multiple discussions at once.\n\n| Criteria | Zulip feature |\n|-|-|\n| Portable + Accessible | Zulip was built on a platform supported by all OSes, and if the desktop app doesn\u2019t work, it can be used in the browser, just like Slack. It also has an Android and iOS app. |\n| Stable | Zulip was originally still the beta version when we started using it. Since then, stability of the desktop and mobile apps have improved dramatically to almost no issues. |\n| Cheap | Zulip has the same pricing plan as Slack. But, unlike Slack, they offer their premium plan to non-profit groups. After asking them, they immediately offered us a premium plan for free! |\n| Organized | Zulip is organized into \u201cstreams\u201d (akin to \u201cchannels\u201d) and \u201ctopics\u201d within the streams. Their home window can show multiple topics within streams at once. Our team members have really responded well, and it has created efficient and rapid communication possible. |\n| Searchable | Zulip has a global search bar that can search every single post ever, which works almost immediately. |\n| Privacy | Zulip allows for private streams, private messages, and group private messages. |\n| Long-term Storage | With the premium plan, we are able to keep every single message, as well as 10GB of storage for every single member! |\n\nSince the beginning of the season, we have been using Zulip. In the winter, Zulip had many issues and their Android app was almost completely unusable. Contrary to almost all other messaging platforms and the companies that run them, the **Zulip development team is extremely transparent**. Almost all of their development discussion among workers and volunteers happens on a public Zulip chat server. This means that our members can **report bugs directly to the staff**, and get a reply often within minutes, with a fix implemented in days, sometimes **immediately**.",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/0/0a/T--Washington--ZulipBugs.jpg,Zulip Bug reporting,boxShadow: 5px 5px 10px gray,margin:auto,width:90%",type:"IMAGE"},{data:"https://static.igem.org/mediawiki/2018/2/28/T--Washington--Zulipusage.jpg,Zulip usage statistics,boxShadow: 5px 5px 10px gray,margin:auto,width:97%",type:"IMAGE"},{data:"Figure 4: Our Zulip analytics for the whole season. We reached almost 60,000 messages with an average of 60 users. By the end of our season, we had 44 active members in the team using Zulip.\n\nAfter we stressed the importance of the android app to our team, the lead developers surveyed other teams utilizing Zulip, and greatly prioritized stability of the app. Within a few months, the android app now works as well as the mature desktop app. The **openness** and **accessibility** of the development team was extremely refreshing to our team. We realized that this kind of culture was something to emulate within our iGEM team as well. We strongly recommend Zulip for iGEM teams in the future.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nteamopsandmgmt\nTeam Operations & Management",type:"SPECIAL"},{data:"# Team Operations and Management\n\nWhen managing a team of over 40 members, it is essential to keep every member engaged, informed, and motivated to contribute to the project. This year, our operations team, comprised of our two Administrative Leads, Andrew Hu and Angel Wong, and our Director of Internal Affairs, Krithi Basu, worked hard with the help of our advisors, Yoshi Goto and Anastasia Nicolov, to ensure that each team member felt comfortable voicing their questions and concerns and was generally excited to be in iGEM. \n\nAt the beginning of the summer, individual check-ins were conducted with every single member on the team. We felt that these check-ins were essential to not only understanding members\u2019 experiences on the team thus far, but also being receptive to new ideas regarding the project or general team structure and operations. During these check-ins, a variety of questions were asked, some specific to members\u2019 subteams and others about understanding of the project, information access and organization on Zulip, and feedback and suggestions for how leadership can better manage the team. At the end of these check-ins, our Director of Internal Affairs had a _26-page document_ compiling each members\u2019 responses, complete with summaries of observations and feedback for every subteam lead to read and adjust their leadership style accordingly. \n\nUpon concluding the check-ins and listening to everyone\u2019s evaluations, it became apparent that there was too much of a divide between subteams--most people had yet to meet every person on the team! This isolation resulted in a lack of communication and awareness of the work in different aspects of the team. The operations team took members\u2019 suggestions for improvement and created a weekly updates stream on Zulip where every subteam lead would post an update every week about what their subteam had accomplished over the week and their goals for the upcoming week. We received lots of positive reactions from members after instituting this stream, indicating that we succeeded in improving communication and awareness across the whole team. Additionally, to further combat isolation between subteams, we began to hold social events, including weekly optional lunches, an Escape Room, and an evening outing at a boba cafe! \n\nThroughout the season, our Director of Internal Affairs performed periodic check-ins with members who became inactive for long periods of time without communication. These check-ins helped determine whether inactive members required more guidance, needed to take a break due to other commitments, or simply lost motivation. The concerns of such members were immediately passed on to the relevant leadership members who would provide more instruction and guidance for how they can continue to contribute. We also created an anonymous team management survey as a sort of virtual check-in at the beginning of fall to collect members\u2019 latest opinions, feedback, questions, and concerns about the way various subteams and the overall team was run through the summer. Based on the responses, some improvements that we will incorporate for the team next season are more frequent all-team meetings, better delegation of work, and stronger communication between leadership and general members. Furthermore, to create a more continuous channel of feedback from team members, we will be creating and advertising an anonymous feedback form throughout the season. \n\nAs this year\u2019s season ends, we have learned that to successfully run a large team, the most important priority is clear and constant communication between each part of the team. For other teams, we recommend the use of individual check-ins, anonymous feedback surveys, weekly updates from all subteams (including administration), and social events to create a positive community where every individual feels comfortable asking questions and expressing any concerns or suggestions for improvement. Such an environment is ideal for optimal learning, collaboration, productivity, and overall fun in an iGEM team! \n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations\n\n* [4](https://zulipchat.com/history/)\n* [5](https://zulipchat.com/team/)\n* [6](https://zulipchat.com/features/)",type:"MARKDOWN"}],isContent:!0,pageTitle:"/Team_Development"},{content:[{data:"HEADER\nTEXT=HARDWARE\nBACKGROUND=https://static.igem.org/mediawiki/2018/6/66/T--Washington--RotaryCad.png\nYPOS=15\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=9\nSUBTITLEHEIGHT=7\nBLUR=3\nMINTITLEHEIGHT=7\nMINPADDINGTOP=120\nPADDINGTOP=120",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"# Overview\n\nThis year, Washington iGEM has created a **cheap, modular, open source** rotary tool for our Wetlab team. Tube rotators can cost [over $200](http://www.southwestscience.com/STR200_Tube_Rotators.html), even though it is simply a motor attached to a base that is powered by a battery. We designed our system around using [this](https://www.sciencedirect.com/science/article/pii/S2468067216300049?via%3Dihub) open source rotator on ScienceDirect as a starting point. We augmented our device to allow for more control than the original version, by introducing an LCD display and a 3D printed housing unit that accommodate the larger Arduino Uno.",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncadfiles\nCAD Files",type:"SPECIAL"},{data:"# CAD Files",type:"MARKDOWN"},{data:"https://static.igem.org/mediawiki/2018/6/66/T--Washington--RotaryCad.png,CAD Display,boxShadow: 5px 5px 10px gray,margin:auto,width:40%",type:"IMAGE"},{data:"The ScienceDirect version only provided the printing files, and not files we could easily modify. We chose to print out the original version, take measurements, and reverse engineer the CAD into Autodesk Fusion 360 in order to make the modifications we required. Through iterative design, we came up with this housing that allows the LCD display to sit nicely on the top, and for the internals to be hidden from the user. This design also allows the users enough room to make their own modifications as needed. \n\nThe CAD files can be found [here](https://static.igem.org/mediawiki/2018/b/b2/T--Washington--RotatorToolFiles.zip).",type:"MARKDOWN"},{data:"SEP\n",type:"SPECIAL"},{data:"SECTION\ncode\nCode",type:"SPECIAL"},{data:"# Code\n\nIn order to control the spinner, we found [code written by Angelo Fiorillo](https://www.hackster.io/i-and-myself/arduino-kitchen-timer-db8ba6) to display output to the LCD screen and modified it slightly to work with our relay. The modified code can be found below (click to expand). ",type:"MARKDOWN"},{data:'ACCORDION\n===\nCode\n```\n/**************************************************\n * Arduino Rotary UW iGEM 2018\n * \n * Using:\n * Arduino Kitchen Timer v1.0 - 2016/01/27\n * By Angelo Fiorillo (Rome, IT)\n * This work is distributed under the GNU General \n * Public License version 3 or later (GPL3+)\n * Please include this credit note if you want to \n * re-use any part of this sketch. Respect my work \n * as I\'ll do with yours.\n * Feel free to contact me: afiorillo@gmail.com\n * ************************************************/\n \n#include <LiquidCrystal.h>\n#include <TimeLib.h>\nLiquidCrystal lcd(13,12,2,3,4,5);\n\nlong setupHours = 0; // How many hours will count down when started\nint setupMinutes = 0; // How many minutes will count down when started\nint setupSeconds = 0; // How many seconds will count down when started\ntime_t setupTime = 0;\ntime_t currentTime = 0;\ntime_t pauseTime = 0;\ntime_t startTime = 0;\ntime_t pauseRemainTime = 0;\ntime_t elapsedTime = 0;\n\nlong switchButtonLongPressCounter = 0;\nint switchButtonState = LOW;\nint upButtonState = LOW;\nint downButtonState = LOW;\nint switchButtonPrevState = LOW;\nint upButtonPrevState = LOW;\nint downButtonPrevState = LOW;\nbool switchButtonLongPressed = false;\nbool switchButtonPressed = false;\nbool downButtonPressed = false;\nbool upButtonPressed = false;\n\nconst int MODE_SETUP = 0;\nconst int MODE_RUNNING = 1;\nconst int MODE_COUNTING = 2;\nconst int MODE_PAUSED = 3;\nconst int MODE_RINGING = 4;\n\nint lastMode; //for storing last mode state when paused\nint currentMode = MODE_SETUP;\nint dataSelection = 0; // Currently selected data for edit (setup mode, changes with Start/Stop)\n // 0=hours (00-99) 1=minutes (00-59) 2=seconds (00-59)\n\nvoid setup() {\n lcd.begin(16, 2);\n pinMode(8, INPUT); //switchButtonPin\n pinMode(9, INPUT); //upButtonPin\n pinMode(10, INPUT); //downButtonPin\n pinMode(11, OUTPUT); //buzzerPin\n pinMode(1, OUTPUT); //relay\n}\n\nvoid loop() {\n switchButtonPressed = false;\n upButtonPressed = false;\n downButtonPressed = false;\n \n//-----BUTTON MANAGEMENT------//\n //switch/reset button\n switchButtonPressed = false;\n switchButtonLongPressed = false;\n switchButtonState = digitalRead(8); //switchButtonPin\n if(switchButtonState != switchButtonPrevState)\n {\n switchButtonPressed = switchButtonState == HIGH;\n switchButtonPrevState = switchButtonState;\n } \n if(switchButtonState == HIGH) //longpress button management\n {\n switchButtonLongPressCounter++;\n if(switchButtonLongPressCounter == 80)\n {\n switchButtonPressed = false;\n switchButtonLongPressed = true;\n switchButtonLongPressCounter = 0;\n }\n }\n else\n {\n switchButtonLongPressCounter = 0;\n switchButtonPressed = false;\n switchButtonLongPressed = false;\n } \n\n //up button\n upButtonPressed = false;\n upButtonState = digitalRead(9); //upButtonPin\n if(upButtonState != upButtonPrevState)\n {\n upButtonPressed = upButtonState == HIGH;\n upButtonPrevState = upButtonState;\n }\n\n //downbutton\n downButtonPressed = false;\n downButtonState = digitalRead(10); //downButtonPin\n if(downButtonState != downButtonPrevState)\n {\n downButtonPressed = downButtonState == HIGH;\n downButtonPrevState = downButtonState;\n }\n \n//-----MODE MANAGEMENT------//\n switch(currentMode)\n {\n case MODE_SETUP:\n if(switchButtonLongPressed)\n {\n fullReset();\n }\n if(digitalRead(6)==HIGH)\n {\n currentMode = MODE_RUNNING;\n startTime = now();\n setupTime = setupSeconds + (60 * setupMinutes) + (3600 * setupHours);\n } \n if(digitalRead(7)==HIGH)\n {\n currentMode = MODE_COUNTING;\n startTime = now();\n\n } \n if(downButtonPressed)\n {\n switch(dataSelection)\n {\n case 0: // hours\n setupHours--;\n if(setupHours == -1)\n {\n setupHours = 23;\n }\n break;\n case 1: // minutes\n setupMinutes--;\n if(setupMinutes == -1)\n {\n setupMinutes = 59;\n }\n break;\n case 2: // seconds\n setupSeconds--;\n if(setupSeconds == -1)\n {\n setupSeconds = 59;\n }\n break;\n }\n }\n \n if(upButtonPressed)\n {\n switch(dataSelection)\n {\n case 0: // hours\n setupHours++;\n if(setupHours == 24)\n {\n setupHours = 0;\n }\n break;\n case 1: // minutes\n setupMinutes++;\n if(setupMinutes == 60)\n {\n setupMinutes = 0;\n }\n break;\n case 2: // seconds\n setupSeconds++;\n if(setupSeconds == 60)\n {\n setupSeconds = 0;\n }\n break;\n }\n }\n \n if(switchButtonPressed)\n {\n dataSelection++;\n if(dataSelection == 3)\n {\n dataSelection = 0;\n }\n }\n break;\n case MODE_RUNNING:\n if(switchButtonPressed)\n {\n currentMode = MODE_PAUSED;\n lastMode = MODE_RUNNING;\n }\n if(digitalRead(6)==LOW && digitalRead(7)==LOW)\n {\n currentMode = MODE_SETUP;\n }\n break;\n case MODE_PAUSED:\n if(switchButtonPressed)\n {\n currentMode = lastMode;\n }\n if(digitalRead(6)==LOW && digitalRead(7)==LOW)\n {\n currentMode = MODE_SETUP;\n reset();\n }\n break;\n case MODE_RINGING:\n if(digitalRead(6)==LOW && digitalRead(7)==LOW)\n {\n currentMode = MODE_SETUP;\n }\n break;\n case MODE_COUNTING:\n if(switchButtonPressed)\n {\n currentMode = MODE_PAUSED;\n lastMode = MODE_COUNTING;\n }\n if(digitalRead(6)==LOW && digitalRead(7)==LOW)\n {\n currentMode = MODE_SETUP;\n currentTime = 0;\n }\n break;\n }\n\n//-----TIME MANAGEMENT------//\n switch(currentMode)\n {\n case MODE_SETUP:\n // NOP\n break;\n case MODE_PAUSED:\n pauseRemainTime = currentTime;\n pauseTime = now();\n break;\n case MODE_RUNNING:\n if(pauseRemainTime != 0)\n {\n currentTime = pauseRemainTime - (now() - pauseTime);\n if(currentTime <= 0)\n {\n currentMode = MODE_RINGING;\n }\n }\n else\n currentTime = setupTime - (now() - startTime); \n if(currentTime <= 0)\n {\n currentMode = MODE_RINGING;\n }\n break;\n case MODE_RINGING:\n analogWrite(11, 20); //buzzerPin is 10\n delay(250);\n analogWrite(11, 0); //buzzerPin is 10\n delay(350);\n pauseRemainTime = 0;\n break;\n case MODE_COUNTING:\n if(pauseRemainTime != 0)\n {\n currentTime = pauseRemainTime + (now() - pauseTime);\n }\n else\n {\n currentTime = now()- startTime;\n } \n }\n\n//-----LCD MANAGEMENT------//\n lcd.setCursor(0, 0);\n switch(currentMode)\n {\n case MODE_SETUP:\n lcd.print("READY H M S");\n lcd.setCursor(0, 1); \n switch(dataSelection)\n {\n case 0:\n lcd.print("HRS");\n break;\n case 1:\n lcd.print("MIN");\n break;\n case 2:\n lcd.print("SEC");\n break;\n } \n if (setupMinutes <10) lcd.print("0");\n lcd.print(setupMinutes);\n lcd.print(":");\n if (setupSeconds <10) lcd.print("0");\n lcd.print(setupSeconds);\n break;\n \n case MODE_PAUSED:\n lcd.print("PAUSED H M S");\n lcd.setCursor(8, 1);\n if(hour(currentTime) < 10) lcd.print("0");\n lcd.print(hour(currentTime));\n lcd.print(":");\n if(minute(currentTime) < 10) lcd.print("0");\n lcd.print(minute(currentTime));\n lcd.print(":");\n if(second(currentTime) < 10) lcd.print("0");\n lcd.print(second(currentTime));\n case MODE_RUNNING:\n lcd.print("RUNNING H M S");\n lcd.setCursor(0, 1);\n if(minute(currentTime) < 10) lcd.print("0");\n lcd.print(minute(currentTime));\n lcd.print(":");\n if(second(currentTime) < 10) lcd.print("0");\n lcd.print(second(currentTime));\n break;\n case MODE_RINGING:\n lcd.print(" RING-RING! ");\n lcd.setCursor(0, 1);\n lcd.print(" TIMES UP ");\n break;\n case MODE_COUNTING:\n lcd.print("COUNTING H M S");\n lcd.setCursor(0,1);\n lcd.print(minute(currentTime));\n lcd.print(":");\n \n if(second(currentTime) < 10) lcd.print("0");\n lcd.print(second(currentTime));\n break; \n }\n delay(10);\n\n if(currentMode == MODE_RUNNING || currentMode == MODE_COUNTING) digitalWrite(1,HIGH); //relay pin\n else digitalWrite(1,LOW);\n}\n \nvoid reset()\n{\n currentMode = MODE_SETUP;\n pauseRemainTime = 0;\n pauseTime = 0;\n}\n\nvoid fullReset()\n{\n currentMode = MODE_SETUP;\n setupHours = 0; \n setupMinutes = 0; \n setupSeconds = 0; \n setupTime = 0;\n currentTime = 0;\n pauseRemainTime = 0;\n pauseTime = 0;\n startTime = 0;\n elapsedTime = 0;\n}\n\n```',type:"SPECIAL"}],isContent:!0,pageTitle:"/Hardware"},{content:[{data:"HEADER\nTEXT=INTEGRATED HP\nBACKGROUND=https://static.igem.org/mediawiki/2018/5/5e/T--Washington--ihpbanner.png\nBACKGROUNDOPACITY=0.60\nBACKGROUNDLIGHTNESS=10\nTEXTHEIGHT=8\nSUBTITLEHEIGHT=7\nBLUR=3\nMINPADDINGTOP=120\nMINTITLEHEIGHT=5",type:"SPECIAL"},{data:"SECTION\noverview\nOverview",type:"SPECIAL"},{data:"# Overview\n\nThis year, we aimed to engage stakeholders, examine our project\u2019s economic and societal implications, and communicate our work effectively and transparently. Our lab work was shaped by our conversations with stakeholders and the public. We spoke with doctors about how vitamin D deficiency affects our local community, interviewed the general public about their perception regarding vitamin D and detection systems, investigated the relevance of CBD detection with evolving regulations, and reached out to Amyris and other companies for ideas on valuable molecular targets that need detection. By taking a holistic approach to our work, we can make a practical difference in our communities. \n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ninterviews\nInterviews",type:"SPECIAL"},{data:"# Interviews with Experts on Vitamin D\n\nFirst, we did some initial literature research on Cholecalciferol, or Vitamin D3. Our summary of this work can be found [here](https://2018.igem.org/Team:Washington/Description).\n\nTo learn more about the significance of Vitamin D insufficiency and deficiency, especially in our local community, we interviewed 3 local doctors about their experiences.\nDr. Dr. Bradley Anawalt is an endocrinologist & chief of medicine at the University of Washington Medical Center.\nDr. Dr. Amy Baernstein is an Internist and Primary Care Physician specializing in Women\u2019s Health at the University of Washington Medical Center.\nDr. Emily Myers is a neurodevelopmental pediatrician at Seattle Children\u2019s Hospital\n\nHere is our interview with Dr. Bradley Anawalt:\n",type:"MARKDOWN"},{data:"VIDEO\nhttps://static.igem.org/mediawiki/2018/6/67/T--Washington--Doc1.mp4",type:"SPECIAL"},{data:"Here is our interview with Dr. Emily Myers:",type:"MARKDOWN"},{data:"VIDEO\nhttps://static.igem.org/mediawiki/2018/2/29/T--Washington--Doc2.mp4",type:"SPECIAL"},{data:"**Dr. Emily Myers wrote the following in response to our questions:**\n\n1. How prevalent are the effects of vitamin D deficiency in your own clinical experience?\n\n _Nearly 100% of my patients are vitamin D insufficient unless they are on supplementation either with vitamin D or on pediasure or other formula. A smaller proportion are vitamin D deficient, I would say 25%. We commonly see the effects of vitamin D deficiency in our clinic, particularly in our nonambulatory patients, with fractures being all too common from decreased bone mineral density._\n\n2. What are the effects of vitamin D deficiency on childhood development (neurodevelopmental or broader)?\n\n _Vitamin D is an ubiquitously needed vitamin, it is important for brain development and mood. But also critical for bone health. Severe deficiency coupled with Ricketts can lead to seizures (from hypocalcemia) and brain damage._\n\n3. What are some clinical observations on current vitamin D detection methods (i.e. cost, availability, relevance, risks)? What would you like to see in a vitamin D deficiency detection system?\n\n _We check annual labs on all of our patients who are non-ambulatory, have restricted diets for a variety of developmental or behavioral reasons, or who are at increased nutritional risk. We check vitamin D yearly, and have standardized assessment and treatment recommendations for children in our clinic. I would like to see more standard guidelines across institutions and through the American Academy of Pediatrics to guide clinical care._\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ndiscussingvd\nDiscussing Vitamin D Deficiency",type:"SPECIAL"},{data:"# Discussing Vitamin D Deficiency with the General Public\n\nTo learn more about public perceptions of vitamin D deficiency, as well as synthetic biology and genetic engineering in general, we conducted interviews at a popular local park. Read more about this project [here](https://2018.igem.org/Team:Washington/Public_Engagement) under _Community Interviews_.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\nartemisinin\nConversations about Artemisinin",type:"SPECIAL"},{data:"# Conversations about Artemisinin \n\nFirst, we investigated through literature research the importance of artemisinin in the developing world as it is a leading malaria drug. A summary of this work can be found [here](https://2018.igem.org/Team:Washington/Description) under _Artemisinin_.\n\nOur business team also talked extensively with representatives from Amyris, a company based in the Bay Area that pioneered the production of artemisinin using synthetic biology. You can read about their insight and how it guided our project\u2019s focus [here](https://2018.igem.org/Team:Washington/Entrepreneurship) under _Potential Customer Interviews_.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncannabidiol\nResearch on Cannabidiol",type:"SPECIAL"},{data:"# Research on Cannabidiol\n\nPrevious work in the Gu lab has developed nanobody CID binders for cannabidiol, or CBD, which are sensitive enough to distinguish between this medicinal component of cannabis and THC, the psychoactive component. This is especially relevant in the United States and Canada, where regulations surrounding CBD and THC are evolving. Thus, the ability to distinguish between them is becoming more important. A summary of our investigation into CBD can be found [here](https://2018.igem.org/Team:Washington/Description) under _Cannabidiol_.\n\nBecause the CID nanobodies for CBD had already been developed by the Gu lab, our decision to use them in our project and develop parts of this system as biobricks was not influenced by research or interviews we did with stakeholders. However, through discussions with Dr. Gu, we learned that his decision to use CBD as a target for his proof-of-concept CID system was based on CBD\u2019s practical relevance in in our community. In addition to being able to distinguish between CBD and the structurally-similar THC, a biosensor would also be useful in testing for \u201ccounterfeit\u201d CBD products, which are advertised to contain CBD but actually contain little or none.[1] Such a biosensor would be of interest to manufacturers and sellers, who are often held legally responsible for the quality of their products, but also to law enforcement in areas where CBD is legal but THC is not.\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"SECTION\ncitations\nCitations",type:"SPECIAL"},{data:"# Citations\n\nOffice of the Commissioner. (n.d.). Public Health Focus - Warning Letters and Test Results for Cannabidiol-Related Products. Retrieved from https://www.fda.gov/newsevents/publichealthfocus/ucm484109.htm\n",type:"MARKDOWN"},{data:"SEP",type:"SPECIAL"},{data:"NAVIGATION\nLEFT=https://2018.igem.org/Team:Washington/Human_Practices;LEFTNAME=Human Practices;RIGHT=https://2018.igem.org/Team:Washington/Collaborations;RIGHTNAME=Collaborations",type:"SPECIAL"}],isContent:!0,pageTitle:"/Integrated_Human_Practices"}]},function(e,t,n){"use strict";n(852)},function(e,t,n){"use strict";(function(e){var t=n(95),r=n.n(t);(function(){function e(e){return"string"==typeof e}function t(e){return"boolean"==typeof e}function n(){}function i(e){var t=typeof e;if("object"==t){if(!e)return"null";if(e instanceof Array)return"array";if(e instanceof Object)return t;var n=Object.prototype.toString.call(e);if("[object Window]"==n)return"object";if("[object Array]"==n||"number"==typeof e.length&&"undefined"!=typeof e.splice&&"undefined"!=typeof e.propertyIsEnumerable&&!e.propertyIsEnumerable("splice"))return"array";if("[object Function]"==n||"undefined"!=typeof e.call&&"undefined"!=typeof e.propertyIsEnumerable&&!e.propertyIsEnumerable("call"))return"function"}else if("function"==t&&"undefined"==typeof e.call)return"object";return t}function o(e){return null===e}function a(e){return"array"==i(e)}function s(e){var t=i(e);return"array"==t||"object"==t&&"number"==typeof e.length}function l(e){return"function"==i(e)}function u(e){var t=typeof e;return"object"==t&&null!=e||"function"==t}function c(e,t,n){return e.call.apply(e.bind,arguments)}function d(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function f(e,t,n){return f=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?c:d,f.apply(null,arguments)}function h(e,t){var n=Array.prototype.slice.call(arguments,1);return function(){var t=n.slice();return t.push.apply(t,arguments),e.apply(this,t)}}function p(e,t){function n(){}n.prototype=t.prototype,e.nb=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.dd=function(e,n,r){for(var i=Array(arguments.length-2),o=2;o<arguments.length;o++)i[o-2]=arguments[o];return t.prototype[n].apply(e,i)}}function m(e){e.prototype.then=e.prototype.then,e.prototype.$goog_Thenable=!0}function g(e){if(!e)return!1;try{return!!e.$goog_Thenable}catch(e){return!1}}function v(e){if(Error.captureStackTrace)Error.captureStackTrace(this,v);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e))}function y(e,t){e=e.split("%s");for(var n="",r=e.length-1,i=0;i<r;i++)n+=e[i]+(i<t.length?t[i]:"%s");v.call(this,n+e[r])}function b(e,t){throw new y("Failure"+(e?": "+e:""),Array.prototype.slice.call(arguments,1))}function w(e,t){this.c=e,this.f=t,this.b=0,this.a=null}function E(e,t){e.f(t),100>e.b&&(e.b++,t.next=e.a,e.a=t)}function T(){this.b=this.a=null}function _(){var e=ou,t=null;return e.a&&(t=e.a,e.a=e.a.next,e.a||(e.b=null),t.next=null),t}function k(){this.next=this.b=this.a=null}function x(t,n){var r=t.length,i=e(t)?t.split(""):t;for(--r;0<=r;--r)r in i&&n.call(void 0,i[r],r,t)}function S(t){e:{for(var n=Kr,r=t.length,i=e(t)?t.split(""):t,o=0;o<r;o++)if(o in i&&n.call(void 0,i[o],o,t)){n=o;break e}n=-1}return 0>n?null:e(t)?t.charAt(n):t[n]}function C(e,t){return 0<=zl(e,t)}function O(e,t){t=zl(e,t);var n;return(n=0<=t)&&Array.prototype.splice.call(e,t,1),n}function A(e,t){var n=0;x(e,function(r,i){t.call(void 0,r,i,e)&&1==Array.prototype.splice.call(e,i,1).length&&n++})}function P(e){return Array.prototype.concat.apply([],arguments)}function I(e){var t=e.length;if(0<t){for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}return[]}function R(e,t){for(var n=e.split("%s"),r="",i=Array.prototype.slice.call(arguments,1);i.length&&1<n.length;)r+=n.shift()+i.shift();return r+n.join("%s")}function N(e){return $l.test(e)?(-1!=e.indexOf("&")&&(e=e.replace(Vl,"&")),-1!=e.indexOf("<")&&(e=e.replace(Kl,"<")),-1!=e.indexOf(">")&&(e=e.replace(Yl,">")),-1!=e.indexOf('"')&&(e=e.replace(Zl,""")),-1!=e.indexOf("'")&&(e=e.replace(Xl,"'")),-1!=e.indexOf("\0")&&(e=e.replace(Ql,"&#0;")),e):e}function M(e,t){return-1!=e.indexOf(t)}function D(e,t){return e<t?-1:e>t?1:0}function L(e){return M(Fl,e)}function j(e,t){for(var n in e)t.call(void 0,e[n],n,e)}function W(e){for(var t in e)return!1;return!0}function B(e){var t,n={};for(t in e)n[t]=e[t];return n}function F(e,t){for(var n,r,i=1;i<arguments.length;i++){r=arguments[i];for(n in r)e[n]=r[n];for(var o=0;o<ru.length;o++)n=ru[o],Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}}function z(e){Dl.setTimeout(function(){throw e},0)}function U(){var e=Dl.MessageChannel;if("undefined"===typeof e&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!L("Presto")&&(e=function(){var e=document.createElement("IFRAME");e.style.display="none",e.src="",document.documentElement.appendChild(e);var t=e.contentWindow;e=t.document,e.open(),e.write(""),e.close();var n="callImmediate"+Math.random(),r="file:"==t.location.protocol?"*":t.location.protocol+"//"+t.location.host;e=f(function(e){"*"!=r&&e.origin!=r||e.data!=n||this.port1.onmessage()},this),t.addEventListener("message",e,!1),this.port1={},this.port2={postMessage:function(){t.postMessage(n,r)}}}),"undefined"!==typeof e&&!L("Trident")&&!L("MSIE")){var t=new e,n={},r=n;return t.port1.onmessage=function(){if(void 0!==n.next){n=n.next;var e=n.vb;n.vb=null,e()}},function(e){r.next={vb:e},r=r.next,t.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(e){var t=document.createElement("SCRIPT");t.onreadystatechange=function(){t.onreadystatechange=null,t.parentNode.removeChild(t),t=null,e(),e=null},document.documentElement.appendChild(t)}:function(e){Dl.setTimeout(e,0)}}function H(e,t){nu||G(),iu||(nu(),iu=!0),ou.add(e,t)}function G(){if(Dl.Promise&&Dl.Promise.resolve){var e=Dl.Promise.resolve(void 0);nu=function(){e.then(q)}}else nu=function(){var e=q;!l(Dl.setImmediate)||Dl.Window&&Dl.Window.prototype&&!L("Edge")&&Dl.Window.prototype.setImmediate==Dl.setImmediate?(tu||(tu=U()),tu(e)):Dl.setImmediate(e)}}function q(){for(var e;e=_();){try{e.a.call(e.b)}catch(e){z(e)}E(Bl,e)}iu=!1}function V(e,t){if(this.a=au,this.i=void 0,this.f=this.b=this.c=null,this.g=this.h=!1,e!=n)try{var r=this;e.call(t,function(e){re(r,su,e)},function(e){if(!(e instanceof de))try{if(e instanceof Error)throw e;throw Error("Promise rejected.")}catch(e){}re(r,lu,e)})}catch(e){re(this,lu,e)}}function K(){this.next=this.f=this.b=this.g=this.a=null,this.c=!1}function Y(e,t,n){var r=uu.get();return r.g=e,r.b=t,r.f=n,r}function Z(e){if(e instanceof V)return e;var t=new V(n);return re(t,su,e),t}function X(e){return new V(function(t,n){n(e)})}function Q(e,t,n){ie(e,t,n,null)||H(h(t,e))}function $(e){return new V(function(t,n){var r=e.length,i=[];if(r)for(var o,a=function(e,n){r--,i[e]=n,0==r&&t(i)},s=function(e){n(e)},l=0;l<e.length;l++)o=e[l],Q(o,h(a,l),s);else t(i)})}function J(e){return new V(function(t){var n=e.length,r=[];if(n)for(var i,o=function(e,i,o){n--,r[e]=i?{Cb:!0,value:o}:{Cb:!1,reason:o},0==n&&t(r)},a=0;a<e.length;a++)i=e[a],Q(i,h(o,a,!0),h(o,a,!1));else t(r)})}function ee(e,t){if(e.a==au)if(e.c){var n=e.c;if(n.b){for(var r=0,i=null,o=null,a=n.b;a&&(a.c||(r++,a.a==e&&(i=a),!(i&&1<r)));a=a.next)i||(o=a);i&&(n.a==au&&1==r?ee(n,t):(o?(r=o,r.next==n.f&&(n.f=r),r.next=r.next.next):se(n),le(n,i,lu,t)))}e.c=null}else re(e,lu,t)}function te(e,t){e.b||e.a!=su&&e.a!=lu||ae(e),e.f?e.f.next=t:e.b=t,e.f=t}function ne(e,t,n,r){var i=Y(null,null,null);return i.a=new V(function(e,o){i.g=t?function(n){try{var i=t.call(r,n);e(i)}catch(e){o(e)}}:e,i.b=n?function(t){try{var i=n.call(r,t);void 0===i&&t instanceof de?o(t):e(i)}catch(e){o(e)}}:o}),i.a.c=e,te(e,i),i.a}function re(e,t,n){e.a==au&&(e===n&&(t=lu,n=new TypeError("Promise cannot resolve to itself")),e.a=1,ie(n,e.Mc,e.Nc,e)||(e.i=n,e.a=t,e.c=null,ae(e),t!=lu||n instanceof de||ce(e,n)))}function ie(e,t,r,i){if(e instanceof V)return te(e,Y(t||n,r||null,i)),!0;if(g(e))return e.then(t,r,i),!0;if(u(e))try{var o=e.then;if(l(o))return oe(e,o,t,r,i),!0}catch(e){return r.call(i,e),!0}return!1}function oe(e,t,n,r,i){function o(e){s||(s=!0,r.call(i,e))}function a(e){s||(s=!0,n.call(i,e))}var s=!1;try{t.call(e,a,o)}catch(e){o(e)}}function ae(e){e.h||(e.h=!0,H(e.Xb,e))}function se(e){var t=null;return e.b&&(t=e.b,e.b=t.next,t.next=null),e.b||(e.f=null),t}function le(e,t,n,r){if(n==lu&&t.b&&!t.c)for(;e&&e.g;e=e.c)e.g=!1;if(t.a)t.a.c=null,ue(t,n,r);else try{t.c?t.g.call(t.f):ue(t,n,r)}catch(e){cu.call(null,e)}E(uu,t)}function ue(e,t,n){t==su?e.g.call(e.f,n):e.b&&e.b.call(e.f,n)}function ce(e,t){e.g=!0,H(function(){e.g&&cu.call(null,t)})}function de(e){v.call(this,e)}function fe(){0!=du&&(fu[this[Ll]||(this[Ll]=++jl)]=this),this.pa=this.pa,this.ja=this.ja}function he(e){if(!e.pa&&(e.pa=!0,e.ua(),0!=du)){var t=e[Ll]||(e[Ll]=++jl);if(0!=du&&e.ja&&0<e.ja.length)throw Error(e+" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");delete fu[t]}}function pe(e){return pe[" "](e),e}function me(e,t){var n=ku;return Object.prototype.hasOwnProperty.call(n,e)?n[e]:n[e]=t(e)}function ge(){var e=Dl.document;return e?e.documentMode:void 0}function ve(e){return me(e,function(){for(var t=0,n=ql(String(hu)).split("."),r=ql(String(e)).split("."),i=Math.max(n.length,r.length),o=0;0==t&&o<i;o++){var a=n[o]||"",s=r[o]||"";do{if(a=/(\d*)(\D*)(.*)/.exec(a)||["","","",""],s=/(\d*)(\D*)(.*)/.exec(s)||["","","",""],0==a[0].length&&0==s[0].length)break;t=D(0==a[1].length?0:parseInt(a[1],10),0==s[1].length?0:parseInt(s[1],10))||D(0==a[2].length,0==s[2].length)||D(a[2],s[2]),a=a[3],s=s[3]}while(0==t)}return 0<=t})}function ye(e,t){this.type=e,this.b=this.target=t,this.Jb=!0}function be(t,n){if(ye.call(this,t?t.type:""),this.relatedTarget=this.b=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.pointerId=0,this.pointerType="",this.a=null,t){var r=this.type=t.type,i=t.changedTouches?t.changedTouches[0]:null;if(this.target=t.target||t.srcElement,this.b=n,n=t.relatedTarget){if(yu){e:{try{pe(n.nodeName);var o=!0;break e}catch(e){}o=!1}o||(n=null)}}else"mouseover"==r?n=t.fromElement:"mouseout"==r&&(n=t.toElement);this.relatedTarget=n,null===i?(this.clientX=void 0!==t.clientX?t.clientX:t.pageX,this.clientY=void 0!==t.clientY?t.clientY:t.pageY,this.screenX=t.screenX||0,this.screenY=t.screenY||0):(this.clientX=void 0!==i.clientX?i.clientX:i.pageX,this.clientY=void 0!==i.clientY?i.clientY:i.pageY,this.screenX=i.screenX||0,this.screenY=i.screenY||0),this.button=t.button,this.key=t.key||"",this.ctrlKey=t.ctrlKey,this.altKey=t.altKey,this.shiftKey=t.shiftKey,this.metaKey=t.metaKey,this.pointerId=t.pointerId||0,this.pointerType=e(t.pointerType)?t.pointerType:Pu[t.pointerType]||"",this.a=t,t.defaultPrevented&&this.preventDefault()}}function we(e,t,n,r,i){this.listener=e,this.proxy=null,this.src=t,this.type=n,this.capture=!!r,this.La=i,this.key=++Ru,this.na=this.Ia=!1}function Ee(e){e.na=!0,e.listener=null,e.proxy=null,e.src=null,e.La=null}function Te(e){this.src=e,this.a={},this.b=0}function _e(e,t){var n=t.type;n in e.a&&O(e.a[n],t)&&(Ee(t),0==e.a[n].length&&(delete e.a[n],e.b--))}function ke(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i];if(!o.na&&o.listener==t&&o.capture==!!n&&o.La==r)return i}return-1}function xe(e,t,n,r,i){if(r&&r.once)Oe(e,t,n,r,i);else if(a(t))for(var o=0;o<t.length;o++)xe(e,t[o],n,r,i);else n=Le(n),e&&e[Iu]?We(e,t,n,u(r)?!!r.capture:!!r,i):Se(e,t,n,!1,r,i)}function Se(e,t,n,r,i,o){if(!t)throw Error("Invalid event type");var a=u(i)?!!i.capture:!!i,s=De(e);if(s||(e[Nu]=s=new Te(e)),n=s.add(t,n,r,a,o),!n.proxy){if(r=Ce(),n.proxy=r,r.src=e,r.listener=n,e.addEventListener)Au||(i=a),void 0===i&&(i=!1),e.addEventListener(t.toString(),r,i);else if(e.attachEvent)e.attachEvent(Ie(t.toString()),r);else{if(!e.addListener||!e.removeListener)throw Error("addEventListener and attachEvent are unavailable.");e.addListener(r)}Du++}}function Ce(){var e=Me,t=Cu?function(n){return e.call(t.src,t.listener,n)}:function(n){if(!(n=e.call(t.src,t.listener,n)))return n};return t}function Oe(e,t,n,r,i){if(a(t))for(var o=0;o<t.length;o++)Oe(e,t[o],n,r,i);else n=Le(n),e&&e[Iu]?Be(e,t,n,u(r)?!!r.capture:!!r,i):Se(e,t,n,!0,r,i)}function Ae(e,t,n,r,i){if(a(t))for(var o=0;o<t.length;o++)Ae(e,t[o],n,r,i);else r=u(r)?!!r.capture:!!r,n=Le(n),e&&e[Iu]?(e=e.l,(t=String(t).toString())in e.a&&(o=e.a[t],-1<(n=ke(o,n,r,i))&&(Ee(o[n]),Array.prototype.splice.call(o,n,1),0==o.length&&(delete e.a[t],e.b--)))):e&&(e=De(e))&&(t=e.a[t.toString()],e=-1,t&&(e=ke(t,n,r,i)),(n=-1<e?t[e]:null)&&Pe(n))}function Pe(e){if("number"!=typeof e&&e&&!e.na){var t=e.src;if(t&&t[Iu])_e(t.l,e);else{var n=e.type,r=e.proxy;t.removeEventListener?t.removeEventListener(n,r,e.capture):t.detachEvent?t.detachEvent(Ie(n),r):t.addListener&&t.removeListener&&t.removeListener(r),Du--,(n=De(t))?(_e(n,e),0==n.b&&(n.src=null,t[Nu]=null)):Ee(e)}}}function Ie(e){return e in Mu?Mu[e]:Mu[e]="on"+e}function Re(e,t,n,r){var i=!0;if((e=De(e))&&(t=e.a[t.toString()]))for(t=t.concat(),e=0;e<t.length;e++){var o=t[e];o&&o.capture==n&&!o.na&&(o=Ne(o,r),i=i&&!1!==o)}return i}function Ne(e,t){var n=e.listener,r=e.La||e.src;return e.Ia&&Pe(e),n.call(r,t)}function Me(e,t){if(e.na)return!0;if(!Cu){if(!t)e:{t=["window","event"];for(var n=Dl,r=0;r<t.length;r++)if(null==(n=n[t[r]])){t=null;break e}t=n}if(r=t,t=new be(r,this),n=!0,!(0>r.keyCode||void 0!=r.returnValue)){e:{var i=!1;if(0==r.keyCode)try{r.keyCode=-1;break e}catch(e){i=!0}(i||void 0==r.returnValue)&&(r.returnValue=!0)}for(r=[],i=t.b;i;i=i.parentNode)r.push(i);for(e=e.type,i=r.length-1;0<=i;i--){t.b=r[i];var o=Re(r[i],e,!0,t);n=n&&o}for(i=0;i<r.length;i++)t.b=r[i],o=Re(r[i],e,!1,t),n=n&&o}return n}return Ne(e,new be(t,this))}function De(e){return e=e[Nu],e instanceof Te?e:null}function Le(e){return l(e)?e:(e[Lu]||(e[Lu]=function(t){return e.handleEvent(t)}),e[Lu])}function je(){fe.call(this),this.l=new Te(this),this.Qb=this,this.Ua=null}function We(e,t,n,r,i){e.l.add(String(t),n,!1,r,i)}function Be(e,t,n,r,i){e.l.add(String(t),n,!0,r,i)}function Fe(e,t,n,r){if(!(t=e.l.a[String(t)]))return!0;t=t.concat();for(var i=!0,o=0;o<t.length;++o){var a=t[o];if(a&&!a.na&&a.capture==n){var s=a.listener,l=a.La||a.src;a.Ia&&_e(e.l,a),i=!1!==s.call(l,r)&&i}}return i&&0!=r.Jb}function ze(e,t,n){if(l(e))n&&(e=f(e,n));else{if(!e||"function"!=typeof e.handleEvent)throw Error("Invalid listener argument");e=f(e.handleEvent,e)}return 2147483647<Number(t)?-1:Dl.setTimeout(e,t||0)}function Ue(e){var t=null;return new V(function(n,r){-1==(t=ze(function(){n(void 0)},e))&&r(Error("Failed to schedule timer."))}).s(function(e){throw Dl.clearTimeout(t),e})}function He(t){if(t.S&&"function"==typeof t.S)return t.S();if(e(t))return t.split("");if(s(t)){for(var n=[],r=t.length,i=0;i<r;i++)n.push(t[i]);return n}n=[],r=0;for(i in t)n[r++]=t[i];return n}function Ge(t){if(t.U&&"function"==typeof t.U)return t.U();if(!t.S||"function"!=typeof t.S){if(s(t)||e(t)){var n=[];t=t.length;for(var r=0;r<t;r++)n.push(r);return n}n=[],r=0;for(var i in t)n[r++]=i;return n}}function qe(t,n){if(t.forEach&&"function"==typeof t.forEach)t.forEach(n,void 0);else if(s(t)||e(t))Ul(t,n,void 0);else for(var r=Ge(t),i=He(t),o=i.length,a=0;a<o;a++)n.call(void 0,i[a],r&&r[a],t)}function Ve(e,t){this.b={},this.a=[],this.c=0;var n=arguments.length;if(1<n){if(n%2)throw Error("Uneven number of arguments");for(var r=0;r<n;r+=2)this.set(arguments[r],arguments[r+1])}else if(e)if(e instanceof Ve)for(n=e.U(),r=0;r<n.length;r++)this.set(n[r],e.get(n[r]));else for(r in e)this.set(r,e[r])}function Ke(e){if(e.c!=e.a.length){for(var t=0,n=0;t<e.a.length;){var r=e.a[t];Ye(e.b,r)&&(e.a[n++]=r),t++}e.a.length=n}if(e.c!=e.a.length){var i={};for(n=t=0;t<e.a.length;)r=e.a[t],Ye(i,r)||(e.a[n++]=r,i[r]=1),t++;e.a.length=n}}function Ye(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ze(e,t){if(e){e=e.split("&");for(var n=0;n<e.length;n++){var r=e[n].indexOf("="),i=null;if(0<=r){var o=e[n].substring(0,r);i=e[n].substring(r+1)}else o=e[n];t(o,i?decodeURIComponent(i.replace(/\+/g," ")):"")}}}function Xe(e,t){if(this.b=this.l=this.c="",this.i=null,this.h=this.g="",this.f=!1,e instanceof Xe){this.f=void 0!==t?t:e.f,Qe(this,e.c),this.l=e.l,this.b=e.b,$e(this,e.i),this.g=e.g,t=e.a;var n=new st;n.c=t.c,t.a&&(n.a=new Ve(t.a),n.b=t.b),Je(this,n),this.h=e.h}else e&&(n=String(e).match(ju))?(this.f=!!t,Qe(this,n[1]||"",!0),this.l=it(n[2]||""),this.b=it(n[3]||"",!0),$e(this,n[4]),this.g=it(n[5]||"",!0),Je(this,n[6]||"",!0),this.h=it(n[7]||"")):(this.f=!!t,this.a=new st(null,this.f))}function Qe(e,t,n){e.c=n?it(t,!0):t,e.c&&(e.c=e.c.replace(/:$/,""))}function $e(e,t){if(t){if(t=Number(t),isNaN(t)||0>t)throw Error("Bad port number "+t);e.i=t}else e.i=null}function Je(e,t,n){t instanceof st?(e.a=t,pt(e.a,e.f)):(n||(t=ot(t,zu)),e.a=new st(t,e.f))}function et(e,t,n){e.a.set(t,n)}function tt(e,t){return e.a.get(t)}function nt(e){return e instanceof Xe?new Xe(e):new Xe(e,void 0)}function rt(e,t){var n=new Xe(null,void 0);return Qe(n,"https"),e&&(n.b=e),t&&(n.g=t),n}function it(e,t){return e?t?decodeURI(e.replace(/%25/g,"%2525")):decodeURIComponent(e):""}function ot(t,n,r){return e(t)?(t=encodeURI(t).replace(n,at),r&&(t=t.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),t):null}function at(e){return e=e.charCodeAt(0),"%"+(e>>4&15).toString(16)+(15&e).toString(16)}function st(e,t){this.b=this.a=null,this.c=e||null,this.f=!!t}function lt(e){e.a||(e.a=new Ve,e.b=0,e.c&&Ze(e.c,function(t,n){e.add(decodeURIComponent(t.replace(/\+/g," ")),n)}))}function ut(e){var t=Ge(e);if("undefined"==typeof t)throw Error("Keys are undefined");var n=new st(null,void 0);e=He(e);for(var r=0;r<t.length;r++){var i=t[r],o=e[r];a(o)?ft(n,i,o):n.add(i,o)}return n}function ct(e,t){lt(e),t=ht(e,t),Ye(e.a.b,t)&&(e.c=null,e.b-=e.a.get(t).length,e=e.a,Ye(e.b,t)&&(delete e.b[t],e.c--,e.a.length>2*e.c&&Ke(e)))}function dt(e,t){return lt(e),t=ht(e,t),Ye(e.a.b,t)}function ft(e,t,n){ct(e,t),0<n.length&&(e.c=null,e.a.set(ht(e,t),I(n)),e.b+=n.length)}function ht(e,t){return t=String(t),e.f&&(t=t.toLowerCase()),t}function pt(e,t){t&&!e.f&&(lt(e),e.c=null,e.a.forEach(function(e,t){var n=t.toLowerCase();t!=n&&(ct(this,t),ft(this,n,e))},e)),e.f=t}function mt(){this.a="",this.b=Gu}function gt(e){return e instanceof mt&&e.constructor===mt&&e.b===Gu?e.a:(b("expected object of type Const, got '"+e+"'"),"type_error:Const")}function vt(e){var t=new mt;return t.a=e,t}function yt(){this.a="",this.b=Ku}function bt(e){return e instanceof yt&&e.constructor===yt&&e.b===Ku?e.a:(b("expected object of type TrustedResourceUrl, got '"+e+"' of type "+i(e)),"type_error:TrustedResourceUrl")}function wt(e,t){var n=gt(e);if(!Vu.test(n))throw Error("Invalid TrustedResourceUrl format: "+n);return e=n.replace(qu,function(e,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw Error('Found marker, "'+r+'", in format string, "'+n+'", but no valid label mapping found in args: '+JSON.stringify(t));return e=t[r],e instanceof mt?gt(e):encodeURIComponent(String(e))}),Et(e)}function Et(e){var t=new yt;return t.a=e,t}function Tt(){this.a="",this.b=Zu}function _t(e){return e instanceof Tt&&e.constructor===Tt&&e.b===Zu?e.a:(b("expected object of type SafeUrl, got '"+e+"' of type "+i(e)),"type_error:SafeUrl")}function kt(e){return e instanceof Tt?e:(e=e.ma?e.la():String(e),Yu.test(e)||(e="about:invalid#zClosurez"),xt(e))}function xt(e){var t=new Tt;return t.a=e,t}function St(){this.a="",this.b=Xu}function Ct(e){return e instanceof St&&e.constructor===St&&e.b===Xu?e.a:(b("expected object of type SafeHtml, got '"+e+"' of type "+i(e)),"type_error:SafeHtml")}function Ot(e){var t=new St;return t.a=e,t}function At(t){var n=document;return e(t)?n.getElementById(t):t}function Pt(e,t){j(t,function(t,n){t&&t.ma&&(t=t.la()),"style"==n?e.style.cssText=t:"class"==n?e.className=t:"for"==n?e.htmlFor=t:Qu.hasOwnProperty(n)?e.setAttribute(Qu[n],t):0==n.lastIndexOf("aria-",0)||0==n.lastIndexOf("data-",0)?e.setAttribute(n,t):e[n]=t})}function It(t,n,r){var i=arguments,o=document,s=String(i[0]),l=i[1];if(!Hu&&l&&(l.name||l.type)){if(s=["<",s],l.name&&s.push(' name="',N(l.name),'"'),l.type){s.push(' type="',N(l.type),'"');var u={};F(u,l),delete u.type,l=u}s.push(">"),s=s.join("")}return s=o.createElement(s),l&&(e(l)?s.className=l:a(l)?s.className=l.join(" "):Pt(s,l)),2<i.length&&Rt(o,s,i),s}function Rt(t,n,r){function i(r){r&&n.appendChild(e(r)?t.createTextNode(r):r)}for(var o=2;o<r.length;o++){var a=r[o];!s(a)||u(a)&&0<a.nodeType?i(a):Ul(Nt(a)?I(a):a,i)}}function Nt(e){if(e&&"number"==typeof e.length){if(u(e))return"function"==typeof e.item||"string"==typeof e.item;if(l(e))return"function"==typeof e.item}return!1}function Mt(e){var t=[];return Lt(new Dt,e,t),t.join("")}function Dt(){}function Lt(e,t,n){if(null==t)n.push("null");else{if("object"==typeof t){if(a(t)){var r=t;t=r.length,n.push("[");for(var i="",o=0;o<t;o++)n.push(i),Lt(e,r[o],n),i=",";return void n.push("]")}if(!(t instanceof String||t instanceof Number||t instanceof Boolean)){n.push("{"),i="";for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&"function"!=typeof(o=t[r])&&(n.push(i),jt(r,n),n.push(":"),Lt(e,o,n),i=",");return void n.push("}")}t=t.valueOf()}switch(typeof t){case"string":jt(t,n);break;case"number":n.push(isFinite(t)&&!isNaN(t)?String(t):"null");break;case"boolean":n.push(String(t));break;case"function":n.push("null");break;default:throw Error("Unknown type: "+typeof t)}}}function jt(e,t){t.push('"',e.replace(Ju,function(e){var t=$u[e];return t||(t="\\u"+(65536|e.charCodeAt(0)).toString(16).substr(1),$u[e]=t),t}),'"')}function Wt(){var e=rn();return mu&&!!_u&&11==_u||/Edge\/\d+/.test(e)}function Bt(){return Dl.window&&Dl.window.location.href||self&&self.location&&self.location.href||""}function Ft(e,t){t=t||Dl.window;var n="about:blank";e&&(n=_t(kt(e))),t.location.href=n}function zt(e,t){var n,r=[];for(n in e)n in t?typeof e[n]!=typeof t[n]?r.push(n):"object"==typeof e[n]&&null!=e[n]&&null!=t[n]?0<zt(e[n],t[n]).length&&r.push(n):e[n]!==t[n]&&r.push(n):r.push(n);for(n in t)n in e||r.push(n);return r}function Ut(){var e=rn();return!((e=tn(e)!=nc?null:(e=e.match(/\sChrome\/(\d+)/i))&&2==e.length?parseInt(e[1],10):null)&&30>e)&&(!mu||!_u||9<_u)}function Ht(e){return e=(e||rn()).toLowerCase(),!!(e.match(/android/)||e.match(/webos/)||e.match(/iphone|ipad|ipod/)||e.match(/blackberry/)||e.match(/windows phone/)||e.match(/iemobile/))}function Gt(e){e=e||Dl.window;try{e.close()}catch(e){}}function qt(e,t,n){var r=Math.floor(1e9*Math.random()).toString();t=t||500,n=n||600;var i=(window.screen.availHeight-n)/2,o=(window.screen.availWidth-t)/2;t={width:t,height:n,top:0<i?i:0,left:0<o?o:0,location:!0,resizable:!0,statusbar:!0,toolbar:!1},n=rn().toLowerCase(),r&&(t.target=r,M(n,"crios/")&&(t.target="_blank")),tn(rn())==tc&&(e=e||"http://localhost",t.scrollbars=!0),n=e||"",(e=t)||(e={}),r=window,t=n instanceof Tt?n:kt("undefined"!=typeof n.href?n.href:String(n)),n=e.target||n.target,i=[];for(a in e)switch(a){case"width":case"height":case"top":case"left":i.push(a+"="+e[a]);break;case"target":case"noopener":case"noreferrer":break;default:i.push(a+"="+(e[a]?1:0))}var a=i.join(",");if((L("iPhone")&&!L("iPod")&&!L("iPad")||L("iPad")||L("iPod"))&&r.navigator&&r.navigator.standalone&&n&&"_self"!=n?(a=r.document.createElement("A"),t instanceof Tt||t instanceof Tt||(t=t.ma?t.la():String(t),Yu.test(t)||(t="about:invalid#zClosurez"),t=xt(t)),a.href=_t(t),a.setAttribute("target",n),e.noreferrer&&a.setAttribute("rel","noreferrer"),e=document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,r,1),a.dispatchEvent(e),a={}):e.noreferrer?(a=r.open("",n,a),e=_t(t),a&&(vu&&M(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),a.opener=null,vt("b/12014412, meta tag with sanitized URL"),e='<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+N(e)+'">',e=Ot(e),a.document.write(Ct(e)),a.document.close())):(a=r.open(_t(t),n,a))&&e.noopener&&(a.opener=null),a)try{a.focus()}catch(e){}return a}function Vt(e){return new V(function(t){function n(){Ue(2e3).then(function(){if(e&&!e.closed)return n();t()})}return n()})}function Kt(){var e=null;return new V(function(t){"complete"==Dl.document.readyState?t():(e=function(){t()},Oe(window,"load",e))}).s(function(t){throw Ae(window,"load",e),t})}function Yt(){return Zt(void 0)?Kt().then(function(){return new V(function(e,t){var n=Dl.document,r=setTimeout(function(){t(Error("Cordova framework is not ready."))},1e3);n.addEventListener("deviceready",function(){clearTimeout(r),e()},!1)})}):X(Error("Cordova must run in an Android or iOS file scheme."))}function Zt(e){return e=e||rn(),!("file:"!==un()||!e.toLowerCase().match(/iphone|ipad|ipod|android/))}function Xt(){var e=Dl.window;try{return!(!e||e==e.top)}catch(e){return!1}}function Qt(){return"object"!==typeof Dl.window&&"function"===typeof Dl.importScripts}function $t(){return r.a.INTERNAL.hasOwnProperty("reactNative")?"ReactNative":r.a.INTERNAL.hasOwnProperty("node")?"Node":Qt()?"Worker":"Browser"}function Jt(){var e=$t();return"ReactNative"===e||"Node"===e}function en(){for(var e=50,t=[];0<e;)t.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),e--;return t.join("")}function tn(e){var t=e.toLowerCase();return M(t,"opera/")||M(t,"opr/")||M(t,"opios/")?"Opera":M(t,"iemobile")?"IEMobile":M(t,"msie")||M(t,"trident/")?"IE":M(t,"edge/")?"Edge":M(t,"firefox/")?tc:M(t,"silk/")?"Silk":M(t,"blackberry")?"Blackberry":M(t,"webos")?"Webos":!M(t,"safari/")||M(t,"chrome/")||M(t,"crios/")||M(t,"android")?!M(t,"chrome/")&&!M(t,"crios/")||M(t,"edge/")?M(t,"android")?"Android":(e=e.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/))&&2==e.length?e[1]:"Other":nc:"Safari"}function nn(e,t){t=t||[];var n,r=[],i={};for(n in rc)i[rc[n]]=!0;for(n=0;n<t.length;n++)"undefined"!==typeof i[t[n]]&&(delete i[t[n]],r.push(t[n]));return r.sort(),t=r,t.length||(t=["FirebaseCore-web"]),r=$t(),"Browser"===r?(i=rn(),r=tn(i)):"Worker"===r&&(i=rn(),r=tn(i)+"-"+r),r+"/JsCore/"+e+"/"+t.join(",")}function rn(){return Dl.navigator&&Dl.navigator.userAgent||""}function on(e,t){e=e.split("."),t=t||Dl;for(var n=0;n<e.length&&"object"==typeof t&&null!=t;n++)t=t[e[n]];return n!=e.length&&(t=void 0),t}function an(){try{var e=Dl.localStorage,t=pn();if(e)return e.setItem(t,"1"),e.removeItem(t),!Wt()||!!Dl.indexedDB}catch(e){return Qt()&&!!Dl.indexedDB}return!1}function sn(){return(ln()||"chrome-extension:"===un()||Zt())&&!Jt()&&an()&&!Qt()}function ln(){return"http:"===un()||"https:"===un()}function un(){return Dl.location&&Dl.location.protocol||null}function cn(e){return e=e||rn(),!Ht(e)&&tn(e)!=tc}function dn(e){return"undefined"===typeof e?null:Mt(e)}function fn(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&null!==e[t]&&void 0!==e[t]&&(n[t]=e[t]);return n}function hn(e){if(null!==e)return JSON.parse(e)}function pn(e){return e||Math.floor(1e9*Math.random()).toString()}function mn(e){return e=e||rn(),"Safari"!=tn(e)&&!e.toLowerCase().match(/iphone|ipad|ipod/)}function gn(){var e=Dl.___jsl;if(e&&e.H)for(var t in e.H)if(e.H[t].r=e.H[t].r||[],e.H[t].L=e.H[t].L||[],e.H[t].r=e.H[t].L.concat(),e.CP)for(var n=0;n<e.CP.length;n++)e.CP[n]=null}function vn(e,t){if(e>t)throw Error("Short delay should be less than long delay!");this.a=e,this.c=t,e=rn(),t=$t(),this.b=Ht(e)||"ReactNative"===t}function yn(){var e=Dl.document;return!e||"undefined"===typeof e.visibilityState||"visible"==e.visibilityState}function bn(){var e=Dl.document,t=null;return yn()||!e?Z():new V(function(n){t=function(){yn()&&(e.removeEventListener("visibilitychange",t,!1),n())},e.addEventListener("visibilitychange",t,!1)}).s(function(n){throw e.removeEventListener("visibilitychange",t,!1),n})}function wn(e){try{var t=new Date(parseInt(e,10));if(!isNaN(t.getTime())&&!/[^0-9]/.test(e))return t.toUTCString()}catch(e){}return null}function En(){return!(!on("fireauth.oauthhelper",Dl)&&!on("fireauth.iframe",Dl))}function Tn(){var e=Dl.navigator;return e&&e.serviceWorker&&e.serviceWorker.controller||null}function _n(){var e=Dl.navigator;return e&&e.serviceWorker?Z().then(function(){return e.serviceWorker.ready}).then(function(e){return e.active||null}).s(function(){return null}):Z(null)}function kn(e){oc[e]||(oc[e]=!0,"undefined"!==typeof console&&"function"===typeof console.warn&&console.warn(e))}function xn(e,t,n){ic?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:n}):e[t]=n}function Sn(e,t){if(t)for(var n in t)t.hasOwnProperty(n)&&xn(e,n,t[n])}function Cn(e){var t={};return Sn(t,e),t}function On(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function An(e,t){if(!t||!t.length)return!0;if(!e)return!1;for(var n=0;n<t.length;n++){var r=e[t[n]];if(void 0===r||null===r||""===r)return!1}return!0}function Pn(e){var t=e;if("object"==typeof e&&null!=e){t="length"in e?[]:{};for(var n in e)xn(t,n,Pn(e[n]))}return t}function In(e){var t={},n=e[lc],r=e[uc];if(!(e=e[cc])||e!=sc&&!n)throw Error("Invalid provider user info!");t[fc]=r||null,t[dc]=n||null,xn(this,pc,e),xn(this,hc,Pn(t))}function Rn(e,t){this.code=mc+e,this.message=t||gc[e]||""}function Nn(e){var t=e&&e.code;return t?new Rn(t.substring(mc.length),e.message):null}function Mn(e){var t=e[wc];if("undefined"===typeof t)throw new Rn("missing-continue-uri");if("string"!==typeof t||"string"===typeof t&&!t.length)throw new Rn("invalid-continue-uri");this.h=t,this.b=this.a=null,this.g=!1;var n=e[vc];if(n&&"object"===typeof n){t=n[_c];var r=n[Ec];if(n=n[Tc],"string"===typeof t&&t.length){if(this.a=t,"undefined"!==typeof r&&"boolean"!==typeof r)throw new Rn("argument-error",Ec+" property must be a boolean when specified.");if(this.g=!!r,"undefined"!==typeof n&&("string"!==typeof n||"string"===typeof n&&!n.length))throw new Rn("argument-error",Tc+" property must be a non empty string when specified.");this.b=n||null}else{if("undefined"!==typeof t)throw new Rn("argument-error",_c+" property must be a non empty string when specified.");if("undefined"!==typeof r||"undefined"!==typeof n)throw new Rn("missing-android-pkg-name")}}else if("undefined"!==typeof n)throw new Rn("argument-error",vc+" property must be a non null object when specified.");if(this.f=null,(t=e[bc])&&"object"===typeof t){if("string"===typeof(t=t[kc])&&t.length)this.f=t;else if("undefined"!==typeof t)throw new Rn("argument-error",kc+" property must be a non empty string when specified.")}else if("undefined"!==typeof t)throw new Rn("argument-error",bc+" property must be a non null object when specified.");if("undefined"!==typeof(e=e[yc])&&"boolean"!==typeof e)throw new Rn("argument-error",yc+" property must be a boolean when specified.");this.c=!!e}function Dn(e){var t={};t.continueUrl=e.h,t.canHandleCodeInApp=e.c,(t.androidPackageName=e.a)&&(t.androidMinimumVersion=e.b,t.androidInstallApp=e.g),t.iOSBundleId=e.f;for(var n in t)null===t[n]&&delete t[n];return t}function Ln(e){return Hl(e,function(e){return e=e.toString(16),1<e.length?e:"0"+e}).join("")}function jn(e){var t="";return Wn(e,function(e){t+=String.fromCharCode(e)}),t}function Wn(e,t){function n(t){for(;r<e.length;){var n=e.charAt(r++),i=Sc[n];if(null!=i)return i;if(!/^[\s\xa0]*$/.test(n))throw Error("Unknown base64 encoding at char: "+n)}return t}Bn();for(var r=0;;){var i=n(-1),o=n(0),a=n(64),s=n(64);if(64===s&&-1===i)break;t(i<<2|o>>4),64!=a&&(t(o<<4&240|a>>2),64!=s&&t(a<<6&192|s))}}function Bn(){if(!xc){xc={},Sc={};for(var e=0;65>e;e++)xc[e]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(e),Sc[xc[e]]=e,62<=e&&(Sc["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(e)]=e)}}function Fn(e){this.c=e.sub,Wl(),this.a=e.provider_id||e.firebase&&e.firebase.sign_in_provider||null,this.b=!!e.is_anonymous||"anonymous"==this.a}function zn(e){return(e=Un(e))&&e.sub&&e.iss&&e.aud&&e.exp?new Fn(e):null}function Un(e){if(!e)return null;if(e=e.split("."),3!=e.length)return null;e=e[1];for(var t=(4-e.length%4)%4,n=0;n<t;n++)e+=".";try{return JSON.parse(jn(e))}catch(e){}return null}function Hn(e){for(var t in Ac)if(Ac[t].Na==e)return Ac[t];return null}function Gn(e){var t={};t["facebook.com"]=Kn,t["google.com"]=Zn,t["github.com"]=Yn,t["twitter.com"]=Xn;var n=e&&e[Ic];try{if(n)return t[n]?new t[n](e):new Vn(e);if("undefined"!==typeof e[Pc])return new qn(e)}catch(e){}return null}function qn(e){var t=e[Ic];if(!t&&e[Pc]){var n=zn(e[Pc]);n&&n.a&&(t=n.a)}if(!t)throw Error("Invalid additional user info!");"anonymous"!=t&&"custom"!=t||(t=null),n=!1,"undefined"!==typeof e.isNewUser?n=!!e.isNewUser:"identitytoolkit#SignupNewUserResponse"===e.kind&&(n=!0),xn(this,"providerId",t),xn(this,"isNewUser",n)}function Vn(e){qn.call(this,e),e=hn(e.rawUserInfo||"{}"),xn(this,"profile",Pn(e||{}))}function Kn(e){if(Vn.call(this,e),"facebook.com"!=this.providerId)throw Error("Invalid provider ID!")}function Yn(e){if(Vn.call(this,e),"github.com"!=this.providerId)throw Error("Invalid provider ID!");xn(this,"username",this.profile&&this.profile.login||null)}function Zn(e){if(Vn.call(this,e),"google.com"!=this.providerId)throw Error("Invalid provider ID!")}function Xn(e){if(Vn.call(this,e),"twitter.com"!=this.providerId)throw Error("Invalid provider ID!");xn(this,"username",e.screenName||null)}function Qn(e){this.a=nt(e)}function $n(e){var t=nt(e),n=tt(t,"link"),r=tt(nt(n),"link");return t=tt(t,"deep_link_id"),tt(nt(t),"link")||t||r||n||e}function Jn(e,t){return e.then(function(e){if(e[Xc]){var n=zn(e[Xc]);if(!n||t!=n.c)throw new Rn("user-mismatch");return e}throw new Rn("user-mismatch")}).s(function(e){throw e&&e.code&&e.code==mc+"user-not-found"?new Rn("user-mismatch"):e})}function er(e,t,n){if(t.idToken||t.accessToken)t.idToken&&xn(this,"idToken",t.idToken),t.accessToken&&xn(this,"accessToken",t.accessToken);else{if(!t.oauthToken||!t.oauthTokenSecret)throw new Rn("internal-error","failed to construct a credential");xn(this,"accessToken",t.oauthToken),xn(this,"secret",t.oauthTokenSecret)}xn(this,"providerId",e),xn(this,"signInMethod",n)}function tr(e){var t={};return e.idToken&&(t.id_token=e.idToken),e.accessToken&&(t.access_token=e.accessToken),e.secret&&(t.oauth_token_secret=e.secret),t.providerId=e.providerId,{postBody:ut(t).toString(),requestUri:"http://localhost"}}function nr(e,t){this.Cc=t||[],Sn(this,{providerId:e,isOAuthProvider:!0}),this.xb={},this.bb=(Hn(e)||{}).Ma||null,this.Za=null}function rr(e){nr.call(this,e,Oc),this.a=[]}function ir(){rr.call(this,"facebook.com")}function or(e){if(!e)throw new Rn("argument-error","credential failed: expected 1 argument (the OAuth access token).");var t=e;return u(e)&&(t=e.accessToken),(new ir).credential(null,t)}function ar(){rr.call(this,"github.com")}function sr(e){if(!e)throw new Rn("argument-error","credential failed: expected 1 argument (the OAuth access token).");var t=e;return u(e)&&(t=e.accessToken),(new ar).credential(null,t)}function lr(){rr.call(this,"google.com"),this.ta("profile")}function ur(e,t){var n=e;return u(e)&&(n=e.idToken,t=e.accessToken),(new lr).credential(n,t)}function cr(){nr.call(this,"twitter.com",Cc)}function dr(e,t){var n=e;if(u(n)||(n={oauthToken:e,oauthTokenSecret:t}),!n.oauthToken||!n.oauthTokenSecret)throw new Rn("argument-error","credential failed: expected 2 arguments (the OAuth access token and secret).");return new er("twitter.com",n,"twitter.com")}function fr(e,t,n){this.a=e,this.b=t,xn(this,"providerId","password"),xn(this,"signInMethod",n===hr.EMAIL_LINK_SIGN_IN_METHOD?hr.EMAIL_LINK_SIGN_IN_METHOD:hr.EMAIL_PASSWORD_SIGN_IN_METHOD)}function hr(){Sn(this,{providerId:"password",isOAuthProvider:!1})}function pr(e,t){if(!(t=mr(t)))throw new Rn("argument-error","Invalid email link!");return new fr(e,t,hr.EMAIL_LINK_SIGN_IN_METHOD)}function mr(e){e=$n(e),e=new Qn(e);var t=tt(e.a,"oobCode")||null;return"signIn"===(tt(e.a,"mode")||null)&&t?t:null}function gr(e){if(!(e.Sa&&e.Ra||e.Fa&&e.$))throw new Rn("internal-error");this.a=e,xn(this,"providerId","phone"),xn(this,"signInMethod","phone")}function vr(e){return e.a.Fa&&e.a.$?{temporaryProof:e.a.Fa,phoneNumber:e.a.$}:{sessionInfo:e.a.Sa,code:e.a.Ra}}function yr(e){try{this.a=e||r.a.auth()}catch(e){throw new Rn("argument-error","Either an instance of firebase.auth.Auth must be passed as an argument to the firebase.auth.PhoneAuthProvider constructor, or the default firebase App instance must be initialized via firebase.initializeApp().")}Sn(this,{providerId:"phone",isOAuthProvider:!1})}function br(e,t){if(!e)throw new Rn("missing-verification-id");if(!t)throw new Rn("missing-verification-code");return new gr({Sa:e,Ra:t})}function wr(e){if(e.temporaryProof&&e.phoneNumber)return new gr({Fa:e.temporaryProof,$:e.phoneNumber});var t=e&&e.providerId;if(!t||"password"===t)return null;var n=e&&e.oauthAccessToken,r=e&&e.oauthTokenSecret;e=e&&e.oauthIdToken;try{switch(t){case"google.com":return ur(e,n);case"facebook.com":return or(n);case"github.com":return sr(n);case"twitter.com":return dr(n,r);default:return new rr(t).credential(e,n)}}catch(e){return null}}function Er(e){if(!e.isOAuthProvider)throw new Rn("invalid-oauth-provider")}function Tr(e,t,n,r,i){if(this.b=e,this.c=t||null,this.f=n||null,this.g=r||null,this.a=i||null,!this.f&&!this.a)throw new Rn("invalid-auth-event");if(this.f&&this.a)throw new Rn("invalid-auth-event");if(this.f&&!this.g)throw new Rn("invalid-auth-event")}function _r(e){return e=e||{},e.type?new Tr(e.type,e.eventId,e.urlResponse,e.sessionId,e.error&&Nn(e.error)):null}function kr(){this.b=null,this.a=[]}function xr(e){var t="unauthorized-domain",n=void 0,r=nt(e);e=r.b,r=r.c,"chrome-extension"==r?n=R("This chrome extension ID (chrome-extension://%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",e):"http"==r||"https"==r?n=R("This domain (%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",e):t="operation-not-supported-in-this-environment",Rn.call(this,t,n)}function Sr(e,t,n){Rn.call(this,e,n),e=t||{},e.yb&&xn(this,"email",e.yb),e.$&&xn(this,"phoneNumber",e.$),e.credential&&xn(this,"credential",e.credential)}function Cr(e){if(e.code){var t=e.code||"";0==t.indexOf(mc)&&(t=t.substring(mc.length));var n={credential:wr(e)};if(e.email)n.yb=e.email;else if(e.phoneNumber)n.$=e.phoneNumber;else if(!n.credential)return new Rn(t,e.message||void 0);return new Sr(t,n,e.message)}return null}function Or(){}function Ar(e){return e.c||(e.c=e.b())}function Pr(){}function Ir(e){if(!e.f&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var t=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],n=0;n<t.length;n++){var r=t[n];try{return new ActiveXObject(r),e.f=r}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")}return e.f}function Rr(){}function Nr(){this.a=new XDomainRequest,this.readyState=0,this.onreadystatechange=null,this.responseText="",this.status=-1,this.statusText="",this.a.onload=f(this.dc,this),this.a.onerror=f(this.Eb,this),this.a.onprogress=f(this.ec,this),this.a.ontimeout=f(this.hc,this)}function Mr(e,t){e.readyState=t,e.onreadystatechange&&e.onreadystatechange()}function Dr(e,t,n){this.reset(e,t,n,void 0,void 0)}function Lr(e){this.f=e,this.b=this.c=this.a=null}function jr(e,t){this.name=e,this.value=t}function Wr(e){return e.c?e.c:e.a?Wr(e.a):(b("Root logger has no level set."),null)}function Br(e){zc||(zc=new Lr(""),Fc[""]=zc,zc.c=Wc);var t;if(!(t=Fc[e])){t=new Lr(e);var n=e.lastIndexOf("."),r=e.substr(n+1);n=Br(e.substr(0,n)),n.b||(n.b={}),n.b[r]=t,t.a=n,Fc[e]=t}return t}function Fr(e,t){e&&e.log(Bc,t,void 0)}function zr(e){this.f=e}function Ur(e){je.call(this),this.i=e,this.readyState=Uc,this.status=0,this.responseText=this.statusText="",this.onreadystatechange=null,this.g=new Headers,this.b=null,this.h="GET",this.c="",this.a=!1,this.f=Br("goog.net.FetchXmlHttp")}function Hr(e){e.onreadystatechange&&e.onreadystatechange.call(e)}function Gr(e){je.call(this),this.headers=new Ve,this.C=e||null,this.c=!1,this.w=this.a=null,this.h=this.N=this.m="",this.f=this.I=this.i=this.G=!1,this.g=0,this.u=null,this.o=Hc,this.v=this.O=!1}function qr(e,t,n,r,i){if(e.a)throw Error("[goog.net.XhrIo] Object is active with another request="+e.m+"; newUri="+t);n=n?n.toUpperCase():"GET",e.m=t,e.h="",e.N=n,e.G=!1,e.c=!0,e.a=e.C?e.C.a():Mc.a(),e.w=Ar(e.C?e.C:Mc),e.a.onreadystatechange=f(e.Ib,e);try{Fr(e.b,ni(e,"Opening Xhr")),e.I=!0,e.a.open(n,String(t),!0),e.I=!1}catch(t){return Fr(e.b,ni(e,"Error opening Xhr: "+t.message)),void Yr(e,t)}t=r||"";var o=new Ve(e.headers);i&&qe(i,function(e,t){o.set(t,e)}),i=S(o.U()),r=Dl.FormData&&t instanceof Dl.FormData,!C(qc,n)||i||r||o.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),o.forEach(function(e,t){this.a.setRequestHeader(t,e)},e),e.o&&(e.a.responseType=e.o),"withCredentials"in e.a&&e.a.withCredentials!==e.O&&(e.a.withCredentials=e.O);try{$r(e),0<e.g&&(e.v=Vr(e.a),Fr(e.b,ni(e,"Will abort after "+e.g+"ms if incomplete, xhr2 "+e.v)),e.v?(e.a.timeout=e.g,e.a.ontimeout=f(e.Ga,e)):e.u=ze(e.Ga,e.g,e)),Fr(e.b,ni(e,"Sending request")),e.i=!0,e.a.send(t),e.i=!1}catch(t){Fr(e.b,ni(e,"Send error: "+t.message)),Yr(e,t)}}function Vr(e){return mu&&ve(9)&&"number"==typeof e.timeout&&void 0!==e.ontimeout}function Kr(e){return"content-type"==e.toLowerCase()}function Yr(e,t){e.c=!1,e.a&&(e.f=!0,e.a.abort(),e.f=!1),e.h=t,Zr(e),Qr(e)}function Zr(e){e.G||(e.G=!0,e.dispatchEvent("complete"),e.dispatchEvent("error"))}function Xr(e){if(e.c&&"undefined"!=typeof Ml)if(e.w[1]&&4==Jr(e)&&2==ei(e))Fr(e.b,ni(e,"Local request error detected and ignored"));else if(e.i&&4==Jr(e))ze(e.Ib,0,e);else if(e.dispatchEvent("readystatechange"),4==Jr(e)){Fr(e.b,ni(e,"Request complete")),e.c=!1;try{var t=ei(e);e:switch(t){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var n=!0;break e;default:n=!1}var r;if(!(r=n)){var i;if(i=0===t){var o=String(e.m).match(ju)[1]||null;if(!o&&Dl.self&&Dl.self.location){var a=Dl.self.location.protocol;o=a.substr(0,a.length-1)}i=!Gc.test(o?o.toLowerCase():"")}r=i}if(r)e.dispatchEvent("complete"),e.dispatchEvent("success");else{try{var s=2<Jr(e)?e.a.statusText:""}catch(t){Fr(e.b,"Can not get status: "+t.message),s=""}e.h=s+" ["+ei(e)+"]",Zr(e)}}finally{Qr(e)}}}function Qr(e,t){if(e.a){$r(e);var r=e.a,i=e.w[0]?n:null;e.a=null,e.w=null,t||e.dispatchEvent("ready");try{r.onreadystatechange=i}catch(t){(e=e.b)&&e.log(Lc,"Problem encountered resetting onreadystatechange: "+t.message,void 0)}}}function $r(e){e.a&&e.v&&(e.a.ontimeout=null),e.u&&(Dl.clearTimeout(e.u),e.u=null)}function Jr(e){return e.a?e.a.readyState:0}function ei(e){try{return 2<Jr(e)?e.a.status:-1}catch(e){return-1}}function ti(e){try{return e.a?e.a.responseText:""}catch(t){return Fr(e.b,"Can not get responseText: "+t.message),""}}function ni(e,t){return t+" ["+e.N+" "+e.m+" "+ei(e)+"]"}function ri(e,t){this.g=[],this.v=e,this.u=t||null,this.f=this.a=!1,this.c=void 0,this.m=this.w=this.i=!1,this.h=0,this.b=null,this.l=0}function ii(e,t,n){e.a=!0,e.c=n,e.f=!t,ui(e)}function oi(e){if(e.a){if(!e.m)throw new ci(e);e.m=!1}}function ai(e,t){si(e,null,t,void 0)}function si(e,t,n,r){e.g.push([t,n,r]),e.a&&ui(e)}function li(e){return Gl(e.g,function(e){return l(e[1])})}function ui(e){if(e.h&&e.a&&li(e)){var t=e.h,n=Vc[t];n&&(Dl.clearTimeout(n.a),delete Vc[t]),e.h=0}e.b&&(e.b.l--,delete e.b),t=e.c;for(var r=n=!1;e.g.length&&!e.i;){var i=e.g.shift(),o=i[0],a=i[1];if(i=i[2],o=e.f?a:o)try{var s=o.call(i||e.u,t);void 0!==s&&(e.f=e.f&&(s==t||s instanceof Error),e.c=t=s),(g(t)||"function"===typeof Dl.Promise&&t instanceof Dl.Promise)&&(r=!0,e.i=!0)}catch(r){t=r,e.f=!0,li(e)||(n=!0)}}e.c=t,r&&(s=f(e.o,e,!0),r=f(e.o,e,!1),t instanceof ri?(si(t,s,r),t.w=!0):t.then(s,r)),n&&(t=new fi(t),Vc[t.a]=t,e.h=t.a)}function ci(){v.call(this)}function di(){v.call(this)}function fi(e){this.a=Dl.setTimeout(f(this.c,this),0),this.b=e}function hi(e){var t={},n=t.document||document,r=bt(e),i=document.createElement("SCRIPT"),o={Kb:i,Ga:void 0},a=new ri(mi,o),s=null,l=null!=t.timeout?t.timeout:5e3;return 0<l&&(s=window.setTimeout(function(){gi(i,!0);var e=new vi(Yc,"Timeout reached for loading script "+r);oi(a),ii(a,!1,e)},l),o.Ga=s),i.onload=i.onreadystatechange=function(){i.readyState&&"loaded"!=i.readyState&&"complete"!=i.readyState||(gi(i,t.ed||!1,s),a.C())},i.onerror=function(){gi(i,!0,s);var e=new vi(Kc,"Error while loading script "+r);oi(a),ii(a,!1,e)},o=t.attributes||{},F(o,{type:"text/javascript",charset:"UTF-8"}),Pt(i,o),i.src=bt(e),pi(n).appendChild(i),a}function pi(e){var t;return(t=(e||document).getElementsByTagName("HEAD"))&&0!=t.length?t[0]:e.documentElement}function mi(){if(this&&this.Kb){var e=this.Kb;e&&"SCRIPT"==e.tagName&&gi(e,!0,this.Ga)}}function gi(e,t,r){null!=r&&Dl.clearTimeout(r),e.onload=n,e.onerror=n,e.onreadystatechange=n,t&&window.setTimeout(function(){e&&e.parentNode&&e.parentNode.removeChild(e)},0)}function vi(e,t){var n="Jsloader error (code #"+e+")";t&&(n+=": "+t),v.call(this,n),this.code=e}function yi(e){this.f=e}function bi(e,t,n){if(this.b=e,e=t||{},this.i=e.secureTokenEndpoint||"https://securetoken.googleapis.com/v1/token",this.l=e.secureTokenTimeout||Qc,this.f=B(e.secureTokenHeaders||$c),this.g=e.firebaseEndpoint||"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",this.h=e.firebaseTimeout||Jc,this.a=B(e.firebaseHeaders||ed),n&&(this.a["X-Client-Version"]=n,this.f["X-Client-Version"]=n),n="Node"==$t(),!(n=Dl.XMLHttpRequest||n&&r.a.INTERNAL.node&&r.a.INTERNAL.node.XMLHttpRequest)&&!Qt())throw new Rn("internal-error","The XMLHttpRequest compatibility library was not found.");this.c=void 0,Qt()?this.c=new zr(self):Jt()?this.c=new yi(n):this.c=new Rr}function wi(e,t){t?e.a["X-Firebase-Locale"]=t:delete e.a["X-Firebase-Locale"]}function Ei(e,t){t?(e.a["X-Client-Version"]=t,e.f["X-Client-Version"]=t):(delete e.a["X-Client-Version"],delete e.f["X-Client-Version"])}function Ti(e,t,n,r,i,o,a){Ut()||Qt()?e=f(e.o,e):(Zc||(Zc=new V(function(e,t){_i(e,t)})),e=f(e.m,e)),e(t,n,r,i,o,a)}function _i(e,t){if(((window.gapi||{}).client||{}).request)e();else{Dl[nd]=function(){((window.gapi||{}).client||{}).request?e():t(Error("CORS_UNSUPPORTED"))};ai(hi(wt(td,{onload:nd})),function(){t(Error("CORS_UNSUPPORTED"))})}}function ki(e,t){return new V(function(n,r){"refresh_token"==t.grant_type&&t.refresh_token||"authorization_code"==t.grant_type&&t.code?Ti(e,e.i+"?key="+encodeURIComponent(e.b),function(e){e?e.error?r(Hi(e)):e.access_token&&e.refresh_token?n(e):r(new Rn("internal-error")):r(new Rn("network-request-failed"))},"POST",ut(t).toString(),e.f,e.l.get()):r(new Rn("internal-error"))})}function xi(e,t,n,r,i,o){var a=nt(e.g+t);et(a,"key",e.b),o&&et(a,"cb",Wl().toString());var s="GET"==n;if(s)for(var l in r)r.hasOwnProperty(l)&&et(a,l,r[l]);return new V(function(t,o){Ti(e,a.toString(),function(e){e?e.error?o(Hi(e,i||{})):t(e):o(new Rn("network-request-failed"))},n,s?void 0:Mt(fn(r)),e.a,e.h.get())})}function Si(e){if(!Nc.test(e.email))throw new Rn("invalid-email")}function Ci(e){"email"in e&&Si(e)}function Oi(e,t){return zi(e,ld,{identifier:t,continueUri:ln()?Bt():"http://localhost"}).then(function(e){return e.allProviders||[]})}function Ai(e,t){return zi(e,ld,{identifier:t,continueUri:ln()?Bt():"http://localhost"}).then(function(e){return e.signinMethods||[]})}function Pi(e){return zi(e,vd,{}).then(function(e){return e.authorizedDomains||[]})}function Ii(e){if(!e[Xc])throw new Rn("internal-error")}function Ri(e){if(e.phoneNumber||e.temporaryProof){if(!e.phoneNumber||!e.temporaryProof)throw new Rn("internal-error")}else{if(!e.sessionInfo)throw new Rn("missing-verification-id");if(!e.code)throw new Rn("missing-verification-code")}}function Ni(e,t){return zi(e,wd,t)}function Mi(e,t,n){return zi(e,cd,{idToken:t,deleteProvider:n})}function Di(e){if(!e.requestUri||!e.sessionId&&!e.postBody)throw new Rn("internal-error")}function Li(e){var t=null;if(e.needConfirmation?(e.code="account-exists-with-different-credential",t=Cr(e)):"FEDERATED_USER_ID_ALREADY_LINKED"==e.errorMessage?(e.code="credential-already-in-use",t=Cr(e)):"EMAIL_EXISTS"==e.errorMessage?(e.code="email-already-in-use",t=Cr(e)):e.errorMessage&&(t=Ui(e.errorMessage)),t)throw t;if(!e[Xc])throw new Rn("internal-error")}function ji(e,t){return t.returnIdpCredential=!0,zi(e,kd,t)}function Wi(e,t){return t.returnIdpCredential=!0,zi(e,Sd,t)}function Bi(e,t){return t.returnIdpCredential=!0,t.autoCreate=!1,zi(e,xd,t)}function Fi(e){if(!e.oobCode)throw new Rn("invalid-action-code")}function zi(e,t,n){if(!An(n,t.T))return X(new Rn("internal-error"));var r,i=t.Hb||"POST";return Z(n).then(t.B).then(function(){return t.R&&(n.returnSecureToken=!0),xi(e,t.endpoint,i,n,t.Wb,t.tb||!1)}).then(function(e){return r=e}).then(t.J).then(function(){if(!t.da)return r;if(!(t.da in r))throw new Rn("internal-error");return r[t.da]})}function Ui(e){return Hi({error:{errors:[{message:e}],code:400,message:e}})}function Hi(e,t){var n=(e.error&&e.error.errors&&e.error.errors[0]||{}).reason||"",r={keyInvalid:"invalid-api-key",ipRefererBlocked:"app-not-authorized"};if(n=r[n]?new Rn(r[n]):null)return n;n=e.error&&e.error.message||"",r={INVALID_CUSTOM_TOKEN:"invalid-custom-token",CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_EMAIL:"invalid-email",INVALID_PASSWORD:"wrong-password",USER_DISABLED:"user-disabled",MISSING_PASSWORD:"internal-error",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",INVALID_MESSAGE_PAYLOAD:"invalid-message-payload",INVALID_RECIPIENT_EMAIL:"invalid-recipient-email",INVALID_SENDER:"invalid-sender",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",INVALID_PROVIDER_ID:"invalid-provider-id",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",CORS_UNSUPPORTED:"cors-unsupported",DYNAMIC_LINK_NOT_ACTIVATED:"dynamic-link-not-activated",INVALID_APP_ID:"invalid-app-id",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",WEAK_PASSWORD:"weak-password",OPERATION_NOT_ALLOWED:"operation-not-allowed",USER_CANCELLED:"user-cancelled",CAPTCHA_CHECK_FAILED:"captcha-check-failed",INVALID_APP_CREDENTIAL:"invalid-app-credential",INVALID_CODE:"invalid-verification-code",INVALID_PHONE_NUMBER:"invalid-phone-number",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_APP_CREDENTIAL:"missing-app-credential",MISSING_CODE:"missing-verification-code",MISSING_PHONE_NUMBER:"missing-phone-number",MISSING_SESSION_INFO:"missing-verification-id",QUOTA_EXCEEDED:"quota-exceeded",SESSION_EXPIRED:"code-expired",INVALID_CONTINUE_URI:"invalid-continue-uri",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",MISSING_IOS_BUNDLE_ID:"missing-ios-bundle-id",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",INVALID_CERT_HASH:"invalid-cert-hash"},F(r,t||{}),t=(t=n.match(/^[^\s]+\s*:\s*(.*)$/))&&1<t.length?t[1]:void 0;for(var i in r)if(0===n.indexOf(i))return new Rn(r[i],t);return!t&&e&&(t=dn(e)),new Rn("internal-error",t)}function Gi(e){for(var t in Rd)if(Rd[t].id===e)return e=Rd[t],{firebaseEndpoint:e.$a,secureTokenEndpoint:e.hb};return null}function qi(e){this.b=e,this.a=null,this.eb=Vi(this)}function Vi(e){return Zi().then(function(){return new V(function(t,n){on("gapi.iframes.getContext")().open({where:document.body,url:e.b,messageHandlersFilter:on("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"),attributes:{style:{position:"absolute",top:"-100px",width:"1px",height:"1px"}},dontclear:!0},function(r){function i(){clearTimeout(o),t()}e.a=r,e.a.restyle({setHideOnLeave:!1});var o=setTimeout(function(){n(Error("Network Error"))},Dd.get());r.ping(i).then(i,function(){n(Error("Network Error"))})})})})}function Ki(e,t){return e.eb.then(function(){return new V(function(n){e.a.send(t.type,t,n,on("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))})})}function Yi(e,t){e.eb.then(function(){e.a.register("authEvent",t,on("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))})}function Zi(){return Ld||(Ld=new V(function(e,t){function n(){gn(),on("gapi.load")("gapi.iframes",{callback:e,ontimeout:function(){gn(),t(Error("Network Error"))},timeout:Md.get()})}if(on("gapi.iframes.Iframe"))e();else if(on("gapi.load"))n();else{var r="__iframefcb"+Math.floor(1e6*Math.random()).toString();Dl[r]=function(){on("gapi.load")?n():t(Error("Network Error"))},r=wt(Nd,{onload:r}),Z(hi(r)).s(function(){t(Error("Network Error"))})}}).s(function(e){throw Ld=null,e}))}function Xi(e,t,n){this.i=e,this.g=t,this.h=n,this.f=null,this.a=rt(this.i,"/__/auth/iframe"),et(this.a,"apiKey",this.g),et(this.a,"appName",this.h),this.b=null,this.c=[]}function Qi(e,t,n,r,i){this.o=e,this.m=t,this.c=n,this.l=r,this.h=this.g=this.i=null,this.a=i,this.f=null}function $i(e){try{return r.a.app(e).auth().xa()}catch(e){return[]}}function Ji(e,t,n,r,i){this.m=e,this.f=t,this.b=n,this.c=r||null,this.h=i||null,this.o=this.u=this.v=null,this.g=[],this.l=this.a=null}function eo(e){var t=Bt();return Pi(e).then(function(e){e:{var n=nt(t),r=n.c;n=n.b;for(var i=0;i<e.length;i++){var o=e[i],a=n,s=r;if(0==o.indexOf("chrome-extension://")?a=nt(o).b==a&&"chrome-extension"==s:"http"!=s&&"https"!=s?a=!1:ec.test(o)?a=a==o:(o=o.split(".").join("\\."),a=new RegExp("^(.+\\."+o+"|"+o+")$","i").test(a)),a){e=!0;break e}}e=!1}if(!e)throw new xr(Bt())})}function to(e){return e.l?e.l:(e.l=Kt().then(function(){if(!e.u){var t=e.c,n=e.h,r=$i(e.b),i=new Xi(e.m,e.f,e.b);i.f=t,i.b=n,i.c=I(r||[]),e.u=i.toString()}e.i=new qi(e.u),io(e)}),e.l)}function no(e){return e.o||(e.v=e.c?nn(e.c,$i(e.b)):null,e.o=new bi(e.f,Gi(e.h),e.v)),e.o}function ro(e,t,n,r,i,o,a,s,l,u){return e=new Qi(e,t,n,r,i),e.i=o,e.g=a,e.h=s,e.b=B(l||null),e.f=u,e.toString()}function io(e){if(!e.i)throw Error("IfcHandler must be initialized!");Yi(e.i,function(t){var n={};if(t&&t.authEvent){var r=!1;for(t=_r(t.authEvent),n=0;n<e.g.length;n++)r=e.g[n](t)||r;return n={},n.status=r?"ACK":"ERROR",Z(n)}return n.status="ERROR",Z(n)})}function oo(e){var t={type:"webStorageSupport"};return to(e).then(function(){return Ki(e.i,t)}).then(function(e){if(e&&e.length&&"undefined"!==typeof e[0].webStorageSupport)return e[0].webStorageSupport;throw Error()})}function ao(e){if(this.a=e||r.a.INTERNAL.reactNative&&r.a.INTERNAL.reactNative.AsyncStorage,!this.a)throw new Rn("internal-error","The React Native compatibility library was not found.");this.type="asyncStorage"}function so(e){this.b=e,this.a={},this.c=f(this.f,this)}function lo(){var e=Qt()?self:null;if(Ul(jd,function(n){n.b==e&&(t=n)}),!t){var t=new so(e);jd.push(t)}return t}function uo(e){this.a=e}function co(e){this.c=e,this.b=!1,this.a=[]}function fo(e,t,n,r){var i,o,a,s,l=n||{},u=null;if(e.b)return X(Error("connection_unavailable"));var c=r?800:50,d="undefined"!==typeof MessageChannel?new MessageChannel:null;return new V(function(n,r){d?(i=Math.floor(Math.random()*Math.pow(10,20)).toString(),d.port1.start(),a=setTimeout(function(){r(Error("unsupported_event"))},c),o=function(e){e.data.eventId===i&&("ack"===e.data.status?(clearTimeout(a),s=setTimeout(function(){r(Error("timeout"))},3e3)):"done"===e.data.status?(clearTimeout(s),"undefined"!==typeof e.data.response?n(e.data.response):r(Error("unknown_error"))):(clearTimeout(a),clearTimeout(s),r(Error("invalid_response"))))},u={messageChannel:d,onMessage:o},e.a.push(u),d.port1.addEventListener("message",o),e.c.postMessage({eventType:t,eventId:i,data:l},[d.port2])):r(Error("connection_unavailable"))}).then(function(t){return ho(e,u),t}).s(function(t){throw ho(e,u),t})}function ho(e,t){if(t){var n=t.messageChannel,r=t.onMessage;n&&(n.port1.removeEventListener("message",r),n.port1.close()),A(e.a,function(e){return e==t})}}function po(){if(!yo())throw new Rn("web-storage-unsupported");this.c={},this.a=[],this.b=0,this.m=Dl.indexedDB,this.type="indexedDB",this.g=this.l=this.f=this.i=null,this.u=!1,this.h=null;var e=this;Qt()&&self?(this.l=lo(),this.l.subscribe("keyChanged",function(t,n){return _o(e).then(function(t){return 0<t.length&&Ul(e.a,function(e){e(t)}),{keyProcessed:C(t,n.key)}})}),this.l.subscribe("ping",function(){return Z(["keyChanged"])})):_n().then(function(t){(e.h=t)&&(e.g=new co(new uo(t)),fo(e.g,"ping",null,!0).then(function(t){t[0].fulfilled&&C(t[0].value,"keyChanged")&&(e.u=!0)}).s(function(){}))})}function mo(e){return new V(function(t,n){var r=e.m.deleteDatabase("firebaseLocalStorageDb");r.onsuccess=function(){t()},r.onerror=function(e){n(Error(e.target.error))}})}function go(e){return new V(function(t,n){var r=e.m.open("firebaseLocalStorageDb",1);r.onerror=function(e){try{e.preventDefault()}catch(e){}n(Error(e.target.error))},r.onupgradeneeded=function(e){e=e.target.result;try{e.createObjectStore("firebaseLocalStorage",{keyPath:"fbase_key"})}catch(e){n(e)}},r.onsuccess=function(r){r=r.target.result,r.objectStoreNames.contains("firebaseLocalStorage")?t(r):mo(e).then(function(){return go(e)}).then(function(e){t(e)}).s(function(e){n(e)})}})}function vo(e){return e.o||(e.o=go(e)),e.o}function yo(){try{return!!Dl.indexedDB}catch(e){return!1}}function bo(e){return e.objectStore("firebaseLocalStorage")}function wo(e,t){return e.transaction(["firebaseLocalStorage"],t?"readwrite":"readonly")}function Eo(e){return new V(function(t,n){e.onsuccess=function(e){e&&e.target?t(e.target.result):t()},e.onerror=function(e){n(Error(e.target.errorCode))}})}function To(e,t){return e.g&&e.h&&Tn()===e.h?fo(e.g,"keyChanged",{key:t},e.u).then(function(){}).s(function(){}):Z()}function _o(e){return vo(e).then(function(e){var t=bo(wo(e,!1));return t.getAll?Eo(t.getAll()):new V(function(e,n){var r=[],i=t.openCursor();i.onsuccess=function(t){(t=t.target.result)?(r.push(t.value),t.continue()):e(r)},i.onerror=function(e){n(Error(e.target.errorCode))}})}).then(function(t){var n={},r=[];if(0==e.b){for(r=0;r<t.length;r++)n[t[r].fbase_key]=t[r].value;r=zt(e.c,n),e.c=n}return r})}function ko(e){function t(){e.f=setTimeout(function(){e.i=_o(e).then(function(t){0<t.length&&Ul(e.a,function(e){e(t)})}).then(function(){t()}).s(function(e){"STOP_EVENT"!=e.message&&t()})},800)}xo(e),t()}function xo(e){e.i&&e.i.cancel("STOP_EVENT"),e.f&&(clearTimeout(e.f),e.f=null)}function So(e){var t=this,n=null;this.a=[],this.type="indexedDB",this.c=e,this.b=Z().then(function(){if(yo()){var e=pn(),r="__sak"+e;return Wd||(Wd=new po),n=Wd,n.set(r,e).then(function(){return n.get(r)}).then(function(t){if(t!==e)throw Error("indexedDB not supported!");return n.P(r)}).then(function(){return n}).s(function(){return t.c})}return t.c}).then(function(e){return t.type=e.type,e.Y(function(e){Ul(t.a,function(t){t(e)})}),e})}function Co(){this.a={},this.type="inMemory"}function Oo(){if(!Po()){if("Node"==$t())throw new Rn("internal-error","The LocalStorage compatibility library was not found.");throw new Rn("web-storage-unsupported")}this.a=Ao()||r.a.INTERNAL.node.localStorage,this.type="localStorage"}function Ao(){try{var e=Dl.localStorage,t=pn();return e&&(e.setItem(t,"1"),e.removeItem(t)),e}catch(e){return null}}function Po(){var e="Node"==$t();if(!(e=Ao()||e&&r.a.INTERNAL.node&&r.a.INTERNAL.node.localStorage))return!1;try{return e.setItem("__sak","1"),e.removeItem("__sak"),!0}catch(e){return!1}}function Io(){this.type="nullStorage"}function Ro(){if(!Mo()){if("Node"==$t())throw new Rn("internal-error","The SessionStorage compatibility library was not found.");throw new Rn("web-storage-unsupported")}this.a=No()||r.a.INTERNAL.node.sessionStorage,this.type="sessionStorage"}function No(){try{var e=Dl.sessionStorage,t=pn();return e&&(e.setItem(t,"1"),e.removeItem(t)),e}catch(e){return null}}function Mo(){var e="Node"==$t();if(!(e=No()||e&&r.a.INTERNAL.node&&r.a.INTERNAL.node.sessionStorage))return!1;try{return e.setItem("__sak","1"),e.removeItem("__sak"),!0}catch(e){return!1}}function Do(){var e={};e.Browser=zd,e.Node=Ud,e.ReactNative=Hd,e.Worker=Gd,this.a=e[$t()]}function Lo(e){var t=new Rn("invalid-persistence-type"),n=new Rn("unsupported-persistence-type");e:{for(r in qd)if(qd[r]==e){var r=!0;break e}r=!1}if(!r||"string"!==typeof e)throw t;switch($t()){case"ReactNative":if("session"===e)throw n;break;case"Node":if("none"!==e)throw n;break;default:if(!an()&&"none"!==e)throw n}}function jo(){var e=!(mn(rn())||!Xt()),t=cn(),n=an();this.o=e,this.h=t,this.l=n,this.a={},Bd||(Bd=new Do),e=Bd;try{this.g=!Wt()&&En()||!Dl.indexedDB?new e.a.A:new So(Qt()?new Co:new e.a.A)}catch(e){this.g=new Co,this.h=!0}try{this.i=new e.a.Qa}catch(e){this.i=new Co}this.m=new Co,this.f=f(this.Ob,this),this.b={}}function Wo(){return Fd||(Fd=new jo),Fd}function Bo(e,t){switch(t){case"session":return e.i;case"none":return e.m;default:return e.g}}function Fo(e,t){return"firebase:"+e.name+(t?":"+t:"")}function zo(e,t,n){var r=Fo(t,n),i=Bo(e,t.A);return e.get(t,n).then(function(o){var a=null;try{a=hn(Dl.localStorage.getItem(r))}catch(e){}if(a&&!o)return Dl.localStorage.removeItem(r),e.set(t,a,n);a&&o&&"localStorage"!=i.type&&Dl.localStorage.removeItem(r)})}function Uo(e,t,n){return n=Fo(t,n),"local"==t.A&&(e.b[n]=null),Bo(e,t.A).P(n)}function Ho(e){Go(e),e.c=setInterval(function(){for(var t in e.a){var n=Dl.localStorage.getItem(t),r=e.b[t];n!=r&&(e.b[t]=n,n=new be({type:"storage",key:t,target:window,oldValue:r,newValue:n,a:!0}),e.Ob(n))}},1e3)}function Go(e){e.c&&(clearInterval(e.c),e.c=null)}function qo(e){this.a=e,this.b=Wo()}function Vo(e){return e.b.get(Kd,e.a).then(function(e){return _r(e)})}function Ko(){this.a=Wo()}function Yo(){this.b=-1}function Zo(e,t){this.b=Yd,this.f=Dl.Uint8Array?new Uint8Array(this.b):Array(this.b),this.g=this.c=0,this.a=[],this.i=e,this.h=t,this.l=Dl.Int32Array?new Int32Array(64):Array(64),void 0!==Vd||(Vd=Dl.Int32Array?new Int32Array(Jd):Jd),this.reset()}function Xo(e){for(var t=e.f,n=e.l,r=0,i=0;i<t.length;)n[r++]=t[i]<<24|t[i+1]<<16|t[i+2]<<8|t[i+3],i=4*r;for(t=16;64>t;t++){i=0|n[t-15],r=0|n[t-2];var o=(0|n[t-16])+((i>>>7|i<<25)^(i>>>18|i<<14)^i>>>3)|0,a=(0|n[t-7])+((r>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)|0;n[t]=o+a|0}r=0|e.a[0],i=0|e.a[1];var s=0|e.a[2],l=0|e.a[3],u=0|e.a[4],c=0|e.a[5],d=0|e.a[6];for(o=0|e.a[7],t=0;64>t;t++){var f=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&i^r&s^i&s)|0;a=u&c^~u&d,o=o+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))|0,a=a+(0|Vd[t])|0,a=o+(a+(0|n[t])|0)|0,o=d,d=c,c=u,u=l+a|0,l=s,s=i,i=r,r=a+f|0}e.a[0]=e.a[0]+r|0,e.a[1]=e.a[1]+i|0,e.a[2]=e.a[2]+s|0,e.a[3]=e.a[3]+l|0,e.a[4]=e.a[4]+u|0,e.a[5]=e.a[5]+c|0,e.a[6]=e.a[6]+d|0,e.a[7]=e.a[7]+o|0}function Qo(t,n,r){void 0===r&&(r=n.length);var i=0,o=t.c;if(e(n))for(;i<r;)t.f[o++]=n.charCodeAt(i++),o==t.b&&(Xo(t),o=0);else{if(!s(n))throw Error("message must be string or array");for(;i<r;){var a=n[i++];if(!("number"==typeof a&&0<=a&&255>=a&&a==(0|a)))throw Error("message must be a byte array");t.f[o++]=a,o==t.b&&(Xo(t),o=0)}}t.c=o,t.g+=r}function $o(){Zo.call(this,8,ef)}function Jo(e,t,n,r,i){this.m=e,this.i=t,this.l=n,this.o=r||null,this.u=i||null,this.h=t+":"+n,this.v=new Ko,this.g=new qo(this.h),this.f=null,this.b=[],this.a=this.c=null}function ea(e){return new Rn("invalid-cordova-configuration",e)}function ta(){for(var e=20,t=[];0<e;)t.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),e--;return t.join("")}function na(e){var t=new $o;Qo(t,e),e=[];var n=8*t.g;56>t.c?Qo(t,$d,56-t.c):Qo(t,$d,t.b-(t.c-56));for(var r=63;56<=r;r--)t.f[r]=255&n,n/=256;for(Xo(t),r=n=0;r<t.i;r++)for(var i=24;0<=i;i-=8)e[n++]=t.a[r]>>i&255;return Ln(e)}function ra(e,t,n,r){var i=ta(),o=new Tr(t,r,null,i,new Rn("no-auth-event")),a=on("BuildInfo.packageName",Dl);if("string"!==typeof a)throw new Rn("invalid-cordova-configuration");var s=on("BuildInfo.displayName",Dl),l={};if(rn().toLowerCase().match(/iphone|ipad|ipod/))l.ibi=a;else{if(!rn().toLowerCase().match(/android/))return X(new Rn("operation-not-supported-in-this-environment"));l.apn=a}s&&(l.appDisplayName=s),i=na(i),l.sessionId=i;var u=ro(e.m,e.i,e.l,t,n,null,r,e.o,l,e.u);return e.ga().then(function(){var t=e.h;return e.v.a.set(Kd,o.D(),t)}).then(function(){var t=on("cordova.plugins.browsertab.isAvailable",Dl);if("function"!==typeof t)throw new Rn("invalid-cordova-configuration");var n=null;t(function(t){if(t){if("function"!==typeof(n=on("cordova.plugins.browsertab.openUrl",Dl)))throw new Rn("invalid-cordova-configuration");n(u)}else{if("function"!==typeof(n=on("cordova.InAppBrowser.open",Dl)))throw new Rn("invalid-cordova-configuration");t=rn(),t=!(!t.match(/(iPad|iPhone|iPod).*OS 7_\d/i)&&!t.match(/(iPad|iPhone|iPod).*OS 8_\d/i)),e.a=n(u,t?"_blank":"_system","location=yes")}})})}function ia(e,t){for(var n=0;n<e.b.length;n++)try{e.b[n](t)}catch(e){}}function oa(e){return e.f||(e.f=e.ga().then(function(){return new V(function(t){function n(r){return t(r),e.Ka(n),!1}e.va(n),sa(e)})})),e.f}function aa(e){var t=null;return Vo(e.g).then(function(n){return t=n,n=e.g,Uo(n.b,Kd,n.a)}).then(function(){return t})}function sa(e){function t(t){r=!0,i&&i.cancel(),aa(e).then(function(r){var i=n;if(r&&t&&t.url){var o=null;i=$n(t.url),-1!=i.indexOf("/__/auth/callback")&&(o=nt(i),o=hn(tt(o,"firebaseError")||null),o=(o="object"===typeof o?Nn(o):null)?new Tr(r.b,r.c,null,null,o):new Tr(r.b,r.c,i,r.g)),i=o||n}ia(e,i)})}var n=new Tr("unknown",null,null,null,new Rn("no-auth-event")),r=!1,i=Ue(500).then(function(){return aa(e).then(function(){r||ia(e,n)})}),o=Dl.handleOpenURL;Dl.handleOpenURL=function(e){if(0==e.toLowerCase().indexOf(on("BuildInfo.packageName",Dl).toLowerCase()+"://")&&t({url:e}),"function"===typeof o)try{o(e)}catch(e){console.error(e)}},Rc||(Rc=new kr),Rc.subscribe(t)}function la(e){this.a=e,this.b=Wo()}function ua(e){return e.b.set(tf,"pending",e.a)}function ca(e){return Uo(e.b,tf,e.a)}function da(e){return e.b.get(tf,e.a).then(function(e){return"pending"==e})}function fa(e,t,n){this.u=e,this.l=t,this.m=n,this.h=[],this.f=!1,this.i=f(this.ab,this),this.b=new ba,this.o=new Sa,this.g=new la(this.l+":"+this.m),this.c={},this.c.unknown=this.b,this.c.signInViaRedirect=this.b,this.c.linkViaRedirect=this.b,this.c.reauthViaRedirect=this.b,this.c.signInViaPopup=this.o,this.c.linkViaPopup=this.o,this.c.reauthViaPopup=this.o,this.a=ha(this.u,this.l,this.m,id)}function ha(e,t,n,i){var o=r.a.SDK_VERSION||null;return Zt()?new Jo(e,t,n,o,i):new Ji(e,t,n,o,i)}function pa(e){e.f||(e.f=!0,e.a.va(e.i));var t=e.a;return e.a.ga().s(function(n){throw e.a==t&&e.reset(),n})}function ma(e){e.a.Lb()&&pa(e).s(function(t){var n=new Tr("unknown",null,null,null,new Rn("operation-not-supported-in-this-environment"));va(t)&&e.ab(n)}),e.a.Gb()||wa(e.b)}function ga(e,t,n,r,i,o){return e.a.Bb(t,n,r,function(){e.f||(e.f=!0,e.a.va(e.i))},function(){e.reset()},i,o)}function va(e){return!(!e||"auth/cordova-not-ready"!=e.code)}function ya(e,t,n){var r=t+":"+n;return of[r]||(of[r]=new fa(e,t,n)),of[r]}function ba(){this.b=null,this.f=[],this.c=[],this.a=null,this.i=this.g=!1}function wa(e){e.g||(e.g=!0,ka(e,!1,null,null))}function Ea(e,t,n){n=n.wa(t.b,t.c);var r=t.f,i=t.g,o=!!t.b.match(/Redirect$/);n(r,i).then(function(t){ka(e,o,t,null)}).s(function(t){ka(e,o,null,t)})}function Ta(e,t){if(e.b=function(){return X(t)},e.c.length)for(var n=0;n<e.c.length;n++)e.c[n](t)}function _a(e,t){if(e.b=function(){return Z(t)},e.f.length)for(var n=0;n<e.f.length;n++)e.f[n](t)}function ka(e,t,n,r){t?r?Ta(e,r):_a(e,n):_a(e,{user:null}),e.f=[],e.c=[]}function xa(e){var t=new Rn("timeout");e.a&&e.a.cancel(),e.a=Ue(rf.get()).then(function(){e.b||(e.g=!0,ka(e,!0,null,t))})}function Sa(){}function Ca(e,t){var n=e.c,r=e.b;t.wa(r,n)(e.f,e.g).then(function(e){t.ha(r,e,null,n)}).s(function(e){t.ha(r,null,e,n)})}function Oa(){this.rb=!1,Object.defineProperty(this,"appVerificationDisabled",{get:function(){return this.rb},set:function(e){this.rb=e},enumerable:!1})}function Aa(e,t){this.a=t,xn(this,"verificationId",e)}function Pa(e,t,n,r){return new yr(e).Ta(t,n).then(function(e){return new Aa(e,r)})}function Ia(e){var t=Un(e);if(!(t&&t.exp&&t.auth_time&&t.iat))throw new Rn("internal-error","An internal error occurred. The token obtained by Firebase appears to be malformed. Please retry the operation.");Sn(this,{token:e,expirationTime:wn(1e3*t.exp),authTime:wn(1e3*t.auth_time),issuedAtTime:wn(1e3*t.iat),signInProvider:t.firebase&&t.firebase.sign_in_provider?t.firebase.sign_in_provider:null,claims:t})}function Ra(e,t,n){if(this.h=e,this.i=t,this.g=n,this.c=3e4,this.f=96e4,this.b=null,this.a=this.c,this.f<this.c)throw Error("Proactive refresh lower bound greater than upper bound!")}function Na(e,t){return t?(e.a=e.c,e.g()):(t=e.a,e.a*=2,e.a>e.f&&(e.a=e.f),t)}function Ma(e,t){e.stop(),e.b=Ue(Na(e,t)).then(function(){return bn()}).then(function(){return e.h()}).then(function(){Ma(e,!0)}).s(function(t){e.i(t)&&Ma(e,!1)})}function Da(e){this.f=e,this.b=this.a=null,this.c=0}function La(e,t){var n=t[Xc],r=t.refreshToken;t=Wa(t.expiresIn),e.b=n,e.c=t,e.a=r}function ja(e,t){e.b=t.b,e.a=t.a,e.c=t.c}function Wa(e){return Wl()+1e3*parseInt(e,10)}function Ba(e,t){return ki(e.f,t).then(function(t){return e.b=t.access_token,e.c=Wa(t.expires_in),e.a=t.refresh_token,{accessToken:e.b,expirationTime:e.c,refreshToken:e.a}}).s(function(t){throw"auth/user-token-expired"==t.code&&(e.a=null),t})}function Fa(e,t){this.a=e||null,this.b=t||null,Sn(this,{lastSignInTime:wn(t||null),creationTime:wn(e||null)})}function za(e){return new Fa(e.a,e.b)}function Ua(e,t,n,r,i,o){Sn(this,{uid:e,displayName:r||null,photoURL:i||null,email:n||null,phoneNumber:o||null,providerId:t})}function Ha(e,t){ye.call(this,e);for(var n in t)this[n]=t[n]}function Ga(e,t,n){this.G=[],this.m=e.apiKey,this.o=e.appName,this.u=e.authDomain||null,e=r.a.SDK_VERSION?nn(r.a.SDK_VERSION):null,this.b=new bi(this.m,Gi(id),e),this.h=new Da(this.b),$a(this,t[Xc]),La(this.h,t),xn(this,"refreshToken",this.h.a),ns(this,n||{}),je.call(this),this.I=!1,this.u&&sn()&&(this.a=ya(this.u,this.m,this.o)),this.N=[],this.i=null,this.w=Za(this),this.V=f(this.Ha,this);var i=this;this.ka=null,this.sa=function(e){i.oa(e.g)},this.X=null,this.O=[],this.ra=function(e){Va(i,e.c)},this.W=null}function qa(e,t){e.X&&Ae(e.X,"languageCodeChanged",e.sa),(e.X=t)&&xe(t,"languageCodeChanged",e.sa)}function Va(e,t){e.O=t,Ei(e.b,r.a.SDK_VERSION?nn(r.a.SDK_VERSION,e.O):null)}function Ka(e,t){e.W&&Ae(e.W,"frameworkChanged",e.ra),(e.W=t)&&xe(t,"frameworkChanged",e.ra)}function Ya(e){try{return r.a.app(e.o).auth()}catch(t){throw new Rn("internal-error","No firebase.auth.Auth instance is available for the Firebase App '"+e.o+"'!")}}function Za(e){return new Ra(function(){return e.F(!0)},function(e){return!(!e||"auth/network-request-failed"!=e.code)},function(){var t=e.h.c-Wl()-3e5;return 0<t?t:0})}function Xa(e){e.C||e.w.b||(e.w.start(),Ae(e,"tokenChanged",e.V),xe(e,"tokenChanged",e.V))}function Qa(e){Ae(e,"tokenChanged",e.V),e.w.stop()}function $a(e,t){e.qa=t,xn(e,"_lat",t)}function Ja(e,t){A(e.N,function(e){return e==t})}function es(e){for(var t=[],n=0;n<e.N.length;n++)t.push(e.N[n](e));return J(t).then(function(){return e})}function ts(e){e.a&&!e.I&&(e.I=!0,e.a.subscribe(e))}function ns(e,t){Sn(e,{uid:t.uid,displayName:t.displayName||null,photoURL:t.photoURL||null,email:t.email||null,emailVerified:t.emailVerified||!1,phoneNumber:t.phoneNumber||null,isAnonymous:t.isAnonymous||!1,metadata:new Fa(t.createdAt,t.lastLoginAt),providerData:[]})}function rs(){}function is(e){return Z().then(function(){if(e.C)throw new Rn("app-deleted")})}function os(e){return Hl(e.providerData,function(e){return e.providerId})}function as(e,t){t&&(ss(e,t.providerId),e.providerData.push(t))}function ss(e,t){A(e.providerData,function(e){return e.providerId==t})}function ls(e,t,n){("uid"!=t||n)&&e.hasOwnProperty(t)&&xn(e,t,n)}function us(e,t){e!=t&&(Sn(e,{uid:t.uid,displayName:t.displayName,photoURL:t.photoURL,email:t.email,emailVerified:t.emailVerified,phoneNumber:t.phoneNumber,isAnonymous:t.isAnonymous,providerData:[]}),t.metadata?xn(e,"metadata",za(t.metadata)):xn(e,"metadata",new Fa),Ul(t.providerData,function(t){as(e,t)}),ja(e.h,t.h),xn(e,"refreshToken",e.h.a))}function cs(e){return e.F().then(function(t){var n=e.isAnonymous;return fs(e,t).then(function(){return n||ls(e,"isAnonymous",!1),t})})}function ds(e,t){t[Xc]&&e.qa!=t[Xc]&&(La(e.h,t),e.dispatchEvent(new Ha("tokenChanged")),$a(e,t[Xc]),ls(e,"refreshToken",e.h.a))}function fs(e,t){return zi(e.b,hd,{idToken:t}).then(f(e.wc,e))}function hs(e){return(e=e.providerUserInfo)&&e.length?Hl(e,function(e){return new Ua(e.rawId,e.providerId,e.email,e.displayName,e.photoUrl,e.phoneNumber)}):[]}function ps(e,t){return cs(e).then(function(){if(C(os(e),t))return es(e).then(function(){throw new Rn("provider-already-linked")})})}function ms(e,t,n){var r=wr(t);return t=Gn(t),Cn({user:e,credential:r,additionalUserInfo:t,operationType:n})}function gs(e,t){return ds(e,t),e.reload().then(function(){return e})}function vs(e,t,n,i,o){if(!sn())return X(new Rn("operation-not-supported-in-this-environment"));if(e.i&&!o)return X(e.i);var a=Hn(n.providerId),s=pn(e.uid+":::"),l=null;(!cn()||Xt())&&e.u&&n.isOAuthProvider&&(l=ro(e.u,e.m,e.o,t,n,null,s,r.a.SDK_VERSION||null));var u=qt(l,a&&a.Ba,a&&a.Aa);return i=i().then(function(){if(bs(e),!o)return e.F().then(function(){})}).then(function(){return ga(e.a,u,t,n,s,!!l)}).then(function(){return new V(function(n,r){e.ha(t,null,new Rn("cancelled-popup-request"),e.g||null),e.f=n,e.v=r,e.g=s,e.c=e.a.Ea(e,t,u,s)})}).then(function(e){return u&&Gt(u),e?Cn(e):null}).s(function(e){throw u&&Gt(u),e}),ws(e,i,o)}function ys(e,t,n,r,i){if(!sn())return X(new Rn("operation-not-supported-in-this-environment"));if(e.i&&!i)return X(e.i);var o=null,a=pn(e.uid+":::");return r=r().then(function(){if(bs(e),!i)return e.F().then(function(){})}).then(function(){return e.aa=a,es(e)}).then(function(t){return e.ba&&(t=e.ba,t=t.b.set(af,e.D(),t.a)),t}).then(function(){return e.a.Ca(t,n,a)}).s(function(t){if(o=t,e.ba)return Ss(e.ba);throw o}).then(function(){if(o)throw o}),ws(e,r,i)}function bs(e){if(!e.a||!e.I){if(e.a&&!e.I)throw new Rn("internal-error");throw new Rn("auth-domain-config-required")}}function ws(e,t,n){var r=Es(e,t,n);return e.G.push(r),r.ia(function(){O(e.G,r)}),r}function Es(e,t,n){return e.i&&!n?(t.cancel(),X(e.i)):t.s(function(t){throw!t||"auth/user-disabled"!=t.code&&"auth/user-token-expired"!=t.code||(e.i||e.dispatchEvent(new Ha("userInvalidated")),e.i=t),t})}function Ts(e){if(!e.apiKey)return null;var t={apiKey:e.apiKey,authDomain:e.authDomain,appName:e.appName},n={};if(!(e.stsTokenManager&&e.stsTokenManager.accessToken&&e.stsTokenManager.expirationTime))return null;n[Xc]=e.stsTokenManager.accessToken,n.refreshToken=e.stsTokenManager.refreshToken||null,n.expiresIn=(e.stsTokenManager.expirationTime-Wl())/1e3;var r=new Ga(t,n,e);return e.providerData&&Ul(e.providerData,function(e){e&&as(r,Cn(e))}),e.redirectEventId&&(r.aa=e.redirectEventId),r}function _s(e,t,n,r){var i=new Ga(e,t);return n&&(i.ba=n),r&&Va(i,r),i.reload().then(function(){return i})}function ks(e,t,n,r){t=t||{apiKey:e.m,authDomain:e.u,appName:e.o};var i=e.h,o={};return o[Xc]=i.b,o.refreshToken=i.a,o.expiresIn=(i.c-Wl())/1e3,t=new Ga(t,o),n&&(t.ba=n),r&&Va(t,r),us(t,e),t}function xs(e){this.a=e,this.b=Wo()}function Ss(e){return Uo(e.b,af,e.a)}function Cs(e,t){return e.b.get(af,e.a).then(function(e){return e&&t&&(e.authDomain=t),Ts(e||{})})}function Os(e){this.a=e,this.b=Wo(),this.c=null,this.f=Ps(this),this.b.addListener(Is("local"),this.a,f(this.g,this))}function As(e,t){var n,r=[];for(n in qd)qd[n]!==t&&r.push(Uo(e.b,Is(qd[n]),e.a));return r.push(Uo(e.b,sf,e.a)),$(r)}function Ps(e){var t=Is("local"),n=Is("session"),r=Is("none");return zo(e.b,t,e.a).then(function(){return e.b.get(n,e.a)}).then(function(i){return i?n:e.b.get(r,e.a).then(function(n){return n?r:e.b.get(t,e.a).then(function(n){return n?t:e.b.get(sf,e.a).then(function(e){return e?Is(e):t})})})}).then(function(t){return e.c=t,As(e,t.A)}).s(function(){e.c||(e.c=t)})}function Is(e){return{name:"authUser",A:e}}function Rs(e){return Ls(e,function(){return e.b.set(sf,e.c.A,e.a)})}function Ns(e,t){return Ls(e,function(){return e.b.set(e.c,t.D(),e.a)})}function Ms(e){return Ls(e,function(){return Uo(e.b,e.c,e.a)})}function Ds(e,t){return Ls(e,function(){return e.b.get(e.c,e.a).then(function(e){return e&&t&&(e.authDomain=t),Ts(e||{})})})}function Ls(e,t){return e.f=e.f.then(t,t),e.f}function js(e){if(this.m=!1,xn(this,"settings",new Oa),xn(this,"app",e),!Zs(this).options||!Zs(this).options.apiKey)throw new Rn("invalid-api-key");e=r.a.SDK_VERSION?nn(r.a.SDK_VERSION):null,this.b=new bi(Zs(this).options&&Zs(this).options.apiKey,Gi(id),e),this.N=[],this.o=[],this.I=[],this.Sb=r.a.INTERNAL.createSubscribe(f(this.kc,this)),this.O=void 0,this.Tb=r.a.INTERNAL.createSubscribe(f(this.mc,this)),Gs(this,null),this.h=new Os(Zs(this).options.apiKey+":"+Zs(this).name),this.w=new xs(Zs(this).options.apiKey+":"+Zs(this).name),this.V=el(this,Vs(this)),this.i=el(this,Ks(this)),this.X=!1,this.ka=f(this.Lc,this),this.Ha=f(this.Z,this),this.qa=f(this.ac,this),this.ra=f(this.ic,this),this.sa=f(this.jc,this),Us(this),this.INTERNAL={},this.INTERNAL.delete=f(this.delete,this),this.INTERNAL.logFramework=f(this.sc,this),this.u=0,je.call(this),Fs(this),this.G=[]}function Ws(e){ye.call(this,"languageCodeChanged"),this.g=e}function Bs(e){ye.call(this,"frameworkChanged"),this.c=e}function Fs(e){Object.defineProperty(e,"lc",{get:function(){return this.ea()},set:function(e){this.oa(e)},enumerable:!1}),e.W=null}function zs(e){return e.Rb||X(new Rn("auth-domain-config-required"))}function Us(e){var t=Zs(e).options.authDomain,n=Zs(e).options.apiKey;t&&sn()&&(e.Rb=e.V.then(function(){if(!e.m){if(e.a=ya(t,n,Zs(e).name),e.a.subscribe(e),Xs(e)&&ts(Xs(e)),e.C){ts(e.C);var r=e.C;r.oa(e.ea()),qa(r,e),r=e.C,Va(r,e.G),Ka(r,e),e.C=null}return e.a}}))}function Hs(e,t){var n={};return n.apiKey=Zs(e).options.apiKey,n.authDomain=Zs(e).options.authDomain,n.appName=Zs(e).name,e.V.then(function(){return _s(n,t,e.w,e.xa())}).then(function(t){return Xs(e)&&t.uid==Xs(e).uid?(us(Xs(e),t),e.Z(t)):(Gs(e,t),ts(t),e.Z(t))}).then(function(){$s(e)})}function Gs(e,t){Xs(e)&&(Ja(Xs(e),e.Ha),Ae(Xs(e),"tokenChanged",e.qa),Ae(Xs(e),"userDeleted",e.ra),Ae(Xs(e),"userInvalidated",e.sa),Qa(Xs(e))),t&&(t.N.push(e.Ha),xe(t,"tokenChanged",e.qa),xe(t,"userDeleted",e.ra),xe(t,"userInvalidated",e.sa),0<e.u&&Xa(t)),xn(e,"currentUser",t),t&&(t.oa(e.ea()),qa(t,e),Va(t,e.G),Ka(t,e))}function qs(e){var t=Cs(e.w,Zs(e).options.authDomain).then(function(t){return(e.C=t)&&(t.ba=e.w),Ss(e.w)});return el(e,t)}function Vs(e){var t=Zs(e).options.authDomain,n=qs(e).then(function(){return Ds(e.h,t)}).then(function(t){return t?(t.ba=e.w,e.C&&(e.C.aa||null)==(t.aa||null)?t:t.reload().then(function(){return Ns(e.h,t).then(function(){return t})}).s(function(n){return"auth/network-request-failed"==n.code?t:Ms(e.h)})):null}).then(function(t){Gs(e,t||null)});return el(e,n)}function Ks(e){return e.V.then(function(){return e.fa()}).s(function(){}).then(function(){if(!e.m)return e.ka()}).s(function(){}).then(function(){if(!e.m){e.X=!0;var t=e.h;t.b.addListener(Is("local"),t.a,e.ka)}})}function Ys(e,t){var n=null,r=null;return el(e,t.then(function(t){return n=wr(t),r=Gn(t),Hs(e,t)}).then(function(){return Cn({user:Xs(e),credential:n,additionalUserInfo:r,operationType:"signIn"})}))}function Zs(e){return e.app}function Xs(e){return e.currentUser}function Qs(e){return Xs(e)&&Xs(e)._lat||null}function $s(e){if(e.X){for(var t=0;t<e.o.length;t++)e.o[t]&&e.o[t](Qs(e));if(e.O!==e.getUid()&&e.I.length)for(e.O=e.getUid(),t=0;t<e.I.length;t++)e.I[t]&&e.I[t](Qs(e))}}function Js(e,t){e.I.push(t),el(e,e.i.then(function(){!e.m&&C(e.I,t)&&e.O!==e.getUid()&&(e.O=e.getUid(),t(Qs(e)))}))}function el(e,t){return e.N.push(t),t.ia(function(){O(e.N,t)}),t}function tl(){}function nl(){this.a={},this.b=1e12}function rl(e,t){return(t=il(t))?e.a[t]||null:null}function il(e){return(e="undefined"===typeof e?1e12:e)?e.toString():null}function ol(e,t){this.g=!1,this.c=t,this.a=this.b=null,this.h="invisible"!==this.c.size,this.f=At(e);var n=this;this.i=function(){n.execute()},this.h?this.execute():xe(this.f,"click",this.i)}function al(e){if(e.g)throw Error("reCAPTCHA mock was already deleted!")}function sl(){}function ll(){this.b=Dl.grecaptcha?1/0:0,this.f=null,this.a="__rcb"+Math.floor(1e6*Math.random()).toString()}function ul(e,t,n,r,i,o,a){if(xn(this,"type","recaptcha"),this.c=this.f=null,this.C=!1,this.m=t,this.g=null,a?(uf||(uf=new sl),a=uf):(ff||(ff=new ll),a=ff),this.o=a,this.a=n||{theme:"light",type:"image"},this.h=[],this.a[mf])throw new Rn("argument-error","sitekey should not be provided for reCAPTCHA as one is automatically provisioned for the current project.");if(this.i="invisible"===this.a[gf],!Dl.document)throw new Rn("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment with DOM support.");if(!At(t)||!this.i&&At(t).hasChildNodes())throw new Rn("argument-error","reCAPTCHA container is either not found or already contains inner elements!");this.u=new bi(e,o||null,i||null),this.v=r||function(){return null};var s=this;this.l=[];var l=this.a[hf];this.a[hf]=function(e){if(cl(s,e),"function"===typeof l)l(e);else if("string"===typeof l){var t=on(l,Dl);"function"===typeof t&&t(e)}};var u=this.a[pf];this.a[pf]=function(){if(cl(s,null),"function"===typeof u)u();else if("string"===typeof u){var e=on(u,Dl);"function"===typeof e&&e()}}}function cl(e,t){for(var n=0;n<e.l.length;n++)try{e.l[n](t)}catch(e){}}function dl(e,t){A(e.l,function(e){return e==t})}function fl(e,t){return e.h.push(t),t.ia(function(){O(e.h,t)}),t}function hl(e){if(e.C)throw new Rn("internal-error","RecaptchaVerifier instance has been destroyed.")}function pl(e,t,n){var i=!1;try{this.b=n||r.a.app()}catch(e){throw new Rn("argument-error","No firebase.app.App instance is currently initialized.")}if(!this.b.options||!this.b.options.apiKey)throw new Rn("invalid-api-key");n=this.b.options.apiKey;var o=this,a=null;try{a=this.b.auth().xa()}catch(e){}try{i=this.b.auth().settings.appVerificationDisabledForTesting}catch(e){}a=r.a.SDK_VERSION?nn(r.a.SDK_VERSION,a):null,ul.call(this,n,e,t,function(){try{var e=o.b.auth().ea()}catch(t){e=null}return e},a,Gi(id),i)}function ml(e,t,n,r){e:{n=Array.prototype.slice.call(n);for(var i=0,o=!1,a=0;a<t.length;a++)if(t[a].optional)o=!0;else{if(o)throw new Rn("internal-error","Argument validator encountered a required argument after an optional argument.");i++}if(o=t.length,n.length<i||o<n.length)r="Expected "+(i==o?1==i?"1 argument":i+" arguments":i+"-"+o+" arguments")+" but got "+n.length+".";else{for(i=0;i<n.length;i++)if(o=t[i].optional&&void 0===n[i],!t[i].M(n[i])&&!o){if(t=t[i],0>i||i>=vf.length)throw new Rn("internal-error","Argument validator received an unsupported number of arguments.");n=vf[i],r=(r?"":n+" argument ")+(t.name?'"'+t.name+'" ':"")+"must be "+t.K+".";break e}r=null}}if(r)throw new Rn("argument-error",e+" failed: "+r)}function gl(t,n){return{name:t||"",K:"a valid string",optional:!!n,M:e}}function vl(e,n){return{name:e||"",K:"a boolean",optional:!!n,M:t}}function yl(e,t){return{name:e||"",K:"a valid object",optional:!!t,M:u}}function bl(e,t){return{name:e||"",K:"a function",optional:!!t,M:l}}function wl(e,t){return{name:e||"",K:"null",optional:!!t,M:o}}function El(){return{name:"",K:"an HTML element",optional:!1,M:function(e){return!!(e&&e instanceof Element)}}}function Tl(){return{name:"auth",K:"an instance of Firebase Auth",optional:!0,M:function(e){return!!(e&&e instanceof js)}}}function _l(){return{name:"app",K:"an instance of Firebase App",optional:!0,M:function(e){return!!(e&&e instanceof r.a.app.App)}}}function kl(e){return{name:e?e+"Credential":"credential",K:e?"a valid "+e+" credential":"a valid credential",optional:!1,M:function(t){if(!t)return!1;var n=!e||t.providerId===e;return!(!t.ya||!n)}}}function xl(){return{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}}function Sl(){return{name:"applicationVerifier",K:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,M:function(t){return!!(t&&e(t.type)&&l(t.verify))}}}function Cl(e,t,n,r){return{name:n||"",K:e.K+" or "+t.K,optional:!!r,M:function(n){return e.M(n)||t.M(n)}}}function Ol(e,t){for(var n in t){var r=t[n].name;e[r]=Il(r,e[n],t[n].j)}}function Al(e,t){for(var n in t){var r=t[n].name;r!==n&&Object.defineProperty(e,r,{get:h(function(e){return this[e]},n),set:h(function(e,t,n,r){ml(e,[n],[r],!0),this[t]=r},r,n,t[n].sb),enumerable:!0})}}function Pl(e,t,n,r){e[t]=Il(t,n,r)}function Il(e,t,n){function r(){var e=Array.prototype.slice.call(arguments);return ml(o,n,e),t.apply(this,e)}if(!n)return t;var i,o=Rl(e);for(i in t)r[i]=t[i];for(i in t.prototype)r.prototype[i]=t.prototype[i];return r}function Rl(e){return e=e.split("."),e[e.length-1]}var Nl,Ml=Ml||{},Dl=this,Ll="closure_uid_"+(1e9*Math.random()>>>0),jl=0,Wl=Date.now||function(){return+new Date};p(v,Error),v.prototype.name="CustomError",p(y,v),y.prototype.name="AssertionError",w.prototype.get=function(){if(0<this.b){this.b--;var e=this.a;this.a=e.next,e.next=null}else e=this.c();return e};var Bl=new w(function(){return new k},function(e){e.reset()});T.prototype.add=function(e,t){var n=Bl.get();n.set(e,t),this.b?this.b.next=n:this.a=n,this.b=n},k.prototype.set=function(e,t){this.a=e,this.b=t,this.next=null},k.prototype.reset=function(){this.next=this.b=this.a=null};var Fl,zl=Array.prototype.indexOf?function(e,t){return Array.prototype.indexOf.call(e,t,void 0)}:function(t,n){if(e(t))return e(n)&&1==n.length?t.indexOf(n,0):-1;for(var r=0;r<t.length;r++)if(r in t&&t[r]===n)return r;return-1},Ul=Array.prototype.forEach?function(e,t,n){Array.prototype.forEach.call(e,t,n)}:function(t,n,r){for(var i=t.length,o=e(t)?t.split(""):t,a=0;a<i;a++)a in o&&n.call(r,o[a],a,t)},Hl=Array.prototype.map?function(e,t){return Array.prototype.map.call(e,t,void 0)}:function(t,n){for(var r=t.length,i=Array(r),o=e(t)?t.split(""):t,a=0;a<r;a++)a in o&&(i[a]=n.call(void 0,o[a],a,t));return i},Gl=Array.prototype.some?function(e,t){return Array.prototype.some.call(e,t,void 0)}:function(t,n){for(var r=t.length,i=e(t)?t.split(""):t,o=0;o<r;o++)if(o in i&&n.call(void 0,i[o],o,t))return!0;return!1},ql=String.prototype.trim?function(e){return e.trim()}:function(e){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(e)[1]},Vl=/&/g,Kl=/</g,Yl=/>/g,Zl=/"/g,Xl=/'/g,Ql=/\x00/g,$l=/[\x00&<>"']/;e:{var Jl=Dl.navigator;if(Jl){var eu=Jl.userAgent;if(eu){Fl=eu;break e}}Fl=""}var tu,nu,ru="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),iu=!1,ou=new T,au=0,su=2,lu=3;K.prototype.reset=function(){this.f=this.b=this.g=this.a=null,this.c=!1};var uu=new w(function(){return new K},function(e){e.reset()});V.prototype.then=function(e,t,n){return ne(this,l(e)?e:null,l(t)?t:null,n)},m(V),Nl=V.prototype,Nl.ia=function(e,t){return e=Y(e,e,t),e.c=!0,te(this,e),this},Nl.s=function(e,t){return ne(this,null,e,t)},Nl.cancel=function(e){this.a==au&&H(function(){ee(this,new de(e))},this)},Nl.Mc=function(e){this.a=au,re(this,su,e)},Nl.Nc=function(e){this.a=au,re(this,lu,e)},Nl.Xb=function(){for(var e;e=se(this);)le(this,e,this.a,this.i);this.h=!1};var cu=z;p(de,v),de.prototype.name="cancel";var du=0,fu={};fe.prototype.pa=!1,fe.prototype.ua=function(){if(this.ja)for(;this.ja.length;)this.ja.shift()()},pe[" "]=n;var hu,pu=L("Opera"),mu=L("Trident")||L("MSIE"),gu=L("Edge"),vu=gu||mu,yu=L("Gecko")&&!(M(Fl.toLowerCase(),"webkit")&&!L("Edge"))&&!(L("Trident")||L("MSIE"))&&!L("Edge"),bu=M(Fl.toLowerCase(),"webkit")&&!L("Edge");e:{var wu="",Eu=function(){var e=Fl;return yu?/rv:([^\);]+)(\)|;)/.exec(e):gu?/Edge\/([\d\.]+)/.exec(e):mu?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(e):bu?/WebKit\/(\S+)/.exec(e):pu?/(?:Version)[ \/]?(\S+)/.exec(e):void 0}();if(Eu&&(wu=Eu?Eu[1]:""),mu){var Tu=ge();if(null!=Tu&&Tu>parseFloat(wu)){hu=String(Tu);break e}}hu=wu}var _u,ku={},xu=Dl.document;_u=xu&&mu?ge()||("CSS1Compat"==xu.compatMode?parseInt(hu,10):5):void 0;var Su=Object.freeze||function(e){return e},Cu=!mu||9<=Number(_u),Ou=mu&&!ve("9"),Au=function(){if(!Dl.addEventListener||!Object.defineProperty)return!1;var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}});return Dl.addEventListener("test",n,t),Dl.removeEventListener("test",n,t),e}();ye.prototype.preventDefault=function(){this.Jb=!1},p(be,ye);var Pu=Su({2:"touch",3:"pen",4:"mouse"});be.prototype.preventDefault=function(){be.nb.preventDefault.call(this);var e=this.a;if(e.preventDefault)e.preventDefault();else if(e.returnValue=!1,Ou)try{(e.ctrlKey||112<=e.keyCode&&123>=e.keyCode)&&(e.keyCode=-1)}catch(e){}},be.prototype.f=function(){return this.a};var Iu="closure_listenable_"+(1e6*Math.random()|0),Ru=0;Te.prototype.add=function(e,t,n,r,i){var o=e.toString();(e=this.a[o])||(e=this.a[o]=[],this.b++);var a=ke(e,t,r,i);return-1<a?(t=e[a],n||(t.Ia=!1)):(t=new we(t,this.src,o,!!r,i),t.Ia=n,e.push(t)),t};var Nu="closure_lm_"+(1e6*Math.random()|0),Mu={},Du=0,Lu="__closure_events_fn_"+(1e9*Math.random()>>>0);p(je,fe),je.prototype[Iu]=!0,je.prototype.addEventListener=function(e,t,n,r){xe(this,e,t,n,r)},je.prototype.removeEventListener=function(e,t,n,r){Ae(this,e,t,n,r)},je.prototype.dispatchEvent=function(t){var n,r=this.Ua;if(r)for(n=[];r;r=r.Ua)n.push(r);r=this.Qb;var i=t.type||t;if(e(t))t=new ye(t,r);else if(t instanceof ye)t.target=t.target||r;else{var o=t;t=new ye(i,r),F(t,o)}if(o=!0,n)for(var a=n.length-1;0<=a;a--){var s=t.b=n[a];o=Fe(s,i,!0,t)&&o}if(s=t.b=r,o=Fe(s,i,!0,t)&&o,o=Fe(s,i,!1,t)&&o,n)for(a=0;a<n.length;a++)s=t.b=n[a],o=Fe(s,i,!1,t)&&o;return o},je.prototype.ua=function(){if(je.nb.ua.call(this),this.l){var e,t=this.l,n=0;for(e in t.a){for(var r=t.a[e],i=0;i<r.length;i++)++n,Ee(r[i]);delete t.a[e],t.b--}}this.Ua=null},Nl=Ve.prototype,Nl.S=function(){Ke(this);for(var e=[],t=0;t<this.a.length;t++)e.push(this.b[this.a[t]]);return e},Nl.U=function(){return Ke(this),this.a.concat()},Nl.clear=function(){this.b={},this.c=this.a.length=0},Nl.get=function(e,t){return Ye(this.b,e)?this.b[e]:t},Nl.set=function(e,t){Ye(this.b,e)||(this.c++,this.a.push(e)),this.b[e]=t},Nl.forEach=function(e,t){for(var n=this.U(),r=0;r<n.length;r++){var i=n[r],o=this.get(i);e.call(t,o,i,this)}};var ju=/^(?:([^:\/?#.]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/#?]*?)(?::([0-9]+))?(?=[\/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;Xe.prototype.toString=function(){var e=[],t=this.c;t&&e.push(ot(t,Wu,!0),":");var n=this.b;return(n||"file"==t)&&(e.push("//"),(t=this.l)&&e.push(ot(t,Wu,!0),"@"),e.push(encodeURIComponent(String(n)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(n=this.i)&&e.push(":",String(n))),(n=this.g)&&(this.b&&"/"!=n.charAt(0)&&e.push("/"),e.push(ot(n,"/"==n.charAt(0)?Fu:Bu,!0))),(n=this.a.toString())&&e.push("?",n),(n=this.h)&&e.push("#",ot(n,Uu)),e.join("")};var Wu=/[#\/\?@]/g,Bu=/[#\?:]/g,Fu=/[#\?]/g,zu=/[#\?@]/g,Uu=/#/g;Nl=st.prototype,Nl.add=function(e,t){lt(this),this.c=null,e=ht(this,e);var n=this.a.get(e);return n||this.a.set(e,n=[]),n.push(t),this.b+=1,this},Nl.clear=function(){this.a=this.c=null,this.b=0},Nl.forEach=function(e,t){lt(this),this.a.forEach(function(n,r){Ul(n,function(n){e.call(t,n,r,this)},this)},this)},Nl.U=function(){lt(this);for(var e=this.a.S(),t=this.a.U(),n=[],r=0;r<t.length;r++)for(var i=e[r],o=0;o<i.length;o++)n.push(t[r]);return n},Nl.S=function(t){lt(this);var n=[];if(e(t))dt(this,t)&&(n=P(n,this.a.get(ht(this,t))));else{t=this.a.S();for(var r=0;r<t.length;r++)n=P(n,t[r])}return n},Nl.set=function(e,t){return lt(this),this.c=null,e=ht(this,e),dt(this,e)&&(this.b-=this.a.get(e).length),this.a.set(e,[t]),this.b+=1,this},Nl.get=function(e,t){return e=e?this.S(e):[],0<e.length?String(e[0]):t},Nl.toString=function(){if(this.c)return this.c;if(!this.a)return"";for(var e=[],t=this.a.U(),n=0;n<t.length;n++){var r=t[n],i=encodeURIComponent(String(r));r=this.S(r);for(var o=0;o<r.length;o++){var a=i;""!==r[o]&&(a+="="+encodeURIComponent(String(r[o]))),e.push(a)}}return this.c=e.join("&")};var Hu=!mu||9<=Number(_u);mt.prototype.ma=!0,mt.prototype.la=function(){return this.a},mt.prototype.toString=function(){return"Const{"+this.a+"}"};var Gu={};vt(""),yt.prototype.ma=!0,yt.prototype.la=function(){return this.a},yt.prototype.toString=function(){return"TrustedResourceUrl{"+this.a+"}"};var qu=/%{(\w+)}/g,Vu=/^(?:https:)?\/\/[0-9a-z.:[\]-]+\/|^\/[^\/\\]|^about:blank#/i,Ku={};Tt.prototype.ma=!0,Tt.prototype.la=function(){return this.a},Tt.prototype.toString=function(){return"SafeUrl{"+this.a+"}"};var Yu=/^(?:(?:https?|mailto|ftp):|[^:\/?#]*(?:[\/?#]|$))/i,Zu={};xt("about:blank"),St.prototype.ma=!0,St.prototype.la=function(){return this.a},St.prototype.toString=function(){return"SafeHtml{"+this.a+"}"};var Xu={};Ot("<!DOCTYPE html>"),Ot(""),Ot("
");var Qu={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},$u={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},Ju=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,ec=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,tc="Firefox",nc="Chrome",rc={Tc:"FirebaseCore-web",Vc:"FirebaseUI-web"};vn.prototype.get=function(){var e=Dl.navigator;return(e&&"boolean"===typeof e.onLine&&(ln()||"chrome-extension:"===un()||"undefined"!==typeof e.connection)?e.onLine:1)?this.b?this.c:this.a:Math.min(5e3,this.a)};var ic,oc={};try{var ac={};Object.defineProperty(ac,"abcd",{configurable:!0,enumerable:!0,value:1}),Object.defineProperty(ac,"abcd",{configurable:!0,enumerable:!0,value:2}),ic=2==ac.abcd}catch(e){ic=!1}var sc="EMAIL_SIGNIN",lc="email",uc="newEmail",cc="requestType",dc="email",fc="fromEmail",hc="data",pc="operation";p(Rn,Error),Rn.prototype.D=function(){return{code:this.code,message:this.message}},Rn.prototype.toJSON=function(){return this.D()};var mc="auth/",gc={"argument-error":"","app-not-authorized":"This app, identified by the domain where it's hosted, is not authorized to use Firebase Authentication with the provided API key. Review your key configuration in the Google API console.","app-not-installed":"The requested mobile application corresponding to the identifier (Android package name or iOS bundle ID) provided is not installed on this device.","captcha-check-failed":"The reCAPTCHA response token provided is either invalid, expired, already used or the domain associated with it does not match the list of whitelisted domains.","code-expired":"The SMS code has expired. Please re-send the verification code to try again.","cordova-not-ready":"Cordova framework is not ready.","cors-unsupported":"This browser is not supported.","credential-already-in-use":"This credential is already associated with a different user account.","custom-token-mismatch":"The custom token corresponds to a different audience.","requires-recent-login":"This operation is sensitive and requires recent authentication. Log in again before retrying this request.","dynamic-link-not-activated":"Please activate Dynamic Links in the Firebase Console and agree to the terms and conditions.","email-already-in-use":"The email address is already in use by another account.","expired-action-code":"The action code has expired. ","cancelled-popup-request":"This operation has been cancelled due to another conflicting popup being opened.","internal-error":"An internal error has occurred.","invalid-app-credential":"The phone verification request contains an invalid application verifier. The reCAPTCHA token response is either invalid or expired.","invalid-app-id":"The mobile app identifier is not registed for the current project.","invalid-user-token":"This user's credential isn't valid for this project. This can happen if the user's token has been tampered with, or if the user isn't for the project associated with this API key.","invalid-auth-event":"An internal error has occurred.","invalid-verification-code":"The SMS verification code used to create the phone auth credential is invalid. Please resend the verification code sms and be sure use the verification code provided by the user.","invalid-continue-uri":"The continue URL provided in the request is invalid.","invalid-cordova-configuration":"The following Cordova plugins must be installed to enable OAuth sign-in: cordova-plugin-buildinfo, cordova-universal-links-plugin, cordova-plugin-browsertab, cordova-plugin-inappbrowser and cordova-plugin-customurlscheme.","invalid-custom-token":"The custom token format is incorrect. Please check the documentation.","invalid-email":"The email address is badly formatted.","invalid-api-key":"Your API key is invalid, please check you have copied it correctly.","invalid-cert-hash":"The SHA-1 certificate hash provided is invalid.","invalid-credential":"The supplied auth credential is malformed or has expired.","invalid-persistence-type":"The specified persistence type is invalid. It can only be local, session or none.","invalid-message-payload":"The email template corresponding to this action contains invalid characters in its message. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-oauth-provider":"EmailAuthProvider is not supported for this operation. This operation only supports OAuth providers.","invalid-oauth-client-id":"The OAuth client ID provided is either invalid or does not match the specified API key.","unauthorized-domain":"This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.","invalid-action-code":"The action code is invalid. This can happen if the code is malformed, expired, or has already been used.","wrong-password":"The password is invalid or the user does not have a password.","invalid-phone-number":"The format of the phone number provided is incorrect. Please enter the phone number in a format that can be parsed into E.164 format. E.164 phone numbers are written in the format [+][country code][subscriber number including area code].","invalid-provider-id":"The specified provider ID is invalid.","invalid-recipient-email":"The email corresponding to this action failed to send as the provided recipient email address is invalid.","invalid-sender":"The email template corresponding to this action contains an invalid sender email or name. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-verification-id":"The verification ID used to create the phone auth credential is invalid.","missing-android-pkg-name":"An Android Package Name must be provided if the Android App is required to be installed.","auth-domain-config-required":"Be sure to include authDomain when calling firebase.initializeApp(), by following the instructions in the Firebase console.","missing-app-credential":"The phone verification request is missing an application verifier assertion. A reCAPTCHA response token needs to be provided.","missing-verification-code":"The phone auth credential was created with an empty SMS verification code.","missing-continue-uri":"A continue URL must be provided in the request.","missing-iframe-start":"An internal error has occurred.","missing-ios-bundle-id":"An iOS Bundle ID must be provided if an App Store ID is provided.","missing-phone-number":"To send verification codes, provide a phone number for the recipient.","missing-verification-id":"The phone auth credential was created with an empty verification ID.","app-deleted":"This instance of FirebaseApp has been deleted.","account-exists-with-different-credential":"An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.","network-request-failed":"A network error (such as timeout, interrupted connection or unreachable host) has occurred.","no-auth-event":"An internal error has occurred.","no-such-provider":"User was not linked to an account with the given provider.","null-user":"A null user object was provided as the argument for an operation which requires a non-null user object.","operation-not-allowed":"The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.","operation-not-supported-in-this-environment":'This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.',"popup-blocked":"Unable to establish a connection with the popup. It may have been blocked by the browser.","popup-closed-by-user":"The popup has been closed by the user before finalizing the operation.","provider-already-linked":"User can only be linked to one identity for the given provider.","quota-exceeded":"The project's quota for this operation has been exceeded.","redirect-cancelled-by-user":"The redirect operation has been cancelled by the user before finalizing.","redirect-operation-pending":"A redirect sign-in operation is already pending.",timeout:"The operation has timed out.","user-token-expired":"The user's credential is no longer valid. The user must sign in again.","too-many-requests":"We have blocked all requests from this device due to unusual activity. Try again later.","unauthorized-continue-uri":"The domain of the continue URL is not whitelisted. Please whitelist the domain in the Firebase console.","unsupported-persistence-type":"The current environment does not support the specified persistence type.","user-cancelled":"User did not grant your application the permissions it requested.","user-not-found":"There is no user record corresponding to this identifier. The user may have been deleted.","user-disabled":"The user account has been disabled by an administrator.","user-mismatch":"The supplied credentials do not correspond to the previously signed in user.","user-signed-out":"","weak-password":"The password must be 6 characters long or more.","web-storage-unsupported":"This browser is not supported or 3rd party cookies and data may be disabled."},vc="android",yc="handleCodeInApp",bc="iOS",wc="url",Ec="installApp",Tc="minimumVersion",_c="packageName",kc="bundleId",xc=null,Sc=null;Fn.prototype.f=function(){return this.b};var Cc="oauth_consumer_key oauth_nonce oauth_signature oauth_signature_method oauth_timestamp oauth_token oauth_version".split(" "),Oc=["client_id","response_type","scope","redirect_uri","state"],Ac={Uc:{Ma:"locale",Ba:500,Aa:600,Na:"facebook.com",gb:Oc},Wc:{Ma:null,Ba:500,Aa:620,Na:"github.com",gb:Oc},Xc:{Ma:"hl",Ba:515,Aa:680,Na:"google.com",gb:Oc},cd:{Ma:"lang",Ba:485,Aa:705,Na:"twitter.com",gb:Cc}},Pc="idToken",Ic="providerId";p(Vn,qn),p(Kn,Vn),p(Yn,Vn),p(Zn,Vn),p(Xn,Vn),er.prototype.ya=function(e){return ji(e,tr(this))},er.prototype.c=function(e,t){var n=tr(this);return n.idToken=t,Wi(e,n)},er.prototype.f=function(e,t){return Jn(Bi(e,tr(this)),t)},er.prototype.D=function(){var e={providerId:this.providerId,signInMethod:this.signInMethod};return this.idToken&&(e.oauthIdToken=this.idToken),this.accessToken&&(e.oauthAccessToken=this.accessToken),this.secret&&(e.oauthTokenSecret=this.secret),e},nr.prototype.Da=function(e){return this.xb=B(e),this},p(rr,nr),rr.prototype.ta=function(e){return C(this.a,e)||this.a.push(e),this},rr.prototype.Db=function(){return I(this.a)},rr.prototype.credential=function(e,t){if(!e&&!t)throw new Rn("argument-error","credential failed: must provide the ID token and/or the access token.");return new er(this.providerId,{idToken:e||null,accessToken:t||null},this.providerId)},p(ir,rr),xn(ir,"PROVIDER_ID","facebook.com"),xn(ir,"FACEBOOK_SIGN_IN_METHOD","facebook.com"),p(ar,rr),xn(ar,"PROVIDER_ID","github.com"),xn(ar,"GITHUB_SIGN_IN_METHOD","github.com"),p(lr,rr),xn(lr,"PROVIDER_ID","google.com"),xn(lr,"GOOGLE_SIGN_IN_METHOD","google.com"),p(cr,nr),xn(cr,"PROVIDER_ID","twitter.com"),xn(cr,"TWITTER_SIGN_IN_METHOD","twitter.com"),fr.prototype.ya=function(e){return this.signInMethod==hr.EMAIL_LINK_SIGN_IN_METHOD?zi(e,dd,{email:this.a,oobCode:this.b}):zi(e,Od,{email:this.a,password:this.b})},fr.prototype.c=function(e,t){return this.signInMethod==hr.EMAIL_LINK_SIGN_IN_METHOD?zi(e,fd,{idToken:t,email:this.a,oobCode:this.b}):zi(e,Td,{idToken:t,email:this.a,password:this.b})},fr.prototype.f=function(e,t){return Jn(this.ya(e),t)},fr.prototype.D=function(){return{email:this.a,password:this.b,signInMethod:this.signInMethod}},Sn(hr,{PROVIDER_ID:"password"}),Sn(hr,{EMAIL_LINK_SIGN_IN_METHOD:"emailLink"}),Sn(hr,{EMAIL_PASSWORD_SIGN_IN_METHOD:"password"}),gr.prototype.ya=function(e){return e.Ta(vr(this))},gr.prototype.c=function(e,t){var n=vr(this);return n.idToken=t,zi(e,Pd,n)},gr.prototype.f=function(e,t){var n=vr(this);return n.operation="REAUTH",e=zi(e,Id,n),Jn(e,t)},gr.prototype.D=function(){var e={providerId:"phone"};return this.a.Sa&&(e.verificationId=this.a.Sa),this.a.Ra&&(e.verificationCode=this.a.Ra),this.a.Fa&&(e.temporaryProof=this.a.Fa),this.a.$&&(e.phoneNumber=this.a.$),e},yr.prototype.Ta=function(t,n){var r=this.a.b;return Z(n.verify()).then(function(i){if(!e(i))throw new Rn("argument-error","An implementation of firebase.auth.ApplicationVerifier.prototype.verify() must return a firebase.Promise that resolves with a string.");switch(n.type){case"recaptcha":return Ni(r,{phoneNumber:t,recaptchaToken:i}).then(function(e){return"function"===typeof n.reset&&n.reset(),e},function(e){throw"function"===typeof n.reset&&n.reset(),e});default:throw new Rn("argument-error",'Only firebase.auth.ApplicationVerifiers with type="recaptcha" are currently supported.')}})},Sn(yr,{PROVIDER_ID:"phone"}),Sn(yr,{PHONE_SIGN_IN_METHOD:"phone"}),Tr.prototype.D=function(){return{type:this.b,eventId:this.c,urlResponse:this.f,sessionId:this.g,error:this.a&&this.a.D()}};var Rc=null;kr.prototype.subscribe=function(e){var t=this;this.a.push(e),this.b||(this.b=function(e){for(var n=0;n<t.a.length;n++)t.a[n](e)},"function"===typeof(e=on("universalLinks.subscribe",Dl))&&e(null,this.b))},kr.prototype.unsubscribe=function(e){A(this.a,function(t){return t==e})},p(xr,Rn),p(Sr,Rn),Sr.prototype.D=function(){var e={code:this.code,message:this.message};this.email&&(e.email=this.email),this.phoneNumber&&(e.phoneNumber=this.phoneNumber);var t=this.credential&&this.credential.D();return t&&F(e,t),e},Sr.prototype.toJSON=function(){return this.D()};var Nc=/^[+a-zA-Z0-9_.!#$%&'*\/=?^`{|}~-]+@([a-zA-Z0-9-]+\.)+[a-zA-Z0-9]{2,63}$/;Or.prototype.c=null;var Mc;p(Pr,Or),Pr.prototype.a=function(){var e=Ir(this);return e?new ActiveXObject(e):new XMLHttpRequest},Pr.prototype.b=function(){var e={};return Ir(this)&&(e[0]=!0,e[1]=!0),e},Mc=new Pr,p(Rr,Or),Rr.prototype.a=function(){var e=new XMLHttpRequest;if("withCredentials"in e)return e;if("undefined"!=typeof XDomainRequest)return new Nr;throw Error("Unsupported browser")},Rr.prototype.b=function(){return{}},Nl=Nr.prototype,Nl.open=function(e,t,n){if(null!=n&&!n)throw Error("Only async requests are supported.");this.a.open(e,t)},Nl.send=function(e){if(e){if("string"!=typeof e)throw Error("Only string data is supported");this.a.send(e)}else this.a.send()},Nl.abort=function(){this.a.abort()},Nl.setRequestHeader=function(){},Nl.getResponseHeader=function(e){return"content-type"==e.toLowerCase()?this.a.contentType:""},Nl.dc=function(){this.status=200,this.responseText=this.a.responseText,Mr(this,4)},Nl.Eb=function(){this.status=500,this.responseText="",Mr(this,4)},Nl.hc=function(){this.Eb()},Nl.ec=function(){this.status=200,Mr(this,1)},Nl.getAllResponseHeaders=function(){return"content-type: "+this.a.contentType},Dr.prototype.a=null;var Dc=0;Dr.prototype.reset=function(e,t,n,r,i){"number"==typeof i||Dc++,r||Wl(),delete this.a},jr.prototype.toString=function(){return this.name};var Lc=new jr("SEVERE",1e3),jc=new jr("WARNING",900),Wc=new jr("CONFIG",700),Bc=new jr("FINE",500);Lr.prototype.log=function(e,t,n){if(e.value>=Wr(this).value)for(l(t)&&(t=t()),e=new Dr(e,String(t),this.f),n&&(e.a=n),n=this;n;)n=n.a};var Fc={},zc=null;p(zr,Or),zr.prototype.a=function(){return new Ur(this.f)},zr.prototype.b=function(e){return function(){return e}}({}),p(Ur,je);var Uc=0;Nl=Ur.prototype,Nl.open=function(e,t){if(this.readyState!=Uc)throw this.abort(),Error("Error reopening a connection");this.h=e,this.c=t,this.readyState=1,Hr(this)},Nl.send=function(e){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.a=!0;var t={headers:this.g,method:this.h,credentials:void 0,cache:void 0};e&&(t.body=e),this.i.fetch(new Request(this.c,t)).then(this.gc.bind(this),this.Fb.bind(this))},Nl.abort=function(){this.responseText="",this.g=new Headers,this.status=0,1<=this.readyState&&this.a&&4!=this.readyState&&(this.readyState=4,this.a=!1,Hr(this)),this.readyState=Uc},Nl.gc=function(e){this.a&&(this.b||(this.b=e.headers,this.readyState=2,Hr(this)),this.a&&(this.readyState=3,Hr(this),this.a&&e.text().then(this.fc.bind(this,e),this.Fb.bind(this))))},Nl.fc=function(e,t){this.a&&(this.status=e.status,this.statusText=e.statusText,this.responseText=t,this.readyState=4,Hr(this))},Nl.Fb=function(e){var t=this.f;t&&t.log(jc,"Failed to fetch url "+this.c,e instanceof Error?e:Error(e)),this.a&&(this.readyState=4,Hr(this))},Nl.setRequestHeader=function(e,t){this.g.append(e,t)},Nl.getResponseHeader=function(e){return this.b?this.b.get(e.toLowerCase())||"":((e=this.f)&&e.log(jc,"Attempting to get response header but no headers have been received for url: "+this.c,void 0),"")},Nl.getAllResponseHeaders=function(){if(!this.b){var e=this.f;return e&&e.log(jc,"Attempting to get all response headers but no headers have been received for url: "+this.c,void 0),""}e=[];for(var t=this.b.entries(),n=t.next();!n.done;)n=n.value,e.push(n[0]+": "+n[1]),n=t.next();return e.join("\r\n")},p(Gr,je);var Hc="";Gr.prototype.b=Br("goog.net.XhrIo");var Gc=/^https?$/i,qc=["POST","PUT"];Nl=Gr.prototype,Nl.Ga=function(){"undefined"!=typeof Ml&&this.a&&(this.h="Timed out after "+this.g+"ms, aborting",Fr(this.b,ni(this,this.h)),this.dispatchEvent("timeout"),this.abort(8))},Nl.abort=function(){this.a&&this.c&&(Fr(this.b,ni(this,"Aborting")),this.c=!1,this.f=!0,this.a.abort(),this.f=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Qr(this))},Nl.ua=function(){this.a&&(this.c&&(this.c=!1,this.f=!0,this.a.abort(),this.f=!1),Qr(this,!0)),Gr.nb.ua.call(this)},Nl.Ib=function(){this.pa||(this.I||this.i||this.f?Xr(this):this.vc())},Nl.vc=function(){Xr(this)},Nl.getResponse=function(){try{if(!this.a)return null;if("response"in this.a)return this.a.response;switch(this.o){case Hc:case"text":return this.a.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in this.a)return this.a.mozResponseArrayBuffer}var e=this.b;return e&&e.log(Lc,"Response type "+this.o+" is not supported on this browser",void 0),null}catch(e){return Fr(this.b,"Can not get response: "+e.message),null}},ri.prototype.cancel=function(e){if(this.a)this.c instanceof ri&&this.c.cancel();else{if(this.b){var t=this.b;delete this.b,e?t.cancel(e):0>=--t.l&&t.cancel()}this.v?this.v.call(this.u,this):this.m=!0,this.a||(e=new di(this),oi(this),ii(this,!1,e))}},ri.prototype.o=function(e,t){this.i=!1,ii(this,e,t)},ri.prototype.C=function(){oi(this),ii(this,!0,null)},ri.prototype.then=function(e,t,n){var r,i,o=new V(function(e,t){r=e,i=t});return si(this,r,function(e){e instanceof di?o.cancel():i(e)}),o.then(e,t,n)},m(ri),p(ci,v),ci.prototype.message="Deferred has already fired",ci.prototype.name="AlreadyCalledError",p(di,v),di.prototype.message="Deferred was canceled",di.prototype.name="CanceledError",fi.prototype.c=function(){throw delete Vc[this.a],this.b};var Vc={},Kc=0,Yc=1;p(vi,v),p(yi,Or),yi.prototype.a=function(){return new this.f},yi.prototype.b=function(){return{}};var Zc,Xc="idToken",Qc=new vn(3e4,6e4),$c={"Content-Type":"application/x-www-form-urlencoded"},Jc=new vn(3e4,6e4),ed={"Content-Type":"application/json"};bi.prototype.o=function(e,t,n,r,i,o){if(Qt()&&("undefined"===typeof Dl.fetch||"undefined"===typeof Dl.Headers||"undefined"===typeof Dl.Request))throw new Rn("operation-not-supported-in-this-environment","fetch, Headers and Request native APIs or equivalent Polyfills must be available to support HTTP requests from a Worker environment.");var a=new Gr(this.c);if(o){a.g=Math.max(0,o);var s=setTimeout(function(){a.dispatchEvent("timeout")},o)}We(a,"complete",function(){s&&clearTimeout(s);var e=null;try{e=JSON.parse(ti(this))||null}catch(t){e=null}t&&t(e)}),Be(a,"ready",function(){s&&clearTimeout(s),he(this)}),Be(a,"timeout",function(){s&&clearTimeout(s),he(this),t&&t(null)}),qr(a,e,n,r,i)};var td=vt("https://apis.google.com/js/client.js?onload=%{onload}"),nd="__fcb"+Math.floor(1e6*Math.random()).toString();bi.prototype.m=function(e,t,n,r,i){var o=this;Zc.then(function(){window.gapi.client.setApiKey(o.b);var a=window.gapi.auth.getToken();window.gapi.auth.setToken(null),window.gapi.client.request({path:e,method:n,body:r,headers:i,authType:"none",callback:function(e){window.gapi.auth.setToken(a),t&&t(e)}})}).s(function(e){t&&t({error:{message:e&&e.message||"CORS_UNSUPPORTED"}})})},bi.prototype.Pa=function(){return zi(this,_d,{})},bi.prototype.ob=function(e,t){return zi(this,Ed,{idToken:e,email:t})},bi.prototype.pb=function(e,t){return zi(this,Td,{idToken:e,password:t})};var rd={displayName:"DISPLAY_NAME",photoUrl:"PHOTO_URL"};Nl=bi.prototype,Nl.qb=function(e,t){var n={idToken:e},r=[];return j(rd,function(e,i){var o=t[i];null===o?r.push(e):i in t&&(n[i]=o)}),r.length&&(n.deleteAttribute=r),zi(this,Ed,n)},Nl.jb=function(e,t){return e={requestType:"PASSWORD_RESET",email:e},F(e,t),zi(this,gd,e)},Nl.kb=function(e,t){return e={requestType:"EMAIL_SIGNIN",email:e},F(e,t),zi(this,pd,e)},Nl.ib=function(e,t){return e={requestType:"VERIFY_EMAIL",idToken:e},F(e,t),zi(this,md,e)},Nl.Ta=function(e){return zi(this,Ad,e)},Nl.Ya=function(e,t){return zi(this,bd,{oobCode:e,newPassword:t})},Nl.Ja=function(e){return zi(this,ad,{oobCode:e})},Nl.Va=function(e){return zi(this,od,{oobCode:e})};var id,od={endpoint:"setAccountInfo",B:Fi,da:"email"},ad={endpoint:"resetPassword",B:Fi,J:function(e){var t=e.requestType;if(!t||!e.email&&"EMAIL_SIGNIN"!=t)throw new Rn("internal-error")}},sd={endpoint:"signupNewUser",B:function(e){if(Si(e),!e.password)throw new Rn("weak-password")},J:Ii,R:!0},ld={endpoint:"createAuthUri"},ud={endpoint:"deleteAccount",T:["idToken"]},cd={endpoint:"setAccountInfo",T:["idToken","deleteProvider"],B:function(e){if(!a(e.deleteProvider))throw new Rn("internal-error")}},dd={endpoint:"emailLinkSignin",T:["email","oobCode"],B:Si,J:Ii,R:!0},fd={endpoint:"emailLinkSignin",T:["idToken","email","oobCode"],B:Si,J:Ii,R:!0},hd={endpoint:"getAccountInfo"},pd={endpoint:"getOobConfirmationCode",T:["requestType"],B:function(e){if("EMAIL_SIGNIN"!=e.requestType)throw new Rn("internal-error");Si(e)},da:"email"},md={endpoint:"getOobConfirmationCode",T:["idToken","requestType"],B:function(e){if("VERIFY_EMAIL"!=e.requestType)throw new Rn("internal-error")},da:"email"},gd={endpoint:"getOobConfirmationCode",T:["requestType"],B:function(e){if("PASSWORD_RESET"!=e.requestType)throw new Rn("internal-error");Si(e)},da:"email"},vd={tb:!0,endpoint:"getProjectConfig",Hb:"GET"},yd={tb:!0,endpoint:"getRecaptchaParam",Hb:"GET",J:function(e){if(!e.recaptchaSiteKey)throw new Rn("internal-error")}},bd={endpoint:"resetPassword",B:Fi,da:"email"},wd={endpoint:"sendVerificationCode",T:["phoneNumber","recaptchaToken"],da:"sessionInfo"},Ed={endpoint:"setAccountInfo",T:["idToken"],B:Ci,R:!0},Td={endpoint:"setAccountInfo",T:["idToken"],B:function(e){if(Ci(e),!e.password)throw new Rn("weak-password")},J:Ii,R:!0},_d={endpoint:"signupNewUser",J:Ii,R:!0},kd={endpoint:"verifyAssertion",B:Di,J:Li,R:!0},xd={endpoint:"verifyAssertion",B:Di,J:function(e){if(e.errorMessage&&"USER_NOT_FOUND"==e.errorMessage)throw new Rn("user-not-found");if(e.errorMessage)throw Ui(e.errorMessage);if(!e[Xc])throw new Rn("internal-error")},R:!0},Sd={endpoint:"verifyAssertion",B:function(e){if(Di(e),!e.idToken)throw new Rn("internal-error")},J:Li,R:!0},Cd={endpoint:"verifyCustomToken",B:function(e){if(!e.token)throw new Rn("invalid-custom-token")},J:Ii,R:!0},Od={endpoint:"verifyPassword",B:function(e){if(Si(e),!e.password)throw new Rn("wrong-password")},J:Ii,R:!0},Ad={endpoint:"verifyPhoneNumber",B:Ri,J:Ii},Pd={endpoint:"verifyPhoneNumber",B:function(e){if(!e.idToken)throw new Rn("internal-error");Ri(e)},J:function(e){if(e.temporaryProof)throw e.code="credential-already-in-use",Cr(e);Ii(e)}},Id={Wb:{USER_NOT_FOUND:"user-not-found"},endpoint:"verifyPhoneNumber",B:Ri,J:Ii},Rd={Zc:{$a:"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",hb:"https://securetoken.googleapis.com/v1/token",id:"p"},ad:{$a:"https://staging-www.sandbox.googleapis.com/identitytoolkit/v3/relyingparty/",hb:"https://staging-securetoken.sandbox.googleapis.com/v1/token",id:"s"},bd:{$a:"https://www-googleapis-test.sandbox.google.com/identitytoolkit/v3/relyingparty/",hb:"https://test-securetoken.sandbox.googleapis.com/v1/token",id:"t"}};id=Gi("__EID__")?"__EID__":void 0;var Nd=vt("https://apis.google.com/js/api.js?onload=%{onload}"),Md=new vn(3e4,6e4),Dd=new vn(5e3,15e3),Ld=null;Xi.prototype.toString=function(){return this.f?et(this.a,"v",this.f):ct(this.a.a,"v"),this.b?et(this.a,"eid",this.b):ct(this.a.a,"eid"),this.c.length?et(this.a,"fw",this.c.join(",")):ct(this.a.a,"fw"),this.a.toString()},Qi.prototype.toString=function(){var e=rt(this.o,"/__/auth/handler");if(et(e,"apiKey",this.m),et(e,"appName",this.c),et(e,"authType",this.l),this.a.isOAuthProvider){var t=this.a;try{var n=r.a.app(this.c).auth().ea()}catch(e){n=null}t.Za=n,et(e,"providerId",this.a.providerId),t=this.a,n=fn(t.xb);for(var i in n)n[i]=n[i].toString();i=t.Cc,n=B(n);for(var o=0;o<i.length;o++){var a=i[o];a in n&&delete n[a]}t.bb&&t.Za&&!n[t.bb]&&(n[t.bb]=t.Za),W(n)||et(e,"customParameters",dn(n))}if("function"===typeof this.a.Db&&(t=this.a.Db(),t.length&&et(e,"scopes",t.join(","))),this.i?et(e,"redirectUrl",this.i):ct(e.a,"redirectUrl"),this.g?et(e,"eventId",this.g):ct(e.a,"eventId"),this.h?et(e,"v",this.h):ct(e.a,"v"),this.b)for(var s in this.b)this.b.hasOwnProperty(s)&&!tt(e,s)&&et(e,s,this.b[s]);return this.f?et(e,"eid",this.f):ct(e.a,"eid"),s=$i(this.c),s.length&&et(e,"fw",s.join(",")),e.toString()},Nl=Ji.prototype,Nl.Ea=function(e,t,n){var r=new Rn("popup-closed-by-user"),i=new Rn("web-storage-unsupported"),o=this,a=!1;return this.ga().then(function(){oo(o).then(function(n){n||(e&&Gt(e),t(i),a=!0)})}).s(function(){}).then(function(){if(!a)return Vt(e)}).then(function(){if(!a)return Ue(n).then(function(){t(r)})})},Nl.Lb=function(){var e=rn();return!cn(e)&&!mn(e)},Nl.Gb=function(){return!1},Nl.Bb=function(e,t,n,r,i,o,a){if(!e)return X(new Rn("popup-blocked"));if(a&&!cn())return this.ga().s(function(t){Gt(e),i(t)}),r(),Z();this.a||(this.a=eo(no(this)));var s=this;return this.a.then(function(){var t=s.ga().s(function(t){throw Gt(e),i(t),t});return r(),t}).then(function(){if(Er(n),!a){Ft(ro(s.m,s.f,s.b,t,n,null,o,s.c,void 0,s.h),e)}}).s(function(e){throw"auth/network-request-failed"==e.code&&(s.a=null),e})},Nl.Ca=function(e,t,n){this.a||(this.a=eo(no(this)));var r=this;return this.a.then(function(){Er(t),Ft(ro(r.m,r.f,r.b,e,t,Bt(),n,r.c,void 0,r.h))}).s(function(e){throw"auth/network-request-failed"==e.code&&(r.a=null),e})},Nl.ga=function(){var e=this;return to(this).then(function(){return e.i.eb}).s(function(){throw e.a=null,new Rn("network-request-failed")})},Nl.Pb=function(){return!0},Nl.va=function(e){this.g.push(e)},Nl.Ka=function(e){A(this.g,function(t){return t==e})},Nl=ao.prototype,Nl.get=function(e){return Z(this.a.getItem(e)).then(function(e){return e&&hn(e)})},Nl.set=function(e,t){return Z(this.a.setItem(e,dn(t)))},Nl.P=function(e){return Z(this.a.removeItem(e))},Nl.Y=function(){},Nl.ca=function(){};var jd=[];so.prototype.f=function(e){var t=e.data.eventType,n=e.data.eventId,r=this.a[t];if(r&&0<r.length){e.ports[0].postMessage({status:"ack",eventId:n,eventType:t,response:null});var i=[];Ul(r,function(t){i.push(Z().then(function(){return t(e.origin,e.data.data)}))}),J(i).then(function(r){var i=[];Ul(r,function(e){i.push({fulfilled:e.Cb,value:e.value,reason:e.reason?e.reason.message:void 0})}),Ul(i,function(e){for(var t in e)"undefined"===typeof e[t]&&delete e[t]}),e.ports[0].postMessage({status:"done",eventId:n,eventType:t,response:i})})}},so.prototype.subscribe=function(e,t){W(this.a)&&this.b.addEventListener("message",this.c),"undefined"===typeof this.a[e]&&(this.a[e]=[]),this.a[e].push(t)},so.prototype.unsubscribe=function(e,t){"undefined"!==typeof this.a[e]&&t?(A(this.a[e],function(e){return e==t}),0==this.a[e].length&&delete this.a[e]):t||delete this.a[e],W(this.a)&&this.b.removeEventListener("message",this.c)},uo.prototype.postMessage=function(e,t){this.a.postMessage(e,t)},co.prototype.close=function(){for(;0<this.a.length;)ho(this,this.a[0]);this.b=!0};var Wd;Nl=po.prototype,Nl.set=function(e,t){var n,r=!1,i=this;return vo(this).then(function(t){return n=t,t=bo(wo(n,!0)),Eo(t.get(e))}).then(function(o){var a=bo(wo(n,!0));return o?(o.value=t,Eo(a.put(o))):(i.b++,r=!0,o={},o.fbase_key=e,o.value=t,Eo(a.add(o)))}).then(function(){return i.c[e]=t,To(i,e)}).ia(function(){r&&i.b--})},Nl.get=function(e){return vo(this).then(function(t){return Eo(bo(wo(t,!1)).get(e))}).then(function(e){return e&&e.value})},Nl.P=function(e){var t=!1,n=this;return vo(this).then(function(r){return t=!0,n.b++,Eo(bo(wo(r,!0)).delete(e))}).then(function(){return delete n.c[e],To(n,e)}).ia(function(){t&&n.b--})},Nl.Y=function(e){0==this.a.length&&ko(this),this.a.push(e)},Nl.ca=function(e){A(this.a,function(t){return t==e}),0==this.a.length&&xo(this)},Nl=So.prototype,Nl.get=function(e){return this.b.then(function(t){return t.get(e)})},Nl.set=function(e,t){return this.b.then(function(n){return n.set(e,t)})},Nl.P=function(e){return this.b.then(function(t){return t.P(e)})},Nl.Y=function(e){this.a.push(e)},Nl.ca=function(e){A(this.a,function(t){return t==e})},Nl=Co.prototype,Nl.get=function(e){return Z(this.a[e])},Nl.set=function(e,t){return this.a[e]=t,Z()},Nl.P=function(e){return delete this.a[e],Z()},Nl.Y=function(){},Nl.ca=function(){},Nl=Oo.prototype,Nl.get=function(e){var t=this;return Z().then(function(){return hn(t.a.getItem(e))})},Nl.set=function(e,t){var n=this;return Z().then(function(){var r=dn(t);null===r?n.P(e):n.a.setItem(e,r)})},Nl.P=function(e){var t=this;return Z().then(function(){t.a.removeItem(e)})},Nl.Y=function(e){Dl.window&&xe(Dl.window,"storage",e)},Nl.ca=function(e){Dl.window&&Ae(Dl.window,"storage",e)},Nl=Io.prototype,Nl.get=function(){return Z(null)},Nl.set=function(){return Z()},Nl.P=function(){return Z()},Nl.Y=function(){},Nl.ca=function(){},Nl=Ro.prototype,Nl.get=function(e){var t=this;return Z().then(function(){return hn(t.a.getItem(e))})},Nl.set=function(e,t){var n=this;return Z().then(function(){var r=dn(t);null===r?n.P(e):n.a.setItem(e,r)})},Nl.P=function(e){var t=this;return Z().then(function(){t.a.removeItem(e)})},Nl.Y=function(){},Nl.ca=function(){};var Bd,Fd,zd={A:Oo,Qa:Ro},Ud={A:Oo,Qa:Ro},Hd={A:ao,Qa:Io},Gd={A:Oo,Qa:Io},qd={Yc:"local",NONE:"none",$c:"session"};Nl=jo.prototype,Nl.get=function(e,t){return Bo(this,e.A).get(Fo(e,t))},Nl.set=function(e,t,n){var r=Fo(e,n),i=this,o=Bo(this,e.A);return o.set(r,t).then(function(){return o.get(r)}).then(function(t){"local"==e.A&&(i.b[r]=t)})},Nl.addListener=function(e,t,n){e=Fo(e,t),this.l&&(this.b[e]=Dl.localStorage.getItem(e)),W(this.a)&&(Bo(this,"local").Y(this.f),this.h||(Wt()||!En())&&Dl.indexedDB||!this.l||Ho(this)),this.a[e]||(this.a[e]=[]),this.a[e].push(n)},Nl.removeListener=function(e,t,n){e=Fo(e,t),this.a[e]&&(A(this.a[e],function(e){return e==n}),0==this.a[e].length&&delete this.a[e]),W(this.a)&&(Bo(this,"local").ca(this.f),Go(this))},Nl.Ob=function(e){if(e&&e.f){var t=e.a.key;if(null==t)for(var n in this.a){var r=this.b[n];"undefined"===typeof r&&(r=null);var i=Dl.localStorage.getItem(n);i!==r&&(this.b[n]=i,this.Wa(n))}else if(0==t.indexOf("firebase:")&&this.a[t]){if("undefined"!==typeof e.a.a?Bo(this,"local").ca(this.f):Go(this),this.o)if(n=Dl.localStorage.getItem(t),(r=e.a.newValue)!==n)null!==r?Dl.localStorage.setItem(t,r):Dl.localStorage.removeItem(t);else if(this.b[t]===r&&"undefined"===typeof e.a.a)return;var o=this;n=function(){"undefined"===typeof e.a.a&&o.b[t]===Dl.localStorage.getItem(t)||(o.b[t]=Dl.localStorage.getItem(t),o.Wa(t))},mu&&_u&&10==_u&&Dl.localStorage.getItem(t)!==e.a.newValue&&e.a.newValue!==e.a.oldValue?setTimeout(n,10):n()}}else Ul(e,f(this.Wa,this))},Nl.Wa=function(e){this.a[e]&&Ul(this.a[e],function(e){e()})};var Vd,Kd={name:"authEvent",A:"local"};p(Zo,Yo);for(var Yd=64,Zd=Yd-1,Xd=[],Qd=0;Qd<Zd;Qd++)Xd[Qd]=0;var $d=P(128,Xd);Zo.prototype.reset=function(){this.g=this.c=0,this.a=Dl.Int32Array?new Int32Array(this.h):I(this.h)};var Jd=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];p($o,Zo);var ef=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];Nl=Jo.prototype,Nl.ga=function(){return this.za?this.za:this.za=Yt().then(function(){if("function"!==typeof on("universalLinks.subscribe",Dl))throw ea("cordova-universal-links-plugin is not installed");if("undefined"===typeof on("BuildInfo.packageName",Dl))throw ea("cordova-plugin-buildinfo is not installed");if("function"!==typeof on("cordova.plugins.browsertab.openUrl",Dl))throw ea("cordova-plugin-browsertab is not installed");if("function"!==typeof on("cordova.InAppBrowser.open",Dl))throw ea("cordova-plugin-inappbrowser is not installed")},function(){throw new Rn("cordova-not-ready")})},Nl.Ea=function(e,t){return t(new Rn("operation-not-supported-in-this-environment")),Z()},Nl.Bb=function(){return X(new Rn("operation-not-supported-in-this-environment"))},Nl.Pb=function(){return!1},Nl.Lb=function(){return!0},Nl.Gb=function(){return!0},Nl.Ca=function(e,t,n){if(this.c)return X(new Rn("redirect-operation-pending"));var r=this,i=Dl.document,o=null,a=null,s=null,l=null;return this.c=Z().then(function(){return Er(t),oa(r)}).then(function(){return ra(r,e,t,n)}).then(function(){return new V(function(e,t){a=function(){var t=on("cordova.plugins.browsertab.close",Dl);return e(),"function"===typeof t&&t(),r.a&&"function"===typeof r.a.close&&(r.a.close(),r.a=null),!1},r.va(a),s=function(){o||(o=Ue(2e3).then(function(){t(new Rn("redirect-cancelled-by-user"))}))},l=function(){yn()&&s()},i.addEventListener("resume",s,!1),rn().toLowerCase().match(/android/)||i.addEventListener("visibilitychange",l,!1)}).s(function(e){return aa(r).then(function(){throw e})})}).ia(function(){s&&i.removeEventListener("resume",s,!1),l&&i.removeEventListener("visibilitychange",l,!1),o&&o.cancel(),a&&r.Ka(a),r.c=null})},Nl.va=function(e){this.b.push(e),oa(this).s(function(t){"auth/invalid-cordova-configuration"===t.code&&(t=new Tr("unknown",null,null,null,new Rn("no-auth-event")),e(t))})},Nl.Ka=function(e){A(this.b,function(t){return t==e})};var tf={name:"pendingRedirect",A:"session"};Nl=fa.prototype,Nl.reset=function(){this.f=!1,this.a.Ka(this.i),this.a=ha(this.u,this.l,this.m)},Nl.Xa=function(){this.b.Xa()},Nl.subscribe=function(e){if(C(this.h,e)||this.h.push(e),!this.f){var t=this;da(this.g).then(function(e){e?ca(t.g).then(function(){pa(t).s(function(e){var n=new Tr("unknown",null,null,null,new Rn("operation-not-supported-in-this-environment"));va(e)&&t.ab(n)})}):ma(t)}).s(function(){ma(t)})}},Nl.unsubscribe=function(e){A(this.h,function(t){return t==e})},Nl.ab=function(e){if(!e)throw new Rn("invalid-auth-event");for(var t=!1,n=0;n<this.h.length;n++){var r=this.h[n];if(r.ub(e.b,e.c)){(t=this.c[e.b])&&t.h(e,r),t=!0;break}}return wa(this.b),t};var nf=new vn(2e3,1e4),rf=new vn(3e4,6e4);fa.prototype.fa=function(){return this.b.fa()},fa.prototype.Ca=function(e,t,n){var r,i=this;return ua(this.g).then(function(){return i.a.Ca(e,t,n).s(function(e){if(va(e))throw new Rn("operation-not-supported-in-this-environment");return r=e,ca(i.g).then(function(){throw r})}).then(function(){return i.a.Pb()?new V(function(){}):ca(i.g).then(function(){return i.fa()}).then(function(){}).s(function(){})})})},fa.prototype.Ea=function(e,t,n,r){return this.a.Ea(n,function(n){e.ha(t,null,n,r)},nf.get())};var of={};ba.prototype.reset=function(){this.b=null,this.a&&(this.a.cancel(),this.a=null)},ba.prototype.h=function(e,t){if(e){this.reset(),this.g=!0;var n=e.b,r=e.c,i=e.a&&"auth/web-storage-unsupported"==e.a.code,o=e.a&&"auth/operation-not-supported-in-this-environment"==e.a.code;this.i=!(!i&&!o),"unknown"!=n||i||o?e.a?(ka(this,!0,null,e.a),Z()):t.wa(n,r)?Ea(this,e,t):X(new Rn("invalid-auth-event")):(ka(this,!1,null,null),Z())}else X(new Rn("invalid-auth-event"))},ba.prototype.Xa=function(){this.g&&!this.i&&ka(this,!1,null,null)},ba.prototype.fa=function(){var e=this;return new V(function(t,n){e.b?e.b().then(t,n):(e.f.push(t),e.c.push(n),xa(e))})},Sa.prototype.h=function(e,t){if(e){var n=e.b,r=e.c;e.a?(t.ha(e.b,null,e.a,e.c),Z()):t.wa(n,r)?Ca(e,t):X(new Rn("invalid-auth-event"))}else X(new Rn("invalid-auth-event"))},Aa.prototype.confirm=function(e){return e=br(this.verificationId,e),this.a(e)},Ra.prototype.start=function(){this.a=this.c,Ma(this,!0)},Ra.prototype.stop=function(){this.b&&(this.b.cancel(),this.b=null)},Da.prototype.D=function(){return{apiKey:this.f.b,refreshToken:this.a,accessToken:this.b,expirationTime:this.c}},Da.prototype.getToken=function(e){return e=!!e,this.b&&!this.a?X(new Rn("user-token-expired")):e||!this.b||Wl()>this.c-3e4?this.a?Ba(this,{grant_type:"refresh_token",refresh_token:this.a}):Z(null):Z({accessToken:this.b,expirationTime:this.c,refreshToken:this.a})},Fa.prototype.D=function(){return{lastLoginAt:this.b,createdAt:this.a}},p(Ha,ye),p(Ga,je),Ga.prototype.oa=function(e){this.ka=e,wi(this.b,e)},Ga.prototype.ea=function(){return this.ka},Ga.prototype.xa=function(){return I(this.O)},Ga.prototype.Ha=function(){this.w.b&&(this.w.stop(),this.w.start())},xn(Ga.prototype,"providerId","firebase"),Nl=Ga.prototype,Nl.reload=function(){var e=this;return ws(this,is(this).then(function(){return cs(e).then(function(){return es(e)}).then(rs)}))},Nl.cc=function(e){return this.F(e).then(function(e){return new Ia(e)})},Nl.F=function(e){var t=this;return ws(this,is(this).then(function(){return t.h.getToken(e)}).then(function(e){if(!e)throw new Rn("internal-error");return e.accessToken!=t.qa&&($a(t,e.accessToken),t.dispatchEvent(new Ha("tokenChanged"))),ls(t,"refreshToken",e.refreshToken),e.accessToken}))},Nl.wc=function(e){if(!(e=e.users)||!e.length)throw new Rn("internal-error");e=e[0],ns(this,{uid:e.localId,displayName:e.displayName,photoURL:e.photoUrl,email:e.email,emailVerified:!!e.emailVerified,phoneNumber:e.phoneNumber,lastLoginAt:e.lastLoginAt,createdAt:e.createdAt});for(var t=hs(e),n=0;n<t.length;n++)as(this,t[n]);ls(this,"isAnonymous",!(this.email&&e.passwordHash)&&!(this.providerData&&this.providerData.length))},Nl.fb=function(e){var t=this,n=null;return ws(this,e.f(this.b,this.uid).then(function(e){return ds(t,e),n=ms(t,e,"reauthenticate"),t.i=null,t.reload()}).then(function(){return n}),!0)},Nl.xc=function(e){return kn("firebase.User.prototype.reauthenticateWithCredential is deprecated. Please use firebase.User.prototype.reauthenticateAndRetrieveDataWithCredential instead."),this.fb(e).then(function(){})},Nl.cb=function(e){var t=this,n=null;return ws(this,ps(this,e.providerId).then(function(){return t.F()}).then(function(n){return e.c(t.b,n)}).then(function(e){return n=ms(t,e,"link"),gs(t,e)}).then(function(){return n}))},Nl.oc=function(e){return kn("firebase.User.prototype.linkWithCredential is deprecated. Please use firebase.User.prototype.linkAndRetrieveDataWithCredential instead."),this.cb(e).then(function(e){return e.user})},Nl.pc=function(e,t){var n=this;return ws(this,ps(this,"phone").then(function(){return Pa(Ya(n),e,t,f(n.cb,n))}))},Nl.yc=function(e,t){var n=this;return ws(this,Z().then(function(){return Pa(Ya(n),e,t,f(n.fb,n))}),!0)},Nl.ob=function(e){var t=this;return ws(this,this.F().then(function(n){return t.b.ob(n,e)}).then(function(e){return ds(t,e),t.reload()}))},Nl.Qc=function(e){var t=this;return ws(this,this.F().then(function(n){return e.c(t.b,n)}).then(function(e){return ds(t,e),t.reload()}))},Nl.pb=function(e){var t=this;return ws(this,this.F().then(function(n){return t.b.pb(n,e)}).then(function(e){return ds(t,e),t.reload()}))},Nl.qb=function(e){if(void 0===e.displayName&&void 0===e.photoURL)return is(this);var t=this;return ws(this,this.F().then(function(n){return t.b.qb(n,{displayName:e.displayName,photoUrl:e.photoURL})}).then(function(e){return ds(t,e),ls(t,"displayName",e.displayName||null),ls(t,"photoURL",e.photoUrl||null),Ul(t.providerData,function(e){"password"===e.providerId&&(xn(e,"displayName",t.displayName),xn(e,"photoURL",t.photoURL))}),es(t)}).then(rs))},Nl.Oc=function(e){var t=this;return ws(this,cs(this).then(function(n){return C(os(t),e)?Mi(t.b,n,[e]).then(function(e){var n={};return Ul(e.providerUserInfo||[],function(e){n[e.providerId]=!0}),Ul(os(t),function(e){n[e]||ss(t,e)}),n[yr.PROVIDER_ID]||xn(t,"phoneNumber",null),es(t)}):es(t).then(function(){throw new Rn("no-such-provider")})}))},Nl.delete=function(){var e=this;return ws(this,this.F().then(function(t){return zi(e.b,ud,{idToken:t})}).then(function(){e.dispatchEvent(new Ha("userDeleted"))})).then(function(){for(var t=0;t<e.G.length;t++)e.G[t].cancel("app-deleted");qa(e,null),Ka(e,null),e.G=[],e.C=!0,Qa(e),xn(e,"refreshToken",null),e.a&&e.a.unsubscribe(e)})},Nl.ub=function(e,t){return!!("linkViaPopup"==e&&(this.g||null)==t&&this.f||"reauthViaPopup"==e&&(this.g||null)==t&&this.f||"linkViaRedirect"==e&&(this.aa||null)==t||"reauthViaRedirect"==e&&(this.aa||null)==t)},Nl.ha=function(e,t,n,r){"linkViaPopup"!=e&&"reauthViaPopup"!=e||r!=(this.g||null)||(n&&this.v?this.v(n):t&&!n&&this.f&&this.f(t),this.c&&(this.c.cancel(),this.c=null),delete this.f,delete this.v)},Nl.wa=function(e,t){return"linkViaPopup"==e&&t==(this.g||null)?f(this.zb,this):"reauthViaPopup"==e&&t==(this.g||null)?f(this.Ab,this):"linkViaRedirect"==e&&(this.aa||null)==t?f(this.zb,this):"reauthViaRedirect"==e&&(this.aa||null)==t?f(this.Ab,this):null},Nl.qc=function(e){var t=this;return vs(this,"linkViaPopup",e,function(){return ps(t,e.providerId).then(function(){return es(t)})},!1)},Nl.zc=function(e){return vs(this,"reauthViaPopup",e,function(){return Z()},!0)},Nl.rc=function(e){var t=this;return ys(this,"linkViaRedirect",e,function(){return ps(t,e.providerId)},!1)},Nl.Ac=function(e){return ys(this,"reauthViaRedirect",e,function(){return Z()},!0)},Nl.zb=function(e,t){var n=this;this.c&&(this.c.cancel(),this.c=null);var r=null;return ws(this,this.F().then(function(r){return Wi(n.b,{requestUri:e,sessionId:t,idToken:r})}).then(function(e){return r=ms(n,e,"link"),gs(n,e)}).then(function(){return r}))},Nl.Ab=function(e,t){var n=this;this.c&&(this.c.cancel(),this.c=null);var r=null;return ws(this,Z().then(function(){return Jn(Bi(n.b,{requestUri:e,sessionId:t}),n.uid)}).then(function(e){return r=ms(n,e,"reauthenticate"),ds(n,e),n.i=null,n.reload()}).then(function(){return r}),!0)},Nl.ib=function(e){var t=this,n=null;return ws(this,this.F().then(function(t){return n=t,"undefined"===typeof e||W(e)?{}:Dn(new Mn(e))}).then(function(e){return t.b.ib(n,e)}).then(function(e){if(t.email!=e)return t.reload()}).then(function(){}))},Nl.toJSON=function(){return this.D()},Nl.D=function(){var e={uid:this.uid,displayName:this.displayName,photoURL:this.photoURL,email:this.email,emailVerified:this.emailVerified,phoneNumber:this.phoneNumber,isAnonymous:this.isAnonymous,providerData:[],apiKey:this.m,appName:this.o,authDomain:this.u,stsTokenManager:this.h.D(),redirectEventId:this.aa||null};return this.metadata&&F(e,this.metadata.D()),Ul(this.providerData,function(t){e.providerData.push(On(t))}),e};var af={name:"redirectUser",A:"session"};Os.prototype.g=function(){var e=this,t=Is("local");Ls(this,function(){return Z().then(function(){return e.c&&"local"!=e.c.A?e.b.get(t,e.a):null}).then(function(n){if(n)return As(e,"local").then(function(){e.c=t})})})};var sf={name:"persistence",A:"session"};Os.prototype.lb=function(e){var t=null,n=this;return Lo(e),Ls(this,function(){return e!=n.c.A?n.b.get(n.c,n.a).then(function(r){return t=r,As(n,e)}).then(function(){if(n.c=Is(e),t)return n.b.set(n.c,t,n.a)}):Z()})},p(js,je),p(Ws,ye),p(Bs,ye),Nl=js.prototype,Nl.lb=function(e){return e=this.h.lb(e),el(this,e)},Nl.oa=function(e){this.W===e||this.m||(this.W=e,wi(this.b,this.W),this.dispatchEvent(new Ws(this.ea())))},Nl.ea=function(){return this.W},Nl.Rc=function(){var e=Dl.navigator;this.oa(e?e.languages&&e.languages[0]||e.language||e.userLanguage||null:null)},Nl.sc=function(e){this.G.push(e),Ei(this.b,r.a.SDK_VERSION?nn(r.a.SDK_VERSION,this.G):null),this.dispatchEvent(new Bs(this.G))},Nl.xa=function(){return I(this.G)},Nl.toJSON=function(){return{apiKey:Zs(this).options.apiKey,authDomain:Zs(this).options.authDomain,appName:Zs(this).name,currentUser:Xs(this)&&Xs(this).D()}},Nl.ub=function(e,t){switch(e){case"unknown":case"signInViaRedirect":return!0;case"signInViaPopup":return this.g==t&&!!this.f;default:return!1}},Nl.ha=function(e,t,n,r){"signInViaPopup"==e&&this.g==r&&(n&&this.v?this.v(n):t&&!n&&this.f&&this.f(t),this.c&&(this.c.cancel(),this.c=null),delete this.f,delete this.v)},Nl.wa=function(e,t){return"signInViaRedirect"==e||"signInViaPopup"==e&&this.g==t&&this.f?f(this.$b,this):null},Nl.$b=function(e,t){var n=this;e={requestUri:e,sessionId:t},this.c&&(this.c.cancel(),this.c=null);var r=null,i=null,o=ji(n.b,e).then(function(e){return r=wr(e),i=Gn(e),e});return e=n.V.then(function(){return o}).then(function(e){return Hs(n,e)}).then(function(){return Cn({user:Xs(n),credential:r,additionalUserInfo:i,operationType:"signIn"})}),el(this,e)},Nl.Jc=function(e){if(!sn())return X(new Rn("operation-not-supported-in-this-environment"));var t=this,n=Hn(e.providerId),i=pn(),o=null;(!cn()||Xt())&&Zs(this).options.authDomain&&e.isOAuthProvider&&(o=ro(Zs(this).options.authDomain,Zs(this).options.apiKey,Zs(this).name,"signInViaPopup",e,null,i,r.a.SDK_VERSION||null));var a=qt(o,n&&n.Ba,n&&n.Aa);return n=zs(this).then(function(t){return ga(t,a,"signInViaPopup",e,i,!!o)}).then(function(){return new V(function(e,n){t.ha("signInViaPopup",null,new Rn("cancelled-popup-request"),t.g),t.f=e,t.v=n,t.g=i,t.c=t.a.Ea(t,"signInViaPopup",a,i)})}).then(function(e){return a&&Gt(a),e?Cn(e):null}).s(function(e){throw a&&Gt(a),e}),el(this,n)},Nl.Kc=function(e){if(!sn())return X(new Rn("operation-not-supported-in-this-environment"));var t=this;return el(this,zs(this).then(function(){return Rs(t.h)}).then(function(){return t.a.Ca("signInViaRedirect",e)}))},Nl.fa=function(){if(!sn())return X(new Rn("operation-not-supported-in-this-environment"));var e=this;return el(this,zs(this).then(function(){return e.a.fa()}).then(function(e){return e?Cn(e):null}))},Nl.Pc=function(e){if(!e)return X(new Rn("null-user"));var t=this,n={};n.apiKey=Zs(this).options.apiKey,n.authDomain=Zs(this).options.authDomain,n.appName=Zs(this).name;var r=ks(e,n,t.w,t.xa());return el(this,this.i.then(function(){if(Zs(t).options.apiKey!=e.m)return r.reload()}).then(function(){return Xs(t)&&e.uid==Xs(t).uid?(us(Xs(t),e),t.Z(e)):(Gs(t,r),ts(r),t.Z(r))}).then(function(){$s(t)}))},Nl.mb=function(){var e=this;return el(this,this.i.then(function(){return Xs(e)?(Gs(e,null),Ms(e.h).then(function(){$s(e)})):Z()}))},Nl.Lc=function(){var e=this;return Ds(this.h,Zs(this).options.authDomain).then(function(t){if(!e.m){var n;if(n=Xs(e)&&t){n=Xs(e).uid;var r=t.uid;n=void 0!==n&&null!==n&&""!==n&&void 0!==r&&null!==r&&""!==r&&n==r}if(n)return us(Xs(e),t),Xs(e).F();(Xs(e)||t)&&(Gs(e,t),t&&(ts(t),t.ba=e.w),e.a&&e.a.subscribe(e),$s(e))}})},Nl.Z=function(e){return Ns(this.h,e)},Nl.ac=function(){$s(this),this.Z(Xs(this))},Nl.ic=function(){this.mb()},Nl.jc=function(){this.mb()},Nl.kc=function(e){var t=this;this.addAuthTokenListener(function(){e.next(Xs(t))})},Nl.mc=function(e){var t=this;Js(this,function(){e.next(Xs(t))})},Nl.uc=function(e,t,n){var i=this;return this.X&&r.a.Promise.resolve().then(function(){l(e)?e(Xs(i)):l(e.next)&&e.next(Xs(i))}),this.Sb(e,t,n)},Nl.tc=function(e,t,n){var i=this;return this.X&&r.a.Promise.resolve().then(function(){i.O=i.getUid(),l(e)?e(Xs(i)):l(e.next)&&e.next(Xs(i))}),this.Tb(e,t,n)},Nl.bc=function(e){var t=this;return el(this,this.i.then(function(){return Xs(t)?Xs(t).F(e).then(function(e){return{accessToken:e}}):null}))},Nl.Mb=function(e){var t=this;return this.i.then(function(){return Ys(t,zi(t.b,Cd,{token:e}))}).then(function(e){var n=e.user;return ls(n,"isAnonymous",!1),t.Z(n),e})},Nl.Dc=function(e){return kn("firebase.auth.Auth.prototype.signInAndRetrieveDataWithCustomToken is deprecated. Please use firebase.auth.Auth.prototype.signInWithCustomToken instead."),this.Mb(e)},Nl.Ec=function(e,t){return kn("firebase.auth.Auth.prototype.signInAndRetrieveDataWithEmailAndPassword is deprecated. Please use firebase.auth.Auth.prototype.signInWithEmailAndPassword instead."),this.Nb(e,t)},Nl.Nb=function(e,t){var n=this;return this.i.then(function(){return Ys(n,zi(n.b,Od,{email:e,password:t}))})},Nl.wb=function(e,t){var n=this;return this.i.then(function(){return Ys(n,zi(n.b,sd,{email:e,password:t}))})},Nl.Vb=function(e,t){return kn("firebase.auth.Auth.prototype.createUserAndRetrieveDataWithEmailAndPassword is deprecated. Please use firebase.auth.Auth.prototype.createUserWithEmailAndPassword instead."),this.wb(e,t)},Nl.Gc=function(e){return kn("firebase.auth.Auth.prototype.signInWithCredential is deprecated. Please use firebase.auth.Auth.prototype.signInAndRetrieveDataWithCredential instead."),this.Oa(e).then(function(e){return e.user})},Nl.Oa=function(e){var t=this;return this.i.then(function(){return Ys(t,e.ya(t.b))})},Nl.Pa=function(){var e=this;return this.i.then(function(){var t=Xs(e);if(t&&t.isAnonymous){return Cn({user:t,credential:null,additionalUserInfo:Cn({providerId:null,isNewUser:!1}),operationType:"signIn"})}return Ys(e,e.b.Pa()).then(function(t){var n=t.user;return ls(n,"isAnonymous",!0),e.Z(n),t})})},Nl.Fc=function(){return kn("firebase.auth.Auth.prototype.signInAnonymouslyAndRetrieveData is deprecated. Please use firebase.auth.Auth.prototype.signInAnonymously instead."),this.Pa()},Nl.getUid=function(){return Xs(this)&&Xs(this).uid||null},Nl.Ub=function(e){this.addAuthTokenListener(e),0<++this.u&&Xs(this)&&Xa(Xs(this))},Nl.Bc=function(e){var t=this;Ul(this.o,function(n){n==e&&t.u--}),0>this.u&&(this.u=0),0==this.u&&Xs(this)&&Qa(Xs(this)),this.removeAuthTokenListener(e)},Nl.addAuthTokenListener=function(e){var t=this;this.o.push(e),el(this,this.i.then(function(){t.m||C(t.o,e)&&e(Qs(t))}))},Nl.removeAuthTokenListener=function(e){A(this.o,function(t){return t==e})},Nl.delete=function(){this.m=!0;for(var e=0;e<this.N.length;e++)this.N[e].cancel("app-deleted");return this.N=[],this.h&&(e=this.h,e.b.removeListener(Is("local"),e.a,this.ka)),this.a&&(this.a.unsubscribe(this),this.a.Xa()),r.a.Promise.resolve()},Nl.Yb=function(e){return kn("firebase.auth.Auth.prototype.fetchProvidersForEmail is deprecated. Please use firebase.auth.Auth.prototype.fetchSignInMethodsForEmail instead."),el(this,Oi(this.b,e))},Nl.Zb=function(e){return el(this,Ai(this.b,e))},Nl.nc=function(e){return!!mr(e)},Nl.kb=function(e,t){var n=this;return el(this,Z().then(function(){var e=new Mn(t);if(!e.c)throw new Rn("argument-error",yc+" must be true when sending sign in link to email");return Dn(e)}).then(function(t){return n.b.kb(e,t)}).then(function(){}))},Nl.Sc=function(e){return this.Ja(e).then(function(e){return e.data.email})},Nl.Ya=function(e,t){return el(this,this.b.Ya(e,t).then(function(){}))},Nl.Ja=function(e){return el(this,this.b.Ja(e).then(function(e){return new In(e)}))},Nl.Va=function(e){return el(this,this.b.Va(e).then(function(){}))},Nl.jb=function(e,t){var n=this;return el(this,Z().then(function(){return"undefined"===typeof t||W(t)?{}:Dn(new Mn(t))}).then(function(t){return n.b.jb(e,t)}).then(function(){}))},Nl.Ic=function(e,t){return el(this,Pa(this,e,t,f(this.Oa,this)))},Nl.Hc=function(e,t){var n=this;return el(this,Z().then(function(){var r=pr(e,t||Bt());return n.Oa(r)}))},tl.prototype.render=function(){},tl.prototype.reset=function(){},tl.prototype.getResponse=function(){},tl.prototype.execute=function(){};var lf=null;nl.prototype.render=function(e,t){return this.a[this.b.toString()]=new ol(e,t),this.b++},nl.prototype.reset=function(e){var t=rl(this,e);e=il(e),t&&e&&(t.delete(),delete this.a[e])},nl.prototype.getResponse=function(e){return(e=rl(this,e))?e.getResponse():null},nl.prototype.execute=function(e){(e=rl(this,e))&&e.execute()},ol.prototype.getResponse=function(){return al(this),this.b},ol.prototype.execute=function(){al(this);var e=this;this.a||(this.a=setTimeout(function(){e.b=en();var t=e.c.callback,n=e.c["expired-callback"];if(t)try{t(e.b)}catch(e){}e.a=setTimeout(function(){if(e.a=null,e.b=null,n)try{n()}catch(e){}e.h&&e.execute()},6e4)},500))},ol.prototype.delete=function(){al(this),this.g=!0,clearTimeout(this.a),this.a=null,Ae(this.f,"click",this.i)},sl.prototype.g=function(){return lf||(lf=new nl),Z(lf)},sl.prototype.c=function(){};var uf=null,cf=vt("https://www.google.com/recaptcha/api.js?onload=%{onload}&render=explicit&hl=%{hl}"),df=new vn(3e4,6e4);ll.prototype.g=function(e){var t=this;return new V(function(n,r){var i=setTimeout(function(){r(new Rn("network-request-failed"))},df.get());if(!Dl.grecaptcha||e!==t.f&&!t.b){Dl[t.a]=function(){if(Dl.grecaptcha){t.f=e;var o=Dl.grecaptcha.render;Dl.grecaptcha.render=function(e,n){return e=o(e,n),t.b++,e},clearTimeout(i),n(Dl.grecaptcha)}else clearTimeout(i),r(new Rn("internal-error"));delete Dl[t.a]};Z(hi(wt(cf,{onload:t.a,hl:e||""}))).s(function(){clearTimeout(i),r(new Rn("internal-error","Unable to load external reCAPTCHA dependencies!"))})}else clearTimeout(i),n(Dl.grecaptcha)})},ll.prototype.c=function(){this.b--};var ff=null,hf="callback",pf="expired-callback",mf="sitekey",gf="size";Nl=ul.prototype,Nl.za=function(){var e=this;return this.f?this.f:this.f=fl(this,Z().then(function(){if(ln()&&!Qt())return Kt();throw new Rn("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment.")}).then(function(){return e.o.g(e.v())}).then(function(t){return e.g=t,zi(e.u,yd,{})}).then(function(t){e.a[mf]=t.recaptchaSiteKey}).s(function(t){throw e.f=null,t}))},Nl.render=function(){hl(this);var e=this;return fl(this,this.za().then(function(){if(null===e.c){var t=e.m;if(!e.i){var n=At(t);t=It("DIV"),n.appendChild(t)}e.c=e.g.render(t,e.a)}return e.c}))},Nl.verify=function(){hl(this);var e=this;return fl(this,this.render().then(function(t){return new V(function(n){var r=e.g.getResponse(t);if(r)n(r);else{var i=function(t){t&&(dl(e,i),n(t))};e.l.push(i),e.i&&e.g.execute(e.c)}})}))},Nl.reset=function(){hl(this),null!==this.c&&this.g.reset(this.c)},Nl.clear=function(){hl(this),this.C=!0,this.o.c();for(var e=0;e<this.h.length;e++)this.h[e].cancel("RecaptchaVerifier instance has been destroyed.");if(!this.i){e=At(this.m);for(var t;t=e.firstChild;)e.removeChild(t)}},p(pl,ul);var vf="First Second Third Fourth Fifth Sixth Seventh Eighth Ninth".split(" ");Ol(js.prototype,{Va:{name:"applyActionCode",j:[gl("code")]},Ja:{name:"checkActionCode",j:[gl("code")]},Ya:{name:"confirmPasswordReset",j:[gl("code"),gl("newPassword")]},wb:{name:"createUserWithEmailAndPassword",j:[gl("email"),gl("password")]},Vb:{name:"createUserAndRetrieveDataWithEmailAndPassword",j:[gl("email"),gl("password")]},Yb:{name:"fetchProvidersForEmail",j:[gl("email")]},Zb:{name:"fetchSignInMethodsForEmail",j:[gl("email")]},fa:{name:"getRedirectResult",j:[]},nc:{name:"isSignInWithEmailLink",j:[gl("emailLink")]},tc:{name:"onAuthStateChanged",j:[Cl(yl(),bl(),"nextOrObserver"),bl("opt_error",!0),bl("opt_completed",!0)]},uc:{name:"onIdTokenChanged",j:[Cl(yl(),bl(),"nextOrObserver"),bl("opt_error",!0),bl("opt_completed",!0)]},jb:{name:"sendPasswordResetEmail",j:[gl("email"),Cl(yl("opt_actionCodeSettings",!0),wl(null,!0),"opt_actionCodeSettings",!0)]},kb:{name:"sendSignInLinkToEmail",j:[gl("email"),yl("actionCodeSettings")]},lb:{name:"setPersistence",j:[gl("persistence")]},Oa:{name:"signInAndRetrieveDataWithCredential",j:[kl()]},Pa:{name:"signInAnonymously",j:[]},Fc:{name:"signInAnonymouslyAndRetrieveData",j:[]},Gc:{name:"signInWithCredential",j:[kl()]},Mb:{name:"signInWithCustomToken",j:[gl("token")]},Dc:{name:"signInAndRetrieveDataWithCustomToken",j:[gl("token")]},Nb:{name:"signInWithEmailAndPassword",j:[gl("email"),gl("password")]},Hc:{name:"signInWithEmailLink",j:[gl("email"),gl("emailLink",!0)]},Ec:{name:"signInAndRetrieveDataWithEmailAndPassword",j:[gl("email"),gl("password")]},Ic:{name:"signInWithPhoneNumber",j:[gl("phoneNumber"),Sl()]},Jc:{name:"signInWithPopup",j:[xl()]},Kc:{name:"signInWithRedirect",j:[xl()]},Pc:{name:"updateCurrentUser",j:[Cl(function(e){return{name:"user",K:"an instance of Firebase User",optional:!1,M:function(e){return!!(e&&e instanceof Ga)}}}(),wl(),"user")]},mb:{name:"signOut",j:[]},toJSON:{name:"toJSON",j:[gl(null,!0)]},Rc:{name:"useDeviceLanguage",j:[]},Sc:{name:"verifyPasswordResetCode",j:[gl("code")]}}),Al(js.prototype,{lc:{name:"languageCode",sb:Cl(gl(),wl(),"languageCode")}}),js.Persistence=qd,js.Persistence.LOCAL="local",js.Persistence.SESSION="session",js.Persistence.NONE="none",Ol(Ga.prototype,{delete:{name:"delete",j:[]},cc:{name:"getIdTokenResult",j:[vl("opt_forceRefresh",!0)]},F:{name:"getIdToken",j:[vl("opt_forceRefresh",!0)]},cb:{name:"linkAndRetrieveDataWithCredential",j:[kl()]},oc:{name:"linkWithCredential",j:[kl()]},pc:{name:"linkWithPhoneNumber",j:[gl("phoneNumber"),Sl()]},qc:{name:"linkWithPopup",j:[xl()]},rc:{name:"linkWithRedirect",j:[xl()]},fb:{name:"reauthenticateAndRetrieveDataWithCredential",j:[kl()]},xc:{name:"reauthenticateWithCredential",j:[kl()]},yc:{name:"reauthenticateWithPhoneNumber",j:[gl("phoneNumber"),Sl()]},zc:{name:"reauthenticateWithPopup",j:[xl()]},Ac:{name:"reauthenticateWithRedirect",j:[xl()]},reload:{name:"reload",j:[]},ib:{name:"sendEmailVerification",j:[Cl(yl("opt_actionCodeSettings",!0),wl(null,!0),"opt_actionCodeSettings",!0)]},toJSON:{name:"toJSON",j:[gl(null,!0)]},Oc:{name:"unlink",j:[gl("provider")]},ob:{name:"updateEmail",j:[gl("email")]},pb:{name:"updatePassword",j:[gl("password")]},Qc:{name:"updatePhoneNumber",j:[kl("phone")]},qb:{name:"updateProfile",j:[yl("profile")]}}),Ol(nl.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),Ol(tl.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),Ol(V.prototype,{ia:{name:"finally"},s:{name:"catch"},then:{name:"then"}}),Al(Oa.prototype,{appVerificationDisabled:{name:"appVerificationDisabledForTesting",sb:vl("appVerificationDisabledForTesting")}}),Ol(Aa.prototype,{confirm:{name:"confirm",j:[gl("verificationCode")]}}),Pl(hr,"credential",function(e,t){return new fr(e,t)},[gl("email"),gl("password")]),Ol(ir.prototype,{ta:{name:"addScope",j:[gl("scope")]},Da:{name:"setCustomParameters",j:[yl("customOAuthParameters")]}}),Pl(ir,"credential",or,[Cl(gl(),yl(),"token")]),Pl(hr,"credentialWithLink",pr,[gl("email"),gl("emailLink")]),Ol(ar.prototype,{ta:{name:"addScope",j:[gl("scope")]},Da:{name:"setCustomParameters",j:[yl("customOAuthParameters")]}}),Pl(ar,"credential",sr,[Cl(gl(),yl(),"token")]),Ol(lr.prototype,{ta:{name:"addScope",j:[gl("scope")]},Da:{name:"setCustomParameters",j:[yl("customOAuthParameters")]}}),Pl(lr,"credential",ur,[Cl(gl(),Cl(yl(),wl()),"idToken"),Cl(gl(),wl(),"accessToken",!0)]),Ol(cr.prototype,{Da:{name:"setCustomParameters",j:[yl("customOAuthParameters")]}}),Pl(cr,"credential",dr,[Cl(gl(),yl(),"token"),gl("secret",!0)]),Ol(rr.prototype,{ta:{name:"addScope",j:[gl("scope")]},credential:{name:"credential",j:[Cl(gl(),wl(),"idToken",!0),Cl(gl(),wl(),"accessToken",!0)]},Da:{name:"setCustomParameters",j:[yl("customOAuthParameters")]}}),Pl(yr,"credential",br,[gl("verificationId"),gl("verificationCode")]),Ol(yr.prototype,{Ta:{name:"verifyPhoneNumber",j:[gl("phoneNumber"),Sl()]}}),Ol(Rn.prototype,{toJSON:{name:"toJSON",j:[gl(null,!0)]}}),Ol(Sr.prototype,{toJSON:{name:"toJSON",j:[gl(null,!0)]}}),Ol(xr.prototype,{toJSON:{name:"toJSON",j:[gl(null,!0)]}}),Ol(pl.prototype,{clear:{name:"clear",j:[]},render:{name:"render",j:[]},verify:{name:"verify",j:[]}}),function(){if("undefined"===typeof r.a||!r.a.INTERNAL||!r.a.INTERNAL.registerService)throw Error("Cannot find the firebase namespace; be sure to include firebase-app.js before this library.");var e={Auth:js,Error:Rn};Pl(e,"EmailAuthProvider",hr,[]),Pl(e,"FacebookAuthProvider",ir,[]),Pl(e,"GithubAuthProvider",ar,[]),Pl(e,"GoogleAuthProvider",lr,[]),Pl(e,"TwitterAuthProvider",cr,[]),Pl(e,"OAuthProvider",rr,[gl("providerId")]),Pl(e,"PhoneAuthProvider",yr,[Tl()]),Pl(e,"RecaptchaVerifier",pl,[Cl(gl(),El(),"recaptchaContainer"),yl("recaptchaParameters",!0),_l()]),r.a.INTERNAL.registerService("auth",function(e,t){return e=new js(e),t({INTERNAL:{getUid:f(e.getUid,e),getToken:f(e.bc,e),addAuthTokenListener:f(e.Ub,e),removeAuthTokenListener:f(e.Bc,e)}}),e},e,function(e,t){if("create"===e)try{t.auth()}catch(e){}}),r.a.INTERNAL.extendNamespace({User:Ga})}()}).call("undefined"!==typeof e?e:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})}).call(t,n(18))},function(e,t,n){"use strict";var r=n(854);n.n(r)},function(e,t,n){"use strict";(function(r){function i(e){for(var t="",n=e.split("/"),r=0;r<n.length;r++)if(n[r].length>0){var i=n[r];try{i=decodeURIComponent(i.replace(/\+/g," "))}catch(e){}t+="/"+i}return t}function o(e){var t={};"?"===e.charAt(0)&&(e=e.substring(1));for(var n=0,r=e.split("&");n<r.length;n++){var i=r[n];if(0!==i.length){var o=i.split("=");2===o.length?t[decodeURIComponent(o[0])]=decodeURIComponent(o[1]):j("Invalid query segment '"+i+"' in query '"+e+"'")}}return t}function a(e,t){return H(e.name,t.name)}function s(e,t){return H(e,t)}function l(e,t){if(void 0===t&&(t=null),null===e)return Ze.EMPTY_NODE;if("object"===typeof e&&".priority"in e&&(t=e[".priority"]),v.assert(null===t||"string"===typeof t||"number"===typeof t||"object"===typeof t&&".sv"in t,"Invalid priority type found: "+typeof t),"object"===typeof e&&".value"in e&&null!==e[".value"]&&(e=e[".value"]),"object"!==typeof e||".sv"in e){return new je(e,l(t))}if(e instanceof Array||!$e){var n=Ze.EMPTY_NODE,r=e;return v.forEach(r,function(e,t){if(v.contains(r,e)&&"."!==e.substring(0,1)){var i=l(t);!i.isLeafNode()&&i.isEmpty()||(n=n.updateImmediateChild(e,i))}}),n.updatePriority(l(t))}var i=[],o=!1,u=e;if(v.forEach(u,function(e,t){if("string"!==typeof e||"."!==e.substring(0,1)){var n=l(u[e]);n.isEmpty()||(o=o||!n.getPriority().isEmpty(),i.push(new Ie(e,n)))}}),0==i.length)return Ze.EMPTY_NODE;var c=Ve(i,a,function(e){return e.name},s);if(o){var d=Ve(i,Be.getCompare());return new Ze(c,l(t),new Ye({".priority":d},{".priority":Be}))}return new Ze(c,l(t),Ye.Default)}function u(t){var n=t.INTERNAL.registerService("database",function(e,t,n){return xn.getInstance().databaseFromApp(e,n)},{Reference:wn,Query:ut,Database:Sn,enableLogging:R,INTERNAL:Ln,ServerValue:qn,TEST_ACCESS:Gn},null,!0);v.isNodeSdk()&&(e.exports=n)}Object.defineProperty(t,"__esModule",{value:!0});var c,d,f,h,p,m,g,v=n(149),y=n(855),b=n(150),w=function(e){return e&&"object"===typeof e&&"default"in e?e.default:e}(n(95)),E=function(){function e(e){this.domStorage_=e,this.prefix_="firebase:"}return e.prototype.set=function(e,t){null==t?this.domStorage_.removeItem(this.prefixedName_(e)):this.domStorage_.setItem(this.prefixedName_(e),v.stringify(t))},e.prototype.get=function(e){var t=this.domStorage_.getItem(this.prefixedName_(e));return null==t?null:v.jsonEval(t)},e.prototype.remove=function(e){this.domStorage_.removeItem(this.prefixedName_(e))},e.prototype.prefixedName_=function(e){return this.prefix_+e},e.prototype.toString=function(){return this.domStorage_.toString()},e}(),T=function(){function e(){this.cache_={},this.isInMemoryStorage=!0}return e.prototype.set=function(e,t){null==t?delete this.cache_[e]:this.cache_[e]=t},e.prototype.get=function(e){return v.contains(this.cache_,e)?this.cache_[e]:null},e.prototype.remove=function(e){delete this.cache_[e]},e}(),_=function(e){try{if("undefined"!==typeof window&&"undefined"!==typeof window[e]){var t=window[e];return t.setItem("firebase:sentinel","cache"),t.removeItem("firebase:sentinel"),new E(t)}}catch(e){}return new T},k=_("localStorage"),x=_("sessionStorage"),S=new y.Logger("@firebase/database"),C=function(){var e=1;return function(){return e++}}(),O=function(e){var t=v.stringToByteArray(e),n=new v.Sha1;n.update(t);var r=n.digest();return v.base64.encodeByteArray(r)},A=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",r=0;r<e.length;r++)Array.isArray(e[r])||e[r]&&"object"===typeof e[r]&&"number"===typeof e[r].length?n+=A.apply(null,e[r]):"object"===typeof e[r]?n+=v.stringify(e[r]):n+=e[r],n+=" ";return n},P=null,I=!0,R=function(e,t){v.assert(!t||!0===e||!1===e,"Can't turn on custom loggers persistently."),!0===e?(S.logLevel=y.LogLevel.VERBOSE,P=S.log.bind(S),t&&x.set("logging_enabled",!0)):"function"===typeof e?P=e:(P=null,x.remove("logging_enabled"))},N=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!0===I&&(I=!1,null===P&&!0===x.get("logging_enabled")&&R(!0)),P){var n=A.apply(null,e);P(n)}},M=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];N.apply(void 0,[e].concat(t))}},D=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="FIREBASE INTERNAL ERROR: "+A.apply(void 0,e);S.error(n)},L=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="FIREBASE FATAL ERROR: "+A.apply(void 0,e);throw S.error(n),new Error(n)},j=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="FIREBASE WARNING: "+A.apply(void 0,e);S.warn(n)},W=function(){"undefined"!==typeof window&&window.location&&window.location.protocol&&-1!==window.location.protocol.indexOf("https:")&&j("Insecure Firebase access from a secure page. Please use https in calls to new Firebase().")},B=function(e){return"number"===typeof e&&(e!=e||e==Number.POSITIVE_INFINITY||e==Number.NEGATIVE_INFINITY)},F=function(e){if(v.isNodeSdk()||"complete"===document.readyState)e();else{var t=!1,n=function(){if(!document.body)return void setTimeout(n,Math.floor(10));t||(t=!0,e())};document.addEventListener?(document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",n,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&n()}),window.attachEvent("onload",n))}},z="[MIN_NAME]",U="[MAX_NAME]",H=function(e,t){if(e===t)return 0;if(e===z||t===U)return-1;if(t===z||e===U)return 1;var n=ee(e),r=ee(t);return null!==n?null!==r?n-r==0?e.length-t.length:n-r:-1:null!==r?1:e<t?-1:1},G=function(e,t){return e===t?0:e<t?-1:1},q=function(e,t){if(t&&e in t)return t[e];throw new Error("Missing required key ("+e+") in object: "+v.stringify(t))},V=function(e){if("object"!==typeof e||null===e)return v.stringify(e);var t=[];for(var n in e)t.push(n);t.sort();for(var r="{",i=0;i<t.length;i++)0!==i&&(r+=","),r+=v.stringify(t[i]),r+=":",r+=V(e[t[i]]);return r+="}"},K=function(e,t){var n=e.length;if(n<=t)return[e];for(var r=[],i=0;i<n;i+=t)i+t>n?r.push(e.substring(i,n)):r.push(e.substring(i,i+t));return r},Y=function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;++n)t(n,e[n]);else v.forEach(e,function(e,n){return t(n,e)})},Z=function(e){v.assert(!B(e),"Invalid JSON number");var t,n,r,i,o,a,s;for(0===e?(n=0,r=0,t=1/e===-1/0?1:0):(t=e<0,e=Math.abs(e),e>=Math.pow(2,-1022)?(i=Math.min(Math.floor(Math.log(e)/Math.LN2),1023),n=i+1023,r=Math.round(e*Math.pow(2,52-i)-Math.pow(2,52))):(n=0,r=Math.round(e/Math.pow(2,-1074)))),a=[],o=52;o;o-=1)a.push(r%2?1:0),r=Math.floor(r/2);for(o=11;o;o-=1)a.push(n%2?1:0),n=Math.floor(n/2);a.push(t?1:0),a.reverse(),s=a.join("");var l="";for(o=0;o<64;o+=8){var u=parseInt(s.substr(o,8),2).toString(16);1===u.length&&(u="0"+u),l+=u}return l.toLowerCase()},X=function(){return!("object"!==typeof window||!window.chrome||!window.chrome.extension||/^chrome/.test(window.location.href))},Q=function(){return"object"===typeof Windows&&"object"===typeof Windows.UI},$=function(e,t){var n="Unknown Error";"too_big"===e?n="The data requested exceeds the maximum size that can be accessed with a single request.":"permission_denied"==e?n="Client doesn't have permission to access the desired data.":"unavailable"==e&&(n="The service is unavailable");var r=new Error(e+" at "+t.path.toString()+": "+n);return r.code=e.toUpperCase(),r},J=new RegExp("^-?\\d{1,10}$"),ee=function(e){if(J.test(e)){var t=Number(e);if(t>=-2147483648&&t<=2147483647)return t}return null},te=function(e){try{e()}catch(e){setTimeout(function(){var t=e.stack||"";throw j("Exception was thrown by user callback.",t),e},Math.floor(0))}},ne=function(){return("object"===typeof window&&window.navigator&&window.navigator.userAgent||"").search(/googlebot|google webmaster tools|bingbot|yahoo! slurp|baiduspider|yandexbot|duckduckbot/i)>=0},re=function(e,t){var n=setTimeout(e,t);return"object"===typeof n&&n.unref&&n.unref(),n},ie=function(){function e(e,t){if(void 0===t){this.pieces_=e.split("/");for(var n=0,r=0;r<this.pieces_.length;r++)this.pieces_[r].length>0&&(this.pieces_[n]=this.pieces_[r],n++);this.pieces_.length=n,this.pieceNum_=0}else this.pieces_=e,this.pieceNum_=t}return Object.defineProperty(e,"Empty",{get:function(){return new e("")},enumerable:!0,configurable:!0}),e.prototype.getFront=function(){return this.pieceNum_>=this.pieces_.length?null:this.pieces_[this.pieceNum_]},e.prototype.getLength=function(){return this.pieces_.length-this.pieceNum_},e.prototype.popFront=function(){var t=this.pieceNum_;return t<this.pieces_.length&&t++,new e(this.pieces_,t)},e.prototype.getBack=function(){return this.pieceNum_<this.pieces_.length?this.pieces_[this.pieces_.length-1]:null},e.prototype.toString=function(){for(var e="",t=this.pieceNum_;t<this.pieces_.length;t++)""!==this.pieces_[t]&&(e+="/"+this.pieces_[t]);return e||"/"},e.prototype.toUrlEncodedString=function(){for(var e="",t=this.pieceNum_;t<this.pieces_.length;t++)""!==this.pieces_[t]&&(e+="/"+encodeURIComponent(String(this.pieces_[t])));return e||"/"},e.prototype.slice=function(e){return void 0===e&&(e=0),this.pieces_.slice(this.pieceNum_+e)},e.prototype.parent=function(){if(this.pieceNum_>=this.pieces_.length)return null;for(var t=[],n=this.pieceNum_;n<this.pieces_.length-1;n++)t.push(this.pieces_[n]);return new e(t,0)},e.prototype.child=function(t){for(var n=[],r=this.pieceNum_;r<this.pieces_.length;r++)n.push(this.pieces_[r]);if(t instanceof e)for(var r=t.pieceNum_;r<t.pieces_.length;r++)n.push(t.pieces_[r]);else for(var i=t.split("/"),r=0;r<i.length;r++)i[r].length>0&&n.push(i[r]);return new e(n,0)},e.prototype.isEmpty=function(){return this.pieceNum_>=this.pieces_.length},e.relativePath=function(t,n){var r=t.getFront(),i=n.getFront();if(null===r)return n;if(r===i)return e.relativePath(t.popFront(),n.popFront());throw new Error("INTERNAL ERROR: innerPath ("+n+") is not within outerPath ("+t+")")},e.comparePaths=function(e,t){for(var n=e.slice(),r=t.slice(),i=0;i<n.length&&i<r.length;i++){var o=H(n[i],r[i]);if(0!==o)return o}return n.length===r.length?0:n.length<r.length?-1:1},e.prototype.equals=function(e){if(this.getLength()!==e.getLength())return!1;for(var t=this.pieceNum_,n=e.pieceNum_;t<=this.pieces_.length;t++,n++)if(this.pieces_[t]!==e.pieces_[n])return!1;return!0},e.prototype.contains=function(e){var t=this.pieceNum_,n=e.pieceNum_;if(this.getLength()>e.getLength())return!1;for(;t<this.pieces_.length;){if(this.pieces_[t]!==e.pieces_[n])return!1;++t,++n}return!0},e}(),oe=function(){function e(e,t){this.errorPrefix_=t,this.parts_=e.slice(),this.byteLength_=Math.max(1,this.parts_.length);for(var n=0;n<this.parts_.length;n++)this.byteLength_+=v.stringLength(this.parts_[n]);this.checkValid_()}return Object.defineProperty(e,"MAX_PATH_DEPTH",{get:function(){return 32},enumerable:!0,configurable:!0}),Object.defineProperty(e,"MAX_PATH_LENGTH_BYTES",{get:function(){return 768},enumerable:!0,configurable:!0}),e.prototype.push=function(e){this.parts_.length>0&&(this.byteLength_+=1),this.parts_.push(e),this.byteLength_+=v.stringLength(e),this.checkValid_()},e.prototype.pop=function(){var e=this.parts_.pop();this.byteLength_-=v.stringLength(e),this.parts_.length>0&&(this.byteLength_-=1)},e.prototype.checkValid_=function(){if(this.byteLength_>e.MAX_PATH_LENGTH_BYTES)throw new Error(this.errorPrefix_+"has a key path longer than "+e.MAX_PATH_LENGTH_BYTES+" bytes ("+this.byteLength_+").");if(this.parts_.length>e.MAX_PATH_DEPTH)throw new Error(this.errorPrefix_+"path specified exceeds the maximum depth that can be written ("+e.MAX_PATH_DEPTH+") or object contains a cycle "+this.toErrorString())},e.prototype.toErrorString=function(){return 0==this.parts_.length?"":"in property '"+this.parts_.join(".")+"'"},e}(),ae="long_polling",se=function(){function e(e,t,n,r,i){void 0===i&&(i=""),this.secure=t,this.namespace=n,this.webSocketOnly=r,this.persistenceKey=i,this.host=e.toLowerCase(),this.domain=this.host.substr(this.host.indexOf(".")+1),this.internalHost=k.get("host:"+e)||this.host}return e.prototype.needsQueryParam=function(){return this.host!==this.internalHost||this.isCustomHost()},e.prototype.isCacheableHost=function(){return"s-"===this.internalHost.substr(0,2)},e.prototype.isDemoHost=function(){return"firebaseio-demo.com"===this.domain},e.prototype.isCustomHost=function(){return"firebaseio.com"!==this.domain&&"firebaseio-demo.com"!==this.domain},e.prototype.updateHost=function(e){e!==this.internalHost&&(this.internalHost=e,this.isCacheableHost()&&k.set("host:"+this.host,this.internalHost))},e.prototype.connectionURL=function(e,t){v.assert("string"===typeof e,"typeof type must == string"),v.assert("object"===typeof t,"typeof params must == object");var n;if("websocket"===e)n=(this.secure?"wss://":"ws://")+this.internalHost+"/.ws?";else{if(e!==ae)throw new Error("Unknown connection type: "+e);n=(this.secure?"https://":"http://")+this.internalHost+"/.lp?"}this.needsQueryParam()&&(t.ns=this.namespace);var r=[];return v.forEach(t,function(e,t){r.push(e+"="+t)}),n+r.join("&")},e.prototype.toString=function(){var e=this.toURLString();return this.persistenceKey&&(e+="<"+this.persistenceKey+">"),e},e.prototype.toURLString=function(){return(this.secure?"https://":"http://")+this.host},e}(),le=function(e){var t=ue(e),n=t.subdomain;"firebase"===t.domain&&L(t.host+" is no longer supported. Please use <YOUR FIREBASE>.firebaseio.com instead"),n&&"undefined"!=n||"localhost"===t.domain||L("Cannot parse Firebase url. Please use https://<YOUR FIREBASE>.firebaseio.com"),t.secure||W();var r="ws"===t.scheme||"wss"===t.scheme;return{repoInfo:new se(t.host,t.secure,n,r),path:new ie(t.pathString)}},ue=function(e){var t="",n="",r="",a="",s=!0,l="https",u=443;if("string"===typeof e){var c=e.indexOf("//");c>=0&&(l=e.substring(0,c-1),e=e.substring(c+2));var d=e.indexOf("/");-1===d&&(d=e.length);var f=e.indexOf("?");-1===f&&(f=e.length),t=e.substring(0,Math.min(d,f)),d<f&&(a=i(e.substring(d,f)));var h=o(e.substring(Math.min(e.length,f)));c=t.indexOf(":"),c>=0?(s="https"===l||"wss"===l,u=parseInt(t.substring(c+1),10)):c=e.length;var p=t.split(".");3===p.length?(n=p[1],r=p[0].toLowerCase()):2===p.length?n=p[0]:"localhost"===p[0].slice(0,c).toLowerCase()&&(n="localhost"),""===r&&"ns"in h&&(r=h.ns)}return{host:t,port:u,domain:n,subdomain:r,secure:s,scheme:l,pathString:a}},ce=/[\[\].#$\/\u0000-\u001F\u007F]/,de=/[\[\].#$\u0000-\u001F\u007F]/,fe=function(e){return"string"===typeof e&&0!==e.length&&!ce.test(e)},he=function(e){return"string"===typeof e&&0!==e.length&&!de.test(e)},pe=function(e){return e&&(e=e.replace(/^\/*\.info(\/|$)/,"/")),he(e)},me=function(e){return null===e||"string"===typeof e||"number"===typeof e&&!B(e)||e&&"object"===typeof e&&v.contains(e,".sv")},ge=function(e,t,n,r,i){i&&void 0===n||ve(v.errorPrefix(e,t,i),n,r)},ve=function(e,t,n){var r=n instanceof ie?new oe(n,e):n;if(void 0===t)throw new Error(e+"contains undefined "+r.toErrorString());if("function"===typeof t)throw new Error(e+"contains a function "+r.toErrorString()+" with contents = "+t.toString());if(B(t))throw new Error(e+"contains "+t.toString()+" "+r.toErrorString());if("string"===typeof t&&t.length>10485760/3&&v.stringLength(t)>10485760)throw new Error(e+"contains a string greater than 10485760 utf8 bytes "+r.toErrorString()+" ('"+t.substring(0,50)+"...')");if(t&&"object"===typeof t){var i=!1,o=!1;if(v.forEach(t,function(t,n){if(".value"===t)i=!0;else if(".priority"!==t&&".sv"!==t&&(o=!0,!fe(t)))throw new Error(e+" contains an invalid key ("+t+") "+r.toErrorString()+'. Keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]"');r.push(t),ve(e,n,r),r.pop()}),i&&o)throw new Error(e+' contains ".value" child '+r.toErrorString()+" in addition to actual children.")}},ye=function(e,t){var n,r;for(n=0;n<t.length;n++){r=t[n];for(var i=r.slice(),o=0;o<i.length;o++)if(".priority"===i[o]&&o===i.length-1);else if(!fe(i[o]))throw new Error(e+"contains an invalid key ("+i[o]+") in path "+r.toString()+'. Keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]"')}t.sort(ie.comparePaths);var a=null;for(n=0;n<t.length;n++){if(r=t[n],null!==a&&a.contains(r))throw new Error(e+"contains a path "+a.toString()+" that is ancestor of another path "+r.toString());a=r}},be=function(e,t,n,r,i){if(!i||void 0!==n){var o=v.errorPrefix(e,t,i);if(!n||"object"!==typeof n||Array.isArray(n))throw new Error(o+" must be an object containing the children to replace.");var a=[];v.forEach(n,function(e,t){var n=new ie(e);if(ve(o,t,r.child(n)),".priority"===n.getBack()&&!me(t))throw new Error(o+"contains an invalid value for '"+n.toString()+"', which must be a valid Firebase priority (a string, finite number, server value, or null).");a.push(n)}),ye(o,a)}},we=function(e,t,n,r){if(!r||void 0!==n){if(B(n))throw new Error(v.errorPrefix(e,t,r)+"is "+n.toString()+", but must be a valid Firebase priority (a string, finite number, server value, or null).");if(!me(n))throw new Error(v.errorPrefix(e,t,r)+"must be a valid Firebase priority (a string, finite number, server value, or null).")}},Ee=function(e,t,n,r){if(!r||void 0!==n)switch(n){case"value":case"child_added":case"child_removed":case"child_changed":case"child_moved":break;default:throw new Error(v.errorPrefix(e,t,r)+'must be a valid event type = "value", "child_added", "child_removed", "child_changed", or "child_moved".')}},Te=function(e,t,n,r){if((!r||void 0!==n)&&!fe(n))throw new Error(v.errorPrefix(e,t,r)+'was an invalid key = "'+n+'". Firebase keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]").')},_e=function(e,t,n,r){if((!r||void 0!==n)&&!he(n))throw new Error(v.errorPrefix(e,t,r)+'was an invalid path = "'+n+'". Paths must be non-empty strings and can\'t contain ".", "#", "$", "[", or "]"')},ke=function(e,t,n,r){n&&(n=n.replace(/^\/*\.info(\/|$)/,"/")),_e(e,t,n,r)},xe=function(e,t){if(".info"===t.getFront())throw new Error(e+" failed = Can't modify data under /.info/")},Se=function(e,t,n){var r=n.path.toString();if("string"!==typeof n.repoInfo.host||0===n.repoInfo.host.length||!fe(n.repoInfo.namespace)&&"localhost"!==n.repoInfo.host.split(":")[0]||0!==r.length&&!pe(r))throw new Error(v.errorPrefix(e,t,!1)+'must be a valid firebase URL and the path can\'t contain ".", "#", "$", "[", or "]".')},Ce=function(e,t,n,r){if((!r||void 0!==n)&&"boolean"!==typeof n)throw new Error(v.errorPrefix(e,t,r)+"must be a boolean.")},Oe=function(){function e(e,t){this.repo_=e,this.path_=t}return e.prototype.cancel=function(e){v.validateArgCount("OnDisconnect.cancel",0,1,arguments.length),v.validateCallback("OnDisconnect.cancel",1,e,!0);var t=new v.Deferred;return this.repo_.onDisconnectCancel(this.path_,t.wrapCallback(e)),t.promise},e.prototype.remove=function(e){v.validateArgCount("OnDisconnect.remove",0,1,arguments.length),xe("OnDisconnect.remove",this.path_),v.validateCallback("OnDisconnect.remove",1,e,!0);var t=new v.Deferred;return this.repo_.onDisconnectSet(this.path_,null,t.wrapCallback(e)),t.promise},e.prototype.set=function(e,t){v.validateArgCount("OnDisconnect.set",1,2,arguments.length),xe("OnDisconnect.set",this.path_),ge("OnDisconnect.set",1,e,this.path_,!1),v.validateCallback("OnDisconnect.set",2,t,!0);var n=new v.Deferred;return this.repo_.onDisconnectSet(this.path_,e,n.wrapCallback(t)),n.promise},e.prototype.setWithPriority=function(e,t,n){v.validateArgCount("OnDisconnect.setWithPriority",2,3,arguments.length),xe("OnDisconnect.setWithPriority",this.path_),ge("OnDisconnect.setWithPriority",1,e,this.path_,!1),we("OnDisconnect.setWithPriority",2,t,!1),v.validateCallback("OnDisconnect.setWithPriority",3,n,!0);var r=new v.Deferred;return this.repo_.onDisconnectSetWithPriority(this.path_,e,t,r.wrapCallback(n)),r.promise},e.prototype.update=function(e,t){if(v.validateArgCount("OnDisconnect.update",1,2,arguments.length),xe("OnDisconnect.update",this.path_),Array.isArray(e)){for(var n={},r=0;r<e.length;++r)n[""+r]=e[r];e=n,j("Passing an Array to firebase.database.onDisconnect().update() is deprecated. Use set() if you want to overwrite the existing data, or an Object with integer keys if you really do want to only update some of the children.")}be("OnDisconnect.update",1,e,this.path_,!1),v.validateCallback("OnDisconnect.update",2,t,!0);var i=new v.Deferred;return this.repo_.onDisconnectUpdate(this.path_,e,i.wrapCallback(t)),i.promise},e}(),Ae=function(){function e(e,t){this.committed=e,this.snapshot=t}return e.prototype.toJSON=function(){return v.validateArgCount("TransactionResult.toJSON",0,1,arguments.length),{committed:this.committed,snapshot:this.snapshot.toJSON()}},e}(),Pe=function(){var e="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz",t=0,n=[];return function(r){var i=r===t;t=r;var o,a=new Array(8);for(o=7;o>=0;o--)a[o]=e.charAt(r%64),r=Math.floor(r/64);v.assert(0===r,"Cannot push at time == 0");var s=a.join("");if(i){for(o=11;o>=0&&63===n[o];o--)n[o]=0;n[o]++}else for(o=0;o<12;o++)n[o]=Math.floor(64*Math.random());for(o=0;o<12;o++)s+=e.charAt(n[o]);return v.assert(20===s.length,"nextPushId: Length should be 20."),s}}(),Ie=function(){function e(e,t){this.name=e,this.node=t}return e.Wrap=function(t,n){return new e(t,n)},e}(),Re=function(){function e(){}return e.prototype.getCompare=function(){return this.compare.bind(this)},e.prototype.indexedValueChanged=function(e,t){var n=new Ie(z,e),r=new Ie(z,t);return 0!==this.compare(n,r)},e.prototype.minPost=function(){return Ie.MIN},e}(),Ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b.__extends(t,e),Object.defineProperty(t,"__EMPTY_NODE",{get:function(){return c},set:function(e){c=e},enumerable:!0,configurable:!0}),t.prototype.compare=function(e,t){return H(e.name,t.name)},t.prototype.isDefinedOn=function(e){throw v.assertionError("KeyIndex.isDefinedOn not expected to be called.")},t.prototype.indexedValueChanged=function(e,t){return!1},t.prototype.minPost=function(){return Ie.MIN},t.prototype.maxPost=function(){return new Ie(U,c)},t.prototype.makePost=function(e,t){return v.assert("string"===typeof e,"KeyIndex indexValue must always be a string."),new Ie(e,c)},t.prototype.toString=function(){return".key"},t}(Re),Me=new Ne,De=function(e){return"number"===typeof e?"number:"+Z(e):"string:"+e},Le=function(e){if(e.isLeafNode()){var t=e.val();v.assert("string"===typeof t||"number"===typeof t||"object"===typeof t&&v.contains(t,".sv"),"Priority must be a string or number.")}else v.assert(e===d||e.isEmpty(),"priority of unexpected type.");v.assert(e===d||e.getPriority().isEmpty(),"Priority nodes can't have a priority of their own.")},je=function(){function e(t,n){void 0===n&&(n=e.__childrenNodeConstructor.EMPTY_NODE),this.value_=t,this.priorityNode_=n,this.lazyHash_=null,v.assert(void 0!==this.value_&&null!==this.value_,"LeafNode shouldn't be created with null/undefined value."),Le(this.priorityNode_)}return Object.defineProperty(e,"__childrenNodeConstructor",{get:function(){return f},set:function(e){f=e},enumerable:!0,configurable:!0}),e.prototype.isLeafNode=function(){return!0},e.prototype.getPriority=function(){return this.priorityNode_},e.prototype.updatePriority=function(t){return new e(this.value_,t)},e.prototype.getImmediateChild=function(t){return".priority"===t?this.priorityNode_:e.__childrenNodeConstructor.EMPTY_NODE},e.prototype.getChild=function(t){return t.isEmpty()?this:".priority"===t.getFront()?this.priorityNode_:e.__childrenNodeConstructor.EMPTY_NODE},e.prototype.hasChild=function(){return!1},e.prototype.getPredecessorChildName=function(e,t){return null},e.prototype.updateImmediateChild=function(t,n){return".priority"===t?this.updatePriority(n):n.isEmpty()&&".priority"!==t?this:e.__childrenNodeConstructor.EMPTY_NODE.updateImmediateChild(t,n).updatePriority(this.priorityNode_)},e.prototype.updateChild=function(t,n){var r=t.getFront();return null===r?n:n.isEmpty()&&".priority"!==r?this:(v.assert(".priority"!==r||1===t.getLength(),".priority must be the last token in a path"),this.updateImmediateChild(r,e.__childrenNodeConstructor.EMPTY_NODE.updateChild(t.popFront(),n)))},e.prototype.isEmpty=function(){return!1},e.prototype.numChildren=function(){return 0},e.prototype.forEachChild=function(e,t){return!1},e.prototype.val=function(e){return e&&!this.getPriority().isEmpty()?{".value":this.getValue(),".priority":this.getPriority().val()}:this.getValue()},e.prototype.hash=function(){if(null===this.lazyHash_){var e="";this.priorityNode_.isEmpty()||(e+="priority:"+De(this.priorityNode_.val())+":");var t=typeof this.value_;e+=t+":",e+="number"===t?Z(this.value_):this.value_,this.lazyHash_=O(e)}return this.lazyHash_},e.prototype.getValue=function(){return this.value_},e.prototype.compareTo=function(t){return t===e.__childrenNodeConstructor.EMPTY_NODE?1:t instanceof e.__childrenNodeConstructor?-1:(v.assert(t.isLeafNode(),"Unknown node type"),this.compareToLeafNode_(t))},e.prototype.compareToLeafNode_=function(t){var n=typeof t.value_,r=typeof this.value_,i=e.VALUE_TYPE_ORDER.indexOf(n),o=e.VALUE_TYPE_ORDER.indexOf(r);return v.assert(i>=0,"Unknown leaf type: "+n),v.assert(o>=0,"Unknown leaf type: "+r),i===o?"object"===r?0:this.value_<t.value_?-1:this.value_===t.value_?0:1:o-i},e.prototype.withIndex=function(){return this},e.prototype.isIndexed=function(){return!0},e.prototype.equals=function(e){if(e===this)return!0;if(e.isLeafNode()){var t=e;return this.value_===t.value_&&this.priorityNode_.equals(t.priorityNode_)}return!1},e.VALUE_TYPE_ORDER=["object","boolean","number","string"],e}(),We=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b.__extends(t,e),t.prototype.compare=function(e,t){var n=e.node.getPriority(),r=t.node.getPriority(),i=n.compareTo(r);return 0===i?H(e.name,t.name):i},t.prototype.isDefinedOn=function(e){return!e.getPriority().isEmpty()},t.prototype.indexedValueChanged=function(e,t){return!e.getPriority().equals(t.getPriority())},t.prototype.minPost=function(){return Ie.MIN},t.prototype.maxPost=function(){return new Ie(U,new je("[PRIORITY-POST]",p))},t.prototype.makePost=function(e,t){var n=h(e);return new Ie(t,new je("[PRIORITY-POST]",n))},t.prototype.toString=function(){return".priority"},t}(Re),Be=new We,Fe=function(){function e(e,t,n,r,i){void 0===i&&(i=null),this.isReverse_=r,this.resultGenerator_=i,this.nodeStack_=[];for(var o=1;!e.isEmpty();)if(e=e,o=t?n(e.key,t):1,r&&(o*=-1),o<0)e=this.isReverse_?e.left:e.right;else{if(0===o){this.nodeStack_.push(e);break}this.nodeStack_.push(e),e=this.isReverse_?e.right:e.left}}return e.prototype.getNext=function(){if(0===this.nodeStack_.length)return null;var e,t=this.nodeStack_.pop();if(e=this.resultGenerator_?this.resultGenerator_(t.key,t.value):{key:t.key,value:t.value},this.isReverse_)for(t=t.left;!t.isEmpty();)this.nodeStack_.push(t),t=t.right;else for(t=t.right;!t.isEmpty();)this.nodeStack_.push(t),t=t.left;return e},e.prototype.hasNext=function(){return this.nodeStack_.length>0},e.prototype.peek=function(){if(0===this.nodeStack_.length)return null;var e=this.nodeStack_[this.nodeStack_.length-1];return this.resultGenerator_?this.resultGenerator_(e.key,e.value):{key:e.key,value:e.value}},e}(),ze=function(){function e(t,n,r,i,o){this.key=t,this.value=n,this.color=null!=r?r:e.RED,this.left=null!=i?i:He.EMPTY_NODE,this.right=null!=o?o:He.EMPTY_NODE}return e.prototype.copy=function(t,n,r,i,o){return new e(null!=t?t:this.key,null!=n?n:this.value,null!=r?r:this.color,null!=i?i:this.left,null!=o?o:this.right)},e.prototype.count=function(){return this.left.count()+1+this.right.count()},e.prototype.isEmpty=function(){return!1},e.prototype.inorderTraversal=function(e){return this.left.inorderTraversal(e)||e(this.key,this.value)||this.right.inorderTraversal(e)},e.prototype.reverseTraversal=function(e){return this.right.reverseTraversal(e)||e(this.key,this.value)||this.left.reverseTraversal(e)},e.prototype.min_=function(){return this.left.isEmpty()?this:this.left.min_()},e.prototype.minKey=function(){return this.min_().key},e.prototype.maxKey=function(){return this.right.isEmpty()?this.key:this.right.maxKey()},e.prototype.insert=function(e,t,n){var r,i;return i=this,r=n(e,i.key),i=r<0?i.copy(null,null,null,i.left.insert(e,t,n),null):0===r?i.copy(null,t,null,null,null):i.copy(null,null,null,null,i.right.insert(e,t,n)),i.fixUp_()},e.prototype.removeMin_=function(){if(this.left.isEmpty())return He.EMPTY_NODE;var e=this;return e.left.isRed_()||e.left.left.isRed_()||(e=e.moveRedLeft_()),e=e.copy(null,null,null,e.left.removeMin_(),null),e.fixUp_()},e.prototype.remove=function(e,t){var n,r;if(n=this,t(e,n.key)<0)n.left.isEmpty()||n.left.isRed_()||n.left.left.isRed_()||(n=n.moveRedLeft_()),n=n.copy(null,null,null,n.left.remove(e,t),null);else{if(n.left.isRed_()&&(n=n.rotateRight_()),n.right.isEmpty()||n.right.isRed_()||n.right.left.isRed_()||(n=n.moveRedRight_()),0===t(e,n.key)){if(n.right.isEmpty())return He.EMPTY_NODE;r=n.right.min_(),n=n.copy(r.key,r.value,null,null,n.right.removeMin_())}n=n.copy(null,null,null,null,n.right.remove(e,t))}return n.fixUp_()},e.prototype.isRed_=function(){return this.color},e.prototype.fixUp_=function(){var e=this;return e.right.isRed_()&&!e.left.isRed_()&&(e=e.rotateLeft_()),e.left.isRed_()&&e.left.left.isRed_()&&(e=e.rotateRight_()),e.left.isRed_()&&e.right.isRed_()&&(e=e.colorFlip_()),e},e.prototype.moveRedLeft_=function(){var e=this.colorFlip_();return e.right.left.isRed_()&&(e=e.copy(null,null,null,null,e.right.rotateRight_()),e=e.rotateLeft_(),e=e.colorFlip_()),e},e.prototype.moveRedRight_=function(){var e=this.colorFlip_();return e.left.left.isRed_()&&(e=e.rotateRight_(),e=e.colorFlip_()),e},e.prototype.rotateLeft_=function(){var t=this.copy(null,null,e.RED,null,this.right.left);return this.right.copy(null,null,this.color,t,null)},e.prototype.rotateRight_=function(){var t=this.copy(null,null,e.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,t)},e.prototype.colorFlip_=function(){var e=this.left.copy(null,null,!this.left.color,null,null),t=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,e,t)},e.prototype.checkMaxDepth_=function(){var e=this.check_();return Math.pow(2,e)<=this.count()+1},e.prototype.check_=function(){var e;if(this.isRed_()&&this.left.isRed_())throw new Error("Red node has red child("+this.key+","+this.value+")");if(this.right.isRed_())throw new Error("Right child of ("+this.key+","+this.value+") is red");if((e=this.left.check_())!==this.right.check_())throw new Error("Black depths differ");return e+(this.isRed_()?0:1)},e.RED=!0,e.BLACK=!1,e}(),Ue=function(){function e(){}return e.prototype.copy=function(e,t,n,r,i){return this},e.prototype.insert=function(e,t,n){return new ze(e,t,null)},e.prototype.remove=function(e,t){return this},e.prototype.count=function(){return 0},e.prototype.isEmpty=function(){return!0},e.prototype.inorderTraversal=function(e){return!1},e.prototype.reverseTraversal=function(e){return!1},e.prototype.minKey=function(){return null},e.prototype.maxKey=function(){return null},e.prototype.check_=function(){return 0},e.prototype.isRed_=function(){return!1},e}(),He=function(){function e(t,n){void 0===n&&(n=e.EMPTY_NODE),this.comparator_=t,this.root_=n}return e.prototype.insert=function(t,n){return new e(this.comparator_,this.root_.insert(t,n,this.comparator_).copy(null,null,ze.BLACK,null,null))},e.prototype.remove=function(t){return new e(this.comparator_,this.root_.remove(t,this.comparator_).copy(null,null,ze.BLACK,null,null))},e.prototype.get=function(e){for(var t,n=this.root_;!n.isEmpty();){if(0===(t=this.comparator_(e,n.key)))return n.value;t<0?n=n.left:t>0&&(n=n.right)}return null},e.prototype.getPredecessorKey=function(e){for(var t,n=this.root_,r=null;!n.isEmpty();){if(0===(t=this.comparator_(e,n.key))){if(n.left.isEmpty())return r?r.key:null;for(n=n.left;!n.right.isEmpty();)n=n.right;return n.key}t<0?n=n.left:t>0&&(r=n,n=n.right)}throw new Error("Attempted to find predecessor key for a nonexistent key. What gives?")},e.prototype.isEmpty=function(){return this.root_.isEmpty()},e.prototype.count=function(){return this.root_.count()},e.prototype.minKey=function(){return this.root_.minKey()},e.prototype.maxKey=function(){return this.root_.maxKey()},e.prototype.inorderTraversal=function(e){return this.root_.inorderTraversal(e)},e.prototype.reverseTraversal=function(e){return this.root_.reverseTraversal(e)},e.prototype.getIterator=function(e){return new Fe(this.root_,null,this.comparator_,!1,e)},e.prototype.getIteratorFrom=function(e,t){return new Fe(this.root_,e,this.comparator_,!1,t)},e.prototype.getReverseIteratorFrom=function(e,t){return new Fe(this.root_,e,this.comparator_,!0,t)},e.prototype.getReverseIterator=function(e){return new Fe(this.root_,null,this.comparator_,!0,e)},e.EMPTY_NODE=new Ue,e}(),Ge=Math.log(2),qe=function(){function e(e){this.count=function(e){return parseInt(Math.log(e)/Ge,10)}(e+1),this.current_=this.count-1;var t=function(e){return parseInt(Array(e+1).join("1"),2)}(this.count);this.bits_=e+1&t}return e.prototype.nextBitIsOne=function(){var e=!(this.bits_&1<<this.current_);return this.current_--,e},e}(),Ve=function(e,t,n,r){e.sort(t);var i=function(t,r){var o,a,s=r-t;if(0==s)return null;if(1==s)return o=e[t],a=n?n(o):o,new ze(a,o.node,ze.BLACK,null,null);var l=parseInt(s/2,10)+t,u=i(t,l),c=i(l+1,r);return o=e[l],a=n?n(o):o,new ze(a,o.node,ze.BLACK,u,c)},o=new qe(e.length),a=function(t){for(var r=null,o=null,a=e.length,s=function(t,r){var o=a-t,s=a;a-=t;var u=i(o+1,s),c=e[o],d=n?n(c):c;l(new ze(d,c.node,r,null,u))},l=function(e){r?(r.left=e,r=e):(o=e,r=e)},u=0;u<t.count;++u){var c=t.nextBitIsOne(),d=Math.pow(2,t.count-(u+1));c?s(d,ze.BLACK):(s(d,ze.BLACK),s(d,ze.RED))}return o}(o);return new He(r||t,a)},Ke={},Ye=function(){function e(e,t){this.indexes_=e,this.indexSet_=t}return Object.defineProperty(e,"Default",{get:function(){return v.assert(Ke&&Be,"ChildrenNode.ts has not been loaded"),m=m||new e({".priority":Ke},{".priority":Be})},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var t=v.safeGet(this.indexes_,e);if(!t)throw new Error("No index defined for "+e);return t===Ke?null:t},e.prototype.hasIndex=function(e){return v.contains(this.indexSet_,e.toString())},e.prototype.addIndex=function(t,n){v.assert(t!==Me,"KeyIndex always exists and isn't meant to be added to the IndexMap.");for(var r=[],i=!1,o=n.getIterator(Ie.Wrap),a=o.getNext();a;)i=i||t.isDefinedOn(a.node),r.push(a),a=o.getNext();var s;s=i?Ve(r,t.getCompare()):Ke;var l=t.toString(),u=v.clone(this.indexSet_);u[l]=t;var c=v.clone(this.indexes_);return c[l]=s,new e(c,u)},e.prototype.addToIndexes=function(t,n){var r=this;return new e(v.map(this.indexes_,function(e,i){var o=v.safeGet(r.indexSet_,i);if(v.assert(o,"Missing index implementation for "+i),e===Ke){if(o.isDefinedOn(t.node)){for(var a=[],s=n.getIterator(Ie.Wrap),l=s.getNext();l;)l.name!=t.name&&a.push(l),l=s.getNext();return a.push(t),Ve(a,o.getCompare())}return Ke}var u=n.get(t.name),c=e;return u&&(c=c.remove(new Ie(t.name,u))),c.insert(t,t.node)}),this.indexSet_)},e.prototype.removeFromIndexes=function(t,n){return new e(v.map(this.indexes_,function(e){if(e===Ke)return e;var r=n.get(t.name);return r?e.remove(new Ie(t.name,r)):e}),this.indexSet_)},e}(),Ze=function(){function e(e,t,n){this.children_=e,this.priorityNode_=t,this.indexMap_=n,this.lazyHash_=null,this.priorityNode_&&Le(this.priorityNode_),this.children_.isEmpty()&&v.assert(!this.priorityNode_||this.priorityNode_.isEmpty(),"An empty node cannot have a priority")}return Object.defineProperty(e,"EMPTY_NODE",{get:function(){return g||(g=new e(new He(s),null,Ye.Default))},enumerable:!0,configurable:!0}),e.prototype.isLeafNode=function(){return!1},e.prototype.getPriority=function(){return this.priorityNode_||g},e.prototype.updatePriority=function(t){return this.children_.isEmpty()?this:new e(this.children_,t,this.indexMap_)},e.prototype.getImmediateChild=function(e){if(".priority"===e)return this.getPriority();var t=this.children_.get(e);return null===t?g:t},e.prototype.getChild=function(e){var t=e.getFront();return null===t?this:this.getImmediateChild(t).getChild(e.popFront())},e.prototype.hasChild=function(e){return null!==this.children_.get(e)},e.prototype.updateImmediateChild=function(t,n){if(v.assert(n,"We should always be passing snapshot nodes"),".priority"===t)return this.updatePriority(n);var r=new Ie(t,n),i=void 0,o=void 0,a=void 0;return n.isEmpty()?(i=this.children_.remove(t),o=this.indexMap_.removeFromIndexes(r,this.children_)):(i=this.children_.insert(t,n),o=this.indexMap_.addToIndexes(r,this.children_)),a=i.isEmpty()?g:this.priorityNode_,new e(i,a,o)},e.prototype.updateChild=function(e,t){var n=e.getFront();if(null===n)return t;v.assert(".priority"!==e.getFront()||1===e.getLength(),".priority must be the last token in a path");var r=this.getImmediateChild(n).updateChild(e.popFront(),t);return this.updateImmediateChild(n,r)},e.prototype.isEmpty=function(){return this.children_.isEmpty()},e.prototype.numChildren=function(){return this.children_.count()},e.prototype.val=function(t){if(this.isEmpty())return null;var n={},r=0,i=0,o=!0;if(this.forEachChild(Be,function(a,s){n[a]=s.val(t),r++,o&&e.INTEGER_REGEXP_.test(a)?i=Math.max(i,Number(a)):o=!1}),!t&&o&&i<2*r){var a=[];for(var s in n)a[s]=n[s];return a}return t&&!this.getPriority().isEmpty()&&(n[".priority"]=this.getPriority().val()),n},e.prototype.hash=function(){if(null===this.lazyHash_){var e="";this.getPriority().isEmpty()||(e+="priority:"+De(this.getPriority().val())+":"),this.forEachChild(Be,function(t,n){var r=n.hash();""!==r&&(e+=":"+t+":"+r)}),this.lazyHash_=""===e?"":O(e)}return this.lazyHash_},e.prototype.getPredecessorChildName=function(e,t,n){var r=this.resolveIndex_(n);if(r){var i=r.getPredecessorKey(new Ie(e,t));return i?i.name:null}return this.children_.getPredecessorKey(e)},e.prototype.getFirstChildName=function(e){var t=this.resolveIndex_(e);if(t){var n=t.minKey();return n&&n.name}return this.children_.minKey()},e.prototype.getFirstChild=function(e){var t=this.getFirstChildName(e);return t?new Ie(t,this.children_.get(t)):null},e.prototype.getLastChildName=function(e){var t=this.resolveIndex_(e);if(t){var n=t.maxKey();return n&&n.name}return this.children_.maxKey()},e.prototype.getLastChild=function(e){var t=this.getLastChildName(e);return t?new Ie(t,this.children_.get(t)):null},e.prototype.forEachChild=function(e,t){var n=this.resolveIndex_(e);return n?n.inorderTraversal(function(e){return t(e.name,e.node)}):this.children_.inorderTraversal(t)},e.prototype.getIterator=function(e){return this.getIteratorFrom(e.minPost(),e)},e.prototype.getIteratorFrom=function(e,t){var n=this.resolveIndex_(t);if(n)return n.getIteratorFrom(e,function(e){return e});for(var r=this.children_.getIteratorFrom(e.name,Ie.Wrap),i=r.peek();null!=i&&t.compare(i,e)<0;)r.getNext(),i=r.peek();return r},e.prototype.getReverseIterator=function(e){return this.getReverseIteratorFrom(e.maxPost(),e)},e.prototype.getReverseIteratorFrom=function(e,t){var n=this.resolveIndex_(t);if(n)return n.getReverseIteratorFrom(e,function(e){return e});for(var r=this.children_.getReverseIteratorFrom(e.name,Ie.Wrap),i=r.peek();null!=i&&t.compare(i,e)>0;)r.getNext(),i=r.peek();return r},e.prototype.compareTo=function(e){return this.isEmpty()?e.isEmpty()?0:-1:e.isLeafNode()||e.isEmpty()?1:e===Qe?-1:0},e.prototype.withIndex=function(t){if(t===Me||this.indexMap_.hasIndex(t))return this;var n=this.indexMap_.addIndex(t,this.children_);return new e(this.children_,this.priorityNode_,n)},e.prototype.isIndexed=function(e){return e===Me||this.indexMap_.hasIndex(e)},e.prototype.equals=function(e){if(e===this)return!0;if(e.isLeafNode())return!1;var t=e;if(this.getPriority().equals(t.getPriority())){if(this.children_.count()===t.children_.count()){for(var n=this.getIterator(Be),r=t.getIterator(Be),i=n.getNext(),o=r.getNext();i&&o;){if(i.name!==o.name||!i.node.equals(o.node))return!1;i=n.getNext(),o=r.getNext()}return null===i&&null===o}return!1}return!1},e.prototype.resolveIndex_=function(e){return e===Me?null:this.indexMap_.get(e.toString())},e.INTEGER_REGEXP_=/^(0|[1-9]\d*)$/,e}(),Xe=function(e){function t(){return e.call(this,new He(s),Ze.EMPTY_NODE,Ye.Default)||this}return b.__extends(t,e),t.prototype.compareTo=function(e){return e===this?0:1},t.prototype.equals=function(e){return e===this},t.prototype.getPriority=function(){return this},t.prototype.getImmediateChild=function(e){return Ze.EMPTY_NODE},t.prototype.isEmpty=function(){return!1},t}(Ze),Qe=new Xe;Object.defineProperties(Ie,{MIN:{value:new Ie(z,Ze.EMPTY_NODE)},MAX:{value:new Ie(U,Qe)}}),Ne.__EMPTY_NODE=Ze.EMPTY_NODE,je.__childrenNodeConstructor=Ze,function(e){d=e}(Qe),function(e){p=e}(Qe);var $e=!0;!function(e){h=e}(l);var Je,et,tt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b.__extends(t,e),t.prototype.compare=function(e,t){var n=e.node.compareTo(t.node);return 0===n?H(e.name,t.name):n},t.prototype.isDefinedOn=function(e){return!0},t.prototype.indexedValueChanged=function(e,t){return!e.equals(t)},t.prototype.minPost=function(){return Ie.MIN},t.prototype.maxPost=function(){return Ie.MAX},t.prototype.makePost=function(e,t){var n=l(e);return new Ie(t,n)},t.prototype.toString=function(){return".value"},t}(Re),nt=new tt,rt=function(e){function t(t){var n=e.call(this)||this;return n.indexPath_=t,v.assert(!t.isEmpty()&&".priority"!==t.getFront(),"Can't create PathIndex with empty path or .priority key"),n}return b.__extends(t,e),t.prototype.extractChild=function(e){return e.getChild(this.indexPath_)},t.prototype.isDefinedOn=function(e){return!e.getChild(this.indexPath_).isEmpty()},t.prototype.compare=function(e,t){var n=this.extractChild(e.node),r=this.extractChild(t.node),i=n.compareTo(r);return 0===i?H(e.name,t.name):i},t.prototype.makePost=function(e,t){var n=l(e),r=Ze.EMPTY_NODE.updateChild(this.indexPath_,n);return new Ie(t,r)},t.prototype.maxPost=function(){var e=Ze.EMPTY_NODE.updateChild(this.indexPath_,Qe);return new Ie(U,e)},t.prototype.toString=function(){return this.indexPath_.slice().join("/")},t}(Re),it=function(){function e(e,t,n){this.node_=e,this.ref_=t,this.index_=n}return e.prototype.val=function(){return v.validateArgCount("DataSnapshot.val",0,0,arguments.length),this.node_.val()},e.prototype.exportVal=function(){return v.validateArgCount("DataSnapshot.exportVal",0,0,arguments.length),this.node_.val(!0)},e.prototype.toJSON=function(){return v.validateArgCount("DataSnapshot.toJSON",0,1,arguments.length),this.exportVal()},e.prototype.exists=function(){return v.validateArgCount("DataSnapshot.exists",0,0,arguments.length),!this.node_.isEmpty()},e.prototype.child=function(t){v.validateArgCount("DataSnapshot.child",0,1,arguments.length),t=String(t),_e("DataSnapshot.child",1,t,!1);var n=new ie(t),r=this.ref_.child(n);return new e(this.node_.getChild(n),r,Be)},e.prototype.hasChild=function(e){v.validateArgCount("DataSnapshot.hasChild",1,1,arguments.length),_e("DataSnapshot.hasChild",1,e,!1);var t=new ie(e);return!this.node_.getChild(t).isEmpty()},e.prototype.getPriority=function(){return v.validateArgCount("DataSnapshot.getPriority",0,0,arguments.length),this.node_.getPriority().val()},e.prototype.forEach=function(t){var n=this;return v.validateArgCount("DataSnapshot.forEach",1,1,arguments.length),v.validateCallback("DataSnapshot.forEach",1,t,!1),!this.node_.isLeafNode()&&!!this.node_.forEachChild(this.index_,function(r,i){return t(new e(i,n.ref_.child(r),Be))})},e.prototype.hasChildren=function(){return v.validateArgCount("DataSnapshot.hasChildren",0,0,arguments.length),!this.node_.isLeafNode()&&!this.node_.isEmpty()},Object.defineProperty(e.prototype,"key",{get:function(){return this.ref_.getKey()},enumerable:!0,configurable:!0}),e.prototype.numChildren=function(){return v.validateArgCount("DataSnapshot.numChildren",0,0,arguments.length),this.node_.numChildren()},e.prototype.getRef=function(){return v.validateArgCount("DataSnapshot.ref",0,0,arguments.length),this.ref_},Object.defineProperty(e.prototype,"ref",{get:function(){return this.getRef()},enumerable:!0,configurable:!0}),e}(),ot=function(){function e(e,t,n,r){this.eventType=e,this.eventRegistration=t,this.snapshot=n,this.prevName=r}return e.prototype.getPath=function(){var e=this.snapshot.getRef();return"value"===this.eventType?e.path:e.getParent().path},e.prototype.getEventType=function(){return this.eventType},e.prototype.getEventRunner=function(){return this.eventRegistration.getEventRunner(this)},e.prototype.toString=function(){return this.getPath().toString()+":"+this.eventType+":"+v.stringify(this.snapshot.exportVal())},e}(),at=function(){function e(e,t,n){this.eventRegistration=e,this.error=t,this.path=n}return e.prototype.getPath=function(){return this.path},e.prototype.getEventType=function(){return"cancel"},e.prototype.getEventRunner=function(){return this.eventRegistration.getEventRunner(this)},e.prototype.toString=function(){return this.path.toString()+":cancel"},e}(),st=function(){function e(e,t,n){this.callback_=e,this.cancelCallback_=t,this.context_=n}return e.prototype.respondsTo=function(e){return"value"===e},e.prototype.createEvent=function(e,t){var n=t.getQueryParams().getIndex();return new ot("value",this,new it(e.snapshotNode,t.getRef(),n))},e.prototype.getEventRunner=function(e){var t=this.context_;if("cancel"===e.getEventType()){v.assert(this.cancelCallback_,"Raising a cancel event on a listener with no cancel callback");var n=this.cancelCallback_;return function(){n.call(t,e.error)}}var r=this.callback_;return function(){r.call(t,e.snapshot)}},e.prototype.createCancelEvent=function(e,t){return this.cancelCallback_?new at(this,e,t):null},e.prototype.matches=function(t){return t instanceof e&&(!t.callback_||!this.callback_||t.callback_===this.callback_&&t.context_===this.context_)},e.prototype.hasAnyCallback=function(){return null!==this.callback_},e}(),lt=function(){function e(e,t,n){this.callbacks_=e,this.cancelCallback_=t,this.context_=n}return e.prototype.respondsTo=function(e){var t="children_added"===e?"child_added":e;return t="children_removed"===t?"child_removed":t,v.contains(this.callbacks_,t)},e.prototype.createCancelEvent=function(e,t){return this.cancelCallback_?new at(this,e,t):null},e.prototype.createEvent=function(e,t){v.assert(null!=e.childName,"Child events should have a childName.");var n=t.getRef().child(e.childName),r=t.getQueryParams().getIndex();return new ot(e.type,this,new it(e.snapshotNode,n,r),e.prevName)},e.prototype.getEventRunner=function(e){var t=this.context_;if("cancel"===e.getEventType()){v.assert(this.cancelCallback_,"Raising a cancel event on a listener with no cancel callback");var n=this.cancelCallback_;return function(){n.call(t,e.error)}}var r=this.callbacks_[e.eventType];return function(){r.call(t,e.snapshot,e.prevName)}},e.prototype.matches=function(t){if(t instanceof e){if(!this.callbacks_||!t.callbacks_)return!0;if(this.context_===t.context_){var n=v.getCount(t.callbacks_);if(n===v.getCount(this.callbacks_)){if(1===n){var r=v.getAnyKey(t.callbacks_),i=v.getAnyKey(this.callbacks_);return i===r&&(!t.callbacks_[r]||!this.callbacks_[i]||t.callbacks_[r]===this.callbacks_[i])}return v.every(this.callbacks_,function(e,n){return t.callbacks_[e]===n})}}}return!1},e.prototype.hasAnyCallback=function(){return null!==this.callbacks_},e}(),ut=function(){function e(e,t,n,r){this.repo=e,this.path=t,this.queryParams_=n,this.orderByCalled_=r}return Object.defineProperty(e,"__referenceConstructor",{get:function(){return v.assert(Je,"Reference.ts has not been loaded"),Je},set:function(e){Je=e},enumerable:!0,configurable:!0}),e.validateQueryEndpoints_=function(e){var t=null,n=null;if(e.hasStart()&&(t=e.getIndexStartValue()),e.hasEnd()&&(n=e.getIndexEndValue()),e.getIndex()===Me){var r="Query: When ordering by key, you may only pass one argument to startAt(), endAt(), or equalTo().",i="Query: When ordering by key, the argument passed to startAt(), endAt(),or equalTo() must be a string.";if(e.hasStart()){if(e.getIndexStartName()!=z)throw new Error(r);if("string"!==typeof t)throw new Error(i)}if(e.hasEnd()){if(e.getIndexEndName()!=U)throw new Error(r);if("string"!==typeof n)throw new Error(i)}}else if(e.getIndex()===Be){if(null!=t&&!me(t)||null!=n&&!me(n))throw new Error("Query: When ordering by priority, the first argument passed to startAt(), endAt(), or equalTo() must be a valid priority value (null, a number, or a string).")}else if(v.assert(e.getIndex()instanceof rt||e.getIndex()===nt,"unknown index type."),null!=t&&"object"===typeof t||null!=n&&"object"===typeof n)throw new Error("Query: First argument passed to startAt(), endAt(), or equalTo() cannot be an object.")},e.validateLimit_=function(e){if(e.hasStart()&&e.hasEnd()&&e.hasLimit()&&!e.hasAnchoredLimit())throw new Error("Query: Can't combine startAt(), endAt(), and limit(). Use limitToFirst() or limitToLast() instead.")},e.prototype.validateNoPreviousOrderByCall_=function(e){if(!0===this.orderByCalled_)throw new Error(e+": You can't combine multiple orderBy calls.")},e.prototype.getQueryParams=function(){return this.queryParams_},e.prototype.getRef=function(){return v.validateArgCount("Query.ref",0,0,arguments.length),new e.__referenceConstructor(this.repo,this.path)},e.prototype.on=function(t,n,r,i){v.validateArgCount("Query.on",2,4,arguments.length),Ee("Query.on",1,t,!1),v.validateCallback("Query.on",2,n,!1);var o=e.getCancelAndContextArgs_("Query.on",r,i);if("value"===t)this.onValueEvent(n,o.cancel,o.context);else{var a={};a[t]=n,this.onChildEvent(a,o.cancel,o.context)}return n},e.prototype.onValueEvent=function(e,t,n){var r=new st(e,t||null,n||null);this.repo.addEventCallbackForQuery(this,r)},e.prototype.onChildEvent=function(e,t,n){var r=new lt(e,t,n);this.repo.addEventCallbackForQuery(this,r)},e.prototype.off=function(e,t,n){v.validateArgCount("Query.off",0,3,arguments.length),Ee("Query.off",1,e,!0),v.validateCallback("Query.off",2,t,!0),v.validateContextObject("Query.off",3,n,!0);var r=null,i=null;if("value"===e){r=new st(t||null,null,n||null)}else e&&(t&&(i={},i[e]=t),r=new lt(i,null,n||null));this.repo.removeEventCallbackForQuery(this,r)},e.prototype.once=function(t,n,r,i){var o=this;v.validateArgCount("Query.once",1,4,arguments.length),Ee("Query.once",1,t,!1),v.validateCallback("Query.once",2,n,!0);var a=e.getCancelAndContextArgs_("Query.once",r,i),s=!0,l=new v.Deferred;l.promise.catch(function(){});var u=function(e){s&&(s=!1,o.off(t,u),n&&n.bind(a.context)(e),l.resolve(e))};return this.on(t,u,function(e){o.off(t,u),a.cancel&&a.cancel.bind(a.context)(e),l.reject(e)}),l.promise},e.prototype.limitToFirst=function(t){if(v.validateArgCount("Query.limitToFirst",1,1,arguments.length),"number"!==typeof t||Math.floor(t)!==t||t<=0)throw new Error("Query.limitToFirst: First argument must be a positive integer.");if(this.queryParams_.hasLimit())throw new Error("Query.limitToFirst: Limit was already set (by another call to limit, limitToFirst, or limitToLast).");return new e(this.repo,this.path,this.queryParams_.limitToFirst(t),this.orderByCalled_)},e.prototype.limitToLast=function(t){if(v.validateArgCount("Query.limitToLast",1,1,arguments.length),"number"!==typeof t||Math.floor(t)!==t||t<=0)throw new Error("Query.limitToLast: First argument must be a positive integer.");if(this.queryParams_.hasLimit())throw new Error("Query.limitToLast: Limit was already set (by another call to limit, limitToFirst, or limitToLast).");return new e(this.repo,this.path,this.queryParams_.limitToLast(t),this.orderByCalled_)},e.prototype.orderByChild=function(t){if(v.validateArgCount("Query.orderByChild",1,1,arguments.length),"$key"===t)throw new Error('Query.orderByChild: "$key" is invalid. Use Query.orderByKey() instead.');if("$priority"===t)throw new Error('Query.orderByChild: "$priority" is invalid. Use Query.orderByPriority() instead.');if("$value"===t)throw new Error('Query.orderByChild: "$value" is invalid. Use Query.orderByValue() instead.');_e("Query.orderByChild",1,t,!1),this.validateNoPreviousOrderByCall_("Query.orderByChild");var n=new ie(t);if(n.isEmpty())throw new Error("Query.orderByChild: cannot pass in empty path. Use Query.orderByValue() instead.");var r=new rt(n),i=this.queryParams_.orderBy(r);return e.validateQueryEndpoints_(i),new e(this.repo,this.path,i,!0)},e.prototype.orderByKey=function(){v.validateArgCount("Query.orderByKey",0,0,arguments.length),this.validateNoPreviousOrderByCall_("Query.orderByKey");var t=this.queryParams_.orderBy(Me);return e.validateQueryEndpoints_(t),new e(this.repo,this.path,t,!0)},e.prototype.orderByPriority=function(){v.validateArgCount("Query.orderByPriority",0,0,arguments.length),this.validateNoPreviousOrderByCall_("Query.orderByPriority");var t=this.queryParams_.orderBy(Be);return e.validateQueryEndpoints_(t),new e(this.repo,this.path,t,!0)},e.prototype.orderByValue=function(){v.validateArgCount("Query.orderByValue",0,0,arguments.length),this.validateNoPreviousOrderByCall_("Query.orderByValue");var t=this.queryParams_.orderBy(nt);return e.validateQueryEndpoints_(t),new e(this.repo,this.path,t,!0)},e.prototype.startAt=function(t,n){void 0===t&&(t=null),v.validateArgCount("Query.startAt",0,2,arguments.length),ge("Query.startAt",1,t,this.path,!0),Te("Query.startAt",2,n,!0);var r=this.queryParams_.startAt(t,n);if(e.validateLimit_(r),e.validateQueryEndpoints_(r),this.queryParams_.hasStart())throw new Error("Query.startAt: Starting point was already set (by another call to startAt or equalTo).");return void 0===t&&(t=null,n=null),new e(this.repo,this.path,r,this.orderByCalled_)},e.prototype.endAt=function(t,n){void 0===t&&(t=null),v.validateArgCount("Query.endAt",0,2,arguments.length),ge("Query.endAt",1,t,this.path,!0),Te("Query.endAt",2,n,!0);var r=this.queryParams_.endAt(t,n);if(e.validateLimit_(r),e.validateQueryEndpoints_(r),this.queryParams_.hasEnd())throw new Error("Query.endAt: Ending point was already set (by another call to endAt or equalTo).");return new e(this.repo,this.path,r,this.orderByCalled_)},e.prototype.equalTo=function(e,t){if(v.validateArgCount("Query.equalTo",1,2,arguments.length),ge("Query.equalTo",1,e,this.path,!1),Te("Query.equalTo",2,t,!0),this.queryParams_.hasStart())throw new Error("Query.equalTo: Starting point was already set (by another call to startAt or equalTo).");if(this.queryParams_.hasEnd())throw new Error("Query.equalTo: Ending point was already set (by another call to endAt or equalTo).");return this.startAt(e,t).endAt(e,t)},e.prototype.toString=function(){return v.validateArgCount("Query.toString",0,0,arguments.length),this.repo.toString()+this.path.toUrlEncodedString()},e.prototype.toJSON=function(){return v.validateArgCount("Query.toJSON",0,1,arguments.length),this.toString()},e.prototype.queryObject=function(){return this.queryParams_.getQueryObject()},e.prototype.queryIdentifier=function(){var e=this.queryObject(),t=V(e);return"{}"===t?"default":t},e.prototype.isEqual=function(t){if(v.validateArgCount("Query.isEqual",1,1,arguments.length),!(t instanceof e)){throw new Error("Query.isEqual failed: First argument must be an instance of firebase.database.Query.")}var n=this.repo===t.repo,r=this.path.equals(t.path),i=this.queryIdentifier()===t.queryIdentifier();return n&&r&&i},e.getCancelAndContextArgs_=function(e,t,n){var r={cancel:null,context:null};if(t&&n)r.cancel=t,v.validateCallback(e,3,r.cancel,!0),r.context=n,v.validateContextObject(e,4,r.context,!0);else if(t)if("object"===typeof t&&null!==t)r.context=t;else{if("function"!==typeof t)throw new Error(v.errorPrefix(e,3,!0)+" must either be a cancel callback or a context object.");r.cancel=t}return r},Object.defineProperty(e.prototype,"ref",{get:function(){return this.getRef()},enumerable:!0,configurable:!0}),e}(),ct=function(){function e(){this.set={}}return e.prototype.add=function(e,t){this.set[e]=null===t||t},e.prototype.contains=function(e){return v.contains(this.set,e)},e.prototype.get=function(e){return this.contains(e)?this.set[e]:void 0},e.prototype.remove=function(e){delete this.set[e]},e.prototype.clear=function(){this.set={}},e.prototype.isEmpty=function(){return v.isEmpty(this.set)},e.prototype.count=function(){return v.getCount(this.set)},e.prototype.each=function(e){v.forEach(this.set,function(t,n){return e(t,n)})},e.prototype.keys=function(){var e=[];return v.forEach(this.set,function(t){e.push(t)}),e},e}(),dt=function(){function e(){this.value_=null,this.children_=null}return e.prototype.find=function(e){if(null!=this.value_)return this.value_.getChild(e);if(e.isEmpty()||null==this.children_)return null;var t=e.getFront();if(e=e.popFront(),this.children_.contains(t)){return this.children_.get(t).find(e)}return null},e.prototype.remember=function(t,n){if(t.isEmpty())this.value_=n,this.children_=null;else if(null!==this.value_)this.value_=this.value_.updateChild(t,n);else{null==this.children_&&(this.children_=new ct);var r=t.getFront();this.children_.contains(r)||this.children_.add(r,new e);var i=this.children_.get(r);t=t.popFront(),i.remember(t,n)}},e.prototype.forget=function(e){if(e.isEmpty())return this.value_=null,this.children_=null,!0;if(null!==this.value_){if(this.value_.isLeafNode())return!1;var t=this.value_;this.value_=null;var n=this;return t.forEachChild(Be,function(e,t){n.remember(new ie(e),t)}),this.forget(e)}if(null!==this.children_){var r=e.getFront();if(e=e.popFront(),this.children_.contains(r)){this.children_.get(r).forget(e)&&this.children_.remove(r)}return!!this.children_.isEmpty()&&(this.children_=null,!0)}return!0},e.prototype.forEachTree=function(e,t){null!==this.value_?t(e,this.value_):this.forEachChild(function(n,r){var i=new ie(e.toString()+"/"+n);r.forEachTree(i,t)})},e.prototype.forEachChild=function(e){null!==this.children_&&this.children_.each(function(t,n){e(t,n)})},e}(),ft=function(e){return e=e||{},e.timestamp=e.timestamp||(new Date).getTime(),e},ht=function(e,t){return e&&"object"===typeof e?(v.assert(".sv"in e,"Unexpected leaf node or priority contents"),t[e[".sv"]]):e},pt=function(e,t){var n=new dt;return e.forEachTree(new ie(""),function(e,r){n.remember(e,mt(r,t))}),n},mt=function(e,t){var n,r=e.getPriority().val(),i=ht(r,t);if(e.isLeafNode()){var o=e,a=ht(o.getValue(),t);return a!==o.getValue()||i!==o.getPriority().val()?new je(a,l(i)):e}var s=e;return n=s,i!==s.getPriority().val()&&(n=n.updatePriority(new je(i))),s.forEachChild(Be,function(e,r){var i=mt(r,t);i!==r&&(n=n.updateImmediateChild(e,i))}),n};!function(e){e[e.OVERWRITE=0]="OVERWRITE",e[e.MERGE=1]="MERGE",e[e.ACK_USER_WRITE=2]="ACK_USER_WRITE",e[e.LISTEN_COMPLETE=3]="LISTEN_COMPLETE"}(et||(et={}));var gt,vt,yt=function(){function e(e,t,n,r){this.fromUser=e,this.fromServer=t,this.queryId=n,this.tagged=r,v.assert(!r||t,"Tagged queries must be from server.")}return e.User=new e(!0,!1,null,!1),e.Server=new e(!1,!0,null,!1),e.forServerTaggedQuery=function(t){return new e(!1,!0,t,!0)},e}(),bt=function(){function e(e,t,n){this.path=e,this.affectedTree=t,this.revert=n,this.type=et.ACK_USER_WRITE,this.source=yt.User}return e.prototype.operationForChild=function(t){if(this.path.isEmpty()){if(null!=this.affectedTree.value)return v.assert(this.affectedTree.children.isEmpty(),"affectedTree should not have overlapping affected paths."),this;var n=this.affectedTree.subtree(new ie(t));return new e(ie.Empty,n,this.revert)}return v.assert(this.path.getFront()===t,"operationForChild called for unrelated child."),new e(this.path.popFront(),this.affectedTree,this.revert)},e}(),wt=function(){return gt||(gt=new He(G)),gt},Et=function(){function e(e,t){void 0===t&&(t=wt()),this.value=e,this.children=t}return e.fromObject=function(t){var n=e.Empty;return v.forEach(t,function(e,t){n=n.set(new ie(e),t)}),n},e.prototype.isEmpty=function(){return null===this.value&&this.children.isEmpty()},e.prototype.findRootMostMatchingPathAndValue=function(e,t){if(null!=this.value&&t(this.value))return{path:ie.Empty,value:this.value};if(e.isEmpty())return null;var n=e.getFront(),r=this.children.get(n);if(null!==r){var i=r.findRootMostMatchingPathAndValue(e.popFront(),t);if(null!=i){return{path:new ie(n).child(i.path),value:i.value}}return null}return null},e.prototype.findRootMostValueAndPath=function(e){return this.findRootMostMatchingPathAndValue(e,function(){return!0})},e.prototype.subtree=function(t){if(t.isEmpty())return this;var n=t.getFront(),r=this.children.get(n);return null!==r?r.subtree(t.popFront()):e.Empty},e.prototype.set=function(t,n){if(t.isEmpty())return new e(n,this.children);var r=t.getFront(),i=this.children.get(r)||e.Empty,o=i.set(t.popFront(),n),a=this.children.insert(r,o);return new e(this.value,a)},e.prototype.remove=function(t){if(t.isEmpty())return this.children.isEmpty()?e.Empty:new e(null,this.children);var n=t.getFront(),r=this.children.get(n);if(r){var i=r.remove(t.popFront()),o=void 0;return o=i.isEmpty()?this.children.remove(n):this.children.insert(n,i),null===this.value&&o.isEmpty()?e.Empty:new e(this.value,o)}return this},e.prototype.get=function(e){if(e.isEmpty())return this.value;var t=e.getFront(),n=this.children.get(t);return n?n.get(e.popFront()):null},e.prototype.setTree=function(t,n){if(t.isEmpty())return n;var r=t.getFront(),i=this.children.get(r)||e.Empty,o=i.setTree(t.popFront(),n),a=void 0;return a=o.isEmpty()?this.children.remove(r):this.children.insert(r,o),new e(this.value,a)},e.prototype.fold=function(e){return this.fold_(ie.Empty,e)},e.prototype.fold_=function(e,t){var n={};return this.children.inorderTraversal(function(r,i){n[r]=i.fold_(e.child(r),t)}),t(e,this.value,n)},e.prototype.findOnPath=function(e,t){return this.findOnPath_(e,ie.Empty,t)},e.prototype.findOnPath_=function(e,t,n){var r=!!this.value&&n(t,this.value);if(r)return r;if(e.isEmpty())return null;var i=e.getFront(),o=this.children.get(i);return o?o.findOnPath_(e.popFront(),t.child(i),n):null},e.prototype.foreachOnPath=function(e,t){return this.foreachOnPath_(e,ie.Empty,t)},e.prototype.foreachOnPath_=function(t,n,r){if(t.isEmpty())return this;this.value&&r(n,this.value);var i=t.getFront(),o=this.children.get(i);return o?o.foreachOnPath_(t.popFront(),n.child(i),r):e.Empty},e.prototype.foreach=function(e){this.foreach_(ie.Empty,e)},e.prototype.foreach_=function(e,t){this.children.inorderTraversal(function(n,r){r.foreach_(e.child(n),t)}),this.value&&t(e,this.value)},e.prototype.foreachChild=function(e){this.children.inorderTraversal(function(t,n){n.value&&e(t,n.value)})},e.Empty=new e(null),e}(),Tt=function(){function e(e,t){this.source=e,this.path=t,this.type=et.LISTEN_COMPLETE}return e.prototype.operationForChild=function(t){return this.path.isEmpty()?new e(this.source,ie.Empty):new e(this.source,this.path.popFront())},e}(),_t=function(){function e(e,t,n){this.source=e,this.path=t,this.snap=n,this.type=et.OVERWRITE}return e.prototype.operationForChild=function(t){return this.path.isEmpty()?new e(this.source,ie.Empty,this.snap.getImmediateChild(t)):new e(this.source,this.path.popFront(),this.snap)},e}(),kt=function(){function e(e,t,n){this.source=e,this.path=t,this.children=n,this.type=et.MERGE}return e.prototype.operationForChild=function(t){if(this.path.isEmpty()){var n=this.children.subtree(new ie(t));return n.isEmpty()?null:n.value?new _t(this.source,ie.Empty,n.value):new e(this.source,ie.Empty,n)}return v.assert(this.path.getFront()===t,"Can't get a merge for a child not on the path of the operation"),new e(this.source,this.path.popFront(),this.children)},e.prototype.toString=function(){return"Operation("+this.path+": "+this.source.toString()+" merge: "+this.children.toString()+")"},e}(),xt=function(){function e(e,t,n){this.node_=e,this.fullyInitialized_=t,this.filtered_=n}return e.prototype.isFullyInitialized=function(){return this.fullyInitialized_},e.prototype.isFiltered=function(){return this.filtered_},e.prototype.isCompleteForPath=function(e){if(e.isEmpty())return this.isFullyInitialized()&&!this.filtered_;var t=e.getFront();return this.isCompleteForChild(t)},e.prototype.isCompleteForChild=function(e){return this.isFullyInitialized()&&!this.filtered_||this.node_.hasChild(e)},e.prototype.getNode=function(){return this.node_},e}(),St=function(){function e(e,t){this.eventCache_=e,this.serverCache_=t}return e.prototype.updateEventSnap=function(t,n,r){return new e(new xt(t,n,r),this.serverCache_)},e.prototype.updateServerSnap=function(t,n,r){return new e(this.eventCache_,new xt(t,n,r))},e.prototype.getEventCache=function(){return this.eventCache_},e.prototype.getCompleteEventSnap=function(){return this.eventCache_.isFullyInitialized()?this.eventCache_.getNode():null},e.prototype.getServerCache=function(){return this.serverCache_},e.prototype.getCompleteServerSnap=function(){return this.serverCache_.isFullyInitialized()?this.serverCache_.getNode():null},e.Empty=new e(new xt(Ze.EMPTY_NODE,!1,!1),new xt(Ze.EMPTY_NODE,!1,!1)),e}(),Ct=function(){function e(e,t,n,r,i){this.type=e,this.snapshotNode=t,this.childName=n,this.oldSnap=r,this.prevName=i}return e.valueChange=function(t){return new e(e.VALUE,t)},e.childAddedChange=function(t,n){return new e(e.CHILD_ADDED,n,t)},e.childRemovedChange=function(t,n){return new e(e.CHILD_REMOVED,n,t)},e.childChangedChange=function(t,n,r){return new e(e.CHILD_CHANGED,n,t,r)},e.childMovedChange=function(t,n){return new e(e.CHILD_MOVED,n,t)},e.CHILD_ADDED="child_added",e.CHILD_REMOVED="child_removed",e.CHILD_CHANGED="child_changed",e.CHILD_MOVED="child_moved",e.VALUE="value",e}(),Ot=function(){function e(e){this.index_=e}return e.prototype.updateChild=function(e,t,n,r,i,o){v.assert(e.isIndexed(this.index_),"A node must be indexed if only a child is updated");var a=e.getImmediateChild(t);return a.getChild(r).equals(n.getChild(r))&&a.isEmpty()==n.isEmpty()?e:(null!=o&&(n.isEmpty()?e.hasChild(t)?o.trackChildChange(Ct.childRemovedChange(t,a)):v.assert(e.isLeafNode(),"A child remove without an old child only makes sense on a leaf node"):a.isEmpty()?o.trackChildChange(Ct.childAddedChange(t,n)):o.trackChildChange(Ct.childChangedChange(t,n,a))),e.isLeafNode()&&n.isEmpty()?e:e.updateImmediateChild(t,n).withIndex(this.index_))},e.prototype.updateFullNode=function(e,t,n){return null!=n&&(e.isLeafNode()||e.forEachChild(Be,function(e,r){t.hasChild(e)||n.trackChildChange(Ct.childRemovedChange(e,r))}),t.isLeafNode()||t.forEachChild(Be,function(t,r){if(e.hasChild(t)){var i=e.getImmediateChild(t);i.equals(r)||n.trackChildChange(Ct.childChangedChange(t,r,i))}else n.trackChildChange(Ct.childAddedChange(t,r))})),t.withIndex(this.index_)},e.prototype.updatePriority=function(e,t){return e.isEmpty()?Ze.EMPTY_NODE:e.updatePriority(t)},e.prototype.filtersNodes=function(){return!1},e.prototype.getIndexedFilter=function(){return this},e.prototype.getIndex=function(){return this.index_},e}(),At=function(){function e(){this.changeMap_={}}return e.prototype.trackChildChange=function(e){var t=e.type,n=e.childName;v.assert(t==Ct.CHILD_ADDED||t==Ct.CHILD_CHANGED||t==Ct.CHILD_REMOVED,"Only child changes supported for tracking"),v.assert(".priority"!==n,"Only non-priority child changes can be tracked.");var r=v.safeGet(this.changeMap_,n);if(r){var i=r.type;if(t==Ct.CHILD_ADDED&&i==Ct.CHILD_REMOVED)this.changeMap_[n]=Ct.childChangedChange(n,e.snapshotNode,r.snapshotNode);else if(t==Ct.CHILD_REMOVED&&i==Ct.CHILD_ADDED)delete this.changeMap_[n];else if(t==Ct.CHILD_REMOVED&&i==Ct.CHILD_CHANGED)this.changeMap_[n]=Ct.childRemovedChange(n,r.oldSnap);else if(t==Ct.CHILD_CHANGED&&i==Ct.CHILD_ADDED)this.changeMap_[n]=Ct.childAddedChange(n,e.snapshotNode);else{if(t!=Ct.CHILD_CHANGED||i!=Ct.CHILD_CHANGED)throw v.assertionError("Illegal combination of changes: "+e+" occurred after "+r);this.changeMap_[n]=Ct.childChangedChange(n,e.snapshotNode,r.oldSnap)}}else this.changeMap_[n]=e},e.prototype.getChanges=function(){return v.getValues(this.changeMap_)},e}(),Pt=function(){function e(){}return e.prototype.getCompleteChild=function(e){return null},e.prototype.getChildAfterChild=function(e,t,n){return null},e}(),It=new Pt,Rt=function(){function e(e,t,n){void 0===n&&(n=null),this.writes_=e,this.viewCache_=t,this.optCompleteServerCache_=n}return e.prototype.getCompleteChild=function(e){var t=this.viewCache_.getEventCache();if(t.isCompleteForChild(e))return t.getNode().getImmediateChild(e);var n=null!=this.optCompleteServerCache_?new xt(this.optCompleteServerCache_,!0,!1):this.viewCache_.getServerCache();return this.writes_.calcCompleteChild(e,n)},e.prototype.getChildAfterChild=function(e,t,n){var r=null!=this.optCompleteServerCache_?this.optCompleteServerCache_:this.viewCache_.getCompleteServerSnap(),i=this.writes_.calcIndexedSlice(r,t,1,n,e);return 0===i.length?null:i[0]},e}(),Nt=function(){function e(e,t){this.viewCache=e,this.changes=t}return e}(),Mt=function(){function e(e){this.filter_=e}return e.prototype.assertIndexed=function(e){v.assert(e.getEventCache().getNode().isIndexed(this.filter_.getIndex()),"Event snap not indexed"),v.assert(e.getServerCache().getNode().isIndexed(this.filter_.getIndex()),"Server snap not indexed")},e.prototype.applyOperation=function(t,n,r,i){var o,a,s=new At;if(n.type===et.OVERWRITE){var l=n;l.source.fromUser?o=this.applyUserOverwrite_(t,l.path,l.snap,r,i,s):(v.assert(l.source.fromServer,"Unknown source."),a=l.source.tagged||t.getServerCache().isFiltered()&&!l.path.isEmpty(),o=this.applyServerOverwrite_(t,l.path,l.snap,r,i,a,s))}else if(n.type===et.MERGE){var u=n;u.source.fromUser?o=this.applyUserMerge_(t,u.path,u.children,r,i,s):(v.assert(u.source.fromServer,"Unknown source."),a=u.source.tagged||t.getServerCache().isFiltered(),o=this.applyServerMerge_(t,u.path,u.children,r,i,a,s))}else if(n.type===et.ACK_USER_WRITE){var c=n;o=c.revert?this.revertUserWrite_(t,c.path,r,i,s):this.ackUserWrite_(t,c.path,c.affectedTree,r,i,s)}else{if(n.type!==et.LISTEN_COMPLETE)throw v.assertionError("Unknown operation type: "+n.type);o=this.listenComplete_(t,n.path,r,s)}var d=s.getChanges();return e.maybeAddValueEvent_(t,o,d),new Nt(o,d)},e.maybeAddValueEvent_=function(e,t,n){var r=t.getEventCache();if(r.isFullyInitialized()){var i=r.getNode().isLeafNode()||r.getNode().isEmpty(),o=e.getCompleteEventSnap();(n.length>0||!e.getEventCache().isFullyInitialized()||i&&!r.getNode().equals(o)||!r.getNode().getPriority().equals(o.getPriority()))&&n.push(Ct.valueChange(t.getCompleteEventSnap()))}},e.prototype.generateEventCacheAfterServerEvent_=function(e,t,n,r,i){var o=e.getEventCache();if(null!=n.shadowingWrite(t))return e;var a=void 0,s=void 0;if(t.isEmpty())if(v.assert(e.getServerCache().isFullyInitialized(),"If change path is empty, we must have complete server data"),e.getServerCache().isFiltered()){var l=e.getCompleteServerSnap(),u=l instanceof Ze?l:Ze.EMPTY_NODE,c=n.calcCompleteEventChildren(u);a=this.filter_.updateFullNode(e.getEventCache().getNode(),c,i)}else{var d=n.calcCompleteEventCache(e.getCompleteServerSnap());a=this.filter_.updateFullNode(e.getEventCache().getNode(),d,i)}else{var f=t.getFront();if(".priority"==f){v.assert(1==t.getLength(),"Can't have a priority with additional path components");var h=o.getNode();s=e.getServerCache().getNode();var p=n.calcEventCacheAfterServerOverwrite(t,h,s);a=null!=p?this.filter_.updatePriority(h,p):o.getNode()}else{var m=t.popFront(),g=void 0;if(o.isCompleteForChild(f)){s=e.getServerCache().getNode();var y=n.calcEventCacheAfterServerOverwrite(t,o.getNode(),s);g=null!=y?o.getNode().getImmediateChild(f).updateChild(m,y):o.getNode().getImmediateChild(f)}else g=n.calcCompleteChild(f,e.getServerCache());a=null!=g?this.filter_.updateChild(o.getNode(),f,g,m,r,i):o.getNode()}}return e.updateEventSnap(a,o.isFullyInitialized()||t.isEmpty(),this.filter_.filtersNodes())},e.prototype.applyServerOverwrite_=function(e,t,n,r,i,o,a){var s,l=e.getServerCache(),u=o?this.filter_:this.filter_.getIndexedFilter();if(t.isEmpty())s=u.updateFullNode(l.getNode(),n,null);else if(u.filtersNodes()&&!l.isFiltered()){var c=l.getNode().updateChild(t,n);s=u.updateFullNode(l.getNode(),c,null)}else{var d=t.getFront();if(!l.isCompleteForPath(t)&&t.getLength()>1)return e;var f=t.popFront(),h=l.getNode().getImmediateChild(d),p=h.updateChild(f,n);s=".priority"==d?u.updatePriority(l.getNode(),p):u.updateChild(l.getNode(),d,p,f,It,null)}var m=e.updateServerSnap(s,l.isFullyInitialized()||t.isEmpty(),u.filtersNodes()),g=new Rt(r,m,i);return this.generateEventCacheAfterServerEvent_(m,t,r,g,a)},e.prototype.applyUserOverwrite_=function(e,t,n,r,i,o){var a,s,l=e.getEventCache(),u=new Rt(r,e,i);if(t.isEmpty())s=this.filter_.updateFullNode(e.getEventCache().getNode(),n,o),a=e.updateEventSnap(s,!0,this.filter_.filtersNodes());else{var c=t.getFront();if(".priority"===c)s=this.filter_.updatePriority(e.getEventCache().getNode(),n),a=e.updateEventSnap(s,l.isFullyInitialized(),l.isFiltered());else{var d=t.popFront(),f=l.getNode().getImmediateChild(c),h=void 0;if(d.isEmpty())h=n;else{var p=u.getCompleteChild(c);h=null!=p?".priority"===d.getBack()&&p.getChild(d.parent()).isEmpty()?p:p.updateChild(d,n):Ze.EMPTY_NODE}if(f.equals(h))a=e;else{var m=this.filter_.updateChild(l.getNode(),c,h,d,u,o);a=e.updateEventSnap(m,l.isFullyInitialized(),this.filter_.filtersNodes())}}}return a},e.cacheHasChild_=function(e,t){return e.getEventCache().isCompleteForChild(t)},e.prototype.applyUserMerge_=function(t,n,r,i,o,a){var s=this,l=t;return r.foreach(function(r,u){var c=n.child(r);e.cacheHasChild_(t,c.getFront())&&(l=s.applyUserOverwrite_(l,c,u,i,o,a))}),r.foreach(function(r,u){var c=n.child(r);e.cacheHasChild_(t,c.getFront())||(l=s.applyUserOverwrite_(l,c,u,i,o,a))}),l},e.prototype.applyMerge_=function(e,t){return t.foreach(function(t,n){e=e.updateChild(t,n)}),e},e.prototype.applyServerMerge_=function(e,t,n,r,i,o,a){var s=this;if(e.getServerCache().getNode().isEmpty()&&!e.getServerCache().isFullyInitialized())return e;var l,u=e;l=t.isEmpty()?n:Et.Empty.setTree(t,n);var c=e.getServerCache().getNode();return l.children.inorderTraversal(function(t,n){if(c.hasChild(t)){var l=e.getServerCache().getNode().getImmediateChild(t),d=s.applyMerge_(l,n);u=s.applyServerOverwrite_(u,new ie(t),d,r,i,o,a)}}),l.children.inorderTraversal(function(t,n){var l=!e.getServerCache().isCompleteForChild(t)&&null==n.value;if(!c.hasChild(t)&&!l){var d=e.getServerCache().getNode().getImmediateChild(t),f=s.applyMerge_(d,n);u=s.applyServerOverwrite_(u,new ie(t),f,r,i,o,a)}}),u},e.prototype.ackUserWrite_=function(e,t,n,r,i,o){if(null!=r.shadowingWrite(t))return e;var a=e.getServerCache().isFiltered(),s=e.getServerCache();if(null!=n.value){if(t.isEmpty()&&s.isFullyInitialized()||s.isCompleteForPath(t))return this.applyServerOverwrite_(e,t,s.getNode().getChild(t),r,i,a,o);if(t.isEmpty()){var l=Et.Empty;return s.getNode().forEachChild(Me,function(e,t){l=l.set(new ie(e),t)}),this.applyServerMerge_(e,t,l,r,i,a,o)}return e}var u=Et.Empty;return n.foreach(function(e,n){var r=t.child(e);s.isCompleteForPath(r)&&(u=u.set(e,s.getNode().getChild(r)))}),this.applyServerMerge_(e,t,u,r,i,a,o)},e.prototype.listenComplete_=function(e,t,n,r){var i=e.getServerCache(),o=e.updateServerSnap(i.getNode(),i.isFullyInitialized()||t.isEmpty(),i.isFiltered());return this.generateEventCacheAfterServerEvent_(o,t,n,It,r)},e.prototype.revertUserWrite_=function(e,t,n,r,i){var o;if(null!=n.shadowingWrite(t))return e;var a=new Rt(n,e,r),s=e.getEventCache().getNode(),l=void 0;if(t.isEmpty()||".priority"===t.getFront()){var u=void 0;if(e.getServerCache().isFullyInitialized())u=n.calcCompleteEventCache(e.getCompleteServerSnap());else{var c=e.getServerCache().getNode();v.assert(c instanceof Ze,"serverChildren would be complete if leaf node"),u=n.calcCompleteEventChildren(c)}u=u,l=this.filter_.updateFullNode(s,u,i)}else{var d=t.getFront(),f=n.calcCompleteChild(d,e.getServerCache());null==f&&e.getServerCache().isCompleteForChild(d)&&(f=s.getImmediateChild(d)),l=null!=f?this.filter_.updateChild(s,d,f,t.popFront(),a,i):e.getEventCache().getNode().hasChild(d)?this.filter_.updateChild(s,d,Ze.EMPTY_NODE,t.popFront(),a,i):s,l.isEmpty()&&e.getServerCache().isFullyInitialized()&&(o=n.calcCompleteEventCache(e.getCompleteServerSnap()),o.isLeafNode()&&(l=this.filter_.updateFullNode(l,o,i)))}return o=e.getServerCache().isFullyInitialized()||null!=n.shadowingWrite(ie.Empty),e.updateEventSnap(l,o,this.filter_.filtersNodes())},e}(),Dt=function(){function e(e){this.query_=e,this.index_=this.query_.getQueryParams().getIndex()}return e.prototype.generateEventsForChanges=function(e,t,n){var r=this,i=[],o=[];return e.forEach(function(e){e.type===Ct.CHILD_CHANGED&&r.index_.indexedValueChanged(e.oldSnap,e.snapshotNode)&&o.push(Ct.childMovedChange(e.childName,e.snapshotNode))}),this.generateEventsForType_(i,Ct.CHILD_REMOVED,e,n,t),this.generateEventsForType_(i,Ct.CHILD_ADDED,e,n,t),this.generateEventsForType_(i,Ct.CHILD_MOVED,o,n,t),this.generateEventsForType_(i,Ct.CHILD_CHANGED,e,n,t),this.generateEventsForType_(i,Ct.VALUE,e,n,t),i},e.prototype.generateEventsForType_=function(e,t,n,r,i){var o=this,a=n.filter(function(e){return e.type===t});a.sort(this.compareChanges_.bind(this)),a.forEach(function(t){var n=o.materializeSingleChange_(t,i);r.forEach(function(r){r.respondsTo(t.type)&&e.push(r.createEvent(n,o.query_))})})},e.prototype.materializeSingleChange_=function(e,t){return"value"===e.type||"child_removed"===e.type?e:(e.prevName=t.getPredecessorChildName(e.childName,e.snapshotNode,this.index_),e)},e.prototype.compareChanges_=function(e,t){if(null==e.childName||null==t.childName)throw v.assertionError("Should only compare child_ events.");var n=new Ie(e.childName,e.snapshotNode),r=new Ie(t.childName,t.snapshotNode);return this.index_.compare(n,r)},e}(),Lt=function(){function e(e,t){this.query_=e,this.eventRegistrations_=[];var n=this.query_.getQueryParams(),r=new Ot(n.getIndex()),i=n.getNodeFilter();this.processor_=new Mt(i);var o=t.getServerCache(),a=t.getEventCache(),s=r.updateFullNode(Ze.EMPTY_NODE,o.getNode(),null),l=i.updateFullNode(Ze.EMPTY_NODE,a.getNode(),null),u=new xt(s,o.isFullyInitialized(),r.filtersNodes()),c=new xt(l,a.isFullyInitialized(),i.filtersNodes());this.viewCache_=new St(c,u),this.eventGenerator_=new Dt(this.query_)}return e.prototype.getQuery=function(){return this.query_},e.prototype.getServerCache=function(){return this.viewCache_.getServerCache().getNode()},e.prototype.getCompleteServerCache=function(e){var t=this.viewCache_.getCompleteServerSnap();return t&&(this.query_.getQueryParams().loadsAllData()||!e.isEmpty()&&!t.getImmediateChild(e.getFront()).isEmpty())?t.getChild(e):null},e.prototype.isEmpty=function(){return 0===this.eventRegistrations_.length},e.prototype.addEventRegistration=function(e){this.eventRegistrations_.push(e)},e.prototype.removeEventRegistration=function(e,t){var n=[];if(t){v.assert(null==e,"A cancel should cancel all event registrations.");var r=this.query_.path;this.eventRegistrations_.forEach(function(e){t=t;var i=e.createCancelEvent(t,r);i&&n.push(i)})}if(e){for(var i=[],o=0;o<this.eventRegistrations_.length;++o){var a=this.eventRegistrations_[o];if(a.matches(e)){if(e.hasAnyCallback()){i=i.concat(this.eventRegistrations_.slice(o+1));break}}else i.push(a)}this.eventRegistrations_=i}else this.eventRegistrations_=[];return n},e.prototype.applyOperation=function(e,t,n){e.type===et.MERGE&&null!==e.source.queryId&&(v.assert(this.viewCache_.getCompleteServerSnap(),"We should always have a full cache before handling merges"),v.assert(this.viewCache_.getCompleteEventSnap(),"Missing event cache, even though we have a server cache"));var r=this.viewCache_,i=this.processor_.applyOperation(r,e,t,n);return this.processor_.assertIndexed(i.viewCache),v.assert(i.viewCache.getServerCache().isFullyInitialized()||!r.getServerCache().isFullyInitialized(),"Once a server snap is complete, it should never go back"),this.viewCache_=i.viewCache,this.generateEventsForChanges_(i.changes,i.viewCache.getEventCache().getNode(),null)},e.prototype.getInitialEvents=function(e){var t=this.viewCache_.getEventCache(),n=[];if(!t.getNode().isLeafNode()){t.getNode().forEachChild(Be,function(e,t){n.push(Ct.childAddedChange(e,t))})}return t.isFullyInitialized()&&n.push(Ct.valueChange(t.getNode())),this.generateEventsForChanges_(n,t.getNode(),e)},e.prototype.generateEventsForChanges_=function(e,t,n){var r=n?[n]:this.eventRegistrations_;return this.eventGenerator_.generateEventsForChanges(e,t,r)},e}(),jt=function(){function e(){this.views_={}}return Object.defineProperty(e,"__referenceConstructor",{get:function(){return v.assert(vt,"Reference.ts has not been loaded"),vt},set:function(e){v.assert(!vt,"__referenceConstructor has already been defined"),vt=e},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return v.isEmpty(this.views_)},e.prototype.applyOperation=function(e,t,n){var r=e.source.queryId;if(null!==r){var i=v.safeGet(this.views_,r);return v.assert(null!=i,"SyncTree gave us an op for an invalid query."),i.applyOperation(e,t,n)}var o=[];return v.forEach(this.views_,function(r,i){o=o.concat(i.applyOperation(e,t,n))}),o},e.prototype.addEventRegistration=function(e,t,n,r,i){var o=e.queryIdentifier(),a=v.safeGet(this.views_,o);if(!a){var s=n.calcCompleteEventCache(i?r:null),l=!1;s?l=!0:r instanceof Ze?(s=n.calcCompleteEventChildren(r),l=!1):(s=Ze.EMPTY_NODE,l=!1);var u=new St(new xt(s,l,!1),new xt(r,i,!1));a=new Lt(e,u),this.views_[o]=a}return a.addEventRegistration(t),a.getInitialEvents(t)},e.prototype.removeEventRegistration=function(t,n,r){var i=t.queryIdentifier(),o=[],a=[],s=this.hasCompleteView();if("default"===i){var l=this;v.forEach(this.views_,function(e,t){a=a.concat(t.removeEventRegistration(n,r)),t.isEmpty()&&(delete l.views_[e],t.getQuery().getQueryParams().loadsAllData()||o.push(t.getQuery()))})}else{var u=v.safeGet(this.views_,i);u&&(a=a.concat(u.removeEventRegistration(n,r)),u.isEmpty()&&(delete this.views_[i],u.getQuery().getQueryParams().loadsAllData()||o.push(u.getQuery())))}return s&&!this.hasCompleteView()&&o.push(new e.__referenceConstructor(t.repo,t.path)),{removed:o,events:a}},e.prototype.getQueryViews=function(){var e=this;return Object.keys(this.views_).map(function(t){return e.views_[t]}).filter(function(e){return!e.getQuery().getQueryParams().loadsAllData()})},e.prototype.getCompleteServerCache=function(e){var t=null;return v.forEach(this.views_,function(n,r){t=t||r.getCompleteServerCache(e)}),t},e.prototype.viewForQuery=function(e){if(e.getQueryParams().loadsAllData())return this.getCompleteView();var t=e.queryIdentifier();return v.safeGet(this.views_,t)},e.prototype.viewExistsForQuery=function(e){return null!=this.viewForQuery(e)},e.prototype.hasCompleteView=function(){return null!=this.getCompleteView()},e.prototype.getCompleteView=function(){return v.findValue(this.views_,function(e){return e.getQuery().getQueryParams().loadsAllData()})||null},e}(),Wt=function(){function e(e){this.writeTree_=e}return e.prototype.addWrite=function(t,n){if(t.isEmpty())return new e(new Et(n));var r=this.writeTree_.findRootMostValueAndPath(t);if(null!=r){var i=r.path,o=r.value,a=ie.relativePath(i,t);return o=o.updateChild(a,n),new e(this.writeTree_.set(i,o))}var s=new Et(n);return new e(this.writeTree_.setTree(t,s))},e.prototype.addWrites=function(e,t){var n=this;return v.forEach(t,function(t,r){n=n.addWrite(e.child(t),r)}),n},e.prototype.removeWrite=function(t){return t.isEmpty()?e.Empty:new e(this.writeTree_.setTree(t,Et.Empty))},e.prototype.hasCompleteWrite=function(e){return null!=this.getCompleteNode(e)},e.prototype.getCompleteNode=function(e){var t=this.writeTree_.findRootMostValueAndPath(e);return null!=t?this.writeTree_.get(t.path).getChild(ie.relativePath(t.path,e)):null},e.prototype.getCompleteChildren=function(){var e=[],t=this.writeTree_.value;return null!=t?t.isLeafNode()||t.forEachChild(Be,function(t,n){e.push(new Ie(t,n))}):this.writeTree_.children.inorderTraversal(function(t,n){null!=n.value&&e.push(new Ie(t,n.value))}),e},e.prototype.childCompoundWrite=function(t){if(t.isEmpty())return this;var n=this.getCompleteNode(t);return new e(null!=n?new Et(n):this.writeTree_.subtree(t))},e.prototype.isEmpty=function(){return this.writeTree_.isEmpty()},e.prototype.apply=function(t){return e.applySubtreeWrite_(ie.Empty,this.writeTree_,t)},e.Empty=new e(new Et(null)),e.applySubtreeWrite_=function(t,n,r){if(null!=n.value)return r.updateChild(t,n.value);var i=null;return n.children.inorderTraversal(function(n,o){".priority"===n?(v.assert(null!==o.value,"Priority writes must always be leaf nodes"),i=o.value):r=e.applySubtreeWrite_(t.child(n),o,r)}),r.getChild(t).isEmpty()||null===i||(r=r.updateChild(t.child(".priority"),i)),r},e}(),Bt=function(){function e(){this.visibleWrites_=Wt.Empty,this.allWrites_=[],this.lastWriteId_=-1}return e.prototype.childWrites=function(e){return new Ft(e,this)},e.prototype.addOverwrite=function(e,t,n,r){v.assert(n>this.lastWriteId_,"Stacking an older write on top of newer ones"),void 0===r&&(r=!0),this.allWrites_.push({path:e,snap:t,writeId:n,visible:r}),r&&(this.visibleWrites_=this.visibleWrites_.addWrite(e,t)),this.lastWriteId_=n},e.prototype.addMerge=function(e,t,n){v.assert(n>this.lastWriteId_,"Stacking an older merge on top of newer ones"),this.allWrites_.push({path:e,children:t,writeId:n,visible:!0}),this.visibleWrites_=this.visibleWrites_.addWrites(e,t),this.lastWriteId_=n},e.prototype.getWrite=function(e){for(var t=0;t<this.allWrites_.length;t++){var n=this.allWrites_[t];if(n.writeId===e)return n}return null},e.prototype.removeWrite=function(e){var t=this,n=this.allWrites_.findIndex(function(t){return t.writeId===e});v.assert(n>=0,"removeWrite called with nonexistent writeId.");var r=this.allWrites_[n];this.allWrites_.splice(n,1);for(var i=r.visible,o=!1,a=this.allWrites_.length-1;i&&a>=0;){var s=this.allWrites_[a];s.visible&&(a>=n&&this.recordContainsPath_(s,r.path)?i=!1:r.path.contains(s.path)&&(o=!0)),a--}if(i){if(o)return this.resetTree_(),!0;if(r.snap)this.visibleWrites_=this.visibleWrites_.removeWrite(r.path);else{var l=r.children;v.forEach(l,function(e){t.visibleWrites_=t.visibleWrites_.removeWrite(r.path.child(e))})}return!0}return!1},e.prototype.getCompleteWriteData=function(e){return this.visibleWrites_.getCompleteNode(e)},e.prototype.calcCompleteEventCache=function(t,n,r,i){if(r||i){var o=this.visibleWrites_.childCompoundWrite(t);if(!i&&o.isEmpty())return n;if(i||null!=n||o.hasCompleteWrite(ie.Empty)){var a=function(e){return(e.visible||i)&&(!r||!~r.indexOf(e.writeId))&&(e.path.contains(t)||t.contains(e.path))},s=e.layerTree_(this.allWrites_,a,t),l=n||Ze.EMPTY_NODE;return s.apply(l)}return null}var u=this.visibleWrites_.getCompleteNode(t);if(null!=u)return u;var c=this.visibleWrites_.childCompoundWrite(t);if(c.isEmpty())return n;if(null!=n||c.hasCompleteWrite(ie.Empty)){var l=n||Ze.EMPTY_NODE;return c.apply(l)}return null},e.prototype.calcCompleteEventChildren=function(e,t){var n=Ze.EMPTY_NODE,r=this.visibleWrites_.getCompleteNode(e);if(r)return r.isLeafNode()||r.forEachChild(Be,function(e,t){n=n.updateImmediateChild(e,t)}),n;if(t){var i=this.visibleWrites_.childCompoundWrite(e);return t.forEachChild(Be,function(e,t){var r=i.childCompoundWrite(new ie(e)).apply(t);n=n.updateImmediateChild(e,r)}),i.getCompleteChildren().forEach(function(e){n=n.updateImmediateChild(e.name,e.node)}),n}return this.visibleWrites_.childCompoundWrite(e).getCompleteChildren().forEach(function(e){n=n.updateImmediateChild(e.name,e.node)}),n},e.prototype.calcEventCacheAfterServerOverwrite=function(e,t,n,r){v.assert(n||r,"Either existingEventSnap or existingServerSnap must exist");var i=e.child(t);if(this.visibleWrites_.hasCompleteWrite(i))return null;var o=this.visibleWrites_.childCompoundWrite(i);return o.isEmpty()?r.getChild(t):o.apply(r.getChild(t))},e.prototype.calcCompleteChild=function(e,t,n){var r=e.child(t),i=this.visibleWrites_.getCompleteNode(r);if(null!=i)return i;if(n.isCompleteForChild(t)){return this.visibleWrites_.childCompoundWrite(r).apply(n.getNode().getImmediateChild(t))}return null},e.prototype.shadowingWrite=function(e){return this.visibleWrites_.getCompleteNode(e)},e.prototype.calcIndexedSlice=function(e,t,n,r,i,o){var a,s=this.visibleWrites_.childCompoundWrite(e),l=s.getCompleteNode(ie.Empty);if(null!=l)a=l;else{if(null==t)return[];a=s.apply(t)}if(a=a.withIndex(o),a.isEmpty()||a.isLeafNode())return[];for(var u=[],c=o.getCompare(),d=i?a.getReverseIteratorFrom(n,o):a.getIteratorFrom(n,o),f=d.getNext();f&&u.length<r;)0!==c(f,n)&&u.push(f),f=d.getNext();return u},e.prototype.recordContainsPath_=function(e,t){return e.snap?e.path.contains(t):!!v.findKey(e.children,function(n,r){return e.path.child(r).contains(t)})},e.prototype.resetTree_=function(){this.visibleWrites_=e.layerTree_(this.allWrites_,e.DefaultFilter_,ie.Empty),this.allWrites_.length>0?this.lastWriteId_=this.allWrites_[this.allWrites_.length-1].writeId:this.lastWriteId_=-1},e.DefaultFilter_=function(e){return e.visible},e.layerTree_=function(e,t,n){for(var r=Wt.Empty,i=0;i<e.length;++i){var o=e[i];if(t(o)){var a=o.path,s=void 0;if(o.snap)n.contains(a)?(s=ie.relativePath(n,a),r=r.addWrite(s,o.snap)):a.contains(n)&&(s=ie.relativePath(a,n),r=r.addWrite(ie.Empty,o.snap.getChild(s)));else{if(!o.children)throw v.assertionError("WriteRecord should have .snap or .children");if(n.contains(a))s=ie.relativePath(n,a),r=r.addWrites(s,o.children);else if(a.contains(n))if(s=ie.relativePath(a,n),s.isEmpty())r=r.addWrites(ie.Empty,o.children);else{var l=v.safeGet(o.children,s.getFront());if(l){var u=l.getChild(s.popFront());r=r.addWrite(ie.Empty,u)}}}}}return r},e}(),Ft=function(){function e(e,t){this.treePath_=e,this.writeTree_=t}return e.prototype.calcCompleteEventCache=function(e,t,n){return this.writeTree_.calcCompleteEventCache(this.treePath_,e,t,n)},e.prototype.calcCompleteEventChildren=function(e){return this.writeTree_.calcCompleteEventChildren(this.treePath_,e)},e.prototype.calcEventCacheAfterServerOverwrite=function(e,t,n){return this.writeTree_.calcEventCacheAfterServerOverwrite(this.treePath_,e,t,n)},e.prototype.shadowingWrite=function(e){return this.writeTree_.shadowingWrite(this.treePath_.child(e))},e.prototype.calcIndexedSlice=function(e,t,n,r,i){return this.writeTree_.calcIndexedSlice(this.treePath_,e,t,n,r,i)},e.prototype.calcCompleteChild=function(e,t){return this.writeTree_.calcCompleteChild(this.treePath_,e,t)},e.prototype.child=function(t){return new e(this.treePath_.child(t),this.writeTree_)},e}(),zt=function(){function e(e){this.listenProvider_=e,this.syncPointTree_=Et.Empty,this.pendingWriteTree_=new Bt,this.tagToQueryMap_={},this.queryToTagMap_={}}return e.prototype.applyUserOverwrite=function(e,t,n,r){return this.pendingWriteTree_.addOverwrite(e,t,n,r),r?this.applyOperationToSyncPoints_(new _t(yt.User,e,t)):[]},e.prototype.applyUserMerge=function(e,t,n){this.pendingWriteTree_.addMerge(e,t,n);var r=Et.fromObject(t);return this.applyOperationToSyncPoints_(new kt(yt.User,e,r))},e.prototype.ackUserWrite=function(e,t){void 0===t&&(t=!1);var n=this.pendingWriteTree_.getWrite(e);if(this.pendingWriteTree_.removeWrite(e)){var r=Et.Empty;return null!=n.snap?r=r.set(ie.Empty,!0):v.forEach(n.children,function(e,t){r=r.set(new ie(e),t)}),this.applyOperationToSyncPoints_(new bt(n.path,r,t))}return[]},e.prototype.applyServerOverwrite=function(e,t){return this.applyOperationToSyncPoints_(new _t(yt.Server,e,t))},e.prototype.applyServerMerge=function(e,t){var n=Et.fromObject(t);return this.applyOperationToSyncPoints_(new kt(yt.Server,e,n))},e.prototype.applyListenComplete=function(e){return this.applyOperationToSyncPoints_(new Tt(yt.Server,e))},e.prototype.applyTaggedQueryOverwrite=function(t,n,r){var i=this.queryKeyForTag_(r);if(null!=i){var o=e.parseQueryKey_(i),a=o.path,s=o.queryId,l=ie.relativePath(a,t),u=new _t(yt.forServerTaggedQuery(s),l,n);return this.applyTaggedOperation_(a,u)}return[]},e.prototype.applyTaggedQueryMerge=function(t,n,r){var i=this.queryKeyForTag_(r);if(i){var o=e.parseQueryKey_(i),a=o.path,s=o.queryId,l=ie.relativePath(a,t),u=Et.fromObject(n),c=new kt(yt.forServerTaggedQuery(s),l,u);return this.applyTaggedOperation_(a,c)}return[]},e.prototype.applyTaggedListenComplete=function(t,n){var r=this.queryKeyForTag_(n);if(r){var i=e.parseQueryKey_(r),o=i.path,a=i.queryId,s=ie.relativePath(o,t),l=new Tt(yt.forServerTaggedQuery(a),s);return this.applyTaggedOperation_(o,l)}return[]},e.prototype.addEventRegistration=function(t,n){var r=t.path,i=null,o=!1;this.syncPointTree_.foreachOnPath(r,function(e,t){var n=ie.relativePath(e,r);i=i||t.getCompleteServerCache(n),o=o||t.hasCompleteView()});var a=this.syncPointTree_.get(r);a?(o=o||a.hasCompleteView(),i=i||a.getCompleteServerCache(ie.Empty)):(a=new jt,this.syncPointTree_=this.syncPointTree_.set(r,a));var s;if(null!=i)s=!0;else{s=!1,i=Ze.EMPTY_NODE;this.syncPointTree_.subtree(r).foreachChild(function(e,t){var n=t.getCompleteServerCache(ie.Empty);n&&(i=i.updateImmediateChild(e,n))})}var l=a.viewExistsForQuery(t);if(!l&&!t.getQueryParams().loadsAllData()){var u=e.makeQueryKey_(t);v.assert(!(u in this.queryToTagMap_),"View does not exist, but we have a tag");var c=e.getNextQueryTag_();this.queryToTagMap_[u]=c,this.tagToQueryMap_["_"+c]=u}var d=this.pendingWriteTree_.childWrites(r),f=a.addEventRegistration(t,n,d,i,s);if(!l&&!o){var h=a.viewForQuery(t);f=f.concat(this.setupListener_(t,h))}return f},e.prototype.removeEventRegistration=function(t,n,r){var i=this,o=t.path,a=this.syncPointTree_.get(o),s=[];if(a&&("default"===t.queryIdentifier()||a.viewExistsForQuery(t))){var l=a.removeEventRegistration(t,n,r);a.isEmpty()&&(this.syncPointTree_=this.syncPointTree_.remove(o));var u=l.removed;s=l.events;var c=-1!==u.findIndex(function(e){return e.getQueryParams().loadsAllData()}),d=this.syncPointTree_.findOnPath(o,function(e,t){return t.hasCompleteView()});if(c&&!d){var f=this.syncPointTree_.subtree(o);if(!f.isEmpty())for(var h=this.collectDistinctViewsForSubTree_(f),p=0;p<h.length;++p){var m=h[p],g=m.getQuery(),v=this.createListenerForView_(m);this.listenProvider_.startListening(e.queryForListening_(g),this.tagForQuery_(g),v.hashFn,v.onComplete)}}if(!d&&u.length>0&&!r)if(c){this.listenProvider_.stopListening(e.queryForListening_(t),null)}else u.forEach(function(t){var n=i.queryToTagMap_[e.makeQueryKey_(t)];i.listenProvider_.stopListening(e.queryForListening_(t),n)});this.removeTags_(u)}return s},e.prototype.calcCompleteEventCache=function(e,t){var n=this.pendingWriteTree_,r=this.syncPointTree_.findOnPath(e,function(t,n){var r=ie.relativePath(t,e),i=n.getCompleteServerCache(r);if(i)return i});return n.calcCompleteEventCache(e,r,t,!0)},e.prototype.collectDistinctViewsForSubTree_=function(e){return e.fold(function(e,t,n){if(t&&t.hasCompleteView()){return[t.getCompleteView()]}var r=[];return t&&(r=t.getQueryViews()),v.forEach(n,function(e,t){r=r.concat(t)}),r})},e.prototype.removeTags_=function(t){for(var n=0;n<t.length;++n){var r=t[n];if(!r.getQueryParams().loadsAllData()){var i=e.makeQueryKey_(r),o=this.queryToTagMap_[i];delete this.queryToTagMap_[i],delete this.tagToQueryMap_["_"+o]}}},e.queryForListening_=function(e){return e.getQueryParams().loadsAllData()&&!e.getQueryParams().isDefault()?e.getRef():e},e.prototype.setupListener_=function(t,n){var r=t.path,i=this.tagForQuery_(t),o=this.createListenerForView_(n),a=this.listenProvider_.startListening(e.queryForListening_(t),i,o.hashFn,o.onComplete),s=this.syncPointTree_.subtree(r);if(i)v.assert(!s.value.hasCompleteView(),"If we're adding a query, it shouldn't be shadowed");else for(var l=s.fold(function(e,t,n){if(!e.isEmpty()&&t&&t.hasCompleteView())return[t.getCompleteView().getQuery()];var r=[];return t&&(r=r.concat(t.getQueryViews().map(function(e){return e.getQuery()}))),v.forEach(n,function(e,t){r=r.concat(t)}),r}),u=0;u<l.length;++u){var c=l[u];this.listenProvider_.stopListening(e.queryForListening_(c),this.tagForQuery_(c))}return a},e.prototype.createListenerForView_=function(e){var t=this,n=e.getQuery(),r=this.tagForQuery_(n);return{hashFn:function(){return(e.getServerCache()||Ze.EMPTY_NODE).hash()},onComplete:function(e){if("ok"===e)return r?t.applyTaggedListenComplete(n.path,r):t.applyListenComplete(n.path);var i=$(e,n);return t.removeEventRegistration(n,null,i)}}},e.makeQueryKey_=function(e){return e.path.toString()+"$"+e.queryIdentifier()},e.parseQueryKey_=function(e){var t=e.indexOf("$");return v.assert(-1!==t&&t<e.length-1,"Bad queryKey."),{queryId:e.substr(t+1),path:new ie(e.substr(0,t))}},e.prototype.queryKeyForTag_=function(e){return this.tagToQueryMap_["_"+e]},e.prototype.tagForQuery_=function(t){var n=e.makeQueryKey_(t);return v.safeGet(this.queryToTagMap_,n)},e.getNextQueryTag_=function(){return e.nextQueryTag_++},e.prototype.applyTaggedOperation_=function(e,t){var n=this.syncPointTree_.get(e);v.assert(n,"Missing sync point for query tag that we're tracking");var r=this.pendingWriteTree_.childWrites(e);return n.applyOperation(t,r,null)},e.prototype.applyOperationToSyncPoints_=function(e){return this.applyOperationHelper_(e,this.syncPointTree_,null,this.pendingWriteTree_.childWrites(ie.Empty))},e.prototype.applyOperationHelper_=function(e,t,n,r){if(e.path.isEmpty())return this.applyOperationDescendantsHelper_(e,t,n,r);var i=t.get(ie.Empty);null==n&&null!=i&&(n=i.getCompleteServerCache(ie.Empty));var o=[],a=e.path.getFront(),s=e.operationForChild(a),l=t.children.get(a);if(l&&s){var u=n?n.getImmediateChild(a):null,c=r.child(a);o=o.concat(this.applyOperationHelper_(s,l,u,c))}return i&&(o=o.concat(i.applyOperation(e,r,n))),o},e.prototype.applyOperationDescendantsHelper_=function(e,t,n,r){var i=this,o=t.get(ie.Empty);null==n&&null!=o&&(n=o.getCompleteServerCache(ie.Empty));var a=[];return t.children.inorderTraversal(function(t,o){var s=n?n.getImmediateChild(t):null,l=r.child(t),u=e.operationForChild(t);u&&(a=a.concat(i.applyOperationDescendantsHelper_(u,o,s,l)))}),o&&(a=a.concat(o.applyOperation(e,r,n))),a},e.nextQueryTag_=1,e}(),Ut=function(){function e(){this.rootNode_=Ze.EMPTY_NODE}return e.prototype.getNode=function(e){return this.rootNode_.getChild(e)},e.prototype.updateSnapshot=function(e,t){this.rootNode_=this.rootNode_.updateChild(e,t)},e}(),Ht=function(){function e(e){this.app_=e}return e.prototype.getToken=function(e){return this.app_.INTERNAL.getToken(e).then(null,function(e){return e&&"auth/token-not-initialized"===e.code?(N("Got auth/token-not-initialized error. Treating as null token."),null):Promise.reject(e)})},e.prototype.addTokenChangeListener=function(e){this.app_.INTERNAL.addAuthTokenListener(e)},e.prototype.removeTokenChangeListener=function(e){this.app_.INTERNAL.removeAuthTokenListener(e)},e.prototype.notifyForInvalidToken=function(){var e='Provided authentication credentials for the app named "'+this.app_.name+'" are invalid. This usually indicates your app was not initialized correctly. ';"credential"in this.app_.options?e+='Make sure the "credential" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project.':"serviceAccount"in this.app_.options?e+='Make sure the "serviceAccount" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project.':e+='Make sure the "apiKey" and "databaseURL" properties provided to initializeApp() match the values provided for your app at https://console.firebase.google.com/.',j(e)},e}(),Gt=function(){function e(){this.counters_={}}return e.prototype.incrementCounter=function(e,t){void 0===t&&(t=1),v.contains(this.counters_,e)||(this.counters_[e]=0),this.counters_[e]+=t},e.prototype.get=function(){return v.deepCopy(this.counters_)},e}(),qt=function(){function e(){}return e.getCollection=function(e){var t=e.toString();return this.collections_[t]||(this.collections_[t]=new Gt),this.collections_[t]},e.getOrCreateReporter=function(e,t){var n=e.toString();return this.reporters_[n]||(this.reporters_[n]=t()),this.reporters_[n]},e.collections_={},e.reporters_={},e}(),Vt=function(){function e(e){this.collection_=e,this.last_=null}return e.prototype.get=function(){var e=this.collection_.get(),t=v.clone(e);return this.last_&&v.forEach(this.last_,function(e,n){t[e]=t[e]-n}),this.last_=e,t},e}(),Kt=1e4,Yt=3e4,Zt=function(){function e(e,t){this.server_=t,this.statsToReport_={},this.statsListener_=new Vt(e);var n=Kt+(Yt-Kt)*Math.random();re(this.reportStats_.bind(this),Math.floor(n))}return e.prototype.includeStat=function(e){this.statsToReport_[e]=!0},e.prototype.reportStats_=function(){var e=this,t=this.statsListener_.get(),n={},r=!1;v.forEach(t,function(t,i){i>0&&v.contains(e.statsToReport_,t)&&(n[t]=i,r=!0)}),r&&this.server_.reportStats(n),re(this.reportStats_.bind(this),Math.floor(2*Math.random()*3e5))},e}(),Xt=function(){function e(){this.eventLists_=[],this.recursionDepth_=0}return e.prototype.queueEvents=function(e){for(var t=null,n=0;n<e.length;n++){var r=e[n],i=r.getPath();null===t||i.equals(t.getPath())||(this.eventLists_.push(t),t=null),null===t&&(t=new Qt(i)),t.add(r)}t&&this.eventLists_.push(t)},e.prototype.raiseEventsAtPath=function(e,t){this.queueEvents(t),this.raiseQueuedEventsMatchingPredicate_(function(t){return t.equals(e)})},e.prototype.raiseEventsForChangedPath=function(e,t){this.queueEvents(t),this.raiseQueuedEventsMatchingPredicate_(function(t){return t.contains(e)||e.contains(t)})},e.prototype.raiseQueuedEventsMatchingPredicate_=function(e){this.recursionDepth_++;for(var t=!0,n=0;n<this.eventLists_.length;n++){var r=this.eventLists_[n];if(r){e(r.getPath())?(this.eventLists_[n].raise(),this.eventLists_[n]=null):t=!1}}t&&(this.eventLists_=[]),this.recursionDepth_--},e}(),Qt=function(){function e(e){this.path_=e,this.events_=[]}return e.prototype.add=function(e){this.events_.push(e)},e.prototype.raise=function(){for(var e=0;e<this.events_.length;e++){var t=this.events_[e];if(null!==t){this.events_[e]=null;var n=t.getEventRunner();P&&N("event: "+t.toString()),te(n)}}},e.prototype.getPath=function(){return this.path_},e}(),$t=function(){function e(e){this.allowedEvents_=e,this.listeners_={},v.assert(Array.isArray(e)&&e.length>0,"Requires a non-empty array")}return e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Array.isArray(this.listeners_[e]))for(var r=this.listeners_[e].slice(),i=0;i<r.length;i++)r[i].callback.apply(r[i].context,t)},e.prototype.on=function(e,t,n){this.validateEventType_(e),this.listeners_[e]=this.listeners_[e]||[],this.listeners_[e].push({callback:t,context:n});var r=this.getInitialEvent(e);r&&t.apply(n,r)},e.prototype.off=function(e,t,n){this.validateEventType_(e);for(var r=this.listeners_[e]||[],i=0;i<r.length;i++)if(r[i].callback===t&&(!n||n===r[i].context))return void r.splice(i,1)},e.prototype.validateEventType_=function(e){v.assert(this.allowedEvents_.find(function(t){return t===e}),"Unknown event: "+e)},e}(),Jt=function(e){function t(){var t,n,r=e.call(this,["visible"])||this;return"undefined"!==typeof document&&"undefined"!==typeof document.addEventListener&&("undefined"!==typeof document.hidden?(n="visibilitychange",t="hidden"):"undefined"!==typeof document.mozHidden?(n="mozvisibilitychange",t="mozHidden"):"undefined"!==typeof document.msHidden?(n="msvisibilitychange",t="msHidden"):"undefined"!==typeof document.webkitHidden&&(n="webkitvisibilitychange",t="webkitHidden")),r.visible_=!0,n&&document.addEventListener(n,function(){var e=!document[t];e!==r.visible_&&(r.visible_=e,r.trigger("visible",e))},!1),r}return b.__extends(t,e),t.getInstance=function(){return new t},t.prototype.getInitialEvent=function(e){return v.assert("visible"===e,"Unknown event type: "+e),[this.visible_]},t}($t),en=function(e){function t(){var t=e.call(this,["online"])||this;return t.online_=!0,"undefined"===typeof window||"undefined"===typeof window.addEventListener||v.isMobileCordova()||(window.addEventListener("online",function(){t.online_||(t.online_=!0,t.trigger("online",!0))},!1),window.addEventListener("offline",function(){t.online_&&(t.online_=!1,t.trigger("online",!1))},!1)),t}return b.__extends(t,e),t.getInstance=function(){return new t},t.prototype.getInitialEvent=function(e){return v.assert("online"===e,"Unknown event type: "+e),[this.online_]},t.prototype.currentlyOnline=function(){return this.online_},t}($t),tn=function(){function e(e){this.onMessage_=e,this.pendingResponses=[],this.currentResponseNum=0,this.closeAfterResponse=-1,this.onClose=null}return e.prototype.closeAfter=function(e,t){this.closeAfterResponse=e,this.onClose=t,this.closeAfterResponse<this.currentResponseNum&&(this.onClose(),this.onClose=null)},e.prototype.handleResponse=function(e,t){var n=this;this.pendingResponses[e]=t;for(var r=this;this.pendingResponses[this.currentResponseNum];){if("break"===function(){var e=r.pendingResponses[r.currentResponseNum];delete r.pendingResponses[r.currentResponseNum];for(var t=0;t<e.length;++t)!function(t){e[t]&&te(function(){n.onMessage_(e[t])})}(t);if(r.currentResponseNum===r.closeAfterResponse)return r.onClose&&(r.onClose(),r.onClose=null),"break";r.currentResponseNum++}())break}},e}(),nn="pLPCommand",rn="pRTLPCB",on=function(){function e(e,t,n,r){this.connId=e,this.repoInfo=t,this.transportSessionId=n,this.lastSessionId=r,this.bytesSent=0,this.bytesReceived=0,this.everConnected_=!1,this.log_=M(e),this.stats_=qt.getCollection(t),this.urlFn=function(e){return t.connectionURL(ae,e)}}return e.prototype.open=function(e,t){var n=this;this.curSegmentNum=0,this.onDisconnect_=t,this.myPacketOrderer=new tn(e),this.isClosed_=!1,this.connectTimeoutTimer_=setTimeout(function(){n.log_("Timed out trying to connect."),n.onClosed_(),n.connectTimeoutTimer_=null},Math.floor(3e4)),F(function(){if(!n.isClosed_){n.scriptTagHolder=new an(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[0],i=e[1],o=e[2];if(n.incrementIncomingBytes_(e),n.scriptTagHolder)if(n.connectTimeoutTimer_&&(clearTimeout(n.connectTimeoutTimer_),n.connectTimeoutTimer_=null),n.everConnected_=!0,"start"==r)n.id=i,n.password=o;else{if("close"!==r)throw new Error("Unrecognized command received: "+r);i?(n.scriptTagHolder.sendNewPolls=!1,n.myPacketOrderer.closeAfter(i,function(){n.onClosed_()})):n.onClosed_()}},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[0],i=e[1];n.incrementIncomingBytes_(e),n.myPacketOrderer.handleResponse(r,i)},function(){n.onClosed_()},n.urlFn);var e={};e.start="t",e.ser=Math.floor(1e8*Math.random()),n.scriptTagHolder.uniqueCallbackIdentifier&&(e.cb=n.scriptTagHolder.uniqueCallbackIdentifier),e.v="5",n.transportSessionId&&(e.s=n.transportSessionId),n.lastSessionId&&(e.ls=n.lastSessionId),!v.isNodeSdk()&&"undefined"!==typeof location&&location.href&&-1!==location.href.indexOf("firebaseio.com")&&(e.r="f");var t=n.urlFn(e);n.log_("Connecting via long-poll to "+t),n.scriptTagHolder.addTag(t,function(){})}})},e.prototype.start=function(){this.scriptTagHolder.startLongPoll(this.id,this.password),this.addDisconnectPingFrame(this.id,this.password)},e.forceAllow=function(){e.forceAllow_=!0},e.forceDisallow=function(){e.forceDisallow_=!0},e.isAvailable=function(){return e.forceAllow_||!e.forceDisallow_&&"undefined"!==typeof document&&null!=document.createElement&&!X()&&!Q()&&!v.isNodeSdk()},e.prototype.markConnectionHealthy=function(){},e.prototype.shutdown_=function(){this.isClosed_=!0,this.scriptTagHolder&&(this.scriptTagHolder.close(),this.scriptTagHolder=null),this.myDisconnFrame&&(document.body.removeChild(this.myDisconnFrame),this.myDisconnFrame=null),this.connectTimeoutTimer_&&(clearTimeout(this.connectTimeoutTimer_),this.connectTimeoutTimer_=null)},e.prototype.onClosed_=function(){this.isClosed_||(this.log_("Longpoll is closing itself"),this.shutdown_(),this.onDisconnect_&&(this.onDisconnect_(this.everConnected_),this.onDisconnect_=null))},e.prototype.close=function(){this.isClosed_||(this.log_("Longpoll is being closed."),this.shutdown_())},e.prototype.send=function(e){var t=v.stringify(e);this.bytesSent+=t.length,this.stats_.incrementCounter("bytes_sent",t.length);for(var n=v.base64Encode(t),r=K(n,1840),i=0;i<r.length;i++)this.scriptTagHolder.enqueueSegment(this.curSegmentNum,r.length,r[i]),this.curSegmentNum++},e.prototype.addDisconnectPingFrame=function(e,t){if(!v.isNodeSdk()){this.myDisconnFrame=document.createElement("iframe");var n={};n.dframe="t",n.id=e,n.pw=t,this.myDisconnFrame.src=this.urlFn(n),this.myDisconnFrame.style.display="none",document.body.appendChild(this.myDisconnFrame)}},e.prototype.incrementIncomingBytes_=function(e){var t=v.stringify(e).length;this.bytesReceived+=t,this.stats_.incrementCounter("bytes_received",t)},e}(),an=function(){function e(t,n,r,i){if(this.onDisconnect=r,this.urlFn=i,this.outstandingRequests=new ct,this.pendingSegs=[],this.currentSerial=Math.floor(1e8*Math.random()),this.sendNewPolls=!0,v.isNodeSdk())this.commandCB=t,this.onMessageCB=n;else{this.uniqueCallbackIdentifier=C(),window[nn+this.uniqueCallbackIdentifier]=t,window[rn+this.uniqueCallbackIdentifier]=n,this.myIFrame=e.createIFrame_();var o="";if(this.myIFrame.src&&"javascript:"===this.myIFrame.src.substr(0,"javascript:".length)){o='<script>document.domain="'+document.domain+'";<\/script>'}var a=""+o+"";try{this.myIFrame.doc.open(),this.myIFrame.doc.write(a),this.myIFrame.doc.close()}catch(e){N("frame writing exception"),e.stack&&N(e.stack),N(e)}}}return e.createIFrame_=function(){var e=document.createElement("iframe");if(e.style.display="none",!document.body)throw"Document body has not initialized. Wait to initialize Firebase until after the document is ready.";document.body.appendChild(e);try{e.contentWindow.document||N("No IE domain setting required")}catch(n){var t=document.domain;e.src="javascript:void((function(){document.open();document.domain='"+t+"';document.close();})())"}return e.contentDocument?e.doc=e.contentDocument:e.contentWindow?e.doc=e.contentWindow.document:e.document&&(e.doc=e.document),e},e.prototype.close=function(){var t=this;if(this.alive=!1,this.myIFrame&&(this.myIFrame.doc.body.innerHTML="",setTimeout(function(){null!==t.myIFrame&&(document.body.removeChild(t.myIFrame),t.myIFrame=null)},Math.floor(0))),v.isNodeSdk()&&this.myID){var n={};n.disconn="t",n.id=this.myID,n.pw=this.myPW;var r=this.urlFn(n);e.nodeRestRequest(r)}var i=this.onDisconnect;i&&(this.onDisconnect=null,i())},e.prototype.startLongPoll=function(e,t){for(this.myID=e,this.myPW=t,this.alive=!0;this.newRequest_(););},e.prototype.newRequest_=function(){if(this.alive&&this.sendNewPolls&&this.outstandingRequests.count()<(this.pendingSegs.length>0?2:1)){this.currentSerial++;var e={};e.id=this.myID,e.pw=this.myPW,e.ser=this.currentSerial;for(var t=this.urlFn(e),n="",r=0;this.pendingSegs.length>0;){if(!(this.pendingSegs[0].d.length+30+n.length<=1870))break;var i=this.pendingSegs.shift();n=n+"&seg"+r+"="+i.seg+"&ts"+r+"="+i.ts+"&d"+r+"="+i.d,r++}return t+=n,this.addLongPollTag_(t,this.currentSerial),!0}return!1},e.prototype.enqueueSegment=function(e,t,n){this.pendingSegs.push({seg:e,ts:t,d:n}),this.alive&&this.newRequest_()},e.prototype.addLongPollTag_=function(e,t){var n=this;this.outstandingRequests.add(t,1);var r=function(){n.outstandingRequests.remove(t),n.newRequest_()},i=setTimeout(r,Math.floor(25e3)),o=function(){clearTimeout(i),r()};this.addTag(e,o)},e.prototype.addTag=function(e,t){var n=this;v.isNodeSdk()?this.doNodeLongPoll(e,t):setTimeout(function(){try{if(!n.sendNewPolls)return;var r=n.myIFrame.doc.createElement("script");r.type="text/javascript",r.async=!0,r.src=e,r.onload=r.onreadystatechange=function(){var e=r.readyState;e&&"loaded"!==e&&"complete"!==e||(r.onload=r.onreadystatechange=null,r.parentNode&&r.parentNode.removeChild(r),t())},r.onerror=function(){N("Long-poll script failed to load: "+e),n.sendNewPolls=!1,n.close()},n.myIFrame.doc.body.appendChild(r)}catch(e){}},Math.floor(1))},e}(),sn=null;"undefined"!==typeof MozWebSocket?sn=MozWebSocket:"undefined"!==typeof WebSocket&&(sn=WebSocket);var ln=function(){function e(t,n,r,i){this.connId=t,this.keepaliveTimer=null,this.frames=null,this.totalFrames=0,this.bytesSent=0,this.bytesReceived=0,this.log_=M(this.connId),this.stats_=qt.getCollection(n),this.connURL=e.connectionURL_(n,r,i)}return e.connectionURL_=function(e,t,n){var r={};return r.v="5",!v.isNodeSdk()&&"undefined"!==typeof location&&location.href&&-1!==location.href.indexOf("firebaseio.com")&&(r.r="f"),t&&(r.s=t),n&&(r.ls=n),e.connectionURL("websocket",r)},e.prototype.open=function(e,t){var n=this;this.onDisconnect=t,this.onMessage=e,this.log_("Websocket connecting to "+this.connURL),this.everConnected_=!1,k.set("previous_websocket_failure",!0);try{if(v.isNodeSdk()){var i=v.CONSTANTS.NODE_ADMIN?"AdminNode":"Node",o={headers:{"User-Agent":"Firebase/5/"+w.SDK_VERSION+"/"+r.platform+"/"+i}},a=Object({NODE_ENV:"production",PUBLIC_URL:""}),s=0==this.connURL.indexOf("wss://")?a.HTTPS_PROXY||a.https_proxy:a.HTTP_PROXY||a.http_proxy;s&&(o.proxy={origin:s}),this.mySock=new sn(this.connURL,[],o)}else this.mySock=new sn(this.connURL)}catch(e){this.log_("Error instantiating WebSocket.");var l=e.message||e.data;return l&&this.log_(l),void this.onClosed_()}this.mySock.onopen=function(){n.log_("Websocket connected."),n.everConnected_=!0},this.mySock.onclose=function(){n.log_("Websocket connection was disconnected."),n.mySock=null,n.onClosed_()},this.mySock.onmessage=function(e){n.handleIncomingFrame(e)},this.mySock.onerror=function(e){n.log_("WebSocket error. Closing connection.");var t=e.message||e.data;t&&n.log_(t),n.onClosed_()}},e.prototype.start=function(){},e.forceDisallow=function(){e.forceDisallow_=!0},e.isAvailable=function(){var t=!1;if("undefined"!==typeof navigator&&navigator.userAgent){var n=/Android ([0-9]{0,}\.[0-9]{0,})/,r=navigator.userAgent.match(n);r&&r.length>1&&parseFloat(r[1])<4.4&&(t=!0)}return!t&&null!==sn&&!e.forceDisallow_},e.previouslyFailed=function(){return k.isInMemoryStorage||!0===k.get("previous_websocket_failure")},e.prototype.markConnectionHealthy=function(){k.remove("previous_websocket_failure")},e.prototype.appendFrame_=function(e){if(this.frames.push(e),this.frames.length==this.totalFrames){var t=this.frames.join("");this.frames=null;var n=v.jsonEval(t);this.onMessage(n)}},e.prototype.handleNewFrameCount_=function(e){this.totalFrames=e,this.frames=[]},e.prototype.extractFrameCount_=function(e){if(v.assert(null===this.frames,"We already have a frame buffer"),e.length<=6){var t=Number(e);if(!isNaN(t))return this.handleNewFrameCount_(t),null}return this.handleNewFrameCount_(1),e},e.prototype.handleIncomingFrame=function(e){if(null!==this.mySock){var t=e.data;if(this.bytesReceived+=t.length,this.stats_.incrementCounter("bytes_received",t.length),this.resetKeepAlive(),null!==this.frames)this.appendFrame_(t);else{var n=this.extractFrameCount_(t);null!==n&&this.appendFrame_(n)}}},e.prototype.send=function(e){this.resetKeepAlive();var t=v.stringify(e);this.bytesSent+=t.length,this.stats_.incrementCounter("bytes_sent",t.length);var n=K(t,16384);n.length>1&&this.sendString_(String(n.length));for(var r=0;r<n.length;r++)this.sendString_(n[r])},e.prototype.shutdown_=function(){this.isClosed_=!0,this.keepaliveTimer&&(clearInterval(this.keepaliveTimer),this.keepaliveTimer=null),this.mySock&&(this.mySock.close(),this.mySock=null)},e.prototype.onClosed_=function(){this.isClosed_||(this.log_("WebSocket is closing itself"),this.shutdown_(),this.onDisconnect&&(this.onDisconnect(this.everConnected_),this.onDisconnect=null))},e.prototype.close=function(){this.isClosed_||(this.log_("WebSocket is being closed"),this.shutdown_())},e.prototype.resetKeepAlive=function(){var e=this;clearInterval(this.keepaliveTimer),this.keepaliveTimer=setInterval(function(){e.mySock&&e.sendString_("0"),e.resetKeepAlive()},Math.floor(45e3))},e.prototype.sendString_=function(e){try{this.mySock.send(e)}catch(e){this.log_("Exception thrown from WebSocket.send():",e.message||e.data,"Closing connection."),setTimeout(this.onClosed_.bind(this),0)}},e.responsesRequiredToBeHealthy=2,e.healthyTimeout=3e4,e}(),un=function(){function e(e){this.initTransports_(e)}return Object.defineProperty(e,"ALL_TRANSPORTS",{get:function(){return[on,ln]},enumerable:!0,configurable:!0}),e.prototype.initTransports_=function(t){var n=ln&&ln.isAvailable(),r=n&&!ln.previouslyFailed();if(t.webSocketOnly&&(n||j("wss:// URL used, but browser isn't known to support websockets. Trying anyway."),r=!0),r)this.transports_=[ln];else{var i=this.transports_=[];Y(e.ALL_TRANSPORTS,function(e,t){t&&t.isAvailable()&&i.push(t)})}},e.prototype.initialTransport=function(){if(this.transports_.length>0)return this.transports_[0];throw new Error("No transports available")},e.prototype.upgradeTransport=function(){return this.transports_.length>1?this.transports_[1]:null},e}(),cn=function(){function e(e,t,n,r,i,o,a){this.id=e,this.repoInfo_=t,this.onMessage_=n,this.onReady_=r,this.onDisconnect_=i,this.onKill_=o,this.lastSessionId=a,this.connectionCount=0,this.pendingDataMessages=[],this.state_=0,this.log_=M("c:"+this.id+":"),this.transportManager_=new un(t),this.log_("Connection created"),this.start_()}return e.prototype.start_=function(){var e=this,t=this.transportManager_.initialTransport();this.conn_=new t(this.nextTransportId_(),this.repoInfo_,void 0,this.lastSessionId),this.primaryResponsesRequired_=t.responsesRequiredToBeHealthy||0;var n=this.connReceiver_(this.conn_),r=this.disconnReceiver_(this.conn_);this.tx_=this.conn_,this.rx_=this.conn_,this.secondaryConn_=null,this.isHealthy_=!1,setTimeout(function(){e.conn_&&e.conn_.open(n,r)},Math.floor(0));var i=t.healthyTimeout||0;i>0&&(this.healthyTimeout_=re(function(){e.healthyTimeout_=null,e.isHealthy_||(e.conn_&&e.conn_.bytesReceived>102400?(e.log_("Connection exceeded healthy timeout but has received "+e.conn_.bytesReceived+" bytes. Marking connection healthy."),e.isHealthy_=!0,e.conn_.markConnectionHealthy()):e.conn_&&e.conn_.bytesSent>10240?e.log_("Connection exceeded healthy timeout but has sent "+e.conn_.bytesSent+" bytes. Leaving connection alive."):(e.log_("Closing unhealthy connection after timeout."),e.close()))},Math.floor(i)))},e.prototype.nextTransportId_=function(){return"c:"+this.id+":"+this.connectionCount++},e.prototype.disconnReceiver_=function(e){var t=this;return function(n){e===t.conn_?t.onConnectionLost_(n):e===t.secondaryConn_?(t.log_("Secondary connection lost."),t.onSecondaryConnectionLost_()):t.log_("closing an old connection")}},e.prototype.connReceiver_=function(e){var t=this;return function(n){2!=t.state_&&(e===t.rx_?t.onPrimaryMessageReceived_(n):e===t.secondaryConn_?t.onSecondaryMessageReceived_(n):t.log_("message on old connection"))}},e.prototype.sendRequest=function(e){var t={t:"d",d:e};this.sendData_(t)},e.prototype.tryCleanupConnection=function(){this.tx_===this.secondaryConn_&&this.rx_===this.secondaryConn_&&(this.log_("cleaning up and promoting a connection: "+this.secondaryConn_.connId),this.conn_=this.secondaryConn_,this.secondaryConn_=null)},e.prototype.onSecondaryControl_=function(e){if("t"in e){var t=e.t;"a"===t?this.upgradeIfSecondaryHealthy_():"r"===t?(this.log_("Got a reset on secondary, closing it"),this.secondaryConn_.close(),this.tx_!==this.secondaryConn_&&this.rx_!==this.secondaryConn_||this.close()):"o"===t&&(this.log_("got pong on secondary."),this.secondaryResponsesRequired_--,this.upgradeIfSecondaryHealthy_())}},e.prototype.onSecondaryMessageReceived_=function(e){var t=q("t",e),n=q("d",e);if("c"==t)this.onSecondaryControl_(n);else{if("d"!=t)throw new Error("Unknown protocol layer: "+t);this.pendingDataMessages.push(n)}},e.prototype.upgradeIfSecondaryHealthy_=function(){this.secondaryResponsesRequired_<=0?(this.log_("Secondary connection is healthy."),this.isHealthy_=!0,this.secondaryConn_.markConnectionHealthy(),this.proceedWithUpgrade_()):(this.log_("sending ping on secondary."),this.secondaryConn_.send({t:"c",d:{t:"p",d:{}}}))},e.prototype.proceedWithUpgrade_=function(){this.secondaryConn_.start(),this.log_("sending client ack on secondary"),this.secondaryConn_.send({t:"c",d:{t:"a",d:{}}}),this.log_("Ending transmission on primary"),this.conn_.send({t:"c",d:{t:"n",d:{}}}),this.tx_=this.secondaryConn_,this.tryCleanupConnection()},e.prototype.onPrimaryMessageReceived_=function(e){var t=q("t",e),n=q("d",e);"c"==t?this.onControl_(n):"d"==t&&this.onDataMessage_(n)},e.prototype.onDataMessage_=function(e){this.onPrimaryResponse_(),this.onMessage_(e)},e.prototype.onPrimaryResponse_=function(){this.isHealthy_||--this.primaryResponsesRequired_<=0&&(this.log_("Primary connection is healthy."),this.isHealthy_=!0,this.conn_.markConnectionHealthy())},e.prototype.onControl_=function(e){var t=q("t",e);if("d"in e){var n=e.d;if("h"===t)this.onHandshake_(n);else if("n"===t){this.log_("recvd end transmission on primary"),this.rx_=this.secondaryConn_;for(var r=0;r<this.pendingDataMessages.length;++r)this.onDataMessage_(this.pendingDataMessages[r]);this.pendingDataMessages=[],this.tryCleanupConnection()}else"s"===t?this.onConnectionShutdown_(n):"r"===t?this.onReset_(n):"e"===t?D("Server Error: "+n):"o"===t?(this.log_("got pong on primary."),this.onPrimaryResponse_(),this.sendPingOnPrimaryIfNecessary_()):D("Unknown control packet command: "+t)}},e.prototype.onHandshake_=function(e){var t=e.ts,n=e.v,r=e.h;this.sessionId=e.s,this.repoInfo_.updateHost(r),0==this.state_&&(this.conn_.start(),this.onConnectionEstablished_(this.conn_,t),"5"!==n&&j("Protocol version mismatch detected"),this.tryStartUpgrade_())},e.prototype.tryStartUpgrade_=function(){var e=this.transportManager_.upgradeTransport();e&&this.startUpgrade_(e)},e.prototype.startUpgrade_=function(e){var t=this;this.secondaryConn_=new e(this.nextTransportId_(),this.repoInfo_,this.sessionId),this.secondaryResponsesRequired_=e.responsesRequiredToBeHealthy||0;var n=this.connReceiver_(this.secondaryConn_),r=this.disconnReceiver_(this.secondaryConn_);this.secondaryConn_.open(n,r),re(function(){t.secondaryConn_&&(t.log_("Timed out trying to upgrade."),t.secondaryConn_.close())},Math.floor(6e4))},e.prototype.onReset_=function(e){this.log_("Reset packet received. New host: "+e),this.repoInfo_.updateHost(e),1===this.state_?this.close():(this.closeConnections_(),this.start_())},e.prototype.onConnectionEstablished_=function(e,t){var n=this;this.log_("Realtime connection established."),this.conn_=e,this.state_=1,this.onReady_&&(this.onReady_(t,this.sessionId),this.onReady_=null),0===this.primaryResponsesRequired_?(this.log_("Primary connection is healthy."),this.isHealthy_=!0):re(function(){n.sendPingOnPrimaryIfNecessary_()},Math.floor(5e3))},e.prototype.sendPingOnPrimaryIfNecessary_=function(){this.isHealthy_||1!==this.state_||(this.log_("sending ping on primary."),this.sendData_({t:"c",d:{t:"p",d:{}}}))},e.prototype.onSecondaryConnectionLost_=function(){var e=this.secondaryConn_;this.secondaryConn_=null,this.tx_!==e&&this.rx_!==e||this.close()},e.prototype.onConnectionLost_=function(e){this.conn_=null,e||0!==this.state_?1===this.state_&&this.log_("Realtime connection lost."):(this.log_("Realtime connection failed."),this.repoInfo_.isCacheableHost()&&(k.remove("host:"+this.repoInfo_.host),this.repoInfo_.internalHost=this.repoInfo_.host)),this.close()},e.prototype.onConnectionShutdown_=function(e){this.log_("Connection shutdown command received. Shutting down..."),this.onKill_&&(this.onKill_(e),this.onKill_=null),this.onDisconnect_=null,this.close()},e.prototype.sendData_=function(e){if(1!==this.state_)throw"Connection is not connected";this.tx_.send(e)},e.prototype.close=function(){2!==this.state_&&(this.log_("Closing realtime connection."),this.state_=2,this.closeConnections_(),this.onDisconnect_&&(this.onDisconnect_(),this.onDisconnect_=null))},e.prototype.closeConnections_=function(){this.log_("Shutting down all connections"),this.conn_&&(this.conn_.close(),this.conn_=null),this.secondaryConn_&&(this.secondaryConn_.close(),this.secondaryConn_=null),this.healthyTimeout_&&(clearTimeout(this.healthyTimeout_),this.healthyTimeout_=null)},e}(),dn=function(){function e(){}return e.prototype.put=function(e,t,n,r){},e.prototype.merge=function(e,t,n,r){},e.prototype.refreshAuthToken=function(e){},e.prototype.onDisconnectPut=function(e,t,n){},e.prototype.onDisconnectMerge=function(e,t,n){},e.prototype.onDisconnectCancel=function(e,t){},e.prototype.reportStats=function(e){},e}(),fn=1e3,hn=3e5,pn=function(e){function t(n,r,i,o,a,s){var l=e.call(this)||this;if(l.repoInfo_=n,l.onDataUpdate_=r,l.onConnectStatus_=i,l.onServerInfoUpdate_=o,l.authTokenProvider_=a,l.authOverride_=s,l.id=t.nextPersistentConnectionId_++,l.log_=M("p:"+l.id+":"),l.interruptReasons_={},l.listens_={},l.outstandingPuts_=[],l.outstandingPutCount_=0,l.onDisconnectRequestQueue_=[],l.connected_=!1,l.reconnectDelay_=fn,l.maxReconnectDelay_=hn,l.securityDebugCallback_=null,l.lastSessionId=null,l.establishConnectionTimer_=null,l.visible_=!1,l.requestCBHash_={},l.requestNumber_=0,l.realtime_=null,l.authToken_=null,l.forceTokenRefresh_=!1,l.invalidAuthTokenCount_=0,l.firstConnection_=!0,l.lastConnectionAttemptTime_=null,l.lastConnectionEstablishedTime_=null,s&&!v.isNodeSdk())throw new Error("Auth override specified in options, but not supported on non Node.js platforms");return l.scheduleConnect_(0),Jt.getInstance().on("visible",l.onVisible_,l),-1===n.host.indexOf("fblocal")&&en.getInstance().on("online",l.onOnline_,l),l}return b.__extends(t,e),t.prototype.sendRequest=function(e,t,n){var r=++this.requestNumber_,i={r:r,a:e,b:t};this.log_(v.stringify(i)),v.assert(this.connected_,"sendRequest call when we're not connected not allowed."),this.realtime_.sendRequest(i),n&&(this.requestCBHash_[r]=n)},t.prototype.listen=function(e,t,n,r){var i=e.queryIdentifier(),o=e.path.toString();this.log_("Listen called for "+o+" "+i),this.listens_[o]=this.listens_[o]||{},v.assert(e.getQueryParams().isDefault()||!e.getQueryParams().loadsAllData(),"listen() called for non-default but complete query"),v.assert(!this.listens_[o][i],"listen() called twice for same path/queryId.");var a={onComplete:r,hashFn:t,query:e,tag:n};this.listens_[o][i]=a,this.connected_&&this.sendListen_(a)},t.prototype.sendListen_=function(e){var n=this,r=e.query,i=r.path.toString(),o=r.queryIdentifier();this.log_("Listen on "+i+" for "+o);var a={p:i};e.tag&&(a.q=r.queryObject(),a.t=e.tag),a.h=e.hashFn(),this.sendRequest("q",a,function(a){var s=a.d,l=a.s;t.warnOnListenWarnings_(s,r),(n.listens_[i]&&n.listens_[i][o])===e&&(n.log_("listen response",a),"ok"!==l&&n.removeListen_(i,o),e.onComplete&&e.onComplete(l,s))})},t.warnOnListenWarnings_=function(e,t){if(e&&"object"===typeof e&&v.contains(e,"w")){var n=v.safeGet(e,"w");if(Array.isArray(n)&&~n.indexOf("no_index")){var r='".indexOn": "'+t.getQueryParams().getIndex().toString()+'"',i=t.path.toString();j("Using an unspecified index. Your data will be downloaded and filtered on the client. Consider adding "+r+" at "+i+" to your security rules for better performance.")}}},t.prototype.refreshAuthToken=function(e){this.authToken_=e,this.log_("Auth token refreshed"),this.authToken_?this.tryAuth():this.connected_&&this.sendRequest("unauth",{},function(){}),this.reduceReconnectDelayIfAdminCredential_(e)},t.prototype.reduceReconnectDelayIfAdminCredential_=function(e){(e&&40===e.length||v.isAdmin(e))&&(this.log_("Admin auth credential detected. Reducing max reconnect time."),this.maxReconnectDelay_=3e4)},t.prototype.tryAuth=function(){var e=this;if(this.connected_&&this.authToken_){var t=this.authToken_,n=v.isValidFormat(t)?"auth":"gauth",r={cred:t};null===this.authOverride_?r.noauth=!0:"object"===typeof this.authOverride_&&(r.authvar=this.authOverride_),this.sendRequest(n,r,function(n){var r=n.s,i=n.d||"error";e.authToken_===t&&("ok"===r?e.invalidAuthTokenCount_=0:e.onAuthRevoked_(r,i))})}},t.prototype.unlisten=function(e,t){var n=e.path.toString(),r=e.queryIdentifier();this.log_("Unlisten called for "+n+" "+r),v.assert(e.getQueryParams().isDefault()||!e.getQueryParams().loadsAllData(),"unlisten() called for non-default but complete query"),this.removeListen_(n,r)&&this.connected_&&this.sendUnlisten_(n,r,e.queryObject(),t)},t.prototype.sendUnlisten_=function(e,t,n,r){this.log_("Unlisten on "+e+" for "+t);var i={p:e};r&&(i.q=n,i.t=r),this.sendRequest("n",i)},t.prototype.onDisconnectPut=function(e,t,n){this.connected_?this.sendOnDisconnect_("o",e,t,n):this.onDisconnectRequestQueue_.push({pathString:e,action:"o",data:t,onComplete:n})},t.prototype.onDisconnectMerge=function(e,t,n){this.connected_?this.sendOnDisconnect_("om",e,t,n):this.onDisconnectRequestQueue_.push({pathString:e,action:"om",data:t,onComplete:n})},t.prototype.onDisconnectCancel=function(e,t){this.connected_?this.sendOnDisconnect_("oc",e,null,t):this.onDisconnectRequestQueue_.push({pathString:e,action:"oc",data:null,onComplete:t})},t.prototype.sendOnDisconnect_=function(e,t,n,r){var i={p:t,d:n};this.log_("onDisconnect "+e,i),this.sendRequest(e,i,function(e){r&&setTimeout(function(){r(e.s,e.d)},Math.floor(0))})},t.prototype.put=function(e,t,n,r){this.putInternal("p",e,t,n,r)},t.prototype.merge=function(e,t,n,r){this.putInternal("m",e,t,n,r)},t.prototype.putInternal=function(e,t,n,r,i){var o={p:t,d:n};void 0!==i&&(o.h=i),this.outstandingPuts_.push({action:e,request:o,onComplete:r}),this.outstandingPutCount_++;var a=this.outstandingPuts_.length-1;this.connected_?this.sendPut_(a):this.log_("Buffering put: "+t)},t.prototype.sendPut_=function(e){var t=this,n=this.outstandingPuts_[e].action,r=this.outstandingPuts_[e].request,i=this.outstandingPuts_[e].onComplete;this.outstandingPuts_[e].queued=this.connected_,this.sendRequest(n,r,function(r){t.log_(n+" response",r),delete t.outstandingPuts_[e],t.outstandingPutCount_--,0===t.outstandingPutCount_&&(t.outstandingPuts_=[]),i&&i(r.s,r.d)})},t.prototype.reportStats=function(e){var t=this;if(this.connected_){var n={c:e};this.log_("reportStats",n),this.sendRequest("s",n,function(e){if("ok"!==e.s){var n=e.d;t.log_("reportStats","Error sending stats: "+n)}})}},t.prototype.onDataMessage_=function(e){if("r"in e){this.log_("from server: "+v.stringify(e));var t=e.r,n=this.requestCBHash_[t];n&&(delete this.requestCBHash_[t],n(e.b))}else{if("error"in e)throw"A server-side error has occurred: "+e.error;"a"in e&&this.onDataPush_(e.a,e.b)}},t.prototype.onDataPush_=function(e,t){this.log_("handleServerMessage",e,t),"d"===e?this.onDataUpdate_(t.p,t.d,!1,t.t):"m"===e?this.onDataUpdate_(t.p,t.d,!0,t.t):"c"===e?this.onListenRevoked_(t.p,t.q):"ac"===e?this.onAuthRevoked_(t.s,t.d):"sd"===e?this.onSecurityDebugPacket_(t):D("Unrecognized action received from server: "+v.stringify(e)+"\nAre you using the latest client?")},t.prototype.onReady_=function(e,t){this.log_("connection ready"),this.connected_=!0,this.lastConnectionEstablishedTime_=(new Date).getTime(),this.handleTimestamp_(e),this.lastSessionId=t,this.firstConnection_&&this.sendConnectStats_(),this.restoreState_(),this.firstConnection_=!1,this.onConnectStatus_(!0)},t.prototype.scheduleConnect_=function(e){var t=this;v.assert(!this.realtime_,"Scheduling a connect when we're already connected/ing?"),this.establishConnectionTimer_&&clearTimeout(this.establishConnectionTimer_),this.establishConnectionTimer_=setTimeout(function(){t.establishConnectionTimer_=null,t.establishConnection_()},Math.floor(e))},t.prototype.onVisible_=function(e){e&&!this.visible_&&this.reconnectDelay_===this.maxReconnectDelay_&&(this.log_("Window became visible. Reducing delay."),this.reconnectDelay_=fn,this.realtime_||this.scheduleConnect_(0)),this.visible_=e},t.prototype.onOnline_=function(e){e?(this.log_("Browser went online."),this.reconnectDelay_=fn,this.realtime_||this.scheduleConnect_(0)):(this.log_("Browser went offline. Killing connection."),this.realtime_&&this.realtime_.close())},t.prototype.onRealtimeDisconnect_=function(){if(this.log_("data client disconnected"),this.connected_=!1,this.realtime_=null,this.cancelSentTransactions_(),this.requestCBHash_={},this.shouldReconnect_()){if(this.visible_){if(this.lastConnectionEstablishedTime_){var e=(new Date).getTime()-this.lastConnectionEstablishedTime_;e>3e4&&(this.reconnectDelay_=fn),this.lastConnectionEstablishedTime_=null}}else this.log_("Window isn't visible. Delaying reconnect."),this.reconnectDelay_=this.maxReconnectDelay_,this.lastConnectionAttemptTime_=(new Date).getTime();var t=(new Date).getTime()-this.lastConnectionAttemptTime_,n=Math.max(0,this.reconnectDelay_-t);n=Math.random()*n,this.log_("Trying to reconnect in "+n+"ms"),this.scheduleConnect_(n),this.reconnectDelay_=Math.min(this.maxReconnectDelay_,1.3*this.reconnectDelay_)}this.onConnectStatus_(!1)},t.prototype.establishConnection_=function(){if(this.shouldReconnect_()){this.log_("Making a connection attempt"),this.lastConnectionAttemptTime_=(new Date).getTime(),this.lastConnectionEstablishedTime_=null;var e=this.onDataMessage_.bind(this),n=this.onReady_.bind(this),r=this.onRealtimeDisconnect_.bind(this),i=this.id+":"+t.nextConnectionId_++,o=this,a=this.lastSessionId,s=!1,l=null,u=function(){l?l.close():(s=!0,r())},c=function(e){v.assert(l,"sendRequest call when we're not connected not allowed."),l.sendRequest(e)};this.realtime_={close:u,sendRequest:c};var d=this.forceTokenRefresh_;this.forceTokenRefresh_=!1,this.authTokenProvider_.getToken(d).then(function(t){s?N("getToken() completed but was canceled"):(N("getToken() completed. Creating connection."),o.authToken_=t&&t.accessToken,l=new cn(i,o.repoInfo_,e,n,r,function(e){j(e+" ("+o.repoInfo_.toString()+")"),o.interrupt("server_kill")},a))}).then(null,function(e){o.log_("Failed to get token: "+e),s||(v.CONSTANTS.NODE_ADMIN&&j(e),u())})}},t.prototype.interrupt=function(e){N("Interrupting connection for reason: "+e),this.interruptReasons_[e]=!0,this.realtime_?this.realtime_.close():(this.establishConnectionTimer_&&(clearTimeout(this.establishConnectionTimer_),this.establishConnectionTimer_=null),this.connected_&&this.onRealtimeDisconnect_())},t.prototype.resume=function(e){N("Resuming connection for reason: "+e),delete this.interruptReasons_[e],v.isEmpty(this.interruptReasons_)&&(this.reconnectDelay_=fn,this.realtime_||this.scheduleConnect_(0))},t.prototype.handleTimestamp_=function(e){var t=e-(new Date).getTime();this.onServerInfoUpdate_({serverTimeOffset:t})},t.prototype.cancelSentTransactions_=function(){for(var e=0;e<this.outstandingPuts_.length;e++){var t=this.outstandingPuts_[e];t&&"h"in t.request&&t.queued&&(t.onComplete&&t.onComplete("disconnect"),delete this.outstandingPuts_[e],this.outstandingPutCount_--)}0===this.outstandingPutCount_&&(this.outstandingPuts_=[])},t.prototype.onListenRevoked_=function(e,t){var n;n=t?t.map(function(e){return V(e)}).join("$"):"default";var r=this.removeListen_(e,n);r&&r.onComplete&&r.onComplete("permission_denied")},t.prototype.removeListen_=function(e,t){var n,r=new ie(e).toString();return void 0!==this.listens_[r]?(n=this.listens_[r][t],delete this.listens_[r][t],0===v.getCount(this.listens_[r])&&delete this.listens_[r]):n=void 0,n},t.prototype.onAuthRevoked_=function(e,t){N("Auth token revoked: "+e+"/"+t),this.authToken_=null,this.forceTokenRefresh_=!0,this.realtime_.close(),"invalid_token"!==e&&"permission_denied"!==e||++this.invalidAuthTokenCount_>=3&&(this.reconnectDelay_=3e4,this.authTokenProvider_.notifyForInvalidToken())},t.prototype.onSecurityDebugPacket_=function(e){this.securityDebugCallback_?this.securityDebugCallback_(e):"msg"in e&&console.log("FIREBASE: "+e.msg.replace("\n","\nFIREBASE: "))},t.prototype.restoreState_=function(){var e=this;this.tryAuth(),v.forEach(this.listens_,function(t,n){v.forEach(n,function(t,n){e.sendListen_(n)})});for(var t=0;t<this.outstandingPuts_.length;t++)this.outstandingPuts_[t]&&this.sendPut_(t);for(;this.onDisconnectRequestQueue_.length;){var n=this.onDisconnectRequestQueue_.shift();this.sendOnDisconnect_(n.action,n.pathString,n.data,n.onComplete)}},t.prototype.sendConnectStats_=function(){var e={},t="js";v.CONSTANTS.NODE_ADMIN?t="admin_node":v.CONSTANTS.NODE_CLIENT&&(t="node"),e["sdk."+t+"."+w.SDK_VERSION.replace(/\./g,"-")]=1,v.isMobileCordova()?e["framework.cordova"]=1:v.isReactNative()&&(e["framework.reactnative"]=1),this.reportStats(e)},t.prototype.shouldReconnect_=function(){var e=en.getInstance().currentlyOnline();return v.isEmpty(this.interruptReasons_)&&e},t.nextPersistentConnectionId_=0,t.nextConnectionId_=0,t}(dn),mn=function(e){function t(t,n,r){var i=e.call(this)||this;return i.repoInfo_=t,i.onDataUpdate_=n,i.authTokenProvider_=r,i.log_=M("p:rest:"),i.listens_={},i}return b.__extends(t,e),t.prototype.reportStats=function(e){throw new Error("Method not implemented.")},t.getListenId_=function(e,t){return void 0!==t?"tag$"+t:(v.assert(e.getQueryParams().isDefault(),"should have a tag if it's not a default query."),e.path.toString())},t.prototype.listen=function(e,n,r,i){var o=this,a=e.path.toString();this.log_("Listen called for "+a+" "+e.queryIdentifier());var s=t.getListenId_(e,r),l={};this.listens_[s]=l;var u=e.getQueryParams().toRestQueryStringParameters();this.restRequest_(a+".json",u,function(e,t){var n=t;if(404===e&&(n=null,e=null),null===e&&o.onDataUpdate_(a,n,!1,r),v.safeGet(o.listens_,s)===l){var u;u=e?401==e?"permission_denied":"rest_error:"+e:"ok",i(u,null)}})},t.prototype.unlisten=function(e,n){var r=t.getListenId_(e,n);delete this.listens_[r]},t.prototype.refreshAuthToken=function(e){},t.prototype.restRequest_=function(e,t,n){var r=this;void 0===t&&(t={}),t.format="export",this.authTokenProvider_.getToken(!1).then(function(i){var o=i&&i.accessToken;o&&(t.auth=o);var a=(r.repoInfo_.secure?"https://":"http://")+r.repoInfo_.host+e+"?"+v.querystring(t);r.log_("Sending REST request for "+a);var s=new XMLHttpRequest;s.onreadystatechange=function(){if(n&&4===s.readyState){r.log_("REST Response for "+a+" received. status:",s.status,"response:",s.responseText);var e=null;if(s.status>=200&&s.status<300){try{e=v.jsonEval(s.responseText)}catch(e){j("Failed to parse JSON response for "+a+": "+s.responseText)}n(null,e)}else 401!==s.status&&404!==s.status&&j("Got unsuccessful REST response for "+a+" Status: "+s.status),n(s.status);n=null}},s.open("GET",a,!0),s.send()})},t}(dn),gn=function(){function e(e,t,n){var r=this;this.repoInfo_=e,this.app=n,this.dataUpdateCount=0,this.statsListener_=null,this.eventQueue_=new Xt,this.nextWriteId_=1,this.interceptServerDataCallback_=null,this.onDisconnect_=new dt,this.persistentConnection_=null;var i=new Ht(n);if(this.stats_=qt.getCollection(e),t||ne())this.server_=new mn(this.repoInfo_,this.onDataUpdate_.bind(this),i),setTimeout(this.onConnectStatus_.bind(this,!0),0);else{var o=n.options.databaseAuthVariableOverride;if("undefined"!==typeof o&&null!==o){if("object"!==typeof o)throw new Error("Only objects are supported for option databaseAuthVariableOverride");try{v.stringify(o)}catch(e){throw new Error("Invalid authOverride provided: "+e)}}this.persistentConnection_=new pn(this.repoInfo_,this.onDataUpdate_.bind(this),this.onConnectStatus_.bind(this),this.onServerInfoUpdate_.bind(this),i,o),this.server_=this.persistentConnection_}i.addTokenChangeListener(function(e){r.server_.refreshAuthToken(e)}),this.statsReporter_=qt.getOrCreateReporter(e,function(){return new Zt(r.stats_,r.server_)}),this.transactions_init_(),this.infoData_=new Ut,this.infoSyncTree_=new zt({startListening:function(e,t,n,i){var o=[],a=r.infoData_.getNode(e.path);return a.isEmpty()||(o=r.infoSyncTree_.applyServerOverwrite(e.path,a),setTimeout(function(){i("ok")},0)),o},stopListening:function(){}}),this.updateInfo_("connected",!1),this.serverSyncTree_=new zt({startListening:function(e,t,n,i){return r.server_.listen(e,n,t,function(t,n){var o=i(t,n);r.eventQueue_.raiseEventsForChangedPath(e.path,o)}),[]},stopListening:function(e,t){r.server_.unlisten(e,t)}})}return e.prototype.toString=function(){return(this.repoInfo_.secure?"https://":"http://")+this.repoInfo_.host},e.prototype.name=function(){return this.repoInfo_.namespace},e.prototype.serverTime=function(){var e=this.infoData_.getNode(new ie(".info/serverTimeOffset")),t=e.val()||0;return(new Date).getTime()+t},e.prototype.generateServerValues=function(){return ft({timestamp:this.serverTime()})},e.prototype.onDataUpdate_=function(e,t,n,r){this.dataUpdateCount++;var i=new ie(e);t=this.interceptServerDataCallback_?this.interceptServerDataCallback_(e,t):t;var o=[];if(r)if(n){var a=v.map(t,function(e){return l(e)});o=this.serverSyncTree_.applyTaggedQueryMerge(i,a,r)}else{var s=l(t);o=this.serverSyncTree_.applyTaggedQueryOverwrite(i,s,r)}else if(n){var u=v.map(t,function(e){return l(e)});o=this.serverSyncTree_.applyServerMerge(i,u)}else{var c=l(t);o=this.serverSyncTree_.applyServerOverwrite(i,c)}var d=i;o.length>0&&(d=this.rerunTransactions_(i)),this.eventQueue_.raiseEventsForChangedPath(d,o)},e.prototype.interceptServerData_=function(e){this.interceptServerDataCallback_=e},e.prototype.onConnectStatus_=function(e){this.updateInfo_("connected",e),!1===e&&this.runOnDisconnectEvents_()},e.prototype.onServerInfoUpdate_=function(e){var t=this;Y(e,function(e,n){t.updateInfo_(n,e)})},e.prototype.updateInfo_=function(e,t){var n=new ie("/.info/"+e),r=l(t);this.infoData_.updateSnapshot(n,r);var i=this.infoSyncTree_.applyServerOverwrite(n,r);this.eventQueue_.raiseEventsForChangedPath(n,i)},e.prototype.getNextWriteId_=function(){return this.nextWriteId_++},e.prototype.setWithPriority=function(e,t,n,r){var i=this;this.log_("set",{path:e.toString(),value:t,priority:n});var o=this.generateServerValues(),a=l(t,n),s=mt(a,o),u=this.getNextWriteId_(),c=this.serverSyncTree_.applyUserOverwrite(e,s,u,!0);this.eventQueue_.queueEvents(c),this.server_.put(e.toString(),a.val(!0),function(t,n){var o="ok"===t;o||j("set at "+e+" failed: "+t);var a=i.serverSyncTree_.ackUserWrite(u,!o);i.eventQueue_.raiseEventsForChangedPath(e,a),i.callOnCompleteCallback(r,t,n)});var d=this.abortTransactions_(e);this.rerunTransactions_(d),this.eventQueue_.raiseEventsForChangedPath(d,[])},e.prototype.update=function(e,t,n){var r=this;this.log_("update",{path:e.toString(),value:t});var i=!0,o=this.generateServerValues(),a={};if(v.forEach(t,function(e,t){i=!1;var n=l(t);a[e]=mt(n,o)}),i)N("update() called with empty data. Don't do anything."),this.callOnCompleteCallback(n,"ok");else{var s=this.getNextWriteId_(),u=this.serverSyncTree_.applyUserMerge(e,a,s);this.eventQueue_.queueEvents(u),this.server_.merge(e.toString(),t,function(t,i){var o="ok"===t;o||j("update at "+e+" failed: "+t);var a=r.serverSyncTree_.ackUserWrite(s,!o),l=a.length>0?r.rerunTransactions_(e):e;r.eventQueue_.raiseEventsForChangedPath(l,a),r.callOnCompleteCallback(n,t,i)}),v.forEach(t,function(t){var n=r.abortTransactions_(e.child(t));r.rerunTransactions_(n)}),this.eventQueue_.raiseEventsForChangedPath(e,[])}},e.prototype.runOnDisconnectEvents_=function(){var e=this;this.log_("onDisconnectEvents");var t=this.generateServerValues(),n=pt(this.onDisconnect_,t),r=[];n.forEachTree(ie.Empty,function(t,n){r=r.concat(e.serverSyncTree_.applyServerOverwrite(t,n));var i=e.abortTransactions_(t);e.rerunTransactions_(i)}),this.onDisconnect_=new dt,this.eventQueue_.raiseEventsForChangedPath(ie.Empty,r)},e.prototype.onDisconnectCancel=function(e,t){var n=this;this.server_.onDisconnectCancel(e.toString(),function(r,i){"ok"===r&&n.onDisconnect_.forget(e),n.callOnCompleteCallback(t,r,i)})},e.prototype.onDisconnectSet=function(e,t,n){var r=this,i=l(t);this.server_.onDisconnectPut(e.toString(),i.val(!0),function(t,o){"ok"===t&&r.onDisconnect_.remember(e,i),r.callOnCompleteCallback(n,t,o)})},e.prototype.onDisconnectSetWithPriority=function(e,t,n,r){var i=this,o=l(t,n);this.server_.onDisconnectPut(e.toString(),o.val(!0),function(t,n){"ok"===t&&i.onDisconnect_.remember(e,o),i.callOnCompleteCallback(r,t,n)})},e.prototype.onDisconnectUpdate=function(e,t,n){var r=this;if(v.isEmpty(t))return N("onDisconnect().update() called with empty data. Don't do anything."),void this.callOnCompleteCallback(n,"ok");this.server_.onDisconnectMerge(e.toString(),t,function(i,o){"ok"===i&&v.forEach(t,function(t,n){var i=l(n);r.onDisconnect_.remember(e.child(t),i)}),r.callOnCompleteCallback(n,i,o)})},e.prototype.addEventCallbackForQuery=function(e,t){var n;n=".info"===e.path.getFront()?this.infoSyncTree_.addEventRegistration(e,t):this.serverSyncTree_.addEventRegistration(e,t),this.eventQueue_.raiseEventsAtPath(e.path,n)},e.prototype.removeEventCallbackForQuery=function(e,t){var n;n=".info"===e.path.getFront()?this.infoSyncTree_.removeEventRegistration(e,t):this.serverSyncTree_.removeEventRegistration(e,t),this.eventQueue_.raiseEventsAtPath(e.path,n)},e.prototype.interrupt=function(){this.persistentConnection_&&this.persistentConnection_.interrupt("repo_interrupt")},e.prototype.resume=function(){this.persistentConnection_&&this.persistentConnection_.resume("repo_interrupt")},e.prototype.stats=function(e){if(void 0===e&&(e=!1),"undefined"!==typeof console){var t;e?(this.statsListener_||(this.statsListener_=new Vt(this.stats_)),t=this.statsListener_.get()):t=this.stats_.get();var n=Object.keys(t).reduce(function(e,t){return Math.max(t.length,e)},0);v.forEach(t,function(e,t){for(var r=e.length;r<n+2;r++)e+=" ";console.log(e+t)})}},e.prototype.statsIncrementCounter=function(e){this.stats_.incrementCounter(e),this.statsReporter_.includeStat(e)},e.prototype.log_=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="";this.persistentConnection_&&(n=this.persistentConnection_.id+":"),N.apply(void 0,[n].concat(e))},e.prototype.callOnCompleteCallback=function(e,t,n){e&&te(function(){if("ok"==t)e(null);else{var r=(t||"error").toUpperCase(),i=r;n&&(i+=": "+n);var o=new Error(i);o.code=r,e(o)}})},Object.defineProperty(e.prototype,"database",{get:function(){return this.__database||(this.__database=new Sn(this))},enumerable:!0,configurable:!0}),e}(),vn=function(){function e(t){this.indexedFilter_=new Ot(t.getIndex()),this.index_=t.getIndex(),this.startPost_=e.getStartPost_(t),this.endPost_=e.getEndPost_(t)}return e.prototype.getStartPost=function(){return this.startPost_},e.prototype.getEndPost=function(){return this.endPost_},e.prototype.matches=function(e){return this.index_.compare(this.getStartPost(),e)<=0&&this.index_.compare(e,this.getEndPost())<=0},e.prototype.updateChild=function(e,t,n,r,i,o){return this.matches(new Ie(t,n))||(n=Ze.EMPTY_NODE),this.indexedFilter_.updateChild(e,t,n,r,i,o)},e.prototype.updateFullNode=function(e,t,n){t.isLeafNode()&&(t=Ze.EMPTY_NODE);var r=t.withIndex(this.index_);r=r.updatePriority(Ze.EMPTY_NODE);var i=this;return t.forEachChild(Be,function(e,t){i.matches(new Ie(e,t))||(r=r.updateImmediateChild(e,Ze.EMPTY_NODE))}),this.indexedFilter_.updateFullNode(e,r,n)},e.prototype.updatePriority=function(e,t){return e},e.prototype.filtersNodes=function(){return!0},e.prototype.getIndexedFilter=function(){return this.indexedFilter_},e.prototype.getIndex=function(){return this.index_},e.getStartPost_=function(e){if(e.hasStart()){var t=e.getIndexStartName();return e.getIndex().makePost(e.getIndexStartValue(),t)}return e.getIndex().minPost()},e.getEndPost_=function(e){if(e.hasEnd()){var t=e.getIndexEndName();return e.getIndex().makePost(e.getIndexEndValue(),t)}return e.getIndex().maxPost()},e}(),yn=function(){function e(e){this.rangedFilter_=new vn(e),this.index_=e.getIndex(),this.limit_=e.getLimit(),this.reverse_=!e.isViewFromLeft()}return e.prototype.updateChild=function(e,t,n,r,i,o){return this.rangedFilter_.matches(new Ie(t,n))||(n=Ze.EMPTY_NODE),e.getImmediateChild(t).equals(n)?e:e.numChildren()<this.limit_?this.rangedFilter_.getIndexedFilter().updateChild(e,t,n,r,i,o):this.fullLimitUpdateChild_(e,t,n,i,o)},e.prototype.updateFullNode=function(e,t,n){var r;if(t.isLeafNode()||t.isEmpty())r=Ze.EMPTY_NODE.withIndex(this.index_);else if(2*this.limit_<t.numChildren()&&t.isIndexed(this.index_)){r=Ze.EMPTY_NODE.withIndex(this.index_);var i=void 0;i=this.reverse_?t.getReverseIteratorFrom(this.rangedFilter_.getEndPost(),this.index_):t.getIteratorFrom(this.rangedFilter_.getStartPost(),this.index_);for(var o=0;i.hasNext()&&o<this.limit_;){var a=i.getNext(),s=void 0;if(!(s=this.reverse_?this.index_.compare(this.rangedFilter_.getStartPost(),a)<=0:this.index_.compare(a,this.rangedFilter_.getEndPost())<=0))break;r=r.updateImmediateChild(a.name,a.node),o++}}else{r=t.withIndex(this.index_),r=r.updatePriority(Ze.EMPTY_NODE);var l=void 0,u=void 0,c=void 0,i=void 0;if(this.reverse_){i=r.getReverseIterator(this.index_),l=this.rangedFilter_.getEndPost(),u=this.rangedFilter_.getStartPost();var d=this.index_.getCompare();c=function(e,t){return d(t,e)}}else i=r.getIterator(this.index_),l=this.rangedFilter_.getStartPost(),u=this.rangedFilter_.getEndPost(),c=this.index_.getCompare();for(var o=0,f=!1;i.hasNext();){var a=i.getNext();!f&&c(l,a)<=0&&(f=!0);var s=f&&o<this.limit_&&c(a,u)<=0;s?o++:r=r.updateImmediateChild(a.name,Ze.EMPTY_NODE)}}return this.rangedFilter_.getIndexedFilter().updateFullNode(e,r,n)},e.prototype.updatePriority=function(e,t){return e},e.prototype.filtersNodes=function(){return!0},e.prototype.getIndexedFilter=function(){return this.rangedFilter_.getIndexedFilter()},e.prototype.getIndex=function(){return this.index_},e.prototype.fullLimitUpdateChild_=function(e,t,n,r,i){var o;if(this.reverse_){var a=this.index_.getCompare();o=function(e,t){return a(t,e)}}else o=this.index_.getCompare();var s=e;v.assert(s.numChildren()==this.limit_,"");var l=new Ie(t,n),u=this.reverse_?s.getFirstChild(this.index_):s.getLastChild(this.index_),c=this.rangedFilter_.matches(l);if(s.hasChild(t)){for(var d=s.getImmediateChild(t),f=r.getChildAfterChild(this.index_,u,this.reverse_);null!=f&&(f.name==t||s.hasChild(f.name));)f=r.getChildAfterChild(this.index_,f,this.reverse_);var h=null==f?1:o(f,l);if(c&&!n.isEmpty()&&h>=0)return null!=i&&i.trackChildChange(Ct.childChangedChange(t,n,d)),s.updateImmediateChild(t,n);null!=i&&i.trackChildChange(Ct.childRemovedChange(t,d));var p=s.updateImmediateChild(t,Ze.EMPTY_NODE);return null!=f&&this.rangedFilter_.matches(f)?(null!=i&&i.trackChildChange(Ct.childAddedChange(f.name,f.node)),p.updateImmediateChild(f.name,f.node)):p}return n.isEmpty()?e:c&&o(u,l)>=0?(null!=i&&(i.trackChildChange(Ct.childRemovedChange(u.name,u.node)),i.trackChildChange(Ct.childAddedChange(t,n))),s.updateImmediateChild(t,n).updateImmediateChild(u.name,Ze.EMPTY_NODE)):e},e}(),bn=function(){function e(){this.limitSet_=!1,this.startSet_=!1,this.startNameSet_=!1,this.endSet_=!1,this.endNameSet_=!1,this.limit_=0,this.viewFrom_="",this.indexStartValue_=null,this.indexStartName_="",this.indexEndValue_=null,this.indexEndName_="",this.index_=Be}return e.prototype.hasStart=function(){return this.startSet_},e.prototype.isViewFromLeft=function(){return""===this.viewFrom_?this.startSet_:this.viewFrom_===e.WIRE_PROTOCOL_CONSTANTS_.VIEW_FROM_LEFT},e.prototype.getIndexStartValue=function(){return v.assert(this.startSet_,"Only valid if start has been set"),this.indexStartValue_},e.prototype.getIndexStartName=function(){return v.assert(this.startSet_,"Only valid if start has been set"),this.startNameSet_?this.indexStartName_:z},e.prototype.hasEnd=function(){return this.endSet_},e.prototype.getIndexEndValue=function(){return v.assert(this.endSet_,"Only valid if end has been set"),this.indexEndValue_},e.prototype.getIndexEndName=function(){return v.assert(this.endSet_,"Only valid if end has been set"),this.endNameSet_?this.indexEndName_:U},e.prototype.hasLimit=function(){return this.limitSet_},e.prototype.hasAnchoredLimit=function(){return this.limitSet_&&""!==this.viewFrom_},e.prototype.getLimit=function(){return v.assert(this.limitSet_,"Only valid if limit has been set"),this.limit_},e.prototype.getIndex=function(){return this.index_},e.prototype.copy_=function(){var t=new e;return t.limitSet_=this.limitSet_,t.limit_=this.limit_,t.startSet_=this.startSet_,t.indexStartValue_=this.indexStartValue_,t.startNameSet_=this.startNameSet_,t.indexStartName_=this.indexStartName_,t.endSet_=this.endSet_,t.indexEndValue_=this.indexEndValue_,t.endNameSet_=this.endNameSet_,t.indexEndName_=this.indexEndName_,t.index_=this.index_,t.viewFrom_=this.viewFrom_,t},e.prototype.limit=function(e){var t=this.copy_();return t.limitSet_=!0,t.limit_=e,t.viewFrom_="",t},e.prototype.limitToFirst=function(t){var n=this.copy_();return n.limitSet_=!0,n.limit_=t,n.viewFrom_=e.WIRE_PROTOCOL_CONSTANTS_.VIEW_FROM_LEFT,n},e.prototype.limitToLast=function(t){var n=this.copy_();return n.limitSet_=!0,n.limit_=t,n.viewFrom_=e.WIRE_PROTOCOL_CONSTANTS_.VIEW_FROM_RIGHT,n},e.prototype.startAt=function(e,t){var n=this.copy_();return n.startSet_=!0,void 0===e&&(e=null),n.indexStartValue_=e,null!=t?(n.startNameSet_=!0,n.indexStartName_=t):(n.startNameSet_=!1,n.indexStartName_=""),n},e.prototype.endAt=function(e,t){var n=this.copy_();return n.endSet_=!0,void 0===e&&(e=null),n.indexEndValue_=e,void 0!==t?(n.endNameSet_=!0,n.indexEndName_=t):(n.endNameSet_=!1,n.indexEndName_=""),n},e.prototype.orderBy=function(e){var t=this.copy_();return t.index_=e,t},e.prototype.getQueryObject=function(){var t=e.WIRE_PROTOCOL_CONSTANTS_,n={};if(this.startSet_&&(n[t.INDEX_START_VALUE]=this.indexStartValue_,this.startNameSet_&&(n[t.INDEX_START_NAME]=this.indexStartName_)),this.endSet_&&(n[t.INDEX_END_VALUE]=this.indexEndValue_,this.endNameSet_&&(n[t.INDEX_END_NAME]=this.indexEndName_)),this.limitSet_){n[t.LIMIT]=this.limit_;var r=this.viewFrom_;""===r&&(r=this.isViewFromLeft()?t.VIEW_FROM_LEFT:t.VIEW_FROM_RIGHT),n[t.VIEW_FROM]=r}return this.index_!==Be&&(n[t.INDEX]=this.index_.toString()),n},e.prototype.loadsAllData=function(){return!(this.startSet_||this.endSet_||this.limitSet_)},e.prototype.isDefault=function(){return this.loadsAllData()&&this.index_==Be},e.prototype.getNodeFilter=function(){return this.loadsAllData()?new Ot(this.getIndex()):this.hasLimit()?new yn(this):new vn(this)},e.prototype.toRestQueryStringParameters=function(){var t=e.REST_QUERY_CONSTANTS_,n={};if(this.isDefault())return n;var r;return this.index_===Be?r=t.PRIORITY_INDEX:this.index_===nt?r=t.VALUE_INDEX:this.index_===Me?r=t.KEY_INDEX:(v.assert(this.index_ instanceof rt,"Unrecognized index type!"),r=this.index_.toString()),n[t.ORDER_BY]=v.stringify(r),this.startSet_&&(n[t.START_AT]=v.stringify(this.indexStartValue_),this.startNameSet_&&(n[t.START_AT]+=","+v.stringify(this.indexStartName_))),this.endSet_&&(n[t.END_AT]=v.stringify(this.indexEndValue_),this.endNameSet_&&(n[t.END_AT]+=","+v.stringify(this.indexEndName_))),this.limitSet_&&(this.isViewFromLeft()?n[t.LIMIT_TO_FIRST]=this.limit_:n[t.LIMIT_TO_LAST]=this.limit_),n},e.WIRE_PROTOCOL_CONSTANTS_={INDEX_START_VALUE:"sp",INDEX_START_NAME:"sn",INDEX_END_VALUE:"ep",INDEX_END_NAME:"en",LIMIT:"l",VIEW_FROM:"vf",VIEW_FROM_LEFT:"l",VIEW_FROM_RIGHT:"r",INDEX:"i"},e.REST_QUERY_CONSTANTS_={ORDER_BY:"orderBy",PRIORITY_INDEX:"$priority",VALUE_INDEX:"$value",KEY_INDEX:"$key",START_AT:"startAt",END_AT:"endAt",LIMIT_TO_FIRST:"limitToFirst",LIMIT_TO_LAST:"limitToLast"},e.DEFAULT=new e,e}(),wn=function(e){function t(t,n){if(!(t instanceof gn))throw new Error("new Reference() no longer supported - use app.database().");return e.call(this,t,n,bn.DEFAULT,!1)||this}return b.__extends(t,e),t.prototype.getKey=function(){return v.validateArgCount("Reference.key",0,0,arguments.length),this.path.isEmpty()?null:this.path.getBack()},t.prototype.child=function(e){return v.validateArgCount("Reference.child",1,1,arguments.length),"number"===typeof e?e=String(e):e instanceof ie||(null===this.path.getFront()?ke("Reference.child",1,e,!1):_e("Reference.child",1,e,!1)),new t(this.repo,this.path.child(e))},t.prototype.getParent=function(){v.validateArgCount("Reference.parent",0,0,arguments.length);var e=this.path.parent();return null===e?null:new t(this.repo,e)},t.prototype.getRoot=function(){v.validateArgCount("Reference.root",0,0,arguments.length);for(var e=this;null!==e.getParent();)e=e.getParent();return e},t.prototype.databaseProp=function(){return this.repo.database},t.prototype.set=function(e,t){v.validateArgCount("Reference.set",1,2,arguments.length),xe("Reference.set",this.path),ge("Reference.set",1,e,this.path,!1),v.validateCallback("Reference.set",2,t,!0);var n=new v.Deferred;return this.repo.setWithPriority(this.path,e,null,n.wrapCallback(t)),n.promise},t.prototype.update=function(e,t){if(v.validateArgCount("Reference.update",1,2,arguments.length),xe("Reference.update",this.path),Array.isArray(e)){for(var n={},r=0;r<e.length;++r)n[""+r]=e[r];e=n,j("Passing an Array to Firebase.update() is deprecated. Use set() if you want to overwrite the existing data, or an Object with integer keys if you really do want to only update some of the children.")}be("Reference.update",1,e,this.path,!1),v.validateCallback("Reference.update",2,t,!0);var i=new v.Deferred;return this.repo.update(this.path,e,i.wrapCallback(t)),i.promise},t.prototype.setWithPriority=function(e,t,n){if(v.validateArgCount("Reference.setWithPriority",2,3,arguments.length),xe("Reference.setWithPriority",this.path),ge("Reference.setWithPriority",1,e,this.path,!1),we("Reference.setWithPriority",2,t,!1),v.validateCallback("Reference.setWithPriority",3,n,!0),".length"===this.getKey()||".keys"===this.getKey())throw"Reference.setWithPriority failed: "+this.getKey()+" is a read-only object.";var r=new v.Deferred;return this.repo.setWithPriority(this.path,e,t,r.wrapCallback(n)),r.promise},t.prototype.remove=function(e){return v.validateArgCount("Reference.remove",0,1,arguments.length),xe("Reference.remove",this.path),v.validateCallback("Reference.remove",1,e,!0),this.set(null,e)},t.prototype.transaction=function(e,t,n){if(v.validateArgCount("Reference.transaction",1,3,arguments.length),xe("Reference.transaction",this.path),v.validateCallback("Reference.transaction",1,e,!1),v.validateCallback("Reference.transaction",2,t,!0),Ce("Reference.transaction",3,n,!0),".length"===this.getKey()||".keys"===this.getKey())throw"Reference.transaction failed: "+this.getKey()+" is a read-only object.";void 0===n&&(n=!0);var r=new v.Deferred;"function"===typeof t&&r.promise.catch(function(){});var i=function(e,n,i){e?r.reject(e):r.resolve(new Ae(n,i)),"function"===typeof t&&t(e,n,i)};return this.repo.startTransaction(this.path,e,i,n),r.promise},t.prototype.setPriority=function(e,t){v.validateArgCount("Reference.setPriority",1,2,arguments.length),xe("Reference.setPriority",this.path),we("Reference.setPriority",1,e,!1),v.validateCallback("Reference.setPriority",2,t,!0);var n=new v.Deferred;return this.repo.setWithPriority(this.path.child(".priority"),e,null,n.wrapCallback(t)),n.promise},t.prototype.push=function(e,t){v.validateArgCount("Reference.push",0,2,arguments.length),xe("Reference.push",this.path),ge("Reference.push",1,e,this.path,!0),v.validateCallback("Reference.push",2,t,!0);var n,r=this.repo.serverTime(),i=Pe(r),o=this.child(i),a=this.child(i);return n=null!=e?o.set(e,t).then(function(){return a}):Promise.resolve(a),o.then=n.then.bind(n),o.catch=n.then.bind(n,void 0),"function"===typeof t&&n.catch(function(){}),o},t.prototype.onDisconnect=function(){return xe("Reference.onDisconnect",this.path),new Oe(this.repo,this.path)},Object.defineProperty(t.prototype,"database",{get:function(){return this.databaseProp()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"key",{get:function(){return this.getKey()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this.getParent()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this.getRoot()},enumerable:!0,configurable:!0}),t}(ut);ut.__referenceConstructor=wn,jt.__referenceConstructor=wn;var En,Tn=function(){function e(){this.children={},this.childCount=0,this.value=null}return e}(),_n=function(){function e(e,t,n){void 0===e&&(e=""),void 0===t&&(t=null),void 0===n&&(n=new Tn),this.name_=e,this.parent_=t,this.node_=n}return e.prototype.subTree=function(t){for(var n,r=t instanceof ie?t:new ie(t),i=this;null!==(n=r.getFront());){i=new e(n,i,v.safeGet(i.node_.children,n)||new Tn),r=r.popFront()}return i},e.prototype.getValue=function(){return this.node_.value},e.prototype.setValue=function(e){v.assert("undefined"!==typeof e,"Cannot set value to undefined"),this.node_.value=e,this.updateParents_()},e.prototype.clear=function(){this.node_.value=null,this.node_.children={},this.node_.childCount=0,this.updateParents_()},e.prototype.hasChildren=function(){return this.node_.childCount>0},e.prototype.isEmpty=function(){return null===this.getValue()&&!this.hasChildren()},e.prototype.forEachChild=function(t){var n=this;v.forEach(this.node_.children,function(r,i){t(new e(r,n,i))})},e.prototype.forEachDescendant=function(e,t,n){t&&!n&&e(this),this.forEachChild(function(t){t.forEachDescendant(e,!0,n)}),t&&n&&e(this)},e.prototype.forEachAncestor=function(e,t){for(var n=t?this:this.parent();null!==n;){if(e(n))return!0;n=n.parent()}return!1},e.prototype.forEachImmediateDescendantWithValue=function(e){this.forEachChild(function(t){null!==t.getValue()?e(t):t.forEachImmediateDescendantWithValue(e)})},e.prototype.path=function(){return new ie(null===this.parent_?this.name_:this.parent_.path()+"/"+this.name_)},e.prototype.name=function(){return this.name_},e.prototype.parent=function(){return this.parent_},e.prototype.updateParents_=function(){null!==this.parent_&&this.parent_.updateChild_(this.name_,this)},e.prototype.updateChild_=function(e,t){var n=t.isEmpty(),r=v.contains(this.node_.children,e);n&&r?(delete this.node_.children[e],this.node_.childCount--,this.updateParents_()):n||r||(this.node_.children[e]=t.node_,this.node_.childCount++,this.updateParents_())},e}();!function(e){e[e.RUN=0]="RUN",e[e.SENT=1]="SENT",e[e.COMPLETED=2]="COMPLETED",e[e.SENT_NEEDS_ABORT=3]="SENT_NEEDS_ABORT",e[e.NEEDS_ABORT=4]="NEEDS_ABORT"}(En||(En={})),gn.MAX_TRANSACTION_RETRIES_=25,gn.prototype.transactions_init_=function(){this.transactionQueueTree_=new _n},gn.prototype.startTransaction=function(e,t,n,r){this.log_("transaction on "+e);var i=function(){},o=new wn(this,e);o.on("value",i);var a=function(){o.off("value",i)},s={path:e,update:t,onComplete:n,status:null,order:C(),applyLocally:r,retryCount:0,unwatcher:a,abortReason:null,currentWriteId:null,currentInputSnapshot:null,currentOutputSnapshotRaw:null,currentOutputSnapshotResolved:null},u=this.getLatestState_(e);s.currentInputSnapshot=u;var c=s.update(u.val());if(void 0===c){if(s.unwatcher(),s.currentOutputSnapshotRaw=null,s.currentOutputSnapshotResolved=null,s.onComplete){var d=new it(s.currentInputSnapshot,new wn(this,s.path),Be);s.onComplete(null,!1,d)}}else{ve("transaction failed: Data returned ",c,s.path),s.status=En.RUN;var f=this.transactionQueueTree_.subTree(e),h=f.getValue()||[];h.push(s),f.setValue(h);var p=void 0;if("object"===typeof c&&null!==c&&v.contains(c,".priority"))p=v.safeGet(c,".priority"),v.assert(me(p),"Invalid priority returned by transaction. Priority must be a valid string, finite number, server value, or null.");else{p=(this.serverSyncTree_.calcCompleteEventCache(e)||Ze.EMPTY_NODE).getPriority().val()}p=p;var m=this.generateServerValues(),g=l(c,p),y=mt(g,m);s.currentOutputSnapshotRaw=g,s.currentOutputSnapshotResolved=y,s.currentWriteId=this.getNextWriteId_();var b=this.serverSyncTree_.applyUserOverwrite(e,y,s.currentWriteId,s.applyLocally);this.eventQueue_.raiseEventsForChangedPath(e,b),this.sendReadyTransactions_()}},gn.prototype.getLatestState_=function(e,t){return this.serverSyncTree_.calcCompleteEventCache(e,t)||Ze.EMPTY_NODE},gn.prototype.sendReadyTransactions_=function(e){var t=this;if(void 0===e&&(e=this.transactionQueueTree_),e||this.pruneCompletedTransactionsBelowNode_(e),null!==e.getValue()){var n=this.buildTransactionQueue_(e);v.assert(n.length>0,"Sending zero length transaction queue");n.every(function(e){return e.status===En.RUN})&&this.sendTransactionQueue_(e.path(),n)}else e.hasChildren()&&e.forEachChild(function(e){t.sendReadyTransactions_(e)})},gn.prototype.sendTransactionQueue_=function(e,t){for(var n=this,r=t.map(function(e){return e.currentWriteId}),i=this.getLatestState_(e,r),o=i,a=i.hash(),s=0;s<t.length;s++){var l=t[s];v.assert(l.status===En.RUN,"tryToSendTransactionQueue_: items in queue should all be run."),l.status=En.SENT,l.retryCount++;var u=ie.relativePath(e,l.path);o=o.updateChild(u,l.currentOutputSnapshotRaw)}var c=o.val(!0),d=e;this.server_.put(d.toString(),c,function(r){n.log_("transaction put response",{path:d.toString(),status:r});var i=[];if("ok"===r){for(var o=[],a=0;a<t.length;a++){if(t[a].status=En.COMPLETED,i=i.concat(n.serverSyncTree_.ackUserWrite(t[a].currentWriteId)),t[a].onComplete){var s=t[a].currentOutputSnapshotResolved,l=new wn(n,t[a].path),u=new it(s,l,Be);o.push(t[a].onComplete.bind(null,null,!0,u))}t[a].unwatcher()}n.pruneCompletedTransactionsBelowNode_(n.transactionQueueTree_.subTree(e)),n.sendReadyTransactions_(),n.eventQueue_.raiseEventsForChangedPath(e,i);for(var a=0;a<o.length;a++)te(o[a])}else{if("datastale"===r)for(var a=0;a<t.length;a++)t[a].status===En.SENT_NEEDS_ABORT?t[a].status=En.NEEDS_ABORT:t[a].status=En.RUN;else{j("transaction at "+d.toString()+" failed: "+r);for(var a=0;a<t.length;a++)t[a].status=En.NEEDS_ABORT,t[a].abortReason=r}n.rerunTransactions_(e)}},a)},gn.prototype.rerunTransactions_=function(e){var t=this.getAncestorTransactionNode_(e),n=t.path(),r=this.buildTransactionQueue_(t);return this.rerunTransactionQueue_(r,n),n},gn.prototype.rerunTransactionQueue_=function(e,t){if(0!==e.length){for(var n=[],r=[],i=e.filter(function(e){return e.status===En.RUN}),o=i.map(function(e){return e.currentWriteId}),a=0;a<e.length;a++){var s=e[a],u=ie.relativePath(t,s.path),c=!1,d=void 0;if(v.assert(null!==u,"rerunTransactionsUnderNode_: relativePath should not be null."),s.status===En.NEEDS_ABORT)c=!0,d=s.abortReason,r=r.concat(this.serverSyncTree_.ackUserWrite(s.currentWriteId,!0));else if(s.status===En.RUN)if(s.retryCount>=gn.MAX_TRANSACTION_RETRIES_)c=!0,d="maxretry",r=r.concat(this.serverSyncTree_.ackUserWrite(s.currentWriteId,!0));else{var f=this.getLatestState_(s.path,o);s.currentInputSnapshot=f;var h=e[a].update(f.val());if(void 0!==h){ve("transaction failed: Data returned ",h,s.path);var p=l(h),m="object"===typeof h&&null!=h&&v.contains(h,".priority");m||(p=p.updatePriority(f.getPriority()));var g=s.currentWriteId,y=this.generateServerValues(),b=mt(p,y);s.currentOutputSnapshotRaw=p,s.currentOutputSnapshotResolved=b,s.currentWriteId=this.getNextWriteId_(),o.splice(o.indexOf(g),1),r=r.concat(this.serverSyncTree_.applyUserOverwrite(s.path,b,s.currentWriteId,s.applyLocally)),r=r.concat(this.serverSyncTree_.ackUserWrite(g,!0))}else c=!0,d="nodata",r=r.concat(this.serverSyncTree_.ackUserWrite(s.currentWriteId,!0))}if(this.eventQueue_.raiseEventsForChangedPath(t,r),r=[],c&&(e[a].status=En.COMPLETED,function(e){setTimeout(e,Math.floor(0))}(e[a].unwatcher),e[a].onComplete))if("nodata"===d){var w=new wn(this,e[a].path),E=e[a].currentInputSnapshot,T=new it(E,w,Be);n.push(e[a].onComplete.bind(null,null,!1,T))}else n.push(e[a].onComplete.bind(null,new Error(d),!1,null))}this.pruneCompletedTransactionsBelowNode_(this.transactionQueueTree_);for(var a=0;a<n.length;a++)te(n[a]);this.sendReadyTransactions_()}},gn.prototype.getAncestorTransactionNode_=function(e){for(var t,n=this.transactionQueueTree_;null!==(t=e.getFront())&&null===n.getValue();)n=n.subTree(t),e=e.popFront();return n},gn.prototype.buildTransactionQueue_=function(e){var t=[];return this.aggregateTransactionQueuesForNode_(e,t),t.sort(function(e,t){return e.order-t.order}),t},gn.prototype.aggregateTransactionQueuesForNode_=function(e,t){var n=this,r=e.getValue();if(null!==r)for(var i=0;i<r.length;i++)t.push(r[i]);e.forEachChild(function(e){n.aggregateTransactionQueuesForNode_(e,t)})},gn.prototype.pruneCompletedTransactionsBelowNode_=function(e){var t=this,n=e.getValue();if(n){for(var r=0,i=0;i<n.length;i++)n[i].status!==En.COMPLETED&&(n[r]=n[i],r++);n.length=r,e.setValue(n.length>0?n:null)}e.forEachChild(function(e){t.pruneCompletedTransactionsBelowNode_(e)})},gn.prototype.abortTransactions_=function(e){var t=this,n=this.getAncestorTransactionNode_(e).path(),r=this.transactionQueueTree_.subTree(e);return r.forEachAncestor(function(e){t.abortTransactionsOnNode_(e)}),this.abortTransactionsOnNode_(r),r.forEachDescendant(function(e){t.abortTransactionsOnNode_(e)}),n},gn.prototype.abortTransactionsOnNode_=function(e){var t=e.getValue();if(null!==t){for(var n=[],r=[],i=-1,o=0;o<t.length;o++)if(t[o].status===En.SENT_NEEDS_ABORT);else if(t[o].status===En.SENT)v.assert(i===o-1,"All SENT items should be at beginning of queue."),i=o,t[o].status=En.SENT_NEEDS_ABORT,t[o].abortReason="set";else if(v.assert(t[o].status===En.RUN,"Unexpected transaction status in abort"),t[o].unwatcher(),r=r.concat(this.serverSyncTree_.ackUserWrite(t[o].currentWriteId,!0)),t[o].onComplete){n.push(t[o].onComplete.bind(null,new Error("set"),!1,null))}-1===i?e.setValue(null):t.length=i+1,this.eventQueue_.raiseEventsForChangedPath(e.path(),r);for(var o=0;o<n.length;o++)te(n[o])}};var kn,xn=function(){function e(){this.repos_={},this.useRestClient_=!1}return e.getInstance=function(){return kn||(kn=new e),kn},e.prototype.interrupt=function(){for(var e in this.repos_)for(var t in this.repos_[e])this.repos_[e][t].interrupt()},e.prototype.resume=function(){for(var e in this.repos_)for(var t in this.repos_[e])this.repos_[e][t].resume()},e.prototype.databaseFromApp=function(e,t){var n=t||e.options.databaseURL;void 0===n&&L("Can't determine Firebase Database URL. Be sure to include databaseURL option when calling firebase.initializeApp().");var r=le(n),i=r.repoInfo;return Se("Invalid Firebase Database URL",1,r),r.path.isEmpty()||L("Database URL must point to the root of a Firebase Database (not including a child path)."),this.createRepo(i,e).database},e.prototype.deleteRepo=function(e){var t=v.safeGet(this.repos_,e.app.name);t&&v.safeGet(t,e.repoInfo_.toURLString())===e||L("Database "+e.app.name+"("+e.repoInfo_+") has already been deleted."),e.interrupt(),delete t[e.repoInfo_.toURLString()]},e.prototype.createRepo=function(e,t){var n=v.safeGet(this.repos_,t.name);n||(n={},this.repos_[t.name]=n);var r=v.safeGet(n,e.toURLString());return r&&L("Database initialized multiple times. Please make sure the format of the database URL matches with each database() call."),r=new gn(e,this.useRestClient_,t),n[e.toURLString()]=r,r},e.prototype.forceRestClient=function(e){this.useRestClient_=e},e}(),Sn=function(){function e(e){this.repo_=e,e instanceof gn||L("Don't call new Database() directly - please use firebase.database()."),this.root_=new wn(e,ie.Empty),this.INTERNAL=new Cn(this)}return Object.defineProperty(e.prototype,"app",{get:function(){return this.repo_.app},enumerable:!0,configurable:!0}),e.prototype.ref=function(e){return this.checkDeleted_("ref"),v.validateArgCount("database.ref",0,1,arguments.length),e instanceof wn?this.refFromURL(e.toString()):void 0!==e?this.root_.child(e):this.root_},e.prototype.refFromURL=function(e){var t="database.refFromURL";this.checkDeleted_(t),v.validateArgCount(t,1,1,arguments.length);var n=le(e);Se(t,1,n);var r=n.repoInfo;return r.host!==this.repo_.repoInfo_.host&&L(t+": Host name does not match the current database: (found "+r.host+" but expected "+this.repo_.repoInfo_.host+")"),this.ref(n.path.toString())},e.prototype.checkDeleted_=function(e){null===this.repo_&&L("Cannot call "+e+" on a deleted database.")},e.prototype.goOffline=function(){v.validateArgCount("database.goOffline",0,0,arguments.length),this.checkDeleted_("goOffline"),this.repo_.interrupt()},e.prototype.goOnline=function(){v.validateArgCount("database.goOnline",0,0,arguments.length),this.checkDeleted_("goOnline"),this.repo_.resume()},e.ServerValue={TIMESTAMP:{".sv":"timestamp"}},e}(),Cn=function(){function e(e){this.database=e}return e.prototype.delete=function(){return b.__awaiter(this,void 0,void 0,function(){return b.__generator(this,function(e){return this.database.checkDeleted_("delete"),xn.getInstance().deleteRepo(this.database.repo_),this.database.repo_=null,this.database.root_=null,this.database.INTERNAL=null,this.database=null,[2]})})},e}(),On=function(){ln.forceDisallow(),on.forceAllow()},An=function(){on.forceDisallow()},Pn=function(){return ln.isAvailable()},In=function(e,t){e.repo.persistentConnection_.securityDebugCallback_=t},Rn=function(e,t){e.repo.stats(t)},Nn=function(e,t){e.repo.statsIncrementCounter(t)},Mn=function(e){return e.repo.dataUpdateCount},Dn=function(e,t){return e.repo.interceptServerData_(t)},Ln=Object.freeze({forceLongPolling:On,forceWebSockets:An,isWebSocketsAvailable:Pn,setSecurityDebugCallback:In,stats:Rn,statsIncrementCounter:Nn,dataUpdateCount:Mn,interceptServerData:Dn}),jn=pn;pn.prototype.simpleListen=function(e,t){this.sendRequest("q",{p:e},t)},pn.prototype.echo=function(e,t){this.sendRequest("echo",{d:e},t)};var Wn=cn,Bn=function(e){var t=pn.prototype.put;return pn.prototype.put=function(n,r,i,o){void 0!==o&&(o=e()),t.call(this,n,r,i,o)},function(){pn.prototype.put=t}},Fn=se,zn=function(e){return e.queryIdentifier()},Un=function(e){return e.repo.persistentConnection_.listens_},Hn=function(e){xn.getInstance().forceRestClient(e)},Gn=Object.freeze({DataConnection:jn,RealTimeConnection:Wn,hijackHash:Bn,ConnectionTarget:Fn,queryIdentifier:zn,listens:Un,forceRestClient:Hn}),qn=Sn.ServerValue;u(w),t.registerDatabase=u,t.Database=Sn,t.Query=ut,t.Reference=wn,t.enableLogging=R,t.ServerValue=qn,t.DataSnapshot=it,t.OnDisconnect=Oe}).call(t,n(43))},function(e,t,n){"use strict";function r(e){o.forEach(function(t){t.logLevel=e})}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"setLogLevel",function(){return r}),n.d(t,"Logger",function(){return l}),n.d(t,"LogLevel",function(){return i});var i,o=[];!function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(i||(i={}));var a=i.INFO,s=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];if(!(t<e.logLevel)){var o=(new Date).toISOString();switch(t){case i.DEBUG:case i.VERBOSE:console.log.apply(console,["["+o+"] "+e.name+":"].concat(n));break;case i.INFO:console.info.apply(console,["["+o+"] "+e.name+":"].concat(n));break;case i.WARN:console.warn.apply(console,["["+o+"] "+e.name+":"].concat(n));break;case i.ERROR:console.error.apply(console,["["+o+"] "+e.name+":"].concat(n));break;default:throw new Error("Attempted to log a message with an invalid logType (value: "+t+")")}}},l=function(){function e(e){this.name=e,this._logLevel=a,this._logHandler=s,o.push(this)}return Object.defineProperty(e.prototype,"logLevel",{get:function(){return this._logLevel},set:function(e){if(!(e in i))throw new TypeError("Invalid value assigned to `logLevel`");this._logLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"logHandler",{get:function(){return this._logHandler},set:function(e){if("function"!==typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e},enumerable:!0,configurable:!0}),e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._logHandler.apply(this,[this,i.DEBUG].concat(e))},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._logHandler.apply(this,[this,i.VERBOSE].concat(e))},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._logHandler.apply(this,[this,i.INFO].concat(e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._logHandler.apply(this,[this,i.WARN].concat(e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._logHandler.apply(this,[this,i.ERROR].concat(e))},e}()},function(e,t,n){(function(t){function n(){return"undefined"!==typeof navigator?o(navigator.userAgent):i()}function r(e){var t=s(),n=t.filter(function(t){return t.rule&&t.rule.test(e)})[0];return n?n.name:null}function i(){return"undefined"!==typeof t&&t.version&&{name:"node",version:t.version.slice(1),os:t.platform}}function o(e){var t=a();if(!e)return null;var n=t.map(function(t){var n=t.rule.exec(e),r=n&&n[1].split(/[._]/).slice(0,3);return r&&r.length<3&&(r=r.concat(1==r.length?[0,0]:[0])),n&&{name:t.name,version:r.join(".")}}).filter(Boolean)[0]||null;return n&&(n.os=r(e)),/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/i.test(e)&&(n=n||{},n.bot=!0),n}function a(){return l([["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["vivaldi",/Vivaldi\/([0-9\.]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)$/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/]])}function s(){return l(od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/],["Search Bot",/(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(MSNBot)|(Ask Jeeves\/Teoma)|(ia_archiver)/)}function l(e){return e.map(function(e){return{name:e[0],rule:e[1]}})}e.exports={detect:n,detectOS:r,getNodeVersion:i,parseUserAgent:o}}).call(t,n(43))}]);
//# sourceMappingURL=main.f9c0ce4f.js.map