!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.BotChat=t():e.BotChat=t()}(this,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.i=function(e){return e},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=102)}([function(e,t,n){"use strict";var r=n(5),i=n(262),o=n(36),s=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,o=i.toSubscriber(e,t,n);if(r?r.call(o,this.source):o.add(this.source?this._subscribe(o):this._trySubscribe(o)),o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.syncErrorThrown=!0,e.syncErrorValue=t,e.error(t)}},e.prototype.forEach=function(e,t){var n=this;if(t||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?t=r.root.Rx.config.Promise:r.root.Promise&&(t=r.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,r){var i;i=n.subscribe(function(t){if(i)try{e(t)}catch(e){r(e),i.unsubscribe()}else e(t)},r,t)})},e.prototype._subscribe=function(e){return this.source.subscribe(e)},e.prototype[o.observable]=function(){return this},e.create=function(t){return new e(t)},e}();t.Observable=s},function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e)}function i(e){return"[object String]"===r(e)}function o(e,t){return w.call(e,t)}function s(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function a(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function l(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function c(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function u(e,t){var n=0;return o(E,t)?E[t]:35===t.charCodeAt(0)&&x.test(t)&&(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10),l(n))?c(n):e}function p(e){return e.indexOf("\\")<0?e:e.replace(C,"$1")}function d(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(k,function(e,t,n){return t||u(e,n)})}function h(e){return O[e]}function f(e){return T.test(e)?e.replace(A,h):e}function m(e){return e.replace(P,"\\$&")}function g(e){switch(e){case 9:case 32:return!0}return!1}function y(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function v(e){return I.test(e)}function b(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function _(e){return e.trim().replace(/\s+/g," ").toUpperCase()}var w=Object.prototype.hasOwnProperty,C=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,S=/&([a-z#][a-z0-9]{1,31});/gi,k=new RegExp(C.source+"|"+S.source,"gi"),x=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,E=n(47),T=/[&<>"]/,A=/[&<>"]/g,O={"&":"&","<":"<",">":">",'"':"""},P=/[.?*+^$[\]\\(){}|-]/g,I=n(39);t.lib={},t.lib.mdurl=n(51),t.lib.ucmicro=n(269),t.assign=s,t.isString=i,t.has=o,t.unescapeMd=p,t.unescapeAll=d,t.isValidEntityCode=l,t.fromCodePoint=c,t.escapeHtml=f,t.arrayReplaceAt=a,t.isSpace=g,t.isWhiteSpace=y,t.isMdAsciiPunct=b,t.isPunctChar=v,t.escapeRE=m,t.normalizeReference=_},function(e,t,n){"use strict";e.exports=n(196)},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=n(38),o=n(8),s=n(64),a=n(37),l=function(e){function t(n,r,i){switch(e.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.empty;break;case 1:if(!n){this.destination=s.empty;break}if("object"==typeof n){n instanceof t?(this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,n,r,i)}}return r(t,e),t.prototype[a.rxSubscriber]=function(){return this},t.create=function(e,n,r){var i=new t(e,n,r);return i.syncErrorThrowable=!1,i},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this,t=e._parent,n=e._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=n,this},t}(o.Subscription);t.Subscriber=l;var c=function(e){function t(t,n,r,o){e.call(this),this._parentSubscriber=t;var a,l=this;i.isFunction(n)?a=n:n&&(a=n.next,r=n.error,o=n.complete,n!==s.empty&&(l=Object.create(n),i.isFunction(l.unsubscribe)&&this.add(l.unsubscribe.bind(l)),l.unsubscribe=this.unsubscribe.bind(this))),this._context=l,this._next=a,this._error=r,this._complete=o}return r(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber;if(this._error)t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else{if(!t.syncErrorThrowable)throw this.unsubscribe(),e;t.syncErrorValue=e,t.syncErrorThrown=!0,this.unsubscribe()}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){throw this.unsubscribe(),e}},t.prototype.__tryOrSetError=function(e,t,n){try{t.call(this._context,n)}catch(t){return e.syncErrorValue=t,e.syncErrorThrown=!0,!0}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(l)},function(e,t,n){"use strict";function r(e,t){function n(){this.constructor=e}v(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=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function s(e,t){return function(n,r){t(n,r,e)}}function a(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 s(e){try{l(r.next(e))}catch(e){o(e)}}function a(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(s,a)}l((r=r.apply(e,t||[])).next())})}function c(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&&(s=o[2&n[0]?"return":n[0]?"throw":"next"])&&!(s=s.call(o,n[1])).done)return s;switch(o=0,s&&(n=[0,s.value]),n[0]){case 0:case 1:s=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(s=l.trys,!(s=s.length>0&&s[s.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!s||n[1]>s[0]&&n[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function d(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.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 s}function h(){for(var e=[],t=0;t1||i(e,t)})})}function i(e,t){try{o(u[e](t))}catch(e){l(p[0][3],e)}}function o(e){e.value instanceof f?Promise.resolve(e.value.v).then(s,a):l(p[0][2],e)}function s(e){i("next",e)}function a(e){i("throw",e)}function l(e,t){e(t),p.shift(),p.length&&i(p[0][0],p[0][1])}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var c,u=n.apply(e,t||[]),p=[];return c={},r("next"),r("throw"),r("return"),c[Symbol.asyncIterator]=function(){return this},c}function g(e){function t(t,i){e[t]&&(n[t]=function(n){return(r=!r)?{value:f(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 y(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator];return t?t.call(e):"function"==typeof p?p(e):e[Symbol.iterator]()}Object.defineProperty(t,"__esModule",{value:!0}),t.__extends=r,n.d(t,"__assign",function(){return b}),t.__rest=i,t.__decorate=o,t.__param=s,t.__metadata=a,t.__awaiter=l,t.__generator=c,t.__exportStar=u,t.__values=p,t.__read=d,t.__spread=h,t.__await=f,t.__asyncGenerator=m,t.__asyncDelegator=g,t.__asyncValues=y;/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ var v=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])},b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0))return t(e)},t.classList=function(){for(var e=[],t=0;t\n"+e+"\n\n");var a=new DOMParser,l=a.parseFromString(e,"text/xml"),u=l.documentElement.childNodes;this.processNodes(u,s)}else s.push(e);var p=function(){null!==r&&r(),i.speakRequests.length&&(i.speakRequests[0].completed(),i.speakRequests.splice(0,1)),i.speakRequests.length&&i.playNextTTS(i.speakRequests[0],0)},d=new c(s,t,function(e){i.lastOperation=e},n,p);0===this.speakRequests.length?(this.speakRequests=[d],this.playNextTTS(this.speakRequests[0],0)):this.speakRequests.push(d)}},e.prototype.stopSpeaking=function(){if("SpeechSynthesisUtterance"in window!=!1&&this.speakRequests.length){this.audioElement&&this.audioElement.pause(),this.speakRequests.forEach(function(e){e.abandon()}),this.speakRequests=[];var e=window.speechSynthesis;(e.speaking||e.pending)&&(this.lastOperation&&(this.lastOperation.onend=null),e.cancel())}},e.prototype.playNextTTS=function(e,t){var n=this,r=function(){n.playNextTTS(e,t+1)};if(t0)for(var r=0;r1?new t(e,r):1===i?new o.ScalarObservable(e[0],r):new s.EmptyObservable(r)},t.dispatch=function(e){var t=e.array,n=e.index,r=e.count,i=e.subscriber;if(n>=r)return void i.complete();i.next(t[n]),i.closed||(e.index=n+1,this.schedule(e))},t.prototype._subscribe=function(e){var n=this.array,r=n.length,i=this.scheduler;if(i)return i.schedule(t.dispatch,0,{array:n,index:0,count:r,subscriber:e});for(var o=0;o>>0)).toLowerCase()?"image":"video"};t.AttachmentView=function(e){if(e.attachment){var t=e.attachment,n=function(t){return t&&!e.disabled&&function(n){e.onCardAction(t.type,t.value),n.stopPropagation()}},r=function(t,n){return n.media&&0!==n.media.length?n.media.map(function(r,i){var s="string"==typeof t?t:t(r.url);return o.createElement(f,{autoPlay:n.autostart,disabled:e.disabled,key:i,loop:n.autoloop,onLoad:e.onImageLoad,poster:n.image&&n.image.url,src:r.url,type:s})}):null};switch(t.contentType){case"application/vnd.microsoft.card.hero":if(!t.content)return null;var l=new a.AdaptiveCardBuilder;return t.content.images&&t.content.images.forEach(function(e){return l.addImage(e.url,null,e.tap)}),l.addCommon(t.content),o.createElement(s.default,{className:"hero",disabled:e.disabled,nativeCard:l.card,onCardAction:e.onCardAction,onClick:n(t.content.tap),onImageLoad:e.onImageLoad});case"application/vnd.microsoft.card.thumbnail":if(!t.content)return null;var c=new a.AdaptiveCardBuilder;if(t.content.images&&t.content.images.length>0){var p=c.addColumnSet([75,25]);c.addTextBlock(t.content.title,{size:i.TextSize.Medium,weight:i.TextWeight.Bolder},p[0]),c.addTextBlock(t.content.subtitle,{isSubtle:!0,wrap:!0},p[0]),c.addImage(t.content.images[0].url,p[1],t.content.images[0].tap),c.addTextBlock(t.content.text,{wrap:!0}),c.addButtons(t.content.buttons)}else c.addCommon(t.content);return o.createElement(s.default,{className:"thumbnail",disabled:e.disabled,nativeCard:c.card,onCardAction:e.onCardAction,onClick:n(t.content.tap),onImageLoad:e.onImageLoad});case"application/vnd.microsoft.card.video":return t.content&&t.content.media&&0!==t.content.media.length?o.createElement(s.default,{className:"video",disabled:e.disabled,nativeCard:a.buildCommonCard(t.content),onCardAction:e.onCardAction},r("video",t.content)):null;case"application/vnd.microsoft.card.animation":return t.content&&t.content.media&&0!==t.content.media.length?o.createElement(s.default,{className:"animation",disabled:e.disabled,onCardAction:e.onCardAction,nativeCard:a.buildCommonCard(t.content)},r(g,t.content)):null;case"application/vnd.microsoft.card.audio":return t.content&&t.content.media&&0!==t.content.media.length?o.createElement(s.default,{className:"audio",disabled:e.disabled,nativeCard:a.buildCommonCard(t.content),onCardAction:e.onCardAction},r("audio",t.content)):null;case"application/vnd.microsoft.card.signin":return t.content?o.createElement(s.default,{className:"signin",disabled:e.disabled,nativeCard:a.buildCommonCard(t.content),onCardAction:e.onCardAction}):null;case"application/vnd.microsoft.card.oauth":return t.content?o.createElement(s.default,{className:"signin",disabled:e.disabled,nativeCard:a.buildOAuthCard(t.content),onCardAction:e.onCardAction}):null;case"application/vnd.microsoft.card.receipt":if(!t.content)return null;var d=new a.AdaptiveCardBuilder;d.addTextBlock(t.content.title,{size:i.TextSize.Medium,weight:i.TextWeight.Bolder});var h=d.addColumnSet([75,25]);if(t.content.facts&&t.content.facts.map(function(e,t){d.addTextBlock(e.key,{size:i.TextSize.Medium},h[0]),d.addTextBlock(e.value,{size:i.TextSize.Medium,horizontalAlignment:i.HorizontalAlignment.Right},h[1])}),t.content.items&&t.content.items.map(function(e,t){if(e.image){var n=d.addColumnSet([15,75,10]);d.addImage(e.image.url,n[0],e.image.tap),d.addTextBlock(e.title,{size:i.TextSize.Medium,weight:i.TextWeight.Bolder,wrap:!0},n[1]),d.addTextBlock(e.subtitle,{size:i.TextSize.Medium,wrap:!0},n[1]),d.addTextBlock(e.price,{horizontalAlignment:i.HorizontalAlignment.Right},n[2])}else{var r=d.addColumnSet([75,25]);d.addTextBlock(e.title,{size:i.TextSize.Medium,weight:i.TextWeight.Bolder,wrap:!0},r[0]),d.addTextBlock(e.subtitle,{size:i.TextSize.Medium,wrap:!0},r[0]),d.addTextBlock(e.price,{horizontalAlignment:i.HorizontalAlignment.Right},r[1])}}),u(t.content.vat)){var y=d.addColumnSet([75,25]);d.addTextBlock(e.format.strings.receiptVat,{size:i.TextSize.Medium,weight:i.TextWeight.Bolder},y[0]),d.addTextBlock(t.content.vat,{horizontalAlignment:i.HorizontalAlignment.Right},y[1])}if(u(t.content.tax)){var v=d.addColumnSet([75,25]);d.addTextBlock(e.format.strings.receiptTax,{size:i.TextSize.Medium,weight:i.TextWeight.Bolder},v[0]),d.addTextBlock(t.content.tax,{horizontalAlignment:i.HorizontalAlignment.Right},v[1])}if(u(t.content.total)){var b=d.addColumnSet([75,25]);d.addTextBlock(e.format.strings.receiptTotal,{size:i.TextSize.Medium,weight:i.TextWeight.Bolder},b[0]),d.addTextBlock(t.content.total,{horizontalAlignment:i.HorizontalAlignment.Right,size:i.TextSize.Medium,weight:i.TextWeight.Bolder},b[1])}return d.addButtons(t.content.buttons),o.createElement(s.default,{className:"receipt",disabled:e.disabled,nativeCard:d.card,onCardAction:e.onCardAction,onClick:n(t.content.tap)});case"application/vnd.microsoft.card.adaptive":return t.content?o.createElement(s.default,{disabled:e.disabled,jsonCard:t.content,onCardAction:e.onCardAction,onImageLoad:e.onImageLoad}):null;case"application/vnd.microsoft.card.flex":return t.content?o.createElement(s.default,{className:"flex",disabled:e.disabled,nativeCard:a.buildCommonCard(t.content),onCardAction:e.onCardAction},function(t){return t&&t.length>0&&o.createElement(f,{alt:t[0].alt,disabled:e.disabled,onClick:n(t[0].tap),onLoad:e.onImageLoad,src:t[0].url})}(t.content.images)):null;case"image/svg+xml":case"image/png":case"image/jpg":case"image/jpeg":case"image/gif":return o.createElement(f,{disabled:e.disabled,onLoad:e.onImageLoad,src:t.contentUrl});case"audio/mpeg":case"audio/mp4":return o.createElement(f,{disabled:e.disabled,src:t.contentUrl,type:"audio"});case"video/mp4":return o.createElement(f,{disabled:e.disabled,onLoad:e.onImageLoad,poster:t.thumbnailUrl,src:t.contentUrl,type:"video"});default:var _=e.attachment;return o.createElement(m,{contentType:_.contentType,contentUrl:_.contentUrl,format:e.format,name:_.name})}}}},function(e,t,n){"use strict";var r=n(93);Object.defineProperty(t,"__esModule",{value:!0}),t.DirectLine=t.ConnectionStatus=void 0;var i=r(n(95)),o=r(n(94)),s=r(n(91)),a=r(n(92)),l=r(n(40)),c=n(204),u=n(0);n(67),n(215),n(216),n(68),n(69),n(70),n(71),n(72),n(218),n(219),n(220),n(209),n(65),n(210),n(212),n(66),n(214);var p;t.ConnectionStatus=p,function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Connecting=1]="Connecting",e[e.Online=2]="Online",e[e.ExpiredToken=3]="ExpiredToken",e[e.FailedToConnect=4]="FailedToConnect",e[e.Ended=5]="Ended"}(p||(t.ConnectionStatus=p={}));var d=200,h=new Error("expired token"),f=new Error("conversation ended"),m=new Error("failed to connect"),g={log:function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i0&&void 0!==arguments[0]&&arguments[0],n=this.connectionStatus$.flatMap(function(t){return t===p.Uninitialized?(e.connectionStatus$.next(p.Connecting),e.token&&e.streamUrl?(e.connectionStatus$.next(p.Online),u.Observable.of(t)):e.startConversation().do(function(t){e.conversationId=t.conversationId,e.token=e.secret||t.token,e.streamUrl=t.streamUrl,e.referenceGrammarId=t.referenceGrammarId,e.secret||e.refreshTokenLoop(),e.connectionStatus$.next(p.Online)},function(t){e.connectionStatus$.next(p.FailedToConnect)}).map(function(e){return t})):u.Observable.of(t)}).filter(function(e){return e!=p.Uninitialized&&e!=p.Connecting}).flatMap(function(e){switch(e){case p.Ended:return u.Observable.throw(f);case p.FailedToConnect:return u.Observable.throw(m);case p.ExpiredToken:default:return u.Observable.of(e)}});return t?n.take(1):n}},{key:"setConnectionStatusFallback",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5;n--;var r=0,i=null;return function(o){return o===e&&i===o&&r>=n?(r=0,t):(r++,i=o,o)}}},{key:"expiredToken",value:function(){var e=this.connectionStatus$.getValue();e!=p.Ended&&e!=p.FailedToConnect&&this.connectionStatus$.next(p.ExpiredToken);var t=this.expiredTokenExhaustion(this.connectionStatus$.getValue());this.connectionStatus$.next(t)}},{key:"startConversation",value:function(){var e=this.conversationId?"".concat(this.domain,"/conversations/").concat(this.conversationId,"?watermark=").concat(this.watermark):"".concat(this.domain,"/conversations"),t=this.conversationId?"GET":"POST";return u.Observable.ajax({method:t,url:e,timeout:2e4,headers:(0,o.default)({Accept:"application/json"},this.commonHeaders())}).map(function(e){return e.response}).retryWhen(function(e){return e.mergeMap(function(e){return e.status>=400&&e.status<600?u.Observable.throw(e):u.Observable.of(e)}).delay(2e4).take(45)})}},{key:"refreshTokenLoop",value:function(){var e=this;this.tokenRefreshSubscription=u.Observable.interval(9e5).flatMap(function(t){return e.refreshToken()}).subscribe(function(t){g.log("refreshing token",t,"at",new Date),e.token=t})}},{key:"refreshToken",value:function(){var e=this;return this.checkConnection(!0).flatMap(function(t){return u.Observable.ajax({method:"POST",url:"".concat(e.domain,"/tokens/refresh"),timeout:2e4,headers:(0,o.default)({},e.commonHeaders())}).map(function(e){return e.response.token}).retryWhen(function(t){return t.mergeMap(function(t){return 403===t.status?(e.expiredToken(),u.Observable.throw(t)):404===t.status?u.Observable.throw(t):u.Observable.of(t)}).delay(2e4).take(45)})})}},{key:"reconnect",value:function(e){this.token=e.token,this.streamUrl=e.streamUrl,this.connectionStatus$.getValue()===p.ExpiredToken&&this.connectionStatus$.next(p.Online)}},{key:"end",value:function(){this.tokenRefreshSubscription&&this.tokenRefreshSubscription.unsubscribe();try{this.connectionStatus$.next(p.Ended)}catch(e){if(e===f)return;throw e}}},{key:"getSessionId",value:function(){var e=this;return g.log("getSessionId"),this.checkConnection(!0).flatMap(function(t){return u.Observable.ajax({method:"GET",url:"".concat(e.domain,"/session/getsessionid"),withCredentials:!0,timeout:2e4,headers:(0,o.default)({"Content-Type":"application/json"},e.commonHeaders())}).map(function(e){return e&&e.response&&e.response.sessionId?(g.log("getSessionId response: "+e.response.sessionId),e.response.sessionId):""}).catch(function(e){return g.log("getSessionId error: "+e.status),u.Observable.of("")})}).catch(function(t){return e.catchExpiredToken(t)})}},{key:"postActivity",value:function(e){var t=this;return"message"===e.type&&e.attachments&&e.attachments.length>0?this.postMessageWithAttachments(e):(g.log("postActivity",e),this.checkConnection(!0).flatMap(function(n){return u.Observable.ajax({method:"POST",url:"".concat(t.domain,"/conversations/").concat(t.conversationId,"/activities"),body:e,timeout:2e4,headers:(0,o.default)({"Content-Type":"application/json"},t.commonHeaders())}).map(function(e){return e.response.id}).catch(function(e){return t.catchPostError(e)})}).catch(function(e){return t.catchExpiredToken(e)}))}},{key:"postMessageWithAttachments",value:function(e){var t,n=this,r=e.attachments,s=(0,i.default)(e,["attachments"]);return this.checkConnection(!0).flatMap(function(e){return t=new FormData,t.append("activity",new Blob([JSON.stringify(s)],{type:"application/vnd.microsoft.activity"})),u.Observable.from(r||[]).flatMap(function(e){return u.Observable.ajax({method:"GET",url:e.contentUrl,responseType:"arraybuffer"}).do(function(n){return t.append("file",new Blob([n.response],{type:e.contentType}),e.name)})}).count()}).flatMap(function(e){return u.Observable.ajax({method:"POST",url:"".concat(n.domain,"/conversations/").concat(n.conversationId,"/upload?userId=").concat(s.from.id),body:t,timeout:2e4,headers:(0,o.default)({},n.commonHeaders())}).map(function(e){return e.response.id}).catch(function(e){return n.catchPostError(e)})}).catch(function(e){return n.catchPostError(e)})}},{key:"catchPostError",value:function(e){if(403===e.status)this.expiredToken();else if(e.status>=400&&e.status<500)return u.Observable.throw(e);return u.Observable.of("retry")}},{key:"catchExpiredToken",value:function(e){return e===h?u.Observable.of("retry"):u.Observable.throw(e)}},{key:"pollingGetActivity$",value:function(){var e=this,t=u.Observable.create(function(t){var n=new c.BehaviorSubject({});n.subscribe(function(){if(e.connectionStatus$.getValue()===p.Online){var r=Date.now();u.Observable.ajax({headers:(0,o.default)({Accept:"application/json"},e.commonHeaders()),method:"GET",url:"".concat(e.domain,"/conversations/").concat(e.conversationId,"/activities?watermark=").concat(e.watermark),timeout:2e4}).subscribe(function(i){t.next(i),setTimeout(function(){return n.next(null)},Math.max(0,e.pollingInterval-Date.now()+r))},function(r){switch(r.status){case 403:e.connectionStatus$.next(p.ExpiredToken),setTimeout(function(){return n.next(null)},e.pollingInterval);break;case 404:e.connectionStatus$.next(p.Ended);break;default:t.error(r)}})}})});return this.checkConnection().flatMap(function(n){return t.catch(function(){return u.Observable.empty()}).map(function(e){return e.response}).flatMap(function(t){return e.observableFromActivityGroup(t)})})}},{key:"observableFromActivityGroup",value:function(e){return e.watermark&&(this.watermark=e.watermark),u.Observable.from(e.activities)}},{key:"webSocketActivity$",value:function(){var e=this;return this.checkConnection().flatMap(function(t){return e.observableWebSocket().retryWhen(function(t){return t.delay(e.getRetryDelay()).mergeMap(function(t){return e.reconnectToConversation()})})}).flatMap(function(t){return e.observableFromActivityGroup(t)})}},{key:"getRetryDelay",value:function(){return Math.floor(3e3+12e3*Math.random())}},{key:"observableWebSocket",value:function(){var e=this;return u.Observable.create(function(t){g.log("creating WebSocket",e.streamUrl);var n,r=new WebSocket(e.streamUrl);return r.onopen=function(e){g.log("WebSocket open",e),n=u.Observable.interval(2e4).subscribe(function(e){try{r.send("")}catch(e){g.log("Ping error",e)}})},r.onclose=function(e){g.log("WebSocket close",e),n&&n.unsubscribe(),t.error(e)},r.onmessage=function(e){return e.data&&t.next(JSON.parse(e.data))},function(){0!==r.readyState&&1!==r.readyState||r.close()}})}},{key:"reconnectToConversation",value:function(){var e=this;return this.checkConnection(!0).flatMap(function(t){return u.Observable.ajax({method:"GET",url:"".concat(e.domain,"/conversations/").concat(e.conversationId,"?watermark=").concat(e.watermark),timeout:2e4,headers:(0,o.default)({Accept:"application/json"},e.commonHeaders())}).do(function(t){e.secret||(e.token=t.response.token),e.streamUrl=t.response.streamUrl}).map(function(e){return null}).retryWhen(function(t){return t.mergeMap(function(t){if(403===t.status)e.expiredToken();else if(404===t.status)return u.Observable.throw(f);return u.Observable.of(t)}).delay(2e4).take(45)})})}},{key:"commonHeaders",value:function(){return{Authorization:"Bearer ".concat(this.token),"x-ms-bot-agent":this._botAgent}}},{key:"getBotAgent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="directlinejs";return e&&(t+="; ".concat(e)),"".concat("DirectLine/3.0"," (").concat(t,")")}}]),e}();t.DirectLine=y},function(e,t,n){"use strict";function r(e,t){return e||t}function i(e){return void 0===e||null===e||""===e}function o(e,t){null!=t&&void 0!=t&&e.appendChild(t)}function s(e,t,n){if(i(t))return n;for(var r in e){if(parseInt(r,10)>=0){var o=e[r];if(o&&"string"==typeof o&&o.toLowerCase()===t.toLowerCase())return parseInt(r,10)}}return n}function a(e,t,n){return"string"==typeof t?s(e,t,n):"number"==typeof t?r(t,n):n}function l(e,t){if(e.spacing>0||e.lineThickness>0){var n=document.createElement("div");return t==f.Orientation.Horizontal?e.lineThickness?(n.style.marginTop=e.spacing/2+"px",n.style.paddingTop=e.spacing/2+"px",n.style.borderTop=e.lineThickness+"px solid "+c(e.lineColor)):n.style.height=e.spacing+"px":e.lineThickness?(n.style.marginLeft=e.spacing/2+"px",n.style.paddingLeft=e.spacing/2+"px",n.style.borderLeft=e.lineThickness+"px solid "+c(e.lineColor)):n.style.width=e.spacing+"px",n.style.overflow="hidden",n}return null}function c(e){var t=/#([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})?/gi,n=t.exec(e);if(n&&n[4]){var r=parseInt(n[1],16)/255;return"rgba("+parseInt(n[2],16)+","+parseInt(n[3],16)+","+parseInt(n[4],16)+","+r+")"}return e}function u(e,t,n){var r=function(){return t-e.scrollHeight>=-1};if(!r()){for(var i=e.innerHTML,o=function(t){e.innerHTML=i.substring(0,t)+"..."},s=p(i),a=0,l=s.length,c=0;a=n-1){for(var h=d(i,c);h"!=e[t++];);return t}function h(e,t){var n=e.offsetTop;return n+e.clientHeight<=t?f.ContainerFitStatus.FullyInContainer:n = "+t}},function(e,t,n){"use strict";function r(e){if(!n.i(s.a)(e)||n.i(i.a)(e)!=a)return!1;var t=n.i(o.a)(e);if(null===t)return!0;var r=p.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==d}var i=n(127),o=n(129),s=n(134),a="[object Object]",l=Function.prototype,c=Object.prototype,u=l.toString,p=c.hasOwnProperty,d=u.call(Object);t.a=r},function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},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(186)},function(e,t,n){"use strict";function r(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.a=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(61),i=n(202),o=n(201),s=n(200),a=n(60);n(62);n.d(t,"createStore",function(){return r.b}),n.d(t,"combineReducers",function(){return i.a}),n.d(t,"bindActionCreators",function(){return o.a}),n.d(t,"applyMiddleware",function(){return s.a}),n.d(t,"compose",function(){return a.a})},function(e,t,n){"use strict";function r(e,t){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return this.lift(new s(e,t))}var i=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},o=n(3);t.map=r;var s=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.project,this.thisArg))},e}();t.MapOperator=s;var a=function(e){function t(t,n,r){e.call(this,t),this.project=n,this.count=0,this.thisArg=r||this}return i(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(o.Subscriber)},function(e,t,n){"use strict";var r=n(256),i=n(257);t.async=new i.AsyncScheduler(r.AsyncAction)},function(e,t,n){"use strict";function r(e){var t=e.Symbol;if("function"==typeof t)return t.iterator||(t.iterator=t("iterator polyfill")),t.iterator;var n=e.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=e.Map;if(r)for(var i=Object.getOwnPropertyNames(r.prototype),o=0;o0&&(n.customStyles=t),n},e.prototype.getStyleByName=function(e,t){return void 0===t&&(t=null),this._allStyles.hasOwnProperty(e)?this._allStyles[e]:t},Object.defineProperty(e.prototype,"default",{get:function(){return this._allStyles[i.ContainerStyle.Default]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"emphasis",{get:function(){return this._allStyles[i.ContainerStyle.Emphasis]},enumerable:!0,configurable:!0}),e}();t.ContainerStyleSet=g;var y=function(){function e(e){this.choiceSetInputValueSeparator=",",this.supportsInteractivity=!0,this.fontFamily="Segoe UI,Segoe,Segoe WP,Helvetica Neue,Helvetica,sans-serif",this.spacing={small:3,default:8,medium:20,large:30,extraLarge:40,padding:15},this.separator={lineThickness:1,lineColor:"#EEEEEE"},this.fontSizes={small:12,default:14,medium:17,large:21,extraLarge:26},this.fontWeights={lighter:200,default:400,bolder:600},this.imageSizes={small:40,medium:80,large:160},this.containerStyles=new g,this.actions=new h,this.adaptiveCard=new a,this.imageSet=new l,this.factSet=new p,e&&(("string"==typeof e||e instanceof String)&&(e=JSON.parse(e)),this.choiceSetInputValueSeparator=e&&"string"==typeof e.choiceSetInputValueSeparator?e.choiceSetInputValueSeparator:this.choiceSetInputValueSeparator,this.supportsInteractivity=e&&"boolean"==typeof e.supportsInteractivity?e.supportsInteractivity:this.supportsInteractivity,this.fontFamily=e.fontFamily||this.fontFamily,this.fontSizes={small:e.fontSizes&&e.fontSizes.small||this.fontSizes.small,default:e.fontSizes&&e.fontSizes.default||this.fontSizes.default,medium:e.fontSizes&&e.fontSizes.medium||this.fontSizes.medium,large:e.fontSizes&&e.fontSizes.large||this.fontSizes.large,extraLarge:e.fontSizes&&e.fontSizes.extraLarge||this.fontSizes.extraLarge},this.fontWeights={lighter:e.fontWeights&&e.fontWeights.lighter||this.fontWeights.lighter,default:e.fontWeights&&e.fontWeights.default||this.fontWeights.default,bolder:e.fontWeights&&e.fontWeights.bolder||this.fontWeights.bolder},this.imageSizes={small:e.imageSizes&&e.imageSizes.small||this.imageSizes.small,medium:e.imageSizes&&e.imageSizes.medium||this.imageSizes.medium,large:e.imageSizes&&e.imageSizes.large||this.imageSizes.large},this.containerStyles=new g(e.containerStyles),this.spacing={small:e.spacing&&e.spacing.small||this.spacing.small,default:e.spacing&&e.spacing.default||this.spacing.default,medium:e.spacing&&e.spacing.medium||this.spacing.medium,large:e.spacing&&e.spacing.large||this.spacing.large,extraLarge:e.spacing&&e.spacing.extraLarge||this.spacing.extraLarge,padding:e.spacing&&e.spacing.padding||this.spacing.padding},this.separator={lineThickness:e.separator&&e.separator.lineThickness||this.separator.lineThickness,lineColor:e.separator&&e.separator.lineColor||this.separator.lineColor},this.actions=new h(e.actions||this.actions),this.adaptiveCard=new a(e.adaptiveCard||this.adaptiveCard),this.imageSet=new l(e.imageSet),this.factSet=new p(e.factSet))}return e.prototype.getEffectiveSpacing=function(e){switch(e){case i.Spacing.Small:return this.spacing.small;case i.Spacing.Default:return this.spacing.default;case i.Spacing.Medium:return this.spacing.medium;case i.Spacing.Large:return this.spacing.large;case i.Spacing.ExtraLarge:return this.spacing.extraLarge;case i.Spacing.Padding:return this.spacing.padding;default:return 0}},e}();t.HostConfig=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),i=n(2);n(211),n(213);var o=n(0),s=function(e){function t(t){var n=e.call(this,t)||this;return n.handleLoad=n.updateScrollButtons.bind(n),n}return r.__extends(t,e),t.prototype.clearScrollTimers=function(){clearInterval(this.scrollStartTimer),clearInterval(this.scrollSyncTimer),clearTimeout(this.scrollDurationTimer),document.body.removeChild(this.animateDiv),this.animateDiv=null,this.scrollStartTimer=null,this.scrollSyncTimer=null,this.scrollDurationTimer=null},t.prototype.updateScrollButtons=function(){this.prevButton.disabled=!this.scrollDiv||Math.round(this.scrollDiv.scrollLeft)<=0,this.nextButton.disabled=!this.scrollDiv||Math.round(this.scrollDiv.scrollLeft)>=Math.round(this.scrollDiv.scrollWidth-this.scrollDiv.offsetWidth)},t.prototype.componentDidMount=function(){var e=this;this.scrollDiv.style.marginBottom=-(this.scrollDiv.offsetHeight-this.scrollDiv.clientHeight)+"px",this.scrollSubscription=o.Observable.fromEvent(this.scrollDiv,"scroll").subscribe(function(t){e.updateScrollButtons()}),this.clickSubscription=o.Observable.merge(o.Observable.fromEvent(this.prevButton,"click").map(function(e){return-1}),o.Observable.fromEvent(this.nextButton,"click").map(function(e){return 1})).subscribe(function(t){e.scrollBy(t)}),this.updateScrollButtons()},t.prototype.componentDidUpdate=function(){this.scrollDiv.scrollLeft=0,this.updateScrollButtons()},t.prototype.componentWillUnmount=function(){this.scrollSubscription.unsubscribe(),this.clickSubscription.unsubscribe()},t.prototype.scrollAmount=function(e){if("item"===this.props.scrollUnit){var t=this.scrollDiv.querySelector("ul > li");return t?e*t.offsetWidth:0}return e*(this.scrollDiv.offsetWidth-70)},t.prototype.scrollBy=function(e){var t=this,n="wc-animate-scroll";this.animateDiv&&(n="wc-animate-scroll-rapid",this.clearScrollTimers());var r=this.scrollAmount(e),i=this.scrollDiv.scrollLeft,o=i+r;o=Math.max(o,0),o=Math.min(o,this.scrollDiv.scrollWidth-this.scrollDiv.offsetWidth),i!==o&&(Math.abs(o-i)<60&&(n="wc-animate-scroll-near"),this.animateDiv=document.createElement("div"),this.animateDiv.className=n,this.animateDiv.style.left=i+"px",document.body.appendChild(this.animateDiv),this.scrollSyncTimer=window.setInterval(function(){var e=parseFloat(getComputedStyle(t.animateDiv).left);t.scrollDiv.scrollLeft=e},1),this.scrollStartTimer=window.setTimeout(function(){t.animateDiv.style.left=o+"px";var e=1e3*parseFloat(getComputedStyle(t.animateDiv).transitionDuration);e?(e+=50,t.scrollDurationTimer=window.setTimeout(function(){return t.clearScrollTimers()},e)):t.clearScrollTimers()},1))},t.prototype.render=function(){var e=this;return i.createElement("div",{onLoad:this.handleLoad},i.createElement("button",{className:"scroll previous",disabled:!0,ref:function(t){return e.prevButton=t},type:"button"},i.createElement("svg",null,i.createElement("path",{d:this.props.prevSvgPathData}))),i.createElement("div",{className:"wc-hscroll-outer"},i.createElement("div",{className:"wc-hscroll",ref:function(t){return e.scrollDiv=t}},this.props.children)),i.createElement("button",{className:"scroll next",disabled:!0,ref:function(t){return e.nextButton=t},type:"button"},i.createElement("svg",null,i.createElement("path",{d:this.props.nextSvgPathData}))))},t}(i.Component);t.HScroll=s},function(e,t,n){"use strict";function r(e){if(e&&0!==e.length){var t=e[e.length-1];return"message"===t.type&&t.suggestedActions&&t.suggestedActions.actions.length>0?t:void 0}}Object.defineProperty(t,"__esModule",{value:!0}),t.activityWithSuggestedActions=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.RULE="rule",t.WORD="word",t.ALTERNATIVE="alt"},function(e,t,n){"use strict";var r=n(133),i=r.a.Symbol;t.a=i},function(e,t,n){"use strict";e.exports=n(140)},function(e,t,n){"use strict";e.exports=n(111)},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*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)"),s=new RegExp("^(?:"+r+"|"+i+")");e.exports.HTML_TAG_RE=o,e.exports.HTML_OPEN_CLOSE_TAG_RE=s},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,i,o=e.pos,s=e.src.charCodeAt(o);if(t)return!1;if(95!==s&&42!==s)return!1;for(r=e.scanDelims(e.pos,42===s),n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(){}function l(e,t){var n={run:function(r){try{var i=e(t.getState(),r);(i!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=i,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}function c(e){var t,c,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=u.getDisplayName,_=void 0===d?function(e){return"ConnectAdvanced("+e+")"}:d,w=u.methodName,C=void 0===w?"connectAdvanced":w,S=u.renderCountProp,k=void 0===S?void 0:S,x=u.shouldHandleStateChanges,E=void 0===x||x,T=u.storeKey,A=void 0===T?"store":T,O=u.withRef,P=void 0!==O&&O,I=s(u,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),D=A+"Subscription",L=v++,N=(t={},t[A]=g.a,t[D]=g.b,t),M=(c={},c[D]=g.b,c);return function(t){h()("function"==typeof t,"You must pass a component to the function returned by connect. Instead received "+JSON.stringify(t));var s=t.displayName||t.name||"Component",c=_(s),u=y({},I,{getDisplayName:_,methodName:C,renderCountProp:k,shouldHandleStateChanges:E,storeKey:A,withRef:P,displayName:c,wrappedComponentName:s,WrappedComponent:t}),d=function(s){function p(e,t){r(this,p);var n=i(this,s.call(this,e,t));return n.version=L,n.state={},n.renderCount=0,n.store=e[A]||t[A],n.propsMode=Boolean(e[A]),n.setWrappedInstance=n.setWrappedInstance.bind(n),h()(n.store,'Could not find "'+A+'" in either the context or props of "'+c+'". Either wrap the root component in a , or explicitly pass "'+A+'" as a prop to "'+c+'".'),n.initSelector(),n.initSubscription(),n}return o(p,s),p.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return e={},e[D]=t||this.context[D],e},p.prototype.componentDidMount=function(){E&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},p.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},p.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},p.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=a,this.store=null,this.selector.run=a,this.selector.shouldComponentUpdate=!1},p.prototype.getWrappedInstance=function(){return h()(P,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+C+"() call."),this.wrappedInstance},p.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},p.prototype.initSelector=function(){var t=e(this.store.dispatch,u);this.selector=l(t,this.store),this.selector.run(this.props)},p.prototype.initSubscription=function(){if(E){var e=(this.propsMode?this.props:this.context)[D];this.subscription=new m.a(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},p.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(b)):this.notifyNestedSubs()},p.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},p.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},p.prototype.addExtraProps=function(e){if(!(P||k||this.propsMode&&this.subscription))return e;var t=y({},e);return P&&(t.ref=this.setWrappedInstance),k&&(t[k]=this.renderCount++),this.propsMode&&this.subscription&&(t[D]=this.subscription),t},p.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return n.i(f.createElement)(t,this.addExtraProps(e.props))},p}(f.Component);return d.WrappedComponent=t,d.displayName=c,d.childContextTypes=M,d.contextTypes=N,d.propTypes=N,p()(d,t)}}var u=n(114),p=n.n(u),d=n(115),h=n.n(d),f=n(2),m=(n.n(f),n(194)),g=n(56);t.a=c;var y=Object.assign||function(e){for(var t=1;t1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof i&&(n=e.pop()),null===r&&1===e.length&&e[0]instanceof o.Observable?e[0]:new s.ArrayObservable(e,r).lift(new a.MergeAllOperator(n))}var o=n(0),s=n(20),a=n(244),l=n(83);t.merge=r,t.mergeStatic=i},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=function(e){function t(){var t=e.call(this,"object unsubscribed");this.name=t.name="ObjectUnsubscribedError",this.stack=t.stack,this.message=t.message}return r(t,e),t}(Error);t.ObjectUnsubscribedError=i},function(e,t,n){"use strict";t.isArrayLike=function(e){return e&&"number"==typeof e.length}},function(e,t,n){"use strict";function r(e){return null!=e&&"object"==typeof e}t.isObject=r},function(e,t,n){"use strict";function r(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}t.isPromise=r},function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}t.isScheduler=r},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),i=n(2),o=n(30),s=n(9),a=n(12);t.App=function(e,t){a.log("BotChat.App props",e),o.render(i.createElement(l,e),t)};var l=function(e){return i.createElement("div",{className:"wc-app"},i.createElement(s.Chat,r.__assign({},e)))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e}();t.SpeechOptions=r},function(e,t){e.exports={supportsInteractivity:!0,spacing:{small:4,default:8,medium:16,large:24,extraLarge:32,padding:8},separator:{lineThickness:1,lineColor:"#cccccc"},fontFamily:'"Segoe UI", sans-serif',fontSizes:{small:12,default:13,medium:15,large:17,extraLarge:19},fontWeights:{lighter:200,default:400,bolder:700},containerStyles:{default:{backgroundColor:"#00000000",foregroundColors:{default:{default:"#000000",subtle:"#808c95"},accent:{default:"#2e89fc",subtle:"#802E8901"},attention:{default:"#ffd800",subtle:"#CCFFD800"},good:{default:"#00ff00",subtle:"#CC00FF00"},warning:{default:"#ff0000",subtle:"#CCFF0000"}}},emphasis:{backgroundColor:"#08000000",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},accent:{default:"#2e89fc",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDCC3300"},good:{default:"#54a254",subtle:"#DD54A254"},warning:{default:"#e69500",subtle:"#DDE69500"}}}},imageSizes:{small:40,medium:80,large:160},actions:{maxActions:100,spacing:"default",buttonSpacing:8,showCard:{actionMode:"inline",inlineTopMargin:8},actionsOrientation:"vertical",actionAlignment:"stretch"},adaptiveCard:{allowCustomStyle:!1},imageSet:{imageSize:"medium",maxImageHeight:100},factSet:{title:{color:"default",size:"default",isSubtle:!1,weight:"bolder",wrap:!0,maxWidth:150},value:{color:"default",size:"default",isSubtle:!1,weight:"default",wrap:!0},spacing:8}}},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=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var i=n(96);e.exports=r},function(e,t){function n(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}e.exports=n},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(98)),r(n(17)),r(n(41));var i=n(25);t.getEnumValueOrDefault=i.getEnumValueOrDefault},function(e,t,n){"use strict";function r(e,t){e&&e.setCollection(t)}function i(e,t){if(t)for(var n=0;n0},e.prototype.isAtTheVeryTop=function(){return!this.parent||this.parent.isFirstElement(this)&&this.parent.isAtTheVeryTop()},e.prototype.isFirstElement=function(e){return!0},e.prototype.isAtTheVeryBottom=function(){return!this.parent||this.parent.isLastElement(this)&&this.parent.isAtTheVeryBottom()},e.prototype.isLastElement=function(e){return!0},e.prototype.isAtTheVeryLeft=function(){return!this.parent||this.parent.isLeftMostElement(this)&&this.parent.isAtTheVeryLeft()},e.prototype.isLeftMostElement=function(e){return!0},e.prototype.isAtTheVeryRight=function(){return!this.parent||this.parent.isRightMostElement(this)&&this.parent.isAtTheVeryRight()},e.prototype.isRightMostElement=function(e){return!0},e.prototype.isHiddenDueToOverflow=function(){return this._renderedElement&&"hidden"==this._renderedElement.style.visibility},e.prototype.canContentBleed=function(){return!this.parent||this.parent.canContentBleed()},e.prototype.getRootElement=function(){for(var e=this;e.parent;)e=e.parent;return e},e.prototype.getParentContainer=function(){for(var e=this.parent;e;){if(e instanceof H)return e;e=e.parent}return null},e.prototype.getAllInputs=function(){return[]},e.prototype.getElementById=function(e){return this.id===e?this:null},e.prototype.getActionById=function(e){return null},Object.defineProperty(e.prototype,"lang",{get:function(){return this._lang?this._lang:this.parent?this.parent.lang:void 0},set:function(e){if(e&&""!=e){if(!/^[a-z]{2,3}$/gi.exec(e))throw new Error("Invalid language identifier: "+e)}this._lang=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostConfig",{get:function(){return this._hostConfig?this._hostConfig:this.parent?this.parent.hostConfig:ee},set:function(e){this._hostConfig=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isInteractive",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isStandalone",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){return this._isVisible},set:function(e){X.useAdvancedCardBottomTruncation&&!e&&this.undoOverflowTruncation(),this._isVisible!=e&&(this._isVisible=e,this.updateRenderedElementVisibility(),this._renderedElement&&c(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderedElement",{get:function(){return this._renderedElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"separatorElement",{get:function(){return this._separatorElement},enumerable:!0,configurable:!0}),e}();t.CardElement=b;var _=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.size=h.TextSize.Default,t.weight=h.TextWeight.Default,t.color=h.TextColor.Default,t.isSubtle=!1,t.wrap=!1,t.useMarkdown=!0,t}return d(t,e),t.prototype.internalRender=function(){var e=this;if(f.isNullOrEmpty(this.text))return null;var t=document.createElement("div");switch(t.style.overflow="hidden",this.hostConfig.fontFamily&&(t.style.fontFamily=this.hostConfig.fontFamily),this.horizontalAlignment){case h.HorizontalAlignment.Center:t.style.textAlign="center";break;case h.HorizontalAlignment.Right:t.style.textAlign="right";break;default:t.style.textAlign="left"}var n;switch(this.size){case h.TextSize.Small:n=this.hostConfig.fontSizes.small;break;case h.TextSize.Medium:n=this.hostConfig.fontSizes.medium;break;case h.TextSize.Large:n=this.hostConfig.fontSizes.large;break;case h.TextSize.ExtraLarge:n=this.hostConfig.fontSizes.extraLarge;break;default:n=this.hostConfig.fontSizes.default}this._computedLineHeight=1.33*n,t.style.fontSize=n+"px",t.style.lineHeight=this._computedLineHeight+"px";var r,i=this.getParentContainer(),o=this.hostConfig.containerStyles.getStyleByName(i?i.style:h.ContainerStyle.Default,this.hostConfig.containerStyles.default),a=this.color?this.color:h.TextColor.Default;switch(a){case h.TextColor.Accent:r=o.foregroundColors.accent;break;case h.TextColor.Dark:r=o.foregroundColors.dark;break;case h.TextColor.Light:r=o.foregroundColors.light;break;case h.TextColor.Good:r=o.foregroundColors.good;break;case h.TextColor.Warning:r=o.foregroundColors.warning;break;case h.TextColor.Attention:r=o.foregroundColors.attention;break;default:r=o.foregroundColors.default}t.style.color=f.stringToCssColor(this.isSubtle?r.subtle:r.default);var l;switch(this.weight){case h.TextWeight.Lighter:l=this.hostConfig.fontWeights.lighter;break;case h.TextWeight.Bolder:l=this.hostConfig.fontWeights.bolder;break;default:l=this.hostConfig.fontWeights.default}t.style.fontWeight=l.toString();var c=g.formatText(this.lang,this.text);if(t.innerHTML=this.useMarkdown?X.processMarkdown(c):c,t.firstElementChild instanceof HTMLElement){var u=t.firstElementChild;u.style.marginTop="0px",u.style.width="100%",this.wrap||(u.style.overflow="hidden",u.style.textOverflow="ellipsis")}t.lastElementChild instanceof HTMLElement&&(t.lastElementChild.style.marginBottom="0px");for(var p=t.getElementsByTagName("a"),d=0;d0&&(t.style.maxHeight=this._computedLineHeight*this.maxLines+"px",t.style.overflow="hidden")):(t.style.whiteSpace="nowrap",t.style.textOverflow="ellipsis"),(X.useAdvancedTextBlockTruncation||X.useAdvancedCardBottomTruncation)&&(this._originalInnerHtml=t.innerHTML),t},t.prototype.parse=function(t){e.prototype.parse.call(this,t),this.text=t.text;var n=t.size;n&&"string"==typeof n&&"normal"===n.toLowerCase()?(this.size=h.TextSize.Default,p({error:h.ValidationError.Deprecated,message:'The TextBlock.size value "normal" is deprecated and will be removed. Use "default" instead.'})):this.size=f.getEnumValueOrDefault(h.TextSize,n,this.size);var r=t.weight;r&&"string"==typeof r&&"normal"===r.toLowerCase()?(this.weight=h.TextWeight.Default,p({error:h.ValidationError.Deprecated,message:'The TextBlock.weight value "normal" is deprecated and will be removed. Use "default" instead.'})):this.weight=f.getEnumValueOrDefault(h.TextWeight,r,this.weight),this.color=f.getEnumValueOrDefault(h.TextColor,t.color,this.color),this.isSubtle=t.isSubtle,this.wrap=void 0!==t.wrap&&t.wrap,this.maxLines=t.maxLines},t.prototype.getJsonTypeName=function(){return"TextBlock"},t.prototype.renderSpeech=function(){return null!=this.speak?this.speak+"\n":this.text?""+this.text+"\n":null},t.prototype.updateLayout=function(e){if(void 0===e&&(e=!1),X.useAdvancedTextBlockTruncation&&this.maxLines&&this.isRendered()){this.restoreOriginalContent();var t=this._computedLineHeight*this.maxLines;this.truncateIfSupported(t)}},t.prototype.truncateOverflow=function(e){return e>=this._computedLineHeight&&this.truncateIfSupported(e)},t.prototype.undoOverflowTruncation=function(){if(this.restoreOriginalContent(),X.useAdvancedTextBlockTruncation&&this.maxLines){var e=this._computedLineHeight*this.maxLines;this.truncateIfSupported(e)}},t.prototype.restoreOriginalContent=function(){var e=this.maxLines?this._computedLineHeight*this.maxLines+"px":null;this.renderedElement.style.maxHeight=e,this.renderedElement.innerHTML=this._originalInnerHtml},t.prototype.truncateIfSupported=function(e){var t=this.renderedElement.children,n=!t.length;if(n||1==t.length&&"p"==t[0].tagName.toLowerCase()){var r=n?this.renderedElement:t[0];return f.truncate(r,e,this._computedLineHeight),!0}return!1},t}(b);t.TextBlock=_;var w=function(){function e(){}return e.prototype.renderSpeech=function(){return null!=this.speak?this.speak+"\n":""+this.name+" "+this.value+"\n"},e}();t.Fact=w;var C=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.facts=[],t}return d(t,e),Object.defineProperty(t.prototype,"useDefaultSizing",{get:function(){return!1},enumerable:!0,configurable:!0}),t.prototype.internalRender=function(){var e=null;if(this.facts.length>0){e=document.createElement("table"),e.style.borderWidth="0px",e.style.borderSpacing="0px",e.style.borderStyle="none",e.style.borderCollapse="collapse",e.style.display="block",e.style.overflow="hidden";for(var t=0;t0&&(n.style.marginTop=this.hostConfig.factSet.spacing+"px");var r=document.createElement("td");r.style.padding="0",this.hostConfig.factSet.title.maxWidth&&(r.style.maxWidth=this.hostConfig.factSet.title.maxWidth+"px"),r.style.verticalAlign="top";var i=new _;i.hostConfig=this.hostConfig,i.text=this.facts[t].name,i.size=this.hostConfig.factSet.title.size,i.color=this.hostConfig.factSet.title.color,i.isSubtle=this.hostConfig.factSet.title.isSubtle,i.weight=this.hostConfig.factSet.title.weight,i.wrap=this.hostConfig.factSet.title.wrap,i.spacing=h.Spacing.None,f.appendChild(r,i.render()),f.appendChild(n,r),r=document.createElement("td"),r.style.padding="0px 0px 0px 10px",r.style.verticalAlign="top",i=new _,i.hostConfig=this.hostConfig,i.text=this.facts[t].value,i.size=this.hostConfig.factSet.value.size,i.color=this.hostConfig.factSet.value.color,i.isSubtle=this.hostConfig.factSet.value.isSubtle,i.weight=this.hostConfig.factSet.value.weight,i.wrap=this.hostConfig.factSet.value.wrap,i.spacing=h.Spacing.None,f.appendChild(r,i.render()),f.appendChild(n,r),f.appendChild(e,n)}}return e},t.prototype.getJsonTypeName=function(){return"FactSet"},t.prototype.parse=function(t){if(e.prototype.parse.call(this,t),null!=t.facts){var n=t.facts;this.facts=[];for(var r=0;r0){e="";for(var t=0;t"+e+"\n

\n"},t}(b);t.FactSet=C;var S=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.style=h.ImageStyle.Default,t.size=h.Size.Auto,t.pixelWidth=null,t.pixelHeight=null,t.altText="",t}return d(t,e),Object.defineProperty(t.prototype,"useDefaultSizing",{get:function(){return!1},enumerable:!0,configurable:!0}),t.prototype.internalRender=function(){var e=this,t=null;if(!f.isNullOrEmpty(this.url)){switch(t=document.createElement("div"),t.classList.add("ac-image"),t.style.display="flex",t.style.alignItems="flex-start",null!=this.selectAction&&this.hostConfig.supportsInteractivity&&(t.tabIndex=0,t.setAttribute("role","button"),t.setAttribute("aria-label",this.selectAction.title),t.classList.add("ac-selectable")),t.onkeypress=function(t){e.selectAction&&(13!=t.keyCode&&32!=t.keyCode||e.selectAction.execute())},t.onclick=function(t){e.selectAction&&(e.selectAction.execute(),t.cancelBubble=!0)},this.horizontalAlignment){case h.HorizontalAlignment.Center:t.style.justifyContent="center";break;case h.HorizontalAlignment.Right:t.style.justifyContent="flex-end";break;default:t.style.justifyContent="flex-start"}var n=document.createElement("img");if(n.style.maxHeight="100%",n.style.minWidth="0",this.pixelWidth||this.pixelHeight)this.pixelWidth&&(n.style.width=this.pixelWidth+"px"),this.pixelHeight&&(n.style.height=this.pixelHeight+"px");else switch(this.size){case h.Size.Stretch:n.style.width="100%";break;case h.Size.Auto:n.style.maxWidth="100%";break;case h.Size.Small:n.style.width=this.hostConfig.imageSizes.small+"px";break;case h.Size.Large:n.style.width=this.hostConfig.imageSizes.large+"px";break;case h.Size.Medium:n.style.width=this.hostConfig.imageSizes.medium+"px"}this.style===h.ImageStyle.Person&&(n.style.borderRadius="50%",n.style.backgroundPosition="50% 50%",n.style.backgroundRepeat="no-repeat"),f.isNullOrEmpty(this.backgroundColor)||(n.style.backgroundColor=f.stringToCssColor(this.backgroundColor)),n.src=this.url,n.alt=this.altText,t.appendChild(n)}return t},t.prototype.getJsonTypeName=function(){return"Image"},t.prototype.getActionById=function(t){var n=e.prototype.getActionById.call(this,t);return!n&&this.selectAction&&(n=this.selectAction.getActionById(t)),n},t.prototype.parse=function(t){e.prototype.parse.call(this,t),this.url=t.url;var n=t.style;n&&"string"==typeof n&&"normal"===n.toLowerCase()?(this.style=h.ImageStyle.Default,p({error:h.ValidationError.Deprecated,message:'The Image.style value "normal" is deprecated and will be removed. Use "default" instead.'})):this.style=f.getEnumValueOrDefault(h.ImageStyle,n,this.style),this.size=f.getEnumValueOrDefault(h.Size,t.size,this.size),this.altText=t.altText;var r=t.selectAction;void 0!=r&&(this.selectAction=o(r)),t.pixelWidth&&"number"==typeof t.pixelWidth&&(this.pixelWidth=t.pixelWidth),t.pixelHeight&&"number"==typeof t.pixelHeight&&(this.pixelHeight=t.pixelHeight)},t.prototype.renderSpeech=function(){return null!=this.speak?this.speak+"\n":null},Object.defineProperty(t.prototype,"selectAction",{get:function(){return this._selectAction},set:function(e){this._selectAction=e,this._selectAction&&this._selectAction.setParent(this)},enumerable:!0,configurable:!0}),t}(b);t.Image=S;var k=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._images=[],t.imageSize=h.Size.Medium,t}return d(t,e),t.prototype.internalRender=function(){var e=null;if(this._images.length>0){e=document.createElement("div"),e.style.display="flex",e.style.flexWrap="wrap";for(var t=0;t0){e="";for(var t=0;t"+this.title+"\n":null},t.prototype.getAllInputs=function(){return[this]},Object.defineProperty(t.prototype,"isInteractive",{get:function(){return!0},enumerable:!0,configurable:!0}),t}(b);t.Input=x;var E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.internalRender=function(){return this.isMultiline?(this._textareaElement=document.createElement("textarea"),this._textareaElement.className="ac-input ac-textInput ac-multiline",this._textareaElement.style.width="100%",this._textareaElement.tabIndex=0,f.isNullOrEmpty(this.placeholder)||(this._textareaElement.placeholder=this.placeholder,this._textareaElement.setAttribute("aria-label",this.placeholder)),f.isNullOrEmpty(this.defaultValue)||(this._textareaElement.value=this.defaultValue),this.maxLength>0&&(this._textareaElement.maxLength=this.maxLength),this._textareaElement):(this._inputElement=document.createElement("input"),this._inputElement.type="text",this._inputElement.className="ac-input ac-textInput",this._inputElement.style.width="100%",this._inputElement.tabIndex=0,f.isNullOrEmpty(this.placeholder)||(this._inputElement.placeholder=this.placeholder,this._inputElement.setAttribute("aria-label",this.placeholder)),f.isNullOrEmpty(this.defaultValue)||(this._inputElement.value=this.defaultValue),this.maxLength>0&&(this._inputElement.maxLength=this.maxLength),this._inputElement)},t.prototype.getJsonTypeName=function(){return"Input.Text"},t.prototype.parse=function(t){e.prototype.parse.call(this,t),this.maxLength=t.maxLength,this.isMultiline=t.isMultiline,this.placeholder=t.placeholder},Object.defineProperty(t.prototype,"value",{get:function(){return this.isMultiline?this._textareaElement?this._textareaElement.value:null:this._inputElement?this._inputElement.value:null},enumerable:!0,configurable:!0}),t}(x);t.TextInput=E;var T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.valueOn="true",t.valueOff="false",t}return d(t,e),t.prototype.internalRender=function(){var e=document.createElement("div");e.className="ac-input",e.style.width="100%",e.style.display="flex",this._checkboxInputElement=document.createElement("input"),this._checkboxInputElement.type="checkbox",this._checkboxInputElement.style.display="inline-block",this._checkboxInputElement.style.verticalAlign="middle",this._checkboxInputElement.style.margin="0",this._checkboxInputElement.style.flex="0 0 auto",this._checkboxInputElement.setAttribute("aria-label",this.title),this._checkboxInputElement.tabIndex=0,this.defaultValue==this.valueOn&&(this._checkboxInputElement.checked=!0);var t=new _;t.hostConfig=this.hostConfig,t.text=this.title,t.useMarkdown=X.useMarkdownInRadioButtonAndCheckbox;var n=t.render();n.style.display="inline-block",n.style.marginLeft="6px",n.style.verticalAlign="middle";document.createElement("div");return f.appendChild(e,this._checkboxInputElement),f.appendChild(e,n),e},t.prototype.getJsonTypeName=function(){return"Input.Toggle"},t.prototype.parse=function(t){e.prototype.parse.call(this,t),this.title=t.title,this.valueOn=f.getValueOrDefault(t.valueOn,this.valueOn),this.valueOff=f.getValueOrDefault(t.valueOff,this.valueOff)},Object.defineProperty(t.prototype,"value",{get:function(){return this._checkboxInputElement?this._checkboxInputElement.checked?this.valueOn:this.valueOff:null},enumerable:!0,configurable:!0}),t}(x);t.ToggleInput=T;var A=function(){function e(){}return e}();t.Choice=A;var O=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.choices=[],t}return d(t,e),t.prototype.internalRender=function(){if(this.isMultiSelect){var e=this.defaultValue?this.defaultValue.split(this.hostConfig.choiceSetInputValueSeparator):null,t=document.createElement("div");t.className="ac-input",t.style.width="100%",this._toggleInputs=[];for(var n=0;n=0&&(r.checked=!0),this._toggleInputs.push(r);var i=new _;i.hostConfig=this.hostConfig,i.text=this.choices[n].title,i.useMarkdown=X.useMarkdownInRadioButtonAndCheckbox;var o=i.render();o.style.display="inline-block",o.style.marginLeft="6px",o.style.verticalAlign="middle";var s=document.createElement("div");s.style.display="flex",f.appendChild(s,r),f.appendChild(s,o),f.appendChild(t,s)}return t}if(this.isCompact){this._selectElement=document.createElement("select"),this._selectElement.className="ac-input ac-multichoiceInput",this._selectElement.style.width="100%";var a=document.createElement("option");a.selected=!0,a.disabled=!0,a.hidden=!0,this.placeholder&&(a.text=this.placeholder),f.appendChild(this._selectElement,a);for(var n=0;n0)for(var t=0;t0?this._owner.hostConfig.actions.showCard.inlineTopMargin+"px":"0px";var e=this._owner.getNonZeroPadding().toSpacingDefinition(this._owner.hostConfig);null!==this._actionCard&&(this._actionCard.style.paddingLeft=e.left+"px",this._actionCard.style.paddingRight=e.right+"px",this._actionCard.style.marginLeft="-"+e.left+"px",this._actionCard.style.marginRight="-"+e.right+"px",f.appendChild(this._actionCardContainer,this._actionCard)),null!==this._statusCard&&(this._statusCard.style.paddingLeft=e.left+"px",this._statusCard.style.paddingRight=e.right+"px",this._statusCard.style.marginLeft="-"+e.left+"px",this._statusCard.style.marginRight="-"+e.right+"px",f.appendChild(this._actionCardContainer,this._statusCard))},e.prototype.hideActionCard=function(){this._expandedAction&&l(this._expandedAction,!1),this._expandedAction=null,this._actionCard=null,this.refreshContainer()},e.prototype.showActionCard=function(e,t){if(void 0===t&&(t=!1),null!=e.card){e.card.suppressStyle=t;var n=e.card.render();this._actionCard=n,this._expandedAction=e,this.refreshContainer(),l(e,!0)}},e.prototype.actionClicked=function(e){if(e.action instanceof B)if(this.hideStatusCard(),this._owner.hostConfig.actions.showCard.actionMode===h.ShowCardActionMode.Popup)e.action.execute();else if(e.action===this._expandedAction){for(var t=0;tthis._owner.hostConfig.actions.maxActions&&e.push({error:h.ValidationError.TooManyActions,message:"A maximum of "+this._owner.hostConfig.actions.maxActions+" actions are allowed."}),this.items.length>0&&!this._owner.hostConfig.supportsInteractivity&&e.push({error:h.ValidationError.InteractivityNotAllowed,message:"Interactivity is not allowed."});for(var t=0;t=this._owner.hostConfig.actions.maxActions||a==this.items.length-1)break;if(this._owner.hostConfig.actions.buttonSpacing>0){var c=document.createElement("div");e===h.Orientation.Horizontal?(c.style.flex="0 0 auto",c.style.width=this._owner.hostConfig.actions.buttonSpacing+"px"):c.style.height=this._owner.hostConfig.actions.buttonSpacing+"px",f.appendChild(s,c)}}var u=document.createElement("div");u.style.overflow="hidden",u.appendChild(s),f.appendChild(n,u)}return f.appendChild(n,this._actionCardContainer),this._renderedActionCount>0?n:null},e.prototype.addAction=function(e){if(e.parent)throw new Error("The action already belongs to another element.");this.items.push(e),e.setParent(this._owner),r(e,this)},e.prototype.clear=function(){this.items=[]},e.prototype.getAllInputs=function(){for(var e=[],t=0;t0)for(var r=0,i=0;i0&&this._items[i].separatorElement&&(this._items[i].separatorElement.style.flex="0 0 auto",f.appendChild(t,this._items[i].separatorElement)),f.appendChild(t,o),r++)}return t},t.prototype.truncateOverflow=function(e){for(var t=this.renderedElement.offsetTop+e+1,n=function(e){var r=e.renderedElement;if(r)switch(f.getFitStatus(r,t)){case h.ContainerFitStatus.FullyInContainer:e.resetOverflow()&&n(e);break;case h.ContainerFitStatus.Overflowing:var i=t-r.offsetTop;e.handleOverflow(i);break;case h.ContainerFitStatus.FullyOutOfContainer:e.handleOverflow(0)}},r=0,i=this._items;r=0;t--)if(this._items[t].isVisible)return this._items[t]==e;return!1},t.prototype.validate=function(){var e=[];if(this._style){this.hostConfig.containerStyles.getStyleByName(this._style)||e.push({error:h.ValidationError.InvalidPropertyValue,message:"Unknown container style: "+this._style})}for(var t=0;t0){e="";for(var t=0;t0?e.style.flex="0 0 "+this.pixelWidth+"px":"number"==typeof this.width?e.style.flex="1 1 "+(this._computedWeight>0?this._computedWeight:this.width)+"%":"auto"===this.width?e.style.flex="0 1 auto":e.style.flex="1 1 50px"},Object.defineProperty(t.prototype,"separatorOrientation",{get:function(){return h.Orientation.Vertical},enumerable:!0,configurable:!0}),t.prototype.getJsonTypeName=function(){return"Column"},t.prototype.parse=function(t){e.prototype.parse.call(this,t);var n=t.width;void 0===n&&void 0!==(n=t.size)&&p({error:h.ValidationError.Deprecated,message:'The "Column.size" property is deprecated and will be removed. Use the "Column.width" property instead.'});var r=!1;if("number"==typeof n)n<=0&&(r=!0);else if("string"==typeof n){if("auto"!=n&&"stretch"!=n){var i=parseInt(n);isNaN(i)?r=!0:n=i}}else n&&(r=!0);r?p({error:h.ValidationError.InvalidPropertyValue,message:"Invalid column width: "+n}):this.width=n},Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1},enumerable:!0,configurable:!0}),t}(H);t.Column=W;var $=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._columns=[],t}return d(t,e),t.prototype.applyPadding=function(){if(this.padding&&this.renderedElement){var e=this.padding.toSpacingDefinition(this.hostConfig);this.renderedElement.style.paddingTop=e.top+"px",this.renderedElement.style.paddingRight=e.right+"px",this.renderedElement.style.paddingBottom=e.bottom+"px",this.renderedElement.style.paddingLeft=e.left+"px"}},t.prototype.internalRender=function(){var e=this;if(this._columns.length>0){var t=document.createElement("div");switch(t.className="ac-columnSet",t.style.display="flex",X.useAdvancedCardBottomTruncation&&(t.style.minHeight="-webkit-min-content"),this.selectAction&&this.hostConfig.supportsInteractivity&&(t.classList.add("ac-selectable"),t.onclick=function(t){e.selectAction.execute(),t.cancelBubble=!0}),this.horizontalAlignment){case h.HorizontalAlignment.Center:t.style.justifyContent="center";break;case h.HorizontalAlignment.Right:t.style.justifyContent="flex-end";break;default:t.style.justifyContent="flex-start"}for(var n=0,r=0;r0){var o=100/n*this._columns[r].width;this._columns[r]._computedWeight=o}var s=this._columns[r].render();s&&(i>0&&this._columns[r].separatorElement&&(this._columns[r].separatorElement.style.flex="0 0 auto",f.appendChild(t,this._columns[r].separatorElement)),f.appendChild(t,s),i++)}return i>0?t:null}return null},t.prototype.truncateOverflow=function(e){for(var t=0,n=this._columns;t0&&n>0&&e.push({error:h.ValidationError.Hint,message:"It is not recommended to use weighted and stretched columns in the same ColumnSet, because in such a situation stretched columns will always get the minimum amount of space."}),e},t.prototype.updateLayout=function(e){if(void 0===e&&(e=!0),this.applyPadding(),e)for(var t=0;t0)for(var t=0;t0?t:null},t.prototype.getActionById=function(t){var n=this._actionCollection.getActionById(t);return n||e.prototype.getActionById.call(this,t)},t.prototype.parse=function(t,n){if(void 0===n&&(n="items"),e.prototype.parse.call(this,t,n),void 0!=t.actions)for(var r=t.actions,i=0;i0&&[].forEach.call(u,function(t){t.addEventListener("load",e.handleImageLoad)})}return void l.findDOMNode(this.divRef).appendChild(i)}}else console.log("Error(s) rendering AdaptiveCard:"),n.forEach(function(e){return console.log(e.message)}),this.setState({errors:n.map(function(e){return e.message})})},t.prototype.render=function(){var e,t=this.state&&this.state.errors&&this.state.errors.length>0;return e=t?a.createElement("div",null,a.createElement("svg",{className:"error-icon",viewBox:"0 0 15 12.01"},a.createElement("path",{d:"M7.62 8.63v-.38H.94a.18.18 0 0 1-.19-.19V.94A.18.18 0 0 1 .94.75h10.12a.18.18 0 0 1 .19.19v3.73H12V.94a.91.91 0 0 0-.07-.36 1 1 0 0 0-.5-.5.91.91 0 0 0-.37-.08H.94a.91.91 0 0 0-.37.07 1 1 0 0 0-.5.5.91.91 0 0 0-.07.37v7.12a.91.91 0 0 0 .07.36 1 1 0 0 0 .5.5.91.91 0 0 0 .37.08h6.72c-.01-.12-.04-.24-.04-.37z M11.62 5.26a3.27 3.27 0 0 1 1.31.27 3.39 3.39 0 0 1 1.8 1.8 3.36 3.36 0 0 1 0 2.63 3.39 3.39 0 0 1-1.8 1.8 3.36 3.36 0 0 1-2.62 0 3.39 3.39 0 0 1-1.8-1.8 3.36 3.36 0 0 1 0-2.63 3.39 3.39 0 0 1 1.8-1.8 3.27 3.27 0 0 1 1.31-.27zm0 6a2.53 2.53 0 0 0 1-.21A2.65 2.65 0 0 0 14 9.65a2.62 2.62 0 0 0 0-2 2.65 2.65 0 0 0-1.39-1.39 2.62 2.62 0 0 0-2 0A2.65 2.65 0 0 0 9.2 7.61a2.62 2.62 0 0 0 0 2A2.65 2.65 0 0 0 10.6 11a2.53 2.53 0 0 0 1.02.26zM13 7.77l-.86.86.86.86-.53.53-.86-.86-.86.86-.53-.53.86-.86-.86-.86.53-.53.86.86.86-.86zM1.88 7.13h2.25V4.88H1.88zm.75-1.5h.75v.75h-.75zM5.63 2.63h4.5v.75h-4.5zM1.88 4.13h2.25V1.88H1.88zm.75-1.5h.75v.75h-.75zM9 5.63H5.63v.75h2.64A4 4 0 0 1 9 5.63z"})),a.createElement("div",{className:"error-text"},"Can't render card")):this.props.children?a.createElement("div",{className:"non-adaptive-content"},this.props.children):null,a.createElement("div",{className:p.classList("wc-card","wc-adaptive-card",this.props.className,t&&"error"),onClick:this.onClick},e,a.createElement("div",{ref:this.saveDiv}))},t}(a.Component);t.default=c.connect(function(e){return{hostConfig:e.adaptiveCards.hostConfig}},{},function(e,t,n){return i.__assign({},n,e)})(f)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(88);t.App=r.App;var i=n(9);t.Chat=i.Chat,function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(24));var o=n(23);t.queryParams=o.queryParams;var s=n(89);t.SpeechOptions=s.SpeechOptions;var a=n(16);t.Speech=a.Speech},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),i=function(){function e(){this.card=new r.AdaptiveCard,this.container=new r.Container,this.card.addItem(this.container)}return e.prototype.addColumnSet=function(e,t){t=t||this.container;var n=new r.ColumnSet;return t.addItem(n),e.map(function(e){var t=new r.Column;return t.width=e,n.addColumn(t),t})},e.prototype.addItems=function(e,t){t=t||this.container,e.forEach(function(e){return t.addItem(e)})},e.prototype.addTextBlock=function(e,t,n){if(n=n||this.container,void 0!==e){var i=new r.TextBlock;for(var o in t)i[o]=t[o];i.text=e,n.addItem(i)}},e.prototype.addButtons=function(t,n){var r=this;t&&t.forEach(function(t){r.card.addAction(e.addCardAction(t,n))})},e.addCardAction=function(e,t){if("imBack"===e.type||"postBack"===e.type){var n=new r.SubmitAction,i={__isBotFrameworkCardAction:!0,type:e.type,value:e.value};return n.data=i,n.title=e.title,n}if("signin"===e.type&&t){var n=new r.SubmitAction,i={__isBotFrameworkCardAction:!0,type:e.type,value:e.value};return n.data=i,n.title=e.title,n}var n=new r.OpenUrlAction,i={__isBotFrameworkCardAction:!0,type:e.type,value:e.value};return n.title=e.title,n.url="call"===e.type?"tel:"+e.value:e.value,n},e.prototype.addCommonHeaders=function(e){this.addTextBlock(e.title,{size:r.TextSize.Medium,weight:r.TextWeight.Bolder}),this.addTextBlock(e.subtitle,{isSubtle:!0,wrap:!0}),this.addTextBlock(e.text,{wrap:!0})},e.prototype.addCommon=function(e){this.addCommonHeaders(e),this.addButtons(e.buttons)},e.prototype.addImage=function(t,n,i){n=n||this.container;var o=new r.Image;o.url=t,o.size=r.Size.Stretch,i&&(o.selectAction=e.addCardAction(i)),n.addItem(o)},e}();t.AdaptiveCardBuilder=i,t.buildCommonCard=function(e){if(!e)return null;var t=new i;return t.addCommon(e),t.card},t.buildOAuthCard=function(e){if(!e)return null;var t=new i;return t.addCommonHeaders(e),t.addButtons(e.buttons,!0),t.card}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),i=n(2),o=n(23),s=n(42),a=n(12),l=function(e){function t(t){return e.call(this,t)||this}return r.__extends(t,e),t.prototype.updateContentWidth=function(){var e=this.props.size.width-this.props.format.carouselMargin;this.root.style.width="",this.root.offsetWidth>e&&(this.root.style.width=e.toString()+"px",this.hscroll.updateScrollButtons())},t.prototype.componentDidMount=function(){this.updateContentWidth()},t.prototype.componentDidUpdate=function(){this.updateContentWidth()},t.prototype.render=function(){var e=this;return i.createElement("div",{className:"wc-carousel",ref:function(t){return e.root=t}},i.createElement(s.HScroll,{ref:function(t){return e.hscroll=t},prevSvgPathData:"M 16.5 22 L 19 19.5 L 13.5 14 L 19 8.5 L 16.5 6 L 8.5 14 L 16.5 22 Z",nextSvgPathData:"M 12.5 22 L 10 19.5 L 15.5 14 L 10 8.5 L 12.5 6 L 20.5 14 L 12.5 22 Z",scrollUnit:"item"},i.createElement(c,r.__assign({},this.props))))},t}(i.PureComponent);t.Carousel=l;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.render=function(){a.log("rendering CarouselAttachments");var e=this.props,t=(e.attachments,r.__rest(e,["attachments"]));return i.createElement("ul",null,this.props.attachments.map(function(e,n){return i.createElement("li",{className:"wc-carousel-item",key:n},i.createElement(o.AttachmentView,{attachment:e,disabled:t.disabled,format:t.format,onCardAction:t.onCardAction,onImageLoad:t.onImageLoad}))}))},t}(i.PureComponent)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(46),i=n(2);t.FormattedText=function(e){if(!e.text||""===e.text)return null;switch(e.format){case"xml":case"plain":return o(e.text);default:return l(e.text,e.onImageLoad)}};var o=function(e){var t=e.replace("\r","").split("\n"),n=t.map(function(e,t){return i.createElement("span",{key:t},e,i.createElement("br",null))});return i.createElement("span",{className:"format-plain"},n)},s=new r({html:!1,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0}),a=s.renderer.rules.link_open||function(e,t,n,r,i){return i.renderToken(e,t,n)};s.renderer.rules.link_open=function(e,t,n,r,i){var o=e[t].attrIndex("target");return o<0?e[t].attrPush(["target","_blank"]):e[t].attrs[o][1]="_blank",a(e,t,n,r,i)};var l=function(e,t){var n;if(e.trim()){n=e.replace(//gi,"\n").replace(/\[(.*?)\]\((.*?)( +".*?"){0,1}\)/gi,function(e,t,n,r){return"["+t+"]("+s.normalizeLink(n)+(void 0===r?"":r)+")"}).split(/\n *\n|\r\n *\r\n|\r *\r/).map(function(e){return s.render(e)}).join("
")}else n=e.replace(/ */," ");return i.createElement("div",{className:"format-markdown",dangerouslySetInnerHTML:{__html:n}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),i=n(2),o=n(13),s=n(100),a=n(43),l=n(9),c=n(12),u=n(18),p=function(e){function t(t){var n=e.call(this,t)||this;return n.scrollToBottom=!0,n.measurableCarousel=function(){return i.createElement(g,{ref:function(e){return n.carouselActivity=e},activity:{type:"message",id:"",from:{id:""},attachmentLayout:"carousel"},format:null,fromMe:!1,onClickActivity:null,onClickRetry:null,selected:!1,showTimestamp:!1},i.createElement("div",{style:{width:n.largeWidth}}," "))},n}return r.__extends(t,e),t.prototype.componentWillUpdate=function(e){var t=1;!this.props.hasActivityWithSuggestedActions&&e.hasActivityWithSuggestedActions&&(t=40),this.scrollToBottom=Math.abs(this.scrollMe.scrollHeight-this.scrollMe.scrollTop-this.scrollMe.offsetHeight)<=t},t.prototype.componentDidUpdate=function(){if(void 0===this.props.format.carouselMargin){var e=f(this.carouselActivity.messageDiv)-this.largeWidth,t=this.carouselActivity.messageDiv.offsetParent;if(t){var n=t.offsetWidth-e,r=this.props.size.width-n;c.log("history measureMessage "+r),this.props.setMeasurements(r),this.carouselActivity=null}}this.autoscroll()},t.prototype.autoscroll=function(){var e=Math.max(0,h(this.scrollMe)-this.scrollContent.offsetHeight);this.scrollContent.style.marginTop=e+"px";var t=this.props.activities[this.props.activities.length-1],n=t&&this.props.isFromMe&&this.props.isFromMe(t);(this.scrollToBottom||n)&&(this.scrollMe.scrollTop=this.scrollMe.scrollHeight-this.scrollMe.offsetHeight)},t.prototype.doCardAction=function(e,t){return this.props.onClickCardAction(),this.props.onCardAction&&this.props.onCardAction(),this.props.doCardAction(e,t)},t.prototype.render=function(){var e=this;c.log("History props",this);var t;void 0!==this.props.size.width&&(void 0===this.props.format.carouselMargin?(this.largeWidth=2*this.props.size.width,t=i.createElement(this.measurableCarousel,null)):t=this.props.activities.map(function(t,n){return("message"!==t.type||t.text||t.attachments&&!!t.attachments.length)&&i.createElement(g,{format:e.props.format,key:"message"+n,activity:t,showTimestamp:n===e.props.activities.length-1||n+13e5},g=function(e){function t(t){var n=e.call(this,t)||this;return n.handleKeyPress=n.handleKeyPress.bind(n),n}return r.__extends(t,e),t.prototype.handleKeyPress=function(e){13!==e.keyCode&&32!==e.keyCode||this.props.onClickActivity(e)},t.prototype.render=function(){var e,t=this;switch(this.props.activity.id){case void 0:e=i.createElement("span",null,this.props.format.strings.messageSending);break;case null:e=i.createElement("span",null,this.props.format.strings.messageFailed);break;case"retry":e=i.createElement("span",null,this.props.format.strings.messageFailed," ",i.createElement("a",{href:".",onClick:this.props.onClickRetry},this.props.format.strings.messageRetry));break;default:var n=void 0;this.props.showTimestamp&&(n=this.props.format.strings.timeSent.replace("%1",new Date(this.props.activity.timestamp).toLocaleTimeString())),e=i.createElement("span",null,this.props.activity.from.name||this.props.activity.from.id,n)}var r=this.props.fromMe?"me":"bot",o=this.props.onClickActivity,s=l.classList("wc-message-wrapper",this.props.activity.attachmentLayout||"list",this.props.onClickActivity&&"clickable"),a=l.classList("wc-message-content",this.props.selected&&"selected");return i.createElement("div",{className:s,"data-activity-id":this.props.activity.id,onClick:this.props.onClickActivity,onKeyUp:this.handleKeyPress,role:o?"button":void 0,tabIndex:o?0:void 0},i.createElement("div",{className:"wc-message wc-message-from-"+r,ref:function(e){return t.messageDiv=e}},i.createElement("div",{className:a},i.createElement("svg",{className:"wc-message-callout"},i.createElement("path",{className:"point-left",d:"m0,6 l6 6 v-12 z"}),i.createElement("path",{className:"point-right",d:"m6,6 l-6 6 v-12 z"})),this.props.children)),i.createElement("div",{className:"wc-message-from wc-message-from-"+r},e))},t}(i.Component);t.WrappedActivity=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),i=n(2),o=n(13),s=n(43),a=n(9),l=n(42),c=n(18),u=function(e){return i.createElement("div",{className:a.classList("wc-message-pane",e.activityWithSuggestedActions&&"show-actions")},e.children,i.createElement("div",{className:a.classList("wc-suggested-actions",!!e.disabled&&"disabled")},i.createElement(p,r.__assign({},e))))},p=function(e){function t(t){return e.call(this,t)||this}return r.__extends(t,e),t.prototype.actionClick=function(e,t){this.props.activityWithSuggestedActions&&(this.props.takeSuggestedAction(this.props.activityWithSuggestedActions),this.props.doCardAction(t.type,t.value),e.stopPropagation())},t.prototype.shouldComponentUpdate=function(e){return!!e.activityWithSuggestedActions},t.prototype.render=function(){var e=this;return this.props.activityWithSuggestedActions?i.createElement(l.HScroll,{prevSvgPathData:"M 16.5 22 L 19 19.5 L 13.5 14 L 19 8.5 L 16.5 6 L 8.5 14 L 16.5 22 Z",nextSvgPathData:"M 12.5 22 L 10 19.5 L 15.5 14 L 10 8.5 L 12.5 6 L 20.5 14 L 12.5 22 Z",scrollUnit:"page"},i.createElement("ul",null,this.props.activityWithSuggestedActions.suggestedActions.actions.map(function(t,n){return i.createElement("li",{key:n},i.createElement("button",{disabled:e.props.disabled,onClick:function(n){return e.actionClick(n,t)},title:t.title,type:"button"},t.title))}))):null},t}(i.Component);t.MessagePane=o.connect(function(e){return{activityWithSuggestedActions:s.activityWithSuggestedActions(e.history.activities),botConnection:e.connection.botConnection,user:e.connection.user,locale:e.format.locale}},{takeSuggestedAction:function(e){return{type:"Take_SuggestedAction",message:e}},sendMessage:c.sendMessage},function(e,t,n){return{activityWithSuggestedActions:e.activityWithSuggestedActions,takeSuggestedAction:t.takeSuggestedAction,children:n.children,disabled:n.disabled,doCardAction:a.doCardAction(e.botConnection,e.user,e.locale,t.sendMessage)}})(u)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),i=n(2),o=n(13),s=n(9),a=n(16),l=n(18),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.sendMessage=function(){this.props.inputText.trim().length>0&&this.props.sendMessage(this.props.inputText)},t.prototype.handleSendButtonKeyPress=function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.sendMessage(),this.textInput&&this.textInput.focus())},t.prototype.handleUploadButtonKeyPress=function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.fileInput.click())},t.prototype.onKeyPress=function(e){"Enter"===e.key&&this.sendMessage()},t.prototype.onClickSend=function(){this.sendMessage()},t.prototype.onChangeFile=function(){this.fileInput.files.length&&(this.props.sendFiles(this.fileInput.files),this.fileInput.value=null),this.textInput&&this.textInput.focus()},t.prototype.onTextInputFocus=function(){this.props.listeningState===l.ListeningState.STARTED&&this.props.stopListening()},t.prototype.onClickMic=function(){this.props.listeningState===l.ListeningState.STARTED?this.props.stopListening():this.props.listeningState===l.ListeningState.STOPPED&&this.props.startListening()},t.prototype.focus=function(e){this.textInput&&this.textInput.focus(),e&&this.props.onChangeText(this.props.inputText+e)},t.prototype.render=function(){var e=this,t=s.classList("wc-console",this.props.inputText.length>0&&"has-text",this.props.showUploadButton&&"has-upload-button"),n=this.props.listeningState!==l.ListeningState.STOPPED||a.Speech.SpeechRecognizer.speechIsAvailable()&&!this.props.inputText.length,r=s.classList("wc-send",n&&"hidden"),o=s.classList("wc-mic",!n&&"hidden",this.props.listeningState===l.ListeningState.STARTED&&"active",this.props.listeningState!==l.ListeningState.STARTED&&"inactive"),c=this.props.listeningState===l.ListeningState.STARTED?this.props.strings.listeningIndicator:this.props.strings.consolePlaceholder;return i.createElement("div",{className:t},this.props.showUploadButton&&i.createElement("label",{className:"wc-upload",htmlFor:"wc-upload-input",onKeyPress:function(t){return e.handleUploadButtonKeyPress(t)},tabIndex:0},i.createElement("svg",null,i.createElement("path",{d:"M19.96 4.79m-2 0a2 2 0 0 1 4 0 2 2 0 0 1-4 0zM8.32 4.19L2.5 15.53 22.45 15.53 17.46 8.56 14.42 11.18 8.32 4.19ZM1.04 1L1.04 17 24.96 17 24.96 1 1.04 1ZM1.03 0L24.96 0C25.54 0 26 0.45 26 0.99L26 17.01C26 17.55 25.53 18 24.96 18L1.03 18C0.46 18 0 17.55 0 17.01L0 0.99C0 0.45 0.47 0 1.03 0Z"}))),this.props.showUploadButton&&i.createElement("input",{id:"wc-upload-input",tabIndex:-1,type:"file",ref:function(t){return e.fileInput=t},multiple:!0,onChange:function(){return e.onChangeFile()},"aria-label":this.props.strings.uploadFile,role:"button"}),i.createElement("div",{className:"wc-textbox"},i.createElement("input",{type:"text",className:"wc-shellinput",ref:function(t){return e.textInput=t},value:this.props.inputText,onChange:function(t){return e.props.onChangeText(e.textInput.value)},onKeyPress:function(t){return e.onKeyPress(t)},onFocus:function(){return e.onTextInputFocus()},placeholder:c,"aria-label":this.props.inputText?null:c,"aria-live":"polite",autoFocus:this.props.autoFocus})),i.createElement("button",{className:r,onClick:function(){return e.onClickSend()},"aria-label":this.props.strings.send,role:"button",onKeyPress:function(t){return e.handleSendButtonKeyPress(t)},tabIndex:0,type:"button"},i.createElement("svg",null,i.createElement("path",{d:"M26.79 9.38A0.31 0.31 0 0 0 26.79 8.79L0.41 0.02C0.36 0 0.34 0 0.32 0 0.14 0 0 0.13 0 0.29 0 0.33 0.01 0.37 0.03 0.41L3.44 9.08 0.03 17.76A0.29 0.29 0 0 0 0.01 17.8 0.28 0.28 0 0 0 0.01 17.86C0.01 18.02 0.14 18.16 0.3 18.16A0.3 0.3 0 0 0 0.41 18.14L26.79 9.38ZM0.81 0.79L24.84 8.79 3.98 8.79 0.81 0.79ZM3.98 9.37L24.84 9.37 0.81 17.37 3.98 9.37Z"}))),i.createElement("button",{className:o,onClick:function(){return e.onClickMic()},"aria-label":this.props.strings.speak,role:"button",tabIndex:0,type:"button"},i.createElement("svg",{width:"28",height:"22",viewBox:"0 0 58 58"},i.createElement("path",{d:"M 44 28 C 43.448 28 43 28.447 43 29 L 43 35 C 43 42.72 36.72 49 29 49 C 21.28 49 15 42.72 15 35 L 15 29 C 15 28.447 14.552 28 14 28 C 13.448 28 13 28.447 13 29 L 13 35 C 13 43.485 19.644 50.429 28 50.949 L 28 56 L 23 56 C 22.448 56 22 56.447 22 57 C 22 57.553 22.448 58 23 58 L 35 58 C 35.552 58 36 57.553 36 57 C 36 56.447 35.552 56 35 56 L 30 56 L 30 50.949 C 38.356 50.429 45 43.484 45 35 L 45 29 C 45 28.447 44.552 28 44 28 Z"}),i.createElement("path",{id:"micFilling",d:"M 28.97 44.438 L 28.97 44.438 C 23.773 44.438 19.521 40.033 19.521 34.649 L 19.521 11.156 C 19.521 5.772 23.773 1.368 28.97 1.368 L 28.97 1.368 C 34.166 1.368 38.418 5.772 38.418 11.156 L 38.418 34.649 C 38.418 40.033 34.166 44.438 28.97 44.438 Z"}),i.createElement("path",{d:"M 29 46 C 35.065 46 40 41.065 40 35 L 40 11 C 40 4.935 35.065 0 29 0 C 22.935 0 18 4.935 18 11 L 18 35 C 18 41.065 22.935 46 29 46 Z M 20 11 C 20 6.037 24.038 2 29 2 C 33.962 2 38 6.037 38 11 L 38 35 C 38 39.963 33.962 44 29 44 C 24.038 44 20 39.963 20 35 L 20 11 Z"}))))},t}(i.Component);t.Shell=o.connect(function(e){return{inputText:e.shell.input,showUploadButton:e.format.showUploadButton,strings:e.format.strings,locale:e.format.locale,user:e.connection.user,listeningState:e.shell.listeningState}},{onChangeText:function(e){return{type:"Update_Input",input:e,source:"text"}},stopListening:function(){return{type:"Listening_Stopping"}},startListening:function(){return{type:"Listening_Starting"}},sendMessage:l.sendMessage,sendFiles:l.sendFiles},function(e,t,n){return{inputText:e.inputText,showUploadButton:e.showUploadButton,strings:e.strings,listeningState:e.listeningState,onChangeText:t.onChangeText,autoFocus:n.autoFocus,sendMessage:function(n){return t.sendMessage(n,e.user,e.locale)},sendFiles:function(n){return t.sendFiles(n,e.user,e.locale)},startListening:function(){return t.startListening()},stopListening:function(){return t.stopListening()}}},{withRef:!0})(c)},function(e,t,n){"use strict";function r(e){return e=e&&e.toLowerCase(),e in i?e:e.startsWith("cs")?"cs-cz":e.startsWith("da")?"da-dk":e.startsWith("de")?"de-de":e.startsWith("el")?"el-gr":e.startsWith("es")?"es-es":e.startsWith("fi")?"fi-fi":e.startsWith("fr")?"fr-fr":e.startsWith("he")?"he-il":e.startsWith("hu")?"hu-hu":e.startsWith("it")?"it-it":e.startsWith("ja")?"ja-jp":e.startsWith("ko")?"ko-kr":e.startsWith("lv")?"lv-lv":e.startsWith("nb")||e.startsWith("nn")||e.startsWith("no")?"nb-no":e.startsWith("nl")?"nl-nl":e.startsWith("pl")?"pl-pl":e.startsWith("pt")?"pt-br"===e?"pt-br":"pt-pt":e.startsWith("ru")?"ru-ru":e.startsWith("sv")?"sv-se":e.startsWith("tr")?"tr-tr":e.startsWith("zh")?"zh-hk"===e||"zh-mo"===e||"zh-tw"===e?"zh-hant":"zh-hans":"en-us"}Object.defineProperty(t,"__esModule",{value:!0});var i={"en-us":{title:"Chat",send:"Send",unknownFile:"[File of type '%1']",unknownCard:"[Unknown Card '%1']",receiptVat:"VAT",receiptTax:"Tax",receiptTotal:"Total",messageRetry:"retry",messageFailed:"couldn't send",messageSending:"sending",timeSent:" at %1",consolePlaceholder:"Type your message...",listeningIndicator:"Listening...",uploadFile:"Upload file",speak:"Speak"},"ja-jp":{title:"チャット",send:"送信",unknownFile:"[ファイルタイプ '%1']",unknownCard:"[不明なカード '%1']",receiptVat:"消費税",receiptTax:"税",receiptTotal:"合計",messageRetry:"再送",messageFailed:"送信できませんでした。",messageSending:"送信中",timeSent:" %1",consolePlaceholder:"メッセージを入力してください...",listeningIndicator:"聴いてます...",uploadFile:"",speak:""},"nb-no":{title:"Chat",send:"Send",unknownFile:"[Fil av typen '%1']",unknownCard:"[Ukjent Kort '%1']",receiptVat:"MVA",receiptTax:"Skatt",receiptTotal:"Totalt",messageRetry:"prøv igjen",messageFailed:"kunne ikke sende",messageSending:"sender",timeSent:" %1",consolePlaceholder:"Skriv inn melding...",listeningIndicator:"Lytter...",uploadFile:"Last opp fil",speak:"Snakk"},"da-dk":{title:"Chat",send:"Send",unknownFile:"[Fil af typen '%1']",unknownCard:"[Ukendt kort '%1']",receiptVat:"Moms",receiptTax:"Skat",receiptTotal:"Total",messageRetry:"prøv igen",messageFailed:"ikke sendt",messageSending:"sender",timeSent:" kl %1",consolePlaceholder:"Skriv din besked...",listeningIndicator:"Lytter...",uploadFile:"",speak:""},"de-de":{title:"Chat",send:"Senden",unknownFile:"[Datei vom Typ '%1']",unknownCard:"[Unbekannte Card '%1']",receiptVat:"VAT",receiptTax:"MwSt.",receiptTotal:"Gesamtbetrag",messageRetry:"wiederholen",messageFailed:"konnte nicht senden",messageSending:"sendet",timeSent:" um %1",consolePlaceholder:"Verfasse eine Nachricht...",listeningIndicator:"Hören...",uploadFile:"",speak:""},"pl-pl":{title:"Chat",send:"Wyślij",unknownFile:"[Plik typu '%1']",unknownCard:"[Nieznana karta '%1']",receiptVat:"VAT",receiptTax:"Podatek",receiptTotal:"Razem",messageRetry:"wyślij ponownie",messageFailed:"wysłanie nieudane",messageSending:"wysyłanie",timeSent:" o %1",consolePlaceholder:"Wpisz swoją wiadomość...",listeningIndicator:"Słuchanie...",uploadFile:"Wyślij plik",speak:"Mów"},"ru-ru":{title:"Чат",send:"Отправить",unknownFile:"[Неизвестный тип '%1']",unknownCard:"[Неизвестная карта '%1']",receiptVat:"VAT",receiptTax:"Налог",receiptTotal:"Итого",messageRetry:"повторить",messageFailed:"не удалось отправить",messageSending:"отправка",timeSent:" в %1",consolePlaceholder:"Введите ваше сообщение...",listeningIndicator:"прослушивание...",uploadFile:"",speak:""},"nl-nl":{title:"Chat",send:"Verstuur",unknownFile:"[Bestand van het type '%1']",unknownCard:"[Onbekende kaart '%1']",receiptVat:"VAT",receiptTax:"BTW",receiptTotal:"Totaal",messageRetry:"opnieuw",messageFailed:"versturen mislukt",messageSending:"versturen",timeSent:" om %1",consolePlaceholder:"Typ je bericht...",listeningIndicator:"Aan het luisteren...",uploadFile:"Bestand uploaden",speak:"Spreek"},"lv-lv":{title:"Tērzēšana",send:"Sūtīt",unknownFile:"[Nezināms tips '%1']",unknownCard:"[Nezināma kartīte '%1']",receiptVat:"VAT",receiptTax:"Nodoklis",receiptTotal:"Kopsumma",messageRetry:"Mēģināt vēlreiz",messageFailed:"Neizdevās nosūtīt",messageSending:"Nosūtīšana",timeSent:" %1",consolePlaceholder:"Ierakstiet savu ziņu...",listeningIndicator:"Klausoties...",uploadFile:"",speak:""},"pt-br":{title:"Bate-papo",send:"Enviar",unknownFile:"[Arquivo do tipo '%1']",unknownCard:"[Cartão desconhecido '%1']",receiptVat:"VAT",receiptTax:"Imposto",receiptTotal:"Total",messageRetry:"repetir",messageFailed:"não pude enviar",messageSending:"enviando",timeSent:" às %1",consolePlaceholder:"Digite sua mensagem...",listeningIndicator:"Ouvindo...",uploadFile:"Subir arquivo",speak:"Falar"},"fr-fr":{title:"Chat",send:"Envoyer",unknownFile:"[Fichier de type '%1']",unknownCard:"[Carte inconnue '%1']",receiptVat:"TVA",receiptTax:"Taxe",receiptTotal:"Total",messageRetry:"réessayer",messageFailed:"envoi impossible",messageSending:"envoi",timeSent:" à %1",consolePlaceholder:"Écrivez votre message...",listeningIndicator:"Écoute...",uploadFile:"",speak:""},"es-es":{title:"Chat",send:"Enviar",unknownFile:"[Archivo de tipo '%1']",unknownCard:"[Tarjeta desconocida '%1']",receiptVat:"IVA",receiptTax:"Impuestos",receiptTotal:"Total",messageRetry:"reintentar",messageFailed:"no enviado",messageSending:"enviando",timeSent:" a las %1",consolePlaceholder:"Escribe tu mensaje...",listeningIndicator:"Escuchando...",uploadFile:"",speak:""},"el-gr":{title:"Συνομιλία",send:"Αποστολή",unknownFile:"[Αρχείο τύπου '%1']",unknownCard:"[Αγνωστη Κάρτα '%1']",receiptVat:"VAT",receiptTax:"ΦΠΑ",receiptTotal:"Σύνολο",messageRetry:"δοκιμή",messageFailed:"αποτυχία",messageSending:"αποστολή",timeSent:" την %1",consolePlaceholder:"Πληκτρολόγηση μηνύματος...",listeningIndicator:"Ακούγοντας...",uploadFile:"",speak:""},"it-it":{title:"Chat",send:"Invia",unknownFile:"[File di tipo '%1']",unknownCard:"[Card sconosciuta '%1']",receiptVat:"VAT",receiptTax:"Tasse",receiptTotal:"Totale",messageRetry:"riprova",messageFailed:"impossibile inviare",messageSending:"invio",timeSent:" %1",consolePlaceholder:"Scrivi il tuo messaggio...",listeningIndicator:"Ascoltando...",uploadFile:"",speak:""},"zh-hans":{title:"聊天",send:"发送",unknownFile:"[类型为'%1'的文件]",unknownCard:"[未知的'%1'卡片]",receiptVat:"消费税",receiptTax:"税",receiptTotal:"共计",messageRetry:"重试",messageFailed:"无法发送",messageSending:"正在发送",timeSent:" 用时 %1",consolePlaceholder:"输入你的消息...",listeningIndicator:"正在倾听...",uploadFile:"上传文件",speak:"发言"},"zh-hant":{title:"聊天",send:"發送",unknownFile:"[類型為'%1'的文件]",unknownCard:"[未知的'%1'卡片]",receiptVat:"消費稅",receiptTax:"税",receiptTotal:"總共",messageRetry:"重試",messageFailed:"無法發送",messageSending:"正在發送",timeSent:" 於 %1",consolePlaceholder:"輸入你的訊息...",listeningIndicator:"正在聆聽...",uploadFile:"上載檔案",speak:"發言"},"zh-yue":{title:"傾偈",send:"傳送",unknownFile:"[類型係'%1'嘅文件]",unknownCard:"[唔知'%1'係咩卡片]",receiptVat:"消費稅",receiptTax:"税",receiptTotal:"總共",messageRetry:"再嚟一次",messageFailed:"傳送唔倒",messageSending:"而家傳送緊",timeSent:" 喺 %1",consolePlaceholder:"輸入你嘅訊息...",listeningIndicator:"聽緊你講嘢...",uploadFile:"上載檔案",speak:"講嘢"},"cs-cz":{title:"Chat",send:"Odeslat",unknownFile:"[Soubor typu '%1']",unknownCard:"[Neznámá karta '%1']",receiptVat:"DPH",receiptTax:"Daň z prod.",receiptTotal:"Celkem",messageRetry:"opakovat",messageFailed:"nepodařilo se odeslat",messageSending:"Odesílání",timeSent:" v %1",consolePlaceholder:"Napište svou zprávu...",listeningIndicator:"Poslouchám...",uploadFile:"Nahrát soubor",speak:"Použít hlas"},"ko-kr":{title:"채팅",send:"전송",unknownFile:"[파일 형식 '%1']",unknownCard:"[알수없는 타입의 카드 '%1']",receiptVat:"부가세",receiptTax:"세액",receiptTotal:"합계",messageRetry:"재전송",messageFailed:"전송할 수 없습니다",messageSending:"전송중",timeSent:" %1",consolePlaceholder:"메세지를 입력하세요...",listeningIndicator:"수신중...",uploadFile:"",speak:""},"hu-hu":{title:"Csevegés",send:"Küldés",unknownFile:"[Fájltípus '%1']",unknownCard:"[Ismeretlen kártya '%1']",receiptVat:"ÁFA",receiptTax:"Adó",receiptTotal:"Összesen",messageRetry:"próbálja újra",messageFailed:"nem sikerült elküldeni",messageSending:"küldés",timeSent:" ekkor: %1",consolePlaceholder:"Írja be üzenetét...",listeningIndicator:"Figyelés...",uploadFile:"",speak:""},"sv-se":{title:"Chatt",send:"Skicka",unknownFile:"[Filtyp '%1']",unknownCard:"[Okänt kort '%1']",receiptVat:"Moms",receiptTax:"Skatt",receiptTotal:"Totalt",messageRetry:"försök igen",messageFailed:"kunde inte skicka",messageSending:"skickar",timeSent:" %1",consolePlaceholder:"Skriv ett meddelande...",listeningIndicator:"Lyssnar...",uploadFile:"",speak:""},"tr-tr":{title:"Sohbet",send:"Gönder",unknownFile:"[Dosya türü: '%1']",unknownCard:"[Bilinmeyen Kart: '%1']",receiptVat:"KDV",receiptTax:"Vergi",receiptTotal:"Toplam",messageRetry:"yeniden deneyin",messageFailed:"gönderilemedi",messageSending:"gönderiliyor",timeSent:", %1",consolePlaceholder:"İletinizi yazın...",listeningIndicator:"Dinliyor...",uploadFile:"",speak:""},"pt-pt":{title:"Chat",send:"Enviar",unknownFile:'[Ficheiro do tipo "%1"]',unknownCard:'[Cartão Desconhecido "%1"]',receiptVat:"IVA",receiptTax:"Imposto",receiptTotal:"Total",messageRetry:"repetir",messageFailed:"não foi possível enviar",messageSending:"a enviar",timeSent:" em %1",consolePlaceholder:"Escreva a sua mensagem...",listeningIndicator:"A Escutar...",uploadFile:"",speak:""},"fi-fi":{title:"Chat",send:"Lähetä",unknownFile:"[Tiedosto tyyppiä '%1']",unknownCard:"[Tuntematon kortti '%1']",receiptVat:"ALV",receiptTax:"Vero",receiptTotal:"Yhteensä",messageRetry:"yritä uudelleen",messageFailed:"ei voitu lähettää",messageSending:"lähettää",timeSent:" klo %1",consolePlaceholder:"Kirjoita viesti...",listeningIndicator:"Kuuntelee...",uploadFile:"Lataa tiedosto",speak:"Puhu"},"he-il":{title:"צ'אט",send:"שלח",unknownFile:"[קובץ מסוג '%1']",unknownCard:"[כרטיס לא ידוע '%1']",receiptVat:'מע"מ',receiptTax:"מס",receiptTotal:"סך הכל",messageRetry:"נסה שוב",messageFailed:"השליחה נכשלה",messageSending:"שולח",timeSent:" %1",consolePlaceholder:"כתוב כאן...",listeningIndicator:"מאזין...",uploadFile:"העלה קובץ",speak:"דבר"}};t.defaultStrings=i["en-us"],t.strings=function(e){return i[r(e)]}},function(e,t,n){"use strict";function r(e){var t=e.tabIndex;if(s){var n=e.attributes.getNamedItem("tabindex");if(!n||!n.specified)return~i.indexOf(e.nodeName.toLowerCase())?0:null}else if(!~t){var r=e.getAttribute("tabindex");if(null===r||""===r&&!o)return null}return t}Object.defineProperty(t,"__esModule",{value:!0});var i=["a","body","button","frame","iframe","img","input","isindex","object","select","textarea"],o=/Firefox\//i.test(navigator.userAgent),s=/Trident\//i.test(navigator.userAgent);t.getTabIndex=r},function(e,t){e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},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,n,r,o,s,a,l){if(i(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,s,a,l],p=0;c=new Error(t.replace(/%s/g,function(){return u[p++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var i=function(e){};e.exports=r},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},o="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,n){if("string"!=typeof t){var s=Object.getOwnPropertyNames(t);o&&(s=s.concat(Object.getOwnPropertySymbols(t)));for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new TypeError("expects name.");var n=i({},p,t),r=[],o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments[2];return r.push([e,t,n])},a=function(e,t,n){return o(e,t,i({},n,{public:!0}))},c={rule:{type:u.RULE},word:{type:u.WORD},alt:{type:u.ALTERNATIVE}},d=(0,s.default)(o,c),h=(0,s.default)(a,c);return i({},d,{public:i({},h),rules:function(){return r.concat()},stringify:function(){return(0,l.default)(n,e,r)}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){return["#JSGF",e.version,e.encoding,e.lang].filter(Boolean).join(" ")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t2&&void 0!==arguments[2]?arguments[2]:{},r=n.group,o=n.optional,s=[];if(!Array.isArray(t))throw new TypeError("expects Array for group rules.");return r&&s.push(o?"[":"("),t=t.map(function(e){return Array.isArray(e)?"/"+e[1]+"/ "+e[0]:e}),s.push(t.join(" | ")),r&&s.push(o?"]":")"),(0,i.default)(e,s.join(" "))}},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}Object.defineProperty(t,"__esModule",{value:!0});var o,s=n(44),a=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}(s),l=n(26),c=r(l),u=n(124),p=r(u),d=n(122),h=r(d);t.default=(o={},i(o,a.RULE,c.default),i(o,a.WORD,p.default),i(o,a.ALTERNATIVE,h.default),o)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(26),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){return/\s+/.test(t)&&(t='"'+t+'"'),(0,i.default)(e,t)}},function(e,t,n){"use strict";function r(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function i(e){return Object.prototype.toString.call(e)}function o(e){return"[object String]"===i(e)}function s(e){return"[object Object]"===i(e)}function a(e){return"[object RegExp]"===i(e)}function l(e){return"[object Function]"===i(e)}function c(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function u(e){return Object.keys(e||{}).reduce(function(e,t){return e||v.hasOwnProperty(t)},!1)}function p(e){e.__index__=-1,e.__text_cache__=""}function d(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function h(){return function(e,t){t.normalize(e)}}function f(e){function t(e){return e.replace("%TLDS%",i.src_tlds)}function r(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}var i=e.re=n(126)(e.__opts__),u=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||u.push(_),u.push(i.src_xn),i.src_tlds=u.join("|"),i.email_fuzzy=RegExp(t(i.tpl_email_fuzzy),"i"),i.link_fuzzy=RegExp(t(i.tpl_link_fuzzy),"i"),i.link_no_ip_fuzzy=RegExp(t(i.tpl_link_no_ip_fuzzy),"i"),i.host_fuzzy_test=RegExp(t(i.tpl_host_fuzzy_test),"i");var f=[];e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){var n=e.__schemas__[t];if(null!==n){var i={validate:null,link:null};return e.__compiled__[t]=i,s(n)?(a(n.validate)?i.validate=d(n.validate):l(n.validate)?i.validate=n.validate:r(t,n),void(l(n.normalize)?i.normalize=n.normalize:n.normalize?r(t,n):i.normalize=h())):o(n)?void f.push(t):void r(t,n)}}),f.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:h()};var m=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(c).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+i.src_ZPCc+"))("+m+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+i.src_ZPCc+"))("+m+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),p(e)}function m(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function g(e,t){var n=new m(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function y(e,t){if(!(this instanceof y))return new y(e,t);t||u(e)&&(t=e,e={}),this.__opts__=r({},v,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},b,e),this.__compiled__={},this.__tlds__=w,this.__tlds_replaced__=!1,this.re={},f(this)}var v={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},b={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},_="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",w="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");y.prototype.add=function(e,t){return this.__schemas__[e]=t,f(this),this},y.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},y.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,s,a,l;if(this.re.schema_test.test(e))for(a=this.re.schema_search,a.lastIndex=0;null!==(t=a.exec(e));)if(i=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s)),this.__index__>=0},y.prototype.pretest=function(e){return this.re.pretest.test(e)},y.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},y.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(g(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(g(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},y.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),f(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,f(this),this)},y.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},y.prototype.onCompile=function(){},e.exports=y},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(86).source,t.src_Cc=n(84).source,t.src_Z=n(85).source,t.src_P=n(39).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-(?!-)|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|[><|]|\\(|"+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,n){"use strict";function r(e){return null==e?void 0===e?l:a:c&&c in Object(e)?n.i(o.a)(e):n.i(s.a)(e)}var i=n(45),o=n(130),s=n(131),a="[object Null]",l="[object Undefined]",c=i.a?i.a.toStringTag:void 0;t.a=r},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(t,n(15))},function(e,t,n){"use strict";var r=n(132),i=n.i(r.a)(Object.getPrototypeOf,Object);t.a=i},function(e,t,n){"use strict";function r(e){var t=s.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[l]=n:delete e[l]),i}var i=n(45),o=Object.prototype,s=o.hasOwnProperty,a=o.toString,l=i.a?i.a.toStringTag:void 0;t.a=r},function(e,t,n){"use strict";function r(e){return o.call(e)}var i=Object.prototype,o=i.toString;t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n){return e(t(n))}}t.a=r},function(e,t,n){"use strict";var r=n(128),i="object"==typeof self&&self&&self.Object===Object&&self,o=r.a||i||Function("return this")();t.a=o},function(e,t,n){"use strict";function r(e){return null!=e&&"object"==typeof e}t.a=r},function(e,t,n){"use strict";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","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";t.parseLinkLabel=n(138),t.parseLinkDestination=n(137),t.parseLinkTitle=n(139)},function(e,t,n){"use strict";var r=n(1).isSpace,i=n(1).unescapeAll;e.exports=function(e,t,n){var o,s,a=t,l={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t1)break;if(41===o&&--s<0)break;t++}return a===t?l:(l.str=i(e.slice(a,t)),l.lines=0,l.pos=t,l.ok=!0,l)}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o,s,a=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t=0))try{t.hostname=m.toASCII(t.hostname)}catch(e){}return f.encode(f.format(t))}function o(e){var t=f.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=m.toUnicode(t.hostname)}catch(e){}return f.decode(f.format(t))}function s(e,t){if(!(this instanceof s))return new s(e,t);t||a.isString(e)||(t=e||{},e="default"),this.inline=new d,this.block=new p,this.core=new u,this.renderer=new c,this.linkify=new h,this.validateLink=r,this.normalizeLink=i,this.normalizeLinkText=o,this.utils=a,this.helpers=a.assign({},l),this.options={},this.configure(e),t&&this.set(t)}var a=n(1),l=n(136),c=n(147),u=n(142),p=n(141),d=n(143),h=n(125),f=n(51),m=n(185),g={default:n(145),zero:n(146),commonmark:n(144)},y=/^(vbscript|javascript|file|data):/,v=/^data:image\/(gif|png|jpeg|webp);/,b=["http:","https:","mailto:"];s.prototype.set=function(e){return a.assign(this.options,e),this},s.prototype.configure=function(e){var t,n=this;if(a.isString(e)&&(t=e,!(e=g[t])))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},s.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},s.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},s.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},s.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},s.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},s.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},s.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=s},function(e,t,n){"use strict";function r(){this.ruler=new i;for(var e=0;e=n))&&!(e.sCount[s]=l){e.line=n;break}for(r=0;r=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},r.prototype.parse=function(e,t,n,r){var i,o,s,a=new this.State(e,t,n,r);for(this.tokenize(a),o=this.ruler2.getRules(""),s=o.length,i=0;i"+s(e[t].content)+""},a.code_block=function(e,t,n,r,i){var o=e[t];return""+s(e[t].content)+"\n"},a.fence=function(e,t,n,r,i){var a,l,c,u,p=e[t],d=p.info?o(p.info).trim():"",h="";return d&&(h=d.split(/\s+/g)[0]),a=n.highlight?n.highlight(p.content,h)||s(p.content):s(p.content),0===a.indexOf(""+a+"\n"):"
"+a+"
\n"},a.image=function(e,t,n,r,i){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},a.text=function(e,t){return s(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},r.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t\n":">")},r.prototype.renderInline=function(e,t,n){for(var r,i="",o=this.rules,s=0,a=e.length;s=4)return!1;if(62!==e.src.charCodeAt(E++))return!1;if(i)return!0;for(l=f=e.sCount[t]+E-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(E)?(E++,l++,f++,o=!1,w=!0):9===e.src.charCodeAt(E)?(w=!0,(e.bsCount[t]+f)%4==3?(E++,l++,f++,o=!1):o=!0):w=!1,m=[e.bMarks[t]],e.bMarks[t]=E;E=T,b=[e.sCount[t]],e.sCount[t]=f-l,_=[e.tShift[t]],e.tShift[t]=E-e.bMarks[t],S=e.md.block.ruler.getRules("blockquote"),v=e.parentType,e.parentType="blockquote",h=t+1;h=T));h++)if(62!==e.src.charCodeAt(E++)||c){if(p)break;for(C=!1,a=0,u=S.length;a=T,g.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(w?1:0),b.push(e.sCount[h]),e.sCount[h]=f-l,_.push(e.tShift[h]),e.tShift[h]=E-e.bMarks[h]}for(y=e.blkIndent,e.blkIndent=0,k=e.push("blockquote_open","blockquote",1),k.markup=">",k.map=d=[t,0],e.md.block.tokenize(e,t,h),k=e.push("blockquote_close","blockquote",-1),k.markup=">",e.lineMax=x,e.parentType=v,d[1]=e.line,a=0;a<_.length;a++)e.bMarks[a+t]=m[a],e.tShift[a+t]=_[a],e.sCount[a+t]=b[a],e.bsCount[a+t]=g[a];return e.blkIndent=y,!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r=4))break;r++,i=r}return e.line=i,o=e.push("code_block","code",0),o.content=e.getLines(t,i,4+e.blkIndent,!0),o.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var i,o,s,a,l,c,u,p=!1,d=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>h)return!1;if(126!==(i=e.src.charCodeAt(d))&&96!==i)return!1;if(l=d,d=e.skipChars(d,i),(o=d-l)<3)return!1;if(u=e.src.slice(l,d),s=e.src.slice(d,h),s.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(a=t;!(++a>=n)&&(d=l=e.bMarks[a]+e.tShift[a],h=e.eMarks[a],!(d=4||(d=e.skipChars(d,i))-l=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(s=1,o=e.src.charCodeAt(++c);35===o&&c6||cc&&r(e.src.charCodeAt(a-1))&&(u=a),e.line=t+1,l=e.push("heading_open","h"+String(s),1),l.markup="########".slice(0,s),l.map=[t,e.line],l=e.push("inline","",0),l.content=e.src.slice(c,u).trim(),l.map=[t,e.line],l.children=[],l=e.push("heading_close","h"+String(s),-1),l.markup="########".slice(0,s),!0))}},function(e,t,n){"use strict";var r=n(1).isSpace;e.exports=function(e,t,n,i){var o,s,a,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(s=1;c|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,s,a,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),i=0;i=4)return!1;for(d=e.parentType,e.parentType="paragraph";h3)){if(e.sCount[h]>=e.blkIndent&&(l=e.bMarks[h]+e.tShift[h],c=e.eMarks[h],l=c))){u=61===p?1:2;break}if(!(e.sCount[h]<0)){for(i=!1,o=0,s=f.length;o=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i=4)return!1;if(a&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(j=!0),(P=i(e,t))>=0){if(f=!0,D=e.bMarks[t]+e.tShift[t],_=Number(e.src.substr(D,P-D-1)),j&&1!==_)return!1}else{if(!((P=r(e,t))>=0))return!1;f=!1}if(j&&e.skipSpaces(P)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(P-1),a)return!0;for(v=e.tokens.length,f?(M=e.push("ordered_list_open","ol",1),1!==_&&(M.attrs=[["start",_]])):M=e.push("bullet_list_open","ul",1),M.map=y=[t,0],M.markup=String.fromCharCode(b),C=t,I=!1,N=e.md.block.ruler.getRules("list"),E=e.parentType,e.parentType="list";C=w?1:S-h,d>4&&(d=1),p=h+d,M=e.push("list_item_open","li",1),M.markup=String.fromCharCode(b),M.map=m=[t,0],k=e.blkIndent,A=e.tight,T=e.tShift[t],x=e.sCount[t],e.blkIndent=p,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=S,c>=w&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!I||(z=!1),I=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=k,e.tShift[t]=T,e.sCount[t]=x,e.tight=A,M=e.push("list_item_close","li",-1),M.markup=String.fromCharCode(b),C=t=e.line,m[1]=C,c=e.bMarks[t],C>=n)break;if(e.sCount[C]3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i=4)return!1;if(91!==e.src.charCodeAt(S))return!1;for(;++S3||e.sCount[x]<0)){for(b=!1,p=0,d=_.length;p0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,s,a,l,c,u,p,d=e;if(e>=t)return"";for(u=new Array(t-e),i=0;dn?new Array(s-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},r.prototype.Token=i,e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,s=0,a=!1,l=0;for(t=e.charCodeAt(r);rn)return!1;if(p=t+1,e.sCount[p]=4)return!1;if((c=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(a=e.src.charCodeAt(c++))&&45!==a&&58!==a)return!1;for(;c=4)return!1;if(d=i(l.replace(/^\||\|$/g,"")),(h=d.length)>m.length)return!1;if(s)return!0;for(f=e.push("table_open","table",1),f.map=y=[t,0],f=e.push("thead_open","thead",1),f.map=[t,t+1],f=e.push("tr_open","tr",1),f.map=[t,t+1],u=0;u=4);p++){for(d=i(l.replace(/^\||\|$/g,"")),f=e.push("tr_open","tr",1),u=0;u\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=n(1).arrayReplaceAt;e.exports=function(e){var t,n,s,a,l,c,u,p,d,h,f,m,g,y,v,b,_,w=e.tokens;if(e.md.options.linkify)for(n=0,s=w.length;n=0;t--)if(c=a[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&g>0&&g--,i(c.content)&&g++),!(g>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(d=c.content,_=e.md.linkify.match(d),u=[],m=c.level,f=0,p=0;p<_.length;p++)y=_[p].url,v=e.md.normalizeLink(y),e.md.validateLink(v)&&(b=_[p].text,b=_[p].schema?"mailto:"!==_[p].schema||/^mailto:/i.test(b)?e.md.normalizeLinkText(b):e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),h=_[p].index,h>f&&(l=new e.Token("text","",0),l.content=d.slice(f,h),l.level=m,u.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",v]],l.level=m++,l.markup="linkify",l.info="auto",u.push(l),l=new e.Token("text","",0),l.content=b,l.level=m,u.push(l),l=new e.Token("link_close","a",-1),l.level=--m,l.markup="linkify",l.info="auto",u.push(l),f=_[p].lastIndex);f=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(l,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||s.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var s=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,a=/\((c|tm|r|p)\)/i,l=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(a.test(e.tokens[t].content)&&i(e.tokens[t].children),s.test(e.tokens[t].content)&&o(e.tokens[t].children))}},function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,l,p,d,h,f,m,g,y,v,b,_,w,C,S,k,x,E,T,A;for(E=[],n=0;n=0&&!(E[k].level<=f);k--);if(E.length=k+1,"text"===i.type){l=i.content,d=0,h=l.length;e:for(;d=0)g=l.charCodeAt(p.index-1);else for(k=n-1;k>=0;k--)if("text"===e[k].type){g=e[k].content.charCodeAt(e[k].content.length-1);break}if(y=32,d=48&&g<=57&&(S=C=!1),C&&S&&(C=!1,S=b),C||S){if(S)for(k=E.length-1;k>=0&&(m=E[k],!(E[k].level=0;t--)"inline"===e.tokens[t].type&&l.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=n(29);r.prototype.Token=i,e.exports=r},function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,o,s,a,l,c,u=e.pos;return 60===e.src.charCodeAt(u)&&(n=e.src.slice(u),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),a=o[0].slice(1,-1),l=e.md.normalizeLink(a),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(a),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(s=n.match(r),a=s[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+a),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(a),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=s[0].length,!0))))}},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,o,s,a,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l=0;){if(i=o[n],i.open&&i.marker===r.marker&&i.end<0&&i.level===r.level){var a=(i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0;if(!a){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}}n-=i.jump+1}}},function(e,t,n){"use strict";var r=n(47),i=n(1).has,o=n(1).isValidEntityCode,s=n(1).fromCodePoint,a=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),e.exports=function(e,t){var n,o=e.pos,s=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=97&&t<=122}var i=n(48).HTML_TAG_RE;e.exports=function(e,t){var n,o,s,a,l=e.pos;return!!e.md.options.html&&(s=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=s)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!r(n))&&(!!(o=e.src.slice(l).match(i))&&(t||(a=e.push("html_inline","",0),a.content=e.src.slice(l,l+o[0].length)),e.pos+=o[0].length,!0))))}},function(e,t,n){"use strict";var r=n(1).normalizeReference,i=n(1).isSpace;e.exports=function(e,t){var n,o,s,a,l,c,u,p,d,h,f,m,g,y="",v=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)=b)return!1;for(g=u,d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),d.ok&&(y=e.md.normalizeLink(d.str),e.md.validateLink(y)?u=d.pos:y=""),g=u;u=b||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u=0?a=e.src.slice(g,u++):u=l+1):u=l+1,a||(a=e.src.slice(c,l)),!(p=e.env.references[r(a)]))return e.pos=v,!1;y=p.href,h=p.title}return t||(s=e.src.slice(c,l),e.md.inline.parse(s,e.md,e.env,m=[]),f=e.push("image","img",0),f.attrs=n=[["src",y],["alt",""]],f.children=m,f.content=s,h&&n.push(["title",h])),e.pos=u,e.posMax=b,!0}},function(e,t,n){"use strict";var r=n(1).normalizeReference,i=n(1).isSpace;e.exports=function(e,t){var n,o,s,a,l,c,u,p,d,h,f="",m=e.pos,g=e.posMax,y=e.pos,v=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(a=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=a+1)=g)return!1;for(y=c,u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),u.ok&&(f=e.md.normalizeLink(u.str),e.md.validateLink(f)?c=u.pos:f=""),y=c;c=g||41!==e.src.charCodeAt(c))&&(v=!0),c++}if(v){if(void 0===e.env.references)return!1;if(c=0?s=e.src.slice(y,c++):c=a+1):c=a+1,s||(s=e.src.slice(l,a)),!(p=e.env.references[r(s)]))return e.pos=m,!1;f=p.href,d=p.title}return t||(e.pos=l,e.posMax=a,h=e.push("link_open","a",1),h.attrs=n=[["href",f]],d&&n.push(["title",d]),e.md.inline.tokenize(e),h=e.push("link_close","a",-1)),e.pos=c,e.posMax=g,!0}},function(e,t,n){"use strict";var r=n(1).isSpace;e.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,l,c,u,p,d,h,f=e,m=!0,g=!0,y=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;f=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&i)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c})}var o={};i.defaultChars=";/?:@&=+$,#",i.componentChars="",e.exports=i},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=55296&&a<=57343){if(a>=55296&&a<=56319&&o+1=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(l),u=["'"].concat(c),p=["%","/","?",";","#"].concat(u),d=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,s,l,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var u=a.exec(c);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}var y=o.exec(c);if(y&&(y=y[0],i=y.toLowerCase(),this.protocol=y,c=c.substr(y.length)),(t||y||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===c.substr(0,2))||y&&m[y]||(c=c.substr(2),this.slashes=!0)),!m[y]&&(l||y&&!g[y])){var v=-1;for(n=0;n127?x+="x":x+=k[E];if(!x.match(h)){var A=S.slice(0,n),O=S.slice(n+1),P=k.match(f);P&&(A.push(P[1]),O.unshift(P[2])),O.length&&(c=O.join(".")+c),this.hostname=A.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var I=c.indexOf("#");-1!==I&&(this.hash=c.substr(I),c=c.slice(0,I));var D=c.indexOf("?");return-1!==D&&(this.search=c.substr(D),c=c.slice(0,D)),c&&(this.pathname=c),g[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=s.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=i},function(e,t,n){"use strict";var r=n(112),i=n(113),o=n(184);e.exports=function(){function e(e,t,n,r,s,a){a!==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};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){(function(e,r){var i;!function(o){function s(e){throw new RangeError(D[e])}function a(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function l(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(I,"."),r+a(e.split("."),t).join(".")}function c(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=M(e>>>10&1023|55296),e=56320|1023&e),t+=M(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function d(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function h(e,t,n){var r=0;for(e=n?N(e/x):e>>1,e+=N(e/t);e>L*S>>1;r+=w)e=N(e/L);return N(r+(L+1)*e/(e+k))}function f(e){var t,n,r,i,o,a,l,c,d,f,m=[],g=e.length,y=0,v=T,b=E;for(n=e.lastIndexOf(A),n<0&&(n=0),r=0;r=128&&s("not-basic"),m.push(e.charCodeAt(r));for(i=n>0?n+1:0;i=g&&s("invalid-input"),c=p(e.charCodeAt(i++)),(c>=w||c>N((_-y)/a))&&s("overflow"),y+=c*a,d=l<=b?C:l>=b+S?S:l-b,!(cN(_/f)&&s("overflow"),a*=f;t=m.length+1,b=h(y-o,t,0==o),N(y/t)>_-v&&s("overflow"),v+=N(y/t),y%=t,m.splice(y++,0,v)}return u(m)}function m(e){var t,n,r,i,o,a,l,u,p,f,m,g,y,v,b,k=[];for(e=c(e),g=e.length,t=T,n=0,o=E,a=0;a=t&&mN((_-n)/y)&&s("overflow"),n+=(l-t)*y,t=l,a=0;a_&&s("overflow"),m==t){for(u=n,p=w;f=p<=o?C:p>=o+S?S:p-o,!(u= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=w-C,N=Math.floor,M=String.fromCharCode;b={version:"1.4.1",ucs2:{decode:c,encode:u},decode:f,encode:m,toASCII:y,toUnicode:g},void 0!==(i=function(){return b}.call(t,n,t,e))&&(e.exports=i)}()}).call(t,n(87)(e),n(15))},function(e,t,n){"use strict";function r(e,t,n,r,i,o,s,a){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,o,s,a],c=0;e=Error(t.replace(/%s/g,function(){return l[c++]})),e.name="Invariant Violation"}throw e.framesToPop=1,e}}function i(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=0;ithis.eventPool.length&&this.eventPool.push(e)}function j(e){e.eventPool=[],e.getPooled=N,e.release=M}function z(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 F(e){return e=e.detail,"object"==typeof e&&"data"in e?e.data:null}function R(e,t){switch(e){case"compositionend":return F(t);case"keypress":return 32!==t.which?null:(li=!0,si);case"textInput":return e=t.data,e===si&&li?null:e;default:return null}}function B(e,t){if(ci)return"compositionend"===e||!ni&&z(e,t)?(e=P(),Xr=Yr=Jr=null,ci=!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&&1t}return!1}function ae(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 le(e){return e[1].toUpperCase()}function ce(e,t,n,r){var i=Ni.hasOwnProperty(t)?Ni[t]:null;(null!==i?0===i.type:!r&&(2fo.length&&fo.push(e)}}}function Ue(e){return Object.prototype.hasOwnProperty.call(e,vo)||(e[vo]=yo++,go[e[vo]]={}),go[e[vo]]}function qe(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function He(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function We(e,t){var n=He(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=He(n)}}function $e(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?$e(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ge(){for(var e=window,t=qe();t instanceof e.HTMLIFrameElement;){try{e=t.contentDocument.defaultView}catch(e){break}t=qe(e.document)}return t}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 Ke(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return ko||null==wo||wo!==qe(n)?null:(n=wo,"selectionStart"in n&&Ze(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),So&&Pe(So,n)?null:(So=n,e=L.getPooled(_o.select,Co,e,t),e.type="select",e.target=wo,T(e),e))}function Je(e){var t="";return br.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}function Ye(e,t){return e=_r({children:void 0},t),(t=Je(t.children))&&(e.children=t),e}function Xe(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i=t.length||i("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:ue(n)}}function tt(e,t){var n=ue(t.value),r=ue(t.defaultValue);null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function nt(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function rt(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 it(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?rt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function ot(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 st(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||Oo.hasOwnProperty(i)&&Oo[i]?(""+o).trim():o+"px","float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}function at(e,t){t&&(Io[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&i("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&i("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||i("61")),null!=t.style&&"object"!=typeof t.style&&i("62",""))}function lt(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 ct(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=Ue(e);t=Dr[t];for(var r=0;rMo||(e.current=No[Mo],No[Mo]=null,Mo--)}function gt(e,t){Mo++,No[Mo]=e.current,e.current=t}function yt(e,t){var n=e.type.contextTypes;if(!n)return jo;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 vt(e){return null!==(e=e.childContextTypes)&&void 0!==e}function bt(e){mt(Fo,e),mt(zo,e)}function _t(e){mt(Fo,e),mt(zo,e)}function wt(e,t,n){zo.current!==jo&&i("168"),gt(zo,t,e),gt(Fo,n,e)}function Ct(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;r=r.getChildContext();for(var o in r)o in e||i("108",ne(t)||"Unknown",o);return _r({},n,r)}function St(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||jo,Ro=zo.current,gt(zo,t,e),gt(Fo,Fo.current,e),!0}function kt(e,t,n){var r=e.stateNode;r||i("169"),n?(t=Ct(e,t,Ro),r.__reactInternalMemoizedMergedChildContext=t,mt(Fo,e),mt(zo,e),gt(zo,t,e)):mt(Fo,e),gt(Fo,n,e)}function xt(e){return function(t){try{return e(t)}catch(e){}}}function Et(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);Bo=xt(function(e){return t.onCommitFiberRoot(n,e)}),Vo=xt(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Tt(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.firstContextDependency=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function At(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ot(e,t,n){var r=e.alternate;return null===r?(r=new Tt(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.childExpirationTime=e.childExpirationTime,r.expirationTime=t!==e.pendingProps?n:e.expirationTime,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,r.firstContextDependency=e.firstContextDependency,r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Pt(e,t,n){var r=e.type,o=e.key;e=e.props;var s=void 0;if("function"==typeof r)s=At(r)?2:4;else if("string"==typeof r)s=7;else e:switch(r){case wi:return It(e.children,t,n,o);case Ei:s=10,t|=3;break;case Ci:s=10,t|=2;break;case Si:return r=new Tt(15,e,o,4|t),r.type=Si,r.expirationTime=n,r;case Ai:s=16;break;default:if("object"==typeof r&&null!==r)switch(r.$$typeof){case ki:s=12;break e;case xi:s=11;break e;case Ti:s=13;break e;default:if("function"==typeof r.then){s=4;break e}}i("130",null==r?r:typeof r,"")}return t=new Tt(s,e,o,t),t.type=r,t.expirationTime=n,t}function It(e,t,n,r){return e=new Tt(9,e,r,t),e.expirationTime=n,e}function Dt(e,t,n){return e=new Tt(8,e,null,t),e.expirationTime=n,e}function Lt(e,t,n){return t=new Tt(6,null!==e.children?e.children:[],e.key,t),t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Nt(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:n>t?e.earliestPendingTime=t:e.latestPendingTimee)&&(i=r),e=i,0!==e&&0!==n&&ni?(null===s&&(s=l,o=c),(0===a||a>u)&&(a=u)):(c=qt(e,t,l,c,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(u=null,l=t.firstCapturedUpdate;null!==l;){var p=l.expirationTime;p>i?(null===u&&(u=l,null===s&&(o=c)),(0===a||a>p)&&(a=p)):(c=qt(e,t,l,c,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===s&&(t.lastUpdate=null),null===u?t.lastCapturedUpdate=null:e.effectTag|=32,null===s&&null===u&&(o=c),t.baseState=o,t.firstUpdate=s,t.firstCapturedUpdate=u,e.expirationTime=a,e.memoizedState=c}function Wt(e,t,n){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),$t(t.firstEffect,n),t.firstEffect=t.lastEffect=null,$t(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function $t(e,t){for(;null!==e;){var n=e.callback;if(null!==n){e.callback=null;var r=t;"function"!=typeof n&&i("191",n),n.call(r)}e=e.nextEffect}}function Gt(e,t){return{value:e,source:t,stack:re(t)}}function Zt(e,t){var n=e.type._context;gt(qo,n._currentValue,e),n._currentValue=t}function Kt(e){var t=qo.current;mt(qo,e),e.type._context._currentValue=t}function Jt(e){Ho=e,$o=Wo=null,e.firstContextDependency=null}function Yt(e,t){return $o!==e&&!1!==t&&0!==t&&("number"==typeof t&&1073741823!==t||($o=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Wo?(null===Ho&&i("277"),Ho.firstContextDependency=Wo=t):Wo=Wo.next=t),e._currentValue}function Xt(e){return e===Go&&i("174"),e}function Qt(e,t){gt(Jo,t,e),gt(Ko,e,e),gt(Zo,Go,e);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:it(null,"");break;default:n=8===n?t.parentNode:t,t=n.namespaceURI||null,n=n.tagName,t=it(t,n)}mt(Zo,e),gt(Zo,t,e)}function en(e){mt(Zo,e),mt(Ko,e),mt(Jo,e)}function tn(e){Xt(Jo.current);var t=Xt(Zo.current),n=it(t,e.type);t!==n&&(gt(Ko,e,e),gt(Zo,n,e))}function nn(e){Ko.current===e&&(mt(Zo,e),mt(Ko,e))}function rn(e,t,n,r){t=e.memoizedState,n=n(r,t),n=null===n||void 0===n?t:_r({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}function on(e,t,n,r,i,o,s){return e=e.stateNode,"function"==typeof e.shouldComponentUpdate?e.shouldComponentUpdate(r,o,s):!t.prototype||!t.prototype.isPureReactComponent||(!Pe(n,r)||!Pe(i,o))}function sn(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&&Xo.enqueueReplaceState(t,t.state,null)}function an(e,t,n,r){var i=e.stateNode,o=vt(t)?Ro:zo.current;i.props=n,i.state=e.memoizedState,i.refs=Yo,i.context=yt(e,o),o=e.updateQueue,null!==o&&(Ht(e,o,n,i,r),i.state=e.memoizedState),o=t.getDerivedStateFromProps,"function"==typeof o&&(rn(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Xo.enqueueReplaceState(i,i.state,null),null!==(o=e.updateQueue)&&(Ht(e,o,n,i,r),i.state=e.memoizedState)),"function"==typeof i.componentDidMount&&(e.effectTag|=4)}function ln(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var r=void 0;n&&(2!==n.tag&&3!==n.tag&&i("110"),r=n.stateNode),r||i("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=r.refs;t===Yo&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}"string"!=typeof e&&i("284"),n._owner||i("254",e)}return e}function cn(e,t){"textarea"!==e.type&&i("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function un(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 r(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=Ot(e,t,n),e.index=0,e.sibling=null,e}function s(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index,rm?(g=p,p=null):g=p.sibling;var y=h(i,p,a[m],l);if(null===y){null===p&&(p=g);break}e&&p&&null===y.alternate&&t(i,p),o=s(y,o,m),null===u?c=y:u.sibling=y,u=y,p=g}if(m===a.length)return n(i,p),c;if(null===p){for(;mg?(y=m,m=null):y=m.sibling;var b=h(o,m,v.value,c);if(null===b){m||(m=y);break}e&&m&&null===b.alternate&&t(o,m),a=s(b,a,g),null===p?u=b:p.sibling=b,p=b,m=y}if(v.done)return n(o,m),u;if(null===m){for(;!v.done;g++,v=l.next())null!==(v=d(o,v.value,c))&&(a=s(v,a,g),null===p?u=v:p.sibling=v,p=v);return u}for(m=r(o,m);!v.done;g++,v=l.next())null!==(v=f(m,o,g,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),a=s(v,a,g),null===p?u=v:p.sibling=v,p=v);return e&&m.forEach(function(e){return t(o,e)}),u}return function(e,r,s,l){var c="object"==typeof s&&null!==s&&s.type===wi&&null===s.key;c&&(s=s.props.children);var u="object"==typeof s&&null!==s;if(u)switch(s.$$typeof){case bi:e:{for(u=s.key,c=r;null!==c;){if(c.key===u){if(9===c.tag?s.type===wi:c.type===s.type){n(e,c.sibling),r=o(c,s.type===wi?s.props.children:s.props,l),r.ref=ln(e,c,s),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}s.type===wi?(r=It(s.props.children,e.mode,l,s.key),r.return=e,e=r):(l=Pt(s,e.mode,l),l.ref=ln(e,r,s),l.return=e,e=l)}return a(e);case _i:e:{for(c=s.key;null!==r;){if(r.key===c){if(6===r.tag&&r.stateNode.containerInfo===s.containerInfo&&r.stateNode.implementation===s.implementation){n(e,r.sibling),r=o(r,s.children||[],l),r.return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}r=Lt(s,e.mode,l),r.return=e,e=r}return a(e)}if("string"==typeof s||"number"==typeof s)return s=""+s,null!==r&&8===r.tag?(n(e,r.sibling),r=o(r,s,l),r.return=e,e=r):(n(e,r),r=Dt(s,e.mode,l),r.return=e,e=r),a(e);if(Qo(s))return m(e,r,s,l);if(te(s))return g(e,r,s,l);if(u&&cn(e,s),void 0===s&&!c)switch(e.tag){case 2:case 3:case 0:l=e.type,i("152",l.displayName||l.name||"Component")}return n(e,r)}}function pn(e,t){var n=new Tt(7,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 dn(e,t){switch(e.tag){case 7:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 8:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function hn(e){if(is){var t=rs;if(t){var n=t;if(!dn(e,t)){if(!(t=ht(n))||!dn(e,t))return e.effectTag|=2,is=!1,void(ns=e);pn(ns,n)}ns=e,rs=ft(t)}else e.effectTag|=2,is=!1,ns=e}}function fn(e){for(e=e.return;null!==e&&7!==e.tag&&5!==e.tag;)e=e.return;ns=e}function mn(e){if(e!==ns)return!1;if(!is)return fn(e),is=!0,!1;var t=e.type;if(7!==e.tag||"head"!==t&&"body"!==t&&!dt(t,e.memoizedProps))for(t=rs;t;)pn(e,t),t=ht(t);return fn(e),rs=ns?ht(e.stateNode):null,!0}function gn(){rs=ns=null,is=!1}function yn(e){switch(e._reactStatus){case 1:return e._reactResult;case 2:throw e._reactResult;case 0:throw e;default:throw e._reactStatus=0,e.then(function(t){if(0===e._reactStatus){if(e._reactStatus=1,"object"==typeof t&&null!==t){var n=t.default;t=void 0!==n&&null!==n?n:t}e._reactResult=t}},function(t){0===e._reactStatus&&(e._reactStatus=2,e._reactResult=t)}),e}}function vn(e,t,n,r){t.child=null===e?ts(t,null,n,r):es(t,e.child,n,r)}function bn(e,t,n,r,i){n=n.render;var o=t.ref;return Fo.current||t.memoizedProps!==r||o!==(null!==e?e.ref:null)?(n=n(r,o),vn(e,t,n,i),t.memoizedProps=r,t.child):Tn(e,t,i)}function _n(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function wn(e,t,n,r,i){var o=vt(n)?Ro:zo.current;return o=yt(t,o),Jt(t,i),n=n(r,o),t.effectTag|=1,vn(e,t,n,i),t.memoizedProps=r,t.child}function Cn(e,t,n,r,i){if(vt(n)){var o=!0;St(t)}else o=!1;if(Jt(t,i),null===e)if(null===t.stateNode){var s=vt(n)?Ro:zo.current,a=n.contextTypes,l=null!==a&&void 0!==a;a=l?yt(t,s):jo;var c=new n(r,a);t.memoizedState=null!==c.state&&void 0!==c.state?c.state:null,c.updater=Xo,t.stateNode=c,c._reactInternalFiber=t,l&&(l=t.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=s,l.__reactInternalMemoizedMaskedChildContext=a),an(t,n,r,i),r=!0}else{s=t.stateNode,a=t.memoizedProps,s.props=a;var u=s.context;l=vt(n)?Ro:zo.current,l=yt(t,l);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof s.getSnapshotBeforeUpdate)||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(a!==r||u!==l)&&sn(t,s,r,l),Uo=!1;var d=t.memoizedState;u=s.state=d;var h=t.updateQueue;null!==h&&(Ht(t,h,r,s,i),u=t.memoizedState),a!==r||d!==u||Fo.current||Uo?("function"==typeof p&&(rn(t,n,p,r),u=t.memoizedState),(a=Uo||on(t,n,a,r,d,u,l))?(c||"function"!=typeof s.UNSAFE_componentWillMount&&"function"!=typeof s.componentWillMount||("function"==typeof s.componentWillMount&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount()),"function"==typeof s.componentDidMount&&(t.effectTag|=4)):("function"==typeof s.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),s.props=r,s.state=u,s.context=l,r=a):("function"==typeof s.componentDidMount&&(t.effectTag|=4),r=!1)}else s=t.stateNode,a=t.memoizedProps,s.props=a,u=s.context,l=vt(n)?Ro:zo.current,l=yt(t,l),p=n.getDerivedStateFromProps,(c="function"==typeof p||"function"==typeof s.getSnapshotBeforeUpdate)||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(a!==r||u!==l)&&sn(t,s,r,l),Uo=!1,u=t.memoizedState,d=s.state=u,h=t.updateQueue,null!==h&&(Ht(t,h,r,s,i),d=t.memoizedState),a!==r||u!==d||Fo.current||Uo?("function"==typeof p&&(rn(t,n,p,r),d=t.memoizedState),(p=Uo||on(t,n,a,r,u,d,l))?(c||"function"!=typeof s.UNSAFE_componentWillUpdate&&"function"!=typeof s.componentWillUpdate||("function"==typeof s.componentWillUpdate&&s.componentWillUpdate(r,d,l),"function"==typeof s.UNSAFE_componentWillUpdate&&s.UNSAFE_componentWillUpdate(r,d,l)),"function"==typeof s.componentDidUpdate&&(t.effectTag|=4),"function"==typeof s.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof s.componentDidUpdate||a===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof s.getSnapshotBeforeUpdate||a===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),s.props=r,s.state=d,s.context=l,r=p):("function"!=typeof s.componentDidUpdate||a===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof s.getSnapshotBeforeUpdate||a===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return Sn(e,t,n,r,o,i)}function Sn(e,t,n,r,i,o){_n(e,t);var s=0!=(64&t.effectTag);if(!r&&!s)return i&&kt(t,n,!1),Tn(e,t,o);r=t.stateNode,os.current=t;var a=s?null:r.render();return t.effectTag|=1,null!==e&&s&&(vn(e,t,null,o),t.child=null),vn(e,t,a,o),t.memoizedState=r.state,t.memoizedProps=r.props,i&&kt(t,n,!0),t.child}function kn(e){var t=e.stateNode;t.pendingContext?wt(e,t.pendingContext,t.pendingContext!==t.context):t.context&&wt(e,t.context,!1),Qt(e,t.containerInfo)}function xn(e,t){if(e&&e.defaultProps){t=_r({},t),e=e.defaultProps;for(var n in e)void 0===t[n]&&(t[n]=e[n])}return t}function En(e,t,n,r){null!==e&&i("155");var o=t.pendingProps;if("object"==typeof n&&null!==n&&"function"==typeof n.then){n=yn(n);var s=n;s="function"==typeof s?At(s)?3:1:void 0!==s&&null!==s&&s.$$typeof?14:4,s=t.tag=s;var a=xn(n,o);switch(s){case 1:return wn(e,t,n,a,r);case 3:return Cn(e,t,n,a,r);case 14:return bn(e,t,n,a,r);default:i("283",n)}}if(s=yt(t,zo.current),Jt(t,r),s=n(o,s),t.effectTag|=1,"object"==typeof s&&null!==s&&"function"==typeof s.render&&void 0===s.$$typeof){t.tag=2,vt(n)?(a=!0,St(t)):a=!1,t.memoizedState=null!==s.state&&void 0!==s.state?s.state:null;var l=n.getDerivedStateFromProps;return"function"==typeof l&&rn(t,n,l,o),s.updater=Xo,t.stateNode=s,s._reactInternalFiber=t,an(t,n,o,r),Sn(e,t,n,!0,a,r)}return t.tag=0,vn(e,t,s,r),t.memoizedProps=o,t.child}function Tn(e,t,n){null!==e&&(t.firstContextDependency=e.firstContextDependency);var r=t.childExpirationTime;if(0===r||r>n)return null;if(null!==e&&t.child!==e.child&&i("153"),null!==t.child){for(e=t.child,n=Ot(e,e.pendingProps,e.expirationTime),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,n=n.sibling=Ot(e,e.pendingProps,e.expirationTime),n.return=t;n.sibling=null}return t.child}function An(e,t,n){var r=t.expirationTime;if(!Fo.current&&(0===r||r>n)){switch(t.tag){case 5:kn(t),gn();break;case 7:tn(t);break;case 2:vt(t.type)&&St(t);break;case 3:vt(t.type._reactResult)&&St(t);break;case 6:Qt(t,t.stateNode.containerInfo);break;case 12:Zt(t,t.memoizedProps.value)}return Tn(e,t,n)}switch(t.expirationTime=0,t.tag){case 4:return En(e,t,t.type,n);case 0:return wn(e,t,t.type,t.pendingProps,n);case 1:var o=t.type._reactResult;return r=t.pendingProps,e=wn(e,t,o,xn(o,r),n),t.memoizedProps=r,e;case 2:return Cn(e,t,t.type,t.pendingProps,n);case 3:return o=t.type._reactResult,r=t.pendingProps,e=Cn(e,t,o,xn(o,r),n),t.memoizedProps=r,e;case 5:return kn(t),r=t.updateQueue,null===r&&i("282"),o=t.memoizedState,o=null!==o?o.element:null,Ht(t,r,t.pendingProps,null,n),r=t.memoizedState.element,r===o?(gn(),t=Tn(e,t,n)):(o=t.stateNode,(o=(null===e||null===e.child)&&o.hydrate)&&(rs=ft(t.stateNode.containerInfo),ns=t,o=is=!0),o?(t.effectTag|=2,t.child=ts(t,null,r,n)):(vn(e,t,r,n),gn()),t=t.child),t;case 7:tn(t),null===e&&hn(t),r=t.type,o=t.pendingProps;var s=null!==e?e.memoizedProps:null,a=o.children;return dt(r,o)?a=null:null!==s&&dt(r,s)&&(t.effectTag|=16),_n(e,t),1073741823!==n&&1&t.mode&&o.hidden?(t.expirationTime=1073741823,t.memoizedProps=o,t=null):(vn(e,t,a,n),t.memoizedProps=o,t=t.child),t;case 8:return null===e&&hn(t),t.memoizedProps=t.pendingProps,null;case 16:return null;case 6:return Qt(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=es(t,null,r,n):vn(e,t,r,n),t.memoizedProps=r,t.child;case 13:return bn(e,t,t.type,t.pendingProps,n);case 14:return o=t.type._reactResult,r=t.pendingProps,e=bn(e,t,o,xn(o,r),n),t.memoizedProps=r,e;case 9:return r=t.pendingProps,vn(e,t,r,n),t.memoizedProps=r,t.child;case 10:return r=t.pendingProps.children,vn(e,t,r,n),t.memoizedProps=r,t.child;case 15:return r=t.pendingProps,vn(e,t,r.children,n),t.memoizedProps=r,t.child;case 12:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,t.memoizedProps=o,Zt(t,s),null!==a){var l=a.value;if(0===(s=l===s&&(0!==l||1/l==1/s)||l!==l&&s!==s?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,s):1073741823))){if(a.children===o.children&&!Fo.current){t=Tn(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){if(null!==(l=a.firstContextDependency))do{if(l.context===r&&0!=(l.observedBits&s)){if(2===a.tag||3===a.tag){var c=Ft(n);c.tag=2,Bt(a,c)}(0===a.expirationTime||a.expirationTime>n)&&(a.expirationTime=n),c=a.alternate,null!==c&&(0===c.expirationTime||c.expirationTime>n)&&(c.expirationTime=n);for(var u=a.return;null!==u;){if(c=u.alternate,0===u.childExpirationTime||u.childExpirationTime>n)u.childExpirationTime=n,null!==c&&(0===c.childExpirationTime||c.childExpirationTime>n)&&(c.childExpirationTime=n);else{if(null===c||!(0===c.childExpirationTime||c.childExpirationTime>n))break;c.childExpirationTime=n}u=u.return}}c=a.child,l=l.next}while(null!==l);else c=12===a.tag&&a.type===t.type?null:a.child;if(null!==c)c.return=a;else for(c=a;null!==c;){if(c===t){c=null;break}if(null!==(a=c.sibling)){a.return=c.return,c=a;break}c=c.return}a=c}}vn(e,t,o.children,n),t=t.child}return t;case 11:return s=t.type,r=t.pendingProps,o=r.children,Jt(t,n),s=Yt(s,r.unstable_observedBits),o=o(s),t.effectTag|=1,vn(e,t,o,n),t.memoizedProps=r,t.child;default:i("156")}}function On(e){e.effectTag|=4}function Pn(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=re(n)),null!==n&&ne(n.type),t=t.value,null!==e&&2===e.tag&&ne(e.type);try{console.error(t)}catch(e){setTimeout(function(){throw e})}}function In(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Hn(e,t)}else t.current=null}function Dn(e){switch("function"==typeof Vo&&Vo(e),e.tag){case 2:case 3:In(e);var t=e.stateNode;if("function"==typeof t.componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Hn(e,t)}break;case 7:In(e);break;case 6:Mn(e)}}function Ln(e){return 7===e.tag||5===e.tag||6===e.tag}function Nn(e){e:{for(var t=e.return;null!==t;){if(Ln(t)){var n=t;break e}t=t.return}i("160"),n=void 0}var r=t=void 0;switch(n.tag){case 7:t=n.stateNode,r=!1;break;case 5:case 6:t=n.stateNode.containerInfo,r=!0;break;default:i("161")}16&n.effectTag&&(ot(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Ln(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;7!==n.tag&&8!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||6===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(7===o.tag||8===o.tag)if(n)if(r){var s=t,a=o.stateNode,l=n;8===s.nodeType?s.parentNode.insertBefore(a,l):s.insertBefore(a,l)}else t.insertBefore(o.stateNode,n);else r?(s=t,a=o.stateNode,8===s.nodeType?(l=s.parentNode,l.insertBefore(a,s)):(l=s,l.appendChild(a)),null===l.onclick&&(l.onclick=ut)):t.appendChild(o.stateNode);else if(6!==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 Mn(e){for(var t=e,n=!1,r=void 0,o=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&i("160"),n.tag){case 7:r=n.stateNode,o=!1;break e;case 5:case 6:r=n.stateNode.containerInfo,o=!0;break e}n=n.return}n=!0}if(7===t.tag||8===t.tag){e:for(var s=t,a=s;;)if(Dn(a),null!==a.child&&6!==a.tag)a.child.return=a,a=a.child;else{if(a===s)break;for(;null===a.sibling;){if(null===a.return||a.return===s)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}o?(s=r,a=t.stateNode,8===s.nodeType?s.parentNode.removeChild(a):s.removeChild(a)):r.removeChild(t.stateNode)}else if(6===t.tag?(r=t.stateNode.containerInfo,o=!0):Dn(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,6===t.tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function jn(e,t){switch(t.tag){case 2:case 3:break;case 7:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var s=t.updateQueue;if(t.updateQueue=null,null!==s){for(n[Br]=r,"input"===e&&"radio"===r.type&&null!=r.name&&he(n,r),lt(e,o),t=lt(e,r),o=0;o<\/script>",u=o.removeChild(o.firstChild)):"string"==typeof d.is?u=u.createElement(o,{is:d.is}):(u=u.createElement(o),"select"===o&&d.multiple&&(u.multiple=!0)):u=u.createElementNS(c,o),o=u,o[Rr]=p,o[Br]=s;e:for(p=o,d=t,u=d.child;null!==u;){if(7===u.tag||8===u.tag)p.appendChild(u.stateNode);else if(6!==u.tag&&null!==u.child){u.child.return=u,u=u.child;continue}if(u===d)break;for(;null===u.sibling;){if(null===u.return||u.return===d)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}d=o,u=l,p=s;var h=a,f=lt(u,p);switch(u){case"iframe":case"object":Fe("load",d),a=p;break;case"video":case"audio":for(a=0;ar||0!==s&&s>r||0!==a&&a>r)return e.didError=!1,n=e.latestPingedTime,0!==n&&n<=r&&(e.latestPingedTime=0),n=e.earliestPendingTime,t=e.latestPendingTime,n===r?e.earliestPendingTime=t===r?e.latestPendingTime=0:t:t===r&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,t=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=r:n>r?e.earliestSuspendedTime=r:tAs)&&(As=e),e}function $n(e,t){e:{(0===e.expirationTime||e.expirationTime>t)&&(e.expirationTime=t);var n=e.alternate;null!==n&&(0===n.expirationTime||n.expirationTime>t)&&(n.expirationTime=t);var r=e.return;if(null===r&&5===e.tag)e=e.stateNode;else{for(;null!==r;){if(n=r.alternate,(0===r.childExpirationTime||r.childExpirationTime>t)&&(r.childExpirationTime=t),null!==n&&(0===n.childExpirationTime||n.childExpirationTime>t)&&(n.childExpirationTime=t),null===r.return&&5===r.tag){e=r.stateNode;break e}r=r.return}e=null}}null!==e&&(!hs&&0!==gs&&tBs&&(Vs=0,i("185")))}function Gn(e,t,n,r,i){var o=ds;ds=1;try{return e(t,n,r,i)}finally{ds=o}}function Zn(){Fs=2+((wr.unstable_now()-zs)/10|0)}function Kn(e,t){if(0!==Ss){if(t>Ss)return;null!==ks&&wr.unstable_cancelScheduledWork(ks)}Ss=t,e=wr.unstable_now()-zs,ks=wr.unstable_scheduleWork(Xn,{timeout:10*(t-2)-e})}function Jn(){return xs?Rs:(Yn(),0!==Ts&&1073741823!==Ts||(Zn(),Rs=Fs),Rs)}function Yn(){var e=0,t=null;if(null!==Cs)for(var n=Cs,r=ws;null!==r;){var o=r.expirationTime;if(0===o){if((null===n||null===Cs)&&i("244"),r===r.nextScheduledRoot){ws=Cs=r.nextScheduledRoot=null;break}if(r===ws)ws=o=r.nextScheduledRoot,Cs.nextScheduledRoot=o,r.nextScheduledRoot=null;else{if(r===Cs){Cs=n,Cs.nextScheduledRoot=ws,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if((0===e||o=n&&(t.nextExpirationTimeToWorkOn=Fs),t=t.nextScheduledRoot}while(t!==ws)}Qn(0,e)}function Qn(e,t){if(Ds=t,Yn(),null!==Ds)for(Zn(),Rs=Fs;null!==Es&&0!==Ts&&(0===e||e>=Ts)&&(!Os||Fs>=Ts);)er(Es,Ts,Fs>=Ts),Yn(),Zn(),Rs=Fs;else for(;null!==Es&&0!==Ts&&(0===e||e>=Ts);)er(Es,Ts,!0),Yn();if(null!==Ds&&(Ss=0,ks=null),0!==Ts&&Kn(Es,Ts),Ds=null,Os=!1,Vs=0,Us=null,null!==js)for(e=js,js=null,t=0;te.latestSuspendedTime?(e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0,Nt(e,r)):rb&&(_=b,b=x,x=_),_=We(S,x),w=We(S,b),_&&w&&(1!==k.rangeCount||k.anchorNode!==_.node||k.anchorOffset!==_.offset||k.focusNode!==w.node||k.focusOffset!==w.offset)&&(v=v.createRange(),v.setStart(_.node,_.offset),k.removeAllRanges(),x>b?(k.addRange(v),k.extend(w.node,w.offset)):(v.setEnd(w.node,w.offset),k.addRange(v))))),k=[];for(x=S;x=x.parentNode;)1===x.nodeType&&k.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof S.focus&&S.focus(),S=0;Sqs)&&(Os=!0)}function rr(e){null===Es&&i("246"),Es.expirationTime=0,Ps||(Ps=!0,Is=e)}function ir(e,t){var n=Ls;Ls=!0;try{return e(t)}finally{(Ls=n)||xs||Qn(1,null)}}function or(e,t){if(Ls&&!Ns){Ns=!0;try{return e(t)}finally{Ns=!1}}return e(t)}function sr(e,t,n){if(Ms)return e(t,n);Ls||xs||0===As||(Qn(As,null),As=0);var r=Ms,i=Ls;Ls=Ms=!0;try{return e(t,n)}finally{Ms=r,(Ls=i)||xs||Qn(1,null)}}function ar(e){if(!e)return jo;e=e._reactInternalFiber;e:{(2!==Ie(e)||2!==e.tag&&3!==e.tag)&&i("170");var t=e;do{switch(t.tag){case 5:t=t.stateNode.context;break e;case 2:if(vt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}break;case 3:if(vt(t.type._reactResult)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);i("171"),t=void 0}if(2===e.tag){var n=e.type;if(vt(n))return Ct(e,n,t)}else if(3===e.tag&&(n=e.type._reactResult,vt(n)))return Ct(e,n,t);return t}function lr(e,t,n,r,i){var o=t.current;return n=ar(n),null===t.context?t.context=n:t.pendingContext=n,t=i,i=Ft(r),i.payload={element:e},t=void 0===t?null:t,null!==t&&(i.callback=t),Bt(o,i),$n(o,r),r}function cr(e,t,n,r){var i=t.current;return i=Wn(Jn(),i),lr(e,t,n,i,r)}function ur(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 7:default:return e.child.stateNode}}function pr(e,t,n){var r=3=ri),si=String.fromCharCode(32),ai={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(" ")}},li=!1,ci=!1,ui={eventTypes:ai,extractEvents:function(e,t,n,r){var i=void 0,o=void 0;if(ni)e:{switch(e){case"compositionstart":i=ai.compositionStart;break e;case"compositionend":i=ai.compositionEnd;break e;case"compositionupdate":i=ai.compositionUpdate;break e}i=void 0}else ci?z(e,n)&&(i=ai.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=ai.compositionStart);return i?(oi&&"ko"!==n.locale&&(ci||i!==ai.compositionStart?i===ai.compositionEnd&&ci&&(o=P()):(Jr=r,Yr="value"in Jr?Jr.value:Jr.textContent,ci=!0)),i=Qr.getPooled(i,t,n,r),o?i.data=o:null!==(o=F(n))&&(i.data=o),T(i),o=i):o=null,(e=ii?R(e,n):B(e,n))?(t=ei.getPooled(ai.beforeInput,t,n,r),t.data=e,T(t)):t=null,null===o?t:null===t?o:[o,t]}},pi=null,di=null,hi=null,fi=!1,mi={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},gi=br.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,yi=/^(.*)[\\\/]/,vi="function"==typeof Symbol&&Symbol.for,bi=vi?Symbol.for("react.element"):60103,_i=vi?Symbol.for("react.portal"):60106,wi=vi?Symbol.for("react.fragment"):60107,Ci=vi?Symbol.for("react.strict_mode"):60108,Si=vi?Symbol.for("react.profiler"):60114,ki=vi?Symbol.for("react.provider"):60109,xi=vi?Symbol.for("react.context"):60110,Ei=vi?Symbol.for("react.async_mode"):60111,Ti=vi?Symbol.for("react.forward_ref"):60112,Ai=vi?Symbol.for("react.placeholder"):60113,Oi="function"==typeof Symbol&&Symbol.iterator,Pi=/^[: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]*$/,Ii=Object.prototype.hasOwnProperty,Di={},Li={},Ni={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ni[e]=new ae(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ni[t]=new ae(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ni[e]=new ae(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ni[e]=new ae(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){Ni[e]=new ae(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){Ni[e]=new ae(e,3,!0,e,null)}),["capture","download"].forEach(function(e){Ni[e]=new ae(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){Ni[e]=new ae(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){Ni[e]=new ae(e,5,!1,e.toLowerCase(),null)});var Mi=/[\-:]([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(Mi,le);Ni[t]=new ae(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(Mi,le);Ni[t]=new ae(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Mi,le);Ni[t]=new ae(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),Ni.tabIndex=new ae("tabIndex",1,!1,"tabindex",null);var ji={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},zi=null,Fi=null,Ri=!1;Vr&&(Ri=J("input")&&(!document.documentMode||9=document.documentMode,_o={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},wo=null,Co=null,So=null,ko=!1,xo={eventTypes:_o,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=Ue(o),i=Dr.onSelect;for(var s=0;s"+t+"",t=To.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),Oo={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Po=["Webkit","ms","Moz","O"];Object.keys(Oo).forEach(function(e){Po.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Oo[t]=Oo[e]})});var Io=_r({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}),Do=null,Lo=null;new Set;var No=[],Mo=-1,jo={},zo={current:jo},Fo={current:!1},Ro=jo,Bo=null,Vo=null,Uo=!1,qo={current:null},Ho=null,Wo=null,$o=null,Go={},Zo={current:Go},Ko={current:Go},Jo={current:Go},Yo=(new br.Component).refs,Xo={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===Ie(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Jn();r=Wn(r,e);var i=Ft(r);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),Bt(e,i),$n(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Jn();r=Wn(r,e);var i=Ft(r);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),Bt(e,i),$n(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Jn();n=Wn(n,e);var r=Ft(n);r.tag=2,void 0!==t&&null!==t&&(r.callback=t),Bt(e,r),$n(e,n)}},Qo=Array.isArray,es=un(!0),ts=un(!1),ns=null,rs=null,is=!1,os=gi.ReactCurrentOwner,ss=void 0,as=void 0,ls=void 0;ss=function(){},as=function(e,t,n,r,i){var o=e.memoizedProps;if(o!==r){var s=t.stateNode;switch(Xt(Zo.current),e=null,n){case"input":o=pe(s,o),r=pe(s,r),e=[];break;case"option":o=Ye(s,o),r=Ye(s,r),e=[];break;case"select":o=_r({},o,{value:void 0}),r=_r({},r,{value:void 0}),e=[];break;case"textarea":o=Qe(s,o),r=Qe(s,r),e=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(s.onclick=ut)}at(n,r),s=n=void 0;var a=null;for(n in o)if(!r.hasOwnProperty(n)&&o.hasOwnProperty(n)&&null!=o[n])if("style"===n){var l=o[n];for(s in l)l.hasOwnProperty(s)&&(a||(a={}),a[s]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(Ir.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in r){var c=r[n];if(l=null!=o?o[n]:void 0,r.hasOwnProperty(n)&&c!==l&&(null!=c||null!=l))if("style"===n)if(l){for(s in l)!l.hasOwnProperty(s)||c&&c.hasOwnProperty(s)||(a||(a={}),a[s]="");for(s in c)c.hasOwnProperty(s)&&l[s]!==c[s]&&(a||(a={}),a[s]=c[s])}else a||(e||(e=[]),e.push(n,a)),a=c;else"dangerouslySetInnerHTML"===n?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(e=e||[]).push(n,""+c)):"children"===n?l===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(n,""+c):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(Ir.hasOwnProperty(n)?(null!=c&&ct(i,n),e||l===c||(e=[])):(e=e||[]).push(n,c))}a&&(e=e||[]).push("style",a),i=e,(t.updateQueue=i)&&On(t)}},ls=function(e,t,n,r){n!==r&&On(t)};var cs={readContext:Yt},us=gi.ReactCurrentOwner,ps=0,ds=0,hs=!1,fs=null,ms=null,gs=0,ys=!1,vs=null,bs=!1,_s=null,ws=null,Cs=null,Ss=0,ks=void 0,xs=!1,Es=null,Ts=0,As=0,Os=!1,Ps=!1,Is=null,Ds=null,Ls=!1,Ns=!1,Ms=!1,js=null,zs=wr.unstable_now(),Fs=2+(zs/10|0),Rs=Fs,Bs=50,Vs=0,Us=null,qs=1;pi=function(e,t,n){switch(t){case"input":if(fe(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;t0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1],s=n||t+"Subscription",l=function(e){function n(o,s){r(this,n);var a=i(this,e.call(this,o,s));return a[t]=o.store,a}return o(n,e),n.prototype.getChildContext=function(){var e;return e={},e[t]=this[t],e[s]=null,e},n.prototype.render=function(){return a.Children.only(this.props.children)},n}(a.Component);return l.propTypes={store:u.a.isRequired,children:c.a.element.isRequired},l.childContextTypes=(e={},e[t]=u.a.isRequired,e[s]=u.b,e),l.displayName="Provider",l}var a=n(2),l=(n.n(a),n(53)),c=n.n(l),u=n(56);n(31);t.b=s;t.a=s()},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,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function o(e,t){return e===t}var s=n(54),a=n(195),l=n(189),c=n(190),u=n(191),p=n(192),d=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?s.a:t,h=e.mapStateToPropsFactories,f=void 0===h?c.a:h,m=e.mapDispatchToPropsFactories,g=void 0===m?l.a:m,y=e.mergePropsFactories,v=void 0===y?u.a:y,b=e.selectorFactory,_=void 0===b?p.a:b;return function(e,t,s){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=l.pure,u=void 0===c||c,p=l.areStatesEqual,h=void 0===p?o:p,m=l.areOwnPropsEqual,y=void 0===m?a.a:m,b=l.areStatePropsEqual,w=void 0===b?a.a:b,C=l.areMergedPropsEqual,S=void 0===C?a.a:C,k=r(l,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),x=i(e,f,"mapStateToProps"),E=i(t,g,"mapDispatchToProps"),T=i(s,v,"mergeProps");return n(_,d({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:x,initMapDispatchToProps:E,initMergeProps:T,pure:u,areStatesEqual:h,areOwnPropsEqual:y,areStatePropsEqual:w,areMergedPropsEqual:S},k))}}()},function(e,t,n){"use strict";function r(e){return"function"==typeof e?n.i(a.a)(e,"mapDispatchToProps"):void 0}function i(e){return e?void 0:n.i(a.b)(function(e){return{dispatch:e}})}function o(e){return e&&"object"==typeof e?n.i(a.b)(function(t){return n.i(s.bindActionCreators)(e,t)}):void 0}var s=n(32),a=n(55);t.a=[r,i,o]},function(e,t,n){"use strict";function r(e){return"function"==typeof e?n.i(o.a)(e,"mapStateToProps"):void 0}function i(e){return e?void 0:n.i(o.b)(function(){return{}})}var o=n(55);t.a=[r,i]},function(e,t,n){"use strict";function r(e,t,n){return a({},n,e,t)}function i(e){return function(t,n){var r=(n.displayName,n.pure),i=n.areMergedPropsEqual,o=!1,s=void 0;return function(t,n,a){var l=e(t,n,a);return o?r&&i(l,s)||(s=l):(o=!0,s=l),s}}}function o(e){return"function"==typeof e?i(e):void 0}function s(e){return e?void 0:function(){return r}}var a=(n(57),Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function o(e,t,n,r,i){function o(i,o){return f=i,m=o,g=e(f,m),y=t(r,m),v=n(g,y,m),h=!0,v}function s(){return g=e(f,m),t.dependsOnOwnProps&&(y=t(r,m)),v=n(g,y,m)}function a(){return e.dependsOnOwnProps&&(g=e(f,m)),t.dependsOnOwnProps&&(y=t(r,m)),v=n(g,y,m)}function l(){var t=e(f,m),r=!d(t,g);return g=t,r&&(v=n(g,y,m)),v}function c(e,t){var n=!p(t,m),r=!u(e,f);return f=e,m=t,n&&r?s():n?a():r?l():v}var u=i.areStatesEqual,p=i.areOwnPropsEqual,d=i.areStatePropsEqual,h=!1,f=void 0,m=void 0,g=void 0,y=void 0,v=void 0;return function(e,t){return h?c(e,t):o(e,t)}}function s(e,t){var n=t.initMapStateToProps,s=t.initMapDispatchToProps,a=t.initMergeProps,l=r(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),c=n(e,l),u=s(e,l),p=a(e,l);return(l.pure?o:i)(c,u,p,e,l)}n(193);t.a=s},function(e,t,n){"use strict";n(31)},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(){var e=[],t=[];return{clear:function(){t=o,e=o},notify:function(){for(var n=e=t,r=0;rB.length&&B.push(e)}function f(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var s=!1;if(null===e)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case S:case k:s=!0}}if(s)return n(r,e,""===t?"."+g(e,0):t),1;if(s=0,t=""===t?".":t+":",Array.isArray(e))for(var a=0;a")+"\" does not return a stream. Double check you're not missing a return statement!");return t})))}}},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u,n=t.adapter,r=void 0===n?c:n;if("function"!=typeof e)throw new TypeError("You must provide a root Epic to createEpicMiddleware");var p=new i.Subject,d=r.input(new a.ActionsObservable(p)),h=new i.Subject,f=void 0,m=function(t){return f=t,function(t){var n;return(n=o.map.call(h,function(e){var t=e(d,f);if(!t)throw new TypeError('Your root Epic "'+(e.name||"")+"\" does not return a stream. Double check you're not missing a return statement!");return t}),s.switchMap).call(n,function(e){return r.output(e)}).subscribe(f.dispatch),h.next(e),function(e){var n=t(e);return p.next(e),n}}};return m.replaceEpic=function(e){f.dispatch({type:l.EPIC_END}),h.next(e)},m}Object.defineProperty(t,"__esModule",{value:!0}),t.createEpicMiddleware=r;var i=n(10),o=n(33),s=n(250),a=n(58),l=n(59),c={input:function(e){return e},output:function(e){return e}},u={adapter:c}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(198);Object.defineProperty(t,"createEpicMiddleware",{enumerable:!0,get:function(){return r.createEpicMiddleware}});var i=n(58);Object.defineProperty(t,"ActionsObservable",{enumerable:!0,get:function(){return i.ActionsObservable}});var o=n(197);Object.defineProperty(t,"combineEpics",{enumerable:!0,get:function(){return o.combineEpics}});var s=n(59);Object.defineProperty(t,"EPIC_END",{enumerable:!0,get:function(){return s.EPIC_END}})},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(l)throw l;for(var i=!1,o={},s=0;s=r)return void i.complete();i.next(t[n]),e.index=n+1,this.schedule(e)}},t.prototype._subscribe=function(e){var n=this,r=n.arrayLike,i=n.scheduler,o=r.length;if(i)return i.schedule(t.dispatch,0,{arrayLike:r,index:0,length:o,subscriber:e});for(var s=0;s1)return void(this.connection=null);var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},t}(s.Subscriber)},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=n(0),o=function(e){function t(t,n){e.call(this),this.error=t,this.scheduler=n}return r(t,e),t.create=function(e,n){return new t(e,n)},t.dispatch=function(e){var t=e.error;e.subscriber.error(t)},t.prototype._subscribe=function(e){var n=this.error,r=this.scheduler;if(e.syncErrorThrowable=!0,r)return r.schedule(t.dispatch,0,{error:n,subscriber:e});e.error(n)},t}(i.Observable);t.ErrorObservable=o},function(e,t,n){"use strict";function r(e){return!!e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}function i(e){return!!e&&"function"==typeof e.on&&"function"==typeof e.off}function o(e){return!!e&&"[object NodeList]"===f.call(e)}function s(e){return!!e&&"[object HTMLCollection]"===f.call(e)}function a(e){return!!e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}var l=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},c=n(0),u=n(14),p=n(38),d=n(11),h=n(8),f=Object.prototype.toString,m=function(e){function t(t,n,r,i){e.call(this),this.sourceObj=t,this.eventName=n,this.selector=r,this.options=i}return l(t,e),t.create=function(e,n,r,i){return p.isFunction(r)&&(i=r,r=void 0),new t(e,n,i,r)},t.setupSubscription=function(e,n,l,c,u){var p;if(o(e)||s(e))for(var d=0,f=e.length;df?f:t):t}function o(e){return"number"==typeof e&&l.root.isFinite(e)}function s(e){var t=+e;return 0===t?t:isNaN(t)?t:t<0?-1:1}var a=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},l=n(5),c=n(0),u=n(35),p=function(e){function t(t,n){if(e.call(this),this.scheduler=n,null==t)throw new Error("iterator cannot be null.");this.iterator=r(t)}return a(t,e),t.create=function(e,n){return new t(e,n)},t.dispatch=function(e){var t=e.index,n=e.hasError,r=e.iterator,i=e.subscriber;if(n)return void i.error(e.error);var o=r.next();return o.done?void i.complete():(i.next(o.value),e.index=t+1,i.closed?void("function"==typeof r.return&&r.return()):void this.schedule(e))},t.prototype._subscribe=function(e){var n=this,r=n.iterator,i=n.scheduler;if(i)return i.schedule(t.dispatch,0,{index:0,iterator:r,subscriber:e});for(;;){var o=r.next();if(o.done){e.complete();break}if(e.next(o.value),e.closed){"function"==typeof r.return&&r.return();break}}},t}(c.Observable);t.IteratorObservable=p;var d=function(){function e(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length),this.str=e,this.idx=t,this.len=n}return e.prototype[u.iterator]=function(){return this},e.prototype.next=function(){return this.idx0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(e,o)}else t.active=!1},t.prototype._schedule=function(e){this.active=!0,this.add(e.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},t.prototype.scheduleNotification=function(e){if(!0!==this.errored){var t=this.scheduler,n=new p(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}},t.prototype._next=function(e){this.scheduleNotification(l.Notification.createNext(e))},t.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e)},t.prototype._complete=function(){this.scheduleNotification(l.Notification.createComplete())},t}(a.Subscriber),p=function(){function e(e,t){this.time=e,this.notification=t}return e}()},function(e,t,n){"use strict";function r(e,t,n){return this.lift(new s(e,t,n))}var i=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},o=n(3);t._do=r;var s=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.nextOrObserver,this.error,this.complete))},e}(),a=function(e){function t(t,n,r,i){e.call(this,t);var s=new o.Subscriber(n,r,i);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return i(t,e),t.prototype._next=function(e){var t=this.safeSubscriber;t.next(e),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.next(e)},t.prototype._error=function(e){var t=this.safeSubscriber;t.error(e),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.error(e)},t.prototype._complete=function(){var e=this.safeSubscriber;e.complete(),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.complete()},t}(o.Subscriber)},function(e,t,n){"use strict";function r(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),this.lift(new a(e))}var i=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},o=n(6),s=n(7);t.mergeAll=r;var a=function(){function e(e){this.concurrent=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.concurrent))},e}();t.MergeAllOperator=a;var l=function(e){function t(t,n){e.call(this,t),this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0}return i(t,e),t.prototype._next=function(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(o.OuterSubscriber);t.MergeAllSubscriber=l},function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof t&&(n=t,t=null),this.lift(new a(e,t,n))}var i=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},o=n(7),s=n(6);t.mergeMap=r;var a=function(){function e(e,t,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=e,this.resultSelector=t,this.concurrent=n}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.project,this.resultSelector,this.concurrent))},e}();t.MergeMapOperator=a;var l=function(e){function t(t,n,r,i){void 0===i&&(i=Number.POSITIVE_INFINITY),e.call(this,t),this.project=n,this.resultSelector=r,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return i(t,e),t.prototype._next=function(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(s.OuterSubscriber);t.MergeMapSubscriber=l},function(e,t,n){"use strict";function r(e,t){var n;if(n="function"==typeof e?e:function(){return e},"function"==typeof t)return this.lift(new o(n,t));var r=Object.create(this,i.connectableObservableDescriptor);return r.source=this,r.subjectFactory=n,r}var i=n(225);t.multicast=r;var o=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(e);return i.add(t.subscribe(r)),i},e}();t.MulticastOperator=o},function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=0),this.lift(new a(e,t))}var i=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},o=n(3),s=n(63);t.observeOn=r;var a=function(){function e(e,t){void 0===t&&(t=0),this.scheduler=e,this.delay=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.scheduler,this.delay))},e}();t.ObserveOnOperator=a;var l=function(e){function t(t,n,r){void 0===r&&(r=0),e.call(this,t),this.scheduler=n,this.delay=r}return i(t,e),t.dispatch=function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.add(this.scheduler.schedule(t.dispatch,this.delay,new c(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(s.Notification.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(s.Notification.createError(e))},t.prototype._complete=function(){this.scheduleMessage(s.Notification.createComplete())},t}(o.Subscriber);t.ObserveOnSubscriber=l;var c=function(){function e(e,t){this.notification=e,this.destination=t}return e}();t.ObserveOnMessage=c},function(e,t,n){"use strict";function r(e){return this.lift(new u(e,this))}var i=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},o=n(10),s=n(14),a=n(11),l=n(6),c=n(7);t.retryWhen=r;var u=function(){function e(e,t){this.notifier=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new p(e,this.notifier,this.source))},e}(),p=function(e){function t(t,n,r){e.call(this,t),this.notifier=n,this.source=r}return i(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=this.errors,r=this.retries,i=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(n=new o.Subject,(r=s.tryCatch(this.notifier)(n))===a.errorObject)return e.prototype.error.call(this,a.errorObject.e);i=c.subscribeToResult(this,r)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=i,n.next(t)}},t.prototype._unsubscribe=function(){var e=this,t=e.errors,n=e.retriesSubscription;t&&(t.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},t.prototype.notifyNext=function(e,t,n,r,i){var o=this,s=o.errors,a=o.retries,l=o.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=s,this.retries=a,this.retriesSubscription=l,this.source.subscribe(this)},t}(l.OuterSubscriber)},function(e,t,n){"use strict";function r(){return new s.Subject}function i(){return o.multicast.call(this,r).refCount()}var o=n(246),s=n(10);t.share=i},function(e,t,n){"use strict";function r(e,t){return this.lift(new a(e,t))}var i=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},o=n(6),s=n(7);t.switchMap=r;var a=function(){function e(e,t){this.project=e,this.resultSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.project,this.resultSelector))},e}(),l=function(e){function t(t,n,r){e.call(this,t),this.project=n,this.resultSelector=r,this.index=0}return i(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,e,t,n))},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,r,i){this.resultSelector?this._tryNotifyNext(e,t,n,r):this.destination.next(t)},t.prototype._tryNotifyNext=function(e,t,n,r){var i;try{i=this.resultSelector(e,t,n,r)}catch(e){return void this.destination.error(e)}this.destination.next(i)},t}(o.OuterSubscriber)},function(e,t,n){"use strict";function r(e){return 0===e?new a.EmptyObservable:this.lift(new l(e))}var i=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},o=n(3),s=n(258),a=n(21);t.take=r;var l=function(){function e(e){if(this.total=e,this.total<0)throw new s.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.total))},e}(),c=function(e){function t(t,n){e.call(this,t),this.total=n,this.count=0}return i(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(o.Subscriber)},function(e,t,n){"use strict";function r(e){return this.lift(new a(e))}var i=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},o=n(6),s=n(7);t.takeUntil=r;var a=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.notifier))},e}(),l=function(e){function t(t,n){e.call(this,t),this.notifier=n,this.add(s.subscribeToResult(this,n))}return i(t,e),t.prototype.notifyNext=function(e,t,n,r,i){this.complete()},t.prototype.notifyComplete=function(){},t}(o.OuterSubscriber)},function(e,t,n){"use strict";function r(e,n){return void 0===n&&(n=t.defaultThrottleConfig),this.lift(new a(e,n.leading,n.trailing))}var i=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},o=n(6),s=n(7);t.defaultThrottleConfig={leading:!0,trailing:!1},t.throttle=r;var a=function(){function e(e,t,n){this.durationSelector=e,this.leading=t,this.trailing=n}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.durationSelector,this.leading,this.trailing))},e}(),l=function(e){function t(t,n,r,i){e.call(this,t),this.destination=t,this.durationSelector=n,this._leading=r,this._trailing=i,this._hasTrailingValue=!1}return i(t,e),t.prototype._next=function(e){if(this.throttled)this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=e);else{var t=this.tryDurationSelector(e);t&&this.add(this.throttled=s.subscribeToResult(this,t)),this._leading&&(this.destination.next(e),this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=e))}},t.prototype.tryDurationSelector=function(e){try{return this.durationSelector(e)}catch(e){return this.destination.error(e),null}},t.prototype._unsubscribe=function(){var e=this,t=e.throttled;e._trailingValue,e._hasTrailingValue,e._trailing;this._trailingValue=null,this._hasTrailingValue=!1,t&&(this.remove(t),this.throttled=null,t.unsubscribe())},t.prototype._sendTrailing=function(){var e=this,t=e.destination,n=e.throttled,r=e._trailing,i=e._trailingValue,o=e._hasTrailingValue;n&&r&&o&&(t.next(i),this._trailingValue=null,this._hasTrailingValue=!1)},t.prototype.notifyNext=function(e,t,n,r,i){this._sendTrailing(),this._unsubscribe()},t.prototype.notifyComplete=function(){this._sendTrailing(),this._unsubscribe()},t}(o.OuterSubscriber)},function(e,t,n){"use strict";function r(e,t,n){return void 0===t&&(t=a.async),void 0===n&&(n=l.defaultThrottleConfig),this.lift(new c(e,t,n.leading,n.trailing))}function i(e){e.subscriber.clearThrottle()}var o=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=n(3),a=n(34),l=n(253);t.throttleTime=r;var c=function(){function e(e,t,n,r){this.duration=e,this.scheduler=t,this.leading=n,this.trailing=r}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.duration,this.scheduler,this.leading,this.trailing))},e}(),u=function(e){function t(t,n,r,i,o){e.call(this,t),this.duration=n,this.scheduler=r,this.leading=i,this.trailing=o,this._hasTrailingValue=!1,this._trailingValue=null}return o(t,e),t.prototype._next=function(e){this.throttled?this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(i,this.duration,{subscriber:this})),this.leading&&this.destination.next(e))},t.prototype.clearThrottle=function(){var e=this.throttled;e&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),e.unsubscribe(),this.remove(e),this.throttled=null)},t}(s.Subscriber)},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=n(8),o=function(e){function t(t,n){e.call(this)}return r(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(i.Subscription);t.Action=o},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=n(5),o=n(255),s=function(e){function t(t,n){e.call(this,t,n),this.scheduler=t,this.work=n,this.pending=!1}return r(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e,this.pending=!0;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),i.root.setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){return void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending?t:i.root.clearInterval(t)&&void 0||void 0},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(e){n=!0,r=!!e&&e||new Error(e)}if(n)return this.unsubscribe(),r},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(o.Action);t.AsyncAction=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=n(206),o=function(e){function t(){e.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return r(t,e),t.prototype.flush=function(e){var t=this.actions;if(this.active)return void t.push(e);var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}},t}(i.Scheduler);t.AsyncScheduler=o},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=function(e){function t(){var t=e.call(this,"argument out of range");this.name=t.name="ArgumentOutOfRangeError",this.stack=t.stack,this.message=t.message}return r(t,e),t}(Error);t.ArgumentOutOfRangeError=i},function(e,t,n){"use strict";var r=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=function(e){function t(t){e.call(this),this.errors=t;var n=Error.call(this,t?t.length+" errors occurred during unsubscription:\n "+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return r(t,e),t}(Error);t.UnsubscriptionError=i},function(e,t,n){"use strict";function r(e){return e instanceof Date&&!isNaN(+e)}t.isDate=r},function(e,t,n){"use strict";function r(e){return!i.isArray(e)&&e-parseFloat(e)+1>=0}var i=n(22);t.isNumeric=r},function(e,t,n){"use strict";function r(e,t,n){if(e){if(e instanceof i.Subscriber)return e;if(e[o.rxSubscriber])return e[o.rxSubscriber]()}return e||t||n?new i.Subscriber(e,t,n):new i.Subscriber(s.empty)}var i=n(3),o=n(37),s=n(64);t.toSubscriber=r},function(e,t,n){"use strict";function r(){if(!u){var e=c.timesOutAt;p?w():p=!0,_(o,e)}}function i(){var e=c,t=c.next;if(c===t)c=null;else{var n=c.previous;c=n.next=t,t.previous=n}e.next=e.previous=null,(e=e.callback)(h)}function o(e){u=!0,h.didTimeout=e;try{if(e)for(;null!==c;){var n=t.unstable_now();if(!(c.timesOutAt<=n))break;do{i()}while(null!==c&&c.timesOutAt<=n)}else if(null!==c)do{i()}while(null!==c&&0=P-n){if(!(-1!==T&&T<=n))return void(A||(A=!0,s(N)));e=!0}if(T=-1,n=x,x=null,null!==n){O=!0;try{n(e)}finally{O=!1}}}},!1);var N=function(e){A=!1;var t=e-P+D;tt&&(t=8),D=tn){i=o;break}o=o.next}while(o!==c);null===i?i=c:i===c&&(c=e,r(c)),n=i.previous,n.next=i.previous=e,e.next=i,e.previous=n}return e},t.unstable_cancelScheduledWork=function(e){var t=e.next;if(null!==t){if(t===e)c=null;else{e===c&&(c=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}}},function(e,t,n){"use strict";e.exports=n(263)},function(e,t,n){e.exports=n(266)},function(e,t,n){"use strict";(function(e,r){Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(267),s=function(e){return e&&e.__esModule?e:{default:e}}(o);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=(0,s.default)(i);t.default=a}).call(t,n(15),n(87)(e))},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}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,n){"use strict";t.Any=n(86),t.Cc=n(84),t.Cf=n(268),t.P=n(39),t.Z=n(85)}])}); //# sourceMappingURL=botchat.js.map