!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.BotChat=e():t.BotChat=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=181)}([function(t,e,n){"use strict";var r=n(16),o=n(441),i=n(83),s=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,i=o.toSubscriber(t,e,n);if(r?r.call(i,this.source):i.add(this.source?this._subscribe(i):this._trySubscribe(i)),i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var n=this;if(e||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?e=r.root.Rx.config.Promise:r.root.Promise&&(e=r.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var o;o=n.subscribe(function(e){if(o)try{t(e)}catch(t){r(t),o.unsubscribe()}else t(e)},r,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[i.observable]=function(){return this},t.create=function(e){return new t(e)},t}();e.Observable=s},function(t,e,n){"use strict";function r(t,e,n,r,i,s,a,c){if(o(e),!t){var u;if(void 0===e)u=new 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,s,a,c],p=0;u=new Error(e.replace(/%s/g,function(){return l[p++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}var o=function(t){};t.exports=r},function(t,e,n){"use strict";function r(t){return Object.prototype.toString.call(t)}function o(t){return"[object String]"===r(t)}function i(t,e){return C.call(t,e)}function s(t){return Array.prototype.slice.call(arguments,1).forEach(function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach(function(n){t[n]=e[n]})}}),t}function a(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function c(t){return!(t>=55296&&t<=57343)&&(!(t>=64976&&t<=65007)&&(65535!=(65535&t)&&65534!=(65535&t)&&(!(t>=0&&t<=8)&&(11!==t&&(!(t>=14&&t<=31)&&(!(t>=127&&t<=159)&&!(t>1114111)))))))}function u(t){if(t>65535){t-=65536;var e=55296+(t>>10),n=56320+(1023&t);return String.fromCharCode(e,n)}return String.fromCharCode(t)}function l(t,e){var n=0;return i(E,e)?E[e]:35===e.charCodeAt(0)&&S.test(e)&&(n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10),c(n))?u(n):t}function p(t){return t.indexOf("\\")<0?t:t.replace(w,"$1")}function h(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(k,function(t,e,n){return e||l(t,n)})}function f(t){return O[t]}function d(t){return A.test(t)?t.replace(T,f):t}function m(t){return t.replace(P,"\\$&")}function v(t){switch(t){case 9:case 32:return!0}return!1}function g(t){if(t>=8192&&t<=8202)return!0;switch(t){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 y(t){return I.test(t)}function b(t){switch(t){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 _(t){return t.trim().replace(/\s+/g," ").toUpperCase()}var C=Object.prototype.hasOwnProperty,w=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,x=/&([a-z#][a-z0-9]{1,31});/gi,k=new RegExp(w.source+"|"+x.source,"gi"),S=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,E=n(101),A=/[&<>"]/,T=/[&<>"]/g,O={"&":"&","<":"<",">":">",'"':"""},P=/[.?*+^$[\]\\(){}|-]/g,I=n(86);e.lib={},e.lib.mdurl=n(105),e.lib.ucmicro=n(446),e.assign=s,e.isString=o,e.has=i,e.unescapeMd=p,e.unescapeAll=h,e.isValidEntityCode=c,e.fromCodePoint=u,e.escapeHtml=d,e.arrayReplaceAt=a,e.isSpace=v,e.isWhiteSpace=g,e.isMdAsciiPunct=b,e.isPunctChar=y,e.escapeRE=m,e.normalizeReference=_},function(t,e,n){"use strict";var r=n(10),o=r;t.exports=o},function(t,e,n){"use strict";function r(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function s(t,e){return function(n,r){e(n,r,t)}}function a(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,e,n,r){return new(n||(n=Promise))(function(o,i){function s(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(s,a)}c((r=r.apply(t,e||[])).next())})}function u(t,e){function n(t){return function(e){return r([t,e])}}function r(n){if(o)throw new TypeError("Generator is already executing.");for(;c;)try{if(o=1,i&&(s=i[2&n[0]?"return":n[0]?"throw":"next"])&&!(s=s.call(i,n[1])).done)return s;switch(i=0,s&&(n=[0,s.value]),n[0]){case 0:case 1:s=n;break;case 4:return c.label++,{value:n[1],done:!1};case 5:c.label++,i=n[1],n=[0];continue;case 7:n=c.ops.pop(),c.trys.pop();continue;default:if(s=c.trys,!(s=s.length>0&&s[s.length-1])&&(6===n[0]||2===n[0])){c=0;continue}if(3===n[0]&&(!s||n[1]>s[0]&&n[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function h(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function f(){for(var t=[],e=0;e1||o(t,e)})})}function o(t,e){try{i(l[t](e))}catch(t){c(p[0][3],t)}}function i(t){t.value instanceof d?Promise.resolve(t.value.v).then(s,a):c(p[0][2],t)}function s(t){o("next",t)}function a(t){o("throw",t)}function c(t,e){t(e),p.shift(),p.length&&o(p[0][0],p[0][1])}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u,l=n.apply(t,e||[]),p=[];return u={},r("next"),r("throw"),r("return"),u[Symbol.asyncIterator]=function(){return this},u}function v(t){function e(e,o){t[e]&&(n[e]=function(n){return(r=!r)?{value:d(t[e](n)),done:"return"===e}:o?o(n):n})}var n,r;return n={},e("next"),e("throw",function(t){throw t}),e("return"),n[Symbol.iterator]=function(){return this},n}function g(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator];return e?e.call(t):"function"==typeof p?p(t):t[Symbol.iterator]()}Object.defineProperty(e,"__esModule",{value:!0}),e.__extends=r,n.d(e,"__assign",function(){return b}),e.__rest=o,e.__decorate=i,e.__param=s,e.__metadata=a,e.__awaiter=c,e.__generator=u,e.__exportStar=l,e.__values=p,e.__read=h,e.__spread=f,e.__await=d,e.__asyncGenerator=m,e.__asyncDelegator=v,e.__asyncValues=g;/*! ***************************************************************************** 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 y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},b=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0))return e(t)},e.classList=function(){for(var t=[],e=0;e1){for(var d=Array(f),m=0;m1){for(var g=Array(v),y=0;y\n"+t+"\n\n");var c=new DOMParser,u=c.parseFromString(t,"text/xml"),l=u.documentElement.childNodes;this.processNodes(l,a)}else a.push(t);var p=function(){null!==r&&r(),o.speakRequests.length&&(o.speakRequests[0].completed(),o.speakRequests.splice(0,1)),o.speakRequests.length&&o.playNextTTS(o.speakRequests[0],0)},h=new i(a,e,function(t){o.lastOperation=t},n,p);0===this.speakRequests.length?(this.speakRequests=[h],this.playNextTTS(this.speakRequests[0],0)):this.speakRequests.push(h)}},t.prototype.stopSpeaking=function(){if("SpeechSynthesisUtterance"in window!=!1&&this.speakRequests.length){this.audioElement&&this.audioElement.pause(),this.speakRequests.forEach(function(t){t.abandon()}),this.speakRequests=[];var t=window.speechSynthesis;(t.speaking||t.pending)&&(this.lastOperation&&(this.lastOperation.onend=null),t.cancel())}},t.prototype.playNextTTS=function(t,e){var n=this,r=function(){n.playNextTTS(t,e+1)};if(e0)for(var r=0;r]/;t.exports=o},function(t,e,n){"use strict";var r,o=n(7),i=n(63),s=/^[ \r\n\t\f]/,a=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,c=n(71),u=c(function(t,e){if(t.namespaceURI!==i.svg||"innerHTML"in t)t.innerHTML=e;else{r=r||document.createElement("div"),r.innerHTML=""+e+"";for(var n=r.firstChild;n.firstChild;)t.appendChild(n.firstChild)}});if(o.canUseDOM){var l=document.createElement("div");l.innerHTML=" ",""===l.innerHTML&&(u=function(t,e){if(t.parentNode&&t.parentNode.replaceChild(t,t),s.test(e)||"<"===e[0]&&a.test(e)){t.innerHTML=String.fromCharCode(65279)+e;var n=t.firstChild;1===n.data.length?t.removeChild(n):n.deleteData(0,1)}else t.innerHTML=e}),l=null}t.exports=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(355),o=n(134),i=n(356);n.d(e,"Provider",function(){return r.a}),n.d(e,"createProvider",function(){return r.b}),n.d(e,"connectAdvanced",function(){return o.a}),n.d(e,"connect",function(){return i.a})},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(0),i=n(158),s=n(50),a=n(168),c=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n1?new e(t,r):1===o?new i.ScalarObservable(t[0],r):new s.EmptyObservable(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.count,o=t.subscriber;if(n>=r)return void o.complete();o.next(e[n]),o.closed||(t.index=n+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var i=0;i>>0)).toLowerCase()?"image":"video"};e.AttachmentView=function(t){if(t.attachment){var e=t.attachment,n=function(e){return e&&function(n){t.onCardAction(e.type,e.value),n.stopPropagation()}};switch(e.contentType){case"application/vnd.microsoft.card.hero":if(!e.content)return null;var r=new i.AdaptiveCardBuilder;return e.content.images&&e.content.images.forEach(function(t){return r.addImage(t.url)}),r.addCommon(e.content),o.createElement(s.AdaptiveCardContainer,{className:"hero",card:r.card,onImageLoad:t.onImageLoad,onCardAction:t.onCardAction,onClick:n(e.content.tap)});case"application/vnd.microsoft.card.thumbnail":if(!e.content)return null;var a=new i.AdaptiveCardBuilder;if(e.content.images&&e.content.images.length>0){var c=a.addColumnSet([75,25]);a.addTextBlock(e.content.title,{size:"medium",weight:"bolder"},c[0]),a.addTextBlock(e.content.subtitle,{isSubtle:!0,wrap:!0},c[0]),a.addImage(e.content.images[0].url,c[1]),a.addTextBlock(e.content.text,{wrap:!0}),a.addButtons(e.content.buttons)}else a.addCommon(e.content);return o.createElement(s.AdaptiveCardContainer,{className:"thumbnail",card:a.card,onImageLoad:t.onImageLoad,onCardAction:t.onCardAction,onClick:n(e.content.tap)});case"application/vnd.microsoft.card.video":return e.content&&e.content.media&&0!==e.content.media.length?o.createElement(s.AdaptiveCardContainer,{className:"video",card:i.buildCommonCard(e.content),onCardAction:t.onCardAction},o.createElement(f,{type:"video",src:e.content.media[0].url,onLoad:t.onImageLoad,poster:e.content.image&&e.content.image.url,autoPlay:e.content.autostart,loop:e.content.autoloop})):null;case"application/vnd.microsoft.card.animation":return e.content&&e.content.media&&0!==e.content.media.length?o.createElement(s.AdaptiveCardContainer,{className:"animation",card:i.buildCommonCard(e.content),onCardAction:t.onCardAction},o.createElement(f,{type:m(e.content.media[0].url),src:e.content.media[0].url,onLoad:t.onImageLoad,poster:e.content.image&&e.content.image.url,autoPlay:e.content.autostart,loop:e.content.autoloop})):null;case"application/vnd.microsoft.card.audio":return e.content&&e.content.media&&0!==e.content.media.length?o.createElement(s.AdaptiveCardContainer,{className:"audio",card:i.buildCommonCard(e.content),onCardAction:t.onCardAction},o.createElement(f,{type:"audio",src:e.content.media[0].url,autoPlay:e.content.autostart,loop:e.content.autoloop})):null;case"application/vnd.microsoft.card.signin":return e.content?o.createElement(s.AdaptiveCardContainer,{className:"signin",card:i.buildCommonCard(e.content),onCardAction:t.onCardAction}):null;case"application/vnd.microsoft.card.receipt":if(!e.content)return null;var l=new i.AdaptiveCardBuilder;l.addTextBlock(e.content.title,{size:"medium",weight:"bolder"});var p=l.addColumnSet([75,25]);if(e.content.facts&&e.content.facts.map(function(t,e){l.addTextBlock(t.key,{color:"default",size:"medium"},p[0]),l.addTextBlock(t.value,{color:"default",size:"medium",horizontalAlignment:"right"},p[1])}),e.content.items&&e.content.items.map(function(t,e){if(t.image){var n=l.addColumnSet([15,75,10]);l.addImage(t.image.url,n[0]),l.addTextBlock(t.title,{size:"medium",weight:"bolder"},n[1]),l.addTextBlock(t.subtitle,{color:"default",size:"medium"},n[1]),l.addTextBlock(t.price,{horizontalAlignment:"right"},n[2])}else{var r=l.addColumnSet([75,25]);l.addTextBlock(t.title,{size:"medium",weight:"bolder"},r[0]),l.addTextBlock(t.subtitle,{color:"default",size:"medium"},r[0]),l.addTextBlock(t.price,{horizontalAlignment:"right"},r[1])}}),u(e.content.vat)){var h=l.addColumnSet([75,25]);l.addTextBlock(t.format.strings.receiptVat,{size:"medium",weight:"bolder"},h[0]),l.addTextBlock(e.content.vat,{horizontalAlignment:"right"},h[1])}if(u(e.content.tax)){var v=l.addColumnSet([75,25]);l.addTextBlock(t.format.strings.receiptTax,{size:"medium",weight:"bolder"},v[0]),l.addTextBlock(e.content.tax,{horizontalAlignment:"right"},v[1])}if(u(e.content.total)){var g=l.addColumnSet([75,25]);l.addTextBlock(t.format.strings.receiptTotal,{size:"medium",weight:"bolder"},g[0]),l.addTextBlock(e.content.total,{horizontalAlignment:"right",size:"medium",weight:"bolder"},g[1])}return l.addButtons(e.content.buttons),o.createElement(s.AdaptiveCardContainer,{className:"receipt",card:l.card,onCardAction:t.onCardAction,onClick:n(e.content.tap)});case"application/vnd.microsoft.card.adaptive":return e.content?o.createElement(s.AdaptiveCardContainer,{card:e.content,onImageLoad:t.onImageLoad,onCardAction:t.onCardAction}):null;case"application/vnd.microsoft.card.flex":return e.content?o.createElement(s.AdaptiveCardContainer,{className:"flex",card:i.buildCommonCard(e.content),onCardAction:t.onCardAction},function(e){return e&&e.length>0&&o.createElement(f,{src:e[0].url,onLoad:t.onImageLoad,onClick:n(e[0].tap)})}(e.content.images)):null;case"image/svg+xml":case"image/png":case"image/jpg":case"image/jpeg":case"image/gif":return o.createElement(f,{src:e.contentUrl,onLoad:t.onImageLoad});case"audio/mpeg":case"audio/mp4":return o.createElement(f,{type:"audio",src:e.contentUrl});case"video/mp4":return o.createElement(f,{type:"video",poster:e.thumbnailUrl,src:e.contentUrl,onLoad:t.onImageLoad});default:var y=t.attachment;return o.createElement(d,{format:t.format,contentType:y.contentType,contentUrl:y.contentUrl,name:y.name})}}}},function(t,e,n){"use strict";var r=this&&this.__rest||function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);o=400&&t.status<600?i.Observable.throw(t):i.Observable.of(t)}).delay(2e4).take(45)})},t.prototype.refreshTokenLoop=function(){var t=this;this.tokenRefreshSubscription=i.Observable.interval(9e5).flatMap(function(e){return t.refreshToken()}).subscribe(function(e){l.log("refreshing token",e,"at",new Date),t.token=e})},t.prototype.refreshToken=function(){var t=this;return this.checkConnection(!0).flatMap(function(e){return i.Observable.ajax({method:"POST",url:t.domain+"/tokens/refresh",timeout:2e4,headers:{Authorization:"Bearer "+t.token}}).map(function(t){return t.response.token}).retryWhen(function(e){return e.mergeMap(function(e){return 403===e.status?(t.expiredToken(),i.Observable.throw(e)):i.Observable.of(e)}).delay(2e4).take(45)})})},t.prototype.reconnect=function(t){this.token=t.token,this.streamUrl=t.streamUrl,this.connectionStatus$.getValue()===s.ExpiredToken&&this.connectionStatus$.next(s.Online)},t.prototype.end=function(){this.tokenRefreshSubscription&&this.tokenRefreshSubscription.unsubscribe(),this.connectionStatus$.next(s.Ended)},t.prototype.postActivity=function(t){var e=this;return"message"===t.type&&t.attachments&&t.attachments.length>0?this.postMessageWithAttachments(t):(l.log("postActivity",t),this.checkConnection(!0).flatMap(function(n){return i.Observable.ajax({method:"POST",url:e.domain+"/conversations/"+e.conversationId+"/activities",body:t,timeout:2e4,headers:{"Content-Type":"application/json",Authorization:"Bearer "+e.token}}).map(function(t){return t.response.id}).catch(function(t){return e.catchPostError(t)})}).catch(function(t){return e.catchExpiredToken(t)}))},t.prototype.postMessageWithAttachments=function(t){var e,n=this,o=t.attachments,s=r(t,["attachments"]);return this.checkConnection(!0).flatMap(function(t){return e=new FormData,e.append("activity",new Blob([JSON.stringify(s)],{type:"application/vnd.microsoft.activity"})),i.Observable.from(o||[]).flatMap(function(t){return i.Observable.ajax({method:"GET",url:t.contentUrl,responseType:"arraybuffer"}).do(function(n){return e.append("file",new Blob([n.response],{type:t.contentType}),t.name)})}).count()}).flatMap(function(t){return i.Observable.ajax({method:"POST",url:n.domain+"/conversations/"+n.conversationId+"/upload?userId="+s.from.id,body:e,timeout:2e4,headers:{Authorization:"Bearer "+n.token}}).map(function(t){return t.response.id}).catch(function(t){return n.catchPostError(t)})}).catch(function(t){return n.catchPostError(t)})},t.prototype.catchPostError=function(t){if(403===t.status)this.expiredToken();else if(t.status>=400&&t.status<500)return i.Observable.throw(t);return i.Observable.of("retry")},t.prototype.catchExpiredToken=function(t){return t===a?i.Observable.of("retry"):i.Observable.throw(t)},t.prototype.pollingGetActivity$=function(){var t=this;return i.Observable.interval(this.pollingInterval).combineLatest(this.checkConnection()).flatMap(function(e){return i.Observable.ajax({method:"GET",url:t.domain+"/conversations/"+t.conversationId+"/activities?watermark="+t.watermark,timeout:2e4,headers:{Accept:"application/json",Authorization:"Bearer "+t.token}}).catch(function(e){return 403===e.status&&t.expiredToken(),i.Observable.empty()}).map(function(t){return t.response}).flatMap(function(e){return t.observableFromActivityGroup(e)})}).catch(function(t){return i.Observable.empty()})},t.prototype.observableFromActivityGroup=function(t){return t.watermark&&(this.watermark=t.watermark),i.Observable.from(t.activities)},t.prototype.webSocketActivity$=function(){var t=this;return this.checkConnection().flatMap(function(e){return t.observableWebSocket().retryWhen(function(e){return e.mergeMap(function(e){return t.reconnectToConversation()})})}).flatMap(function(e){return t.observableFromActivityGroup(e)})},t.prototype.observableWebSocket=function(){var t=this;return i.Observable.create(function(e){l.log("creating WebSocket",t.streamUrl);var n,r=new WebSocket(t.streamUrl);return r.onopen=function(t){l.log("WebSocket open",t),n=i.Observable.interval(2e4).subscribe(function(t){return r.send(null)})},r.onclose=function(t){l.log("WebSocket close",t),n&&n.unsubscribe(),e.error(t)},r.onmessage=function(t){return t.data&&e.next(JSON.parse(t.data))},function(){0!==r.readyState&&1!==r.readyState||r.close()}})},t.prototype.reconnectToConversation=function(){var t=this;return this.checkConnection(!0).flatMap(function(e){return i.Observable.ajax({method:"GET",url:t.domain+"/conversations/"+t.conversationId+"?watermark="+t.watermark,timeout:2e4,headers:{Accept:"application/json",Authorization:"Bearer "+t.token}}).do(function(e){t.secret||(t.token=e.response.token),t.streamUrl=e.response.streamUrl}).map(function(t){return null}).retryWhen(function(e){return e.mergeMap(function(e){return 403===e.status&&t.expiredToken(),i.Observable.of(e)}).delay(2e4).take(45)})})},t}();e.DirectLine=p},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){t.exports=!n(93)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(30),o=n(90),i=n(57),s=n(203),a=n(91),c=function(t,e,n){var u,l,p,h,f=t&c.F,d=t&c.G,m=t&c.S,v=t&c.P,g=t&c.B,y=d?r:m?r[e]||(r[e]={}):(r[e]||{}).prototype,b=d?o:o[e]||(o[e]={}),_=b.prototype||(b.prototype={});d&&(n=e);for(u in n)l=!f&&y&&void 0!==y[u],p=(l?y:n)[u],h=g&&l?a(p,r):v&&"function"==typeof p?a(Function.call,p):p,y&&s(y,u,p,t&c.U),b[u]!=p&&i(b,u,h),v&&_[u]!=p&&(_[u]=p)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(201),o=n(202);t.exports=n(55)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!==t&&e!==e}function o(t,e){if(r(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),o=Object.keys(e);if(n.length!==o.length)return!1;for(var s=0;s=0&&(n=this.attrs[e][1]),n},r.prototype.attrJoin=function(t,e){var n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e},t.exports=r},function(t,e,n){"use strict";function r(t,e){return Array.isArray(e)&&(e=e[1]),e?e.nextSibling:t.firstChild}function o(t,e,n){l.insertTreeBefore(t,e,n)}function i(t,e,n){Array.isArray(e)?a(t,e[0],e[1],n):m(t,e,n)}function s(t,e){if(Array.isArray(e)){var n=e[1];e=e[0],c(t,e,n),t.removeChild(n)}t.removeChild(e)}function a(t,e,n,r){for(var o=e;;){var i=o.nextSibling;if(m(t,o,r),o===n)break;o=i}}function c(t,e,n){for(;;){var r=e.nextSibling;if(r===n)break;t.removeChild(r)}}function u(t,e,n){var r=t.parentNode,o=t.nextSibling;o===e?n&&m(r,document.createTextNode(n),o):n?(d(o,n),c(r,o,e)):c(r,t,e)}var l=n(22),p=n(297),h=(n(6),n(12),n(71)),f=n(47),d=n(132),m=h(function(t,e,n){t.insertBefore(e,n)}),v=p.dangerouslyReplaceNodeWithMarkup,g={dangerouslyReplaceNodeWithMarkup:v,replaceDelimitedText:u,processUpdates:function(t,e){for(var n=0;n-1||s("96",t),!u.plugins[n]){e.extractEvents||s("97",t),u.plugins[n]=e;var r=e.eventTypes;for(var i in r)o(r[i],e,i)||s("98",i,t)}}}function o(t,e,n){u.eventNameDispatchConfigs.hasOwnProperty(n)&&s("99",n),u.eventNameDispatchConfigs[n]=t;var r=t.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var a=r[o];i(a,e,n)}return!0}return!!t.registrationName&&(i(t.registrationName,e,n),!0)}function i(t,e,n){u.registrationNameModules[t]&&s("100",t),u.registrationNameModules[t]=e,u.registrationNameDependencies[t]=e.eventTypes[n].dependencies}var s=n(4),a=(n(1),null),c={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(t){a&&s("101"),a=Array.prototype.slice.call(t),r()},injectEventPluginsByName:function(t){var e=!1;for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];c.hasOwnProperty(n)&&c[n]===o||(c[n]&&s("102",n),c[n]=o,e=!0)}e&&r()},getPluginModuleForEvent:function(t){var e=t.dispatchConfig;if(e.registrationName)return u.registrationNameModules[e.registrationName]||null;if(void 0!==e.phasedRegistrationNames){var n=e.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=u.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){a=null;for(var t in c)c.hasOwnProperty(t)&&delete c[t];u.plugins.length=0;var e=u.eventNameDispatchConfigs;for(var n in e)e.hasOwnProperty(n)&&delete e[n];var r=u.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};t.exports=u},function(t,e,n){"use strict";function r(t){return"topMouseUp"===t||"topTouchEnd"===t||"topTouchCancel"===t}function o(t){return"topMouseMove"===t||"topTouchMove"===t}function i(t){return"topMouseDown"===t||"topTouchStart"===t}function s(t,e,n,r){var o=t.type||"unknown-event";t.currentTarget=g.getNodeFromInstance(r),e?m.invokeGuardedCallbackWithCatch(o,n,t):m.invokeGuardedCallback(o,n,t),t.currentTarget=null}function a(t,e){var n=t._dispatchListeners,r=t._dispatchInstances;if(Array.isArray(n))for(var o=0;o0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(t,e){var n=a.get(t);if(!n){return null}return n}var s=n(4),a=(n(15),n(34)),c=(n(12),n(13)),u=(n(1),n(3),{isMounted:function(t){var e=a.get(t);return!!e&&!!e._renderedComponent},enqueueCallback:function(t,e,n){u.validateCallback(e,n);var o=i(t);if(!o)return null;o._pendingCallbacks?o._pendingCallbacks.push(e):o._pendingCallbacks=[e],r(o)},enqueueCallbackInternal:function(t,e){t._pendingCallbacks?t._pendingCallbacks.push(e):t._pendingCallbacks=[e],r(t)},enqueueForceUpdate:function(t){var e=i(t,"forceUpdate");e&&(e._pendingForceUpdate=!0,r(e))},enqueueReplaceState:function(t,e,n){var o=i(t,"replaceState");o&&(o._pendingStateQueue=[e],o._pendingReplaceState=!0,void 0!==n&&null!==n&&(u.validateCallback(n,"replaceState"),o._pendingCallbacks?o._pendingCallbacks.push(n):o._pendingCallbacks=[n]),r(o))},enqueueSetState:function(t,e){var n=i(t,"setState");if(n){(n._pendingStateQueue||(n._pendingStateQueue=[])).push(e),r(n)}},enqueueElementInternal:function(t,e,n){t._pendingElement=e,t._context=n,r(t)},validateCallback:function(t,e){t&&"function"!=typeof t&&s("122",e,o(t))}});t.exports=u},function(t,e,n){"use strict";var r=function(t){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,r,o){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,o)})}:t};t.exports=r},function(t,e,n){"use strict";function r(t){var e,n=t.keyCode;return"charCode"in t?0===(e=t.charCode)&&13===n&&(e=13):e=n,e>=32||13===e?e:0}t.exports=r},function(t,e,n){"use strict";function r(t){var e=this,n=e.nativeEvent;if(n.getModifierState)return n.getModifierState(t);var r=i[t];return!!r&&!!n[r]}function o(t){return r}var i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=o},function(t,e,n){"use strict";function r(t){var e=t.target||t.srcElement||window;return e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}t.exports=r},function(t,e,n){"use strict";/** * Checks if an event is supported in the current execution environment. * * NOTE: This will not work correctly for non-generic events such as `change`, * `reset`, `load`, `error`, and `select`. * * Borrows from Modernizr. * * @param {string} eventNameSuffix Event name, e.g. "click". * @param {?boolean} capture Check if the capture phase is supported. * @return {boolean} True if the event is supported. * @internal * @license Modernizr 3.0.0pre (Custom Build) | MIT */ function r(t,e){if(!i.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,r=n in document;if(!r){var s=document.createElement("div");s.setAttribute(n,"return;"),r="function"==typeof s[n]}return!r&&o&&"wheel"===t&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,i=n(7);i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=null===t||!1===t,r=null===e||!1===e;if(n||r)return n===r;var o=typeof t,i=typeof e;return"string"===o||"number"===o?"string"===i||"number"===i:"object"===i&&t.type===e.type&&t.key===e.key}t.exports=r},function(t,e,n){"use strict";var r=(n(5),n(10)),o=(n(3),r);t.exports=o},function(t,e,n){"use strict";function r(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t);try{throw new Error(t)}catch(t){}}e.a=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(146),o=n(381),i=n(380),s=n(379),a=n(145);n(147);n.d(e,"createStore",function(){return r.b}),n.d(e,"combineReducers",function(){return o.a}),n.d(e,"bindActionCreators",function(){return i.a}),n.d(e,"applyMiddleware",function(){return s.a}),n.d(e,"compose",function(){return a.a})},function(t,e,n){"use strict";function r(t,e){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return this.lift(new s(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(8);e.map=r;var s=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.thisArg))},t}();e.MapOperator=s;var a=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.count=0,this.thisArg=r||this}return o(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.Subscriber)},function(t,e,n){"use strict";var r=n(435),o=n(436);e.async=new o.AsyncScheduler(r.AsyncAction)},function(t,e,n){"use strict";function r(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var n=t.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=t.Map;if(r)for(var o=Object.getOwnPropertyNames(r.prototype),i=0;i=Math.round(this.scrollDiv.scrollWidth-this.scrollDiv.offsetWidth)},e.prototype.componentDidMount=function(){var t=this;this.scrollDiv.style.marginBottom=-(this.scrollDiv.offsetHeight-this.scrollDiv.clientHeight)+"px",this.scrollSubscription=i.Observable.fromEvent(this.scrollDiv,"scroll").subscribe(function(e){t.updateScrollButtons()}),this.clickSubscription=i.Observable.merge(i.Observable.fromEvent(this.prevButton,"click").map(function(t){return-1}),i.Observable.fromEvent(this.nextButton,"click").map(function(t){return 1})).subscribe(function(e){t.scrollBy(e)}),this.updateScrollButtons()},e.prototype.componentDidUpdate=function(){this.scrollDiv.scrollLeft=0,this.updateScrollButtons()},e.prototype.componentWillUnmount=function(){this.scrollSubscription.unsubscribe(),this.clickSubscription.unsubscribe()},e.prototype.scrollAmount=function(t){if("item"==this.props.scrollUnit){var e=this.scrollDiv.querySelector("ul > li");return e?t*e.offsetWidth:0}return t*(this.scrollDiv.offsetWidth-70)},e.prototype.scrollBy=function(t){var e=this,n="wc-animate-scroll";this.animateDiv&&(n="wc-animate-scroll-rapid",this.clearScrollTimers());var r=this.scrollAmount(t),o=this.scrollDiv.scrollLeft,i=o+r;i=Math.max(i,0),i=Math.min(i,this.scrollDiv.scrollWidth-this.scrollDiv.offsetWidth),o!=i&&(Math.abs(i-o)<60&&(n="wc-animate-scroll-near"),this.animateDiv=document.createElement("div"),this.animateDiv.className=n,this.animateDiv.style.left=o+"px",document.body.appendChild(this.animateDiv),this.scrollSyncTimer=window.setInterval(function(){var t=parseFloat(getComputedStyle(e.animateDiv).left);e.scrollDiv.scrollLeft=t},1),this.scrollStartTimer=window.setTimeout(function(){e.animateDiv.style.left=i+"px";var t=1e3*parseFloat(getComputedStyle(e.animateDiv).transitionDuration);t?(t+=50,e.scrollDurationTimer=window.setTimeout(function(){return e.clearScrollTimers()},t)):e.clearScrollTimers()},1))},e.prototype.render=function(){var t=this;return o.createElement("div",null,o.createElement("button",{ref:function(e){return t.prevButton=e},className:"scroll previous",disabled:!0},o.createElement("svg",null,o.createElement("path",{d:this.props.prevSvgPathData}))),o.createElement("div",{className:"wc-hscroll-outer"},o.createElement("div",{className:"wc-hscroll",ref:function(e){return t.scrollDiv=e}},this.props.children)),o.createElement("button",{ref:function(e){return t.nextButton=e},className:"scroll next",disabled:!0},o.createElement("svg",null,o.createElement("path",{d:this.props.nextSvgPathData}))))},e}(o.Component);e.HScroll=s},function(t,e,n){var r=n(41)("unscopables"),o=Array.prototype;void 0==o[r]&&n(57)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){var r=n(91),o=n(198),i=n(207),s=n(94),a=n(193);t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,p=6==t,h=5==t||p,f=e||a;return function(e,a,d){for(var m,v,g=i(e),y=o(g),b=r(a,d,3),_=s(y.length),C=0,w=n?f(e,_):c?f(e,0):void 0;_>C;C++)if((h||C in y)&&(m=y[C],v=b(m,C,g),t))if(n)w[C]=v;else if(v)switch(t){case 3:return!0;case 5:return m;case 6:return C;case 2:w.push(m)}else if(l)return!1;return p?-1:u||l?l:w}}},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(190);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(206),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){"use strict";var r=n(10),o={listen:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}}):t.attachEvent?(t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}):void 0},capture:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!0),{remove:function(){t.removeEventListener(e,n,!0)}}):{remove:r}},registerDefault:function(){}};t.exports=o},function(t,e,n){"use strict";function r(t){try{t.focus()}catch(t){}}t.exports=r},function(t,e,n){"use strict";function r(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}t.exports=r},function(t,e,n){"use strict";var r=n(234),o=r.a.Symbol;e.a=o},function(t,e,n){"use strict";t.exports=n(241)},function(t,e,n){"use strict";t.exports=n(210)},function(t,e,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*\\/?>",o="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",i=new RegExp("^(?:"+r+"|"+o+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)"),s=new RegExp("^(?:"+r+"|"+o+")");t.exports.HTML_TAG_RE=i,t.exports.HTML_OPEN_CLOSE_TAG_RE=s},function(t,e,n){"use strict";t.exports.tokenize=function(t,e){var n,r,o,i=t.pos,s=t.src.charCodeAt(i);if(e)return!1;if(95!==s&&42!==s)return!1;for(r=t.scanDelims(t.pos,42===s),n=0;n1)for(var n=1;n.":"function"==typeof e?" Instead of passing a class like Foo, pass React.createElement(Foo) or .":null!=e&&void 0!==e.props?" This may be caused by unintentionally loading two independent copies of React.":"");var s,a=v.createElement(F,{child:e});if(t){var c=w.get(t);s=c._processChildContext(c._context)}else s=A;var l=h(n);if(l){var p=l._currentElement,d=p.props.child;if(P(d,e)){var m=l._renderedComponent.getPublicInstance(),g=r&&function(){r.call(m)};return z._updateRootComponent(l,a,s,n,g),m}z.unmountComponentAtNode(n)}var y=o(n),b=y&&!!i(y),_=u(n),C=b&&!l&&!_,x=z._renderNewRootComponent(a,n,C,s)._renderedComponent.getPublicInstance();return r&&r.call(x),x},render:function(t,e,n){return z._renderSubtreeIntoContainer(null,t,e,n)},unmountComponentAtNode:function(t){l(t)||f("40");var e=h(t);if(!e){u(t),1===t.nodeType&&t.hasAttribute(D);return!1}return delete L[e._instance.rootID],E.batchedUpdates(c,e,t,!1),!0},_mountImageIntoNode:function(t,e,n,i,s){if(l(e)||f("41"),i){var a=o(e);if(x.canReuseMarkup(t,a))return void y.precacheNode(n,a);var c=a.getAttribute(x.CHECKSUM_ATTR_NAME);a.removeAttribute(x.CHECKSUM_ATTR_NAME);var u=a.outerHTML;a.setAttribute(x.CHECKSUM_ATTR_NAME,c);var p=t,h=r(p,u),m=" (client) "+p.substring(h-20,h+20)+"\n (server) "+u.substring(h-20,h+20);e.nodeType===N&&f("42",m)}if(e.nodeType===N&&f("43"),s.useCreateElement){for(;e.lastChild;)e.removeChild(e.lastChild);d.insertTreeBefore(e,t,null)}else O(e,t),y.precacheNode(n,e.firstChild)}};t.exports=z},function(t,e,n){"use strict";var r=n(4),o=n(25),i=(n(1),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(t){return null===t||!1===t?i.EMPTY:o.isValidElement(t)?"function"==typeof t.type?i.COMPOSITE:i.HOST:void r("26",t)}});t.exports=i},function(t,e,n){"use strict";var r={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(t){r.currentScrollLeft=t.x,r.currentScrollTop=t.y}};t.exports=r},function(t,e,n){"use strict";function r(t,e){return null==e&&o("30"),null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}var o=n(4);n(1);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}t.exports=r},function(t,e,n){"use strict";function r(t){for(var e;(e=t._renderedNodeType)===o.COMPOSITE;)t=t._renderedComponent;return e===o.HOST?t._renderedComponent:e===o.EMPTY?null:void 0}var o=n(123);t.exports=r},function(t,e,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=n(7),i=null;t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.type,n=t.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===e||"radio"===e)}function o(t){return t._wrapperState.valueTracker}function i(t,e){t._wrapperState.valueTracker=e}function s(t){delete t._wrapperState.valueTracker}function a(t){var e;return t&&(e=r(t)?""+t.checked:t.value),e}var c=n(6),u={_getTrackerFromNode:function(t){return o(c.getInstanceFromNode(t))},track:function(t){if(!o(t)){var e=c.getNodeFromInstance(t),n=r(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),u=""+e[n];e.hasOwnProperty(n)||"function"!=typeof a.get||"function"!=typeof a.set||(Object.defineProperty(e,n,{enumerable:a.enumerable,configurable:!0,get:function(){return a.get.call(this)},set:function(t){u=""+t,a.set.call(this,t)}}),i(t,{getValue:function(){return u},setValue:function(t){u=""+t},stopTracking:function(){s(t),delete e[n]}}))}},updateValueIfChanged:function(t){if(!t)return!1;var e=o(t);if(!e)return u.track(t),!0;var n=e.getValue(),r=a(c.getNodeFromInstance(t));return r!==n&&(e.setValue(r),!0)},stopTracking:function(t){var e=o(t);e&&e.stopTracking()}};t.exports=u},function(t,e,n){"use strict";function r(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}function o(t){return"function"==typeof t&&void 0!==t.prototype&&"function"==typeof t.prototype.mountComponent&&"function"==typeof t.prototype.receiveComponent}function i(t,e){var n;if(null===t||!1===t)n=u.create(i);else if("object"==typeof t){var a=t,c=a.type;if("function"!=typeof c&&"string"!=typeof c){var h="";h+=r(a._owner),s("130",null==c?c:typeof c,h)}"string"==typeof a.type?n=l.createInternalComponent(a):o(a.type)?(n=new a.type(a),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new p(a)}else"string"==typeof t||"number"==typeof t?n=l.createInstanceForText(t):s("131",typeof t);return n._mountIndex=0,n._mountImage=null,n}var s=n(4),a=n(5),c=n(304),u=n(118),l=n(120),p=(n(372),n(1),n(3),function(t){this.construct(t)});a(p.prototype,c,{_instantiateReactComponent:i}),t.exports=i},function(t,e,n){"use strict";function r(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!o[t.type]:"textarea"===e}var o={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};t.exports=r},function(t,e,n){"use strict";var r=n(7),o=n(46),i=n(47),s=function(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e};r.canUseDOM&&("textContent"in document.documentElement||(s=function(t,e){if(3===t.nodeType)return void(t.nodeValue=e);i(t,o(e))})),t.exports=s},function(t,e,n){"use strict";function r(t,e){return t&&"object"==typeof t&&null!=t.key?u.escape(t.key):e.toString(36)}function o(t,e,n,i){var h=typeof t;if("undefined"!==h&&"boolean"!==h||(t=null),null===t||"string"===h||"number"===h||"object"===h&&t.$$typeof===a)return n(i,t,""===e?l+r(t,0):e),1;var f,d,m=0,v=""===e?l:e+p;if(Array.isArray(t))for(var g=0;g=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function a(){}function c(t,e){var n={run:function(r){try{var o=t(e.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(t){n.shouldComponentUpdate=!0,n.error=t}}};return n}function u(t){var e,u,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=l.getDisplayName,_=void 0===h?function(t){return"ConnectAdvanced("+t+")"}:h,C=l.methodName,w=void 0===C?"connectAdvanced":C,x=l.renderCountProp,k=void 0===x?void 0:x,S=l.shouldHandleStateChanges,E=void 0===S||S,A=l.storeKey,T=void 0===A?"store":A,O=l.withRef,P=void 0!==O&&O,I=s(l,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),D=T+"Subscription",M=y++,N=(e={},e[T]=v.a,e[D]=v.b,e),R=(u={},u[D]=v.b,u);return function(e){f()("function"==typeof e,"You must pass a component to the function returned by connect. Instead received "+JSON.stringify(e));var s=e.displayName||e.name||"Component",u=_(s),l=g({},I,{getDisplayName:_,methodName:w,renderCountProp:k,shouldHandleStateChanges:E,storeKey:T,withRef:P,displayName:u,wrappedComponentName:s,WrappedComponent:e}),h=function(s){function p(t,e){r(this,p);var n=o(this,s.call(this,t,e));return n.version=M,n.state={},n.renderCount=0,n.store=t[T]||e[T],n.propsMode=Boolean(t[T]),n.setWrappedInstance=n.setWrappedInstance.bind(n),f()(n.store,'Could not find "'+T+'" in either the context or props of "'+u+'". Either wrap the root component in a , or explicitly pass "'+T+'" as a prop to "'+u+'".'),n.initSelector(),n.initSubscription(),n}return i(p,s),p.prototype.getChildContext=function(){var t,e=this.propsMode?null:this.subscription;return t={},t[D]=e||this.context[D],t},p.prototype.componentDidMount=function(){E&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},p.prototype.componentWillReceiveProps=function(t){this.selector.run(t)},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 f()(P,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+w+"() call."),this.wrappedInstance},p.prototype.setWrappedInstance=function(t){this.wrappedInstance=t},p.prototype.initSelector=function(){var e=t(this.store.dispatch,l);this.selector=c(e,this.store),this.selector.run(this.props)},p.prototype.initSubscription=function(){if(E){var t=(this.propsMode?this.props:this.context)[D];this.subscription=new m.a(this.store,t,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(t){if(!(P||k||this.propsMode&&this.subscription))return t;var e=g({},t);return P&&(e.ref=this.setWrappedInstance),k&&(e[k]=this.renderCount++),this.propsMode&&this.subscription&&(e[D]=this.subscription),e},p.prototype.render=function(){var t=this.selector;if(t.shouldComponentUpdate=!1,t.error)throw t.error;return n.i(d.createElement)(e,this.addExtraProps(t.props))},p}(d.Component);return h.WrappedComponent=e,h.displayName=u,h.childContextTypes=R,h.contextTypes=N,h.propTypes=N,p()(h,e)}}var l=n(224),p=n.n(l),h=n(225),f=n.n(h),d=n(9),m=(n.n(d),n(362)),v=n(136);e.a=u;var g=Object.assign||function(t){for(var e=1;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof i.Observable?t[0]:new s.ArrayObservable(t,r).lift(new a.MergeAllOperator(n))}var i=n(0),s=n(49),a=n(423),c=n(168);e.merge=r,e.mergeStatic=o},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ObjectUnsubscribedError=o},function(t,e,n){"use strict";e.isArrayLike=function(t){return t&&"number"==typeof t.length}},function(t,e,n){"use strict";function r(t){return null!=t&&"object"==typeof t}e.isObject=r},function(t,e,n){"use strict";function r(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}e.isPromise=r},function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}e.isScheduler=r},function(t,e){t.exports=/[\0-\x1F\x7F-\x9F]/},function(t,e){t.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},function(t,e){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=n(9),i=n(112),s=n(21),a=n(29);e.App=function(t,e){a.log("BotChat.App props",t),i.render(o.createElement(c,t),e)};var c=function(t){return o.createElement("div",{className:"wc-app"},o.createElement(s.Chat,r.__assign({},t)))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){}return t}();e.SpeechOptions=r},function(t,e,n){"use strict";var r=n(56),o=n(89)(6),i="findIndex",s=!0;i in[]&&Array(1)[i](function(){s=!1}),r(r.P+r.F*s,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(88)(i)},function(t,e,n){"use strict";var r=n(56),o=n(89)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(88)("find")},function(t,e,n){"use strict";var r=n(56),o=n(94),i=n(205),s="".startsWith;r(r.P+r.F*n(195)("startsWith"),"String",{startsWith:function(t){var e=i(this,t,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return s?s.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e){t.exports={supportsInteractivity:!0,strongSeparation:{spacing:40,lineThickness:1,lineColor:"#eeeeee"},fontFamily:'"Segoe UI", sans-serif',fontSizes:{small:12,normal:13,medium:15,large:17,extraLarge:19},fontWeights:{lighter:200,normal:400,bolder:700},colors:{dark:{normal:"#000000",subtle:"#808c95"},light:{normal:"#ffffff",subtle:"#88ffff"},accent:{normal:"#2e89fc",subtle:"#802E8901"},attention:{normal:"#ffd800",subtle:"#CCFFD800"},good:{normal:"#00ff00",subtle:"#CC00FF00"},warning:{normal:"#ff0000",subtle:"#CCFF0000"}},imageSizes:{small:40,medium:64,large:96},actions:{maxActions:100,separation:{spacing:8},buttonSpacing:8,stretch:!1,showCard:{actionMode:"inlineEdgeToEdge",inlineTopMargin:16,backgroundColor:"#00000000",padding:{top:8,right:8,bottom:8,left:8}},actionsOrientation:"vertical",actionAlignment:"left"},adaptiveCard:{backgroundColor:"#00000000",padding:{left:8,top:8,right:8,bottom:8}},container:{separation:{spacing:8},normal:{backgroundColor:"#00000000"},emphasis:{backgroundColor:"#eeeeee",borderColor:"#aaaaaa",borderThickness:{top:1,right:1,bottom:1,left:1},padding:{top:8,right:8,bottom:8,left:8}}},textBlock:{color:"dark",separations:{small:{spacing:8},normal:{spacing:8},medium:{spacing:8},large:{spacing:8},extraLarge:{spacing:8}}},image:{size:"medium",separation:{spacing:8}},imageSet:{imageSize:"medium",separation:{spacing:8}},factSet:{separation:{spacing:8},title:{color:"dark",size:"normal",isSubtle:!1,weight:"bolder",wrap:!0,maxWidth:150},value:{color:"dark",size:"normal",isSubtle:!1,weight:"normal",wrap:!0},spacing:8},input:{separation:{spacing:8}},columnSet:{separation:{spacing:8}},column:{separation:{spacing:8}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=n(9),i=n(52),s=n(183),a=n(184),c=function(t){var e=t.attachments,n=t.attachmentLayout,a=r.__rest(t,["attachments","attachmentLayout"]);return e&&0!==e.length?"carousel"===n?o.createElement(s.Carousel,r.__assign({attachments:e},a)):o.createElement("div",{className:"wc-list"},e.map(function(e,n){return o.createElement(i.AttachmentView,{key:n,attachment:e,format:t.format,onCardAction:t.onCardAction,onImageLoad:t.onImageLoad})})):null},u=function(t){function e(e){return t.call(this,e)||this}return r.__extends(e,t),e.prototype.shouldComponentUpdate=function(t){return this.props.activity!==t.activity||this.props.format!==t.format||"message"===this.props.activity.type&&"carousel"===this.props.activity.attachmentLayout&&this.props.size!==t.size},e.prototype.render=function(){var t=this.props,e=t.activity,n=r.__rest(t,["activity"]);switch(e.type){case"message":return o.createElement("div",null,o.createElement(a.FormattedText,{text:e.text,format:e.textFormat,onImageLoad:n.onImageLoad}),o.createElement(c,{attachments:e.attachments,attachmentLayout:e.attachmentLayout,format:n.format,onCardAction:n.onCardAction,onImageLoad:n.onImageLoad,size:n.size}));case"typing":return o.createElement("div",{className:"wc-typing"})}},e}(o.Component);e.ActivityView=u},function(t,e,n){"use strict";function r(t){for(var e=t.parent;e&&!(e instanceof l);)e=e.parent;return e}function o(t){if(!t.actions)return t;var e=[];return t.actions.forEach(function(t){if("Action.Http"!==t.type){if("Action.ShowCard"===t.type){var n=t;n.card=o(n.card)}e.push(t)}}),i.__assign({},t,{actions:e})}Object.defineProperty(e,"__esModule",{value:!0});var i=n(11),s=n(9),a=n(211),c=n(21),u=n(178),l=function(t){function e(e){var n=t.call(this)||this;return n.adaptiveCardContainer=e,n}return i.__extends(e,t),e}(a.AdaptiveCard);a.AdaptiveCard.onExecuteAction=function(t){if(t instanceof a.OpenUrlAction)window.open(t.url);else if(t instanceof a.SubmitAction){var e=r(t);if(e&&void 0!==t.data)if("object"==typeof t.data&&t.data.__isBotFrameworkCardAction){var n=t.data;e.adaptiveCardContainer.onCardAction(n.type,n.value)}else e.adaptiveCardContainer.onCardAction("string"==typeof t.data?"imBack":"postBack",t.data)}};var p=function(t){function e(e){var n=t.call(this,e)||this;return n.onCardAction=function(t,e){n.props.onCardAction(t,e)},n}return i.__extends(e,t),e.prototype.onClick=function(t){if(this.props.onClick)switch(t.target.tagName){case"A":case"AUDIO":case"VIDEO":case"BUTTON":case"INPUT":case"LABEL":case"TEXTAREA":case"SELECT":break;default:this.props.onClick(t)}},e.prototype.componentDidMount=function(){var t=this,e=new l(this);e.parse(o(this.props.card));var n=e.validate();if(0===n.length){var r=void 0;try{r=e.render()}catch(t){var i={error:-1,message:t};n.push(i),t.stack&&(i.message+="\n"+t.stack)}if(r){if(this.props.onImageLoad){var s=r.querySelectorAll("img");s&&s.length>0&&Array.prototype.forEach.call(s,function(e){e.addEventListener("load",t.props.onImageLoad)})}return void this.div.appendChild(r)}}n.length>0&&(console.log("Error(s) rendering AdaptiveCard:"),n.forEach(function(t){return console.log(t.message)}),this.setState({errors:n.map(function(t){return t.message})}))},e.prototype.render=function(){var t,e=this,n=this.state&&this.state.errors&&this.state.errors.length>0;return t=n?s.createElement("div",null,s.createElement("svg",{className:"error-icon",viewBox:"0 0 15 12.01"},s.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"})),s.createElement("div",{className:"error-text"},"Can't render card")):this.props.children?s.createElement("div",{className:"non-adaptive-content"},this.props.children):null,s.createElement("div",{className:c.classList("wc-card","wc-adaptive-card",this.props.className,n&&"error"),ref:function(t){return e.div=t},onClick:function(t){return e.onClick(t)}},t)},e.prototype.componentDidUpdate=function(){this.props.onImageLoad&&this.props.onImageLoad()},e}(s.Component);e.AdaptiveCardContainer=p,a.setHostConfig(u)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(173);e.App=r.App;var o=n(21);e.Chat=o.Chat,function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(53));var i=n(52);e.queryParams=i.queryParams;var s=n(174);e.SpeechOptions=s.SpeechOptions;var a=n(39);e.Speech=a.Speech,n(177),n(176),n(175)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=function(){function t(){this.container={type:"Container",items:[]},this.card={type:"AdaptiveCard",version:"0.5",body:[this.container]}}return t.prototype.addColumnSet=function(t,e){void 0===e&&(e=this.container);var n={type:"ColumnSet",columns:t.map(function(t){return{type:"Column",size:t.toString(),items:[]}})};return e.items.push(n),n.columns},t.prototype.addItems=function(t,e){void 0===e&&(e=this.container),e.items.push.apply(e.items,t)},t.prototype.addTextBlock=function(t,e,n){if(void 0===n&&(n=this.container),void 0!==t){var o=r.__assign({type:"TextBlock",text:t},e);n.items.push(o)}},t.prototype.addButtons=function(t){t&&(this.card.actions=t.map(function(t){var e=r.__assign({__isBotFrameworkCardAction:!0},t);return{title:t.title,type:"Action.Submit",data:e}}))},t.prototype.addCommon=function(t){this.addTextBlock(t.title,{size:"medium",weight:"bolder"}),this.addTextBlock(t.subtitle,{isSubtle:!0,wrap:!0,separation:"none"}),this.addTextBlock(t.text,{wrap:!0}),this.addButtons(t.buttons)},t.prototype.addImage=function(t,e){void 0===e&&(e=this.container);var n={type:"Image",url:t,size:"stretch"};e.items.push(n)},t}();e.AdaptiveCardBuilder=o,e.buildCommonCard=function(t){if(!t)return null;var e=new o;return e.addCommon(t),e.card}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=n(9),i=n(52),s=n(87),a=n(29),c=function(t){function e(e){return t.call(this,e)||this}return r.__extends(e,t),e.prototype.updateContentWidth=function(){var t=this.props.size.width-this.props.format.carouselMargin;this.root.style.width="",this.root.offsetWidth>t&&(this.root.style.width=t.toString()+"px",this.hscroll.updateScrollButtons())},e.prototype.componentDidMount=function(){this.updateContentWidth()},e.prototype.componentDidUpdate=function(){this.updateContentWidth()},e.prototype.render=function(){var t=this;return o.createElement("div",{className:"wc-carousel",ref:function(e){return t.root=e}},o.createElement(s.HScroll,{ref:function(e){return t.hscroll=e},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"},o.createElement(u,r.__assign({},this.props))))},e}(o.PureComponent);e.Carousel=c;var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.render=function(){a.log("rendering CarouselAttachments");var t=this.props,e=(t.attachments,r.__rest(t,["attachments"]));return o.createElement("ul",null,this.props.attachments.map(function(t,n){return o.createElement("li",{key:n,className:"wc-carousel-item"},o.createElement(i.AttachmentView,{attachment:t,format:e.format,onCardAction:e.onCardAction,onImageLoad:e.onImageLoad}))}))},e}(o.PureComponent)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(100),o=n(9);e.FormattedText=function(t){if(!t.text||""===t.text)return null;switch(t.format){case"xml":case"plain":return i(t.text);default:return c(t.text,t.onImageLoad)}};var i=function(t){var e=t.replace("\r","").split("\n"),n=e.map(function(t,e){return o.createElement("span",{key:e},t,o.createElement("br",null))});return o.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(t,e,n,r,o){return o.renderToken(t,e,n)};s.renderer.rules.link_open=function(t,e,n,r,o){var i=t[e].attrIndex("target");return i<0?t[e].attrPush(["target","_blank"]):t[e].attrs[i][1]="_blank",a(t,e,n,r,o)};var c=function(t,e){var n;if(t.trim()){n=t.replace(//gi,"\n").replace(/\[(.*?)\]\((.*?)( +".*?"){0,1}\)/gi,function(t,e,n,r){return"["+e+"]("+s.normalizeLink(n)+(void 0===r?"":r)+")"}).split(/\n *\n|\r\n *\r\n|\r *\r/).map(function(t){return s.render(t)}).join("
")}else n=t.replace(/ */," ");return o.createElement("div",{className:"format-markdown",dangerouslySetInnerHTML:{__html:n}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=n(9),i=n(48),s=n(179),a=n(21),c=n(29),u=n(40),l=function(t){function e(e){var n=t.call(this,e)||this;return n.scrollToBottom=!0,n.measurableCarousel=function(){return o.createElement(m,{ref:function(t){return n.carouselActivity=t},activity:{type:"message",id:"",from:{id:""},attachmentLayout:"carousel"},format:null,fromMe:!1,onClickActivity:null,onClickRetry:null,selected:!1,showTimestamp:!1},o.createElement("div",{style:{width:n.largeWidth}}," "))},n}return r.__extends(e,t),e.prototype.componentWillUpdate=function(){this.scrollToBottom=Math.abs(this.scrollMe.scrollHeight-this.scrollMe.scrollTop-this.scrollMe.offsetHeight)<=1},e.prototype.componentDidUpdate=function(){if(void 0==this.props.format.carouselMargin){var t=f(this.carouselActivity.messageDiv)-this.largeWidth,e=this.carouselActivity.messageDiv.offsetParent.offsetWidth-t,n=this.props.size.width-e;c.log("history measureMessage "+n),this.props.setMeasurements(n),this.carouselActivity=null}this.autoscroll()},e.prototype.autoscroll=function(){var t=Math.max(0,h(this.scrollMe)-this.scrollContent.offsetHeight);this.scrollContent.style.marginTop=t+"px";var e=this.props.activities[this.props.activities.length-1],n=e&&this.props.isFromMe&&this.props.isFromMe(e);(this.scrollToBottom||n)&&(this.scrollMe.scrollTop=this.scrollMe.scrollHeight-this.scrollMe.offsetHeight)},e.prototype.doCardAction=function(t,e){return this.props.onClickCardAction(),this.props.onCardAction&&this.props.onCardAction(),this.props.doCardAction(t,e)},e.prototype.render=function(){var t=this;c.log("History props",this);var e;void 0!==this.props.size.width&&(void 0===this.props.format.carouselMargin?(this.largeWidth=2*this.props.size.width,e=o.createElement(this.measurableCarousel,null)):e=this.props.activities.map(function(e,n){return o.createElement(m,{format:t.props.format,key:"message"+n,activity:e,showTimestamp:n===t.props.activities.length-1||n+13e5},m=function(t){function e(e){return t.call(this,e)||this}return r.__extends(e,t),e.prototype.render=function(){var t,e=this;switch(this.props.activity.id){case void 0:t=o.createElement("span",null,this.props.format.strings.messageSending);break;case null:t=o.createElement("span",null,this.props.format.strings.messageFailed);break;case"retry":t=o.createElement("span",null,this.props.format.strings.messageFailed," ",o.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())),t=o.createElement("span",null,this.props.activity.from.name||this.props.activity.from.id,n)}var r=this.props.fromMe?"me":"bot",i=a.classList("wc-message-wrapper",this.props.activity.attachmentLayout||"list",this.props.onClickActivity&&"clickable"),s=a.classList("wc-message-content",this.props.selected&&"selected");return o.createElement("div",{"data-activity-id":this.props.activity.id,className:i,onClick:this.props.onClickActivity},o.createElement("div",{className:"wc-message wc-message-from-"+r,ref:function(t){return e.messageDiv=t}},o.createElement("div",{className:s},o.createElement("svg",{className:"wc-message-callout"},o.createElement("path",{className:"point-left",d:"m0,6 l6 6 v-12 z"}),o.createElement("path",{className:"point-right",d:"m6,6 l-6 6 v-12 z"})),this.props.children)),o.createElement("div",{className:"wc-message-from wc-message-from-"+r},t))},e}(o.Component);e.WrappedActivity=m},function(t,e,n){"use strict";function r(t){if(t&&0!==t.length){var e=t[t.length-1];return"message"===e.type&&e.suggestedActions&&e.suggestedActions.actions.length>0?e:void 0}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(11),i=n(9),s=n(48),a=n(87),c=n(21),u=n(40),l=function(t){return i.createElement("div",{className:c.classList("wc-message-pane",t.activityWithSuggestedActions&&"show-actions")},t.children,i.createElement("div",{className:"wc-suggested-actions"},i.createElement(p,o.__assign({},t))))},p=function(t){function e(e){return t.call(this,e)||this}return o.__extends(e,t),e.prototype.actionClick=function(t,e){this.props.activityWithSuggestedActions&&(this.props.takeSuggestedAction(this.props.activityWithSuggestedActions),this.props.doCardAction(e.type,e.value),t.stopPropagation())},e.prototype.shouldComponentUpdate=function(t){return!!t.activityWithSuggestedActions},e.prototype.render=function(){var t=this;return this.props.activityWithSuggestedActions?i.createElement(a.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(e,n){return i.createElement("li",{key:n},i.createElement("button",{type:"button",onClick:function(n){return t.actionClick(n,e)},title:e.title},e.title))}))):null},e}(i.Component);e.MessagePane=s.connect(function(t){return{activityWithSuggestedActions:r(t.history.activities),botConnection:t.connection.botConnection,user:t.connection.user,locale:t.format.locale}},{takeSuggestedAction:function(t){return{type:"Take_SuggestedAction",message:t}},sendMessage:u.sendMessage},function(t,e,n){return{activityWithSuggestedActions:t.activityWithSuggestedActions,takeSuggestedAction:e.takeSuggestedAction,children:n.children,doCardAction:c.doCardAction(t.botConnection,t.user,t.locale,e.sendMessage)}})(l)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=n(9),i=n(21),s=n(48),a=n(39),c=n(40),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.sendMessage=function(){this.props.inputText.trim().length>0&&this.props.sendMessage(this.props.inputText)},e.prototype.handleSendButtonKeyPress=function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.sendMessage(),this.textInput.focus())},e.prototype.handleUploadButtonKeyPress=function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.fileInput.click())},e.prototype.onKeyPress=function(t){"Enter"===t.key&&this.sendMessage()},e.prototype.onClickSend=function(){this.sendMessage()},e.prototype.onChangeFile=function(){this.props.sendFiles(this.fileInput.files),this.fileInput.value=null,this.textInput.focus()},e.prototype.onTextInputFocus=function(){this.props.listening&&this.props.stopListening()},e.prototype.onClickMic=function(){this.props.listening?this.props.stopListening():this.props.startListening()},e.prototype.focus=function(t){this.textInput.focus(),t&&this.props.onChangeText(this.props.inputText+t)},e.prototype.render=function(){var t=this,e=i.classList("wc-console",this.props.inputText.length>0&&"has-text"),n=this.props.listening||a.Speech.SpeechRecognizer.speechIsAvailable()&&!this.props.inputText.length,r=i.classList("wc-send",n&&"hidden"),s=i.classList("wc-mic",!n&&"hidden",this.props.listening&&"active",!this.props.listening&&"inactive"),c=this.props.listening?this.props.strings.listeningIndicator:this.props.strings.consolePlaceholder;return o.createElement("div",{className:e},o.createElement("label",{className:"wc-upload",onKeyPress:function(e){return t.handleUploadButtonKeyPress(e)},tabIndex:0},o.createElement("svg",null,o.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"})),o.createElement("input",{id:"wc-upload-input",tabIndex:-1,type:"file",ref:function(e){return t.fileInput=e},multiple:!0,onChange:function(){return t.onChangeFile()},"aria-label":this.props.strings.uploadFile,role:"button"})),o.createElement("div",{className:"wc-textbox"},o.createElement("input",{type:"text",className:"wc-shellinput",ref:function(e){return t.textInput=e},autoFocus:!0,value:this.props.inputText,onChange:function(e){return t.props.onChangeText(t.textInput.value)},onKeyPress:function(e){return t.onKeyPress(e)},onFocus:function(){return t.onTextInputFocus()},placeholder:c,"aria-label":this.props.inputText?null:c,"aria-live":"polite"})),o.createElement("button",{className:r,onClick:function(){return t.onClickSend()},"aria-label":this.props.strings.send,role:"button",onKeyPress:function(e){return t.handleSendButtonKeyPress(e)},tabIndex:0},o.createElement("svg",null,o.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"}))),o.createElement("button",{className:s,onClick:function(){return t.onClickMic()},"aria-label":this.props.strings.speak,role:"button",tabIndex:0},o.createElement("svg",{width:"28",height:"22",viewBox:"0 0 58 58"},o.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"}),o.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"}),o.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"}))))},e}(o.Component);e.Shell=s.connect(function(t){return{inputText:t.shell.input,strings:t.format.strings,locale:t.format.locale,user:t.connection.user,listening:t.shell.listening}},{onChangeText:function(t){return{type:"Update_Input",input:t,source:"text"}},stopListening:function(){return{type:"Listening_Stop"}},startListening:function(){return{type:"Listening_Starting"}},sendMessage:c.sendMessage,sendFiles:c.sendFiles},function(t,e,n){return{inputText:t.inputText,strings:t.strings,listening:t.listening,onChangeText:e.onChangeText,sendMessage:function(n){return e.sendMessage(n,t.user,t.locale)},sendFiles:function(n){return e.sendFiles(n,t.user,t.locale)},startListening:function(){return e.startListening()},stopListening:function(){return e.stopListening()}}},{withRef:!0})(u)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={"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:"",speak:""},"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:" am %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łuchający...",uploadFile:"",speak:""},"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:"het luisteren...",uploadFile:"",speak:""},"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:"",speak:""},"fr-fr":{title:"Chat",send:"Envoyer",unknownFile:"[Fichier de type '%1']",unknownCard:"[Carte inconnue '%1']",receiptVat:"TVA",receiptTax:"Taxe",receiptTotal:"Total",messageRetry:"reéssayer",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:"VAT",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:"",speak:""},"ko-kr":{title:"채팅",send:"전송",unknownFile:"[파일 형식 '%1']",unknownCard:"[알수없는 타입의 카드 '%1']",receiptVat:"부가세",receiptTax:"세액",receiptTotal:"합계",messageRetry:"재전송",messageFailed:"전송할 수 없습니다",messageSending:"전송중",timeSent:" %1",consolePlaceholder:"메세지를 입력하세요...",listeningIndicator:"수신중...",uploadFile:"",speak:""}};e.defaultStrings=r["en-us"],e.strings=function(t){return t.startsWith("da")?t="da-dk":t.startsWith("de")?t="de-de":t.startsWith("no")||t.startsWith("nb")||t.startsWith("nn")?t="nb-no":t.startsWith("pl")?t="pl-pl":t.startsWith("ru")?t="ru-ru":t.startsWith("nl")?t="nl-nl":t.startsWith("lv")?t="lv-lv":t.startsWith("pt")?t="pt-br":t.startsWith("fr")?t="fr-fr":t.startsWith("es")?t="es-es":t.startsWith("el")?t="el-gr":t.startsWith("it")?t="it-it":"zh-hant"===t||"zh-hk"===t||"zh-mo"===t||"zh-tw"===t?t="zh-hant":t.startsWith("zh")?t="zh-hans":t.startsWith("cs")?t="cs-cz":t.startsWith("ko")?t="ko-kr":t.startsWith("ja")?t="ja-jp":t in r==!1&&(t="en-us"),r[t]}},function(t,e,n){"use strict";function r(t){var e=t.tabIndex;if(s){var n=t.attributes.getNamedItem("tabindex");if(!n||!n.specified)return~o.indexOf(t.nodeName.toLowerCase())?0:null}else if(!~e){var r=t.getAttribute("tabindex");if(null===r||""===r&&!i)return null}return e}Object.defineProperty(e,"__esModule",{value:!0});var o=["a","body","button","frame","iframe","img","input","isindex","object","select","textarea"],i=/Firefox\//i.test(navigator.userAgent),s=/Trident\//i.test(navigator.userAgent);e.getTabIndex=r},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(31);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(31),o=n(199),i=n(41)("species");t.exports=function(t){var e;return o(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var r=n(192);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(31),o=n(30).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(41)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(55)&&!n(93)(function(){return 7!=Object.defineProperty(n(194)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(54);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(54);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(31),o=n(54),i=n(41)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(191),o=n(197),i=n(208),s=Object.defineProperty;e.f=n(55)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(30),o=n(57),i=n(196),s=n(95)("src"),a=Function.toString,c=(""+a).split("toString");n(90).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(u&&(i(n,s)||o(n,s,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},function(t,e,n){var r=n(30),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var r=n(200),o=n(92);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(92);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(31);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){"use strict";function r(t){return t}function o(t,e,n){function o(t,e){var n=y.hasOwnProperty(e)?y[e]:null;w.hasOwnProperty(e)&&a("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",e),t&&a("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",e)}function u(t,n){if(n){a("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),a(!e(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=t.prototype,i=r.__reactAutoBindPairs;n.hasOwnProperty(c)&&b.mixins(t,n.mixins);for(var s in n)if(n.hasOwnProperty(s)&&s!==c){var u=n[s],l=r.hasOwnProperty(s);if(o(l,s),b.hasOwnProperty(s))b[s](t,u);else{var p=y.hasOwnProperty(s),d="function"==typeof u,m=d&&!p&&!l&&!1!==n.autobind;if(m)i.push(s,u),r[s]=u;else if(l){var v=y[s];a(p&&("DEFINE_MANY_MERGED"===v||"DEFINE_MANY"===v),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",v,s),"DEFINE_MANY_MERGED"===v?r[s]=h(r[s],u):"DEFINE_MANY"===v&&(r[s]=f(r[s],u))}else r[s]=u}}}else;}function l(t,e){if(e)for(var n in e){var r=e[n];if(e.hasOwnProperty(n)){var o=n in b;a(!o,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var i=n in t;a(!i,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),t[n]=r}}}function p(t,e){a(t&&e&&"object"==typeof t&&"object"==typeof e,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in e)e.hasOwnProperty(n)&&(a(void 0===t[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),t[n]=e[n]);return t}function h(t,e){return function(){var n=t.apply(this,arguments),r=e.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return p(o,n),p(o,r),o}}function f(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function d(t,e){var n=e.bind(t);return n}function m(t){for(var e=t.__reactAutoBindPairs,n=0;n",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(t,e,n){(function(e){t.exports=e.AdaptiveCards=n(284)}).call(e,n(38))},function(t,e,n){"use strict";function r(t){return t.replace(o,function(t,e){return e.toUpperCase()})}var o=/-(.)/g;t.exports=r},function(t,e,n){"use strict";function r(t){return o(t.replace(i,"ms-"))}var o=n(212),i=/^-ms-/;t.exports=r},function(t,e,n){"use strict";function r(t,e){return!(!t||!e)&&(t===e||!o(t)&&(o(e)?r(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}var o=n(222);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&s(!1),"number"!=typeof e&&s(!1),0===e||e-1 in t||s(!1),"function"==typeof t.callee&&s(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),r=0;r":"<"+t+">",a[t]=!s.firstChild),a[t]?h[t]:null}var o=n(7),i=n(1),s=o.canUseDOM?document.createElement("div"):null,a={},c=[1,'"],u=[1,"","
"],l=[3,"","
"],p=[1,'',""],h={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:c,option:c,caption:u,colgroup:u,tbody:u,tfoot:u,thead:u,td:l,th:l};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(t){h[t]=p,a[t]=!0}),t.exports=r},function(t,e,n){"use strict";function r(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}t.exports=r},function(t,e,n){"use strict";function r(t){return t.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;t.exports=r},function(t,e,n){"use strict";function r(t){return o(t).replace(i,"-ms-")}var o=n(219),i=/^ms-/;t.exports=r},function(t,e,n){"use strict";function r(t){var e=t?t.ownerDocument||t:document,n=e.defaultView||window;return!(!t||!("function"==typeof n.Node?t instanceof n.Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}t.exports=r},function(t,e,n){"use strict";function r(t){return o(t)&&3==t.nodeType}var o=n(221);t.exports=r},function(t,e,n){"use strict";function r(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}t.exports=r},function(t,e,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},i="function"==typeof Object.getOwnPropertySymbols;t.exports=function(t,e,n){if("string"!=typeof e){var s=Object.getOwnPropertyNames(e);i&&(s=s.concat(Object.getOwnPropertySymbols(e)));for(var a=0;a0&&t.__compiled__[e]}).map(u).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+o.src_ZPCc+"))("+m+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+o.src_ZPCc+"))("+m+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),p(t)}function m(t,e){var n=t.__index__,r=t.__last_index__,o=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=o,this.text=o,this.url=o}function v(t,e){var n=new m(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function g(t,e){if(!(this instanceof g))return new g(t,e);e||l(t)&&(e=t,t={}),this.__opts__=r({},y,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},b,t),this.__compiled__={},this.__tlds__=C,this.__tlds_replaced__=!1,this.re={},d(this)}var y={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},b={"http:":{validate:function(t,e,n){var r=t.slice(e);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(t,e,n){var r=t.slice(e);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)?e>=3&&":"===t[e-3]?0:e>=3&&"/"===t[e-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var r=t.slice(e);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]",C="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");g.prototype.add=function(t,e){return this.__schemas__[t]=e,d(this),this},g.prototype.set=function(t){return this.__opts__=r(this.__opts__,t),this},g.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var e,n,r,o,i,s,a,c;if(this.re.schema_test.test(t))for(a=this.re.schema_search,a.lastIndex=0;null!==(e=a.exec(t));)if(o=this.testSchemaAt(t,e[2],a.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c=0&&null!==(r=t.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=s)),this.__index__>=0},g.prototype.pretest=function(t){return this.re.pretest.test(t)},g.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},g.prototype.match=function(t){var e=0,n=[];this.__index__>=0&&this.__text_cache__===t&&(n.push(v(this,e)),e=this.__last_index__);for(var r=e?t.slice(e):t;this.test(r);)n.push(v(this,e)),r=r.slice(this.__last_index__),e+=this.__last_index__;return n.length?n:null},g.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(t,e,n){return t!==n[e-1]}).reverse(),d(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,d(this),this)},g.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},g.prototype.onCompile=function(){},t.exports=g},function(t,e,n){"use strict";t.exports=function(t){var e={};e.src_Any=n(171).source,e.src_Cc=n(169).source,e.src_Z=n(170).source,e.src_P=n(86).source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");return e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.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]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+e.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+e.src_ZCc+").|\\!(?!"+e.src_ZCc+"|[!]).|\\?(?!"+e.src_ZCc+"|[?]).)+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-(?!-)|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|[><|]|\\(|"+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},function(t,e,n){"use strict";function r(t){return null==t?void 0===t?c:a:u&&u in Object(t)?n.i(i.a)(t):n.i(s.a)(t)}var o=n(99),i=n(231),s=n(232),a="[object Null]",c="[object Undefined]",u=o.a?o.a.toStringTag:void 0;e.a=r},function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.a=n}).call(e,n(38))},function(t,e,n){"use strict";var r=n(233),o=n.i(r.a)(Object.getPrototypeOf,Object);e.a=o},function(t,e,n){"use strict";function r(t){var e=s.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[c]=n:delete t[c]),o}var o=n(99),i=Object.prototype,s=i.hasOwnProperty,a=i.toString,c=o.a?o.a.toStringTag:void 0;e.a=r},function(t,e,n){"use strict";function r(t){return i.call(t)}var o=Object.prototype,i=o.toString;e.a=r},function(t,e,n){"use strict";function r(t,e){return function(n){return t(e(n))}}e.a=r},function(t,e,n){"use strict";var r=n(229),o="object"==typeof self&&self&&self.Object===Object&&self,i=r.a||o||Function("return this")();e.a=i},function(t,e,n){"use strict";function r(t){return null!=t&&"object"==typeof t}e.a=r},function(t,e,n){"use strict";t.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(t,e,n){"use strict";e.parseLinkLabel=n(239),e.parseLinkDestination=n(238),e.parseLinkTitle=n(240)},function(t,e,n){"use strict";var r=n(2).isSpace,o=n(2).unescapeAll;t.exports=function(t,e,n){var i,s,a=e,c={ok:!1,pos:0,lines:0,str:""};if(60===t.charCodeAt(e)){for(e++;e1)break;if(41===i&&--s<0)break;e++}return a===e?c:(c.str=o(t.slice(a,e)),c.lines=0,c.pos=e,c.ok=!0,c)}},function(t,e,n){"use strict";t.exports=function(t,e,n){var r,o,i,s,a=-1,c=t.posMax,u=t.pos;for(t.pos=e+1,r=1;t.pos=n)return c;if(34!==(i=t.charCodeAt(e))&&39!==i&&40!==i)return c;for(e++,40===i&&(i=41);e=0))try{e.hostname=m.toASCII(e.hostname)}catch(t){}return d.encode(d.format(e))}function i(t){var e=d.parse(t,!0);if(e.hostname&&(!e.protocol||b.indexOf(e.protocol)>=0))try{e.hostname=m.toUnicode(e.hostname)}catch(t){}return d.decode(d.format(e))}function s(t,e){if(!(this instanceof s))return new s(t,e);e||a.isString(t)||(e=t||{},t="default"),this.inline=new h,this.block=new p,this.core=new l,this.renderer=new u,this.linkify=new f,this.validateLink=r,this.normalizeLink=o,this.normalizeLinkText=i,this.utils=a,this.helpers=a.assign({},c),this.options={},this.configure(t),e&&this.set(e)}var a=n(2),c=n(237),u=n(248),l=n(243),p=n(242),h=n(244),f=n(226),d=n(105),m=n(291),v={default:n(246),zero:n(247),commonmark:n(245)},g=/^(vbscript|javascript|file|data):/,y=/^data:image\/(gif|png|jpeg|webp);/,b=["http:","https:","mailto:"];s.prototype.set=function(t){return a.assign(this.options,t),this},s.prototype.configure=function(t){var e,n=this;if(a.isString(t)&&(e=t,!(t=v[e])))throw new Error('Wrong `markdown-it` preset "'+e+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&n.set(t.options),t.components&&Object.keys(t.components).forEach(function(e){t.components[e].rules&&n[e].ruler.enableOnly(t.components[e].rules),t.components[e].rules2&&n[e].ruler2.enableOnly(t.components[e].rules2)}),this},s.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(t){return n.indexOf(t)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},s.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(t){return n.indexOf(t)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},s.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},s.prototype.parse=function(t,e){if("string"!=typeof t)throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},s.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},s.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},s.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)},t.exports=s},function(t,e,n){"use strict";function r(){this.ruler=new o;for(var t=0;t=n))&&!(t.sCount[s]=c){t.line=n;break}for(r=0;r=i)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},r.prototype.parse=function(t,e,n,r){var o,i,s,a=new this.State(t,e,n,r);for(this.tokenize(a),i=this.ruler2.getRules(""),s=i.length,o=0;o"+s(t[e].content)+""},a.code_block=function(t,e,n,r,o){var i=t[e];return""+s(t[e].content)+"\n"},a.fence=function(t,e,n,r,o){var a,c,u,l,p=t[e],h=p.info?i(p.info).trim():"",f="";return h&&(f=h.split(/\s+/g)[0]),a=n.highlight?n.highlight(p.content,f)||s(p.content):s(p.content),0===a.indexOf(""+a+"\n"):"
"+a+"
\n"},a.image=function(t,e,n,r,o){var i=t[e];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,n,r),o.renderToken(t,e,n)},a.hardbreak=function(t,e,n){return n.xhtmlOut?"
\n":"
\n"},a.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},a.text=function(t,e){return s(t[e].content)},a.html_block=function(t,e){return t[e].content},a.html_inline=function(t,e){return t[e].content},r.prototype.renderAttrs=function(t){var e,n,r;if(!t.attrs)return"";for(r="",e=0,n=t.attrs.length;e\n":">")},r.prototype.renderInline=function(t,e,n){for(var r,o="",i=this.rules,s=0,a=t.length;s=4)return!1;if(62!==t.src.charCodeAt(E++))return!1;if(o)return!0;for(c=d=t.sCount[e]+E-(t.bMarks[e]+t.tShift[e]),32===t.src.charCodeAt(E)?(E++,c++,d++,i=!1,C=!0):9===t.src.charCodeAt(E)?(C=!0,(t.bsCount[e]+d)%4==3?(E++,c++,d++,i=!1):i=!0):C=!1,m=[t.bMarks[e]],t.bMarks[e]=E;E=A,b=[t.sCount[e]],t.sCount[e]=d-c,_=[t.tShift[e]],t.tShift[e]=E-t.bMarks[e],x=t.md.block.ruler.getRules("blockquote"),y=t.parentType,t.parentType="blockquote",f=e+1;f=A));f++)if(62!==t.src.charCodeAt(E++)||u){if(p)break;for(w=!1,a=0,l=x.length;a=A,v.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(C?1:0),b.push(t.sCount[f]),t.sCount[f]=d-c,_.push(t.tShift[f]),t.tShift[f]=E-t.bMarks[f]}for(g=t.blkIndent,t.blkIndent=0,k=t.push("blockquote_open","blockquote",1),k.markup=">",k.map=h=[e,0],t.md.block.tokenize(t,e,f),k=t.push("blockquote_close","blockquote",-1),k.markup=">",t.lineMax=S,t.parentType=y,h[1]=t.line,a=0;a<_.length;a++)t.bMarks[a+e]=m[a],t.tShift[a+e]=_[a],t.sCount[a+e]=b[a],t.bsCount[a+e]=v[a];return t.blkIndent=g,!0}},function(t,e,n){"use strict";t.exports=function(t,e,n){var r,o,i;if(t.sCount[e]-t.blkIndent<4)return!1;for(o=r=e+1;r=4))break;r++,o=r}return t.line=o,i=t.push("code_block","code",0),i.content=t.getLines(e,o,4+t.blkIndent,!0),i.map=[e,t.line],!0}},function(t,e,n){"use strict";t.exports=function(t,e,n,r){var o,i,s,a,c,u,l,p=!1,h=t.bMarks[e]+t.tShift[e],f=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(h+3>f)return!1;if(126!==(o=t.src.charCodeAt(h))&&96!==o)return!1;if(c=h,h=t.skipChars(h,o),(i=h-c)<3)return!1;if(l=t.src.slice(c,h),s=t.src.slice(h,f),s.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;for(a=e;!(++a>=n)&&(h=c=t.bMarks[a]+t.tShift[a],f=t.eMarks[a],!(h=4||(h=t.skipChars(h,o))-c=4)return!1;if(35!==(i=t.src.charCodeAt(u))||u>=l)return!1;for(s=1,i=t.src.charCodeAt(++u);35===i&&u6||uu&&r(t.src.charCodeAt(a-1))&&(l=a),t.line=e+1,c=t.push("heading_open","h"+String(s),1),c.markup="########".slice(0,s),c.map=[e,t.line],c=t.push("inline","",0),c.content=t.src.slice(u,l).trim(),c.map=[e,t.line],c.children=[],c=t.push("heading_close","h"+String(s),-1),c.markup="########".slice(0,s),!0))}},function(t,e,n){"use strict";var r=n(2).isSpace;t.exports=function(t,e,n,o){var i,s,a,c,u=t.bMarks[e]+t.tShift[e],l=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(42!==(i=t.src.charCodeAt(u++))&&45!==i&&95!==i)return!1;for(s=1;u|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];t.exports=function(t,e,n,r){var o,s,a,c,u=t.bMarks[e]+t.tShift[e],l=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(u))return!1;for(c=t.src.slice(u,l),o=0;o=4)return!1;for(h=t.parentType,t.parentType="paragraph";f3)){if(t.sCount[f]>=t.blkIndent&&(c=t.bMarks[f]+t.tShift[f],u=t.eMarks[f],c=u))){l=61===p?1:2;break}if(!(t.sCount[f]<0)){for(o=!1,i=0,s=d.length;i=i)return-1;if((n=t.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=i)return-1;n=t.src.charCodeAt(o++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-r>=10)return-1}}return o=4)return!1;if(a&&"paragraph"===t.parentType&&t.tShift[e]>=t.blkIndent&&(L=!0),(P=o(t,e))>=0){if(d=!0,D=t.bMarks[e]+t.tShift[e],_=Number(t.src.substr(D,P-D-1)),L&&1!==_)return!1}else{if(!((P=r(t,e))>=0))return!1;d=!1}if(L&&t.skipSpaces(P)>=t.eMarks[e])return!1;if(b=t.src.charCodeAt(P-1),a)return!0;for(y=t.tokens.length,d?(R=t.push("ordered_list_open","ol",1),1!==_&&(R.attrs=[["start",_]])):R=t.push("bullet_list_open","ul",1),R.map=g=[e,0],R.markup=String.fromCharCode(b),w=e,I=!1,N=t.md.block.ruler.getRules("list"),E=t.parentType,t.parentType="list";w=C?1:x-f,h>4&&(h=1),p=f+h,R=t.push("list_item_open","li",1),R.markup=String.fromCharCode(b),R.map=m=[e,0],k=t.blkIndent,T=t.tight,A=t.tShift[e],S=t.sCount[e],t.blkIndent=p,t.tight=!0,t.tShift[e]=u-t.bMarks[e],t.sCount[e]=x,u>=C&&t.isEmpty(e+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,e,n,!0),t.tight&&!I||(j=!1),I=t.line-e>1&&t.isEmpty(t.line-1),t.blkIndent=k,t.tShift[e]=A,t.sCount[e]=S,t.tight=T,R=t.push("list_item_close","li",-1),R.markup=String.fromCharCode(b),w=e=t.line,m[1]=w,u=t.bMarks[e],w>=n)break;if(t.sCount[w]3||t.sCount[c]<0)){for(r=!1,o=0,i=u.length;o=4)return!1;if(91!==t.src.charCodeAt(x))return!1;for(;++x3||t.sCount[S]<0)){for(b=!1,p=0,h=_.length;p0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},r.prototype.skipEmptyLines=function(t){for(var e=this.lineMax;te;)if(!i(this.src.charCodeAt(--t)))return t+1;return t},r.prototype.skipChars=function(t,e){for(var n=this.src.length;tn;)if(e!==this.src.charCodeAt(--t))return t+1;return t},r.prototype.getLines=function(t,e,n,r){var o,s,a,c,u,l,p,h=t;if(t>=e)return"";for(l=new Array(e-t),o=0;hn?new Array(s-n+1).join(" ")+this.src.slice(c,u):this.src.slice(c,u)}return l.join("")},r.prototype.Token=o,t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=t.bMarks[e]+t.blkIndent,r=t.eMarks[e];return t.src.substr(n,r-n)}function o(t){var e,n=[],r=0,o=t.length,i=0,s=0,a=!1,c=0;for(e=t.charCodeAt(r);rn)return!1;if(p=e+1,t.sCount[p]=4)return!1;if((u=t.bMarks[p]+t.tShift[p])>=t.eMarks[p])return!1;if(124!==(a=t.src.charCodeAt(u++))&&45!==a&&58!==a)return!1;for(;u=4)return!1;if(h=o(c.replace(/^\||\|$/g,"")),(f=h.length)>m.length)return!1;if(s)return!0;for(d=t.push("table_open","table",1),d.map=g=[e,0],d=t.push("thead_open","thead",1),d.map=[e,e+1],d=t.push("tr_open","tr",1),d.map=[e,e+1],l=0;l=4);p++){for(h=o(c.replace(/^\||\|$/g,"")),d=t.push("tr_open","tr",1),l=0;l\s]/i.test(t)}function o(t){return/^<\/a\s*>/i.test(t)}var i=n(2).arrayReplaceAt;t.exports=function(t){var e,n,s,a,c,u,l,p,h,f,d,m,v,g,y,b,_,C=t.tokens;if(t.md.options.linkify)for(n=0,s=C.length;n=0;e--)if(u=a[e],"link_close"!==u.type){if("html_inline"===u.type&&(r(u.content)&&v>0&&v--,o(u.content)&&v++),!(v>0)&&"text"===u.type&&t.md.linkify.test(u.content)){for(h=u.content,_=t.md.linkify.match(h),l=[],m=u.level,d=0,p=0;p<_.length;p++)g=_[p].url,y=t.md.normalizeLink(g),t.md.validateLink(y)&&(b=_[p].text,b=_[p].schema?"mailto:"!==_[p].schema||/^mailto:/i.test(b)?t.md.normalizeLinkText(b):t.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):t.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),f=_[p].index,f>d&&(c=new t.Token("text","",0),c.content=h.slice(d,f),c.level=m,l.push(c)),c=new t.Token("link_open","a",1),c.attrs=[["href",y]],c.level=m++,c.markup="linkify",c.info="auto",l.push(c),c=new t.Token("text","",0),c.content=b,c.level=m,l.push(c),c=new t.Token("link_close","a",-1),c.level=--m,c.markup="linkify",c.info="auto",l.push(c),d=_[p].lastIndex);d=0;e--)n=t[e],"text"!==n.type||o||(n.content=n.content.replace(c,r)),"link_open"===n.type&&"auto"===n.info&&o--,"link_close"===n.type&&"auto"===n.info&&o++}function i(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],"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,c=/\((c|tm|r|p)\)/gi,u={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(t){var e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&(a.test(t.tokens[e].content)&&o(t.tokens[e].children),s.test(t.tokens[e].content)&&i(t.tokens[e].children))}},function(t,e,n){"use strict";function r(t,e,n){return t.substr(0,e)+n+t.substr(e+1)}function o(t,e){var n,o,c,p,h,f,d,m,v,g,y,b,_,C,w,x,k,S,E,A,T;for(E=[],n=0;n=0&&!(E[k].level<=d);k--);if(E.length=k+1,"text"===o.type){c=o.content,h=0,f=c.length;t:for(;h=0)v=c.charCodeAt(p.index-1);else for(k=n-1;k>=0;k--)if("text"===t[k].type){v=t[k].content.charCodeAt(t[k].content.length-1);break}if(g=32,h=48&&v<=57&&(x=w=!1),w&&x&&(w=!1,x=b),w||x){if(x)for(k=E.length-1;k>=0&&(m=E[k],!(E[k].level=0;e--)"inline"===t.tokens[e].type&&c.test(t.tokens[e].content)&&o(t.tokens[e].children,t)}},function(t,e,n){"use strict";function r(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}var o=n(61);r.prototype.Token=o,t.exports=r},function(t,e,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])?)*)>/,o=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(t,e){var n,i,s,a,c,u,l=t.pos;return 60===t.src.charCodeAt(l)&&(n=t.src.slice(l),!(n.indexOf(">")<0)&&(o.test(n)?(i=n.match(o),a=i[0].slice(1,-1),c=t.md.normalizeLink(a),!!t.md.validateLink(c)&&(e||(u=t.push("link_open","a",1),u.attrs=[["href",c]],u.markup="autolink",u.info="auto",u=t.push("text","",0),u.content=t.md.normalizeLinkText(a),u=t.push("link_close","a",-1),u.markup="autolink",u.info="auto"),t.pos+=i[0].length,!0)):!!r.test(n)&&(s=n.match(r),a=s[0].slice(1,-1),c=t.md.normalizeLink("mailto:"+a),!!t.md.validateLink(c)&&(e||(u=t.push("link_open","a",1),u.attrs=[["href",c]],u.markup="autolink",u.info="auto",u=t.push("text","",0),u.content=t.md.normalizeLinkText(a),u=t.push("link_close","a",-1),u.markup="autolink",u.info="auto"),t.pos+=s[0].length,!0))))}},function(t,e,n){"use strict";t.exports=function(t,e){var n,r,o,i,s,a,c=t.pos;if(96!==t.src.charCodeAt(c))return!1;for(n=c,c++,r=t.posMax;c=0;){if(o=i[n],o.open&&o.marker===r.marker&&o.end<0&&o.level===r.level){var a=(o.close||r.open)&&void 0!==o.length&&void 0!==r.length&&(o.length+r.length)%3==0;if(!a){r.jump=e-n,r.open=!1,o.end=e,o.jump=0;break}}n-=o.jump+1}}},function(t,e,n){"use strict";var r=n(101),o=n(2).has,i=n(2).isValidEntityCode,s=n(2).fromCodePoint,a=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;t.exports=function(t,e){var n,u,l=t.pos,p=t.posMax;if(38!==t.src.charCodeAt(l))return!1;if(l+1?@[]^_`{|}~-".split("").forEach(function(t){o[t.charCodeAt(0)]=1}),t.exports=function(t,e){var n,i=t.pos,s=t.posMax;if(92!==t.src.charCodeAt(i))return!1;if(++i=97&&e<=122}var o=n(102).HTML_TAG_RE;t.exports=function(t,e){var n,i,s,a,c=t.pos;return!!t.md.options.html&&(s=t.posMax,!(60!==t.src.charCodeAt(c)||c+2>=s)&&(!(33!==(n=t.src.charCodeAt(c+1))&&63!==n&&47!==n&&!r(n))&&(!!(i=t.src.slice(c).match(o))&&(e||(a=t.push("html_inline","",0),a.content=t.src.slice(c,c+i[0].length)),t.pos+=i[0].length,!0))))}},function(t,e,n){"use strict";var r=n(2).normalizeReference,o=n(2).isSpace;t.exports=function(t,e){var n,i,s,a,c,u,l,p,h,f,d,m,v,g="",y=t.pos,b=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;if(u=t.pos+2,(c=t.md.helpers.parseLinkLabel(t,t.pos+1,!1))<0)return!1;if((l=c+1)=b)return!1;for(v=l,h=t.md.helpers.parseLinkDestination(t.src,l,t.posMax),h.ok&&(g=t.md.normalizeLink(h.str),t.md.validateLink(g)?l=h.pos:g=""),v=l;l=b||41!==t.src.charCodeAt(l))return t.pos=y,!1;l++}else{if(void 0===t.env.references)return!1;if(l=0?a=t.src.slice(v,l++):l=c+1):l=c+1,a||(a=t.src.slice(u,c)),!(p=t.env.references[r(a)]))return t.pos=y,!1;g=p.href,f=p.title}return e||(s=t.src.slice(u,c),t.md.inline.parse(s,t.md,t.env,m=[]),d=t.push("image","img",0),d.attrs=n=[["src",g],["alt",""]],d.children=m,d.content=s,f&&n.push(["title",f])),t.pos=l,t.posMax=b,!0}},function(t,e,n){"use strict";var r=n(2).normalizeReference,o=n(2).isSpace;t.exports=function(t,e){var n,i,s,a,c,u,l,p,h,f,d="",m=t.pos,v=t.posMax,g=t.pos,y=!0;if(91!==t.src.charCodeAt(t.pos))return!1;if(c=t.pos+1,(a=t.md.helpers.parseLinkLabel(t,t.pos,!0))<0)return!1;if((u=a+1)=v)return!1;for(g=u,l=t.md.helpers.parseLinkDestination(t.src,u,t.posMax),l.ok&&(d=t.md.normalizeLink(l.str),t.md.validateLink(d)?u=l.pos:d=""),g=u;u=v||41!==t.src.charCodeAt(u))&&(y=!0),u++}if(y){if(void 0===t.env.references)return!1;if(u=0?s=t.src.slice(g,u++):u=a+1):u=a+1,s||(s=t.src.slice(c,a)),!(p=t.env.references[r(s)]))return t.pos=m,!1;d=p.href,h=p.title}return e||(t.pos=c,t.posMax=a,f=t.push("link_open","a",1),f.attrs=n=[["href",d]],h&&n.push(["title",h]),t.md.inline.tokenize(t),f=t.push("link_close","a",-1)),t.pos=u,t.posMax=v,!0}},function(t,e,n){"use strict";var r=n(2).isSpace;t.exports=function(t,e){var n,o,i=t.pos;if(10!==t.src.charCodeAt(i))return!1;for(n=t.pending.length-1,o=t.posMax,e||(n>=0&&32===t.pending.charCodeAt(n)?n>=1&&32===t.pending.charCodeAt(n-1)?(t.pending=t.pending.replace(/ +$/,""),t.push("hardbreak","br",0)):(t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0)):t.push("softbreak","br",0)),i++;i0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(t,e){var n,r,o,c,u,l,p,h,f,d=t,m=!0,v=!0,g=this.posMax,y=this.src.charCodeAt(t);for(n=t>0?this.src.charCodeAt(t-1):32;d=55296&&c<=57343?"���":String.fromCharCode(c),e+=6):240==(248&o)&&e+91114111?u+="����":(c-=65536,u+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),e+=9):u+="�";return u})}var i={};o.defaultChars=";/?:@&=+$,#",o.componentChars="",t.exports=o},function(t,e,n){"use strict";function r(t){var e,n,r=i[t];if(r)return r;for(r=i[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e=55296&&a<=57343){if(a>=55296&&a<=56319&&i+1=56320&&c<=57343){l+=encodeURIComponent(t[i]+t[i+1]),i++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(t[i]);return l}var i={};o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",t.exports=o},function(t,e,n){"use strict";t.exports=function(t){var e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||""}},function(t,e,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 o(t,e){if(t&&t instanceof r)return t;var n=new r;return n.parse(t,e),n}var i=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r","\n","\t"],u=["{","}","|","\\","^","`"].concat(c),l=["'"].concat(u),p=["%","/","?",";","#"].concat(l),h=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(t,e){var n,r,o,s,c,u=t;if(u=u.trim(),!e&&1===t.split("#").length){var l=a.exec(u);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var g=i.exec(u);if(g&&(g=g[0],o=g.toLowerCase(),this.protocol=g,u=u.substr(g.length)),(e||g||u.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(c="//"===u.substr(0,2))||g&&m[g]||(u=u.substr(2),this.slashes=!0)),!m[g]&&(c||g&&!v[g])){var y=-1;for(n=0;n127?S+="x":S+=k[E];if(!S.match(f)){var T=x.slice(0,n),O=x.slice(n+1),P=k.match(d);P&&(T.push(P[1]),O.unshift(P[2])),O.length&&(u=O.join(".")+u),this.hostname=T.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var I=u.indexOf("#");-1!==I&&(this.hash=u.substr(I),u=u.slice(0,I));var D=u.indexOf("?");return-1!==D&&(this.search=u.substr(D),u=u.slice(0,D)),u&&(this.pathname=u),v[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(t){var e=s.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},t.exports=o},function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),r(n(285)),r(n(106)),r(n(286))},function(t,e,n){"use strict";function r(t,e){t.setParent(e)}function o(t,e){if(e)for(var n=0;n0&&(t.style.maxHeight=n*this.maxLines+"px",t.style.overflow="hidden")):t.style.whiteSpace="nowrap",t},e.prototype.parse=function(e){t.prototype.parse.call(this,e),this.text=e.text,this.size=d.getValueOrDefault(e.size,"normal"),this.weight=d.getValueOrDefault(e.weight,"normal"),this.color=d.getValueOrDefault(e.color,Z.textBlock.color),this.isSubtle=e.isSubtle,this.wrap=void 0!==e.wrap&&e.wrap,this.maxLines=e.maxLines},e.prototype.getJsonTypeName=function(){return"TextBlock"},e.prototype.getDefaultSeparationDefinition=function(){switch(this.size){case"small":return Z.textBlock.separations.small;case"medium":return Z.textBlock.separations.medium;case"large":return Z.textBlock.separations.large;case"extraLarge":return Z.textBlock.separations.extraLarge;default:return Z.textBlock.separations.normal}},e.prototype.renderSpeech=function(){return null!=this.speak?this.speak+"\n":this.text?""+this.text+"\n":null},e}(v);e.TextBlock=g;var y=function(){function t(){}return t.prototype.renderSpeech=function(){return null!=this.speak?this.speak+"\n":""+this.name+" "+this.value+"\n"},t}();e.Fact=y;var b=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.facts=[],e}return h(e,t),Object.defineProperty(e.prototype,"useDefaultSizing",{get:function(){return!1},enumerable:!0,configurable:!0}),e.prototype.internalRender=function(){var t=null;if(this.facts.length>0){t=document.createElement("table"),t.style.borderWidth="0px",t.style.borderSpacing="0px",t.style.borderStyle="none",t.style.borderCollapse="collapse",t.style.display="block",t.style.overflow="hidden";for(var e=0;e0&&(n.style.marginTop=Z.factSet.spacing+"px");var r=document.createElement("td");r.style.padding="0",Z.factSet.title.maxWidth&&(r.style.maxWidth=Z.factSet.title.maxWidth+"px"),r.style.verticalAlign="top";var o=new g;o.text=this.facts[e].name,o.size=Z.factSet.title.size,o.color=Z.factSet.title.color,o.isSubtle=Z.factSet.title.isSubtle,o.weight=Z.factSet.title.weight,o.wrap=Z.factSet.title.wrap,o.separation="none",d.appendChild(r,o.render()),d.appendChild(n,r),r=document.createElement("td"),r.style.padding="0px 0px 0px 10px",r.style.verticalAlign="top",o=new g,o.text=this.facts[e].value,o.size=Z.factSet.value.size,o.color=Z.factSet.value.color,o.isSubtle=Z.factSet.value.isSubtle,o.weight=Z.factSet.value.weight,o.wrap=Z.factSet.value.wrap,o.separation="none",d.appendChild(r,o.render()),d.appendChild(n,r),d.appendChild(t,n)}}return t},e.prototype.getJsonTypeName=function(){return"FactSet"},e.prototype.getDefaultSeparationDefinition=function(){return Z.factSet.separation},e.prototype.parse=function(e){if(t.prototype.parse.call(this,e),null!=e.facts)for(var n=e.facts,r=0;r0){t="";for(var e=0;e"+t+"\n

\n"},e}(v);e.FactSet=b;var _=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.style="normal",e.size="medium",e}return h(e,t),Object.defineProperty(e.prototype,"useDefaultSizing",{get:function(){return!1},enumerable:!0,configurable:!0}),e.prototype.internalRender=function(){var t=this,e=null;if(!d.isNullOrEmpty(this.url)){switch(e=document.createElement("div"),e.classList.add("ac-image"),e.style.display="flex",e.style.alignItems="flex-start",null!=this.selectAction&&e.classList.add("ac-selectable"),e.onclick=function(e){t.selectAction&&(t.selectAction.execute(),e.cancelBubble=!0)},this.horizontalAlignment){case"center":e.style.justifyContent="center";break;case"right":e.style.justifyContent="flex-end";break;default:e.style.justifyContent="flex-start"}var n=document.createElement("img");switch(n.style.maxHeight="100%",this.size){case"stretch":n.style.width="100%";break;case"auto":n.style.maxWidth="100%",n.style.maxHeight="500px";break;case"small":n.style.maxWidth=Z.imageSizes.small+"px";break;case"large":n.style.maxWidth=Z.imageSizes.large+"px";break;case"medium":n.style.maxWidth=Z.imageSizes.medium+"px"}"person"==this.style&&(n.style.borderRadius="50%",n.style.backgroundPosition="50% 50%",n.style.backgroundRepeat="no-repeat"),n.src=this.url,e.appendChild(n)}return e},e.prototype.getJsonTypeName=function(){return"Image"},e.prototype.getDefaultSeparationDefinition=function(){return Z.image.separation},e.prototype.parse=function(e){t.prototype.parse.call(this,e),this.url=e.url,this.style=d.getValueOrDefault(e.style,"normal"),this.size=d.getValueOrDefault(e.size,"medium");var n=e.selectAction;void 0!=n&&(this.selectAction=D.createAction(n),r(this.selectAction,this))},e.prototype.renderSpeech=function(){return null!=this.speak?this.speak+"\n":null},e}(v);e.Image=_;var C=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._images=[],e.imageSize="medium",e}return h(e,t),e.prototype.internalRender=function(){var t=null;if(this._images.length>0){t=document.createElement("div"),t.style.display="flex",t.style.flexWrap="wrap";for(var e=0;e0){t="";for(var e=0;e"+this.title+"\n":null},e.prototype.getAllInputs=function(){return[this]},Object.defineProperty(e.prototype,"isInteractive",{get:function(){return!0},enumerable:!0,configurable:!0}),e}(v);e.Input=w;var x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),e.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%",d.isNullOrEmpty(this.placeholder)||(this._textareaElement.placeholder=this.placeholder),d.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%",d.isNullOrEmpty(this.placeholder)||(this._inputElement.placeholder=this.placeholder),d.isNullOrEmpty(this.defaultValue)||(this._inputElement.value=this.defaultValue),this.maxLength>0&&(this._inputElement.maxLength=this.maxLength),this._inputElement)},e.prototype.getJsonTypeName=function(){return"Input.Text"},e.prototype.parse=function(e){t.prototype.parse.call(this,e),this.maxLength=e.maxLength,this.isMultiline=e.isMultiline,this.placeholder=e.placeholder},Object.defineProperty(e.prototype,"value",{get:function(){return this.isMultiline?this._textareaElement?this._textareaElement.value:null:this._inputElement?this._inputElement.value:null},enumerable:!0,configurable:!0}),e}(w);e.TextInput=x;var k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),e.prototype.internalRender=function(){var t=document.createElement("div");t.className="ac-input",t.style.width="100%",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.defaultValue==this.valueOn&&(this._checkboxInputElement.checked=!0);var e=new g;e.text=this.title;var n=e.render();n.style.display="inline-block",n.style.marginLeft="6px",n.style.verticalAlign="middle";document.createElement("div");return d.appendChild(t,this._checkboxInputElement),d.appendChild(t,n),t},e.prototype.getJsonTypeName=function(){return"Input.Toggle"},e.prototype.parse=function(e){t.prototype.parse.call(this,e),this.title=e.title,this.valueOn=e.valueOn,this.valueOff=e.valueOff},Object.defineProperty(e.prototype,"value",{get:function(){return this._checkboxInputElement?this._checkboxInputElement.checked?this.valueOn:this.valueOff:null},enumerable:!0,configurable:!0}),e}(w);e.ToggleInput=k;var S=function(){function t(){}return t}();e.Choice=S;var E=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.choices=[],e}return h(e,t),e.prototype.internalRender=function(){if(this.isMultiSelect){var t=this.defaultValue?this.defaultValue.split(","):null,e=document.createElement("div");e.className="ac-input",e.style.width="100%",this._toggleInputs=[];for(var n=0;n=0&&(r.checked=!0),this._toggleInputs.push(r);var o=new g;o.text=this.choices[n].title;var i=o.render();i.style.display="inline-block",i.style.marginLeft="6px",i.style.verticalAlign="middle";var s=document.createElement("div");d.appendChild(s,r),d.appendChild(s,i),d.appendChild(e,s)}return e}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),d.appendChild(this._selectElement,a);for(var n=0;n0)for(var e=0;e0?Z.actions.showCard.inlineTopMargin+"px":"0px","inlineEdgeToEdge"==Z.actions.showCard.actionMode){var n=this._owner.getNonZeroPadding();this._actionCardContainer.style.paddingLeft=n.left+"px",this._actionCardContainer.style.paddingRight=n.right+"px",this._actionCardContainer.style.marginLeft="-"+n.left+"px",this._actionCardContainer.style.marginRight="-"+n.right+"px",e.style.paddingLeft="0px",e.style.paddingRight="0px"}d.appendChild(this._actionCardContainer,e),a(t,!0),this._expandedAction=t},t.prototype.actionClicked=function(t){if(t.action instanceof F)if("popup"==Z.actions.showCard.actionMode)t.action.execute();else if(t.action===this._expandedAction){for(var e=0;eZ.actions.maxActions&&t.push({error:f.ValidationError.TooManyActions,message:"A maximum of "+Z.actions.maxActions+" actions are allowed."}),this.items.length>0&&!Z.supportsInteractivity&&t.push({error:f.ValidationError.InteractivityNotAllowed,message:"Interactivity is not allowed."});for(var e=0;e0){var c=document.createElement("div");"horizontal"==Z.actions.actionsOrientation?(c.style.flex="0 0 auto",c.style.width=Z.actions.buttonSpacing+"px"):c.style.height=Z.actions.buttonSpacing+"px",d.appendChild(i,c)}this._renderedActionCount++}var u=document.createElement("div");u.style.overflow="hidden",u.appendChild(i),d.appendChild(e,u)}return d.appendChild(e,this._actionCardContainer),this._renderedActionCount>0?e:null},t.prototype.addAction=function(t){if(t.parent)throw new Error("The action already belongs to another element.");this.items.push(t),r(t,this._owner)},t.prototype.clear=function(){this.items=[]},t.prototype.getAllInputs=function(){for(var t=[],e=0;e0)for(var n=0,r=0;r0&&"none"!=this._items[r].separation){var s="default"==this._items[r].separation?this._items[r].getDefaultSeparationDefinition():Z.strongSeparation;d.appendChild(this._element,d.renderSeparation(s,"vertical"))}d.appendChild(this._element,o),n++}}return this._element},e.prototype.getBackgroundColor=function(){return null},Object.defineProperty(e.prototype,"padding",{get:function(){return{left:0,top:0,right:0,bottom:0}},enumerable:!0,configurable:!0}),e.prototype.isLastItem=function(t){return this._items.indexOf(t)==this._items.length-1},e.prototype.getDefaultSeparationDefinition=function(){return Z.container.separation},e.prototype.validate=function(){for(var t=[],e=0;e0){t="";for(var e=0;e0?this._computedWeight:this.size)+"%":"auto"===this.size?e.style.flex="0 1 auto":e.style.flex="1 1 auto"),e},e.prototype.getJsonTypeName=function(){return"Column"},e.prototype.getDefaultSeparationDefinition=function(){return Z.column.separation},e.prototype.parse=function(e){t.prototype.parse.call(this,e);var n=e.size,r=!1;if("number"==typeof n)n<=0&&(r=!0);else if("string"==typeof n){if("auto"!=n&&"stretch"!=n){var o=parseInt(n);isNaN(o)?r=!0:n=o}}else n&&(r=!0);r?u({error:f.ValidationError.InvalidPropertyValue,message:"Invalid column size: "+n}):this.size=n},Object.defineProperty(e.prototype,"isStandalone",{get:function(){return!1},enumerable:!0,configurable:!0}),e}(B);e.Column=V;var W=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._columns=[],e}return h(e,t),e.prototype.internalRender=function(){if(this._columns.length>0){var t=document.createElement("div");switch(t.style.display="flex",t.style.overflow="hidden",this.horizontalAlignment){case"center":t.style.justifyContent="center";break;case"right":t.style.justifyContent="flex-end";break;default:t.style.justifyContent="flex-start"}for(var e=0,n=0;n0){var o=100/e*this._columns[n].size;this._columns[n]._computedWeight=o}var i=this._columns[n].render();if(null!=i){if(d.appendChild(t,i),this._columns.length>1&&n0?t:null}return null},e.prototype.getJsonTypeName=function(){return"ColumnSet"},e.prototype.getDefaultSeparationDefinition=function(){return Z.columnSet.separation},e.prototype.parse=function(e){if(t.prototype.parse.call(this,e),null!=e.columns)for(var n=e.columns,r=0;r0)for(var e=0;e0?this._element:null},e.prototype.parse=function(e,n){if(void 0===n&&(n="items"),t.prototype.parse.call(this,e,n),this.actionStyle=d.getValueOrDefault(e.actionStyle,"button"),void 0!=e.actions)for(var r=e.actions,o=0;o1&&(r=n[0]+"@",t=n[1]),t=t.replace(I,"."),r+a(t.split("."),e).join(".")}function u(t){for(var e,n,r=[],o=0,i=t.length;o=55296&&e<=56319&&o65535&&(t-=65536,e+=R(t>>>10&1023|55296),t=56320|1023&t),e+=R(t)}).join("")}function p(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:C}function h(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function f(t,e,n){var r=0;for(t=n?N(t/S):t>>1,t+=N(t/e);t>M*x>>1;r+=C)t=N(t/M);return N(r+(M+1)*t/(t+k))}function d(t){var e,n,r,o,i,a,c,u,h,d,m=[],v=t.length,g=0,y=A,b=E;for(n=t.lastIndexOf(T),n<0&&(n=0),r=0;r=128&&s("not-basic"),m.push(t.charCodeAt(r));for(o=n>0?n+1:0;o=v&&s("invalid-input"),u=p(t.charCodeAt(o++)),(u>=C||u>N((_-g)/a))&&s("overflow"),g+=u*a,h=c<=b?w:c>=b+x?x:c-b,!(uN(_/d)&&s("overflow"),a*=d;e=m.length+1,b=f(g-i,e,0==i),N(g/e)>_-y&&s("overflow"),y+=N(g/e),g%=e,m.splice(g++,0,y)}return l(m)}function m(t){var e,n,r,o,i,a,c,l,p,d,m,v,g,y,b,k=[];for(t=u(t),v=t.length,e=A,n=0,i=E,a=0;a=e&&mN((_-n)/g)&&s("overflow"),n+=(c-e)*g,e=c,a=0;a_&&s("overflow"),m==e){for(l=n,p=C;d=p<=i?w:p>=i+x?x:p-i,!(l= 0x80 (not a basic code point)","invalid-input":"Invalid input"},M=C-w,N=Math.floor,R=String.fromCharCode;b={version:"1.4.1",ucs2:{decode:u,encode:l},decode:d,encode:m,toASCII:g,toUnicode:v},void 0!==(o=function(){return b}.call(e,n,e,t))&&(t.exports=o)}()}).call(e,n(172)(t),n(38))},function(t,e,n){"use strict";var r={Properties:{"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}};t.exports=r},function(t,e,n){"use strict";var r=n(6),o=n(97),i={focusDOMComponent:function(){o(r.getNodeFromInstance(this))}};t.exports=i},function(t,e,n){"use strict";function r(t){return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function o(t){switch(t){case"topCompositionStart":return S.compositionStart;case"topCompositionEnd":return S.compositionEnd;case"topCompositionUpdate":return S.compositionUpdate}}function i(t,e){return"topKeyDown"===t&&e.keyCode===y}function s(t,e){switch(t){case"topKeyUp":return-1!==g.indexOf(e.keyCode);case"topKeyDown":return e.keyCode!==y;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function a(t){var e=t.detail;return"object"==typeof e&&"data"in e?e.data:null}function c(t,e,n,r){var c,u;if(b?c=o(t):A?s(t,n)&&(c=S.compositionEnd):i(t,n)&&(c=S.compositionStart),!c)return null;w&&(A||c!==S.compositionStart?c===S.compositionEnd&&A&&(u=A.getData()):A=d.getPooled(r));var l=m.getPooled(c,e,n,r);if(u)l.data=u;else{var p=a(n);null!==p&&(l.data=p)}return h.accumulateTwoPhaseDispatches(l),l}function u(t,e){switch(t){case"topCompositionEnd":return a(e);case"topKeyPress":return e.which!==x?null:(E=!0,k);case"topTextInput":var n=e.data;return n===k&&E?null:n;default:return null}}function l(t,e){if(A){if("topCompositionEnd"===t||!b&&s(t,e)){var n=A.getData();return d.release(A),A=null,n}return null}switch(t){case"topPaste":return null;case"topKeyPress":return e.which&&!r(e)?String.fromCharCode(e.which):null;case"topCompositionEnd":return w?null:e.data;default:return null}}function p(t,e,n,r){var o;if(!(o=C?u(t,n):l(t,n)))return null;var i=v.getPooled(S.beforeInput,e,n,r);return i.data=o,h.accumulateTwoPhaseDispatches(i),i}var h=n(33),f=n(7),d=n(300),m=n(337),v=n(340),g=[9,13,27,32],y=229,b=f.canUseDOM&&"CompositionEvent"in window,_=null;f.canUseDOM&&"documentMode"in document&&(_=document.documentMode);var C=f.canUseDOM&&"TextEvent"in window&&!_&&!function(){var t=window.opera;return"object"==typeof t&&"function"==typeof t.version&&parseInt(t.version(),10)<=12}(),w=f.canUseDOM&&(!b||_&&_>8&&_<=11),x=32,k=String.fromCharCode(x),S={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},E=!1,A=null,T={eventTypes:S,extractEvents:function(t,e,n,r){return[c(t,e,n,r),p(t,e,n,r)]}};t.exports=T},function(t,e,n){"use strict";var r=n(113),o=n(7),i=(n(12),n(213),n(346)),s=n(220),a=n(223),c=(n(3),a(function(t){return s(t)})),u=!1,l="cssFloat";if(o.canUseDOM){var p=document.createElement("div").style;try{p.font=""}catch(t){u=!0}void 0===document.documentElement.style.cssFloat&&(l="styleFloat")}var h={createMarkupForStyles:function(t,e){var n="";for(var r in t)if(t.hasOwnProperty(r)){var o=0===r.indexOf("--"),s=t[r];null!=s&&(n+=c(r)+":",n+=i(r,s,e,o)+";")}return n||null},setValueForStyles:function(t,e,n){var o=t.style;for(var s in e)if(e.hasOwnProperty(s)){var a=0===s.indexOf("--"),c=i(s,e[s],n,a);if("float"!==s&&"cssFloat"!==s||(s=l),a)o.setProperty(s,c);else if(c)o[s]=c;else{var p=u&&r.shorthandPropertyExpansions[s];if(p)for(var h in p)o[h]="";else o[s]=""}}}};t.exports=h},function(t,e,n){"use strict";function r(t,e,n){var r=E.getPooled(I.change,t,e,n);return r.type="change",w.accumulateTwoPhaseDispatches(r),r}function o(t){var e=t.nodeName&&t.nodeName.toLowerCase();return"select"===e||"input"===e&&"file"===t.type}function i(t){var e=r(M,t,T(t));S.batchedUpdates(s,e)}function s(t){C.enqueueEvents(t),C.processEventQueue(!1)}function a(t,e){D=t,M=e,D.attachEvent("onchange",i)}function c(){D&&(D.detachEvent("onchange",i),D=null,M=null)}function u(t,e){var n=A.updateValueIfChanged(t),r=!0===e.simulated&&L._allowSimulatedPassThrough;if(n||r)return t}function l(t,e){if("topChange"===t)return e}function p(t,e,n){"topFocus"===t?(c(),a(e,n)):"topBlur"===t&&c()}function h(t,e){D=t,M=e,D.attachEvent("onpropertychange",d)}function f(){D&&(D.detachEvent("onpropertychange",d),D=null,M=null)}function d(t){"value"===t.propertyName&&u(M,t)&&i(t)}function m(t,e,n){"topFocus"===t?(f(),h(e,n)):"topBlur"===t&&f()}function v(t,e,n){if("topSelectionChange"===t||"topKeyUp"===t||"topKeyDown"===t)return u(M,n)}function g(t){var e=t.nodeName;return e&&"input"===e.toLowerCase()&&("checkbox"===t.type||"radio"===t.type)}function y(t,e,n){if("topClick"===t)return u(e,n)}function b(t,e,n){if("topInput"===t||"topChange"===t)return u(e,n)}function _(t,e){if(null!=t){var n=t._wrapperState||e._wrapperState;if(n&&n.controlled&&"number"===e.type){var r=""+e.value;e.getAttribute("value")!==r&&e.setAttribute("value",r)}}}var C=n(32),w=n(33),x=n(7),k=n(6),S=n(13),E=n(14),A=n(129),T=n(74),O=n(75),P=n(131),I={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},D=null,M=null,N=!1;x.canUseDOM&&(N=O("change")&&(!document.documentMode||document.documentMode>8));var R=!1;x.canUseDOM&&(R=O("input")&&(!("documentMode"in document)||document.documentMode>9));var L={eventTypes:I,_allowSimulatedPassThrough:!0,_isInputEventSupported:R,extractEvents:function(t,e,n,i){var s,a,c=e?k.getNodeFromInstance(e):window;if(o(c)?N?s=l:a=p:P(c)?R?s=b:(s=v,a=m):g(c)&&(s=y),s){var u=s(t,e,n);if(u){return r(u,n,i)}}a&&a(t,c,e),"topBlur"===t&&_(e,c)}};t.exports=L},function(t,e,n){"use strict";var r=n(4),o=n(22),i=n(7),s=n(216),a=n(10),c=(n(1),{dangerouslyReplaceNodeWithMarkup:function(t,e){if(i.canUseDOM||r("56"),e||r("57"),"HTML"===t.nodeName&&r("58"),"string"==typeof e){var n=s(e,a)[0];t.parentNode.replaceChild(n,t)}else o.replaceChildWithTree(t,e)}});t.exports=c},function(t,e,n){"use strict";var r=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];t.exports=r},function(t,e,n){"use strict";var r=n(33),o=n(6),i=n(44),s={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},a={eventTypes:s,extractEvents:function(t,e,n,a){if("topMouseOver"===t&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==t&&"topMouseOver"!==t)return null;var c;if(a.window===a)c=a;else{var u=a.ownerDocument;c=u?u.defaultView||u.parentWindow:window}var l,p;if("topMouseOut"===t){l=e;var h=n.relatedTarget||n.toElement;p=h?o.getClosestInstanceFromNode(h):null}else l=null,p=e;if(l===p)return null;var f=null==l?c:o.getNodeFromInstance(l),d=null==p?c:o.getNodeFromInstance(p),m=i.getPooled(s.mouseLeave,l,n,a);m.type="mouseleave",m.target=f,m.relatedTarget=d;var v=i.getPooled(s.mouseEnter,p,n,a);return v.type="mouseenter",v.target=d,v.relatedTarget=f,r.accumulateEnterLeaveDispatches(m,v,l,p),[m,v]}};t.exports=a},function(t,e,n){"use strict";function r(t){this._root=t,this._startText=this.getText(),this._fallbackText=null}var o=n(5),i=n(19),s=n(128);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[s()]},getData:function(){if(this._fallbackText)return this._fallbackText;var t,e,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(t=0;t1?1-e:void 0;return this._fallbackText=o.slice(t,a),this._fallbackText}}),i.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";var r=n(23),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,s=r.injection.HAS_NUMERIC_VALUE,a=r.injection.HAS_POSITIVE_NUMERIC_VALUE,c=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,u={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:a,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:c,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:a,rowSpan:s,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:a,sizes:0,span:a,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:s,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{},DOMMutationMethods:{value:function(t,e){if(null==e)return t.removeAttribute("value");"number"!==t.type||!1===t.hasAttribute("value")?t.setAttribute("value",""+e):t.validity&&!t.validity.badInput&&t.ownerDocument.activeElement!==t&&t.setAttribute("value",""+e)}}};t.exports=u},function(t,e,n){"use strict";(function(e){function r(t,e,n,r){var o=void 0===t[n];null!=e&&o&&(t[n]=i(e,!0))}var o=n(24),i=n(130),s=(n(66),n(76)),a=n(133);n(3);void 0!==e&&n.i({NODE_ENV:"production"});var c={instantiateChildren:function(t,e,n,o){if(null==t)return null;var i={};return a(t,r,i),i},updateChildren:function(t,e,n,r,a,c,u,l,p){if(e||t){var h,f;for(h in e)if(e.hasOwnProperty(h)){f=t&&t[h];var d=f&&f._currentElement,m=e[h];if(null!=f&&s(d,m))o.receiveComponent(f,m,a,l),e[h]=f;else{f&&(r[h]=o.getHostNode(f),o.unmountComponent(f,!1));var v=i(m,!0);e[h]=v;var g=o.mountComponent(v,a,c,u,l,p);n.push(g)}}for(h in t)!t.hasOwnProperty(h)||e&&e.hasOwnProperty(h)||(f=t[h],r[h]=o.getHostNode(f),o.unmountComponent(f,!1))}},unmountChildren:function(t,e){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];o.unmountComponent(r,e)}}};t.exports=c}).call(e,n(108))},function(t,e,n){"use strict";var r=n(62),o=n(310),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};t.exports=i},function(t,e,n){"use strict";function r(t){}function o(t){return!(!t.prototype||!t.prototype.isReactComponent)}function i(t){return!(!t.prototype||!t.prototype.isPureReactComponent)}var s=n(4),a=n(5),c=n(25),u=n(68),l=n(15),p=n(69),h=n(34),f=(n(12),n(123)),d=n(24),m=n(42),v=(n(1),n(58)),g=n(76),y=(n(3),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var t=h.get(this)._currentElement.type,e=t(this.props,this.context,this.updater);return e};var b=1,_={construct:function(t){this._currentElement=t,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(t,e,n,a){this._context=a,this._mountOrder=b++,this._hostParent=e,this._hostContainerInfo=n;var u,l=this._currentElement.props,p=this._processContext(a),f=this._currentElement.type,d=t.getUpdateQueue(),v=o(f),g=this._constructComponent(v,l,p,d);v||null!=g&&null!=g.render?i(f)?this._compositeType=y.PureClass:this._compositeType=y.ImpureClass:(u=g,null===g||!1===g||c.isValidElement(g)||s("105",f.displayName||f.name||"Component"),g=new r(f),this._compositeType=y.StatelessFunctional);g.props=l,g.context=p,g.refs=m,g.updater=d,this._instance=g,h.set(g,this);var _=g.state;void 0===_&&(g.state=_=null),("object"!=typeof _||Array.isArray(_))&&s("106",this.getName()||"ReactCompositeComponent"),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var C;return C=g.unstable_handleError?this.performInitialMountWithErrorHandling(u,e,n,t,a):this.performInitialMount(u,e,n,t,a),g.componentDidMount&&t.getReactMountReady().enqueue(g.componentDidMount,g),C},_constructComponent:function(t,e,n,r){return this._constructComponentWithoutOwner(t,e,n,r)},_constructComponentWithoutOwner:function(t,e,n,r){var o=this._currentElement.type;return t?new o(e,n,r):o(e,n,r)},performInitialMountWithErrorHandling:function(t,e,n,r,o){var i,s=r.checkpoint();try{i=this.performInitialMount(t,e,n,r,o)}catch(a){r.rollback(s),this._instance.unstable_handleError(a),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),s=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(s),i=this.performInitialMount(t,e,n,r,o)}return i},performInitialMount:function(t,e,n,r,o){var i=this._instance,s=0;i.componentWillMount&&(i.componentWillMount(),this._pendingStateQueue&&(i.state=this._processPendingState(i.props,i.context))),void 0===t&&(t=this._renderValidatedComponent());var a=f.getType(t);this._renderedNodeType=a;var c=this._instantiateReactComponent(t,a!==f.EMPTY);this._renderedComponent=c;var u=d.mountComponent(c,r,e,n,this._processChildContext(o),s);return u},getHostNode:function(){return d.getHostNode(this._renderedComponent)},unmountComponent:function(t){if(this._renderedComponent){var e=this._instance;if(e.componentWillUnmount&&!e._calledComponentWillUnmount)if(e._calledComponentWillUnmount=!0,t){var n=this.getName()+".componentWillUnmount()";p.invokeGuardedCallback(n,e.componentWillUnmount.bind(e))}else e.componentWillUnmount();this._renderedComponent&&(d.unmountComponent(this._renderedComponent,t),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,h.remove(e)}},_maskContext:function(t){var e=this._currentElement.type,n=e.contextTypes;if(!n)return m;var r={};for(var o in n)r[o]=t[o];return r},_processContext:function(t){var e=this._maskContext(t);return e},_processChildContext:function(t){var e,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(e=r.getChildContext()),e){"object"!=typeof n.childContextTypes&&s("107",this.getName()||"ReactCompositeComponent");for(var o in e)o in n.childContextTypes||s("108",this.getName()||"ReactCompositeComponent",o);return a({},t,e)}return t},_checkContextTypes:function(t,e,n){},receiveComponent:function(t,e,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(e,r,t,o,n)},performUpdateIfNecessary:function(t){null!=this._pendingElement?d.receiveComponent(this,this._pendingElement,t,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(t,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(t,e,n,r,o){var i=this._instance;null==i&&s("136",this.getName()||"ReactCompositeComponent");var a,c=!1;this._context===o?a=i.context:(a=this._processContext(o),c=!0);var u=e.props,l=n.props;e!==n&&(c=!0),c&&i.componentWillReceiveProps&&i.componentWillReceiveProps(l,a);var p=this._processPendingState(l,a),h=!0;this._pendingForceUpdate||(i.shouldComponentUpdate?h=i.shouldComponentUpdate(l,p,a):this._compositeType===y.PureClass&&(h=!v(u,l)||!v(i.state,p))),this._updateBatchNumber=null,h?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,l,p,a,t,o)):(this._currentElement=n,this._context=o,i.props=l,i.state=p,i.context=a)},_processPendingState:function(t,e){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var i=a({},o?r[0]:n.state),s=o?1:0;s=0||null!=e.is}function m(t){var e=t.type;f(e),this._currentElement=t,this._tag=e.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var v=n(4),g=n(5),y=n(293),b=n(295),_=n(22),C=n(63),w=n(23),x=n(115),k=n(32),S=n(64),E=n(43),A=n(116),T=n(6),O=n(311),P=n(312),I=n(117),D=n(315),M=(n(12),n(324)),N=n(329),R=(n(10),n(46)),L=(n(1),n(75),n(58),n(129)),j=(n(77),n(3),A),F=k.deleteListener,z=T.getNodeFromInstance,U=E.listenTo,q=S.registrationNameModules,B={string:!0,number:!0},V="__html",W={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},H=11,G={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},K={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},$={listing:!0,pre:!0,textarea:!0},Y=g({menuitem:!0},K),Z=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X={},J={}.hasOwnProperty,Q=1;m.displayName="ReactDOMComponent",m.Mixin={mountComponent:function(t,e,n,r){this._rootNodeID=Q++,this._domID=n._idCounter++,this._hostParent=e,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},t.getReactMountReady().enqueue(p,this);break;case"input":O.mountWrapper(this,i,e),i=O.getHostProps(this,i),t.getReactMountReady().enqueue(l,this),t.getReactMountReady().enqueue(p,this);break;case"option":P.mountWrapper(this,i,e),i=P.getHostProps(this,i);break;case"select":I.mountWrapper(this,i,e),i=I.getHostProps(this,i),t.getReactMountReady().enqueue(p,this);break;case"textarea":D.mountWrapper(this,i,e),i=D.getHostProps(this,i),t.getReactMountReady().enqueue(l,this),t.getReactMountReady().enqueue(p,this)}o(this,i);var s,h;null!=e?(s=e._namespaceURI,h=e._tag):n._tag&&(s=n._namespaceURI,h=n._tag),(null==s||s===C.svg&&"foreignobject"===h)&&(s=C.html),s===C.html&&("svg"===this._tag?s=C.svg:"math"===this._tag&&(s=C.mathml)),this._namespaceURI=s;var f;if(t.useCreateElement){var d,m=n._ownerDocument;if(s===C.html)if("script"===this._tag){var v=m.createElement("div"),g=this._currentElement.type;v.innerHTML="<"+g+">",d=v.removeChild(v.firstChild)}else d=i.is?m.createElement(this._currentElement.type,i.is):m.createElement(this._currentElement.type);else d=m.createElementNS(s,this._currentElement.type);T.precacheNode(this,d),this._flags|=j.hasCachedChildNodes,this._hostParent||x.setAttributeForRoot(d),this._updateDOMProperties(null,i,t);var b=_(d);this._createInitialChildren(t,i,r,b),f=b}else{var w=this._createOpenTagMarkupAndPutListeners(t,i),k=this._createContentMarkup(t,i,r);f=!k&&K[this._tag]?w+"/>":w+">"+k+""}switch(this._tag){case"input":t.getReactMountReady().enqueue(a,this),i.autoFocus&&t.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"textarea":t.getReactMountReady().enqueue(c,this),i.autoFocus&&t.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"select":case"button":i.autoFocus&&t.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"option":t.getReactMountReady().enqueue(u,this)}return f},_createOpenTagMarkupAndPutListeners:function(t,e){var n="<"+this._currentElement.type;for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(null!=o)if(q.hasOwnProperty(r))o&&i(this,r,o,t);else{"style"===r&&(o&&(o=this._previousStyleCopy=g({},e.style)),o=b.createMarkupForStyles(o,this));var s=null;null!=this._tag&&d(this._tag,e)?W.hasOwnProperty(r)||(s=x.createMarkupForCustomAttribute(r,o)):s=x.createMarkupForProperty(r,o),s&&(n+=" "+s)}}return t.renderToStaticMarkup?n:(this._hostParent||(n+=" "+x.createMarkupForRoot()),n+=" "+x.createMarkupForID(this._domID))},_createContentMarkup:function(t,e,n){var r="",o=e.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=B[typeof e.children]?e.children:null,s=null!=i?null:e.children;if(null!=i)r=R(i);else if(null!=s){var a=this.mountChildren(s,t,n);r=a.join("")}}return $[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(t,e,n,r){var o=e.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&_.queueHTML(r,o.__html);else{var i=B[typeof e.children]?e.children:null,s=null!=i?null:e.children;if(null!=i)""!==i&&_.queueText(r,i);else if(null!=s)for(var a=this.mountChildren(s,t,n),c=0;ce.end?(n=e.end,r=e.start):(n=e.start,r=e.end),o.moveToElementText(t),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function a(t,e){if(window.getSelection){var n=window.getSelection(),r=t[l()].length,o=Math.min(e.start,r),i=void 0===e.end?o:Math.min(e.end,r);if(!n.extend&&o>i){var s=i;i=o,o=s}var a=u(t,o),c=u(t,i);if(a&&c){var p=document.createRange();p.setStart(a.node,a.offset),n.removeAllRanges(),o>i?(n.addRange(p),n.extend(c.node,c.offset)):(p.setEnd(c.node,c.offset),n.addRange(p))}}}var c=n(7),u=n(351),l=n(128),p=c.canUseDOM&&"selection"in document&&!("getSelection"in window),h={getOffsets:p?o:i,setOffsets:p?s:a};t.exports=h},function(t,e,n){"use strict";var r=n(4),o=n(5),i=n(62),s=n(22),a=n(6),c=n(46),u=(n(1),n(77),function(t){this._currentElement=t,this._stringText=""+t,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(u.prototype,{mountComponent:function(t,e,n,r){var o=n._idCounter++,i=" react-text: "+o+" ";if(this._domID=o,this._hostParent=e,t.useCreateElement){var u=n._ownerDocument,l=u.createComment(i),p=u.createComment(" /react-text "),h=s(u.createDocumentFragment());return s.queueChild(h,s(l)),this._stringText&&s.queueChild(h,s(u.createTextNode(this._stringText))),s.queueChild(h,s(p)),a.precacheNode(this,l),this._closingComment=p,h}var f=c(this._stringText);return t.renderToStaticMarkup?f:"\x3c!--"+i+"--\x3e"+f+"\x3c!-- /react-text --\x3e"},receiveComponent:function(t,e){if(t!==this._currentElement){this._currentElement=t;var n=""+t;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var t=this._commentNodes;if(t)return t;if(!this._closingComment)for(var e=a.getNodeFromInstance(this),n=e.nextSibling;;){if(null==n&&r("67",this._domID),8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return t=[this._hostNode,this._closingComment],this._commentNodes=t,t},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,a.uncacheNode(this)}}),t.exports=u},function(t,e,n){"use strict";function r(){this._rootNodeID&&l.updateWrapper(this)}function o(t){var e=this._currentElement.props,n=a.executeOnChange(e,t);return u.asap(r,this),n}var i=n(4),s=n(5),a=n(67),c=n(6),u=n(13),l=(n(1),n(3),{getHostProps:function(t,e){return null!=e.dangerouslySetInnerHTML&&i("91"),s({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue,onChange:t._wrapperState.onChange})},mountWrapper:function(t,e){var n=a.getValue(e),r=n;if(null==n){var s=e.defaultValue,c=e.children;null!=c&&(null!=s&&i("92"),Array.isArray(c)&&(c.length<=1||i("93"),c=c[0]),s=""+c),null==s&&(s=""),r=s}t._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(t)}},updateWrapper:function(t){var e=t._currentElement.props,n=c.getNodeFromInstance(t),r=a.getValue(e);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==e.defaultValue&&(n.defaultValue=o)}null!=e.defaultValue&&(n.defaultValue=e.defaultValue)},postMountWrapper:function(t){var e=c.getNodeFromInstance(t),n=e.textContent;n===t._wrapperState.initialValue&&(e.value=n)}});t.exports=l},function(t,e,n){"use strict";function r(t,e){"_hostNode"in t||c("33"),"_hostNode"in e||c("33");for(var n=0,r=t;r;r=r._hostParent)n++;for(var o=0,i=e;i;i=i._hostParent)o++;for(;n-o>0;)t=t._hostParent,n--;for(;o-n>0;)e=e._hostParent,o--;for(var s=n;s--;){if(t===e)return t;t=t._hostParent,e=e._hostParent}return null}function o(t,e){"_hostNode"in t||c("35"),"_hostNode"in e||c("35");for(;e;){if(e===t)return!0;e=e._hostParent}return!1}function i(t){return"_hostNode"in t||c("36"),t._hostParent}function s(t,e,n){for(var r=[];t;)r.push(t),t=t._hostParent;var o;for(o=r.length;o-- >0;)e(r[o],"captured",n);for(o=0;o0;)n(c[u],"captured",i)}var c=n(4);n(1);t.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:s,traverseEnterLeave:a}},function(t,e,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(5),i=n(13),s=n(45),a=n(10),c={initialize:a,close:function(){h.isBatchingUpdates=!1}},u={initialize:a,close:i.flushBatchedUpdates.bind(i)},l=[u,c];o(r.prototype,s,{getTransactionWrappers:function(){return l}});var p=new r,h={isBatchingUpdates:!1,batchedUpdates:function(t,e,n,r,o,i){var s=h.isBatchingUpdates;return h.isBatchingUpdates=!0,s?t(e,n,r,o,i):p.perform(t,null,e,n,r,o,i)}};t.exports=h},function(t,e,n){"use strict";function r(){x||(x=!0,y.EventEmitter.injectReactEventListener(g),y.EventPluginHub.injectEventPluginOrder(a),y.EventPluginUtils.injectComponentTree(h),y.EventPluginUtils.injectTreeTraversal(d),y.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:w,EnterLeaveEventPlugin:c,ChangeEventPlugin:s,SelectEventPlugin:C,BeforeInputEventPlugin:i}),y.HostComponent.injectGenericComponentClass(p),y.HostComponent.injectTextComponentClass(m),y.DOMProperty.injectDOMPropertyConfig(o),y.DOMProperty.injectDOMPropertyConfig(u),y.DOMProperty.injectDOMPropertyConfig(_),y.EmptyComponent.injectEmptyComponentFactory(function(t){return new f(t)}),y.Updates.injectReconcileTransaction(b),y.Updates.injectBatchingStrategy(v),y.Component.injectEnvironment(l))}var o=n(292),i=n(294),s=n(296),a=n(298),c=n(299),u=n(301),l=n(303),p=n(306),h=n(6),f=n(308),d=n(316),m=n(314),v=n(317),g=n(321),y=n(322),b=n(327),_=n(332),C=n(333),w=n(334),x=!1;t.exports={inject:r}},function(t,e,n){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=r},function(t,e,n){"use strict";function r(t){o.enqueueEvents(t),o.processEventQueue(!1)}var o=n(32),i={handleTopLevel:function(t,e,n,i){r(o.extractEvents(t,e,n,i))}};t.exports=i},function(t,e,n){"use strict";function r(t){for(;t._hostParent;)t=t._hostParent;var e=p.getNodeFromInstance(t),n=e.parentNode;return p.getClosestInstanceFromNode(n)}function o(t,e){this.topLevelType=t,this.nativeEvent=e,this.ancestors=[]}function i(t){var e=f(t.nativeEvent),n=p.getClosestInstanceFromNode(e),o=n;do{t.ancestors.push(o),o=o&&r(o)}while(o);for(var i=0;i/,i=/^<\!\-\-/,s={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(t){var e=r(t);return i.test(t)?t:t.replace(o," "+s.CHECKSUM_ATTR_NAME+'="'+e+'"$&')},canReuseMarkup:function(t,e){var n=e.getAttribute(s.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(t)===n}};t.exports=s},function(t,e,n){"use strict";function r(t,e,n){return{type:"INSERT_MARKUP",content:t,fromIndex:null,fromNode:null,toIndex:n,afterNode:e}}function o(t,e,n){return{type:"MOVE_EXISTING",content:null,fromIndex:t._mountIndex,fromNode:h.getHostNode(t),toIndex:n,afterNode:e}}function i(t,e){return{type:"REMOVE_NODE",content:null,fromIndex:t._mountIndex,fromNode:e,toIndex:null,afterNode:null}}function s(t){return{type:"SET_MARKUP",content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function a(t){return{type:"TEXT_CONTENT",content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function c(t,e){return e&&(t=t||[],t.push(e)),t}function u(t,e){p.processChildrenUpdates(t,e)}var l=n(4),p=n(68),h=(n(34),n(12),n(15),n(24)),f=n(302),d=(n(10),n(348)),m=(n(1),{Mixin:{_reconcilerInstantiateChildren:function(t,e,n){return f.instantiateChildren(t,e,n)},_reconcilerUpdateChildren:function(t,e,n,r,o,i){var s,a=0;return s=d(e,a),f.updateChildren(t,s,n,r,o,this,this._hostContainerInfo,i,a),s},mountChildren:function(t,e,n){var r=this._reconcilerInstantiateChildren(t,e,n);this._renderedChildren=r;var o=[],i=0;for(var s in r)if(r.hasOwnProperty(s)){var a=r[s],c=0,u=h.mountComponent(a,e,this,this._hostContainerInfo,n,c);a._mountIndex=i++,o.push(u)}return o},updateTextContent:function(t){var e=this._renderedChildren;f.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");u(this,[a(t)])},updateMarkup:function(t){var e=this._renderedChildren;f.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");u(this,[s(t)])},updateChildren:function(t,e,n){this._updateChildren(t,e,n)},_updateChildren:function(t,e,n){var r=this._renderedChildren,o={},i=[],s=this._reconcilerUpdateChildren(r,t,i,o,e,n);if(s||r){var a,l=null,p=0,f=0,d=0,m=null;for(a in s)if(s.hasOwnProperty(a)){var v=r&&r[a],g=s[a];v===g?(l=c(l,this.moveChild(v,m,p,f)),f=Math.max(v._mountIndex,f),v._mountIndex=p):(v&&(f=Math.max(v._mountIndex,f)),l=c(l,this._mountChildAtIndex(g,i[d],m,p,e,n)),d++),p++,m=h.getHostNode(g)}for(a in o)o.hasOwnProperty(a)&&(l=c(l,this._unmountChild(r[a],o[a])));l&&u(this,l),this._renderedChildren=s}},unmountChildren:function(t){var e=this._renderedChildren;f.unmountChildren(e,t),this._renderedChildren=null},moveChild:function(t,e,n,r){if(t._mountIndex=e)return{node:n,offset:e-i};i=s}n=r(o(n))}}t.exports=i},function(t,e,n){"use strict";function r(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n["ms"+t]="MS"+e,n["O"+t]="o"+e.toLowerCase(),n}function o(t){if(a[t])return a[t];if(!s[t])return t;var e=s[t];for(var n in e)if(e.hasOwnProperty(n)&&n in c)return a[t]=e[n];return""}var i=n(7),s={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},a={},c={};i.canUseDOM&&(c=document.createElement("div").style,"AnimationEvent"in window||(delete s.animationend.animation,delete s.animationiteration.animation,delete s.animationstart.animation),"TransitionEvent"in window||delete s.transitionend.transition),t.exports=o},function(t,e,n){"use strict";function r(t){return'"'+o(t)+'"'}var o=n(46);t.exports=r},function(t,e,n){"use strict";var r=n(122);t.exports=r.renderSubtreeIntoContainer},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1],s=n||e+"Subscription",c=function(t){function n(i,s){r(this,n);var a=o(this,t.call(this,i,s));return a[e]=i.store,a}return i(n,t),n.prototype.getChildContext=function(){var t;return t={},t[e]=this[e],t[s]=null,t},n.prototype.render=function(){return a.Children.only(this.props.children)},n}(a.Component);return c.propTypes={store:l.a.isRequired,children:u.a.element.isRequired},c.childContextTypes=(t={},t[e]=l.a.isRequired,t[s]=l.b,t),c.displayName="Provider",c}var a=n(9),c=(n.n(a),n(110)),u=n.n(c),l=n(136);n(78);e.b=s;e.a=s()},function(t,e,n){"use strict";function r(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function o(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function i(t,e){return t===e}var s=n(134),a=n(363),c=n(357),u=n(358),l=n(359),p=n(360),h=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=t.connectHOC,n=void 0===e?s.a:e,f=t.mapStateToPropsFactories,d=void 0===f?u.a:f,m=t.mapDispatchToPropsFactories,v=void 0===m?c.a:m,g=t.mergePropsFactories,y=void 0===g?l.a:g,b=t.selectorFactory,_=void 0===b?p.a:b;return function(t,e,s){var c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=c.pure,l=void 0===u||u,p=c.areStatesEqual,f=void 0===p?i:p,m=c.areOwnPropsEqual,g=void 0===m?a.a:m,b=c.areStatePropsEqual,C=void 0===b?a.a:b,w=c.areMergedPropsEqual,x=void 0===w?a.a:w,k=r(c,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),S=o(t,d,"mapStateToProps"),E=o(e,v,"mapDispatchToProps"),A=o(s,y,"mergeProps");return n(_,h({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:S,initMapDispatchToProps:E,initMergeProps:A,pure:l,areStatesEqual:f,areOwnPropsEqual:g,areStatePropsEqual:C,areMergedPropsEqual:x},k))}}()},function(t,e,n){"use strict";function r(t){return"function"==typeof t?n.i(a.a)(t,"mapDispatchToProps"):void 0}function o(t){return t?void 0:n.i(a.b)(function(t){return{dispatch:t}})}function i(t){return t&&"object"==typeof t?n.i(a.b)(function(e){return n.i(s.bindActionCreators)(t,e)}):void 0}var s=n(79),a=n(135);e.a=[r,o,i]},function(t,e,n){"use strict";function r(t){return"function"==typeof t?n.i(i.a)(t,"mapStateToProps"):void 0}function o(t){return t?void 0:n.i(i.b)(function(){return{}})}var i=n(135);e.a=[r,o]},function(t,e,n){"use strict";function r(t,e,n){return a({},n,t,e)}function o(t){return function(e,n){var r=(n.displayName,n.pure),o=n.areMergedPropsEqual,i=!1,s=void 0;return function(e,n,a){var c=t(e,n,a);return i?r&&o(c,s)||(s=c):(i=!0,s=c),s}}}function i(t){return"function"==typeof t?o(t):void 0}function s(t){return t?void 0:function(){return r}}var a=(n(137),Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function o(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function i(t,e,n,r,o){function i(o,i){return d=o,m=i,v=t(d,m),g=e(r,m),y=n(v,g,m),f=!0,y}function s(){return v=t(d,m),e.dependsOnOwnProps&&(g=e(r,m)),y=n(v,g,m)}function a(){return t.dependsOnOwnProps&&(v=t(d,m)),e.dependsOnOwnProps&&(g=e(r,m)),y=n(v,g,m)}function c(){var e=t(d,m),r=!h(e,v);return v=e,r&&(y=n(v,g,m)),y}function u(t,e){var n=!p(e,m),r=!l(t,d);return d=t,m=e,n&&r?s():n?a():r?c():y}var l=o.areStatesEqual,p=o.areOwnPropsEqual,h=o.areStatePropsEqual,f=!1,d=void 0,m=void 0,v=void 0,g=void 0,y=void 0;return function(t,e){return f?u(t,e):i(t,e)}}function s(t,e){var n=e.initMapStateToProps,s=e.initMapDispatchToProps,a=e.initMergeProps,c=r(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),u=n(t,c),l=s(t,c),p=a(t,c);return(c.pure?i:o)(u,l,p,t,c)}n(361);e.a=s},function(t,e,n){"use strict";n(78)},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(){var t=[],e=[];return{clear:function(){e=i,t=i},notify:function(){for(var n=t=e,r=0;r")+"\" does not return a stream. Double check you're not missing a return statement!");return e})))}}},function(t,e,n){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,n=e.adapter,r=void 0===n?u:n;if("function"!=typeof t)throw new TypeError("You must provide a root Epic to createEpicMiddleware");var p=new o.Subject,h=r.input(new a.ActionsObservable(p)),f=new o.Subject,d=void 0,m=function(e){return d=e,function(e){var n;return(n=i.map.call(f,function(t){var e=t(h,d);if(!e)throw new TypeError('Your root Epic "'+(t.name||"")+"\" does not return a stream. Double check you're not missing a return statement!");return e}),s.switchMap).call(n,function(t){return r.output(t)}).subscribe(d.dispatch),f.next(t),function(t){var n=e(t);return p.next(t),n}}};return m.replaceEpic=function(t){d.dispatch({type:c.EPIC_END}),f.next(t)},m}Object.defineProperty(e,"__esModule",{value:!0}),e.createEpicMiddleware=r;var o=n(27),i=n(80),s=n(429),a=n(143),c=n(144),u={input:function(t){return t},output:function(t){return t}},l={adapter:u}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(377);Object.defineProperty(e,"createEpicMiddleware",{enumerable:!0,get:function(){return r.createEpicMiddleware}});var o=n(143);Object.defineProperty(e,"ActionsObservable",{enumerable:!0,get:function(){return o.ActionsObservable}});var i=n(376);Object.defineProperty(e,"combineEpics",{enumerable:!0,get:function(){return i.combineEpics}});var s=n(144);Object.defineProperty(e,"EPIC_END",{enumerable:!0,get:function(){return s.EPIC_END}})},function(t,e,n){"use strict";function r(){for(var t=arguments.length,e=Array(t),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];if(c)throw c;for(var o=!1,i={},s=0;s=r)return void o.complete();o.next(e[n]),t.index=n+1,this.schedule(t)}},e.prototype._subscribe=function(t){var n=this,r=n.arrayLike,o=n.scheduler,i=r.length;if(o)return o.schedule(e.dispatch,0,{arrayLike:r,index:0,length:i,subscriber:t});for(var s=0;s1)return void(this.connection=null);var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(s.Subscriber)},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(0),i=function(t){function e(e,n){t.call(this),this.error=e,this.scheduler=n}return r(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.error;t.subscriber.error(e)},e.prototype._subscribe=function(t){var n=this.error,r=this.scheduler;if(t.syncErrorThrowable=!0,r)return r.schedule(e.dispatch,0,{error:n,subscriber:t});t.error(n)},e}(o.Observable);e.ErrorObservable=i},function(t,e,n){"use strict";function r(t){return!!t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}function o(t){return!!t&&"function"==typeof t.on&&"function"==typeof t.off}function i(t){return!!t&&"[object NodeList]"===d.call(t)}function s(t){return!!t&&"[object HTMLCollection]"===d.call(t)}function a(t){return!!t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}var c=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=n(0),l=n(37),p=n(85),h=n(28),f=n(20),d=Object.prototype.toString,m=function(t){function e(e,n,r,o){t.call(this),this.sourceObj=e,this.eventName=n,this.selector=r,this.options=o}return c(e,t),e.create=function(t,n,r,o){return p.isFunction(r)&&(o=r,r=void 0),new e(t,n,o,r)},e.setupSubscription=function(t,n,c,u,l){var p;if(i(t)||s(t))for(var h=0,d=t.length;hd?d:e):e}function i(t){return"number"==typeof t&&c.root.isFinite(t)}function s(t){var e=+t;return 0===e?e:isNaN(e)?e:e<0?-1:1}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},c=n(16),u=n(0),l=n(82),p=function(t){function e(e,n){if(t.call(this),this.scheduler=n,null==e)throw new Error("iterator cannot be null.");this.iterator=r(e)}return a(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.hasError,r=t.iterator,o=t.subscriber;if(n)return void o.error(t.error);var i=r.next();return i.done?void o.complete():(o.next(i.value),t.index=e+1,o.closed?void("function"==typeof r.return&&r.return()):void this.schedule(t))},e.prototype._subscribe=function(t){var n=this,r=n.iterator,o=n.scheduler;if(o)return o.schedule(e.dispatch,0,{index:0,iterator:r,subscriber:t});for(;;){var i=r.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed){"function"==typeof r.return&&r.return();break}}},e}(u.Observable);e.IteratorObservable=p;var h=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.length),this.str=t,this.idx=e,this.len=n}return t.prototype[l.iterator]=function(){return this},t.prototype.next=function(){return this.idx0&&n[0].time-r.now()<=0;)n.shift().notification.observe(o);if(n.length>0){var i=Math.max(0,n[0].time-r.now());this.schedule(t,i)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new p(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(c.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(c.Notification.createComplete())},e}(a.Subscriber),p=function(){function t(t,e){this.time=t,this.notification=e}return t}()},function(t,e,n){"use strict";function r(t,e,n){return this.lift(new s(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(8);e._do=r;var s=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.nextOrObserver,this.error,this.complete))},t}(),a=function(t){function e(e,n,r,o){t.call(this,e);var s=new i.Subscriber(n,r,o);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return o(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.error(t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(i.Subscriber)},function(t,e,n){"use strict";function r(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),this.lift(new a(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(17),s=n(18);e.mergeAll=r;var a=function(){function t(t){this.concurrent=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.concurrent))},t}();e.MergeAllOperator=a;var c=function(t){function e(e,n){t.call(this,e),this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0}return o(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.OuterSubscriber);e.MergeAllSubscriber=c},function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),this.lift(new a(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(18),s=n(17);e.mergeMap=r;var a=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.project,this.resultSelector,this.concurrent))},t}();e.MergeMapOperator=a;var c=function(t){function e(e,n,r,o){void 0===o&&(o=Number.POSITIVE_INFINITY),t.call(this,e),this.project=n,this.resultSelector=r,this.concurrent=o,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return o(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.OuterSubscriber);e.MergeMapSubscriber=c},function(t,e,n){"use strict";function r(t,e){var n;if(n="function"==typeof t?t:function(){return t},"function"==typeof e)return this.lift(new i(n,e));var r=Object.create(this,o.connectableObservableDescriptor);return r.source=this,r.subjectFactory=n,r}var o=n(404);e.multicast=r;var i=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();e.MulticastOperator=i},function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=0),this.lift(new a(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(8),s=n(148);e.observeOn=r;var a=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.scheduler,this.delay))},t}();e.ObserveOnOperator=a;var c=function(t){function e(e,n,r){void 0===r&&(r=0),t.call(this,e),this.scheduler=n,this.delay=r}return o(e,t),e.dispatch=function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.add(this.scheduler.schedule(e.dispatch,this.delay,new u(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(s.Notification.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(s.Notification.createError(t))},e.prototype._complete=function(){this.scheduleMessage(s.Notification.createComplete())},e}(i.Subscriber);e.ObserveOnSubscriber=c;var u=function(){function t(t,e){this.notification=t,this.destination=e}return t}();e.ObserveOnMessage=u},function(t,e,n){"use strict";function r(t){return this.lift(new l(t,this))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(27),s=n(37),a=n(28),c=n(17),u=n(18);e.retryWhen=r;var l=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.notifier,this.source))},t}(),p=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r}return o(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,o=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(n=new i.Subject,(r=s.tryCatch(this.notifier)(n))===a.errorObject)return t.prototype.error.call(this,a.errorObject.e);o=u.subscribeToResult(this,r)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=o,n.next(e)}},e.prototype._unsubscribe=function(){var t=this,e=t.errors,n=t.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,r,o){var i=this,s=i.errors,a=i.retries,c=i.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=s,this.retries=a,this.retriesSubscription=c,this.source.subscribe(this)},e}(c.OuterSubscriber)},function(t,e,n){"use strict";function r(){return new s.Subject}function o(){return i.multicast.call(this,r).refCount()}var i=n(425),s=n(27);e.share=o},function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(17),s=n(18);e.switchMap=r;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.project,this.resultSelector))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.index=0}return o(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,o){this.resultSelector?this._tryNotifyNext(t,e,n,r):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,n,r){var o;try{o=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(o)},e}(i.OuterSubscriber)},function(t,e,n){"use strict";function r(t){return 0===t?new a.EmptyObservable:this.lift(new c(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(8),s=n(437),a=n(50);e.take=r;var c=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return o(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(i.Subscriber)},function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(17),s=n(18);e.takeUntil=r;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.notifier))},t}(),c=function(t){function e(e,n){t.call(this,e),this.notifier=n,this.add(s.subscribeToResult(this,n))}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.complete()},e.prototype.notifyComplete=function(){},e}(i.OuterSubscriber)},function(t,e,n){"use strict";function r(t,n){return void 0===n&&(n=e.defaultThrottleConfig),this.lift(new a(t,n.leading,n.trailing))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(17),s=n(18);e.defaultThrottleConfig={leading:!0,trailing:!1},e.throttle=r;var a=function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.durationSelector,this.leading,this.trailing))},t}(),c=function(t){function e(e,n,r,o){t.call(this,e),this.destination=e,this.durationSelector=n,this._leading=r,this._trailing=o,this._hasTrailingValue=!1}return o(e,t),e.prototype._next=function(t){if(this.throttled)this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t);else{var e=this.tryDurationSelector(t);e&&this.add(this.throttled=s.subscribeToResult(this,e)),this._leading&&(this.destination.next(t),this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t))}},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype._unsubscribe=function(){var t=this,e=t.throttled;t._trailingValue,t._hasTrailingValue,t._trailing;this._trailingValue=null,this._hasTrailingValue=!1,e&&(this.remove(e),this.throttled=null,e.unsubscribe())},e.prototype._sendTrailing=function(){var t=this,e=t.destination,n=t.throttled,r=t._trailing,o=t._trailingValue,i=t._hasTrailingValue;n&&r&&i&&(e.next(o),this._trailingValue=null,this._hasTrailingValue=!1)},e.prototype.notifyNext=function(t,e,n,r,o){this._sendTrailing(),this._unsubscribe()},e.prototype.notifyComplete=function(){this._sendTrailing(),this._unsubscribe()},e}(i.OuterSubscriber)},function(t,e,n){"use strict";function r(t,e,n){return void 0===e&&(e=a.async),void 0===n&&(n=c.defaultThrottleConfig),this.lift(new u(t,e,n.leading,n.trailing))}function o(t){t.subscriber.clearThrottle()}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(8),a=n(81),c=n(432);e.throttleTime=r;var u=function(){function t(t,e,n,r){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=r}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),l=function(t){function e(e,n,r,o,i){t.call(this,e),this.duration=n,this.scheduler=r,this.leading=o,this.trailing=i,this._hasTrailingValue=!1,this._trailingValue=null}return i(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(o,this.duration,{subscriber:this})),this.leading&&this.destination.next(t))},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(s.Subscriber)},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(20),i=function(t){function e(e,n){t.call(this)}return r(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(o.Subscription);e.Action=i},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(16),i=n(434),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n,this.pending=!1}return r(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t,this.pending=!0;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),o.root.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){return void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending?e:o.root.clearInterval(e)&&void 0||void 0},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(i.Action);e.AsyncAction=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(385),i=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return r(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)return void e.push(t);var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}},e}(o.Scheduler);e.AsyncScheduler=i},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(){var e=t.call(this,"argument out of range");this.name=e.name="ArgumentOutOfRangeError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ArgumentOutOfRangeError=o},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=function(t){function e(e){t.call(this),this.errors=e;var n=Error.call(this,e?e.length+" errors occurred during unsubscription:\n "+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return r(e,t),e}(Error);e.UnsubscriptionError=o},function(t,e,n){"use strict";function r(t){return t instanceof Date&&!isNaN(+t)}e.isDate=r},function(t,e,n){"use strict";function r(t){return!o.isArray(t)&&t-parseFloat(t)+1>=0}var o=n(51);e.isNumeric=r},function(t,e,n){"use strict";function r(t,e,n){if(t){if(t instanceof o.Subscriber)return t;if(t[i.rxSubscriber])return t[i.rxSubscriber]()}return t||e||n?new o.Subscriber(t,e,n):new o.Subscriber(s.empty)}var o=n(8),i=n(84),s=n(149);e.toSubscriber=r},function(t,e,n){t.exports=n(443)},function(t,e,n){"use strict";(function(t,r){Object.defineProperty(e,"__esModule",{value:!0});var o,i=n(444),s=function(t){return t&&t.__esModule?t:{default:t}}(i);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:r;var a=(0,s.default)(o);e.default=a}).call(e,n(38),n(172)(t))},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r},function(t,e){t.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(t,e,n){"use strict";e.Any=n(171),e.Cc=n(169),e.Cf=n(445),e.P=n(86),e.Z=n(170)}])});